
*{
    font-family: "Inter", sans-serif;
}

:root {

    --Primary-Green: #B3C52D;
    --Primary-Blue: #1C457D;
    --Dark-Blue: #183B67;
    --Hero-Gray: #E9ECF0; /* topo das páginas internas (header + título) */
    --cinza: #404040;
    --branco: #F5F3F0;
    --preto: #000;
    --sombra: 4px 4px 20px 2px #56596759;

    /* Espaçamento lateral dos containers (aumenta no desktop para caber a coluna de redes sociais) */
    --gutter: 20px;
    --container: 1320px;
}

@media (min-width: 992px) {
    :root {
        --gutter: 100px;
    }
}

.form-control:focus {
    box-shadow: none;
}

body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   Botões
   ========================================================================== */

.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 15px;
    border: 1px solid transparent;
    border-radius: 50px;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease;

    /* o seletor global "*" aplica Inter em tudo: aqui os filhos herdam a fonte do botão */
    *{
        font-family: inherit;
    }

    .btn-icon{
        display: flex;
        width: 20px;
        height: 20px;
        flex-shrink: 0;

        svg{
            width: 100%;
            height: 100%;
        }
    }

    &:hover,
    &:focus-visible{
        background-color: var(--Primary-Green);
        border-color: var(--Primary-Green);
        color: var(--Primary-Blue);
    }
}

/* "a.btn-*": mais forte que o "a:visited { color: inherit }" do style.css da raiz do tema */
.btn-outline,
a.btn-outline{
    background-color: transparent;
    border-color: var(--Primary-Blue);
    color: var(--Primary-Blue);
}

.btn-primary,
a.btn-primary{
    background-color: var(--Primary-Blue);
    border-color: var(--Primary-Blue);
    color: #fff;
}

.btn-light,
a.btn-light{
    padding: 18px 26px;
    background-color: rgba(255, 255, 255, .92);
    border-color: rgba(28, 69, 125, .25);
    color: var(--Primary-Blue);
    font-family: "Inter", sans-serif;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);

    .btn-icon{
        color: var(--Primary-Green);
        transition: color .3s ease, transform .3s ease;
    }

    &:hover,
    &:focus-visible{
        .btn-icon{
            color: var(--Primary-Blue);
            transform: translateX(3px);
        }
    }
}

/* ==========================================================================
   Header
   ========================================================================== */

header{
    .nav-link{
    color: #1C457D;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 500;
    }
}

