/* =========================================================
   Witor Domingos · Protocolo Alpha Zero Dívidas
   Tema: preto + dourado
   ========================================================= */
:root {
  --bg: #0d2050;
  --bg-2: #0a1838;
  --surface: #13295e;
  --surface-2: #1a3570;
  --line: rgba(255, 255, 255, .09);
  --text: #f8fafc;
  --muted: #b6c2dc;
  --gold: #fbbf24;
  --gold-2: #f59e0b;
  --gold-3: #b45309;
  --accent: #fbbf24;
  --track: rgba(255, 255, 255, .08);
  --red: #ef4444;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px -20px rgba(5, 12, 30, .7);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
strong { color: var(--text); font-weight: 700; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 32px); }
.center { text-align: center; margin-top: 48px; }
.mt { margin-top: 12px; }

/* ---------- Tipografia ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.title {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.1; letter-spacing: -.02em; font-weight: 800;
  margin: 0 0 20px; text-wrap: balance;
}
.title em, .hero__title em {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  color: var(--accent);
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text); }
section p { color: var(--muted); }
.section__head { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.section__head .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Botões ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 800 15px/1.2 var(--font); letter-spacing: .04em; text-transform: uppercase; text-align: center;
  color: #0b1020;
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 45%, #f59e0b 100%);
  box-shadow: 0 10px 30px -10px rgba(245, 158, 11, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
  transform: translate(var(--bx), var(--by));
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
  overflow: hidden; isolation: isolate;
}
.btn::after { /* brilho que passa */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn:hover { box-shadow: 0 16px 40px -12px rgba(245, 158, 11, .75), inset 0 1px 0 rgba(255, 255, 255, .5); filter: brightness(1.05); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translate(var(--bx), var(--by)) scale(.98); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--accent); }
.btn--ghost svg { width: 14px; height: 14px; }
.btn--glow { animation: pulse-glow 2.8s ease-in-out infinite; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 10px 30px -10px rgba(245, 158, 11, .55), 0 0 0 0 rgba(251, 191, 36, .45), inset 0 1px 0 rgba(255,255,255,.5); }
  50% { box-shadow: 0 10px 30px -10px rgba(245, 158, 11, .55), 0 0 0 14px rgba(251, 191, 36, 0), inset 0 1px 0 rgba(255,255,255,.5); }
}

/* ---------- Barra de progresso ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-2), var(--gold)); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, box-shadow .3s, transform .35s var(--ease);
}
.header.is-scrolled { background: rgba(10, 24, 56, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.brand img { width: 52px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav > a:not(.btn) { color: var(--muted); position: relative; transition: color .2s; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav > a:not(.btn):hover, .nav > a.is-active { color: var(--text); }
.nav > a:not(.btn):hover::after, .nav > a.is-active::after { transform: scaleX(1); }
.menu-toggle { display: none; }

@media (max-width: 920px) {
  .menu-toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--line); cursor: pointer; z-index: 2;
  }
  .menu-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(10, 24, 56, .97); font-size: 22px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav > a { opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .nav.is-open > a { opacity: 1; transform: none; }
  .nav.is-open > a:nth-child(2) { transition-delay: .05s; }
  .nav.is-open > a:nth-child(3) { transition-delay: .1s; }
  .nav.is-open > a:nth-child(4) { transition-delay: .15s; }
  .nav.is-open > a:nth-child(5) { transition-delay: .2s; }
  .nav.is-open > a:nth-child(6) { transition-delay: .25s; }
  .nav .btn--sm { font-size: 14px; padding: 14px 24px; }
  .brand span { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 50% at 80% 30%, rgba(245, 158, 11, .10), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(212, 163, 0, .08), transparent 70%),
    var(--bg);
}
.hero::before { /* grid sutil */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 80%);
  opacity: .5;
}
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__glow { /* flare dourado (substitui a imagem antiga) */
  position: absolute; left: 50%; bottom: -6%; width: 140%; height: 220px; z-index: -1;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(251, 191, 36, .55), rgba(245, 158, 11, .18) 40%, transparent 70%);
  filter: blur(30px);
  animation: glow 7s ease-in-out infinite;
}
@keyframes glow { 50% { opacity: .65; transform: translateX(-50%) scaleX(.85); } }

