/* ==========================================================================
   VÍDEO DE MILHÃO · landing
   Conceito: o vídeo vertical. Quadro 9:16 com cara de Reels, cantoneiras de visor, barrinhas de story.
   ========================================================================== */

:root {
    --bg: #0a0a0b;
    --surface: #111113;
    --card: #161618;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .2);
    --text: #f6f3ec;
    --muted: #a19d94;
    --faint: #6f6c65;
    --accent: #ff4d1f;
    --accent-soft: #ff8a5c;
    --accent-ink: #140703;
    --seal-check: #0a0a0b;

    --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
    --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

    --ease: cubic-bezier(.2, .7, .2, 1);
    --gutter: 1.25rem;
    --max: 1180px;
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 1rem/1.6 var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* clip não cria container de rolagem, então o position:sticky do hero continua funcionando */
@supports (overflow: clip) { body { overflow-x: clip; } }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ul { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
    position: fixed; top: .75rem; left: .75rem; z-index: 100;
    padding: .7rem 1rem; border-radius: 8px;
    background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none;
    transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.wrap--mid { --max: 960px; }
.wrap--narrow { --max: 760px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------------ tipografia */

.display {
    font-family: var(--font-display);
    font-weight: 800;
    font-stretch: 75%;
    text-transform: uppercase;
    line-height: .9;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.h-hero { font-size: clamp(3.05rem, 13vw, 7.4rem); }
.h-xl   { font-size: clamp(2.7rem, 9.4vw, 6.2rem); }
.h-lg   { font-size: clamp(2.15rem, 6.4vw, 4.3rem); line-height: .93; }
.h-md   { font-size: clamp(1.75rem, 4.4vw, 3rem); line-height: .95; }

.hl { color: var(--accent); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .7rem;
    font: 500 .7rem/1.2 var(--font-mono);
    letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before {
    content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 77, 31, .18);
}

.lede { font-size: clamp(1.18rem, 2.3vw, 1.5rem); line-height: 1.45; max-width: 36ch; text-wrap: pretty; }
.sub  { color: var(--muted); max-width: 54ch; margin-top: 1.25rem; text-wrap: pretty; }
.note { color: var(--muted); font-size: .9rem; max-width: 46ch; }

/* ------------------------------------------------------------------ botão */

.btn {
    display: inline-flex; align-items: center; justify-content: space-between; gap: 1.1rem;
    padding: .5rem .5rem .5rem 1.6rem;
    border-radius: 999px;
    background: var(--accent); color: var(--accent-ink);
    font: 800 clamp(.88rem, 3.9vw, 1.04rem)/1 var(--font-display); font-stretch: 82%;
    letter-spacing: .01em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
    transition: transform .3s var(--ease), box-shadow .4s var(--ease), background-color .3s;
    -webkit-tap-highlight-color: transparent;
}
.btn__icon {
    display: grid; place-items: center; flex: none;
    width: 2.9rem; height: 2.9rem; border-radius: 50%;
    background: var(--accent-ink); color: var(--accent);
    transition: transform .45s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -20px var(--accent); background: #ff5c31; }
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn:active { transform: scale(.98); }

.btn--sm { font-size: .92rem; padding-left: 1.25rem; gap: .8rem; }
.btn--sm .btn__icon { width: 2.4rem; height: 2.4rem; }
.btn--wide { width: 100%; max-width: 26rem; }

/* ------------------------------------------------------------------ barrinhas de story + topo */

.stories {
    position: fixed; inset: 0 0 auto 0; z-index: 70;
    display: flex; gap: 4px; padding: 8px 12px 0;
    pointer-events: none;
}
.stories__seg { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.stories__seg i {
    display: block; height: 100%; border-radius: inherit; background: var(--text);
    transform: scaleX(var(--f, 0)); transform-origin: left;
}

.topbar {
    position: fixed; inset: 0 0 auto 0; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 20px 14px 30px;
    background: linear-gradient(to bottom, rgba(10, 10, 11, .96) 30%, rgba(10, 10, 11, 0));
    pointer-events: none;
}
.topbar > * { pointer-events: auto; }

.topbar__id { display: flex; align-items: center; gap: .6rem; min-width: 0; text-decoration: none; }
.avatar {
    flex: none; width: 34px; height: 34px; padding: 2px; border-radius: 50%;
    background: conic-gradient(from 200deg, var(--accent), #ffc2a8, var(--accent));
}
.avatar > * {
    display: grid; place-items: center; width: 100%; height: 100%;
    border-radius: 50%; border: 2px solid var(--bg); background: var(--card);
    object-fit: cover; font: 800 .85rem/1 var(--font-display);
}
.topbar__name { display: inline-flex; align-items: center; gap: .3rem; font-size: .86rem; font-weight: 600; }
.topbar__seal { width: 15px; height: 15px; color: var(--accent); }
.topbar__sub { overflow: hidden; color: var(--muted); font-size: .8rem; white-space: nowrap; text-overflow: ellipsis; }
.topbar__sub::before { content: "· "; }

.topbar__cta {
    display: none; padding: .62rem 1.05rem; border-radius: 999px;
    border: 1px solid var(--line-strong); background: rgba(10, 10, 11, .5);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    font: 800 .8rem/1 var(--font-display); font-stretch: 85%; letter-spacing: .03em;
    text-transform: uppercase; text-decoration: none;
    transition: background-color .25s, color .25s, border-color .25s;
}
.topbar__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* conta: "Entrar" / "Minha conta" / "Entrar na plataforma", visível também no celular */
.topbar__nav { flex: none; display: flex; align-items: center; gap: .45rem; }
.topbar__pill {
    display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .85rem; border-radius: 999px;
    border: 1px solid var(--line-strong); background: rgba(10, 10, 11, .5);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    font: 800 .74rem/1 var(--font-display); font-stretch: 85%; letter-spacing: .03em;
    text-transform: uppercase; text-decoration: none; white-space: nowrap;
    transition: background-color .25s, color .25s, border-color .25s;
}
.topbar__pill .icon { width: 14px; height: 14px; }
.topbar__pill:hover { border-color: var(--text); }
.topbar__pill--accent { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.topbar__pill--accent:hover { border-color: #ff5c31; background: #ff5c31; }
/* no celular estreito o rótulo encurta ("Conta", "Plataforma") e o nome do produto some do topo */
.topbar__long { display: none; }
@media (min-width: 520px) {
    .topbar__long { display: inline; }
    .topbar__short { display: none; }
}
@media (max-width: 400px) {
    .topbar__sub { display: none; }
    .topbar__pill { padding: .5rem .7rem; }
}

/* e-mail da conta por confirmar: aviso curto pendurado embaixo do topo (fora do fluxo, não mexe no layout dele) */
.topbar__note {
    position: absolute; top: calc(100% - 24px); left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: .5rem; width: max-content; max-width: calc(100% - 28px);
    padding: .5rem .85rem; border: 1px solid rgba(255, 77, 31, .55); border-radius: 999px;
    background: rgba(20, 7, 3, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    color: var(--text); font-size: .78rem; line-height: 1.25; text-decoration: none;
    animation: note-in .5s var(--ease) .3s both;
}
.topbar__note .icon { width: 15px; height: 15px; color: var(--accent); }
.topbar__note b { color: var(--accent); font-weight: 700; white-space: nowrap; }
.topbar__note:hover { border-color: var(--accent); }

/* ------------------------------------------------------------------ 01 · abertura */

/* celular: foto na tela inteira, rosto em cima e título embaixo. Desktop: foto ancorada à direita (ver media query) */
.opening { position: relative; isolation: isolate; overflow: hidden; }
.opening__photo { position: absolute; inset: 0; z-index: -2; }
.opening__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 12%; }
.motion .opening__photo img { animation: photo-in 1.8s var(--ease) backwards; }
.opening__shade {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to top, var(--bg) 5%, rgba(10, 10, 11, .9) 32%, rgba(10, 10, 11, .15) 60%, rgba(10, 10, 11, .55));
}
.opening__inner {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 1.35rem;
    min-height: 100vh; min-height: 100svh; padding-block: 7rem clamp(2.25rem, 6vh, 4rem);
}
.opening__inner h1 { max-width: 18ch; }
.opening__inner .hl { max-width: 20ch; }
.opening__inner .btn { margin-top: .5rem; }
.opening__inner .hero__hint { margin-top: .4rem; }

/* ------------------------------------------------------------------ 02 · cena do vídeo */

.hero { position: relative; }
.hero__track { height: 185vh; height: 185svh; }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.hero__rail { position: absolute; inset: 0; }
.hero__media { position: absolute; inset: 0; --dim: .62; }

.frame { position: absolute; inset: 0; overflow: hidden; background: #141416; container-type: size; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.frame__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

.frame__art {
    position: absolute; inset: 0; display: grid; place-items: center;
    background:
        radial-gradient(120% 70% at 78% 10%, rgba(255, 77, 31, .6), transparent 62%),
        radial-gradient(90% 60% at 0% 100%, rgba(255, 138, 92, .2), transparent 60%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 16px),
        #151517;
}
.frame__mark {
    font: 800 15rem/1 var(--font-display); font-stretch: 75%; letter-spacing: -.04em;
    font-size: 62cqw;
    color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .2);
    transform: translateY(-16%);
}
.frame__shade {
    position: absolute; inset: 0;
    background: linear-gradient(to top, var(--bg) 4%, rgba(10, 10, 11, .9) 34%, rgba(10, 10, 11, .2) 68%, rgba(10, 10, 11, .5));
}
.frame__dim { position: absolute; inset: 0; background: var(--bg); opacity: calc(var(--p, 0) * var(--dim)); }

/* interface estilo Reels por cima do vídeo.
   No celular o quadro é a tela inteira e o título da página ocupa a parte de baixo, então só entram
   o contador de views, a coluna de ações e o comentário. No desktop o quadro vira um "celular" e entra tudo. */
.reel {
    position: absolute; inset: 0; z-index: 3; color: #fff; pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.3;
}
.reel > * { position: absolute; }
.reel .icon { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.reel b { font-weight: 600; }

.reel__top { top: 72px; left: 14px; right: 14px; display: flex; align-items: center; justify-content: flex-end; }
.reel__title { display: none; margin-right: auto; font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.reel__views {
    display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .7rem; border-radius: 999px;
    background: rgba(0, 0, 0, .5); font-size: .74rem; font-variant-numeric: tabular-nums;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: background-color .4s, color .4s;
}
.reel__views .icon { width: 10px; height: 10px; filter: none; }
.reel__views.is-hit { background: var(--accent); color: var(--accent-ink); animation: hit .6s var(--ease); }

.reel__rail { right: 10px; top: 118px; display: grid; justify-items: center; gap: 1.05rem; pointer-events: auto; }
.reel__act { display: grid; justify-items: center; gap: .22rem; font-size: .7rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .65); }
.reel__act .icon { width: 27px; height: 27px; stroke-width: 2; transition: color .2s, fill .2s; }
.reel__act[data-like] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.reel__act.is-liked .icon { color: #ff3040; fill: #ff3040; animation: like-pop .45s var(--ease); }
.reel__act--send.is-hot .icon { color: var(--accent); }
.reel__disc { width: 27px; height: 27px; overflow: hidden; border: 2px solid #fff; border-radius: 8px; background: var(--card); }
.reel__disc img { width: 100%; height: 100%; object-fit: cover; }

.reel__meta { left: 14px; right: 64px; bottom: 47%; display: grid; gap: .55rem; }
.reel__user, .reel__caption, .reel__audio, .reel__progress { display: none; }

/* um comentário por vez (landing.js faz o rodízio) */
.reel__comments { position: relative; height: 24px; }
.reel__comments li {
    position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: .45rem; max-width: 100%;
    font-size: .8rem; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .75);
    opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s var(--ease);
}
.reel__comments li.is-on { opacity: 1; transform: none; }
.reel__comments li.is-out { transform: translateY(-8px); }
.reel__comments i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c); }
.reel__comments span { overflow: hidden; text-overflow: ellipsis; }

.reel__user { align-items: center; gap: .45rem; font-size: .86rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.reel__avatar {
    flex: none; display: grid; place-items: center; width: 30px; height: 30px; overflow: hidden;
    border: 1.5px solid #fff; border-radius: 50%; background: var(--card); font-size: .8rem; font-weight: 700;
}
.reel__avatar img { width: 100%; height: 100%; object-fit: cover; }
.reel .reel__seal { width: 13px; height: 13px; color: #3b9bff; --seal-check: #fff; filter: none; }
.reel__follow { margin-left: .2rem; padding: .2rem .65rem; border: 1px solid rgba(255, 255, 255, .85); border-radius: 8px; font-size: .76rem; font-weight: 600; }
.reel__caption { font-size: .82rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .65); }
.reel__caption span { color: rgba(255, 255, 255, .7); }
.reel__audio { align-items: center; gap: .4rem; font-size: .76rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .65); }
.reel__audio .icon { width: 12px; height: 12px; }
.reel__audio span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.reel__progress { left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, .28); }
.reel__progress i { display: block; height: 100%; background: #fff; transform: scaleX(var(--v, 0)); transform-origin: left; }
.reel__progress.is-auto i { animation: reel-progress 14s linear infinite; }

/* coração do toque duplo */
.reel__burst { position: absolute; width: 104px; height: 104px; margin: -52px 0 0 -52px; pointer-events: none; animation: burst .95s var(--ease) forwards; }
.reel__burst svg { width: 100%; height: 100%; fill: #fff; stroke: none; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .4)); }

.corner { display: none; position: absolute; width: 26px; height: 26px; border: 2px solid var(--accent); pointer-events: none; }
.corner--tl { top: -14px; left: -14px; border-right: 0; border-bottom: 0; }
.corner--tr { top: -14px; right: -14px; border-left: 0; border-bottom: 0; }
.corner--bl { bottom: -14px; left: -14px; border-right: 0; border-top: 0; }
.corner--br { bottom: -14px; right: -14px; border-left: 0; border-top: 0; }

.hero__stage {
    position: relative; z-index: 4; height: 100%;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding-bottom: clamp(2.25rem, 6vh, 4rem);
    pointer-events: none; /* o palco cobre o quadro inteiro: sem isso o toque duplo no vídeo nunca chegaria nele */
}
.hero__copy { display: grid; gap: 1.15rem; pointer-events: auto; }

.swap__b { margin-top: .3em; }
.swap__lead, .swap__punch { display: block; }

.hero__hint {
    display: none; align-items: center; gap: .4rem;
    font: 500 .66rem/1 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.hero__hint .icon { width: 14px; height: 14px; animation: nudge 1.6s ease-in-out infinite; }

/* cena guiada pelo scroll: --p vai de 0 a 1 enquanto o hero fica preso (landing.js) */
.motion .swap { display: grid; }
.motion .swap > * { grid-area: 1 / 1; align-self: end; }
.motion .swap__b { margin-top: 0; }
.motion .swap__a {
    --k: clamp(0, calc((var(--p, 0) - .1) / .26), 1);
    opacity: calc(1 - var(--k));
    transform: translate3d(0, calc(var(--k) * -32px), 0);
}
.motion .swap__lead {
    --k: clamp(0, calc((var(--p, 0) - .4) / .2), 1);
    opacity: var(--k);
    transform: translate3d(0, calc((1 - var(--k)) * 34px), 0);
}
.motion .swap__punch {
    --k: clamp(0, calc((var(--p, 0) - .56) / .22), 1);
    opacity: var(--k);
    transform: translate3d(0, calc((1 - var(--k)) * 34px), 0);
}
.motion .hero__hint { display: inline-flex; opacity: clamp(0, calc(1 - var(--p, 0) * 6), 1); }

/* entrada da página */
.motion .load { animation: load-in 1s var(--ease) var(--d, 0ms) backwards; }
.motion .hero__media { animation: media-in 1.5s var(--ease) backwards; }
.motion .reel { animation: load-in .9s var(--ease) .5s backwards; }

/* sem animação: hero solto, sem prender o scroll */
.still .hero__track, html:not(.js) .hero__track { height: auto; }
.still .hero__pin, html:not(.js) .hero__pin { position: relative; min-height: 100vh; min-height: 100svh; height: auto; }

.hero__after {
    position: relative; z-index: 5;
    display: grid; gap: 2.75rem;
    padding-block: clamp(1rem, 4vw, 3rem) clamp(5rem, 11vw, 9rem);
}
.hero__pitch { display: grid; gap: 0; justify-items: start; }
.hero__pitch .lede { color: var(--muted); }

/* os dois caminhos: o primeiro sai riscado, o segundo ganha a faixa laranja passando por cima */
.choice { display: grid; justify-items: start; gap: 1rem; margin: clamp(2.25rem, 5vw, 3.25rem) 0 clamp(2rem, 4vw, 2.75rem); }
.choice__no { max-width: 30ch; font-size: clamp(1.15rem, 2.3vw, 1.45rem); line-height: 1.35; color: var(--faint); }
.choice__no span {
    background: linear-gradient(var(--faint), var(--faint)) no-repeat 0 58% / 100% 2px;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    transition: background-size .8s var(--ease) calc(var(--d, 0ms) + 300ms);
}
.choice__or {
    display: flex; align-items: center; gap: .8rem;
    font: 500 .72rem/1 var(--font-mono); letter-spacing: .32em; text-transform: uppercase; color: var(--accent);
}
.choice__or::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .55; }

.choice__yes { margin-top: .45rem; font-size: clamp(2.9rem, 6.4vw, 5.4rem); line-height: 1.1; transform: rotate(-1.6deg); transform-origin: left center; }
.choice__yes span {
    padding: .02em .2em .06em; color: var(--accent-ink);
    background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 0 / 100% 100%;
    -webkit-box-decoration-break: clone; box-decoration-break: clone; /* se quebrar em duas linhas, cada uma ganha a sua faixa */
    transition: background-size .9s var(--ease) calc(var(--d, 0ms) + 900ms), color .25s linear calc(var(--d, 0ms) + 1200ms);
}
.choice__sub { max-width: 32ch; margin-top: .35rem; font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.4; text-wrap: pretty; }

.ready .choice:not(.is-in) .choice__no span { background-size: 0 2px; }
.ready .choice:not(.is-in) .choice__yes span { background-size: 0 100%; color: var(--text); }

.proof { display: grid; gap: 1.1rem; align-self: end; }

.stats {
    display: grid; gap: 1px; align-self: start;
    border: 1px solid var(--line); border-radius: 18px; background: var(--line); overflow: hidden;
}
.stats li { display: grid; gap: .35rem; padding: 1.35rem 1.4rem; background: var(--bg); }
.stats strong { font-size: 2.1rem; color: var(--accent); }
.stats span { font: 500 .66rem/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------ seções */

.sec { position: relative; padding-block: clamp(5.5rem, 12vw, 10rem); border-top: 1px solid var(--line); }
.sec--alt { background: var(--surface); }
.sec .eyebrow + .display { margin-top: 1.5rem; }

.grain {
    position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain + .wrap { position: relative; }

.closer {
    margin-top: clamp(3rem, 7vw, 5rem); padding-top: clamp(2rem, 5vw, 3rem);
    border-top: 1px solid var(--line);
}
.closer__a { margin-bottom: .9rem; font-size: clamp(1.15rem, 2.5vw, 1.6rem); line-height: 1.35; color: var(--muted); }
.closer__b { max-width: 20ch; }

/* entrada ao rolar. Só esconde depois que o landing.js rodou (.ready), pra nada sumir se o JS falhar */
.ready .reveal {
    opacity: 0; transform: translate3d(0, 26px, 0);
    transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms);
}
.ready .reveal.is-in { opacity: 1; transform: none; }

/* 02 · pergunta */
.question { overflow: hidden; }
.question h2 { max-width: 15ch; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: clamp(2.5rem, 6vw, 3.75rem); }
.chip {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .5rem 1rem .5rem .5rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
    font: 700 .8rem/1 var(--font-display); font-stretch: 86%; letter-spacing: .03em; color: rgba(246, 243, 236, .86);
}
.chip i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); }
.chip--hit { gap: .4rem; padding-left: .85rem; border-color: var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.chip--hit .icon { width: 12px; height: 12px; }
.chip--dots { padding: .5rem .4rem; border: 0; background: none; color: var(--accent); letter-spacing: .4em; animation: soft-pulse 1.8s ease-in-out infinite; }

/* 03 · alcance */
.reach__grid { display: grid; gap: 3.25rem; margin-top: 2rem; }
.reach__num { display: flex; align-items: baseline; font-size: clamp(8rem, 33vw, 15.5rem); line-height: .78; letter-spacing: -.04em; color: var(--accent); }
.reach__num span { font-variant-numeric: tabular-nums; }
.reach__num small { margin-left: .05em; font-size: .42em; }
.reach__num + h2 { margin-top: .9rem; }

.bars { display: grid; gap: 1.6rem; }
.bar__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.bar__head b { font: 800 1.05rem/1 var(--font-display); font-stretch: 85%; text-transform: uppercase; }
.bar__head span { font: 500 .74rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bar__rail { height: 4px; margin-top: .65rem; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar__rail i {
    display: block; height: 100%; border-radius: inherit; background: var(--accent);
    transform: scaleX(var(--w)); transform-origin: left;
    transition: transform 1.3s var(--ease) calc(var(--d, 0ms) + 250ms);
}
.ready .bar:not(.is-in) .bar__rail i { transform: scaleX(0); }

/* 04 · frase */
.statement { overflow: hidden; text-align: center; }
.statement::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(50% 60% at 50% 50%, rgba(255, 77, 31, .13), transparent 70%);
}
.statement .wrap { position: relative; display: grid; gap: 1.75rem; }
.viewfinder { position: absolute; inset: clamp(1.1rem, 4vw, 3rem); pointer-events: none; }
.viewfinder span { position: absolute; width: clamp(26px, 5vw, 56px); height: clamp(26px, 5vw, 56px); border: 2px solid var(--line-strong); }
.viewfinder span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.viewfinder span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.viewfinder span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.viewfinder span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* 05 · método */
.method h2 { max-width: 14ch; }
.steps { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.step {
    height: 100%; padding: 1.6rem; border: 1px solid var(--line); border-radius: 18px; background: var(--card);
    transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms), border-color .3s, background-color .3s;
}
.step:hover { border-color: rgba(255, 77, 31, .55); background: #1a1716; }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(255, 77, 31, .12); color: var(--accent); }
.step__icon .icon { width: 22px; height: 22px; }
.step__n { font: 500 .66rem/1 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.step h3 { margin-top: 1.7rem; font-size: 2rem; }
.step p { margin-top: .6rem; font-size: .95rem; color: var(--muted); }

.step--cta {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.75rem;
    border-style: dashed; border-color: rgba(255, 77, 31, .45); background: transparent;
}
.step--cta:hover { background: transparent; }
.step .step__mark { margin: 0; font-size: 4.6rem; line-height: .8; color: var(--accent); }

/* 06 · nichos */
.niches { overflow: hidden; }
.niches .hl { margin-top: .5rem; }
.marquees {
    display: grid; gap: .75rem; margin-top: clamp(2.75rem, 6vw, 4rem);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee { display: flex; overflow: hidden; -webkit-user-select: none; user-select: none; }
.marquee__track { flex: none; display: flex; gap: .75rem; padding-right: .75rem; animation: marquee 48s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee__track li {
    padding: .72rem 1.3rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
    font: 800 .95rem/1 var(--font-display); font-stretch: 85%; letter-spacing: .02em; text-transform: uppercase;
    white-space: nowrap; color: rgba(246, 243, 236, .9);
}
.marquees:hover .marquee__track, .marquees.is-paused .marquee__track, .still .marquee__track { animation-play-state: paused; }

/* 07 · desafio */
.challenge { text-align: center; padding-block: clamp(7rem, 16vw, 13rem); }
.challenge .wrap { display: grid; justify-items: center; gap: 2rem; }
.challenge .eyebrow { margin-top: 1rem; }
.challenge h2 { max-width: 16ch; }
.challenge .btn { margin-top: 1.25rem; }

/* 08 · desculpas */
.excuses h2 { max-width: 18ch; }
.excuses__grid { display: grid; gap: .8rem; margin-top: clamp(2rem, 5vw, 3rem); }
.excuse { padding: 1.5rem 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.excuse span {
    font: 800 clamp(1.1rem, 2.4vw, 1.4rem)/1.3 var(--font-display); font-stretch: 85%; text-transform: uppercase;
    color: rgba(246, 243, 236, .55);
    background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 56% / 100% 3px;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    transition: background-size .9s var(--ease) calc(var(--d, 0ms) + 400ms);
}
.ready .excuse:not(.is-in) span { background-size: 0 3px; }

.excuses__after { display: grid; justify-items: center; gap: 1.4rem; margin-top: clamp(3.5rem, 8vw, 6rem); text-align: center; }
.bigmark { font-size: clamp(8rem, 30vw, 15rem); line-height: .78; letter-spacing: -.03em; color: var(--accent); }
.excuses__after .lede { max-width: 40ch; }

/* 09 · oferta */
.offer { scroll-margin-top: 2rem; }
.ticket { position: relative; border: 1px solid rgba(255, 77, 31, .38); border-radius: 24px; background: var(--card); text-align: center; }
.ticket .corner { display: block; width: 22px; height: 22px; }
.ticket .corner--tl, .ticket .corner--tr { top: -10px; }
.ticket .corner--bl, .ticket .corner--br { bottom: -10px; }
.ticket .corner--tl, .ticket .corner--bl { left: -10px; }
.ticket .corner--tr, .ticket .corner--br { right: -10px; }

.ticket__head {
    position: relative; display: grid; justify-items: center; gap: 1.1rem;
    padding: clamp(2.25rem, 6vw, 3.25rem) clamp(1.4rem, 5vw, 3rem);
    border-bottom: 1px dashed var(--line-strong);
}
.ticket__head .sub { margin-top: 0; max-width: 40ch; font-size: .95rem; }
/* picotes do ingresso */
.ticket__head::before, .ticket__head::after {
    content: ""; position: absolute; bottom: -12px; width: 24px; height: 24px; border-radius: 50%;
    border: 1px solid rgba(255, 77, 31, .38); background: var(--surface);
}
.ticket__head::before { left: -13px; clip-path: inset(-2px -2px -2px 50%); }
.ticket__head::after { right: -13px; clip-path: inset(-2px 50% -2px -2px); }

.ticket__body { display: grid; justify-items: center; padding: clamp(2.25rem, 6vw, 3.25rem) clamp(1.4rem, 5vw, 3rem); }
.price__from { font: 500 .82rem/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-decoration: line-through; }
.price__label { margin-top: 1.2rem; font: 500 .7rem/1 var(--font-mono); letter-spacing: .32em; text-transform: uppercase; }
.price { display: flex; align-items: flex-start; gap: .07em; margin-top: .6rem; font-size: clamp(6.5rem, 24vw, 11rem); line-height: .82; letter-spacing: -.03em; color: var(--accent); }
.price small { margin-top: .3em; font-size: .3em; letter-spacing: 0; }
.price__split { margin: 1rem 0 2.25rem; color: var(--muted); }

.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 2.4rem; }
.badges li {
    display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem;
    border: 1px solid var(--line); border-radius: 999px;
    font: 500 .64rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.badges li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* 10 · final */
.final { padding: 0; overflow: hidden; isolation: isolate; }
.final__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 65% 30%; opacity: .6; }
.final__art {
    position: absolute; inset: 0; z-index: -2; display: grid; place-items: center; overflow: hidden;
    background: radial-gradient(60% 55% at 72% 32%, rgba(255, 77, 31, .38), transparent 70%), var(--bg);
}
.final__art span {
    font-size: min(78vw, 46rem); line-height: .8; letter-spacing: -.04em;
    color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .09);
    transform: translate(16%, -8%);
}
.final__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg) 8%, rgba(10, 10, 11, .78) 46%, rgba(10, 10, 11, .3)); }
.final__inner {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 1.5rem;
    min-height: 88vh; min-height: 88svh; padding-block: 8rem clamp(4rem, 9vw, 7rem);
}
.final__inner h2 { max-width: 14ch; }
.final__inner p { max-width: 16ch; }
.final__inner .btn { margin-top: 1rem; }

.foot { padding: 2.25rem 0 calc(2.25rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); text-align: center; font-size: .78rem; color: var(--muted); }
.foot .wrap { display: grid; justify-items: center; gap: .7rem; }
.foot__mark { font-size: 1.5rem; color: var(--accent); }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; }
.foot__links a { text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.foot__links a:hover { color: var(--text); }

/* ------------------------------------------------------------------ barra fixa (celular) */

.dock {
    position: fixed; inset: auto 0 0 0; z-index: 65;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); background: rgba(10, 10, 11, .88);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transform: translateY(110%); transition: transform .5s var(--ease);
}
.dock.is-on { transform: none; }
.dock__price { display: grid; line-height: 1.15; }
.dock__price b { font: 800 1.4rem/1 var(--font-display); font-stretch: 80%; }
.dock__price span { margin-top: .2rem; font-size: .72rem; color: var(--muted); }
.dock__btn {
    display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.2rem; border-radius: 999px;
    background: var(--accent); color: var(--accent-ink);
    font: 800 .95rem/1 var(--font-display); font-stretch: 85%; text-transform: uppercase; text-decoration: none;
}
.dock__btn .icon { width: 16px; height: 16px; }
.dock__btn:active { transform: scale(.97); }

/* celular baixo (iPhone SE e afins): a coluna do Reels fica só com curtir, comentar e enviar pra não encostar no título */
@media (max-width: 899px) and (max-height: 700px) {
    .reel__rail { gap: .8rem; }
    .reel__rail > :nth-child(n + 4) { display: none; }
}

/* ------------------------------------------------------------------ telas maiores */

@media (min-width: 640px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(3, 1fr); }
    .excuses__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    :root { --gutter: 2rem; }

    .stories { padding: 10px 20px 0; }
    .topbar { padding: 24px 22px 30px; }
    .topbar__cta { display: inline-flex; }
    .dock { display: none; }

    /* abertura: a foto vai pra direita com a borda esquerda esfumada, e o título fica livre à esquerda sem cobrir o rosto */
    .opening__photo {
        inset: 0 0 0 auto; width: min(62vw, 1100px);
        -webkit-mask-image: linear-gradient(to right, transparent, #000 40%);
        mask-image: linear-gradient(to right, transparent, #000 40%);
    }
    .opening__shade { background: linear-gradient(to top, var(--bg) 3%, transparent 38%), linear-gradient(to bottom, rgba(10, 10, 11, .65), transparent 20%); }
    .opening__inner { justify-content: center; padding-block: 6rem 3rem; }
    /* o tamanho também olha a altura da tela, pra o botão não cair abaixo da dobra em notebook baixo */
    .opening__inner h1 { font-size: clamp(2.7rem, min(6.6vw, 10.5vh), 5.6rem); }
    .opening__inner .hl { font-size: clamp(2rem, min(4.4vw, 7vh), 3.6rem); }

    .hero__rail { inset: 0 auto 0 50%; width: min(100% - var(--gutter) * 2, var(--max)); transform: translateX(-50%); }
    .hero__media {
        --dim: .25;
        inset: 50% 0 auto auto; height: min(72vh, 680px); aspect-ratio: 9 / 16;
        transform: translate3d(0, calc(-47% - var(--p, 0) * 26px), 0) rotate(calc(2.4deg - var(--p, 0) * 2.4deg));
    }
    .motion .hero__media { animation-name: media-in-desk; }
    .frame { border: 1px solid var(--line-strong); border-radius: 28px; box-shadow: 0 60px 120px -50px rgba(255, 77, 31, .45), 0 30px 60px -30px #000; }
    .frame__shade { background: linear-gradient(to top, rgba(10, 10, 11, .75), transparent 32%, transparent 72%, rgba(10, 10, 11, .45)); }
    /* no desktop o quadro é um "celular": entra a interface completa do Reels */
    .reel__top { top: 18px; left: 16px; right: 14px; }
    .reel__title { display: block; }
    .reel__rail { right: 12px; top: auto; bottom: 22px; }
    .reel__meta { left: 16px; right: 62px; bottom: 22px; }
    .reel__user, .reel__audio { display: flex; }
    .reel__caption, .reel__progress { display: block; }
    .corner { display: block; }

    /* aqui o título divide a largura com o quadro 9:16, então cresce mais devagar que no celular */
    .h-hero { font-size: clamp(3.05rem, 8.6vw, 7.4rem); }
    .hero__stage { justify-content: center; padding-top: 3rem; padding-bottom: 0; }
    .hero__copy { max-width: calc(100% - min(72vh, 680px) * 9 / 16 - 4.5rem); gap: 1.6rem; }

    .hero__after { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 5rem; align-items: end; }
    .stats { grid-template-columns: 1fr; }

    .reach__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; }
    .closer--split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
    .closer--split .closer__b { max-width: none; }

    .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ------------------------------------------------------------------ animações */

@keyframes load-in { from { opacity: 0; transform: translate3d(0, 28px, 0); } }
@keyframes photo-in { from { opacity: 0; transform: scale(1.07); } }
@keyframes media-in { from { opacity: 0; transform: scale(1.08); } }
@keyframes media-in-desk { from { opacity: 0; transform: translate3d(0, -40%, 0) rotate(7deg) scale(.94); } }
@keyframes hit { 40% { transform: scale(1.12); } }
@keyframes nudge { 50% { transform: translateY(4px); } }
@keyframes soft-pulse { 50% { opacity: .35; } }
@keyframes note-in { from { opacity: 0; } }
@keyframes marquee { to { transform: translate3d(-100%, 0, 0); } }
@keyframes reel-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes like-pop { 0% { transform: scale(.7); } 45% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes burst {
    0%   { opacity: 0; transform: scale(.2) rotate(-14deg); }
    22%  { opacity: 1; transform: scale(1.18) rotate(-10deg); }
    40%  { transform: scale(1) rotate(-10deg); }
    75%  { opacity: 1; transform: scale(1) rotate(-10deg); }
    100% { opacity: 0; transform: translateY(-46px) scale(1.05) rotate(-10deg); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
