/* ============================================================
   VrauClip — landing
   Scroll-driven: CSS nativo (animation-timeline: scroll()/view())
   onde o navegador suporta; landing.js cobre o resto e as seções
   fixadas (história e galeria horizontal) via --p.
   ============================================================ */
:root {
  --bg: #0b0d12; --bg2: #11141b; --panel: #161a23; --line: #262b37; --text: #eef0f4; --muted: #8e97a8;
  --accent: #f0a330; --accent2: #ffcf6b; --ink: #1a1203; --hot: #ff4d4d; --violet: #8b6cff;
  --yt: #ff3d3d; --ig: #e1306c; --tt: #25f4ee;
  --radius: 18px; --head: 64px;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Inter", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; }
h2 em, h1 em { font-style: normal; color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700; color: var(--accent); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 0 rgba(255,77,77,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,77,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,77,0); } }
section { position: relative; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--ink); border: 1px solid transparent; border-radius: 12px; padding: 12px 20px; font: 700 15.5px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; box-shadow: 0 8px 28px -10px rgba(240,163,48,.7); }
.btn:hover { transform: translateY(-2px); background: var(--accent2); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent2); outline-offset: 3px; }
.btn.ghost { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; box-shadow: none; }
.btn-lg { padding: 15px 26px; font-size: 17px; border-radius: 14px; }

