/* --- GERAL E VARIÁVEIS --- */
:root {
    --color-black: #0D0D0D;
    --color-gold: #f9b410;
    --color-white: #ffffff;
    --color-text: #c2c2c2;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --container-width: 1140px;
    --border-radius-main: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-text); line-height: 1.9; background-color: var(--color-black); }
main { position: relative; z-index: 2; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.position-relative { position: relative; }

/* --- FUNDO AURORA DINÂMICO --- */
.aurora-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.aurora-shape { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0; transition: transform 3s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s ease-in-out; }
body.loaded .aurora-shape { opacity: 0.5; }
.aurora-shape.shape1 { width: 450px; height: 450px; background: rgba(249, 180, 16, 0.3); top: 10vh; left: 10vw; }
.aurora-shape.shape2 { width: 500px; height: 500px; background: rgba(249, 180, 16, 0.15); bottom: 10vh; right: 10vw; }
.aurora-shape.shape3 { width: 350px; height: 350px; background: rgba(255, 255, 255, 0.1); top: 50vh; left: 40vw; }

/* --- GERAIS --- */
.section-padding { padding: 8rem 0; }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title span { display: block; font-weight: 700; color: var(--color-gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.section-title h2 { font-family: var(--font-heading); font-size: 3.5rem; color: var(--color-white); line-height: 1.2; }
.section-title p { max-width: 600px; margin: 1rem auto 0; color: var(--color-text); }
.button-primary { display: inline-block; background: linear-gradient(145deg, var(--color-gold), #e0a20a); color: var(--color-black); padding: 1.2rem 3rem; font-weight: 700; text-decoration: none; border-radius: 50px; transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s; border: none; cursor: pointer; font-size: 1rem; }
.magnetic-button-wrapper { transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1); }
.button-primary:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(249, 180, 16, 0.25); }
.anim-fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.anim-fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- CABEÇALHO --- */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1.5rem 0; background: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.1); transition: background-color 0.4s; }
.header.scrolled { background: rgba(13, 13, 13, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--color-white); }
.nav a { color: var(--color-white); text-decoration: none; margin-left: 2rem; font-weight: 500; transition: color 0.3s; }
.nav a:hover { color: var(--color-gold); }
.nav-button { background-color: var(--color-gold); color: var(--color-black); padding: 0.6rem 1.2rem; border-radius: 50px; }

/* --- SEÇÃO HERÓI --- */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--color-white); }
.hero-content { max-width: 800px; }
.hero-title { font-family: var(--font-heading); font-size: 5rem; line-height: 1.1; margin-bottom: 1.5rem; text-shadow: 0 5px 25px rgba(0,0,0,0.5); }
.hero-title span { display: block; }
.hero p { font-size: 1.2rem; margin: 0 auto 2.5rem; color: var(--color-text); }
@keyframes revealUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.reveal-text { display: inline-block; overflow: hidden; }
.reveal-text > span { display: block; transform: translateY(110%); animation: revealUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-title span.reveal-text:nth-child(1) > span { animation-delay: 0.2s; }
.hero-title span.reveal-text:nth-child(2) > span { animation-delay: 0.4s; }
.hero-title span.reveal-text:nth-child(3) > span { animation-delay: 0.6s; }
.fade-in-hero { opacity: 0; animation: fadeIn 1.2s ease-out forwards; animation-delay: 1.2s; }

/* --- ÍCONES DECORATIVOS PULSANTES --- */
.decorative-icon { position: absolute; z-index: 0; opacity: 0.08; animation: pulseGlow 4s infinite ease-in-out; }
.decorative-icon img { width: 250px; height: auto; filter: drop-shadow(0 0 10px rgba(249, 180, 16, 0.2)); }
.decorative-icon.top-left { top: -50px; left: -50px; }
.decorative-icon.bottom-right { bottom: -50px; right: -50px; animation-delay: 1s; }
@keyframes pulseGlow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(249, 180, 16, 0.1)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(249, 180, 16, 0.4)); }
}

