/* =============================================================
CONFIGURAÇÃO DE CORES E FONTES
============================================================= */
:root {
    --cor-verde: #051F14;
    --cor-bege: #E7DAD0;
    --cor-claro: #FDF6ED;
    --cor-texto: #051F14;
}

/* Fontes Grotta - CAMINHO CORRIGIDO */
@font-face {
    font-family: 'FS Meridian';
    src: url('../_fontes/_grotta/FSMeridian-Regular.woff2') format('woff2'),
        url('../_fontes/_grotta/FSMeridian-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'FS Meridian';
    src: url('../_fontes/_grotta/FSMeridian-Medium.woff2') format('woff2'),
        url('../_fontes/_grotta/FSMeridian-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'FS Meridian';
    src: url('../_fontes/_grotta/FSMeridian-Bold.woff2') format('woff2'),
        url('../_fontes/_grotta/FSMeridian-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

/* Opcional: Se precisar do peso Light (300) */
@font-face {
    font-family: 'FS Meridian';
    src: url('../_fontes/_grotta/FSMeridian-Light.woff2') format('woff2'),
        url('../_fontes/_grotta/FSMeridian-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

body {
    margin: 0;
    font-family: 'FS Meridian', sans-serif;
    color: var(--cor-texto);
}

/* =============================================================
BOTÕES WHATSAPP
============================================================= */
.btn-whats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--cor-verde);
    color: var(--cor-claro);
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
}

.btn-whats .icon {
    width: 22px;
}

/* =============================================================
SESSÃO 01 – HERO (Revisado e Padronizado)
============================================================= */
#sessao01 {
    position: relative;
    min-height: 100vh;
    padding: 0px 70px;
    display: flex;
    align-items: flex-start;
    /* Novo! Garante que o conteúdo comece de cima */
    box-sizing: border-box;
    background-image: url('../_img/05-coworking/fotofundo-sessa-01.jpeg');
    background-size: cover;
    background-position: center;
}

#sessao01 .overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.hero-wrapper {
    position: relative;
    z-index: 2;

    max-width: 650px;
    display: flex;
    flex-direction: column;
    /* Aumenta o espaço entre o bloco de TEXTOS e o BOTÃO */
    gap: 20px;
    /* Alterado de 5px para 20px (Melhor separação visual) */
    /* Esta linha é a chave: Empurra o wrapper para baixo se o conteúdo for menor que 100vh */
    margin-top: auto;
    /* NOVO */
    margin-bottom: 50px;
    /* Novo: Garante um padding inferior (opcional, pode ser ajustado) */
}

.hero-textos {
    display: flex;
    flex-direction: column;
    /* Define o espaço entre o H1, P.descricao e P.destaque */
    gap: 15px;
    /* Define o espaçamento vertical entre as linhas de texto */
}

#sessao01 .titulo {
    font-size: 3.4rem;
    font-weight: 700;
}

#sessao01 .descricao {
    font-size: 1.3rem;
}

#sessao01 .destaque {
    font-weight: 700;
    font-size: 1rem;
}

.hero-botao {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

/* Zera as margens verticais padrão para usar o GAP acima */

#sessao01 .descricao,
#sessao01 .destaque {
    margin-top: 0;
    margin-bottom: 0;
}

/* =============================================================
SESSÕES 02, 03, 05, 07 – FUNDOS DIFERENCIADOS
============================================================= */
.fundo-bege {
    background-color: var(--cor-bege);
}

.fundo-claro {
    background-color: var(--cor-claro);
}

.bloco {
    padding: 20px 20px;
}

.titulo-centralizado {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cor-texto);
}

.descricao {
    max-width: 900px;
    margin: 5px auto;
    font-size: 1.2rem;
    line-height: 1;
}

#sessao02 .descricao {
    max-width: 900px;
    margin: 10px auto;
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: center;
}

.destaque {
    font-weight: 700;
    font-size: 1.3rem;
    text-align: center;
    margin-top: 18px;
}