/* ---------- barra de progresso ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--accent), var(--hot)); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 50; height: var(--head); display: flex; align-items: center; gap: 18px; padding: 0 clamp(16px, 4vw, 40px); background: rgba(11,13,18,.72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(255,255,255,.06); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand span { color: var(--accent); }
.brand .wordmark { font-weight: inherit; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14.5px; }
.top nav a:not(.btn) { color: var(--muted); text-decoration: none; transition: color .15s; }
.top nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 860px) { .top nav a:not(.btn):not(.nav-login) { display: none; } }
@media (max-width: 420px) { .nav-login { display: none; } .top nav .btn { white-space: nowrap; } }

main > section { padding-inline: clamp(18px, 5vw, 64px); }

/* ============ HERO ============ */
.hero { min-height: calc(100svh - var(--head)); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 5vw, 80px); max-width: 1240px; margin: 0 auto; padding-block: 48px 90px; }
.hero::before { content: ""; position: absolute; inset: -10% -30% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(240,163,48,.22), transparent 70%); pointer-events: none; z-index: -1; }
.hero h1 { font-size: clamp(38px, 6.2vw, 76px); font-weight: 850; letter-spacing: -.035em; }
.hero h1 em { display: block; background: linear-gradient(92deg, var(--accent2), var(--accent) 45%, var(--hot)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #b8bfcc; max-width: 600px; margin: 22px 0 30px; }
.lead strong { color: var(--text); font-weight: 650; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 7px; }

.hero-stage { position: relative; display: grid; place-items: center; }
.phone { position: relative; width: min(330px, 74vw); aspect-ratio: 9 / 16; border-radius: 38px; padding: 10px; background: linear-gradient(160deg, #2c3240, #0f1218); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 120px -30px rgba(240,163,48,.45), 0 30px 60px -20px rgba(0,0,0,.8); }
.phone::after { content: ""; position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 70px; height: 7px; border-radius: 9px; background: #0b0d12; }
.phone-video { width: 100%; height: 100%; object-fit: cover; border-radius: 29px; background: #000; }
.float-chip { position: absolute; padding: 9px 14px; border-radius: 12px; font-weight: 800; font-size: 14px; background: rgba(22,26,35,.86); border: 1px solid var(--line); backdrop-filter: blur(8px); white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(0,0,0,.8); }
.chip-a { top: 12%; left: -6%; color: var(--accent2); }
.chip-b { top: 46%; right: -8%; }
.chip-c { bottom: 10%; left: -2%; color: #ff8a8a; }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; color: var(--muted); font-size: 13px; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint span { width: 22px; height: 34px; border: 2px solid var(--line); border-radius: 12px; position: relative; }
.scroll-hint span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translateY(12px); opacity: 0; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 32px; }
  .lead { margin-inline: auto; }
  .cta-row, .trust { justify-content: center; }
  .hero-stage { order: 2; margin-top: 10px; }
  .chip-a { left: 2%; } .chip-b { right: 2%; } .chip-c { left: 4%; }
  .scroll-hint { display: none; }
}

/* ============ NÚMEROS ============ */
.stats { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 0 !important; }
.stat { background: var(--bg2); padding: 30px 24px; text-align: center; }
.stat strong { display: block; font-size: clamp(34px, 4.4vw, 54px); font-weight: 850; letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.stat:first-child strong { color: var(--accent); }
.stat span { color: var(--muted); font-size: 14.5px; }
.stats-note { grid-column: 1 / -1; margin: 0; background: var(--bg2); padding: 10px 16px 14px; text-align: center; font-size: 12.5px; color: #6c7484; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); margin-inline: 18px; } }

/* ============ HISTÓRIA (scrollytelling) ============ */
.story { max-width: 1240px; margin: 0 auto; padding-top: clamp(90px, 14vh, 160px); }
.story-head { text-align: center; max-width: 820px; margin: 0 auto clamp(30px, 6vh, 70px); }
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 60px); }
.story-stage {
  --m: var(--s3, 0);
  position: sticky; top: calc(var(--head) + 4vh); height: calc(92vh - var(--head)); container-type: size;
  display: grid; place-items: center;
}
.monitor { position: relative; display: flex; flex-direction: column; align-items: center; }
.screen {
  position: relative; overflow: hidden; background: #000;
  width: calc((1 - var(--m)) * 96cqw + var(--m) * 80cqh * 9 / 16);
  height: calc((1 - var(--m)) * 96cqw * 9 / 16 + var(--m) * 80cqh);
  border-radius: calc(10px + var(--m) * 26px);
  border: calc(8px + var(--m) * 2px) solid #1d222c;
  box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 40px 100px -30px rgba(240,163,48, calc(.15 + var(--m) * .35));
}
.screen video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(calc(1.25 - var(--m) * .25)); transform-origin: 50% 48%; }
.monitor-foot { width: 22%; height: calc(30px * (1 - var(--m))); background: linear-gradient(#1d222c, #12161d); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); opacity: calc(1 - var(--m) * 1.4); }
.rec { position: absolute; top: 12px; left: 12px; font: 800 12px/1 var(--font); letter-spacing: .08em; padding: 7px 10px; border-radius: 8px; background: rgba(0,0,0,.6); color: #fff; display: flex; gap: 7px; align-items: center; opacity: 0; transition: opacity .3s; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--hot); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.story-stage[data-step="2"] .rec { opacity: 1; }

/* sobreposições de cada passo */
.killfeed, .kcount, .score, .tags, .meter, .nets { position: absolute; transition: opacity .45s, transform .45s; opacity: 0; pointer-events: none; }
.story-stage[data-step="0"] .killfeed, .story-stage[data-step="0"] .kcount,
.story-stage[data-step="1"] .score, .story-stage[data-step="1"] .tags,
.story-stage[data-step="2"] .meter,
.story-stage[data-step="4"] .nets { opacity: 1; }

.killfeed { list-style: none; margin: 0; padding: 0; top: 7%; right: 2%; display: grid; gap: 6px; font-size: 13.5px; }
.killfeed li { background: rgba(10,12,16,.82); border: 1px solid rgba(255,77,77,.65); border-radius: 8px; padding: 7px 11px; backdrop-filter: blur(6px);
  opacity: clamp(0, calc(var(--s0, 0) * 5.2 - var(--i)), 1); transform: translateX(calc((1 - clamp(0, calc(var(--s0, 0) * 5.2 - var(--i)), 1)) * 30px)); }
.killfeed li:nth-child(1) { --i: 0; } .killfeed li:nth-child(2) { --i: 1; } .killfeed li:nth-child(3) { --i: 2; } .killfeed li:nth-child(4) { --i: 3; }
.killfeed .hs { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 6px; margin: 0 4px; border-radius: 5px; background: var(--hot); color: #fff; }
.kcount { left: 4%; bottom: 20%; font: 900 clamp(60px, 11cqw, 120px)/1 var(--font); letter-spacing: -.04em; color: var(--accent); text-shadow: 0 10px 40px rgba(240,163,48,.45); display: grid; }
.kcount span { grid-area: 1 / 1; opacity: 0; transition: opacity .2s, transform .2s; transform: scale(.8); }
.story-stage[data-k="1"] .k1, .story-stage[data-k="2"] .k2, .story-stage[data-k="3"] .k3, .story-stage[data-k="4"] .k4 { opacity: 1; transform: none; }

.score { left: 3%; top: 8%; width: clamp(110px, 20cqw, 160px); aspect-ratio: 1; display: grid; place-items: center; background: rgba(10,12,16,.82); border-radius: 50%; }
.score svg { position: absolute; inset: 0; rotate: -90deg; }
.score circle { fill: none; stroke-width: 9; }
.ring-bg { stroke: #262b37; }
.ring { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: calc(327 - 327 * min(1, var(--s1, 0) * 1.6)); }
.score div { text-align: center; position: relative; }
.score strong { display: block; font-size: clamp(30px, 6cqw, 46px); font-weight: 900; line-height: 1; }
.score span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.tags { list-style: none; margin: 0; padding: 0; right: 2%; bottom: 8%; display: grid; gap: 8px; justify-items: end; }
.tags li { font-weight: 850; font-size: clamp(13px, 2.2cqw, 17px); letter-spacing: .02em; background: var(--accent); color: var(--ink); padding: 7px 12px; border-radius: 8px; box-shadow: 0 10px 30px -8px rgba(0,0,0,.7);
  opacity: clamp(0, calc(var(--s1, 0) * 6 - var(--i) - .6), 1); transform: translateY(calc((1 - clamp(0, calc(var(--s1, 0) * 6 - var(--i) - .6), 1)) * 16px)); }
.tags li b { background: var(--ink); color: var(--accent2); border-radius: 5px; padding: 1px 6px; margin-left: 6px; font-size: .85em; }
.tags li:nth-child(1) { --i: 0; } .tags li:nth-child(2) { --i: 1; } .tags li:nth-child(3) { --i: 2; } .tags li:nth-child(4) { --i: 3; }

.meter { right: 2%; bottom: 8%; width: min(320px, 60cqw); background: rgba(14,17,23,.9); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; backdrop-filter: blur(8px); }
.meter p { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.meter small { display: block; font-size: 13px; margin: 4px 0 12px; color: var(--muted); }
.meter small b { color: var(--text); }
.bar { height: 10px; border-radius: 6px; background: #232836; overflow: hidden; }
.bar span { display: block; height: 100%; width: calc(var(--v) * 1% * min(1, var(--s2, 0) * 2.2)); min-width: calc(min(1, var(--s2, 0) * 3) * 4px); background: #3fb950; border-radius: inherit; }
.bar.gpu span { background: var(--violet); width: calc(min(1, var(--s2, 0) * 2.2) * 100%); }

.nets { list-style: none; margin: 0; padding: 0; inset: 0; }
.nets li { position: absolute; display: grid; gap: 2px; padding: 12px 16px 12px 46px; border-radius: 14px; background: rgba(14,17,23,.92); border: 1px solid var(--line); font-size: 14px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.9);
  opacity: clamp(0, calc(var(--s4, 0) * 5 - var(--i)), 1); transform: translateY(calc((1 - clamp(0, calc(var(--s4, 0) * 5 - var(--i)), 1)) * 40px)) scale(calc(.9 + clamp(0, calc(var(--s4, 0) * 5 - var(--i)), 1) * .1)); }
.nets li::before { content: ""; position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; border-radius: 7px; }
.nets li span { color: var(--muted); font-size: 13px; }
.nets .yt { left: 2%; top: 14%; --i: 0; } .nets .yt::before { background: var(--yt); }
.nets .ig { right: 2%; top: 42%; --i: 1; } .nets .ig::before { background: linear-gradient(45deg, #feda75, #d62976, #4f5bd5); }
.nets .tt { left: 4%; bottom: 14%; --i: 2; } .nets .tt::before { background: #111; box-shadow: inset 3px 0 var(--tt), inset -3px 0 #fe2c55; }

.story-steps { padding-bottom: 20vh; }
.step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; max-width: 470px; opacity: .28; transition: opacity .4s; }
.step.is-active { opacity: 1; }
.step-n { font: 900 15px/1 var(--font); color: var(--accent); letter-spacing: .1em; margin-bottom: 14px; }
.step h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin-bottom: 14px; }
.step p { color: #b8bfcc; margin: 0 0 12px; }
.step-meta { color: var(--accent2) !important; font-weight: 650; font-size: 15px; border-left: 3px solid var(--accent); padding-left: 12px; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-stage { top: var(--head); height: 56vh; z-index: 1; background: linear-gradient(var(--bg) 85%, transparent); }
  .story-steps { position: relative; z-index: 2; margin-top: -10vh; }
  .step { min-height: 0; margin-top: 62vh; opacity: 1; max-width: none; background: rgba(17,20,27,.95); border: 1px solid var(--line); border-radius: 18px; padding: 20px; backdrop-filter: blur(10px); }
  .step:first-child { margin-top: 48vh; }
  .step p { font-size: 15.5px; }
  .killfeed { font-size: 11.5px; }
  .meter { width: 70cqw; padding: 12px 14px; }
}

/* ============ GALERIA HORIZONTAL ============ */
.gallery { padding: 0 !important; margin-top: 8vh; }
.gallery-pin { position: sticky; top: var(--head); height: calc(100vh - var(--head)); overflow: hidden; display: flex; flex-direction: column; justify-content: safe center; gap: clamp(14px, 3vh, 28px); padding-block: clamp(16px, 3vh, 32px); }
.gallery-head { padding-inline: clamp(18px, 5vw, 64px); max-width: 1100px; }
.gallery-head .eyebrow { margin-bottom: 8px; }
.gallery-head h2 { font-size: clamp(28px, min(4vw, 6vh), 50px); margin-bottom: 8px; }
.gallery-head p { font-size: 15.5px; }
.gallery-head .profiles { margin-top: 12px; }
.gallery-head p { margin: 0; }
.profiles { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.profiles a { display: inline-block; font-size: 13.5px; font-weight: 650; color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 99px; padding: 6px 13px; transition: border-color .2s; }
.profiles a:hover { border-color: var(--accent); }
.track-wrap { overflow: visible; }
.track { list-style: none; margin: 0; padding: 0 clamp(18px, 5vw, 64px); display: flex; gap: 22px; width: max-content; transform: translate3d(calc(var(--p, 0) * var(--dist, 0) * -1px), 0, 0); will-change: transform; }
.clip { width: clamp(170px, min(19vw, calc((100vh - var(--head) - 340px) * .5625)), 250px); flex: none; }
.clip-media { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.clip:hover .clip-media { transform: translateY(-6px) rotate(-1deg); border-color: var(--accent); }
.clip-media video { width: 100%; height: 100%; object-fit: cover; }
.clip-views { position: absolute; left: 10px; bottom: 10px; font-size: 12.5px; font-weight: 800; padding: 5px 9px; border-radius: 8px; background: rgba(0,0,0,.66); backdrop-filter: blur(4px); }
.clip-views::before { content: "▶ "; color: var(--accent); }
.clip h3 { font-size: 16px; font-weight: 750; margin: 12px 2px 6px; letter-spacing: -.01em; }
.clip h3 small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; margin-top: 3px; }
.clip-links { display: flex; gap: 5px; margin: 0; flex-wrap: nowrap; }
.clip-links a { font-size: 11.5px; white-space: nowrap; font-weight: 700; text-decoration: none; color: var(--muted); border: 1px solid var(--line); border-radius: 7px; padding: 3px 6px; transition: color .2s, border-color .2s; }
.clip-links a:hover { color: var(--text); border-color: var(--accent); }
.clip-cta { display: grid; place-items: center; aspect-ratio: 9 / 16; align-self: flex-start; border-radius: 18px; border: 1px dashed var(--accent); background: radial-gradient(circle at 50% 30%, rgba(240,163,48,.18), transparent 70%); text-align: center; padding: 20px; }
.clip-cta p { font-size: 24px; font-weight: 850; line-height: 1.15; margin: 0 0 18px; }

/* celular / sem animação: carrossel nativo com scroll-snap */
.gallery.is-static { height: auto !important; }
.gallery.is-static .gallery-pin { position: static; height: auto; padding-block: 90px 40px; }
.gallery.is-static .track-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.gallery.is-static .track-wrap::-webkit-scrollbar { display: none; }
.gallery.is-static .track { transform: none; }
.gallery.is-static .clip { scroll-snap-align: center; width: 64vw; max-width: 260px; }

/* ============ MANIFESTO ============ */
.manifesto { max-width: 1100px; margin: 0 auto; padding-block: clamp(100px, 18vh, 200px) !important; display: grid; gap: .2em; }
.big-line { margin: 0; font-size: clamp(34px, 6.4vw, 82px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; color: #fff; }
.big-line.accent { color: var(--accent); }

/* ============ RECURSOS ============ */
.features { max-width: 1240px; margin: 0 auto; padding-block: 40px 120px; }
.features h2 { max-width: 760px; margin-bottom: 40px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.feat-card { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .25s, transform .25s; }
.feat-card:hover { border-color: rgba(240,163,48,.55); transform: translateY(-4px); }
.feat-card .ico { font-size: 28px; display: block; margin-bottom: 14px; }
.feat-card h3 { font-size: 19px; margin-bottom: 8px; }
.feat-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ============ DESEMPENHO ============ */
.perf { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding-block: 60px 120px; }
.perf-copy p { color: #b8bfcc; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; background: rgba(63,185,80,.15); color: #3fb950; font-size: 13px; font-weight: 900; display: grid; place-items: center; margin-top: 3px; }
.perf-chart { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 22px; }
.pbar { display: grid; gap: 8px; }
.pbar span { font-weight: 700; font-size: 15px; }
.pbar i { display: block; height: 16px; border-radius: 9px; width: var(--w); min-width: 10px; background: linear-gradient(90deg, #5b6273, #8e97a8); }
.pbar.ours i { background: linear-gradient(90deg, #3fb950, #7ee787); box-shadow: 0 0 20px rgba(63,185,80,.55); }
.pbar b { font-size: 13px; color: var(--muted); font-weight: 600; }
.pbar.ours b { color: #7ee787; }
.perf-chart small { color: #6c7484; font-size: 12.5px; }
@media (max-width: 860px) { .perf { grid-template-columns: 1fr; } }

/* ============ PLANOS ============ */
.plans { max-width: 1180px; margin: 0 auto; padding-block: 60px 100px; text-align: center; }
.plans h2 { margin-bottom: 44px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; text-align: left; align-items: start; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px; }
.plan.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(240,163,48,.1), var(--panel) 40%); box-shadow: 0 30px 80px -40px rgba(240,163,48,.6); }
.plan-badge { position: absolute; top: -12px; right: 22px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 99px; letter-spacing: .02em; }
.plan h3 { font-size: 22px; }
.plan-pitch { color: var(--muted); margin: 4px 0 14px; font-size: 14.5px; }
.price { font-size: 42px; font-weight: 850; letter-spacing: -.03em; margin: 0 0 18px; }
.price span { font-size: 20px; vertical-align: 14px; margin-right: 2px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan .btn { width: 100%; }
ul.feat { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 9px; font-size: 14.5px; }
ul.feat li { padding-left: 26px; position: relative; }
ul.feat li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
ul.feat li.no { color: #5c6475; }
ul.feat li.no::before { content: "–"; color: #4a5160; }

/* ============ FAQ ============ */
.faq { max-width: 820px; margin: 0 auto; padding-block: 40px 100px; }
.faq h2 { margin-bottom: 28px; text-align: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font-size: 26px; color: var(--accent); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 22px; color: #b8bfcc; }

/* ============ CTA FINAL / RODAPÉ ============ */
.final { text-align: center; padding-block: 120px !important; background: radial-gradient(ellipse at 50% 100%, rgba(240,163,48,.2), transparent 60%); }
.final h2 { max-width: 900px; margin: 0 auto 30px; }
.final .small { margin-top: 14px; }
.foot { border-top: 1px solid var(--line); padding: 34px clamp(18px, 5vw, 64px); display: grid; gap: 10px; justify-items: center; text-align: center; font-size: 14.5px; }
.foot p { margin: 0; }
.foot strong span { color: var(--accent); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }

/* ============================================================
   Scroll-driven animations nativas (Chrome/Edge 115+, Safari 26+)
   ============================================================ */
@supports (animation-timeline: scroll()) {
  .progress { transform: none; animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* hero: o celular gira e afunda, o texto sobe e some, os chips têm parallax */
  .hero-phone { animation: heroPhone linear both; animation-timeline: scroll(root); animation-range: 0 85vh; }
  @keyframes heroPhone { to { transform: translateY(14vh) rotate(-7deg) scale(.86); opacity: .25; } }
  .hero-copy { animation: heroCopy linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
  @keyframes heroCopy { to { transform: translateY(-8vh); opacity: 0; } }
  .chip-a { animation: chipUp linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
  .chip-b { animation: chipUp linear both reverse; animation-timeline: scroll(root); animation-range: 0 80vh; }
  .chip-c { animation: chipSide linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
  @keyframes chipUp { to { transform: translateY(-26vh) rotate(-6deg); opacity: 0; } }
  @keyframes chipSide { to { transform: translate(-12vw, -8vh) rotate(8deg); opacity: 0; } }
  .scroll-hint { animation: fadeOut linear both; animation-timeline: scroll(root); animation-range: 0 20vh; }
  @keyframes fadeOut { to { opacity: 0; } }

  /* entrada de cards ao aparecer na tela */
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  @keyframes reveal { from { opacity: 0; transform: translateY(60px) scale(.96); } to { opacity: 1; transform: none; } }
  .feat-card:nth-child(3n+2) { animation-range: entry 8% cover 34%; }
  .feat-card:nth-child(3n) { animation-range: entry 16% cover 40%; }

  /* manifesto: cada linha "acende" ao passar pelo meio da tela */
  .big-line { color: transparent; background: linear-gradient(90deg, #fff 0 50%, #2a2f3b 50% 100%) 100% 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: lineFill linear both; animation-timeline: view(); animation-range: cover 25% cover 50%; }
  .big-line.accent { background-image: linear-gradient(90deg, var(--accent2), var(--accent) 50%, #2a2f3b 50% 100%); }
  @keyframes lineFill { to { background-position: 0 0; } }

  /* desempenho: barras crescem com a rolagem */
  .pbar i { animation: barGrow linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; transform-origin: 0 50%; }
  @keyframes barGrow { from { transform: scaleX(0); } }

  /* carrossel do celular: cards crescem no centro (timeline horizontal) */
  .gallery.is-static .clip { animation: clipFocus linear both; animation-timeline: view(inline); }
  @keyframes clipFocus { 0%, 100% { transform: scale(.88); opacity: .6; } 50% { transform: none; opacity: 1; } }

  /* título da história e da galeria */
  .story-head, .gallery-head { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
}

/* ============ movimento reduzido ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .big-line { color: #fff; background: none; }
  .big-line.accent { color: var(--accent); }
  .killfeed li, .tags li, .nets li { opacity: 1 !important; transform: none !important; }
}

/* faixa de promoção (texto editado no painel admin, sempre escapado) */
.promo-banner { position: relative; z-index: 5; margin: 0 auto; padding: 10px 16px; text-align: center; font-weight: 600; font-size: 15px; background: var(--accent, #ff8a1f); color: #0b0d12; }
.promo-banner a { color: inherit; text-decoration: underline; }
