/* ==========================================================================
   Página de Redirecionamento — Masterclass Lead.IA
   Design System: void escuro + azul elétrico + verde neon + glass + grain
   ========================================================================== */

:root {
    --bg-color: #050508;
    --bg-deep: #030305;
    --text-color: #ffffff;
    --primary-blue: #0088ff;
    --primary-green: #00ff88;
    --accent-red: #ff3b30;
    --text-muted: #a0aec0;
    --glass-bg: rgba(15, 20, 30, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-drama: 'Instrument Serif', serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease-magnetic: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-cine: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
}

.mono { font-family: var(--font-mono); }

::selection { background: rgba(0, 255, 136, 0.25); color: #fff; }

/* ==========================================================================
   Camadas cinematográficas globais
   ========================================================================== */

.cinema-grain {
    position: fixed; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: 200;
    animation: grainShift 0.9s steps(3) infinite;
}

@keyframes grainShift {
    0% { transform: translate(0, 0); }
    33% { transform: translate(-2%, 1%); }
    66% { transform: translate(1%, -2%); }
    100% { transform: translate(0, 0); }
}

.cinema-vignette {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
    z-index: 150;
}

.background-effects {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.3;
    animation: floatOrb 14s infinite alternate ease-in-out;
    will-change: transform;
}

.orb-blue {
    width: 620px; height: 620px;
    background: radial-gradient(circle, var(--primary-blue) 0%, rgba(0,136,255,0) 70%);
    top: -160px; left: -160px;
}

.orb-green {
    width: 520px; height: 520px;
    background: radial-gradient(circle, var(--primary-green) 0%, rgba(0,255,136,0) 70%);
    bottom: -120px; right: -120px;
    animation-delay: -6s;
}

.orb-deep {
    width: 700px; height: 700px;
    background: radial-gradient(circle, #1a2f80 0%, rgba(26,47,128,0) 70%);
    top: 40%; left: 50%;
    opacity: 0.22;
    animation-delay: -3s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(70px, 45px) scale(1.12); }
}

.bg-grid {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0.8), transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, rgba(0,0,0,0.8), transparent 70%);
}

/* Cortina de abertura */
.curtain {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    background: var(--bg-deep);
    z-index: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}

.curtain-logo {
    height: 180px;
    max-width: 78vw;
    object-fit: contain;
    filter: drop-shadow(0 0 34px rgba(0, 136, 255, 0.45));
}

/* Barra de progresso de scroll */
.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 300;
    background: rgba(255, 255, 255, 0.04);
}

.scroll-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
}

/* ==========================================================================
   Faixa de topo
   ========================================================================== */

.topbar {
    position: relative;
    z-index: 20;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    overflow: hidden;
}

.topbar::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 160px;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.06), transparent);
    animation: topbarSweep 5s infinite var(--ease-cine);
}

@keyframes topbarSweep {
    0% { left: -200px; }
    45%, 100% { left: 110%; }
}

.topbar-icon { font-size: 0.85rem; }

.topbar-text {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #fff;
    text-align: center;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;
    z-index: 10;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 6vw 90px;
}

.hero-inner {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;
}

/* Título */
.hero-title {
    font-family: var(--font-title);
    line-height: 1.02;
    margin-bottom: 32px;
}

.line-mask {
    display: block;
    overflow: hidden;
    padding-bottom: 0.12em;
}

/* Visível por padrão; o GSAP esconde e revela (fallback seguro sem JS/CDN) */
.hero-title .line {
    display: block;
}

#h1-line-1 {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -1px;
    color: rgba(255, 255, 255, 0.9);
}

.line-drama {
    font-size: clamp(3.2rem, 6.8vw, 6rem);
    font-weight: 900;
    letter-spacing: -2.5px;
    background: linear-gradient(120deg, var(--primary-blue) 0%, var(--primary-green) 55%, var(--primary-blue) 110%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientDrift 7s ease-in-out infinite alternate;
    filter: drop-shadow(0 4px 24px rgba(0, 255, 136, 0.12));
}

.line-drama em {
    font-family: var(--font-drama);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -1px;
}

@keyframes gradientDrift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.hero-question {
    font-family: var(--font-title);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 500;
    line-height: 1.4;
    color: #e2e8f0;
    max-width: 640px;
    margin-bottom: 24px;
}

.hero-question strong {
    color: #fff;
    font-weight: 700;
    background: linear-gradient(transparent 62%, rgba(255, 59, 48, 0.28) 62%);
}

.hero-sub {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 26px;
}

.hero-sub strong.money {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--primary-green);
    text-shadow: 0 0 18px rgba(0, 255, 136, 0.35);
    white-space: nowrap;
}