.site-header{
    position: relative;
    z-index: 50;
    padding: 34px 0 0;
    /* Páginas internas: mesmo fundo cinza do topo da página (ex.: .page-hero da single) */
    background-color: var(--Hero-Gray);

    /* Na home o header fica por cima do banner */
    &.is-overlay{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding-bottom: 0;
        background-color: transparent;

        /* a área transparente do header deixa o clique passar (atalhos da lateral) */
        pointer-events: none;

        .header-container,
        .mobile-menu{
            pointer-events: auto;
        }
    }

    /* Barra branca arredondada */
    .header-container{
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: min(1322px, 100% - 52px);
        min-height: 84px;
        margin-inline: auto;
        padding: 16px 24px 16px 32px;
        border-radius: 50px;
        background-color: #fff;
        margin-top: 32px;
    }

    .header-logo{
        flex-shrink: 0;

        a{
            display: block;
        }

        img{
            display: block;
            width: 107px;
            height: auto;
        }
    }

    /* Grupo da direita (desktop) */
    .header-desktop{
        display: none;
    }

    .header-menu{
        display: flex;
        align-items: center;
        gap: 14px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-link{
        position: relative;
        display: block;
        text-decoration: none;
        white-space: nowrap;
        transition: color .3s ease;

        &:hover,
        &:focus-visible{
            color: var(--Dark-Blue);
        }
    }

    /*
     * Menu do desktop: barra verde que cresce da esquerda para a direita no hover
     * e recolhe para a direita ao sair (no painel mobile fica só a troca de cor).
     */
    .header-menu .nav-link::after{
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -8px;
        height: 2px;
        border-radius: 2px;
        background-color: var(--Primary-Green);
        transform: scaleX(0);
        transform-origin: right center;
        transition: transform .4s cubic-bezier(.4, 0, .2, 1);
        pointer-events: none;
    }

    .header-menu .nav-link:hover::after,
    .header-menu .nav-link:focus-visible::after{
        transform: scaleX(1);
        transform-origin: left center;
    }

    /* quem desativou animações no sistema vê a barra direto, sem transição */
    @media (prefers-reduced-motion: reduce){
        .header-menu .nav-link::after{
            transition: none;
        }
    }

    .header-actions{
        display: flex;
        align-items: center;
        gap: 16px;
    }

    /* Botões hambúrguer e fechar */
    .header-toggle,
    .header-close{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background-color: var(--Primary-Blue);
        color: #fff;
        cursor: pointer;
        transition: background-color .3s ease, color .3s ease;

        svg{
            width: 24px;
            height: 24px;
        }

        &:hover,
        &:focus-visible{
            background-color: var(--Primary-Green);
            color: var(--Primary-Blue);
        }
    }

    /* ---------- Desktop (>= 1280px) ---------- */
    @media (min-width: 1280px){
        .header-desktop{
            display: flex;
            flex: 1;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            margin-left: 40px;
        }

        .header-toggle,
        .mobile-menu{
            display: none;
        }
    }

    /* Desktop menor (1280px a 1365px): reduz um pouco para caber */
    @media (min-width: 1280px) and (max-width: 1365px){
        .header-container{
            padding-left: 24px;
            padding-right: 16px;
        }

        .header-desktop{
            gap: 16px;
            margin-left: 24px;
        }

        .header-menu{
            gap: 10px;
        }

        .nav-link,
        .btn{
            font-size: 15px;
        }

        .header-actions{
            gap: 10px;

            .btn{
                padding: 10px 12px;
            }
        }
    }

    /* ---------- Mobile ---------- */
    @media (max-width: 767px){
        padding-top: 16px;

        .header-container{
            width: calc(100% - 32px);
            min-height: 68px;
            padding: 12px 12px 12px 24px;
        }

        .header-logo img{
            width: 90px;
        }
    }
}

/* ==========================================================================
   Menu mobile/tablet (painel lateral)
   ========================================================================== */

.mobile-menu{
    position: fixed;
    inset: 0;
    z-index: 100;
    visibility: hidden;
    transition: visibility .35s;

    .mobile-menu-backdrop{
        position: absolute;
        inset: 0;
        background-color: rgba(24, 59, 103, .6);
        opacity: 0;
        transition: opacity .35s ease;
    }

    .mobile-menu-panel{
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 32px;
        width: min(380px, 100%);
        height: 100vh;
        height: 100dvh;
        padding: 24px;
        overflow-y: auto;
        background-color: #fff;
        transform: translateX(100%);
        transition: transform .35s ease;
    }

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

    .mobile-menu-links{
        margin: 0;
        padding: 0;
        list-style: none;

        li{
            border-bottom: 1px solid rgba(28, 69, 125, .12);
        }

        .nav-link{
            padding: 14px 0;
            font-size: 18px;
        }
    }

    .mobile-menu-actions{
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}

/* Estado aberto */
/* Com o menu mobile aberto, os atalhos laterais não ficam por cima do painel */
body.menu-open .side-shortcuts{
    visibility: hidden;
}

body.menu-open .mobile-menu{
    visibility: visible;

    .mobile-menu-backdrop{
        opacity: 1;
    }

    .mobile-menu-panel{
        transform: translateX(0);
    }
}

/* ==========================================================================
   Atalhos da lateral esquerda (redes sociais + telefone)
   Mesma proporção do botão do OneTap: 48px, a 17px da borda
   (15px de margem + 2px de borda do botão do plugin).
   ========================================================================== */

.side-shortcuts{
    --side-btn: 48px;
    --side-left: 17px;
    --side-gap: 16px;

    .side-btn{
        display: flex;
        align-items: center;
        justify-content: center;
        width: var(--side-btn);
        height: var(--side-btn);
        padding: 8px;
        border: 1.5px solid var(--Primary-Blue); /* contorno visível nas seções de fundo branco */
        border-radius: 50%;
        background-color: #fff;
        color: var(--Primary-Blue);
        box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
        transition: background-color .3s ease, color .3s ease, transform .3s ease;

        svg{
            width: 28px;
            height: 28px;
        }

        /* Hover igual ao do OneTap (cresce) + fundo verde e ícone branco */
        &:hover,
        &:focus-visible{
            background-color: var(--Primary-Green);
            color: #fff;
            transform: scale(1.1);
        }
    }

    /* Redes sociais: topo da lateral (só desktop/tablet grande) */
    .side-shortcuts-social{
        position: fixed;
        top: 174px; /* abaixo do header (34px + 32px de margem + 84px da barra + 24px) */
        left: var(--side-left);
        /* acima do header (z-index 50), que nas páginas internas tem fundo sólido */
        z-index: 60;
        display: none;
        flex-direction: column;
        gap: var(--side-gap);
        margin: 0;
        padding: 0;
        list-style: none;

        @media (min-width: 992px){
            display: flex;
        }

        @media (min-width: 1600px){
            top: 66px; /* alinhado ao topo da barra do header, como no layout */
        }
    }

    /* Telefone: logo acima do botão do OneTap */
    .side-shortcuts-phone{
        position: fixed;
        left: var(--side-left);
        bottom: calc(var(--side-left) + var(--side-btn) + var(--side-gap));
        z-index: 10;

        /* abaixo de 992px o OneTap vai para a direita, então o telefone desce */
        @media (max-width: 991px){
            bottom: var(--side-left);
        }
    }
}

/* Botão do OneTap: mesmo hover verde dos atalhos */
.onetap-container-toggle .onetap-toggle img{
    transition-property: transform, background-color !important;
}

.onetap-container-toggle .onetap-toggle:hover img,
.onetap-container-toggle .onetap-toggle:focus-visible img{
    background-color: var(--Primary-Green) !important;
}

/* ==========================================================================
   Componentes de seção (reutilizáveis)
   ========================================================================== */

.container-site{
    width: min(var(--container), 100% - (var(--gutter) * 2));
    margin-inline: auto;
}

/* Container mais estreito para leitura (single do blog e páginas de texto) */
.container-narrow{
    width: min(1100px, 100% - (var(--gutter) * 2));
    margin-inline: auto;
}

/* ==========================================================================
   Topo das páginas internas (fundo cinza contínuo com o header)
   ========================================================================== */

.page-hero{
    padding: 48px 0 32px;
    background-color: var(--Hero-Gray);

    .page-hero-title{
        max-width: 960px;
        margin: 18px 0 0;
        color: var(--Primary-Blue);
        font-size: 32px;
        font-weight: 600;
        line-height: 1.35;
    }

    @media (max-width: 767px){
        padding: 32px 0 24px;

        .page-hero-title{
            font-size: 24px;
        }
    }
}

/* ==========================================================================
   Banner das páginas internas (template-parts/page-banner.php)
   Imagem + filtro azul + breadcrumb + título. O header fica por cima (is-overlay).
   ========================================================================== */

.page-banner{
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 480px;
    overflow: hidden;
    background-color: var(--Dark-Blue);

    /* Filtro azul (mesmo do banner da home) */
    &::after{
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(90deg, #183B67 0%, rgba(24, 59, 103, 0.55) 33.04%, rgba(23, 79, 130, 0.00) 96.5%);
        pointer-events: none;
    }

    .page-banner-media{
        position: absolute;
        inset: 0;

        img{
            display: block;
            width: 100%;
            height: 100%;
            max-width: none;
            object-fit: cover;
        }
    }

    .page-banner-content{
        position: relative;
        z-index: 2;
        padding: 200px 0 45px;
    }

    .page-banner-title{
        max-width: 480px;
        margin: 18px 0 0;
        color: #fff;
        font-size: 32px;
        font-weight: 600;
        line-height: 1.25;
    }

    /* Botão (ACF "Botão"): abaixo do título por padrão */
    .page-banner-action{
        margin-top: 24px;
    }

    /* Posição "À direita": botão alinhado à base do título, no lado direito */
    &.has-action-right .page-banner-content{
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;

        .page-banner-action{
            flex-shrink: 0;
            margin-top: 0;
        }

        @media (max-width: 767px){
            flex-direction: column;
            align-items: flex-start;
            gap: 20px;
        }
    }

    @media (max-width: 767px){
        min-height: 380px;

        &::after{
            background:
                linear-gradient(0deg, rgba(24, 59, 103, .75) 0%, rgba(24, 59, 103, 0) 70%),
                linear-gradient(90deg, #183B67 0%, rgba(24, 59, 103, 0.55) 33.04%, rgba(23, 79, 130, 0.00) 96.5%);
        }

        .page-banner-content{
            padding: 140px 0 32px;
        }

        .page-banner-title{
            font-size: 26px;
        }
    }
}

/* Breadcrumb: Início -> Página */
.breadcrumb{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 15px;

    a{
        color: var(--Primary-Blue);
        text-decoration: none;

        &:hover{
            text-decoration: underline;
        }
    }

    .breadcrumb-current{
        color: var(--Primary-Blue);
        font-weight: 600;
    }

    .breadcrumb-sep{
        display: flex;
        width: 18px;
        height: 18px;
        color: var(--Primary-Green);

        svg{
            width: 100%;
            height: 100%;
        }
    }
}

/* Variação branca (sobre imagem, ex.: page-banner) */
.breadcrumb-light{
    a,
    .breadcrumb-current{
        color: #fff;
    }
}

/* Tag acima do título: "NOSSOS EMPREENDIMENTOS" */
.section-tag{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--Primary-Blue);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;

    &::before{
        content: "";
        width: 14px;
        height: 9px;
        border-radius: 2px 5px 5px 2px;
        background-color: var(--Primary-Green);
    }
}

.section-title{
    margin: 16px 0 14px;
    color: var(--Primary-Blue);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
}

.section-desc{
    margin: 0;
    color: #565656;
    font-size: 20px;
    line-height: 1.75;
}

/* Botão grande com seta (ex.: "Ver todos os empreendimentos") */
.btn-lg{
    gap: 12px;
    padding: 16px 24px;
    font-family: "Inter", sans-serif;
    font-weight: 600;

    .btn-icon{
        width: 24px;
        height: 24px;
        transition: transform .3s ease;
    }

    &:hover .btn-icon,
    &:focus-visible .btn-icon{
        transform: translateX(3px);
    }
}

/* Variação: seta verde (ex.: botão com contorno "Nosso Portfólio") */
.btn-icon-green{
    .btn-icon{
        color: var(--Primary-Green);
        transition: color .3s ease, transform .3s ease;
    }

    &:hover .btn-icon,
    &:focus-visible .btn-icon{
        color: var(--Primary-Blue);
    }
}

/* Setas de navegação de carrossel */
.slider-nav{
    display: flex;
    align-items: center;
    gap: 12px;
}

.slider-arrow{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color .3s ease, color .3s ease, opacity .3s ease;

    svg{
        width: 24px;
        height: 24px;
    }

    &.slider-arrow-prev{
        background-color: #E8EEF0;
        color: var(--Primary-Blue);

        svg{
            transform: rotate(180deg);
        }
    }

    &.slider-arrow-next{
        background-color: var(--Primary-Blue);
        color: #fff;
    }

    &:hover,
    &:focus-visible{
        background-color: var(--Primary-Green);
        color: var(--Primary-Blue);
    }

    /* Sem slide/página para aquele lado: continua visível, mas apagada */
    &.swiper-button-disabled,
    &.is-disabled{
        opacity: .4;
        cursor: default;
        pointer-events: none;
    }
}

/* ==========================================================================
   Paginação das listagens (sbr_pagination() em inc/template-functions.php)
   ========================================================================== */

.pagination{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;

    .pagination-info{
        margin: 0;
        color: #333;
        font-size: 14px;

        a{
            color: var(--Primary-Blue);
            font-weight: 600;
            text-decoration: none;

            &:hover{
                text-decoration: underline;
            }
        }
    }

    .slider-arrow{
        text-decoration: none;
    }
}

/* ==========================================================================
   Filtro por categoria (pílulas) - página do blog
   ========================================================================== */

.category-filter{
    display: flex;
    flex-wrap: wrap;
    gap: 16px 22px;
    padding-bottom: 32px;
    margin-bottom: 46px;
    border-bottom: 1px solid #D4DEE8;

    .category-filter-item{
        display: flex;
        flex: 1 1 150px;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 6px 16px;
        border-radius: 30px;
        background-color: #F6F8E8;
        color: var(--Primary-Blue);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        transition: background-color .3s ease;

        &:hover,
        &:focus-visible{
            background-color: #E4EBB4;
        }

        &.is-active{
            background-color: #EEF2CF;
            box-shadow: inset 0 0 0 1px rgba(179, 197, 45, .45);
        }
    }

    @media (max-width: 767px){
        gap: 10px;
        padding-bottom: 24px;
        margin-bottom: 32px;

        .category-filter-item{
            flex: 1 1 calc(50% - 10px);
        }
    }
}

/* ==========================================================================
   Empreendimentos (template-parts/section-empreendimentos.php)
   Usado na home e em outras páginas.
   ========================================================================== */

.sec-empreendimentos{
    padding: 100px 0;
    background-color: #fff;

    /* não depender do reset do Tailwind para as larguras com padding */
    *,
    *::before,
    *::after{
        box-sizing: border-box;
    }

    .sec-emp-head{
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 32px;
        margin-bottom: 40px;
    }

    .sec-emp-intro{
        max-width: 600px;

        .section-desc{
            max-width: 490px;
        }
    }

    .emp-swiper{
        border-radius: 40px;
    }

    .sec-emp-foot{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        margin-top: 24px;
    }

    .sec-emp-foot-text{
        margin: 0;
        color: #565656;
        font-size: 20px;
        line-height: 1.4;
    }

    .slider-nav{
        margin-left: auto;
    }

    /* ---------- Card ---------- */
    .emp-card{
        position: relative;
        display: block;
        height: 580px;
        overflow: hidden;
        border-radius: 40px;
        background-color: var(--Dark-Blue);
        text-decoration: none;
    }

    .emp-card-media{
        position: absolute;
        inset: 0;

        img{
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            max-width: none;
            object-fit: cover;
            transition: opacity .6s ease, transform .8s ease;
        }

        .emp-card-img-hover{
            opacity: 0;
        }
    }

    .emp-card-logo{
        position: absolute;
        top: 24px;
        left: 38px;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100px;
        height: 100px;
        padding: 8px;
        border-radius: 16px;
        background-color: #fff;

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

    /* Box branco de informações (canto inferior direito; expande no hover) */
    .emp-card-info{
        position: absolute;
        right: 38px;
        bottom: 18px;
        z-index: 2;
        width: 410px;
        max-width: calc(100% - 76px);
        padding: 20px 30px 22px;
        border-radius: 20px;
        background-color: #fff;
        transition: width .6s cubic-bezier(.65, 0, .35, 1);
        min-height: 130px;
    }

    .emp-card-title{
        margin: 0 0 14px;
        color: var(--Primary-Blue);
        font-size: 24px;
        font-weight: 400;
        line-height: 1.25;

        strong{
            font-weight: 600;
        }
    }

    .emp-card-list{
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .emp-card-item{
        display: flex;
        flex: 1 1 0;
        align-items: center;
        gap: 12px;
        min-width: 0;
        color: var(--Primary-Blue);
        font-size: 14px;
        line-height: 1.3;
        transition: flex-grow .6s cubic-bezier(.65, 0, .35, 1), margin .6s cubic-bezier(.65, 0, .35, 1), opacity .3s ease;

        & + .emp-card-item{
            margin-left: 40px;
        }
    }

    .emp-card-icon{
        display: flex;
        flex-shrink: 0;
        width: 28px;
        height: 28px;
        color: var(--Primary-Green);

        svg{
            width: 100%;
            height: 100%;
        }
    }

    /* Itens extras: escondidos até o card expandir */
    .emp-card-item.is-extra{
        flex-grow: 0;
        margin-left: 0;
        overflow: hidden;
        opacity: 0;

        .emp-card-text{
            white-space: nowrap;
        }
    }

    /* ---------- Interação (desktop com mouse) ---------- */
    @media (hover: hover) and (min-width: 992px){
        .emp-card:hover,
        .emp-card:focus-visible{
            .emp-card-media img{
                transform: scale(1.03);
            }

            &.has-hover-image .emp-card-img-hover{
                opacity: 1;
            }

            .emp-card-info{
                width: calc(100% - 76px);
            }

            .emp-card-item.is-extra{
                flex-grow: 1;
                margin-left: 40px;
                opacity: 1;
                transition-delay: 0s, 0s, .25s;
            }
        }
    }

    /* ---------- Sem mouse ou telas menores: tudo visível ---------- */
    @media (hover: none), (max-width: 991px){
        .emp-card-info{
            left: 24px;
            right: 24px;
            width: auto;
            max-width: none;
        }

        .emp-card-list{
            flex-wrap: wrap;
            gap: 16px 32px;
        }

        .emp-card-item,
        .emp-card-item.is-extra{
            flex: 0 0 auto;
            margin-left: 0;
            opacity: 1;
        }

        .emp-card-item + .emp-card-item{
            margin-left: 0;
        }
    }

    /* ---------- Mobile ---------- */
    @media (max-width: 767px){
        padding: 64px 0;

        .section-title{
            font-size: 30px;
        }

        .section-desc{
            font-size: 16px;
        }

        .sec-emp-head{
            flex-direction: column;
            align-items: flex-start;
            gap: 24px;
            margin-bottom: 28px;
        }

        .emp-swiper,
        .emp-card{
            border-radius: 24px;
        }

        .emp-card{
            height: 540px;
        }

        .emp-card-logo{
            top: 16px;
            left: 16px;
            width: 76px;
            height: 76px;
            border-radius: 12px;
        }

        .emp-card-info{
            left: 12px;
            right: 12px;
            bottom: 12px;
            padding: 16px 18px;
            border-radius: 16px;
        }

        .emp-card-title{
            font-size: 20px;
        }

        .emp-card-list{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px 16px;
        }

        .emp-card-item{
            gap: 8px;
            font-size: 13px;
        }

        .emp-card-icon{
            width: 22px;
            height: 22px;
        }

        .sec-emp-foot-text{
            font-size: 16px;
        }
    }
}

/* ==========================================================================
   Cabeçalho de seção centralizado (tag + título + descrição)
   ========================================================================== */

.section-head-center{
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;

    .section-title{
        margin-bottom: 12px;
    }

    .section-desc{
        max-width: 580px;
        margin-inline: auto;
        font-size: 16px;
        line-height: 1.65;
    }

    @media (max-width: 767px){
        margin-bottom: 28px;

        .section-title{
            font-size: 30px;
        }
    }
}

/* ==========================================================================
   Seção de posts (template-parts/section-posts.php)
   Home (Blog) e single (Você também pode gostar).
   ========================================================================== */

.sec-posts{
    padding: 100px 0;
    background-color: #fff;

    /* Variação com fundo em degradê (single) */
    &.sec-posts-gradient{
        background: linear-gradient(180deg, #FFFFFF 0%, #F1F4DC 100%);
    }

    .sec-posts-action{
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }

    @media (max-width: 767px){
        padding: 64px 0;

        .sec-posts-action{
            margin-top: 28px;
        }
    }
}

/* ==========================================================================
   Cards de post (template-parts/card-post.php)
   Usado na home (Blog), na página do blog e na single (relacionados).
   ========================================================================== */

.posts-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;

    @media (max-width: 991px){
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

.post-card{
    height: 100%;

    *,
    *::before,
    *::after{
        box-sizing: border-box;
    }

    .post-card-link{
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
        border-radius: 16px;
        background-color: #fff;
        box-shadow: 0 4px 24px rgba(24, 59, 103, .1);
        text-decoration: none;
        transition: box-shadow .3s ease, transform .3s ease;
    }

    .post-card-media{
        aspect-ratio: 422 / 240;
        overflow: hidden;
        background-color: #DDE3E8;

        img{
            display: block;
            width: 100%;
            height: 100%;
            max-width: none;
            object-fit: cover;
            transition: transform .6s ease;
        }
    }

    .post-card-body{
        display: flex;
        flex: 1;
        flex-direction: column;
        padding: 24px 24px 28px;
    }

    .post-card-meta{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 24px;
    }

    .post-card-category{
        padding: 4px 12px;
        border-radius: 20px;
        background-color: #EEF2CF;
        color: var(--Primary-Blue);
        font-size: 12px;
        font-weight: 600;
        line-height: 1.3;
    }

    .post-card-date{
        margin-left: auto;
        color: #565656;
        font-size: 13px;
        white-space: nowrap;
    }

    .post-card-title{
        display: -webkit-box;
        margin: 22px 0 10px;
        overflow: hidden;
        color: var(--Primary-Blue);
        font-size: 20px;
        font-weight: 600;
        line-height: 1.25;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .post-card-excerpt{
        display: -webkit-box;
        margin: 0 0 20px;
        overflow: hidden;
        color: #565656;
        font-size: 16px;
        line-height: 1.65;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .post-card-more{
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: auto;
        color: var(--Primary-Blue);
        font-size: 16px;
        font-weight: 600;
    }

    .post-card-more-icon{
        display: flex;
        width: 20px;
        height: 20px;
        color: var(--Primary-Green);
        transition: transform .3s ease;

        svg{
            width: 100%;
            height: 100%;
        }
    }

    /* Hover */
    .post-card-link:hover,
    .post-card-link:focus-visible{
        box-shadow: 0 10px 32px rgba(24, 59, 103, .18);
        transform: translateY(-4px);

        .post-card-media img{
            transform: scale(1.05);
        }

        .post-card-more-icon{
            transform: translateX(4px);
        }
    }

    @media (max-width: 767px){
        .post-card-body{
            padding: 20px 20px 24px;
        }

        .post-card-title{
            margin-top: 18px;
            font-size: 18px;
        }

        .post-card-excerpt{
            font-size: 15px;
        }
    }
}

/* ==========================================================================
   Botões extras (usados no formulário de interesse)
   ========================================================================== */

/* Botão translúcido sobre fundo azul (ex.: "Confira nossos lançamentos") */
.btn-glass,
a.btn-glass{
    background-color: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}

/* Botão branco com brilho verde (ex.: "Enviar") */
.btn-white,
a.btn-white{
    background-color: #fff;
    border-color: #fff;
    color: var(--Primary-Blue);
    box-shadow: 0 0 14px rgba(179, 197, 45, .55);
}

/* ==========================================================================
   Formulário de interesse (footer.php) - por enquanto só o visual
   ========================================================================== */

.section-tag-light{
    color: #fff;
}

.sec-interesse{
    padding: 50px 0 56px;
    background-color: #1B3E6E;
    color: #fff;

    *,
    *::before,
    *::after{
        box-sizing: border-box;
    }

    .interesse-head{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding-bottom: 32px;
        margin-bottom: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
    }

    .interesse-title{
        margin: 14px 0 0;
        color: #fff;
        font-size: 32px;
        font-weight: 600;
        line-height: 1.2;
    }

    .interesse-form{
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
        align-items: end;
        gap: 12px;
    }

    .interesse-field{
        position: relative;
        min-width: 0;

        label{
            display: block;
            margin-bottom: 10px;
            color: #fff;
            font-size: 14px;
            font-weight: 600;
        }

        input,
        select{
            display: block;
            width: 100%;
            height: 44px;
            padding: 0 14px;
            border: 1px solid rgba(255, 255, 255, .7);
            border-radius: 30px;
            background-color: rgba(255, 255, 255, .1);
            color: #fff;
            font-size: 16px;
            outline: none;
            transition: border-color .3s ease, background-color .3s ease;

            &::placeholder{
                color: rgba(255, 255, 255, .65);
            }

            &:focus{
                border-color: var(--Primary-Green);
                background-color: rgba(255, 255, 255, .16);
            }
        }

        select{
            padding-right: 32px;
            text-overflow: ellipsis;
            appearance: none;
            cursor: pointer;

            /* opção "Selecione..." com a mesma cor do placeholder */
            &:invalid{
                color: rgba(255, 255, 255, .65);
            }

            option{
                color: #333;
            }
        }
    }

    .interesse-select-icon{
        position: absolute;
        right: 14px;
        bottom: 14px;
        display: flex;
        width: 16px;
        height: 16px;
        color: rgba(255, 255, 255, .8);
        pointer-events: none;

        svg{
            width: 100%;
            height: 100%;
        }
    }

    .interesse-submit{
        height: 44px;
        padding: 0 36px;
    }

    .interesse-note{
        margin: 40px 0 0;
        color: #fff;
        font-size: 14px;
    }

    /* ---------- Tablet ---------- */
    @media (max-width: 1199px){
        .interesse-form{
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .interesse-submit{
            grid-column: 1 / -1;
            justify-self: end;
        }
    }

    @media (max-width: 991px){
        .interesse-head{
            flex-direction: column;
            align-items: flex-start;
        }
    }

    /* ---------- Mobile ---------- */
    @media (max-width: 767px){
        padding: 48px 0;

        .interesse-title{
            font-size: 24px;
        }

        .interesse-head{
            margin-bottom: 28px;
            padding-bottom: 24px;

            .btn{
                width: 100%;
            }
        }

        .interesse-form{
            grid-template-columns: 1fr;
            gap: 16px;
        }

        .interesse-submit{
            justify-self: stretch;
        }

        .interesse-note{
            margin-top: 24px;
        }
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer{
    position: relative;
    overflow: hidden;
    padding-top: 72px;
    background-color: #26507F;
    color: #fff;

    *,
    *::before,
    *::after{
        box-sizing: border-box;
    }

    *{
        font-family: Montserrat, sans-serif;
    }

    /* Tracejado verde decorativo nas laterais */
    &::before,
    &::after{
        content: "";
        position: absolute;
        top: 72px;
        width: 8px;
        height: 260px;
        background: repeating-linear-gradient(to bottom, var(--Primary-Green) 0 7px, transparent 7px 22px);
    }

    &::before{
        left: 0;
        border-radius: 0 3px 3px 0;
    }

    &::after{
        right: 0;
        border-radius: 3px 0 0 3px;
    }

    a{
        color: #fff;
        text-decoration: none;
        transition: color .3s ease, background-color .3s ease;
    }

    .footer-grid{
        display: grid;
        grid-template-columns: 497fr 287fr 288fr 248fr;
        gap: 32px 0;
    }

    .footer-logo img{
        display: block;
        width: 146px;
        height: auto;
    }

    .footer-address{
        margin: 28px 0 24px;
        font-size: 15px;
        font-style: normal;
        line-height: 1.5;
    }

    .footer-social{
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;

        a{
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border: 1px solid rgba(255, 255, 255, .6);
            border-radius: 50%;
            color: var(--Primary-Green);

            svg{
                width: 20px;
                height: 20px;
            }

            &:hover,
            &:focus-visible{
                border-color: var(--Primary-Green);
                background-color: var(--Primary-Green);
                color: var(--Primary-Blue);
            }
        }
    }

    .footer-heading{
        margin: 6px 0 18px;
        color: var(--Primary-Green);
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    .footer-links{
        display: flex;
        flex-direction: column;
        gap: 11px;
        margin: 0;
        padding: 0;
        list-style: none;

        a{
            font-size: 15px;
            line-height: 1.2;

            &:hover,
            &:focus-visible{
                color: var(--Primary-Green);
            }
        }
    }

    /* Cards de contato (telefone / WhatsApp) */
    .footer-contact{
        display: flex;
        min-height: 60px;
        margin-bottom: 12px;
        overflow: hidden;
        border-radius: 8px;

        &:hover .footer-contact-text,
        &:focus-visible .footer-contact-text{
            background-color: var(--Primary-Green);
        }
    }

    .footer-contact-icon{
        display: flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        width: 60px;
        background-color: #1F4677;
        color: var(--Primary-Green);

        svg{
            width: 26px;
            height: 26px;
        }
    }

    .footer-contact-text{
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: center;
        padding: 8px 16px;
        background-color: #E9EEF4;
        color: var(--Primary-Blue);
        transition: background-color .3s ease;

        small{
            font-size: 14px;
            text-transform: uppercase;
        }

        strong{
            font-size: 19px;
            font-weight: 700;
            line-height: 1.2;
            text-transform: uppercase;
        }
    }

    /* Barra inferior */
    .footer-bottom{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-top: 56px;
        padding: 24px 0 32px;
        border-top: 1px solid rgba(255, 255, 255, .2);
        font-size: 15px;

        p{
            margin: 0;
        }

        p a,
        .footer-privacy{
            text-decoration: underline;
            text-underline-offset: 3px;

            &:hover{
                color: var(--Primary-Green);
            }
        }
    }

    .footer-signature{
        font-size: 15px;
        font-weight: 800;
        font-style: italic;
        letter-spacing: -.5px;
        text-transform: uppercase;
    }

    /* ---------- Tablet ---------- */
    @media (max-width: 1199px){
        .footer-grid{
            grid-template-columns: 1fr 1fr;
            gap: 40px 32px;
        }
    }

    /* ---------- Mobile ---------- */
    @media (max-width: 767px){
        padding-top: 56px;

        &::before,
        &::after{
            display: none;
        }

        .footer-grid{
            grid-template-columns: 1fr;
            gap: 36px;
        }

        .footer-bottom{
            flex-direction: column;
            align-items: flex-start;
            margin-top: 40px;
        }
    }
}

/* ==========================================================================
   Blocos Quem Somos / Sobre (home e página Sobre a SBR)
   Capa de vídeo com play, texto corrido, botões e cards de números.
   ========================================================================== */

/* Capa do vídeo (thumbnail) com botão de play */
.qs-media{
    position: relative;
    aspect-ratio: 656 / 457;
    overflow: hidden;
    border-radius: 20px;
    background-color: #DDE3E8;

    img{
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
    }
}

.qs-play,
a.qs-play{
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    background-color: #fff;
    color: var(--Primary-Blue);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
    transform: translate(-50%, -50%);
    transition: background-color .3s ease, transform .3s ease;

    svg{
        display: block;
        flex-shrink: 0;
        width: 28px;
        height: 28px;
    }

    &:hover,
    &:focus-visible{
        background-color: var(--Primary-Green);
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Texto corrido (editor) */
.qs-text{
    color: #565656;
    font-size: 16px;
    line-height: 1.65;

    p{
        margin: 0 0 12px;

        &:last-child{
            margin-bottom: 0;
        }
    }

    strong,
    b{
        color: #333;
        font-weight: 500;
    }
}

.qs-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;

    @media (max-width: 767px){
        flex-direction: column;
        align-items: stretch;
        margin-top: 28px;
    }
}

/* Cards de números (a quantidade de colunas é definida em cada página) */
.qs-numbers{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;

    @media (max-width: 991px){
        gap: 16px;
    }

    @media (max-width: 767px){
        gap: 12px;
    }
}

.qs-number{
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 160px;
    padding: 24px;
    border-radius: 16px;
    background-color: var(--Primary-Blue);
    color: #fff;

    *{
        font-family: Montserrat, sans-serif;
    }

    .qs-number-icon{
        display: flex;
        width: 32px;
        height: 32px;
        margin-bottom: auto;
        color: var(--Primary-Green);

        svg{
            width: 100%;
            height: 100%;
        }
    }

    .qs-number-value{
        margin-top: 20px;
        font-size: 36px;
        font-weight: 700;
        line-height: 1.1;
    }

    .qs-number-label{
        margin-top: 6px;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.3;
    }

    @media (max-width: 767px){
        min-height: 140px;
        padding: 18px;

        .qs-number-value{
            font-size: 28px;
        }

        .qs-number-label{
            font-size: 14px;
        }
    }
}

/* ==========================================================================
   Depoimentos (carrossel) - template-parts/section-depoimentos.php
   ========================================================================== */

.sec-depoimentos{
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F1F4DC 100%);

    *,
    *::before,
    *::after{
        box-sizing: border-box;
    }

    .dep-head{
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
        margin-bottom: 40px;

        .section-title{
            margin-bottom: 0;
        }
    }

    /* espaço para a sombra dos cards não ser cortada pelo carrossel */
    .dep-swiper{
        margin: -16px;
        padding: 16px;
    }

    .swiper-slide{
        height: auto;
    }

    .dep-card{
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 32px;
        background-color: #fff;
        box-shadow: 0 4px 24px rgba(24, 59, 103, .1);
    }

    .dep-name{
        margin: 0;
        color: #222;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.3;
    }

    .dep-role{
        margin: 4px 0 0;
        color: #777;
        font-size: 18px;
        line-height: 1.3;
    }

    .dep-stars{
        display: flex;
        gap: 10px;
        margin: 18px 0 24px;
        color: var(--Primary-Green);

        svg{
            width: 24px;
            height: 24px;
        }

        /* Estrelas com contorno (como no layout); as que não contam na nota ficam apagadas */
        span:not(.is-filled){
            opacity: .3;
        }
    }

    .dep-text{
        margin: 0;
        color: #565656;
        font-size: 16px;
        line-height: 1.6;
    }

    @media (max-width: 767px){
        padding: 56px 0 64px;

        /* título em cima, cards no meio, dots + setas embaixo */
        .container-site{
            display: grid;
            grid-template-columns: 1fr auto;
            grid-template-areas:
                "head  head"
                "cards cards"
                "dots  nav";
            align-items: center;
        }

        .dep-head{
            display: contents;

            > div:first-child{
                grid-area: head;
                margin-bottom: 28px;
            }

            .section-title{
                font-size: 28px;
            }
        }

        .dep-swiper{
            grid-area: cards;
            min-width: 0;
        }

        .slider-nav{
            grid-area: nav;
            margin-top: 24px;
        }

        .slider-dots{
            grid-area: dots;
            display: flex;
            margin-top: 24px;
        }

        .dep-card{
            padding: 24px;
        }
    }
}

/* ==========================================================================
   Atalhos (botões com ícone) - template-parts/section-atalhos.php
   ========================================================================== */

.sec-atalhos{
    padding: 80px 0;

    /* Variação com fundo em degradê (ex.: Portal do Cliente) */
    &.is-gradient{
        padding-top: 100px;
        background: linear-gradient(180deg, #FFFFFF 0%, #F1F4DC 100%);
    }

    .atalhos-list{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .atalho{
        box-sizing: border-box;
        display: flex;
        min-height: 60px;
        overflow: hidden;
        border: 1px solid var(--Primary-Blue);
        border-radius: 10px;
        text-decoration: none;
        transition: border-color .3s ease;
    }

    .atalho-icon{
        display: flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        width: 86px;
        background-color: var(--Primary-Blue);
        color: var(--Primary-Green);
        transition: background-color .3s ease, color .3s ease;

        svg{
            width: 30px;
            height: 30px;
        }
    }

    .atalho-label{
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        padding: 10px 16px;
        background-color: #fff;
        color: var(--Primary-Blue);
        font-size: 18px;
        font-weight: 600;
        text-align: center;
    }

    /* Hover: quadrado do ícone verde com ícone azul; borda verde; texto continua branco */
    .atalho:hover,
    .atalho:focus-visible{
        border-color: var(--Primary-Green);

        .atalho-icon{
            background-color: var(--Primary-Green);
            color: var(--Primary-Blue);
        }
    }

    @media (max-width: 1199px){
        .atalhos-list{
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 767px){
        padding: 56px 0;

        .atalhos-list{
            grid-template-columns: 1fr;
            gap: 12px;
        }
    }
}

/* ==========================================================================
   Páginas de portal: Portal do Cliente e Portal do Investidor
   (template-parts/page-portal.php)
   ========================================================================== */

.pc-main{
    padding: 64px 0 0;

    *,
    *::before,
    *::after{
        box-sizing: border-box;
    }
}

/* ---------- Apresentação ---------- */
.pc-intro{
    display: grid;
    grid-template-columns: minmax(0, 656px) minmax(0, 1fr);
    align-items: center;
    gap: 22px;

    /* Imagem à direita (ACF "Posição da imagem") */
    &.is-image-right{
        grid-template-columns: minmax(0, 1fr) minmax(0, 656px);
        gap: 36px;

        .pc-intro-media{
            order: 2;
        }
    }

    .pc-intro-media{
        margin: 0;
        aspect-ratio: 656 / 332;
        overflow: hidden;
        border-radius: 20px;

        img{
            display: block;
            width: 100%;
            height: 100%;
            max-width: none;
            object-fit: cover;
        }
    }

    .section-title{
        max-width: 520px;
        margin: 12px 0 34px;
    }

    /* Tablet (até 1199px): uma coluna, para o texto não ficar espremido ao lado da imagem de 656px */
    @media (max-width: 1199px){
        &,
        &.is-image-right{
            grid-template-columns: 1fr;
            gap: 32px;
        }

        &.is-image-right .pc-intro-media{
            order: 0;
        }
    }

    @media (max-width: 767px){
        .section-title{
            font-size: 28px;
            margin-bottom: 20px;
        }
    }
}

/* ---------- Cards de serviço ---------- */
.pc-cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 44px 0 0;
    padding: 0;
    list-style: none;

    &.cols-2{
        grid-template-columns: repeat(2, 1fr);
    }

    &.cols-1{
        grid-template-columns: 1fr;
    }

    @media (max-width: 991px){
        &,
        &.cols-2{
            grid-template-columns: 1fr;
            gap: 16px;
        }
    }
}

.pc-card{
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background-color: #fff;

    .pc-card-icon{
        display: flex;
        width: 32px;
        height: 32px;
        color: var(--Primary-Green);

        svg{
            width: 100%;
            height: 100%;
        }
    }

    .pc-card-title{
        margin: 24px 0 18px;
        color: var(--Primary-Blue);
        font-family: Montserrat, sans-serif;
        font-size: 20px;
        font-weight: 600;
        line-height: 1.6;
    }

    /* botão sempre alinhado na base, mesmo com títulos de tamanhos diferentes */
    .pc-card-action{
        margin-top: auto;
    }

    @media (max-width: 767px){
        .pc-card-title{
            font-size: 18px;
        }
    }
}

/* ==========================================================================
   Imagem de capa e texto do editor (páginas de leitura)
   Usados na single do blog (single.php) e na Política de Privacidade.
   ========================================================================== */

/* Imagem destacada encostada no topo cinza (.page-hero), cantos inferiores arredondados */
.post-cover{
    box-sizing: border-box;
    margin: 0;
    aspect-ratio: 1098 / 381;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    background-color: #DDE3E8;

    img{
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
    }

    @media (max-width: 767px){
        aspect-ratio: 16 / 10;
        border-radius: 0 0 16px 16px;
    }
}

/* Conteúdo do editor (the_content) */
.post-content{
    color: #565656;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;

    > *:first-child{
        margin-top: 0;
    }

    > *:last-child{
        margin-bottom: 0;
    }

    p,
    ul,
    ol{
        margin: 0 0 24px;
    }

    ul,
    ol{
        padding-left: 22px;
    }

    ul{
        list-style: disc;
    }

    ol{
        list-style: decimal;
    }

    li + li{
        margin-top: 6px;
    }

    h2,
    h3,
    h4{
        margin: 36px 0 16px;
        color: var(--Primary-Blue);
        font-weight: 600;
        line-height: 1.3;
        text-align: left;
    }

    h2{ font-size: 26px; }
    h3{ font-size: 22px; }
    h4{ font-size: 18px; }

    a{
        color: var(--Primary-Blue);
        text-decoration: underline;
        text-underline-offset: 3px;

        &:hover{
            color: var(--Dark-Blue);
            text-decoration-color: var(--Primary-Green);
        }
    }

    strong,
    b{
        color: #333;
        font-weight: 600;
    }

    /* Ex.: "Fonte: ..." (use o formato "small" ou um parágrafo com <small>) */
    small{
        color: #333;
        font-size: 14px;
    }

    img{
        max-width: 100%;
        height: auto;
        border-radius: 16px;
    }

    figure{
        margin: 32px 0;
    }

    figcaption{
        margin-top: 8px;
        color: #777;
        font-size: 14px;
        text-align: center;
    }

    blockquote{
        margin: 32px 0;
        padding: 8px 0 8px 24px;
        border-left: 4px solid var(--Primary-Green);
        color: var(--Primary-Blue);
        font-size: 18px;
        font-style: italic;
        text-align: left;
    }

    @media (max-width: 767px){
        text-align: left;
    }
}

/* ==========================================================================
   Dots de carrossel (genérico): pílula verde = ativo, círculos = demais
   Usado nos carrosséis de empreendimentos e de notícias (mobile).
   ========================================================================== */

.slider-dots{
    display: none; /* aparecem só onde cada carrossel precisar (ver mobile abaixo) */
    align-items: center;
    gap: 6px;

    .slider-dot{
        display: block;
        width: 8px;
        height: 8px;
        border: 1.5px solid var(--Primary-Blue);
        border-radius: 8px;
        cursor: pointer;
        transition: width .3s ease, background-color .3s ease, border-color .3s ease;

        &.is-active{
            width: 40px;
            border-color: var(--Primary-Green);
            background-color: var(--Primary-Green);
        }
    }
}

/* Seta ao lado do título do card de empreendimento: só no mobile */
.emp-card-title-arrow{
    display: none;
}

/* Botão do rodapé da seção de empreendimentos: só no mobile */
.sec-emp-mobile-action{
    display: none;
}

/* ==========================================================================
   MOBILE (até 767px): Empreendimentos e Notícias (home e demais páginas)
   ========================================================================== */

@media (max-width: 767px){

    /* ---------- Seção Empreendimentos ---------- */
    .sec-empreendimentos{
        background: linear-gradient(180deg, #F4F6F8 0%, #F1F4E6 100%);

        /* o botão do cabeçalho vai para o rodapé da seção */
        .sec-emp-head .btn{
            display: none;
        }

        .sec-emp-head{
            margin-bottom: 24px;
        }

        .emp-swiper{
            margin: -12px;
            padding: 12px;
            border-radius: 0;
        }

        .sec-emp-foot{
            flex-direction: column;
            align-items: stretch;
            gap: 24px;
            margin-top: 20px;
        }

        .sec-emp-foot .slider-nav{
            display: none;
        }

        .sec-emp-mobile-action{
            display: block;

            .btn{
                width: 100%;
            }
        }

        .slider-dots{
            display: flex;
        }
    }

    /* ---------- Card de empreendimento: imagem em cima, informações embaixo ---------- */
    .sec-empreendimentos .emp-card{
        height: auto;
        padding: 16px;
        border-radius: 20px;
        background-color: #fff;
        box-shadow: 0 6px 24px rgba(24, 59, 103, .08);
    }

    .sec-empreendimentos .emp-card-media{
        position: relative;
        inset: auto;
        aspect-ratio: 315 / 305;
        overflow: hidden;
        border-radius: 16px;
    }

    .sec-empreendimentos .emp-card-logo{
        top: 12px;
        left: 12px;
        width: 64px;
        height: 64px;
        padding: 4px;
        border-radius: 10px;
    }

    .sec-empreendimentos .emp-card-info{
        position: static;
        width: auto;
        max-width: none;
        margin-top: 18px;
        padding: 0;
        border-radius: 0;
        background: none;
    }

    .sec-empreendimentos .emp-card-title{
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0 0 16px;
        font-size: 20px;
    }

    .sec-empreendimentos .emp-card-title-arrow{
        display: flex;
        width: 24px;
        height: 24px;
        color: var(--Primary-Green);

        svg{
            width: 100%;
            height: 100%;
        }
    }

    /* informações em "pílulas", uma por linha (só as 2 primeiras) */
    .sec-empreendimentos .emp-card-list{
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .sec-empreendimentos .emp-card-list .emp-card-item,
    .sec-empreendimentos .emp-card-list .emp-card-item + .emp-card-item{
        flex: none;
        margin: 0;
        padding: 10px 14px;
        border-radius: 8px;
        background-color: #F4F6FA;
        font-size: 14px;
        opacity: 1;
    }

    .sec-empreendimentos .emp-card-list .emp-card-item.is-extra{
        display: none;
    }

    .sec-empreendimentos .emp-card-icon{
        width: 20px;
        height: 20px;
    }

    .sec-empreendimentos .emp-card-text br{
        display: none;
    }

    /* ---------- Seção de notícias (home e "Você também pode gostar") ---------- */
    .sec-posts{
        background: #F4F6FA;

        &.sec-posts-gradient{
            background: linear-gradient(180deg, #F4F6FA 0%, #F1F4DC 100%);
        }

        .section-head-center{
            max-width: none;
            text-align: left;

            .section-desc{
                margin-inline: 0;
            }
        }

        /* carrossel (montado no app.js): espaço para a sombra dos cards */
        .posts-swiper{
            margin: -12px;
            padding: 12px;
        }

        .posts-swiper .swiper-wrapper.posts-grid{
            display: flex;
            gap: 0;
        }

        .posts-swiper .post-card{
            height: auto;
        }

        .sec-posts-action{
            margin-top: 24px;

            .btn{
                width: 100%;
            }
        }

        .slider-dots{
            display: flex;
            margin-top: 24px;
        }
    }
}

/* Ajustes finos do mobile (até 767px): pílulas, logo do card e botões sem seta */
@media (max-width: 767px){
    .sec-empreendimentos .emp-card-list{
        align-items: stretch;
    }

    /* logo dentro da imagem, com margem (16px do card + 12px da imagem) */
    .sec-empreendimentos .emp-card-logo{
        top: 28px;
        left: 28px;
    }

    /* "Ver todas as notícias" sem seta, como no layout mobile */
    .sec-posts .sec-posts-action .btn-icon{
        display: none;
    }
}
