html,
body {
    overflow-x: hidden;
}
/* Melhora suavização em navegadores WebKit (Chrome, Safari) */
body, * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Evita que transformações criem “camadas” que pioram o texto */
  /* * {
    backface-visibility: hidden;
    transform: translateZ(0);
  } */

/* Padding lateral para evitar conteúdo colado nas laterais */
.header-container,
.solucoes,
.imoveis,
.newsletter,
.insights,
.site-footer .container {
    padding-left: 50px;
    padding-right: 50px;
}

/* Ajuste para telas muito pequenas */
@media (max-width: 768px) {
    .header-container,
    .solucoes,
    .imoveis,
    .newsletter,
    .insights,
    .site-footer .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .banner-content {
        left: 20px;
        right: 20px;
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    height: 90px;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px;

    .header-container {
        max-width: 1440px;
        padding: 0;
        box-sizing: border-box;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .menu {
            display: flex;
            align-items: center;
            gap: 25px;

            nav {
                padding-top: 10px;

                ul {
                    list-style: none;
                    display: flex;
                    gap: 15px;

                    li {
                        position: relative;

                        a {
                            font-size: 14px;
                            font-weight: 700;
                            color: #2F2E34;
                            transition: all 0.3s;
                            position: relative;
                            padding: 10px 15px;
                            border-radius: 15px;
                            
                            &:hover {
                                opacity: 0.9;
                                cursor: pointer; 
                                background: #f1f1f1;
                                z-index: 1000;
                            }
/* 
                            &::after {
                                content: '';
                                position: absolute;
                                bottom: -4px;
                                left: 0;
                                width: 0;
                                height: 2px;
                                background: #D4272B;
                                transition: width 0.3s ease;
                            } */

                            &:hover::after {
                                width: 100%;
                            }
                        }

                        &.has-submenu {
                            .submenu {
                                position: absolute;
                                top: calc(100% + 20px);
                                left: 0;
                                background: #fff;
                                border: 1px solid #E7E7E7;
                                border-radius: 15px;
                                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                                min-width: 280px;
                                opacity: 0;
                                visibility: hidden;
                                transform: translateY(-10px);
                                transition: all 0.3s ease;
                                z-index: 1000;
                                padding: 8px;
                            }

                            .submenu-overlay {
                                position: fixed;
                                top: 0;
                                left: 0;
                                width: 100vw;
                                height: 100vh;
                                /* height: calc(100vh - 90px); */
                                background: rgba(0, 0, 0, 0.3);
                                opacity: 0;
                                visibility: hidden;
                                transition: all 0.3s ease;
                                z-index: 999;
                                pointer-events: none;
                            }

                            .submenu-content {
                                padding: 0;
                                margin: 0;

                                .submenu-header {
                                    display: none;
                                }

                                .submenu-section {
                                    .submenu-column {
                                        display: flex;
                                        flex-direction: column;
                                        gap: 0;

                                        .submenu-item {
                                            display: block;
                                            padding: 12px 20px;
                                            color: #162134;
                                            text-decoration: none;
                                            font-size: 14px;
                                            font-weight: 500;
                                            transition: background-color 0.2s ease;
                                            border-radius: 15px;

                                            .submenu-item-title {
                                                font-size: 14px;
                                                font-weight: 500;
                                                color: #162134;
                                                line-height: 1.3;
                                            }

                                            .submenu-item-desc {
                                                display: none;
                                            }

                                            &:hover {
                                                background-color: #f1f1f1;
                                                
                                                .submenu-item-title {
                                                    color: #162134;
                                                }
                                            }

                                            /* &:first-child {
                                                border-radius: 8px 8px 0 0;
                                            }

                                            &:last-child {
                                                border-radius: 0 0 8px 8px;
                                            } */
                                        }
                                    }
                                }
                            }

                            &:hover .submenu {
                                opacity: 1;
                                visibility: visible;
                                /* transform: translateY(0); */
                                transform: translateY(19px);
                            }

                            &:hover .submenu-overlay {
                                opacity: 1;
                                visibility: visible;
                            }

                            &:hover > a {
                                background: #fff;
                                z-index: 1000;
                            }
                        }
                    }
                }

            }

            .botoes {
                display: flex;
                gap: 12px;
                margin-top: 10px;
            }

            .language-selector {
                position: relative;
                display: inline-block;

                .language-btn {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    cursor: pointer;
                }

                .language-icon {
                    width: 16px;
                    height: 16px;
                }

                .language-dropdown {
                    position: absolute;
                    top: 100%;
                    right: 0;
                    background: #fff;
                    border: 1px solid #E7E7E7;
                    border-radius: 8px;
                    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                    min-width: 120px;
                    opacity: 0;
                    visibility: hidden;
                    transform: translateY(-10px);
                    transition: all 0.3s ease;
                    z-index: 1000;

                    .language-option {
                        display: block;
                        padding: 12px 16px;
                        color: #162134;
                        text-decoration: none;
                        font-size: 14px;
                        font-weight: 500;
                        transition: background-color 0.2s ease;

                        &:hover {
                            background-color: #F5F5F5;
                        }

                        &:first-child {
                            border-radius: 8px 8px 0 0;
                        }

                        &:last-child {
                            border-radius: 0 0 8px 8px;
                        }
                    }
                }

                &:hover .language-dropdown {
                    opacity: 1;
                    visibility: visible;
                    transform: translateY(0);
                }
            }
        }
    }
    
    @media (max-width: 1500px) {
        .header-container {
            padding: 0 50px;
        }
    }
    
    @media (max-width: 1200px) {
        .header-container {
            & .menu {
                gap: 5px;
                .botoes {
                    gap: 5px;
                    button{
                        padding: 14px 15px;
                    }
                }
                nav {
                     ul {
                        gap: 5px;
                        li {
                            a {
                                /* font-size: 14px; */
                            }
                        }
                    }
                }
            }
            }
        }  
        
        @media (max-width: 1100px) {
            .header-container {
                & .menu {
                    gap: 5px;
                    .botoes {
                        gap: 5px;
                        button{
                            padding: 14px 10px;
                            font-size: 14px !important;
                        }
                    }
                    nav {
                         ul {
                            gap: 5px;
                            li {
                                a {
                                    font-size: 14px;
                                    padding: 14px 10px;
                                }
                            }
                        }
                    }
                }
            }
        }

    /* Mobile Header Styles */
    @media (max-width: 981px) {
        .logo{
            img{
                width: 120px;
            }
        }
        .mobile-menu-toggle {
            display: flex !important;
            position: relative !important;
            z-index: 1002 !important;
        }
        
        .header-container .menu {
            display: none !important;
        }
        
        .header-container {
            justify-content: space-between !important;
        }
    }
}

/* Mobile Drawer Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #162134;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Removido: animação do botão hambúrguer */

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-drawer.active {
    visibility: visible !important;
    opacity: 1 !important;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer.active .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background-color: #ffffff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-drawer.active .drawer-content {
    transform: translateX(0) !important;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #E7E7E7;
}

.drawer-close {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #162134;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.close-line:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-line:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer-menu {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.drawer-menu nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer-menu nav ul li {
    border-bottom: 1px solid #F0F0F0;
}

.drawer-menu nav ul li a {
    display: block;
    padding: 15px 20px;
    color: #162134;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.drawer-menu nav ul li a:hover {
    background-color: #F8F9FA;
}

.mobile-submenu-item {
    position: relative;
}

.mobile-submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-submenu-item.active .submenu-arrow {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #F8F9FA;
}

.mobile-submenu-item.active .mobile-submenu {
    max-height: 500px;
}

.mobile-submenu a {
    display: block !important;
    padding: 12px 40px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #666 !important;
    border-bottom: none !important;
    text-decoration: none !important;
}

.mobile-submenu a:hover {
    background-color: #E9ECEF !important;
}

.drawer-buttons {
    padding: 20px;
    border-top: 1px solid #E7E7E7;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.drawer-buttons .btn {
    width: 100%;
    justify-content: center;
}

.drawer-buttons .language-selector {
    width: 100%;
}

.drawer-buttons .language-btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 480px) {
    .drawer-content {
        width: 100%;
    }
}

