/* =========================================
   VARIÁVEIS E CONFIGURAÇÕES GLOBAIS
========================================= */
:root {
    --bg-color: #428033;
    --top-gradient: linear-gradient(90deg, #FFD83A 0%, #7CDB48 100%);
    --font-syne: 'Syne', sans-serif;
    --font-work: 'Work Sans', sans-serif;
    --glass-border: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    background-color: var(--bg-color);
    font-family: var(--font-work);
    color: #FFFFFF;
    overscroll-behavior: none;
    transition: background-color 0.6s ease;
}

/* =========================================
   ESTRUTURA BASE
========================================= */
.top-bar {
    width: 100%;
    height: 8px;
    background: var(--top-gradient);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

/* =========================================
   SESSÃO 1: HERO
========================================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.logo { height: 36px; }

.tooltip-container {
    margin-top: 10px;
    opacity: 1;
    animation: fadeInTooltip 0.6s ease-out backwards 0.5s;
}

.tooltip-img { height: 39px; }

@keyframes fadeInTooltip {
    0% { opacity: 0; transform: translateY(-10px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulseTooltip {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(0) scale(1.1); opacity: 1; }
}

.social-proof {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.15);
    padding: 4px 12px 4px 4px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.avatars { height: 24px; margin-right: 10px; }
.downloads-text { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; }

.main-title {
    font-family: var(--font-syne);
    font-weight: 800;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    text-transform: uppercase;
    opacity: 0; 
    animation: fadeInAlpha 1.2s ease-in-out forwards;
}

@keyframes fadeInAlpha {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 600px;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cta-buttons-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #FFFFFF;
    color: #1A1A1A;
    border: none;
    padding: 14px 22px;
    border-radius: 12px;
    font-family: var(--font-work);
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-icon { font-size: 1.2rem; color: #645518; }

.cta-helper {
    font-size: 0.85rem;
    text-align: center;
    color: #c9e0a5;
    line-height: 1.3;
    margin-top: 5px;
}

/* Glassmorphism Cards */
.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15); 
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: max-content;
    z-index: 1; 
    transition: transform 0.1s ease-out; 
}

.card-date {
    background: #FFFFFF;
    color: #1A1A1A;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}
.card-date .day { font-size: 0.75rem; color: #E63946; font-weight: 700; }
.card-date .number { font-size: 1.5rem; font-weight: 600; line-height: 1; }

.card-info { font-size: 0.85rem; line-height: 1.4; }
.card-info .time { opacity: 0.8; }
.card-info .location { opacity: 0.6; font-size: 0.75rem; }

.badge { position: absolute; top: 15px; right: 15px; font-size: 0.7rem; opacity: 0.5; }

.card-1 { top: 20%; left: 10%; }
.card-2 { top: 40%; right: 10%; }
.card-3 { bottom: 20%; left: 2%; }

/* =========================================
   SESSÃO 2: COMO FUNCIONA O CALENDÁRIO
========================================= */
.how-it-works {
    position: relative;
    width: 100%;
    min-height: 60vh; 
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: flex-start; 
    padding: 80px 20px 100px 20px; 
    overflow-x: hidden; 
    z-index: 1;
}

.how-wrapper {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section-title {
    font-family: var(--font-syne);
    font-size: 32px; 
    color: #FFD83A;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.step-card {
    background-color: #F8D964; 
    border-radius: 20px;
    padding: 40px 30px;
    color: #594D18; 
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.25);
    border-bottom-left-radius: 100%;
    z-index: 0;
}

.step-number {
    font-family: var(--font-syne);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: #594D18;
}

.step-title {
    font-family: var(--font-work);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.step-text {
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* =========================================
   IMAGEM PARALLAX (ENTRE SESSÃO 2 E 3)
========================================= */
.parallax-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0; 
    z-index: 2; 
}

.parallax-tela {
    position: relative; 
    margin-bottom: -150px; 
    width: 95vw; 
    max-width: 1920px; 
    will-change: transform;
    transition: transform 0.1s ease-out; 
}

/* =========================================
   SESSÃO 3: FAQ
========================================= */
.faq-section {
    position: relative;
    width: 100%;
    padding: 220px 20px 80px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    
    background-color: #234A0E;
    z-index: 3; 
}

.faq-wrapper {
    max-width: 1200px;
    width: 100%;
    display: flex;
    gap: 80px;
}

.faq-left {
    flex: 1;
    max-width: 500px;
}

.faq-title {
    font-family: var(--font-syne);
    font-size: 32px; 
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 1.2;
    position: sticky;
    top: 100px; 
}

.faq-right {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    color: #FFFFFF;
    font-family: var(--font-work);
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: #FFD83A;
}

.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-left: 15px;
    transition: background-color 0.3s ease;
}

.accordion-item.active .icon-circle {
    background-color: rgba(255, 255, 255, 0.25);
}

.icon-circle i {
    font-size: 0.9rem;
    color: #FFFFFF;
}

.accordion-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

.accordion-content {
    overflow: hidden;
}

.accordion-content-inner {
    padding-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85); 
}

.accordion-item.active .accordion-body {
    grid-template-rows: 1fr;
}

/* =========================================
   SESSÃO 4: FINAL CTA & LETREIRO MARQUEE
========================================= */
.final-cta {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
    
    background-color: #162C0A;
    z-index: 3;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 80px; 
}

.marquee-text {
    font-family: var(--font-syne);
    font-size: clamp(4rem, 15vw, 12rem); 
    color: #FFD83D; 
    text-transform: uppercase;
    white-space: nowrap;
    width: max-content; 
    font-weight: 800;
    will-change: transform;
    transform: translateX(100vw); 
}

.final-buttons {
    margin-bottom: auto; 
    position: relative;
    z-index: 2;
}

.footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 40px 5%;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: auto;
}