/* =============================================================
ESTILOS GERAIS DO BOTÃO (NOVO)
============================================================= */
/* Container para centralizar o botão */
.container-btn-condicoes {
    text-align: center;
    margin: 30px auto 0px auto;
}

/* Estilo do novo botão 'Quero ver as condições' */
.btn-condicoes {
    display: inline-block;
    background-color: var(--cor-texto);
    color: var(--cor-claro);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn-condicoes:hover {
    background-color: #333;
}

/* =============================================================
SESSÃO 03 – CARROSSEIS
============================================================= */
.carrosseis-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.carrossel-bloco {
    width: 300px;
    text-align: center;
}

.carrossel-bloco h3 {
    font-weight: 700;
    margin-bottom: 10px;
}

.carrossel-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.carrossel {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    gap: 0;
    scroll-behavior: smooth;
}

.carrossel img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    line-height: 1;
    transition: background-color 0.2s;
}

.seta:hover {
    background: rgba(0, 0, 0, 0.7);
}

.esquerda {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.direita {
    right: 0;
    border-radius: 4px 0 0 4px;
}

#sessao03 .descricao {
    text-align: center;
    margin-bottom: 5PX;
}

/* =============================================================
SESSÃO 04 – PROFISSIONAIS
============================================================= */
.grid-profissionais {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.profissional {
    padding: 25px;
    border-radius: 15px;
    background-color: var(--cor-claro);
}

.membro {
    border: 2px solid var(--cor-verde);
}

.profissional h3 {
    font-weight: 700;
    margin-bottom: 10px;
}

.profissional p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* =============================================================
SESSÃO 05 – CAIXA DESTACADA
============================================================= */
.box-destaque-borda {
    border: 2px solid var(--cor-verde);
    padding: 5px;
    max-width: 900px;
    margin: 10px auto;
    border-radius: 6px;
    font-weight: 700;
    background-color: #E4E1D8;
}

#sessao05 .texto-centralizado,
.descricao {
    text-align: center;
    line-height: 1.5;
}

#sessao05 .box-destaque-borda {
    text-align: center;
}

/* =============================================================
SESSÃO 07 – CONTATO
============================================================= */

/* Centraliza o container dos botões */
.botoes-contato {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Garante espaçamento entre os botões se eles não estiverem centralizados em uma linha */
.botoes-contato .btn-whats {
    margin: 10px 10px;
}

/* Aumenta o espaço acima da localização (entre botões e endereço) */
.descricao.endereco {
    margin-top: 40px;
    text-align: center;
}

.endereco .icon {
    width: 26px;
    margin-right: 8px;
}

/* =============================================================
SESSÃO 08 – DEPOIMENTO (VÍDEO + TEXTO)
============================================================= */
#sessao08 {
    /* Centraliza o conteúdo e força a altura máxima da tela no desktop */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    /* Altura mínima para o conteúdo */
    max-height: 100vh;
    /* Não ultrapassa a altura da tela no desktop */
    overflow: hidden;
}

.depoimento-container {
    display: flex;
    align-items: center;
    max-width: 1100px;
    width: 100%;
    gap: 60px;
    /* Espaço entre texto e vídeo */
}

.depoimento-texto {
    /* Transforma o bloco de texto em um Flex Container vertical */
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Espaço entre P's, H2 e o botão (que agora está logo abaixo) */

    /* Order 1: Garante que o texto fique em 1º lugar no mobile (opcional aqui, mas bom para consistência) */
    order: 1;
}

.titulo-depoimento {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    /* Reduz margem, use o GAP do pai (.depoimento-texto) */
    margin-top: 0;
    color: var(--cor-texto);
}

.descricao-depoimento {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0;
    margin-top: 0;
}

/* Novo estilo para o Botão (Wrapper) */
.depoimento-botao {
    /* Order 3 no desktop: aparece abaixo do texto e acima do vídeo. */
    /* Como o texto e o botão estão aninhados, o botão está abaixo do texto por padrão. */
    /* Apenas para garantir que ele seja um bloco separado */
    order: 3;
}