main {
    margin-top: 90px;
    
    section {
        margin: 100px auto;
    }
}

.banner {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-top: 90px;
    margin-bottom: 0px;
    @media (max-width: 768px) {
        height: 600px !important;
    }

    .banner-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.0) 0%,
            rgba(0, 0, 0, 0.0) 30%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0.7) 100%
        );
        /* background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.2) 30%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0.7) 100%
        ); */
        z-index: 2;
        pointer-events: none;
    }

    .banner-content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        /* padding: 0 50px 50px 50px; */
        max-width: 1440px;
        margin: 0 auto;
        
        @media (max-width: 1500px) {
            padding: 0 50px 20px 50px;
        }


        .banner-text {
            display: flex;
            flex-direction: column; 

                .date {
                    color: #fff;
                    font-size: 16px;
                    font-weight: 500;
                    margin-bottom: 10px;
                    display: block;
                }

                .banner-line {
                    position: relative;
                    margin-bottom: 20px;
                    width: 100%;
                    height: 59px;
                    z-index: 4;
                    img{
                        width: 100%;
                    }

                    &::after {
                        content: '';
                        position: absolute;
                        top: 0;
                        left: 100%;
                        height: 2px;
                        width: calc(100vw - 100% - 100px);
                        background: white;
                        z-index: 4;
                    }
                }

                h1 {
                    font-size: 38px;
                    font-weight: 300;
                    color: #fff;
                    line-height: 1.2;
                    margin: 0;
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    line-clamp: 3;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    font-family: 'Poppins', sans-serif;
                    span{
                        font-size: 30px;
                        font-weight: 800;
                    }
                }

                a{
                    margin: 20px 0;
                } 
        
                .stats {
                    display: flex;
                    height: 150px;
                    justify-content: space-between;
                    border-top: 1px solid rgba(255, 255, 255, 0.2);
                    margin-top: 20px;
                    padding: 0;
        
                    div {
                        max-width: 200px;
                        width: 100%;
                        font-size: 18px;
                        font-weight: 300;
                        color: #fff;
                        text-align: center;
                        padding-top: 20px;
        
                        strong {
                            font-size: 48px;
                            font-weight: 800;
                        }
                    }
                
            }

        }

        @media (max-width: 768px) { 
            padding: 0 20px 50px 20px;

            .blog-banner-text {
                grid-template-columns: 1fr;
                gap: 30px;

                .blog-banner-main h1 {
                    font-size: 32px;
                }
            }

            .blog-banner-meta .blog-banner-line::after {
                width: calc(100vw - 100% - 40px);
            }
                .banner-text { 

                    .banner-line {
                        display: none;
                    }
                    h1{
                        font-size: 32px !important;
                    }

                    a{
                        margin-bottom: 50px !important;
                    }

                    .stats {
                        display: grid !important;
                        grid-template-columns: 1fr 1fr !important;
                        padding-top: 20px;
                        padding-bottom: 45px !important;
                        gap: 10px;
                        margin-top: 20px;
                        div {
                            font-size: 16px !important;
                            text-align: left;
                            strong{
                                font-size: 30px !important;
                            }
                        }
                    }
            }
        }
    }
}
 