.hero-support {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #cbd5e0;
    max-width: 600px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 14px 22px;
    backdrop-filter: blur(12px);
    margin-bottom: 34px;
}

.live-dot {
    flex-shrink: 0;
    width: 9px; height: 9px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--accent-red);
    box-shadow: 0 0 10px var(--accent-red);
    animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
}

/* Botão CTA — magnético */
.cta-block { margin-bottom: 34px; }

.btn-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: clamp(0.9rem, 1.15vw, 1.05rem);
    letter-spacing: 0.5px;
    color: #001408;
    text-decoration: none;
    padding: 20px 38px;
    border-radius: 3rem;
    background: var(--primary-green);
    box-shadow: 0 12px 40px rgba(0, 255, 136, 0.35), inset 0 1px 0 rgba(255,255,255,0.35);
    transition: transform 0.35s var(--ease-magnetic), box-shadow 0.35s var(--ease-magnetic);
    will-change: transform;
}

.btn-cta .btn-bg {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(120deg, var(--primary-blue), var(--primary-green) 60%);
    transform: translateX(-101%);
    transition: transform 0.45s var(--ease-magnetic);
    z-index: 0;
}

.btn-cta:hover { transform: scale(1.03); box-shadow: 0 18px 55px rgba(0, 255, 136, 0.5); }
.btn-cta:hover .btn-bg { transform: translateX(0); }
.btn-cta:active { transform: scale(0.99); }

.btn-cta .btn-label, .btn-cta .btn-arrow { position: relative; z-index: 1; }

.btn-arrow { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.35s var(--ease-magnetic); }
.btn-cta:hover .btn-arrow { transform: translateX(5px); }

/* brilho varrendo o botão */
.btn-cta::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 60px;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-20deg);
    animation: btnShine 3.6s infinite var(--ease-cine);
    z-index: 2;
    pointer-events: none;
}

@keyframes btnShine {
    0% { left: -90px; }
    40%, 100% { left: 115%; }
}

.cta-footnote {
    margin-top: 14px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 520px;
    line-height: 1.55;
}

/* Countdown */
.countdown {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
}

.countdown-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-green);
}

.countdown-digits {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cd-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 10px 14px;
    min-width: 62px;
    backdrop-filter: blur(10px);
}

.cd-num {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1.5rem;
    color: #fff;
}

.cd-unit {
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cd-sep {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    color: rgba(255,255,255,0.25);
    padding-top: 12px;
}

/* ==========================================================================
   Artefato: celular apitando
   ========================================================================== */

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.phone-halo {
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.18) 0%, transparent 65%);
    filter: blur(30px);
    animation: haloBreathe 5s infinite alternate ease-in-out;
}

@keyframes haloBreathe {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.15); opacity: 1; }
}

.phone {
    position: relative;
    width: min(330px, 84vw);
    border-radius: 2.6rem;
    background: linear-gradient(160deg, #0d1119 0%, #070a10 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.65),
        0 0 0 8px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 20px 16px 16px;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: phoneFloat 7s infinite alternate ease-in-out;
}

@keyframes phoneFloat {
    0% { transform: translateY(0) rotateZ(-1deg); }
    100% { transform: translateY(-16px) rotateZ(1deg); }
}

.phone-notch {
    width: 110px; height: 22px;
    background: #000;
    border-radius: 0 0 16px 16px;
    margin: -20px auto 14px;
}

.phone-header { margin-bottom: 14px; }

.phone-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.phone-app {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.05rem;
}

.phone-clock {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.phone-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent-red);
    letter-spacing: 0.4px;
}

.status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-red);
    box-shadow: 0 0 8px var(--accent-red);
    animation: pulseDot 1.2s infinite;
}

.phone-feed {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 342px;
    overflow: hidden;
}

.chat-row {
    display: flex;
    align-items: center;
    gap: 11px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 10px 12px;
    flex-shrink: 0;
}

.chat-avatar {
    width: 38px; height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.chat-body { flex: 1; min-width: 0; }

.chat-name {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 2px;
}

.chat-time {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--accent-red);
    flex-shrink: 0;
}