/* =========================================
   RESPONSIVIDADE (MOBILE)
========================================= */
@media (max-width: 768px) {
    .top-bar {
        height: 4px;
    }

    .hero {
        display: flex;
        align-items: flex-start; 
        justify-content: center;
        padding: 35px 20px 0 20px; 
        height: auto; 
        max-height: none;
        min-height: auto;
    }

    .content-wrapper {
        width: 100%;
        padding: 0;
    }

    .logo { height: 26px; }
    .tooltip-img { height: 30px; }
    .header-logo { margin-bottom: 20px; }

    .glass-card {
        display: none !important;
    }

    .main-title {
        font-size: clamp(2.1rem, 8.5vw, 3.4rem);
        margin-bottom: 15px;
    }
    
    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
        padding: 0;
    }
    
    .cta-container { 
        width: 100%;
        gap: 10px;
    }

    .cta-buttons-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .cta-btn {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }
    
    .cta-helper { 
        font-size: 0.75rem;
        margin-top: 5px;
    }

    /* --- SESSÃO 2 MOBILE --- */
    .how-it-works {
        padding: 80px 0 60px 0; 
        min-height: auto; 
    }

    .section-title {
        padding: 0 20px; 
        margin-bottom: 20px;
        font-size: 24px; 
    }

    .steps-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 20px; 
        padding-bottom: 30px; 
        padding-left: 20px; 
        padding-right: 20px; 
        
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .steps-container::-webkit-scrollbar {
        display: none; 
    }

    .step-card {
        flex: 0 0 85%; 
        scroll-snap-align: start; 
        margin-right: 15px; 
    }

    .step-card:last-child {
        margin-right: 0; 
    }
    
    /* --- IMAGEM MOBILE (SEM PARALLAX, FULL LARGURA, SEM MARGEM) --- */
    .parallax-image-wrapper {
        display: block; 
        width: 100%;
        margin: 0;
        padding: 0;
        line-height: 0; 
    }
    
    .parallax-tela {
        position: static; 
        width: 100%; 
        max-width: 100%;
        margin: 0;
        transform: none !important; 
        transition: none;
    }

    /* --- SESSÃO 3 MOBILE --- */
    .faq-section {
        padding: 60px 20px 80px 20px; 
    }

    .faq-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .faq-left {
        max-width: 100%;
    }

    .faq-title {
        position: relative;
        top: 0;
        font-size: 24px; 
    }

    .accordion-header {
        font-size: 1.05rem;
    }

    /* --- SESSÃO 4 MOBILE --- */
    .final-cta {
        padding-top: 80px;
        min-height: 80vh;
    }

    .marquee-container {
        margin-bottom: 50px;
    }

    .marquee-text {
        font-size: clamp(3rem, 15vw, 6rem);
    }
    
    .final-buttons {
        width: 100%;
        padding: 0 16px; 
    }

    .footer {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 30px 5%;
        text-align: center;
    }
}