
/* =========================================
   MODAL PREMIUM - CANDIDATURA EMBAIXADOR
========================================= */

.modal-candidatura-embaixador[hidden] {
    display: none !important;
}

.modal-candidatura-embaixador {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    background: rgba(7, 20, 13, 0.84);
    backdrop-filter: blur(8px);
    animation: aparecerFundoEmbaixador 0.3s ease;
}

.conteudo-modal-embaixador {
    width: 100%;
    max-width: 510px;
    margin: auto;
    padding: 36px 30px;
    border: 1px solid #c7a44a;
    border-radius: 22px;
    background: linear-gradient(145deg, #193c2a, #0e2419);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
    animation: subirModalEmbaixador 0.4s ease;
}

.icone-sucesso-embaixador {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    border: 2px solid #d9bc70;
    border-radius: 50%;
    background: rgba(217, 188, 112, 0.12);
    color: #e6ca7a;
    font-size: 36px;
    font-weight: 800;
}

.etiqueta-modal-embaixador {
    margin: 0 0 12px;
    color: #e6ca7a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.conteudo-modal-embaixador h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(25px, 5vw, 34px);
    line-height: 1.2;
    font-weight: 900;
}

.subtitulo-modal-embaixador {
    margin: 0 0 14px;
    color: #e6ca7a;
    font-size: 17px;
    font-weight: 800;
}

.texto-modal-embaixador {
    margin: 0 0 22px;
    color: #e6eee8;
    font-size: 15px;
    line-height: 1.7;
}

.aviso-modal-embaixador {
    padding: 18px;
    border: 1px solid rgba(217, 188, 112, 0.4);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.06);
}

.aviso-modal-embaixador strong {
    color: #e6ca7a;
    font-size: 16px;
}

.aviso-modal-embaixador p {
    margin: 8px 0 0;
    color: #e6eee8;
    font-size: 14px;
    line-height: 1.6;
}