.chat-preview {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-badge {
    flex-shrink: 0;
    min-width: 20px; height: 20px;
    border-radius: 10px;
    background: var(--primary-green);
    color: #001408;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.68rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 6px;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.45);
}

.phone-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.phone-closed {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.4px;
}

.phone-caption {
    margin-top: 26px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.4px;
}

/* ==========================================================================
   Seção Bastidores — Sticky Stacking
   ========================================================================== */

.discover {
    position: relative;
    z-index: 10;
    padding: 140px 6vw 120px;
}

.section-head {
    max-width: 1000px;
    margin: 0 auto 90px;
    text-align: center;
}

.kicker {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--primary-blue);
    border: 1px solid rgba(0, 136, 255, 0.3);
    background: rgba(0, 136, 255, 0.08);
    border-radius: 3rem;
    padding: 8px 20px;
    margin-bottom: 28px;
}

.discover-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.discover-title em,
.final-title em,
.accent-serif {
    font-family: var(--font-drama);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(120deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.discover-title .word {
    display: inline-block;
    will-change: transform, opacity;
}

/* Cards empilhando */
.stack-wrap {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12vh;
}

.stack-card {
    position: sticky;
    top: 9vh;
    will-change: transform, filter, opacity;
}

.stack-card-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    min-height: 72vh;
    /* Fundo opaco: impede o texto do card anterior de vazar durante o empilhamento */
    background: linear-gradient(155deg, #121824 0%, #080b12 100%);
    border: 1px solid var(--glass-border);
    border-radius: 3rem;
    padding: clamp(36px, 5vw, 80px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.stack-card-inner::before {
    content: '';
    position: absolute;
    top: -180px; right: -180px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.stack-num {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary-green);
    letter-spacing: 4px;
    border: 1px solid rgba(0, 255, 136, 0.25);
    background: rgba(0, 255, 136, 0.07);
    border-radius: 3rem;
    padding: 7px 18px;
    margin-bottom: 26px;
}

.stack-text h3 {
    font-family: var(--font-title);
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 22px;
}

.stack-text p {
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 540px;
}

.stack-text p strong { color: #fff; font-weight: 600; }

/* Artefatos visuais dos cards */
.stack-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.artifact {
    position: relative;
    background: rgba(5, 7, 12, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 20px 50px rgba(0,0,0,0.4);
}

.artifact-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.75);
}

.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    animation: pulseDot 1.4s infinite;
}
.pulse-dot.red { background: var(--accent-red); box-shadow: 0 0 9px var(--accent-red); }
.pulse-dot.blue { background: var(--primary-blue); box-shadow: 0 0 9px var(--primary-blue); }
.pulse-dot.green { background: var(--primary-green); box-shadow: 0 0 9px var(--primary-green); }

/* 01 — Relógio dos 5 minutos
   width + height explícitos (em vez de aspect-ratio) e SVG dimensionado com
   width/height (em vez de inset): garante o enquadramento correto também em
   navegadores antigos / in-app (WhatsApp), que não suportam aspect-ratio/inset. */
.clock-artifact {
    position: relative;
    width: min(280px, 72vw);
    height: min(280px, 72vw);
    padding: 26px;
}

.clock-svg {
    position: absolute;
    top: 26px;
    left: 26px;
    width: calc(100% - 52px);
    height: calc(100% - 52px);
    transform: rotate(-90deg);
}

.clock-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.07);
    stroke-width: 7;
}

.clock-ring {
    fill: none;
    stroke: var(--primary-green);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 540.35;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5));
}

.clock-ring.danger {
    stroke: var(--accent-red);
    filter: drop-shadow(0 0 10px rgba(255, 59, 48, 0.6));
}

.clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 1;
}

.clock-time {
    font-size: 3rem;
    font-weight: 600;
    color: #fff;
}

.clock-time.danger { color: var(--accent-red); text-shadow: 0 0 20px rgba(255,59,48,0.5); }

.clock-sub {
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* 02 — Funil vazando */
.funnel-artifact {
    width: min(300px, 70vw);
    padding: 26px 20px 20px;
}

.funnel-svg { width: 100%; height: auto; display: block; }

.funnel-outline {
    fill: rgba(0, 136, 255, 0.04);
    stroke: rgba(0, 136, 255, 0.45);
    stroke-width: 1.6;
}

.funnel-dot { fill: var(--primary-blue); }
.funnel-dot.leak { fill: var(--accent-red); }
.funnel-dot.win { fill: var(--primary-green); }

.funnel-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 0.62rem;
    letter-spacing: 1px;
}

.funnel-in { color: var(--primary-blue); }
.funnel-out { color: var(--accent-red); }