.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: rgba(251, 191, 36, .08); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(251, 191, 36, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); } }
.hero__title {
  font-size: clamp(36px, 5.6vw, 68px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800;
  margin: 22px 0 22px; text-wrap: balance;
}
.rotator { display: inline-block; position: relative; vertical-align: bottom; color: var(--accent); white-space: nowrap; }
.rotator__word { display: inline-block; font-family: var(--serif); font-style: italic; font-weight: 600; position: relative; }
.rotator__word::after { /* risco: a dívida sendo "zerada" */
  content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: .09em; border-radius: 4px;
  background: var(--red); transform: scaleX(0); transform-origin: 0 50%;
}
.rotator__word.is-in { animation: word-in .6s var(--ease) both; }
.rotator__word.is-in::after { animation: strike .5s .9s var(--ease) forwards; }
.rotator__word.is-out { animation: word-out .45s var(--ease) both; }
@keyframes word-in { from { opacity: 0; transform: translateY(.5em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes word-out { to { opacity: 0; transform: translateY(-.5em); filter: blur(6px); } }
@keyframes strike { to { transform: scaleX(1); } }
.rotator::after { content: "?"; color: var(--text); font-family: var(--font); font-style: normal; }

.hero__lead { font-size: clamp(17px, 1.7vw, 20px); max-width: 560px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 36px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--muted); }
.hero__trust b { color: var(--accent); font-size: 18px; margin-right: 4px; }

/* Card animado da jornada */
.journey {
  position: relative; padding: 22px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(35, 65, 134, .75), rgba(13, 32, 80, .92));
  border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
}
.journey::before { /* borda dourada girando */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--gold) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 6s linear infinite;
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.journey__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px; }
.chip { font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; background: rgba(251, 191, 36, .1); color: var(--accent); }
.journey__live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.journey__live i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.journey__chart { width: 100%; height: auto; overflow: visible; }
.journey__grid line { stroke: rgba(255, 255, 255, .06); stroke-dasharray: 4 6; }
.journey__grid .zero { stroke: rgba(251, 191, 36, .35); stroke-dasharray: none; }
.journey__axis { fill: var(--muted); font-size: 10px; font-family: var(--font); }
.journey__line { fill: none; stroke: url(#lineGrad); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(245, 158, 11, .45)); }
.journey__area { fill: url(#areaGrad); opacity: 0; }
.journey__dot { fill: var(--gold); opacity: 0; filter: drop-shadow(0 0 8px var(--gold)); }
.journey__tag { opacity: 0; transform: translateY(6px); transform-box: fill-box; }
.journey__tag rect { fill: rgba(251, 191, 36, .12); stroke: rgba(251, 191, 36, .4); }
.journey__tag text { fill: var(--gold); font: 700 11px var(--font); text-anchor: middle; letter-spacing: .04em; }
.journey__tag--debt rect { fill: rgba(229, 72, 77, .14); stroke: rgba(229, 72, 77, .5); }
.journey__tag--debt text { fill: #ff8a8d; }
.journey.is-visible .journey__line { animation: draw 3.2s .3s var(--ease) forwards; }
.journey.is-visible .journey__area { animation: fade 1s 2.6s forwards; }
.journey.is-visible .journey__dot { animation: fade .4s 3.2s forwards, dot 2s 3.6s ease-in-out infinite; }
.journey.is-visible .journey__tag--debt { animation: tag .5s .3s var(--ease) forwards; }
.journey.is-visible .journey__tag--zero { animation: tag .5s 1.9s var(--ease) forwards; }
.journey.is-visible .journey__tag--win { animation: tag .5s 3.1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes tag { to { opacity: 1; transform: none; } }
@keyframes dot { 50% { r: 9; } }
.journey__steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: s; }
.journey__steps li {
  counter-increment: s; text-align: center; font-size: 12px; font-weight: 700; padding: 10px 4px; border-radius: 12px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); color: var(--muted);
  transition: all .4s var(--ease);
}
.journey__steps li::before { content: counter(s); display: block; font-size: 16px; color: var(--gold-3); transition: color .4s; }
.journey__steps li.is-on { background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .4); color: var(--text); transform: translateY(-3px); }
.journey__steps li.is-on::before { color: var(--accent); }

.scroll-cue { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .25); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-bottom: 80px; }
  .scroll-cue { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span {
  position: relative; padding: 0 28px; font-weight: 800; font-size: clamp(18px, 2.4vw, 26px); text-transform: uppercase; letter-spacing: .04em;
  color: transparent; -webkit-text-stroke: 1px rgba(251, 191, 36, .55); white-space: nowrap;
}
.marquee span::before { content: "✕"; -webkit-text-stroke: 0; color: var(--red); font-size: .6em; margin-right: 20px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 130px) 0; }
.section--tight { padding: 64px 0 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* Vídeo (carrega o YouTube só ao tocar) */
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: brightness(.7) saturate(.9); }
.video:hover img { transform: scale(1.04); filter: brightness(.85); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(251, 191, 36, .6); animation: ring 2s infinite;
}
.video__play svg { width: 34px; height: 34px; margin-left: 4px; fill: #0b1020; }
@keyframes ring { 80%, 100% { box-shadow: 0 0 0 26px rgba(251, 191, 36, 0); } }
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 24px; margin-bottom: 56px; }
.video--short { aspect-ratio: 9 / 14; }
@media (max-width: 600px) { .videos { grid-template-columns: 1fr 1fr; gap: 12px; } .video__play { width: 60px; height: 60px; margin: -30px 0 0 -30px; } .video__play svg { width: 24px; height: 24px; } }

/* Barras do salário */
.salary { margin: 28px 0 20px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.salary__row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.salary__row--total { color: var(--text); font-weight: 700; padding-top: 10px; border-top: 1px dashed var(--line); }
.salary__bar { height: 10px; border-radius: 99px; background: var(--track); overflow: hidden; }
.salary__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease); }
.salary__bar--debt i { background: linear-gradient(90deg, #b91c1c, var(--red)); }
.salary.is-visible .salary__row:nth-child(1) i { transform: scaleX(1); }
.salary.is-visible .salary__row:nth-child(2) i { transform: scaleX(1); transition-delay: .3s; }
.salary.is-visible .salary__row:nth-child(3) i { transform: scaleX(1); transition-delay: .5s; }
.salary.is-visible .salary__row:nth-child(4) i { transform: scaleX(1); transition-delay: .7s; }
.salary.is-visible .salary__row:nth-child(5) i { transform: scaleX(1); transition-delay: 1.1s; }
.salary small { color: var(--muted); opacity: .7; font-size: 12px; }

/* 4 erros */
.errors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .errors { grid-template-columns: 1fr; } }
.error-card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 32px; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(251, 191, 36, .09), transparent 50%), var(--surface);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s;
  transform-style: preserve-3d;
}
.error-card:hover { border-color: rgba(251, 191, 36, .4); }
.error-card__n {
  display: block; font-family: var(--serif); font-size: 64px; line-height: 1; font-weight: 700; margin-bottom: 18px;
  background: linear-gradient(180deg, var(--gold), var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-card h3 { font-size: 21px; line-height: 1.3; margin: 0 0 12px; }
.error-card p { margin: 0; }

/* Sobre */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 40px; } }
.about__photo { margin: 0; position: relative; max-width: 440px; justify-self: center; width: 100%; }
.about__frame { position: relative; border-radius: var(--radius-lg); padding: 2px; overflow: hidden; }
.about__frame::before {
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent 0 60%, var(--gold) 75%, transparent 90%);
  animation: rotate 5s linear infinite;
}
@keyframes rotate { to { transform: rotate(1turn); } }
.about__frame img { position: relative; border-radius: calc(var(--radius-lg) - 2px); width: 100%; height: auto; aspect-ratio: 664/1024; object-fit: cover; }
.about__photo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 18px; border-radius: 16px;
  background: rgba(10, 24, 56, .75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); display: grid;
}
.about__photo figcaption b { font-size: 17px; }
.about__photo figcaption span { font-size: 13px; color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.stat { padding: 20px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; color: var(--accent); line-height: 1.1; margin-bottom: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } .stat:first-child { grid-column: 1 / -1; } }