.solucoes {
    display: flex;
    max-width: 1440px;
    gap: 5%;
    align-items: center;
    position: relative;

    .solucoes-line {
        width: 100%;
        height: 59px;
        z-index: 4;
        position: absolute;
        top: 40px;
        z-index: -1;
        img{
            width: 100%;
        }

        &::after {
            content: '';
            position: absolute;
            top: 0;
            left: 100%;
            height: 2px;
            width: calc(100vw - 100% - 100px);
            background: #D6D6D6;
            z-index: 4;
        }
    }

    .solucoes-heading {

        h3 {
            font-size: 30px;
            font-weight: 700;
            color: #162134;
            margin: 0;
            font-family: 'Poppins', sans-serif;
        }

        p {
            font-size: 15px;
            font-weight: 400;
            color: #494B50;
            margin: 20px 0 40px 0;
        }
    }


    .carousel {
        width: 70%;

        &.imovel-carrossel {
            width: 100%;
        }

        .slick-list {
            margin-right: -100%;
        }

        .card {
            margin: 0 12px;
            max-width: 353px;
            width: 100%;
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            cursor: pointer;

            .card-content {
                position: absolute;
                bottom: 25px;
                left: 25px;
                color: #fff;
                width: 85%;
                z-index: 3;

                .titulo {
                &.imovel {
                        h4{
                            font-weight: 600;
                            font-size: 28px;
                            margin: 15px 15px 5px 15px;
                            font-family: 'Poppins', sans-serif;
                        }
                    }  
                }  

                h4 {
                    font-size: 20px;
                    font-weight: 300;
                    max-width: 150px;
                    margin: 0;                
                }

                a{  
                    border-top: 1px solid #ffffff20;              
                    padding-top: 20px;
                    margin-top: 20px;
                    width: 100%; 
                    font-weight: 600;
                    font-size: 16px;
                }
                &.id-188,
                &.id-6871{
                    h4 {
                        max-width: 180px;
                    }
                }

                &.id-6859{
                    h4 {
                        max-width: 120px;
                    }
                }
            }
            /* &::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: linear-gradient(
                    to bottom,
                    rgba(22, 33, 52, 0.1) 0%,
                    rgba(22, 33, 52, 0.2) 30%,
                    rgba(22, 33, 52, 0.4) 60%, 
                    rgba(22, 33, 52, 0.1) 100%
                );
                z-index: 2;
                pointer-events: none;
            } */
        }

        @media (max-width: 768px) {
            width: 100%;
        }

        &.tipos-imoveis {
            @media (max-width: 768px) {
                width: 100%;
                .card {
                    max-width: 250px;
                }
            }
        }
    }


    @media (max-width: 768px) {
        display: block;

        .solucoes-line{
            display: none;
        }
        .slick-arrows .slick-prev,
        .slick-arrows .slick-next {
            display: none !important;
        }
    }
}

/* Grid de tipos de imóveis - página /imoveis/ */
.tipos-imoveis-grid {
    display: block;

    .tipos-imoveis-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        width: 100%;

        .tipo-card {
            text-decoration: none;

            .card {
                position: relative;
                border-radius: 10px;
                overflow: hidden;
                transition: transform 0.3s ease;

                &:hover {
                    transform: translateY(-5px);
                }

                img {
                    width: 100%;
                    height: 200px;
                    object-fit: cover;
                }

                .card-content {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    padding: 15px;
                    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);

                    .titulo.imovel h4 {
                        color: #fff;
                        margin: 0;
                        font-size: 18px;
                    }
                }
            }
        }
    }

    @media (max-width: 992px) {
        .tipos-imoveis-container {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 480px) {
        .tipos-imoveis-container {
            grid-template-columns: 1fr;

            .tipo-card .card img {
                height: 180px;
            }
        }
    }
}

:root {
    --marquee-speed: 75s;
    --marquee-gap: 25px;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - var(--marquee-gap)));
    }
}

.clientes {
    max-width: 2560px;
    margin: 100px 0 150px auto;

    h3 {
        font-size: 30px;
        font-weight: 700;
        text-align: center;
        margin-bottom: 40px;
        font-family: 'Poppins', sans-serif;
    }
}

.marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
    mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: var(--marquee-gap);
    animation: scroll var(--marquee-speed) linear infinite;
}

.marquee-group {
    flex-shrink: 0;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 50px;
}

.marquee-group img {
    opacity: 0.4;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease;
    max-width: 120px;
    max-height: 50px;

    &:hover {
        opacity: 1;
        filter: grayscale(0%);
    }
}

.marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* Mobile: Marquee mais rápido + scroll horizontal */
@media (max-width: 768px) {
    .clientes {
        margin: 60px 0 30px auto;

        h3 {
            font-size: 24px;
            margin-bottom: 25px;
        }
    }

    .marquee {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;

        /* Esconder scrollbar */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */

        &::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

        /* Pausa animação ao tocar */
        &:active .marquee-content {
            animation-play-state: paused;
        }
    }

    .marquee-content {
        animation-duration: 25s; /* Mais rápido no mobile (era 75s) */
    }

    .marquee-group {
        gap: 30px;
    }

    .marquee-group img {
        max-width: 100px;
        max-height: 40px;
    }
}