/* 03 — Waveform 24/7 */
.wave-artifact {
    width: min(340px, 74vw);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wave-header, .wave-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.64rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.wave-status { display: inline-flex; align-items: center; gap: 7px; color: var(--primary-green); }

.wave-svg { width: 100%; height: 90px; }

.wave-path {
    fill: none;
    stroke: var(--primary-green);
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.5));
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: waveDraw 3.5s linear infinite;
}

@keyframes waveDraw {
    0% { stroke-dashoffset: 900; opacity: 1; }
    75% { stroke-dashoffset: 0; opacity: 1; }
    92% { opacity: 0.2; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

.moon { color: var(--primary-blue); }

/* ==========================================================================
   CTA Final
   ========================================================================== */

.final-cta {
    position: relative;
    z-index: 10;
    padding: 160px 6vw 150px;
    text-align: center;
    overflow: hidden;
}

.final-spotlight {
    position: absolute;
    top: -30%; left: 50%;
    transform: translateX(-50%);
    width: 1100px; height: 900px;
    background: radial-gradient(ellipse at top, rgba(0, 136, 255, 0.14) 0%, rgba(0, 255, 136, 0.05) 40%, transparent 70%);
    pointer-events: none;
}

.final-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
}

.final-logo {
    height: 140px;
    max-width: 80vw;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 136, 255, 0.4));
}

.final-title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
}

.btn-cta-xl {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    padding: 24px 52px;
    margin-top: 8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    position: relative;
    z-index: 10;
    background: var(--bg-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4rem 4rem 0 0;
    padding: 48px 6vw;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo { height: 44px; opacity: 0.85; }

.footer-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Responsividade
   ========================================================================== */

/* Notebooks de tela baixa (1366×768 etc.): hero compacto para manter
   headline + CTA + countdown acima da dobra */
@media (min-width: 1025px) and (max-height: 900px) {
    .hero { padding: 40px 6vw 60px; }
    #h1-line-1 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
    .line-drama { font-size: clamp(2.6rem, 4.9vw, 4.6rem); letter-spacing: -2px; }
    .hero-title { margin-bottom: 22px; }
    .hero-question { font-size: clamp(1.1rem, 1.6vw, 1.35rem); margin-bottom: 16px; }
    .hero-sub { font-size: 1rem; margin-bottom: 18px; }
    .hero-support { font-size: 0.9rem; padding: 11px 18px; margin-bottom: 24px; }
    .cta-block { margin-bottom: 24px; }
    .btn-cta { padding: 17px 32px; }
    .cta-footnote { margin-top: 10px; font-size: 0.8rem; }
    .cd-cell { padding: 8px 12px; min-width: 56px; }
    .cd-num { font-size: 1.25rem; }
    .phone { width: min(300px, 80vw); }
    .phone-feed { height: 296px; }
}

@media (max-width: 1024px) {
    .hero { padding-top: 40px; }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual { order: 2; }

    .stack-card-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: 0;
        padding: 40px 28px;
    }

    .stack-visual { order: 2; }

    .stack-card { position: static; }

    .stack-wrap { gap: 40px; }
}

@media (max-width: 560px) {
    .topbar-text { font-size: 0.62rem; letter-spacing: 1.8px; }

    .btn-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 18px 22px;
        font-size: 0.82rem;
    }

    .countdown-digits { gap: 6px; }
    .cd-cell { min-width: 54px; padding: 8px 10px; }
    .cd-num { font-size: 1.2rem; }

    /* Relógio: anel um pouco menor deixa margem confortável dentro do card
       (evita a sensação de "apertado/mal enquadrado" em telas estreitas) */
    .clock-artifact { width: min(240px, 66vw); height: min(240px, 66vw); padding: 22px; }
    .clock-svg { top: 22px; left: 22px; width: calc(100% - 44px); height: calc(100% - 44px); }
    .clock-time { font-size: 2.4rem; }

    .phone-feed { height: 300px; }

    .footer { border-radius: 2.4rem 2.4rem 0 0; }
    .footer-inner { justify-content: center; text-align: center; }
}

/* Acessibilidade: reduz movimento global (grain, flutuações, brilhos).
   Os artefatos narrativos pequenos (relógio, funil, waveform) continuam,
   pois são contidos e essenciais à história. */
@media (prefers-reduced-motion: reduce) {
    .cinema-grain, .glow-orb, .phone,
    .btn-cta::after, .topbar::after { animation: none !important; }
}