.quote { margin: 96px auto 0; max-width: 980px; text-align: center; position: relative; padding: 0 8px; }
.quote::before { content: "“"; display: block; font-family: var(--serif); font-size: 120px; line-height: .6; color: var(--accent); opacity: .4; }
.quote p { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 40px); line-height: 1.3; color: var(--text); }
.shine {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-2) 20%, #fff3c4 40%, var(--gold) 60%, var(--gold-2) 80%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 4s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }

/* Carrossel de prints */
.carousel { margin-bottom: 8px; }
.carousel__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 8px max(16px, calc((100vw - 1180px) / 2)) 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item {
  flex: 0 0 auto; width: clamp(200px, 26vw, 270px); aspect-ratio: 9 / 15; scroll-snap-align: center;
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); cursor: zoom-in; padding: 0;
  transition: transform .4s var(--ease), border-color .3s;
}
.carousel__item:hover { transform: translateY(-6px); border-color: rgba(251, 191, 36, .5); }
.carousel__item img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 20px; }
.carousel__hint { font-size: 13px; color: var(--muted); }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--accent); cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--gold); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Pilares (linha do tempo que preenche ao rolar) */
.pillars { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; --fill: 0; }
.pillars::before, .pillars::after { content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; border-radius: 2px; }
.pillars::before { background: var(--line); }
.pillars::after { background: linear-gradient(var(--gold), var(--gold-2)); transform-origin: top; transform: scaleY(var(--fill)); box-shadow: 0 0 12px var(--gold); }
.pillar { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 0 0 48px; position: relative; z-index: 1; }
.pillar:last-child { padding-bottom: 0; }
.pillar__n {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--muted);
  background: var(--bg); border: 2px solid var(--line);
  transition: all .5s var(--ease);
}
.pillar.is-lit .pillar__n { color: #0b1020; background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 8px rgba(251, 191, 36, .12), 0 0 30px rgba(251, 191, 36, .5); }
.pillar > div { padding: 24px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .5s; }
.pillar.is-lit > div { border-color: rgba(251, 191, 36, .35); }
.pillar h3 { margin: 0 0 6px; font-size: 22px; }
.pillar__hook { color: var(--text); font-weight: 600; }
.pillar__motto { margin: 0; font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 18px; }
@media (max-width: 600px) {
  .pillar { grid-template-columns: 44px 1fr; gap: 14px; }
  .pillar__n { width: 44px; height: 44px; font-size: 20px; }
  .pillars::before, .pillars::after { left: 21px; }
  .pillar > div { padding: 20px; }
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s; }
.faq details[open] { border-color: rgba(251, 191, 36, .4); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative; font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq details > div { padding: 0 24px 4px; }
.faq details > div p { margin: 0 0 20px; }

/* CTA final */
.cta { overflow: hidden; background: radial-gradient(70% 70% at 50% 100%, rgba(245, 158, 11, .12), transparent 70%), var(--bg); }
.cta__rings { position: absolute; left: 50%; top: 50%; pointer-events: none; }
.cta__rings i { position: absolute; left: 0; top: 0; width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%; border: 1px solid rgba(251, 191, 36, .15); animation: ripple 9s linear infinite; }
.cta__rings i:nth-child(2) { animation-delay: 3s; }
.cta__rings i:nth-child(3) { animation-delay: 6s; }
@keyframes ripple { from { transform: scale(.2); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.cta__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; gap: 40px; } }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.checks li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; background: rgba(251, 191, 36, .14); color: var(--accent); }
.lead-form { padding: 32px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid rgba(251, 191, 36, .25); box-shadow: var(--shadow); }
.lead-form h3 { margin: 0 0 4px; font-size: 22px; }
.lead-form > p { font-size: 15px; }
.lead-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin-bottom: 14px; }
.lead-form input {
  font: 500 16px var(--font); color: var(--text); padding: 14px 16px; border-radius: 12px;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .2s, box-shadow .2s;
}
.lead-form input::placeholder { color: rgba(179, 169, 148, .5); }
.lead-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(251, 191, 36, .12); }
.lead-form input[aria-invalid="true"] { border-color: var(--red); }
.lead-form button { margin-top: 8px; }
.lead-form__msg { min-height: 1.2em; margin: 12px 0 4px; font-size: 14px; color: var(--red); }
.lead-form small { color: var(--muted); font-size: 12px; opacity: .8; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); background: var(--bg-2); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer__inner p { margin: 0; }
.footer__inner img { width: 70px; height: auto; }
.footer__top { color: var(--accent); font-weight: 700; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
  transform: scale(0); transition: transform .4s var(--ease);
}
.wa-float.is-shown { transform: scale(1); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: wa 2.2s infinite; }
@keyframes wa { to { transform: scale(1.6); opacity: 0; } }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); backdrop-filter: blur(6px); }
.lightbox img { max-width: min(92vw, 520px); max-height: 86vh; border-radius: 16px; animation: zoom .35s var(--ease); }
@keyframes zoom { from { opacity: 0; transform: scale(.92); } }
.lightbox__close, .lightbox__nav { position: fixed; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .1); border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; display: grid; place-items: center; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 12px; top: 50%; }
.lightbox__nav--next { right: 12px; top: 50%; }

