:root {
    --bg-light: #FBEFF0; 
    --bg-dark: #000000;
    --accent: #C4FF0F; 
    --accent-dark: #A5D60D; 
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #F5F5F5;
    --font-main: 'Poppins', sans-serif;
    --border-radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--text-dark); overflow-x: hidden; background-color: var(--bg-light); line-height: 1.6; }

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-light { color: var(--text-light); }
.text-dark { color: var(--text-dark); }
.highlight { color: var(--accent); font-weight: 700; }
.highlight-text { color: #8eb80b; font-weight: 600; text-decoration: none; }
.w-100 { width: 100%; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px; }
section { padding: 70px 0; } /* Padding reduzido para mobile */
@media (min-width: 768px) { section { padding: 100px 0; } }

.section-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 30px; letter-spacing: -1px; text-align: center; }
@media (min-width: 768px) { .section-title { font-size: 2.2rem; margin-bottom: 40px; } }

/* Navbar */
.header { position: fixed; top: 0; width: 100%; padding: 15px 0; background-color: rgba(251, 239, 240, 0.95); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,0.05); z-index: 1000; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { max-width: 100px; }
@media (min-width: 768px) { .logo { max-width: 120px; } }

.navbar { display: flex; gap: 25px; align-items: center; }
.nav-link { color: var(--text-dark); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.nav-link:hover { color: #8eb80b; }
.highlight-link { background: var(--text-dark); color: var(--accent); padding: 8px 16px; border-radius: 50px; font-weight: 600; font-size: 0.85rem; }
@media (min-width: 768px) { .highlight-link { font-size: 0.95rem; } }
.highlight-link:hover { background: var(--text-mid); color: var(--accent); }

@media (max-width: 768px) { .hidden-mobile { display: none; } }

/* Botões */
.btn-primary { background-color: var(--accent); color: var(--text-dark); border: none; padding: 15px 30px; font-size: 1rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(196, 255, 15, 0.2); }
@media (min-width: 768px) { .btn-primary { padding: 18px 36px; font-size: 1.1rem; } }
.btn-primary:hover { background-color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196, 255, 15, 0.3); }
.btn-primary:disabled { background-color: #E0E0E0; color: #A0A0A0; cursor: not-allowed; transform: none; box-shadow: none;}

/* --- HERO RESPONSIVA --- */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fundo padrão (Mobile) */
    background-image: url('/fundo-hero-mobile.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 80px; 
}
@media (min-width: 768px) {
    /* Troca para fundo de Desktop em telas maiores */
    .hero { background-image: url('/fundo-hero.png'); }
}

.hero-wrapper { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero-content { text-align: center; max-width: 800px; display: flex; flex-direction: column; align-items: center; padding: 0 15px; }

.hero-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 15px; line-height: 1.2; letter-spacing: -1px; text-shadow: 0px 4px 20px rgba(255,255,255,0.7); }
.hero-subtitle { font-size: 1rem; color: var(--text-dark); font-weight: 500; margin-bottom: 30px; text-shadow: 0px 2px 10px rgba(255,255,255,0.8); }

@media (min-width: 768px) {
    .hero-title { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; }
    .hero-subtitle { font-size: 1.2rem; margin-bottom: 40px; }
}

/* Cursor de Digitação */
.typing-container::after { content: '|'; color: var(--accent); animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* --- INPUT GROUP INTELIGENTE (Mobile vs Desktop) --- */
.input-group {
    display: flex;
    flex-direction: column; /* Empilha no mobile por padrão */
    width: 100%;
    max-width: 550px;
    gap: 10px;
    margin-bottom: 10px;
}
.input-group input { width: 100%; border: 2px solid transparent; outline: none; padding: 15px 20px; border-radius: 50px; background: #FFF; font-family: var(--font-main); font-size: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: border-color 0.3s;}
.input-group .btn-primary { width: 100%; border-radius: 50px; padding: 15px 20px; }
.input-group.error input { border-color: #FF4D4D; animation: shake 0.4s; }

/* Comportamento Desktop: Fica tudo em uma linha (pílula) */
@media (min-width: 768px) {
    .input-group {
        flex-direction: row;
        background: #FFF;
        border-radius: 50px;
        padding: 6px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        gap: 0;
        border: 2px solid transparent;
    }
    .input-group input { background: transparent; box-shadow: none; padding: 15px 25px; border-radius: 0; width: auto; flex: 1; }
    .input-group .btn-primary { width: auto; margin: 0; padding: 14px 32px; white-space: nowrap; }
    .input-group.error { border-color: #FF4D4D; animation: shake 0.4s; }
    .input-group.error input { border-color: transparent; animation: none; }
}

.error-msg { color: #FF4D4D; font-size: 0.85rem; font-weight: 600; display: none; text-align: center; width: 100%; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* --- JORNADA PREMIUM --- */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 20px; position: relative; z-index: 1; }
.process-line { display: none; }

@media (min-width: 992px) {
    .process-grid { grid-template-columns: repeat(4, 1fr); }
    .process-line { display: block; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px; background: rgba(255, 255, 255, 0.1); z-index: -1; }
}

.process-card { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 30px 20px; text-align: center; transition: transform 0.3s ease, border-color 0.3s ease; }
@media (min-width: 768px) { .process-card { padding: 40px 30px; } }
.process-card:hover { transform: translateY(-10px); border-color: var(--accent); background: rgba(255, 255, 255, 0.06); }
.process-icon { width: 60px; height: 60px; margin: 0 auto 20px auto; background: #1A1A1A; border: 2px solid var(--accent); color: var(--accent); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; font-weight: 700; box-shadow: 0 0 20px rgba(196, 255, 15, 0.15); }
@media (min-width: 768px) { .process-icon { width: 80px; height: 80px; font-size: 2rem; margin-bottom: 25px;} }
.process-card h3 { font-size: 1.2rem; margin-bottom: 15px; color: #FFF; }
.process-card p { font-size: 0.9rem; color: #B0B0B0; line-height: 1.6; }

/* --- VIDEOS (GRID RESPONSIVO) --- */
.vertical-videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; } /* 2 colunas no mobile */
@media (max-width: 480px) { .vertical-videos { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } } /* 1 coluna em celulares muito pequenos */
@media (min-width: 768px) { .vertical-videos { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.vertical-videos .refined-card { aspect-ratio: 9 / 16; border-radius: 16px; border: 3px solid white; box-shadow: 0 10px 30px rgba(0,0,0,0.08); overflow: hidden; position: relative; }
.video-thumbnail { width: 100%; height: 100%; background: linear-gradient(135deg, #1A1A1A 0%, #333 100%); }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); display: flex; justify-content: center; align-items: center; transition: background 0.3s;}
.refined-card:hover .video-overlay { background: rgba(0,0,0,0.6); }
.play-btn { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(45deg, var(--accent), #9bcf00); border: none; font-size: 1.2rem; animation: pulse-border 2s infinite; cursor: pointer; }
@media (min-width: 768px) { .play-btn { width: 60px; height: 60px; font-size: 1.5rem; } }
.video-info { position: absolute; bottom: 0; width: 100%; padding: 15px 10px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: white; opacity: 0; transform: translateY(10px); transition: all 0.3s; }
.refined-card:hover .video-info { opacity: 1; transform: translateY(0); }
.video-info p { font-size: 0.8rem; line-height: 1.3;}

@keyframes pulse-border { 0% { box-shadow: 0 0 0 0 rgba(196, 255, 15, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(196, 255, 15, 0); } 100% { box-shadow: 0 0 0 0 rgba(196, 255, 15, 0); } }

/* --- DASHBOARD CELULAR --- */
.dashboard-wrapper { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.dashboard-text { flex: 1; text-align: center; }
.dashboard-text p { color: var(--text-mid); font-size: 1rem;}
.dashboard-device { flex: 1; display: flex; justify-content: center; width: 100%; }
@media (min-width: 992px) { .dashboard-wrapper { flex-direction: row; text-align: left; } .dashboard-text { text-align: left; padding-right: 40px; } .dashboard-text p { font-size: 1.1rem; } }

.phone-mockup { width: 100%; max-width: 280px; height: 580px; border: 12px solid #1A1A1A; border-radius: 35px; position: relative; background: #FFF; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
@media (min-width: 768px) { .phone-mockup { max-width: 300px; height: 600px; border: 14px solid #1A1A1A; border-radius: 40px; } }
.notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 20px; background: #1A1A1A; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; z-index: 10; }
.phone-screen { width: 100%; height: 100%; background: var(--bg-light); display: flex; flex-direction: column; }
.mobile-skel { padding: 35px 15px 15px; gap: 15px; } 
.shimmer { background: linear-gradient(120deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.1) 38%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.05) 48%); background-size: 200% 100%; animation: shimmer-effect 2s infinite linear; border-radius: 8px; }
@keyframes shimmer-effect { 100% { background-position: -200% 0; } }

/* --- FAQ --- */
.accordion-item { background: #FFF; margin-bottom: 12px; border-radius: var(--border-radius); box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.accordion-header { width: 100%; padding: 15px 20px; text-align: left; background: none; border: none; font-size: 1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-main); }
@media (min-width: 768px) { .accordion-header { font-size: 1.1rem; padding: 20px; } }
.accordion-content { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; opacity: 0; }
.accordion-item.active .accordion-content { padding: 0 20px 20px; max-height: 400px; opacity: 1; }
.accordion-item.active .fa-chevron-down { transform: rotate(180deg); }
.accordion-content p { color: var(--text-mid); font-size: 0.95rem; }

/* --- FOOTER --- */
.footer { padding: 50px 0 30px; }
.footer-wrapper { display: flex; flex-direction: column; gap: 30px; margin-bottom: 30px; align-items: center; text-align: center; }
@media (min-width: 768px) { .footer-wrapper { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; margin-bottom: 40px; } }
.footer-logo { max-width: 120px; margin-bottom: 10px; }
.footer-sitemap ul { list-style: none; display: flex; flex-direction: column; gap: 15px; }
@media (min-width: 768px) { .footer-sitemap ul { flex-direction: row; gap: 20px; } }
.footer-sitemap a { color: var(--text-dark); text-decoration: none; font-weight: 500; transition: color 0.3s; font-size: 0.95rem; }
.footer-sitemap a:hover { color: #8eb80b; }
.footer-divider { border: none; border-top: 1px solid rgba(0,0,0,0.1); margin-bottom: 20px; }
.footer-legal { display: flex; flex-direction: column; gap: 15px; font-size: 0.75rem; color: var(--text-mid); text-align: center; }
@media (min-width: 768px) { .footer-legal { flex-direction: row; justify-content: space-between; text-align: left; } }
.legal-links { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
@media (min-width: 768px) { .legal-links { flex-direction: row; gap: 15px; } }
.legal-links a { color: var(--text-mid); text-decoration: none; }
.legal-links a:hover { text-decoration: underline; }

/* Modal & WhatsApp */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: center; z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content { background: #fff; padding: 30px 20px; border-radius: 20px; max-width: 500px; width: 90%; position: relative; transform: translateY(20px); transition: transform 0.3s; }
@media (min-width: 768px) { .modal-content { padding: 40px; } }
.modal-overlay.active .modal-content { transform: translateY(0); }
.close-modal { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
.checkbox-group { display: flex; gap: 10px; margin-bottom: 25px; margin-top: 20px; align-items: flex-start; }
.checkbox-group input { margin-top: 4px; }
.whatsapp-btn { position: fixed; bottom: 20px; right: 20px; background: var(--accent); color: var(--text-dark); width: 55px; height: 55px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 1000; transition: transform 0.3s; }
@media (min-width: 768px) { .whatsapp-btn { bottom: 30px; right: 30px; width: 60px; height: 60px; font-size: 2rem; } }
.whatsapp-btn:hover { transform: scale(1.1); }
/* --- Ajuste Mobile: Empurrar conteúdo da Hero para baixo --- */
@media (max-width: 767px) {
    .hero {
        align-items: flex-end; /* Empurra todo o conteúdo para a parte inferior */
        padding-bottom: 40px; /* Dá um respiro para o botão não ficar colado no limite da tela */
    }
}
/* --- HEADER / NAVBAR --- */

/* Padrão para Desktop: Fixa, com fundo translúcido e sombra */
.header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    padding: 15px 0; 
    background-color: rgba(251, 239, 240, 0.95); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); 
    z-index: 1000; 
}

/* Regra apenas para Mobile: Não fixa (absoluta) e totalmente transparente */
@media (max-width: 767px) {
    .header {
        position: absolute; /* Faz ela rolar junto com a página (some ao descer) */
        background-color: transparent; /* Remove a cor de fundo */
        backdrop-filter: none; /* Remove o desfoque */
        box-shadow: none; /* Remove a sombra */
    }
}
/* Regra apenas para Mobile */
@media (max-width: 767px) {
    .header {
        position: absolute; 
        background-color: transparent; 
        backdrop-filter: none; 
        box-shadow: none; 
        padding: 1px 0; /* Puxa o logotipo e o botão mais para o topo */
    }
}
/* --- Link "Acompanhar meu processo" Refinado --- */
.highlight-link { 
    background: transparent; /* Remove o fundo preto */
    color: var(--text-dark); /* Deixa o texto preto */
    text-decoration: underline; /* Adiciona o sublinhado */
    font-weight: 300; /* Fonte fina (Light) ao invés de grossa */
    padding: 0; /* Remove os espaçamentos de botão */
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

/* Efeito ao passar o mouse */
.highlight-link:hover { 
    color: #8eb80b; /* Fica esverdeado como os outros links da navbar */
    background: transparent; 
}
/* Modo Dashboard: esconde links da navbar */
body.dashboard-mode .navbar .nav-link,
body.dashboard-mode .navbar .highlight-link {
    display: none;
}

/* Opcional: ajusta o header para centralizar ou manter apenas o logo */
body.dashboard-mode .header .navbar {
    flex: 1; /* pode ser ajustado conforme necessidade */
}
/* ========================================== */
/* HERO COM SLIDER DE FUNDO (3 IMAGENS)       */
/* ========================================== */

.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;          /* Desktop: centralizado verticalmente */
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    box-sizing: border-box;
}

/* Container dos slides de fundo */
.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Cada slide individual */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
}

/* Imagens padrão (Mobile) */
#hero-slide-1 {
    background-image: url('/fundo-hero-mobile.png');
}
#hero-slide-2 {
    background-image: url('/fundo-hero-mobile-2.png');
}
#hero-slide-3 {
    background-image: url('/fundo-hero-mobile-3.png');
}

/* Imagens para Desktop */
@media (min-width: 768px) {
    #hero-slide-1 {
        background-image: url('/fundo-hero.png');
    }
    #hero-slide-2 {
        background-image: url('/fundo-hero-2.png');
    }
    #hero-slide-3 {
        background-image: url('/fundo-hero-3.png');
    }
}

/* Wrapper do conteúdo (sobrepõe os slides) */
.hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;      /* Desktop: centralizado */
}

.hero-content {
    text-align: center;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
}

/* ===== AJUSTES EXCLUSIVOS PARA MOBILE ===== */
@media (max-width: 767px) {
    .hero {
        align-items: flex-end;        /* Conteúdo vai para a parte de baixo */
        padding-bottom: 50px;         /* Espaço do fundo */
    }
    
    .hero-wrapper {
        justify-content: flex-end;    /* Empurra o conteúdo para baixo */
    }
    
    .hero-content {
        padding-bottom: 10px;         /* Pequeno respiro extra */
    }
}