.imoveis {
    max-width: 1440px;
    margin-top: 50px;
    margin-bottom: 120px;

    .imoveis-heading {
        display: flex;
        justify-content: space-between;
        align-items: center;

        h3 {
            font-size: 30px;
            font-weight: 700;
            color: #162134;
            font-family: 'Poppins', sans-serif;
        }
    }


    @media (max-width: 768px) {
        .slick-arrows .slick-prev,
        .slick-arrows .slick-next {
            display: none !important;
        }
    }

    .carousel {

        .slick-list {
            border-radius: 10px;
            margin-right: -100%;
        }

        .card {
            max-width: 318px;
            width: 100%;
            position: relative;
            background: #162134;
            color: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 50px 40px 20px;
            border: 1px solid transparent;
            border-left-color: #ffffff20;
            transition: all 0.3s;

            .card-container {
                transition: all 0.3s;
            }

            .card-imovel-image {
                height: 200px;
                border-radius: 5px;
                overflow: hidden;
                position: relative;
                width: 100%;
                
            img {
                width: 100%;
                    height: 100%;
                    object-fit: cover;
                transition: all 0.3s;
                }

                @media (max-width: 720px) {
                    height: 150px;
                }
            }

            .card-content {
                width: 100%;

                span {
                    color: #D4272B;
                    font-weight: 700;
                    font-size: 14px;
                    margin: 10px 0 15px 0;
                    display: inline-block;
                }

                h4 {
                    font-size: 14px;
                    font-weight: 700;
                    margin: 0;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    line-height: 1.4;
                    min-height: 2.8em;
                    max-height: 2.8em;
                }

                p {
                    font-weight: 300;
                    margin: 0;
                }

                a {
                    border-top: 1px solid #ffffff20;
                    margin-top: 15px;
                    padding-top: 15px;
                    font-size: 12px;
                    gap: 10px;
                    opacity: 0;
                    transition: all 0.3s;

                    &::after {
                        content: url(../images/right.svg);
                        position: relative;
                        top: 1px;
                        transform: scale(0.8);
                    }
                }
            }

            &:hover {
                background: #223452;
                .card-container {
                    transform: translateY(-10px);
                }

                a {

                    font-size: 12px;
                    opacity: 1;
                }
            }
        }
    }

}

.card {
    .card-content {

        a {
            font-size: 20px;
            font-weight: 800;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 15px;


            &::after {
                content: url(../images/right.svg);
                position: relative;
                top: 2px;
            }
        }
    }
}

.btn {
    padding: 14px 25px;
    font-size: 14px !important;
    font-weight: 600;
    font-size: 14px !important;
    transition: all 0.3s;
    border-radius: 15px;
    width: fit-content;

    &:hover {
        opacity: 0.9;
        cursor: pointer;
    }

    &.primary {
        background-color: #D4272B;
        color: #fff;
    }

    &.secondary {
        background-color: #162134;
        color: #fff;
    }

    &.terciary {
        background-color: #D6D6D6;
        color: #2F2E34;
    }

    &.whatsapp {
        background-color: #24A148;
        color: #fff;
    }
}

/* Footer */
.site-footer {
    background: #162134;
    color: #fff;
    margin-top: 80px;

    .footer-top {
        padding: 60px 0 40px; 
    }

    .container {
        max-width: 1440px;
        /* width: 100%; */
        margin: 0 auto; 
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 35% 1fr 1fr 1fr;
        gap: 40px;
        align-items: start;
    }

    .footer-brand {
        .footer-logo {
            display: inline-flex;
            align-items: center;
            gap: 12px;

            img {
                height: 56px;
            }

            .site-title {
                color: #fff;
                font-weight: 800;
                text-decoration: none;
                font-size: 22px;
            }
        }

        .footer-tagline {
            color: #d6d6d6;
            font-size: 18px;
            font-weight: 600;
            line-height: 1.6;
            margin: 24px 0;
            max-width: 360px;
        }

        .footer-social-title {
            color: #c9c9c9;
            font-size: 14px;
            margin: 18px 0;
        }

        .footer-social-list{
            list-style: none;
            display: flex !important;
            align-items: center;
            gap: 16px;
            padding: 0;
            margin: 0;

            a {
                display: grid;
                place-items: center;
                width: 40px;
                height: 40px;
                border-radius: 50%; 
                color: #cfd7e6;
                text-decoration: none;
                /* transition: transform .2s ease, background .2s ease, color .2s ease; */

                &:hover {
                    transform: translateY(-2px);
                    background: #1b2434;
                    color: #fff;
                }
            }
        }
    }

    .footer-col {
        .footer-col-title {
            font-size: 20px;
            font-weight: 500;
            margin: 35px 0 35px 0;
            font-family: 'Poppins', sans-serif;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            gap: 15px;

            a {
                color: #cfd7e6;
                text-decoration: none;
                font-weight: 200;
                transition: color .2s ease, opacity .2s ease;
                font-family: 'Poppins', sans-serif;

                &:hover {
                    color: #ffffff;
                    opacity: .9;
                }
            }
        }
    }

    .footer-contact {
        .contact-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            gap: 12px;

            li {
                display: flex;
                gap: 10px;
                align-items: flex-start;
                font-family: 'Poppins', sans-serif;
            }

            .contact-icon {
                width: 20px;
                display: inline-block;
                line-height: 1.6;
                
                img {
                    width: 100%;
                    height: auto;
                    display: block;
                }
            }

            .contact-location {
                border-top: 1px solid rgba(255, 255, 255, 0.2);
                padding-top: 20px;
                margin-top: 20px;

                .contact-icon {
                    width: 36px;
                }
            }

            a {
                color: #cfd7e6;
                text-decoration: none;
                font-weight: 300;
            }

            address {
                color: #cfd7e6;
                font-style: normal;
                line-height: 1.5;
                font-weight: 300;
                font-family: 'Poppins', sans-serif;
            }
        }
    }

    .footer-bottom {
        margin-top: 30px;
        padding: 16px 0;
        text-align: center;
        color: #cfd7e6;
        font-size: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.08); 
    }

    @media (max-width: 1100px) {
        .footer-grid {
            grid-template-columns: 1fr 1fr 1fr 1fr;
        }
    }

    @media (max-width: 991px) {
        .footer-grid {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (max-width: 640px) {
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 28px;
        }

        .footer-bottom {
            text-align: left;
        }
    }
}