/* ---------- Revelação ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .journey__line { stroke-dashoffset: 0; }
  .journey__area, .journey__dot, .journey__tag { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* No celular a palavra que gira fica na própria linha, sem empurrar o texto */
@media (max-width: 600px) {
  .rotator { display: block; min-height: 1.1em; }
}

/* =========================================================
   Identidade "Finanças do Servidor": azul-marinho, branco e dourado
   ========================================================= */
.title, .hero__title, h3, .stat b, .error-card__n, .pillar__n, .brand { font-family: var(--serif); }
.title, .hero__title { font-weight: 700; letter-spacing: -.025em; }
.title em, .hero__title em, .rotator__word, .pillar__motto, .shine { font-style: normal; font-family: var(--serif); font-weight: 700; }
.pillar__motto { font-weight: 600; }
.hero { background:
    radial-gradient(60% 50% at 80% 25%, rgba(251, 191, 36, .10), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(56, 189, 248, .08), transparent 70%),
    linear-gradient(180deg, #0d2050, #13295e 60%, #0d2050); }
.hero::before { background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); opacity: 1; }
.hero__glow { opacity: .55; }
.marquee { background: var(--bg-2); border-color: rgba(255, 255, 255, .08); }
.section--alt { background: linear-gradient(180deg, #13295e, #0d2050); }
.cta { background: radial-gradient(70% 70% at 50% 100%, rgba(251, 191, 36, .14), transparent 70%), linear-gradient(180deg, #0d2050, #13295e); }
.lead-form { background: linear-gradient(180deg, rgba(35, 65, 134, .55), rgba(19, 41, 94, .75)); border-color: rgba(251, 191, 36, .35); }
.lead-form input { background: rgba(10, 24, 56, .6); }
.footer { background: var(--bg-2); }

/* Dobras claras (branco e cinza-azulado) */
.section--light, .section--mist {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f8fafc;
  --text: #0d2050; --muted: #475569; --line: #e2e8f0;
  --accent: #d97706; --track: #eef2f7;
  --shadow: 0 1px 2px rgba(13, 32, 80, .04), 0 12px 32px -16px rgba(13, 32, 80, .18);
  background: #ffffff; color: var(--text);
}
.section--mist { --bg: #f2f5fb; background: #f2f5fb; }
.section--light :is(.error-card, .salary, .pillar > div, .stat, .faq details),
.section--mist :is(.error-card, .salary, .pillar > div, .stat, .faq details) { box-shadow: var(--shadow); }
.section--light .error-card:hover, .section--mist .error-card:hover { border-color: #fbbf24; }
.section--light .error-card, .section--mist .error-card { background: radial-gradient(400px circle at var(--mx) var(--my), rgba(251, 191, 36, .12), transparent 50%), #fff; }
.section--light .error-card__n, .section--mist .error-card__n { background-image: linear-gradient(180deg, #f59e0b, #b45309); }
.section--light .pillar.is-lit > div, .section--mist .pillar.is-lit > div { border-color: #fbbf24; }
.section--light .faq details[open], .section--mist .faq details[open] { border-color: #fbbf24; }
.section--light .faq summary::after, .section--mist .faq summary::after { border-color: #d97706; }

/* =========================================================
   Player de vídeo próprio (esconde a interface do YouTube)
   ========================================================= */
.section--tight { padding: 64px 0 clamp(64px, 9vw, 110px); }
.video { margin: 0; aspect-ratio: 16 / 9; cursor: default; background: #000; }
.video__poster { position: absolute; inset: 0; z-index: 3; cursor: pointer; }
.video__play { z-index: 4; }
.video__ui { position: absolute; inset: 0; z-index: 1; }
/* o iframe fica maior que a caixa: título e logo do YouTube ficam fora da área visível */
.video__frame { position: absolute; left: 0; right: 0; top: -70px; bottom: -70px; pointer-events: none; }
.video__frame > *, .video__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video__hit { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.video.is-playing .video__poster, .video.is-playing .video__play { opacity: 0; visibility: hidden; }
.video.is-loading .video__play { animation: none; }
.video.is-loading .video__play svg { opacity: 0; }
.video.is-loading .video__play::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; border: 4px solid rgba(11, 16, 32, .25); border-top-color: #0b1020; animation: rotate .8s linear infinite; }
.video__poster, .video__play { transition: opacity .35s var(--ease), visibility .35s; }
.video__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 10px;
  padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(5, 12, 30, .85));
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.video.is-loaded.show-bar .video__bar, .video.is-loaded:not(.is-playing) .video__bar { opacity: 1; transform: none; pointer-events: auto; }
.video:not(.is-loaded) .video__bar { display: none; }
.video__btn { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.video__btn:hover { background: var(--gold); color: #0b1020; }
.video__btn svg { width: 18px; height: 18px; fill: currentColor; }
.video__btn svg .s { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.video__track { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .25); cursor: pointer; overflow: hidden; position: relative; }
.video__track::before { content: ""; position: absolute; inset: -10px 0; }
.video__track i { display: block; height: 100%; background: linear-gradient(90deg, #f59e0b, #fbbf24); transform-origin: 0 50%; transform: scaleX(0); }
.video__time { flex: none; font-size: 12px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.video:fullscreen { aspect-ratio: auto; width: 100%; height: 100%; border-radius: 0; border: 0; }
.video:fullscreen .video__poster { object-fit: contain; }

/* Depoimentos em vídeo (paisagem, com nome) */
.videos { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1040px; margin-inline: auto; gap: 28px 24px; }
.dep__cap { margin: 12px 4px 0; display: flex; flex-direction: column; line-height: 1.35; }
.dep__cap b { color: var(--text); font-family: var(--serif); font-size: 17px; }
.dep__cap span { color: var(--accent); font-size: 13px; font-weight: 600; }
@media (max-width: 700px) { .videos { grid-template-columns: 1fr; } }

/* Vídeo principal maior */
.video-wide { width: min(1240px, 100% - 32px); }
@media (max-width: 600px) { .video-wide { width: 100%; } .video-wide .video { border-radius: 0; border-left: 0; border-right: 0; } }
.video.needs-tap .video__frame { pointer-events: auto; top: 0; bottom: 0; }
.video.needs-tap .video__poster, .video.needs-tap .video__play, .video.needs-tap .video__hit { display: none; }
