/* ==========================================================================
   VARIÁVEIS E CONFIGURAÇÕES GLOBAIS
   ========================================================================== */
:root {
    --azul-principal: #1f37a2;
    --laranja-un: #fe9c00;
    --laranja-botao: #fe9c00;
    --texto-cinza: #666666;
    --branco: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--branco);
    color: #4A4A4A;
    overflow-x: hidden;
}

/* ==========================================================================
   CABEÇALHO (NAVBAR)
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    width: 100%;
    background-color: var(--branco);
}

.logo { height: 26px; }
.menu-icon { height: 20px; cursor: pointer; }

/* Botão Global */
.btn-app {
    background-color: var(--laranja-botao);
    color: var(--branco);
    text-decoration: none;
    font-weight: 800;
    padding: 16px 40px;
    border-radius: 15px; 
    box-shadow: 0 4px 15px rgba(254, 156, 0, 0.2);
    display: inline-block;
    position: relative;
    z-index: 10; 
    transition: transform 0.2s ease;
}
.btn-app:hover { transform: scale(1.03); }

/* ==========================================================================
   SEÇÃO 1: HERO
   ========================================================================== */
.secao-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 24px 0px 24px;
    width: 100%;
}

.hero-textos {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
}

.frase-mista {
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 15px;
}
.frase-mista strong { font-weight: 800; }
.texto-laranja { color: var(--laranja-un); }
.texto-azul { color: var(--azul-principal); }

.descricao {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--texto-cinza);
    line-height: 1.5;
    max-width: 320px;
    margin: 0 auto 30px auto;
}

.composicao-ilustrada {
    width: 100%;
    max-width: 900px;
    margin-top: -20px; /* Engata no botão */
    display: flex;
    justify-content: center;
    align-items: flex-end; 
    position: relative;
    z-index: 1;
}

.ilustra-arvores { width: 15%; margin-right: 20px; }
.ilustra-onibus { width: 15%; z-index: 2; }
.ilustra-casas { width: 30%; margin-left: 20px; }

/* ==========================================================================
   SEÇÃO 2: MORADOR (AZUL)
   ========================================================================== */
.secao-morador {
    width: 100%;
    background-color: #2A3B8F; 
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px; /* Sem padding bottom para a casa colar na base */
}

.container-morador {
    width: 100%;
    max-width: 600px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* CORREÇÃO: Não existe 'left' no flexbox */
    text-align: left;
}