/* Container do Vídeo */
.depoimento-video-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Alinha o vídeo à direita */
    max-width: 300px;
    /* Largura máxima para o vídeo vertical */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    order: 2;
    /* O vídeo fica em 2º lugar (lado direito) */
}

/* Técnica de Aspect Ratio 9:16 (Vídeo Vertical) */
.depoimento-video-frame {
    position: relative;
    width: 100%;
    /* Altura = Largura * (16/9) */
    padding-top: calc(100% * 16 / 9);
    background-color: #000;
}

.depoimento-video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Oculta o botão no desktop, ele só será mostrado no mobile */
.depoimento-botao {
    display: none;
}

/* =============================================================
FOOTER – IGUAL DA INTEGRAPRO
============================================================= */
#localizacao {
    background-color: var(--cor-claro);
    padding-top: 0;
}

.mapa-wrapper {
    margin-bottom: 30px;
}

.copy-wrapper {
    text-align: center;
    padding: 20px 0 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.copy {
    font-size: 0.8rem;
    color: #6d6d6d;
}

/* Elemento usado para empurrar o conteúdo para baixo no mobile */
.spacer-mobile {
    display: none;
    /* Por padrão, ele fica oculto no desktop */
}

/* =========================================================================
   7. BOTÃO FLUTUANTE WHATSAPP (Específico)
   ========================================================================= */

/* Posição e estilo base */
#whatsapp-fixed-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    /* Fixo no topo da pilha */
    background-color: #25D366;
    color: #fff;
    width: 30px;
    height: 30px;
    padding: 14px;
    border-radius: 50%;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Estilo Hover */
#whatsapp-fixed-cta:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* --- ANIMAÇÃO PULSE (PISCANDO) --- */

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Aplica a animação */
#whatsapp-fixed-cta {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Estilos do Banner de Cookies/LGPD */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    /* Fundo escuro */
    color: #fff;
    /* Texto claro */
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    /* Garante que fique acima de outros elementos */
    font-family: sans-serif;
    line-height: 1.4;
    box-sizing: border-box;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    /* Limita a largura em telas grandes */
    margin: 0 auto;
    flex-wrap: wrap;
    /* Permite que os elementos quebrem em telas pequenas */
}

#cookie-consent-banner p {
    margin: 0;
    font-size: 14px;
    flex-grow: 1;
    padding-right: 20px;
    /* Espaço entre o texto e o botão */
}

#cookie-consent-banner a {
    color: #a8e6cf;
    /* Cor de link que destaque no fundo escuro */
    text-decoration: underline;
    font-weight: bold;
}

#aceitar-cookies {
    background-color: #6fb06e;
    /* Cor do botão (verde Prolong) */
    color: #fff;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
    flex-shrink: 0;
    /* Impede o botão de encolher */
}

#aceitar-cookies:hover {
    background-color: #5d925d;
}

/* =============================================================
MEDIA QUERIES - RESPONSIVIDADE
============================================================= */