/* Newsletter */
.newsletter {
    max-width: 1440px;
    margin: 0px auto 100px auto;

    .newsletter-container {
        box-sizing: border-box;
    }

    .newsletter-card {
        background: #efefef;
        border-radius: 16px;
        position: relative;
        min-height: 220px;
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        align-items: stretch;
        padding: 40px;

        .newsletter-line {
            position: absolute;
            bottom: 0;
            right: 60px;
            top: 30px;
            z-index: 1;
        }
    }

    .newsletter-content {
        z-index: 3;
        margin-top: 40px;

        h3 {
            font-size: 36px;
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            color: #162134;
            margin: 0 0 8px 0;
        }

        p {
            color: #2F2E34;
            margin: 0 0 24px 0;
            font-weight: 400;
            font-family: 'Poppins', sans-serif;
        }

        .newsletter-form {
            display: grid;
            grid-template-columns: 1fr 1fr auto;
            gap: 12px;
            align-items: center;

            input {
                height: 44px;
                border-radius: 10px;
                border: 1px solid #E0E0E0;
                padding: 0 14px;
                font-size: 14px;
                outline: none;
            }

            button {
                height: 44px;
                border-radius: 10px;
                border: none;
            }
        }

        .newsletter-privacidade {
            font-size: 12px;
            color: #6b6b6b;
            margin-top: 12px;

            a {
                color: #2F2E34;
                text-decoration: underline;
            }
        }
    }

    .newsletter-visual {
        position: absolute;
        right: 50px;
        display: grid;
        align-items: end;
        justify-items: center;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    @media (max-width: 991px) {
        .newsletter-card {
            grid-template-columns: 1fr;
            padding: 24px;
        }

        .newsletter-visual {
            display: none;
        }

        .newsletter-content {
            padding: 0px;
        }

        .newsletter-content .newsletter-form {
            grid-template-columns: 1fr;
        }

        .newsletter-line {
            display: none;
        }
    }
}

/* Bitrix24 Form Styles - Newsletter */
.newsletter .b24-form {
    font-family: 'Poppins', sans-serif;
}

.newsletter .b24-form-wrapper {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    min-height: 0 !important;
}

.newsletter .b24-form-border-bottom {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.newsletter .b24-form-header-padding,
.newsletter .b24-form-sign {
    display: none !important;
}

/* Mensagens de sucesso/erro */
.newsletter .b24-form-state-container {
    position: absolute;
    bottom: 0;
    right: 0;
}

.newsletter .b24-form-state {
    padding: 8px 14px !important;
    border-radius: 6px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
}

.newsletter .b24-form-state-inner {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.newsletter .b24-form-state-icon {
    width: 18px !important;
    height: 18px !important;
}

.newsletter .b24-form-success {
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
}

.newsletter .b24-form-error {
    background: #ffebee !important;
    color: #c62828 !important;
}

.newsletter .b24-form-inner-box,
.newsletter .b24-form-loader {
    display: none !important;
}

.newsletter .b24-form-content {
    padding: 0 !important;
}

.newsletter .b24-form form {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    align-items: flex-end;
    position: relative;
    padding-bottom: 35px;
}

.newsletter .b24-form form > div {
    display: contents;
}

.newsletter .b24-form-field {
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 300px;
}

/* Esconde campo não obrigatório (Empresa) */
.newsletter .b24-form-field-string:not(.b24-form-field-name):not(.b24-form-field-email) {
    display: none !important;
    position: absolute !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.newsletter .b24-form-field-agreement {
    position: absolute;
    bottom: 0;
    left: 0;
    flex: none !important;
    min-width: auto !important;
}

.newsletter .b24-form-btn-container {
    margin: 0 !important;
    padding: 0 !important;
    flex: none;
}

.newsletter .b24-form-btn-block {
    display: flex;
}

.newsletter .b24-form-control-container {
    position: relative;
}

.newsletter .b24-form-control {
    width: 100% !important;
    min-width: 320px !important;
    height: 52px !important;
    border-radius: 10px !important;
    border: 1px solid #E0E0E0 !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-family: 'Poppins', sans-serif !important;
    background: #fff !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.newsletter .b24-form-control:focus {
    border-color: #D4272B !important;
}

.newsletter .b24-form-control-label {
    position: absolute !important;
    top: 50% !important;
    left: 14px !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    color: #6b6b6b !important;
    pointer-events: none !important;
    transition: all 0.2s ease !important;
    background: #fff !important;
    padding: 2px 8px !important;
    width: auto !important;
    max-width: fit-content !important;
    display: inline-block !important;
    opacity: 1 !important;
    border-radius: 4px !important;
    font-family: 'Poppins', sans-serif !important;
}

.newsletter .b24-form-control:focus + .b24-form-control-label,
.newsletter .b24-form-control:not(:placeholder-shown) + .b24-form-control-label,
.newsletter .b24-form-control-container.b24-form-control-focus .b24-form-control-label {
    top: -8px !important;
    left: 10px !important;
    transform: translateY(0) !important;
    font-size: 11px !important;
    background: #fff !important;
    padding: 0 4px !important;
    color: #162134 !important;
}

.newsletter .b24-form-control-required {
    color: #D4272B !important;
}

.newsletter .b24-form-btn {
    height: 52px !important;
    border-radius: 10px !important;
    border: none !important;
    background: #D4272B !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: 'Poppins', sans-serif !important;
    padding: 0 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.newsletter .b24-form-btn:hover {
    background: #b91f23 !important;
}

/* Agreement checkbox styling */
.newsletter .b24-form-control-agreement .b24-form-control-container {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.newsletter .b24-form-control-agreement input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    accent-color: #D4272B !important;
}

.newsletter .b24-form-control-agreement .b24-form-control-desc {
    font-size: 12px !important;
    color: #6b6b6b !important;
    font-family: 'Poppins', sans-serif !important;
}

.newsletter .b24-form-control-agreement .b24-form-field-agreement-link {
    color: #2F2E34 !important;
    text-decoration: underline !important;
}

.newsletter .b24-form-control-alert-message {
    font-size: 11px !important;
    color: #D4272B !important;
    margin-top: 4px !important;
}

/* Responsivo - Newsletter Bitrix Form */
@media (max-width: 991px) {
    .newsletter .b24-form form {
        flex-direction: column;
        padding-bottom: 40px;
    }

    .newsletter .b24-form-field {
        width: 100%;
        flex: none;
    }

    .newsletter .b24-form-field-agreement {
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .newsletter .b24-form-btn-container {
        width: 100%;
    }

    .newsletter .b24-form-btn-block {
        width: 100%;
    }

    .newsletter .b24-form-btn {
        width: 100% !important;
    }

    .newsletter .b24-form-control {
        min-width: 100% !important;
    }
}

/* Ocultar ícone de remover do Bitrix24 Forms (select) */
.b24-form-icon-after.b24-form-icon-remove {
    display: none !important;
}

/* Insights */
.insights {
    max-width: 1440px;
    margin: 0px auto;
    padding-top: 70px;
    border-top: 1px solid #E7E7E7;

    .insights-heading { 
        margin-bottom: 25px;

        h3 {
            font-size: 30px;
            font-weight: 700;
            font-family: 'Poppins', sans-serif;
            color: #162134;
            margin: 0;
        }

        .insights-tabs {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 25px;

            .tab-buttons {
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .tab-button {
                background: transparent;
                border: none;
                padding: 10px 20px;
                border-radius: 6px;
                font-size: 16px;
                font-weight: 500;
                color: #162134;
                cursor: pointer;
                transition: all 0.3s ease;
                font-family: 'Poppins', sans-serif;

                &.active {
                    background: #F5F5F5;
                    color: #162134;
                    font-weight: 700;
                }

                &:hover {
                    background: #F5F5F5;
                }

                &.active:hover {
                    background: #F5F5F5;
                }
            }

            .tab-separator {
                font-size: 14px;
                font-weight: 500;
                color: #162134;
                cursor: pointer;
                transition: all 0.3s ease;
                padding: 8px 16px;
                border-radius: 6px;
                background: transparent;

                &.active {
                    background: #F5F5F5;
                    color: #162134;
                }

                &:hover {
                    background: #F5F5F5;
                }

                &.active:hover {
                    background: #F5F5F5;
                }
            }
        }
    }

    .carousel {
        .blog-card {
            background: #fff;
            border-radius: 12px;
            margin: 0 12px;
            position: relative;
            overflow: hidden;
            /* max-height: 404px; */

            .media-icon{
                position: absolute; 
                top: 10px;
                left: 10px; 
                .media-icon-content{
                    width: 100px;
                    height: 30px;
                    position: relative; 
                    background: #fff;
                    border-radius: 10px;
                    overflow: hidden;
                    img{
                        position: absolute;
                        left: 0;
                        right: 0;
                        top: 0;
                        bottom: 0;
                        margin: auto;
                        display: flex;
                        max-height: 100%;
                    }
                }
            }

            .thumbnail {
                width: 100%;
                height: 200px;
                object-fit: cover;
                display: block;
                border-radius: 10px;
                &.reports {
                    height: auto;
                    max-height: none;
                    object-fit: contain;
                }
            }

            .card-content {
                padding: 16px 8px 16px 8px;

                span {
                    color: #535353;
                    font-size: 12px;
                }

                h4 {
                    font-size: 15px;
                    font-weight: 600;
                    color: #2F2E34;
                    margin: 10px 0;
                    height: 56px;
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    line-clamp: 3;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    line-height: 1.2;
                    font-family: 'Poppins', sans-serif;
                    margin-bottom: 30px;
                }

                a {
                    color: #D4272B;
                    font-weight: 700;
                    font-size: 15px;
                    text-decoration: none;

                    &::after {
                        content: url(../images/redright.svg);
                        position: relative;
                        top: 2px;
                    }
                }
                &.reports {
                    h4{
                        margin-bottom: 0px;
                    }
                }
            }
        }
    }

    .tab-content {
        display: none;

        &.active {
            display: block;
        }
    }

    @media (max-width: 768px) {
        .slick-arrows .slick-prev,
        .slick-arrows .slick-next {
            display: none !important;
        }
    }
}

/* Blog Page Styles */
.blog-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-top: 90px;
    margin-bottom: 0px;

    .blog-banner-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.2) 30%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0.7) 100%
        );
        z-index: 2;
        pointer-events: none;
    }

    .blog-banner-content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 0 50px 50px 50px;
        max-width: 1440px;
        margin: 0 auto;


        .blog-banner-text {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 60px;
            align-items: end;
            margin-top: auto;

            .blog-banner-main {
                .blog-date {
                    color: #fff;
                    font-size: 16px;
                    font-weight: 300;
                    margin-bottom: 10px;
                    display: block;
                    font-family: 'Poppins', sans-serif;
                }

                .blog-banner-line {
                    position: relative;
                    margin-bottom: 20px;
                    width: 100%;
                    height: 59px;
                    z-index: 4;

                    &::after {
                        content: '';
                        position: absolute;
                        top: 0;
                        left: 100%;
                        height: 1px;
                        width: calc(100vw - 100% - 100px);
                        background: white;
                        z-index: 4;
                    }
                }

                h1 {
                    font-size: 35px;
                    font-weight: 700;
                    color: #fff;
                    line-height: 1.2;
                    margin: 0;
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    line-clamp: 3;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    max-width: 90%;
                    font-family: 'Poppins', sans-serif;
                }
            }

            .blog-banner-side {
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
                gap: 20px;

                p {
                    color: #fff;
                    font-size: 16px;
                    font-weight: 300;
                    font-family: 'Poppins', sans-serif;
                    line-height: 1.6;
                    margin: 0;
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    line-clamp: 3;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

                .btn {
                    align-self: flex-start;
                }
            }
        }

        @media (max-width: 768px) {
            padding: 0 20px;

            .blog-banner-line {
                display: none;
            }

            .blog-banner-text {
                grid-template-columns: 1fr;
                gap: 30px;

                .blog-banner-main h1 {
                    font-size: 32px;
                }
            }

            .blog-banner-side {
                margin-bottom: 30px;
            }

            .blog-banner-meta .blog-banner-line::after {
                width: calc(100vw - 100% - 40px);
            }
        }
    }
}

.blog-grid {
    padding: 80px 50px;
    max-width: 1440px;
    margin: 0 auto;

    .blog-grid-container {
        .blog-posts {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            margin-bottom: 60px;

            @media (max-width: 768px) {
                grid-template-columns: 1fr;
                gap: 20px;

                .blog-card {
                    grid-template-columns: 1fr;
                    gap: 15px;
                    min-height: auto;

                    .blog-card-image {
                        width: 100%;
                        height: 200px;
                    }

                    .blog-card-meta {
                        flex-direction: row;
                        justify-content: center;
                        gap: 15px;
                        height: auto;
                    }

                    .blog-card-content {
                        height: auto;
                        gap: 15px;
                    }
                }
            }

            .blog-card {
                background: #fff;
                border-radius: 12px;
                padding: 20px;
                transition: all 0.3s ease;
                display: grid;
                grid-template-columns: 40% 30px 1fr;
                gap: 30px;
                align-items: flex-start;
                min-height: 150px;


                .blog-card-image {
                    width: 100%;
                    height: 150px;
                    border-radius: 8px;
                    overflow: hidden;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        transition: transform 0.3s ease;
                    }

                    &:hover img {
                        transform: scale(1.05);
                    }
                }

                .blog-card-meta {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 8px;
                    height: 150px;

                    .blog-card-number {
                        font-size: 32px;
                        font-weight: 800;
                        color: #D4272B;
                        font-family: 'Poppins', sans-serif;
                        line-height: 1;
                    }

                    .blog-card-date {
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        gap: 2px;

                        .blog-card-month,
                        .blog-card-year {
                            font-size: 14px;
                            font-weight: 400;
                            color: #D4272B;
                            text-transform: capitalize;
                            line-height: 1;
                            font-family: 'Poppins', sans-serif;
                        }
                    }
                }

                .blog-card-content {
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    height: 150px;
                    gap: 10px;

                    h3 {
                        font-size: 18px;
                        font-weight: 700;
                        color: #2F2E34;
                        line-height: 1.3;
                        margin: 0;
                        display: -webkit-box;
                        -webkit-line-clamp: 3;
                        line-clamp: 3;
                        -webkit-box-orient: vertical;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        font-family: 'Poppins', sans-serif;
                    }

                    p {
                        font-size: 14px;
                        font-weight: 400;
                        color: #A1A1A1;
                        line-height: 1.4;
                        margin: 0;
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        line-clamp: 2;
                        -webkit-box-orient: vertical;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }

                    .blog-card-link {
                        color: #D4272B;
                        font-weight: 700;
                        font-size: 14px;
                        text-decoration: none;
                        transition: color 0.3s ease;
                        margin-top: auto;

                        &:hover {
                            color: #B01E22;
                        }
                    }
                }
            }
        }

        .blog-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 40px;

            .page-numbers {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                border-radius: 8px;
                background: #F5F5F5;
                color: #2F2E34;
                text-decoration: none;
                font-weight: 600;
                font-size: 14px;
                transition: all 0.3s ease;

                &:hover,
                &.current {
                    background: #D4272B;
                    color: #fff;
                }

                &.prev,
                &.next {
                    width: auto;
                    padding: 0 15px;
                    font-size: 14px;
                }
            }
        }
    }

    @media (max-width: 768px) {
        padding: 40px 20px;

        .blog-grid-container {
            .blog-posts {
                .blog-card {
                    
                    grid-template-columns: 35% 1fr;
                    padding: 0 0 20px 0;
                    border-bottom: 1px solid #E7E7E7;
                    border-radius: 0;
                    margin-bottom: 20px;
                    
                    .blog-card-meta {
                        grid-column: 2;
                        display: flex;
                        flex-direction: row;
                        justify-content: start;
                        gap: 8px;
                        height: auto;
                        grid-row: 1
                    }
                    .blog-card-content {
                        grid-column:2;
                        grid-row: 1;
                        margin-top: 50px;
                    }
                }
            }
        }   
    }
}