/* --- CARDS GERAIS (EFEITO VIDRO) --- */
.feature-card, .scenario-card, .flow-card, .form-container, .process-content, .advantage-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-main);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s, background-color 0.4s, border-color 0.4s;
}
.feature-card:hover, .scenario-card:hover, .flow-card:hover, .advantage-card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.2); }
.card-border { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: var(--border-radius-main); background: radial-gradient(300px circle at var(--mouse-x) var(--mouse-y), rgba(249, 180, 16, 0.2), transparent 40%); z-index: 2; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.feature-card:hover .card-border, .scenario-card:hover .card-border, .flow-card:hover .card-border, .advantage-card:hover .card-border { opacity: 1; }
.feature-card h3, .scenario-card h4, .flow-card h3, .advantage-card h3 { color: var(--color-white); font-family: var(--font-heading); font-size: 1.6rem; }

/* --- SEÇÕES ESPECÍFICAS --- */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.scenario-card { text-align: center; }
.scenario-desc { font-size: 0.9rem; min-height: 54px; }
.scenario-data { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.scenario-data span { font-size: 0.8rem; text-transform: uppercase; }
.scenario-data strong { display: block; font-size: 2rem; color: var(--color-gold); font-family: var(--font-heading); }
.solution-flow { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.flow-card h3 span { font-weight: 700; color: var(--color-gold); margin-right: 0.5rem; }
.form-container { max-width: 700px; margin: 0 auto; }
.lead-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group input { width: 100%; padding: 1.2rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; font-size: 1rem; background: rgba(255, 255, 255, 0.05); color: var(--color-white); }
.form-group input:focus { outline: none; border-color: var(--color-gold); }
#success-message h3 { color: var(--color-white); }
.footer { padding: 4rem 0; text-align: center; }
.advantage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.advantage-card h3 { margin-bottom: 1rem; display: flex; align-items: center; }
.advantage-card h3::before { content: '✔'; color: var(--color-gold); margin-right: 0.8rem; font-size: 1.2rem; }


/* =================================================================== */
/* --- SEÇÃO PROCESSO (TIMELINE) - DESKTOP --- */
/* =================================================================== */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.process-timeline::after {
    content: '';
    position: absolute;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    top: 15px;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}
.process-step {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 3rem;
}
.process-step:nth-child(odd) {
    left: 0;
}
.process-step:nth-child(even) {
    left: 50%;
}
.process-marker {
    position: absolute;
    width: 12px;
    height: 12px;
    top: 15px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    z-index: 2;
    transition: background-color 0.8s, box-shadow 0.8s;
}
.process-step:nth-child(odd) .process-marker {
    right: -6px;
}
.process-step:nth-child(even) .process-marker {
    left: -6px;
}
.process-marker.active {
    background: var(--color-gold);
    box-shadow: 0 0 10px var(--color-gold), 0 0 20px var(--color-gold);
}
.process-content {
    position: relative;
    z-index: 1;
}
.process-step:nth-child(odd) .process-content {
    text-align: right;
}
.process-content h3 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .section-title h2 { font-size: 2.5rem; }
    .hero-title { font-size: 3.5rem; }
    .features-grid, .scenario-grid, .solution-flow, .advantage-grid { grid-template-columns: 1fr; }
    .decorative-icon { display: none; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .nav a:not(.nav-button) { display: none; }
    .section-padding { padding: 4rem 0; }

    /* =================================================================== */
    /* --- TIMELINE MOBILE - CORREÇÃO FINAL DE ESPECIFICIDADE --- */
    /* =================================================================== */
    .process-timeline::after {
        left: 30px;
        transform: none;
    }

    .process-step,
    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        width: 100%;
        left: 0;
        padding: 0;
        margin-bottom: 2rem;
        position: relative; /* Mantém o contexto para o marcador */
    }
    
    /* ESTA É A REGRA-CHAVE:
       Ela é específica o suficiente para anular as regras do desktop
       e garantir que TODOS os marcadores no mobile sigam a mesma lógica. */
    .process-step:nth-child(odd) .process-marker,
    .process-step:nth-child(even) .process-marker {
        top: 18px;
        left: 30px; /* Posição fixa para TODOS os marcadores */
        right: auto; /* Anula o 'right: -6px' do desktop */
        transform: translateX(-50%); /* Centraliza o ponto na linha */
    }

    .process-content {
        padding: 1.5rem;
        margin-left: 60px; /* Cria o espaço para a linha e o ponto */
        text-align: left !important;
    }

    .process-content h3 {
        font-size: 1.6rem;
    }
}