.saudacao-morador { color: #FFFFFF; font-size: 3.4rem; font-weight: 800; line-height: 1.1; margin-bottom: 10px; }
.frase-morador { color: #FFFFFF; font-size: 1.5rem; font-weight: 400; line-height: 1.1; margin-bottom: 25px; }
.frase-morador strong { color: #F9A826; font-weight: 800; }

.card-laranja {
    background-color: #fd6533; 
    color: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    max-width: 450px;
}
.card-laranja p { font-size: 1.1rem; line-height: 1.5; font-weight: 400; }

.composicao-morador-casa {
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 40px; /* Afasta a ilustração do card */
}
.ilustra-casa-morador { width: 100%; max-width: 600px; display: block; }

/* ==========================================================================
   SEÇÃO 3: EMPRESÁRIO (BRANCO)
   ========================================================================== */
.secao-empresario {
    width: 100%;
    background-color: #FFFFFF;
    position: relative; 
    display: flex;
    justify-content: center;
    padding: 80px 24px 320px 24px; /* O 320px no bottom dá espaço pro piso não tampar o texto */
    overflow: hidden;    
}

.container-empresario {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    z-index: 10;
}

.saudacao-empresario { color: #1f37a2; font-size: 3.4rem; font-weight: 800; line-height: 1.1; margin-bottom: 10px; }
.frase-empresario { color: #fd6533; font-size: 1.5rem; font-weight: 400; line-height: 1.1; margin-bottom: 25px; }
.frase-empresario strong { color: #fd6533; font-weight: 800; }

.piso-ilustrado {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: space-around; 
    align-items: flex-end;         
    border-bottom: 40px solid #e2e4f3; 
    z-index: 1;
}

.ilustra-item { height: auto; }
.arv-1 { width: 60px; }
.arv-2 { width: 80px; }
.loja-predio { width: 180px; margin-left: 20px; }

/* ==========================================================================
   SEÇÃO 4: ESPECIALISTA (BRANCO)
   ========================================================================== */
.secao-especialista {
    width: 100%;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    padding: 80px 24px;
}

.container-especialista {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.saudacao-especialista { color: #fd6533; font-size: 3.4rem; font-weight: 800; line-height: 1.1; margin-bottom: 10px; }
.frase-especialista { color: #1f37a2; font-size: 1.8rem; font-weight: 400; line-height: 1.2; margin-bottom: 30px; }
.frase-especialista strong { font-weight: 800; color: #1f37a2; }

.card-azul {
    background-color: #1f37a2;
    color: #FFFFFF;
    padding: 30px;          
    border-radius: 15px;    
    box-shadow: 0 15px 35px rgba(31, 55, 162, 0.2); 
    max-width: 100%;        
    margin-bottom: 30px;    
}
.card-azul p { font-size: 1.1rem; line-height: 1.5; font-weight: 300; }

/* ==========================================================================
   SEÇÃO 5: PROPÓSITO (VERDE)
   ========================================================================== */
.secao-proposito {
    width: 100%;
    background-color: #99cc33; 
    display: flex;
    justify-content: center;
    padding: 80px 24px;
}

.container-proposito {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left; /* Trocado de 'justify' para 'left' para evitar rios brancos */
}

.contexto-proposito { color: #1f37a2; font-size: 2.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: 15px; }
.frase-proposito { color: #FFFFFF; font-size: 2.2rem; font-weight: 400; line-height: 1.2; margin-bottom: 30px; }
.frase-proposito strong { font-weight: 800; }

.descricao-proposito {
    color: #1f37a2; 
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
}
.descricao-proposito strong { font-weight: 800; }

/* ==========================================================================
   RODAPÉ PRINCIPAL
   ========================================================================== */
.rodape-principal {
    background-color: var(--azul-principal);
    color: var(--branco);
    padding: 60px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.links-rodape { font-size: 0.9rem; font-weight: 700; letter-spacing: 1.5px; }
.links-rodape a { color: var(--branco); text-decoration: none; margin: 0 10px; transition: color 0.3s; }
.links-rodape a:hover { color: var(--laranja-un); }

.redes-sociais { display: flex; gap: 20px; }
.redes-sociais img { width: 32px; height: auto; transition: transform 0.2s; }
.redes-sociais img:hover { transform: scale(1.1); }

.desenvolvido-por { font-size: 1.1rem; font-weight: 300; }
.desenvolvido-por strong { font-weight: 700; }

.por-jdavis a {
    color: var(--laranja-un);
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}
.por-jdavis a:hover { color: var(--branco); text-decoration: underline; }

.copyright-texto { font-size: 0.85rem; font-weight: 300; opacity: 0.7; margin-top: 10px; }

/* ==========================================================================
   AJUSTES PARA DESKTOP
   ========================================================================== */
@media (min-width: 900px) {
    .frase-mista { font-size: 3.5rem; }
    .descricao { max-width: 500px; font-size: 1.3rem; }
    .composicao-ilustrada { max-width: 800px; margin-top: -40px; }
    
    /* Centraliza os containers nos monitores grandes */
    .container-morador, .container-empresario, .container-especialista, .container-proposito {
        align-items: center;
        text-align: center;
    }
    
    /* Centraliza o texto interno dos cards no desktop se quiser */
    .card-laranja, .card-azul {
        text-align: center;
    }
}
/* ==========================================================================
   CARTÃO FLUTUANTE (STICKY CTA)
   ========================================================================== */
.cartao-flutuante {
    position: fixed;           /* Trava o cartão na tela do usuário */
    bottom: 30px;              /* Distância da base do monitor/celular */
    left: 50%;                 /* Começa a alinhar pelo centro */
    transform: translateX(-50%); /* Centraliza perfeitamente no eixo X */
    
    background-color: #FFFFFF;
    padding: 15px 25px;
    border-radius: 50px;       /* Formato de pílula elegante */
    box-shadow: 0 20px 40px rgba(31, 55, 162, 0.25); /* Sombra difusa e profunda */
    z-index: 999;              /* Fica por cima de ABSOLUTAMENTE tudo */
    
    display: flex;
    align-items: center;
    gap: 20px;
    
    /* Animação suave para quando a página carregar */
    animation: surgirDeBaixo 1s ease-out forwards;
}

.texto-flutuante {
    color: #1f37a2;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    display: none; /* Escondemos no mobile para não ocupar muita tela */
}

.grupo-botoes-flutuantes {
    display: flex;
    gap: 15px;
}

/* Botão Secundário (Cadastre-se) */
.btn-flutuante-secundario {
    color: #1f37a2;
    background-color: transparent;
    border: 10px solid #1f37a2;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.3s;
}
.btn-flutuante-secundario:hover {
    background-color: #1f37a2;
    color: #FFFFFF;
}

/* Botão Primário (Comece Imediatamente) */
.btn-flutuante-primario {
    background-color: #fd6533;
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(253, 101, 51, 0.3);
    transition: 0.3s;
}
.btn-flutuante-primario:hover {
    transform: scale(1.05);
}

/* Keyframe para a animação de entrada */
@keyframes surgirDeBaixo {
    0% { transform: translate(-50%, 100px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

/* Ajustes para Desktop */
@media (min-width: 900px) {
    .texto-flutuante {
        display: block; /* Mostra a frase motivacional no desktop */
    }
    .cartao-flutuante {
        padding: 15px 30px;
        bottom: 40px;
    }
}
/* --- MODAL DE COOKIES (ESTILO INTERRUPÇÃO) --- */
.cookie-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(31, 55, 162, 0.8); /* Azul principal com transparência */
    display: none; /* Escondido por padrão */
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px); /* Efeito de desfoque no fundo */
}

.cookie-container {
    background: var(--branco);
    padding: 50px;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    border-top: 10px solid var(--laranja-un);
}

.cookie-container h2 {
    color: var(--azul-principal);
    margin-bottom: 20px;
    font-size: 2rem;
}

.cookie-container p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.cookie-container.mostrar { display: flex; } /* Para ativar via JS */

.btn-cookie {
    width: 100%;
    padding: 20px;
    font-size: 1.2rem;
}

/* --- PÁGINA DE TERMOS (REVITALIZADA) --- */
.conteudo-termos { 
    padding: 100px 24px; 
    background: #fdfdfd; 
    min-height: 100vh; 
    display: flex; 
    justify-content: center; 
}

.secao-texto-legal { 
    max-width: 850px; 
    width: 100%; 
}

.secao-texto-legal h1 { 
    color: var(--azul-principal); 
    font-size: 3rem; 
    font-weight: 800; 
    margin-bottom: 20px; 
    letter-spacing: -1px;
}

.data-atualizacao { 
    color: var(--texto-cinza); 
    font-size: 1.1rem;
    margin-bottom: 60px; 
    font-weight: 400;
}

.bloco-legal {
    margin-bottom: 50px; /* Espaço generoso entre os tópicos */
}

.texto-legal h3 { 
    color: var(--azul-principal); 
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px; 
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.texto-legal p { 
    line-height: 1.8; /* Aumenta o respiro entre as linhas */
    color: #444; 
    margin-bottom: 25px; 
    font-size: 1.1rem;
    text-align: justify; /* Visual mais formal para documentos */
}

.texto-legal ul {
    margin-left: 20px;
    margin-bottom: 30px;
}

.texto-legal li {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444;
    font-size: 1.1rem;
}

.botoes-termos {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}