/* Bins na Mídia Page Styles */
.bins-banner {
    background: #162134;
    padding: 80px 50px 100px 50px;
    margin-top: 90px;
    margin-bottom: 0px;

    .bins-banner-content {
        max-width: 1440px;
        margin: 0 auto;

        .bins-banner-text {
            .bins-banner-main {
                h1 {
                    font-size: 40px;
                    font-weight: 700;
                    color: #fff;
                    margin: 0 0 20px 0;
                    line-height: 1.2;
                    font-family: 'Poppins', sans-serif;
                }

                p {
                    font-size: 18px;
                    font-weight: 400;
                    color: #D6D6D6;
                    margin: 0 0 30px 0;
                    line-height: 1.6;
                    max-width: 70%;
                    font-family: 'Poppins', sans-serif;
                }

                .bins-banner-line {
                    position: relative;
                    width: 100%;
                    height: 59px;
                    z-index: 4;

                    img {
                        width: 100%;
                    }

                    &::after {
                        content: '';
                        position: absolute;
                        top: 0;
                        left: 100%;
                        height: 1px;
                        width: calc(100vw - 100% - 100px);
                        background: white;
                        z-index: 4;
                    }
                }
            }
        }
    }

    @media (max-width: 768px) {
        padding: 100px 20px 60px 20px;

        .bins-banner-content {
            .bins-banner-text {
                .bins-banner-main {
                    h1 {
                        font-size: 36px;
                    }

                    p {
                        font-size: 16px;
                    }

                    .bins-banner-line::after {
                        width: calc(100vw - 100% - 40px);
                    }
                }
            }
        }
    }
}