/* -------------------------------------------------------------
AJUSTES GERAIS PARA TABLETS E CELULARES GRANDES (< 768px)
------------------------------------------------------------- */
@media screen and (max-width: 768px) {

    /* GERAL: Diminui o espaçamento dos blocos principais */
    .bloco {
        padding: 40px 15px;
    }

    /* GERAL: Diminui um pouco o tamanho das fontes dos títulos principais */
    .titulo-centralizado {
        font-size: 1.8rem;
    }

    /* SESSÃO 01 – HERO */
    #sessao01 {
        /* Remove o padding superior (20px) que pode causar o gap */
        padding: 0px 30px 0px;
        /* Altera para: 0px top, 30px laterais, 20px bottom */
        min-height: 100dvh;
        height: auto;
        /* Garante que o conteúdo fique no final da tela */

    }

    .hero-wrapper {
        gap: 28px;
        /* Garante que o wrapper use 100% da largura da área de padding */
        max-width: 100%;
        width: 100%;
        /* Novo: Garante largura total */
        margin-bottom: 20px;
    }

    .hero-textos {
        gap: 16px;
    }

    #sessao01 .titulo {
        font-size: 2.8rem;
    }

    /* SESSÃO 04 – PROFISSIONAIS */
    .grid-profissionais {
        max-width: 100%;
        gap: 20px;
        margin-left: 0;
        margin-right: 0;
    }

    /* SESSÃO 07 – CONTATO */
    .botoes-contato .btn-whats {
        display: block;
        width: 80%;
        max-width: 350px;
        margin: 10px auto;
        box-sizing: border-box;
    }

    /* SESSÃO 08 – DEPOIMENTO */
    #sessao08 {
        /* Desativa a altura fixa para permitir a rolagem normal */
        min-height: auto;
        max-height: none;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .depoimento-container {
        flex-direction: column;
        gap: 30px;
        max-width: 100%;
        /* Novo: Centraliza o conteúdo horizontalmente no mobile */
        align-items: center;
    }

    .depoimento-texto {
        max-width: 100%;
        text-align: center;
        padding: 0 15px;
        order: 1;
        /* O texto aparece primeiro */
    }


    .descricao-depoimento {
        font-size: 1.2rem;
    }

    .depoimento-video-wrapper {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        margin: 0 auto;
        order: 2;
        /* O vídeo aparece depois do texto, antes do botão */
    }

    .depoimento-botao {
        display: flex;
        /* Torna o botão visível */
        order: 3;
        /* O botão aparece depois do vídeo */
        width: 80%;
        /* Ajusta a largura do botão no mobile */
        max-width: 300px;
        margin-top: 20px;
        /* Espaço entre o vídeo e o botão */
    }

    .titulo-depoimento {
        font-size: 1.8rem;
    }
}


/* -------------------------------------------------------------
AJUSTES PARA CELULARES PEQUENOS (< 480px)
------------------------------------------------------------- */
@media screen and (max-width: 480px) {

    /* GERAL: Diminui ainda mais o padding lateral */
    .bloco {
        padding: 20px 10px;
    }

    /* GERAL: Títulos ainda menores para caberem bem */
    .titulo-centralizado {
        font-size: 1.6rem;
    }

    #sessao01 {
        /* Remove o padding superior (20px) */
        padding: 0px 25px 0px;
        /* Altera para: 0px top, 25px laterais, 25px bottom */
        min-height: 100dvh;
        height: auto;

    }

    .hero-wrapper {
        gap: 24px;
        /* Garante largura total */
        width: 100%;
        margin-bottom: 5px;
    }

    .hero-textos {
        gap: 14px;
    }

    #sessao01 .titulo {
        font-size: 2.1rem;
    }

    #sessao01 .descricao {
        font-size: 1.5rem;
    }

    .hero-botao .btn-whats {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }


    /* SESSÃO 03 – CARROSSEIS */
    .carrossel-bloco {
        width: 100%;
    }

    /* SESSÃO 04 – PROFISSIONAIS */
    .grid-profissionais {
        grid-template-columns: 1fr;
    }

    .profissional {
        border-radius: 6px;
    }

    /* SESSÃO 05 – CAIXA DESTACADA */
    .box-destaque-borda {
        padding: 15px;
    }

    /* SESSÃO 07 – CONTATO */
    .botoes-contato .btn-whats {
        width: 90%;
        max-width: 300px;
        margin: 10px auto;
        box-sizing: border-box;
    }

    /* SESSÃO 08 – DEPOIMENTO */
    .depoimento-video-wrapper {
        width: 100%;
        max-width: 90%;
        padding: 0 15px;
        box-sizing: border-box;
        order: 2;
    }

    .depoimento-botao {
        display: flex;
        order: 3;
        width: 90%;
        /* Adapta para telas menores */
        max-width: 250px;
        margin-top: 15px;
    }

    /* Footer */
    .copy-wrapper {
        padding: 15px 0 20px;
    }

    .copy {
        font-size: .7rem;
    }
}

/* Ajuste para Mobile */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    #cookie-consent-banner p {
        padding-right: 0;
        margin-bottom: 10px;
    }

    #aceitar-cookies {
        width: 100%;
        /* Botão ocupa toda a largura em mobile */
        padding: 10px 15px;
    }
}