.frase-modal-embaixador {
    margin: 22px 0;
    color: #e6ca7a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

#btnFecharModalEmbaixador {
    width: 100%;
    padding: 15px 18px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #e6ca7a, #c7a44a);
    color: #193c2a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

#btnFecharModalEmbaixador:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

@keyframes aparecerFundoEmbaixador {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes subirModalEmbaixador {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .conteudo-modal-embaixador {
        padding: 28px 20px;
    }
}

/* ===== MENU LATERAL DO EMBAIXADOR ===== */

.layout-painel {
    display: flex;
    align-items: flex-start;
    min-height: calc(100vh - 80px);
    position: relative;
}

.menu-lateral {
    width: 270px;
    min-width: 270px;
    align-self: stretch;
    min-height: calc(100vh - 80px);
    padding: 25px 16px;
    background: linear-gradient(180deg, #123d2b 0%, #09291d 100%);
    border-right: 2px solid #c9a64b;
    box-sizing: border-box;
    transition: width 0.25s ease, min-width 0.25s ease;
    overflow: hidden;
}

.menu-marca {
    color: #e5c56b;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 1px;
    text-align: center;
    padding: 10px 4px 28px;
    white-space: nowrap;
}

.botao-menu {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    margin-bottom: 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #f5f7f4;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.botao-menu:hover,
.botao-menu.ativo {
    background: rgba(229, 197, 107, 0.13);
    border-color: rgba(229, 197, 107, 0.55);
    color: #f2d47c;
}

.icone-menu {
    width: 26px;
    min-width: 26px;
    text-align: center;
    font-size: 19px;
}

.texto-menu {
    white-space: normal;
    line-height: 1.35;
}

.conteudo-painel {
    flex: 1;
    min-width: 0;
}

#btnRecolherMenu {
    color: #e5c56b;
    border-color: rgba(229, 197, 107, 0.25);
    margin-bottom: 24px;
}

.menu-lateral.recolhido {
    width: 76px;
    min-width: 76px;
    padding-left: 10px;
    padding-right: 10px;
}

.menu-lateral.recolhido .menu-marca {
    font-size: 0;
    padding-bottom: 20px;
}

.menu-lateral.recolhido .texto-menu {
    display: none;
}

.menu-lateral.recolhido .botao-menu {
    justify-content: center;
    padding: 14px 6px;
}

.fundo-menu-mobile {
    display: none;
}

/* ===== VERSÃO PARA CELULAR ===== */

@media (max-width: 768px) {
    .layout-painel {
        display: block;
    }

    .menu-lateral,
    .menu-lateral.recolhido {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1001;
        width: 280px;
        min-width: 280px;
        height: 100vh;
        min-height: 100vh;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        padding: 25px 16px;
    }

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

    .menu-lateral .menu-marca {
        font-size: 17px;
        padding-bottom: 28px;
    }

    .menu-lateral .texto-menu {
        display: inline;
    }

    .menu-lateral .botao-menu {
        justify-content: flex-start;
        padding: 14px 12px;
    }

    .conteudo-painel {
        width: 100%;
    }

    .fundo-menu-mobile.visivel {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.55);
    }
}


/* ===== BOTÃO DE ABRIR MENU ===== */

.botao-abrir-menu {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #c9a64b;
    border-radius: 10px;
    background: #123d2b;
    color: #e5c56b;
    font-size: 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.botao-abrir-menu:hover {
    background: #1b543b;
}

@media (max-width: 768px) {
    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
    }

    .botao-abrir-menu {
        display: inline-flex;
    }

    header .marca {
        flex: 1;
        min-width: 0;
    }

    header .sair {
        flex-shrink: 0;
    }
}

/* ===== MENU LATERAL DESLIZANTE DO EMBAIXADOR ===== */

.layout-painel {
    display: block;
    position: relative;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.menu-overlay.visivel {
    opacity: 1;
    visibility: visible;
}

.menu-lateral {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1999;
    width: 290px;
    max-width: 85vw;
    height: 100vh;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 65px 20px 30px;
    overflow-y: auto;
    background: linear-gradient(180deg, #123d2b 0%, #09291d 100%);
    border-right: 2px solid #c9a64b;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.2);
    transform: translateX(-105%);
    transition: transform 0.3s ease;
}

.menu-lateral.aberto {
    transform: translateX(0);
}

.fechar-menu {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(229, 197, 107, 0.5);
    border-radius: 8px;
    background: transparent;
    color: #e5c56b;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.fechar-menu:hover {
    background: rgba(229, 197, 107, 0.15);
}

.menu-logo {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(229, 197, 107, 0.35);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
}

.menu-logo span {
    color: #e5c56b;
}

.navegacao-embaixador {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-menu-embaixador {
    display: block;
    padding: 14px 15px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #f5f7f4;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.link-menu-embaixador:hover,
.link-menu-embaixador.ativo {
    background: rgba(229, 197, 107, 0.13);
    border-color: rgba(229, 197, 107, 0.45);
    color: #f2d47c;
}

/* Conteúdo continua ocupando a página normalmente */
.conteudo-painel {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Botão para abrir o menu */
.botao-abrir-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #c9a64b;
    border-radius: 10px;
    background: #123d2b;
    color: #e5c56b;
    font-size: 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.botao-abrir-menu:hover {
    background: #1b543b;
}

/* Compatibilidade com o botão antigo */
#btnRecolherMenu {
    display: none;
}

.fundo-menu-mobile {
    display: none !important;
}

/* CARDS DE EMBAIXADORES — VERDE CLARO E ELEGANTE */

.secao-crescimento {
    max-width: 1050px;
    margin: 40px auto;
}

.secao-crescimento .titulo {
    margin-bottom: 24px;
}

.secao-crescimento .beneficios {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.secao-crescimento .card {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #c6e6ce;
    border-radius: 15px;
    background: linear-gradient(145deg, #f3fff5, #e2f5e6);
    box-shadow: 0 5px 16px rgba(28, 104, 55, 0.07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.secao-crescimento .card:hover {
    transform: translateY(-4px);
    border-color: #b5d58b;
    box-shadow: 0 10px 24px rgba(28, 104, 55, 0.13);
}

.secao-crescimento .card summary {
    padding: 20px 17px;
    cursor: pointer;
    list-style: none;
}

.secao-crescimento .card summary::-webkit-details-marker {
    display: none;
}

.secao-crescimento .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    border: 1px solid #d7c27d;
    border-radius: 13px;
    background: #ffffff;
    font-size: 23px;
}

.secao-crescimento .card h3 {
    margin: 0 0 9px;
    color: #176638;
    font-size: 15px;
    line-height: 1.4;
}

.secao-crescimento .card summary > p {
    min-height: 62px;
    margin: 0;
    color: #54715d;
    font-size: 13px;
    line-height: 1.6;
}

.secao-crescimento .saiba-mais {
    margin-top: 15px;
    padding-top: 12px;
    color: #18783c;
    font-size: 10px;
    line-height: 1.5;
}

.secao-crescimento .card-detalhes {
    padding: 0 17px 17px;
    border-top: 1px solid #cfe7d4;
    background: rgba(255, 255, 255, .65);
}

.secao-crescimento .card-detalhes p {
    margin: 13px 0 0;
    color: #496451;
    font-size: 13px;
    line-height: 1.7;
}

/* TABLETS */
@media (max-width: 760px) {
    .secao-crescimento .beneficios {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* CELULARES */
@media (max-width: 520px) {
    .secao-crescimento {
        width: 94%;
        margin: 32px auto;
    }

    .secao-crescimento .beneficios {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .secao-crescimento .card summary {
        padding: 18px;
    }

    .secao-crescimento .card summary > p {
        min-height: 0;
    }
}

/* FUNDO VERDE-ESCURO COM FEIXES DOURADOS */
.secao-crescimento {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 55px 24px;

    background:
        linear-gradient(
            125deg,
            transparent 35%,
            rgba(218, 176, 75, 0.09) 43%,
            rgba(255, 224, 145, 0.17) 45%,
            rgba(218, 176, 75, 0.06) 47%,
            transparent 55%
        ),
        linear-gradient(
            145deg,
            #103d2b 0%,
            #082b1e 55%,
            #041d15 100%
        );
}

/* FEIXES DOURADOS DECORATIVOS NO FUNDO */
.secao-crescimento::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -40%;
    left: -15%;
    width: 130%;
    height: 180%;

    background: linear-gradient(
        115deg,
        transparent 38%,
        rgba(230, 190, 91, 0.04) 43%,
        rgba(255, 221, 139, 0.15) 44%,
        rgba(255, 221, 139, 0.04) 45%,
        transparent 51%,
        transparent 65%,
        rgba(230, 190, 91, 0.08) 67%,
        transparent 70%
    );

    pointer-events: none;
}

/* TÍTULOS DA SEÇÃO */
.secao-crescimento .titulo h2 {
    color: #ffffff;
}

.secao-crescimento .titulo p {
    color: #e0e9e2;
}

/* CARDS BRANCOS */
.secao-crescimento .beneficios .card {
    position: relative;
    overflow: hidden;

    background: #ffffff !important;
    border: 1px solid #e5d5a5;
    border-radius: 16px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* EFEITO AO PASSAR O MOUSE */
.secao-crescimento .beneficios .card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(218, 176, 75, 0.35);
}

/* TÍTULOS DOS CARDS */
.secao-crescimento .beneficios .card summary h3 {
    color: #123d2b !important;
}

/* TEXTOS DOS CARDS */
.secao-crescimento .beneficios .card summary p {
    color: #526157 !important;
}

/* DETALHES DOURADOS */
.secao-crescimento .beneficios .card .saiba-mais {
    color: #9a7520 !important;
    font-weight: 800;
}

.secao-crescimento .beneficios .card .saiba-mais b {
    color: #b28a2e;
}

/* ÁREA EXPANDIDA DOS CARDS */
.secao-crescimento .beneficios .card .card-detalhes {
    background: #f7f9f6;
    border-top: 1px solid #e7d7a8;
}

.secao-crescimento .beneficios .card .card-detalhes p {
    color: #34463a;
    line-height: 1.8;
}

.secao-crescimento .beneficios .card .card-detalhes strong {
    color: #174a32;
}

/* CELULAR */
@media (max-width: 520px) {
    .secao-crescimento {
        padding: 38px 16px;
    }
}

/* FUNDO VERDE-ESCURO DA SEÇÃO DE CRESCIMENTO */
section.conteudo.secao-crescimento {
    background-color: #082b1e !important;
    background-image:
        linear-gradient(
            125deg,
            transparent 38%,
            rgba(218, 176, 75, 0.10) 44%,
            rgba(255, 224, 145, 0.20) 45%,
            rgba(218, 176, 75, 0.08) 47%,
            transparent 54%
        ),
        linear-gradient(
            145deg,
            #103d2b 0%,
            #082b1e 60%,
            #041b13 100%
        ) !important;
    background-repeat: no-repeat;
    background-size: cover;
}

/* MANTER OS CARDS BRANCOS */
section.conteudo.secao-crescimento .beneficios .card {
    background: #ffffff !important;
    color: #24372c !important;
    border: 1px solid #d9bd70 !important;
}

section.conteudo.secao-crescimento .beneficios .card summary h3 {
    color: #123d2b !important;
}

section.conteudo.secao-crescimento .beneficios .card summary p {
    color: #526157 !important;
}

/* FUNDO VERDE-ESCURO COM FEIXES DOURADOS */
.beneficios {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: 35px;
    border-radius: 20px;

    background-color: #082b1e !important;
    background-image:
        linear-gradient(
            125deg,
            transparent 30%,
            rgba(218, 176, 75, 0.08) 42%,
            rgba(255, 224, 145, 0.20) 44%,
            rgba(218, 176, 75, 0.08) 46%,
            transparent 58%
        ),
        linear-gradient(
            145deg,
            #103d2b 0%,
            #082b1e 60%,
            #041b13 100%
        ) !important;

    background-size: cover;
    background-repeat: no-repeat;
}

/* CARDS BRANCOS */
.beneficios .card {
    position: relative;
    background: #ffffff !important;
    border: 1px solid #d9bd70 !important;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

/* TÍTULOS DOS CARDS */
.beneficios .card h3 {
    color: #123d2b !important;
}

/* TEXTOS DOS CARDS */
.beneficios .card summary p {
    color: #526157 !important;
}

/* DETALHES DOURADOS */
.beneficios .card .saiba-mais {
    color: #9a7520 !important;
    border-top-color: #eadfbd;
}

/* CONTEÚDO EXPANDIDO */
.beneficios .card-detalhes {
    background: #f7f9f6 !important;
    border-top: 1px solid #e7d7a8;
}

.beneficios .card-detalhes p {
    color: #34463a !important;
}

/* RESPONSIVO */
@media (max-width: 600px) {
    .beneficios {
        padding: 16px;
        border-radius: 14px;
    }
}