.bins-grid {
    padding: 0px 50px 50px 50px;
    max-width: 1440px;
    margin: -50px auto 0 auto;

    .bins-grid-container {
        .bins-featured {
            margin-bottom: 60px;

            .bins-featured-card {
                background: #ECECEC;
                border-radius: 16px;
                padding: 0;
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 0;
                align-items: stretch;
                transition: transform 0.3s ease;
                transform: translateY(0px);

                @media (max-width: 768px) {
                    grid-template-columns: 1fr;
                    gap: 0;
                }

                &:hover {
                    transform: translateY(-5px);
                }

                .media-icon{
                    position: absolute; 
                    top: 10px;
                    left: 10px; 
                        .media-icon-content{
                            width: 100px;
                            height: 30px;
                            position: relative; 
                            background: #fff;
                            border-radius: 10px;
                            overflow: hidden;
                            img{
                                position: absolute;
                                left: 0;
                                right: 0;
                                top: 0;
                                bottom: 0;
                                margin: auto;
                                display: flex;
                                max-height: 100%;
                            }
                        }
                    }
                }

                .bins-featured-image {
                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        border-radius: 16px 0 0 16px;
                    }
                }

                .bins-featured-content {
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    padding: 40px;
                    gap: 20px;

                    .bins-featured-date {
                        font-size: 16px;
                        font-weight: 400;
                        color: #535353;
                        margin: 0;
                    }

                    h2 {
                        font-size: 28px;
                        font-weight: 700;
                        color: #162134;
                        margin: 0;
                        line-height: 1.3;
                        display: -webkit-box;
                        -webkit-line-clamp: 3;
                        line-clamp: 3;
                        -webkit-box-orient: vertical;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        font-family: 'Poppins', sans-serif;
                    }

                    .bins-featured-link {
                        color: #D4272B;
                        font-weight: 700;
                        font-size: 16px;
                        text-decoration: none;
                        transition: color 0.3s ease;
                        align-self: flex-start;
                        margin-top: auto;

                        &:hover {
                            color: #B01E22;
                        }
                    }
                }

                @media (max-width: 768px) {
                    grid-template-columns: 1fr;
                    gap: 0; 

                    .bins-featured-image {
                        img {
                            height: 200px;
                            border-radius: 16px 16px 0 0;
                        }
                    }

                    .bins-featured-content {
                        padding: 30px;

                        h2 {
                            font-size: 24px;
                        }
                    }
                }
            }
        }

        .bins-posts {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 60px;

            @media (max-width: 768px) {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .bins-card {
                background: transparent;
                border-radius: 12px;
                padding: 0;
                transition: all 0.3s ease;
                display: flex;
                flex-direction: column;
                gap: 15px;
                align-items: stretch;
                position: relative;

                .media-icon{
                    position: absolute; 
                    top: 10px;
                    left: 10px; 
                        .media-icon-content{
                            width: 100px;
                            height: 30px;
                            position: relative; 
                            background: #fff;
                            border-radius: 10px;
                            overflow: hidden;
                            img{
                                position: absolute;
                                left: 0;
                                right: 0;
                                top: 0;
                                bottom: 0;
                                margin: auto;
                                display: flex;
                                max-height: 100%;
                            }
                        }
                    }
                }
 

                .bins-card-image {
                    width: 100%;
                    height: 200px;
                    border-radius: 12px;
                    overflow: hidden;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        transition: transform 0.3s ease;
                    } 
                }

                .bins-card-content {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;

                    .bins-card-date {
                        font-size: 14px;
                        font-weight: 400;
                        color: #535353;
                        margin: 0;
                    }

                    h3 {
                        font-size: 18px;
                        font-weight: 500;
                        color: #162134;
                        line-height: 1.3;
                        margin: 0;
                        display: -webkit-box;
                        -webkit-line-clamp: 3;
                        line-clamp: 3;
                        -webkit-box-orient: vertical;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        font-family: 'Poppins', sans-serif;
                    }

                    .bins-card-link {
                        color: #D4272B;
                        font-weight: 700;
                        font-size: 14px;
                        text-decoration: none;
                        transition: color 0.3s ease;
                        align-self: flex-start;

                        &:hover {
                            color: #B01E22;
                        }
                    }
                }

                @media (max-width: 768px) {
                    gap: 15px;
                    margin-bottom: 30px;

                    .bins-card-image {
                        width: 100%;
                        height: 200px;
                        border-radius: 12px;
                    }

                    .bins-card-content {
                        gap: 10px;
                    }
                }
            }
        

        .bins-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 40px;

            .page-numbers {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                border-radius: 8px;
                background: #F5F5F5;
                color: #2F2E34;
                text-decoration: none;
                font-weight: 600;
                font-size: 14px;
                transition: all 0.3s ease;

                &:hover,
                &.current {
                    background: #D4272B;
                    color: #fff;
                }

                &.prev,
                &.next {
                    width: auto;
                    padding: 0 15px;
                    font-size: 14px;
                }
            }
        }
    }
  
input[type=text].naoexibir,
input[type=url].naoexibir {
  height: 0;
  width: 0;
  border: 0!important;
  outline: 0;
  padding: 0!important;
  background: transparent;
  box-shadow: 0px 0px 0px 0px rgba(19, 42, 62, 0)!important;
  display: none;
}



/* Enviado */
.enviado{
    padding-top: 150px;
    min-height: 500px;
    .container{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 1440px;
        margin: 0 auto;

        button{
            margin-top: 20px;
        }
    }
}


.wp-singular{
    article.main{
        display: block;
        margin: 0 auto;
        max-width: 80%;
    }
}