/* ============================================================
   Analysis Soluções Financeiras: site comercial
   Paleta: só azuis e branco (navy #0C2654, azul #0D5E95, azul claro #2675A8)
   ============================================================ */

:root {
  --navy-950: #040d20;
  --navy-900: #071834;
  --navy: #0c2654;
  --blue: #0d5e95;
  --blue-light: #2675a8;
  --blue-glow: #4c9fdc;
  --ice: #eef4fa;
  --ice-2: #dfeaf5;
  --white: #ffffff;
  --ink: #0c2654;
  --ink-soft: #3d5677;
  --on-dark: #ffffff;
  --on-dark-soft: #b9cbe2;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(12, 38, 84, 0.12);

  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1240px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy-950);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-glow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.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;
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-light);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.dark .eyebrow { color: var(--blue-glow); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0;
}
.h2 { font-size: clamp(40px, 6.4vw, 84px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 640px; }
.dark .lead { color: var(--on-dark-soft); }

.tarja {
  background: var(--blue-light); color: var(--white);
  padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}

/* ---------- sections ---------- */
section { position: relative; }
.dark { background: var(--navy-950); color: var(--on-dark); }
.navy { background: var(--navy); color: var(--on-dark); }
.light { background: var(--ice); color: var(--ink); }
.white { background: var(--white); color: var(--ink); }
.pad { padding: clamp(88px, 12vw, 160px) 0; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--white); --fg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(76, 159, 220, 0.6); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-blue { --bg: var(--blue-light); --fg: var(--white); }
.btn-blue:hover { --bg: var(--blue); }
.btn-navy { --bg: var(--navy); --fg: var(--white); }
.btn-ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--white); }
.btn-ghost-dark { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-light); }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  background: rgba(4, 13, 32, 0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; transition: height .4s; }
.scrolled .header-row { height: 68px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a:not(.btn) {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-dark-soft); text-decoration: none; position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--white);
  transition: right .35s var(--ease);
}
.nav a:not(.btn):hover { color: var(--white); }
.nav a:not(.btn):hover::after { right: 0; }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(38, 117, 168, 0.35), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(13, 94, 149, 0.28), transparent 70%),
    var(--navy-950);
}
#network { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.9; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 160px; z-index: -1;
  background: linear-gradient(transparent, var(--navy-950));
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 1; margin: 22px 0 26px; }
.hero h1 .line { display: block; overflow: hidden; padding-top: .12em; margin-top: -.12em; white-space: nowrap; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: translateY(0); } }
.hero .lead { margin: 0 0 36px; }
.hero .lead strong { color: var(--white); }

.starter {
  display: flex; gap: 8px; padding: 8px; max-width: 580px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.starter input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white);
  font: inherit; font-size: 16px; padding: 0 18px; outline: none;
}
.starter input::placeholder { color: rgba(255, 255, 255, 0.55); }
.starter:focus-within { border-color: var(--blue-glow); box-shadow: 0 0 0 4px rgba(76, 159, 220, .18); }
.micro { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 13px; color: var(--on-dark-soft); }
.micro span { display: inline-flex; align-items: center; gap: 8px; }
.micro span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-glow); }

/* hero dashboard */
.dash { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 520px; justify-self: end; }
.dash-ring { position: absolute; inset: 10%; }
.dash-ring svg { width: 100%; height: 100%; overflow: visible; }
.dash-ring .seg {
  fill: none; stroke-width: 34; stroke-linecap: butt;
  stroke-dasharray: 0 1000; animation: seg 1.4s var(--ease) forwards;
}
@keyframes seg { to { stroke-dasharray: var(--len) 1000; } }
.dash-center {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.dash-center small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 600; }
.dash-center b { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1; margin: 6px 0; }
.dash-center em { font-style: normal; font-size: 13px; color: var(--blue-glow); font-weight: 600; }

.glass {
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16); border-radius: 18px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.chip {
  position: absolute; padding: 14px 16px; min-width: 170px; color: var(--white);
  opacity: 0; animation: pop .9s var(--ease) forwards;
  will-change: transform;
}
.chip small { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 600; }
.chip b { display: block; font-size: 19px; margin-top: 2px; }
.chip .bars { display: flex; align-items: flex-end; gap: 4px; height: 28px; margin-top: 8px; }
.chip .bars i { flex: 1; background: var(--blue-glow); border-radius: 3px 3px 0 0; opacity: .85; transform-origin: bottom; animation: bar 1.2s var(--ease) both; }
.chip .ok { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-light); margin-right: 8px; vertical-align: -5px; }
.chip-1 { top: 0; left: -8%; animation-delay: 1s; }
.chip-2 { top: 6%; right: -8%; animation-delay: 1.25s; }
.chip-3 { bottom: 2%; right: -4%; animation-delay: 1.5s; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bar { from { transform: scaleY(0); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-soft);
  display: grid; justify-items: center; gap: 10px; text-decoration: none;
}
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(var(--white), transparent); animation: cue 2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 28px 0; border-block: 1px solid var(--line-dark); background: var(--navy-950); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  font-family: var(--font-display); text-transform: uppercase; font-size: clamp(34px, 5vw, 64px);
  line-height: 1; padding-right: 48px; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.4);
}
.marquee span:nth-child(3n+2) { color: var(--white); -webkit-text-stroke: 0; }
.marquee span::after { content: "✦"; font-size: .4em; vertical-align: middle; margin-left: 48px; color: var(--blue-glow); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- waterfall (vendeu x sobrou) ---------- */
.flow { height: 420vh; background: var(--navy-950); color: var(--white); }
.flow-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.flow-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.flow-words { position: relative; }
.flow-word {
  font-family: var(--font-display); text-transform: uppercase; line-height: .86;
  font-size: clamp(64px, 12vw, 190px); display: block;
  transition: color .6s, -webkit-text-stroke-color .6s, opacity .6s;
}
.flow-word.a { color: var(--white); }
.flow-word.b { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.35); }
.flow.end .flow-word.a { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.35); }
.flow.end .flow-word.b { color: var(--blue-glow); -webkit-text-stroke-color: transparent; }
.flow-caption { margin-top: 26px; color: var(--on-dark-soft); max-width: 420px; min-height: 5.2em; }
.flow-caption strong { color: var(--white); }

.chart { position: relative; }
.chart-rows { display: grid; gap: 10px; }
.crow { display: grid; grid-template-columns: 150px 1fr 70px; align-items: center; gap: 14px; font-size: 14px; opacity: .18; transition: opacity .5s; }
.crow.on { opacity: 1; }
.crow .lbl { color: var(--on-dark-soft); font-weight: 500; line-height: 1.25; }
.crow .track { position: relative; height: 34px; }
.crow .fill {
  position: absolute; top: 0; bottom: 0; border-radius: 6px;
  left: calc(var(--from) * 1%); width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transition: width .9s var(--ease);
}
.crow.on .fill { width: calc(var(--w) * 1%); }
.crow.total .fill { background: linear-gradient(90deg, var(--white), #cfe3f4); }
.crow.minus .fill { background: repeating-linear-gradient(135deg, rgba(76,159,220,.55) 0 6px, rgba(76,159,220,.25) 6px 12px); box-shadow: inset 0 0 0 1px rgba(76,159,220,.7); }
.crow.left .fill { background: var(--blue-glow); box-shadow: 0 0 40px rgba(76,159,220,.6); }
.crow .val { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.crow.left .lbl, .crow.left .val { color: var(--blue-glow); font-weight: 700; }
.chart-note { margin-top: 18px; font-size: 12px; color: rgba(185, 203, 226, .7); }
.flow-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; height: 2px; background: var(--line-dark); border-radius: 2px; }
.flow-progress i { display: block; height: 100%; width: 0; background: var(--blue-glow); }

/* ---------- personas ---------- */
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.persona {
  text-align: left; border: 1px solid var(--line-light); background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 30px 28px; display: grid; align-content: start; gap: 14px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s, color .4s, border-color .4s;
  position: relative; overflow: hidden;
}
.persona:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(12,38,84,.35); }
.persona .num { font-family: var(--font-display); font-size: 15px; letter-spacing: .1em; color: var(--blue-light); }
.persona h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; margin: 0; }
.persona .quote { font-size: 16px; color: var(--ink-soft); margin: 0; font-style: italic; }
.persona ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.persona li { display: flex; gap: 10px; }
.persona li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .6em; border-radius: 2px; background: var(--blue-light); }
.persona .more {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease);
}
.persona .more > div { overflow: hidden; }
.persona .more p { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); font-size: 15px; }
.persona .pick { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-light); display: inline-flex; gap: 8px; align-items: center; }
.persona[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.persona[aria-pressed="true"] .quote { color: var(--on-dark-soft); }
.persona[aria-pressed="true"] .more { grid-template-rows: 1fr; }
.persona[aria-pressed="true"] .pick { color: var(--blue-glow); }
.persona[aria-pressed="true"] li::before { background: var(--blue-glow); }
.persona-cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.persona-cta p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- serviços (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  background: var(--ice); border-radius: var(--radius); padding: 28px; display: grid; align-content: start; gap: 12px;
  border: 1px solid transparent; transition: border-color .3s, transform .4s var(--ease), background .3s;
}
.tile:hover { border-color: var(--line-light); transform: translateY(-4px); background: #e7f0f9; }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--white); display: grid; place-items: center; }
.tile .ico svg { width: 24px; height: 24px; }
.tile h3 { margin: 6px 0 0; font-size: 19px; line-height: 1.25; }
.tile p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.tile.big { grid-column: span 2; grid-row: span 2; background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.tile.big p { color: var(--on-dark-soft); }
.tile.big .ico { background: var(--blue-light); }
.tile.big h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; }
.tile.wide { grid-column: span 2; }
.mini-dre { margin-top: 18px; display: grid; gap: 8px; font-size: 14px; }
.mini-dre div { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.06); }
.mini-dre div:last-child { background: var(--blue-light); font-weight: 700; }
.mini-dre span:last-child { font-variant-numeric: tabular-nums; }
.not-we {
  margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 18px 28px; align-items: start;
  padding: 26px 28px; border-radius: var(--radius); border: 1.5px dashed var(--line-light);
}
.not-we h3 { margin: 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-light); padding-top: 3px; }
.not-we ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 28px; font-size: 15px; color: var(--ink-soft); }
.not-we li strong { color: var(--ink); display: block; }

/* ---------- contador x BPO ---------- */
.versus-head .h2 { font-size: clamp(40px, 5.2vw, 72px); }
.versus-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 48px; }
.switch {
  display: inline-grid; grid-template-columns: 1fr 1fr; position: relative;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px;
}
.switch button {
  position: relative; z-index: 1; background: none; border: 0; color: var(--on-dark-soft);
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: color .3s;
}
.switch button[aria-pressed="true"] { color: var(--navy); }
.switch .knob {
  position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px);
  background: var(--white); border-radius: 999px; transition: transform .5s var(--ease);
}
.switch.on .knob { transform: translateX(100%); }
.qa { display: grid; gap: 10px; }
.qa-row {
  display: grid; grid-template-columns: 1fr 260px; gap: 20px; align-items: center;
  padding: 18px 24px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark);
}
.qa-row .q { font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; }
.qa-row .a { display: flex; align-items: center; gap: 12px; justify-content: flex-end; font-size: 14px; font-weight: 600; text-align: right; }
.qa-row .dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; transition: background .4s, transform .5s var(--ease); }
.qa-row .dot svg { width: 16px; height: 16px; }
.qa-row[data-state="no"] .dot { background: rgba(255,255,255,.08); color: var(--on-dark-soft); }
.qa-row[data-state="no"] .a { color: var(--on-dark-soft); }
.qa-row[data-state="yes"] .dot { background: var(--blue-light); color: var(--white); transform: rotate(360deg); }
.qa-row[data-state="yes"] { border-color: rgba(76,159,220,.35); }
.qa-row .who { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-glow); font-weight: 700; }
.versus-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.versus-foot p { margin: 0; max-width: 680px; color: var(--on-dark-soft); }
.versus-foot p strong { color: var(--white); }

/* ---------- como funciona ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps-line { position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: var(--line-light); }
.steps-line i { display: block; height: 100%; width: 0; background: var(--blue-light); transition: width 1.6s var(--ease); }
.steps.in .steps-line i { width: 100%; }
.step { position: relative; display: grid; gap: 12px; align-content: start; }
.step .n {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--line-light); color: var(--navy);
  font-family: var(--font-display); font-size: 24px; position: relative; z-index: 1;
  transition: background .5s, color .5s, border-color .5s;
}
.steps.in .step .n { background: var(--navy); color: var(--white); border-color: var(--navy); }
.steps.in .step:nth-child(3) .n { transition-delay: .3s; }
.steps.in .step:nth-child(4) .n { transition-delay: .7s; }
.steps.in .step:nth-child(5) .n { transition-delay: 1.1s; }
.step .tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-light); margin-top: 8px; }
.step h3 { margin: 0; font-size: 21px; line-height: 1.2; }
.step p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- sócios ---------- */
.team { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; background: radial-gradient(90% 70% at 50% 35%, var(--blue-light), var(--navy) 70%); }
.person:nth-child(2) { transform: translateY(56px); }
.people { margin-bottom: 56px; }
.person img {
  position: absolute; left: 0; top: 5%; width: 100%; height: 125%; object-fit: cover; object-position: top center;
  -webkit-mask-image: linear-gradient(#000 70%, transparent 98%); mask-image: linear-gradient(#000 70%, transparent 98%);
  transition: transform .8s var(--ease);
}
.person:hover img { transform: scale(1.04); }
.person figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 16px; color: var(--white);
}
.person figcaption b { display: block; font-size: 17px; }
.person figcaption span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
.team-copy .h2 { margin: 18px 0 24px; }
.pillars { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; gap: 14px; }
.pillars li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; color: var(--on-dark-soft); }
.pillars li b { color: var(--white); display: block; }
.pillars .ck { width: 34px; height: 34px; border-radius: 10px; background: rgba(76,159,220,.16); color: var(--blue-glow); display: grid; place-items: center; }
.scarce {
  display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 14px; margin-bottom: 30px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); font-size: 15px; color: var(--on-dark-soft);
}
.scarce strong { color: var(--white); }
.pulse { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-glow); box-shadow: 0 0 0 0 rgba(76,159,220,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(76,159,220,0); } 100% { box-shadow: 0 0 0 0 rgba(76,159,220,0); } }

/* ---------- diagnóstico (quiz) ---------- */
.diag {
  background:
    radial-gradient(50% 60% at 85% 10%, rgba(38,117,168,.4), transparent 70%),
    radial-gradient(40% 50% at 0% 90%, rgba(13,94,149,.35), transparent 70%),
    var(--navy);
  color: var(--white); overflow: hidden;
}
.diag-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.diag-intro .h2 { margin: 18px 0 22px; font-size: clamp(40px, 4.6vw, 68px); }
.diag .lead { color: var(--on-dark-soft); }
.diag-intro ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: var(--on-dark-soft); font-size: 15px; }
.diag-intro li { display: flex; gap: 12px; align-items: center; }
.diag-intro li svg { flex: none; color: var(--blue-glow); }
.quiz { padding: clamp(24px, 4vw, 44px); border-radius: 26px; min-height: 520px; display: grid; grid-template-rows: auto 1fr; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; font-size: 13px; color: var(--on-dark-soft); font-weight: 600; }
.quiz-bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.quiz-bar i { display: block; height: 100%; width: 0; background: var(--blue-glow); transition: width .5s var(--ease); }
.quiz-back { background: none; border: 0; color: var(--on-dark-soft); font-size: 13px; font-weight: 600; padding: 4px 0; visibility: hidden; }
.quiz-back.show { visibility: visible; }
.quiz-back:hover { color: var(--white); }
.qstep { animation: qin .5s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.qstep h3 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.qstep .hint { margin: 0 0 24px; font-size: 14px; color: var(--on-dark-soft); }
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); color: var(--white);
  border-radius: 14px; padding: 16px 18px; font-size: 16px; font-weight: 500;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.opt:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); transform: translateX(4px); }
.opt .k {
  flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(255,255,255,.3);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--on-dark-soft);
}
.opt.sel { background: var(--white); color: var(--navy); border-color: var(--white); }
.opt.sel .k { background: var(--navy); color: var(--white); border-color: var(--navy); }
.form-grid { display: grid; gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--on-dark-soft); margin-bottom: 6px; }
.field input {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); color: var(--white);
  border-radius: 12px; padding: 15px 16px; font: inherit; font-size: 16px; outline: none; transition: border-color .25s, box-shadow .25s;
}
.field input:focus { border-color: var(--blue-glow); box-shadow: 0 0 0 4px rgba(76,159,220,.18); }
.field input::placeholder { color: rgba(255,255,255,.4); }
.field.err input { border-color: #9cc8ee; box-shadow: 0 0 0 4px rgba(156,200,238,.25); }
.privacy { font-size: 12.5px; color: var(--on-dark-soft); margin: 4px 0 0; display: flex; gap: 8px; align-items: flex-start; }
.privacy svg { flex: none; margin-top: 2px; }
.quiz .btn { margin-top: 18px; width: 100%; }

.result { display: grid; gap: 22px; animation: qin .6s var(--ease); }
.gauge-wrap { display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: center; }
.gauge { position: relative; width: 190px; aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .bg { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 14; }
.gauge .fg { fill: none; stroke: url(#gaugeGrad); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 0 999; transition: stroke-dasharray 1.6s var(--ease); }
.gauge .score { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge .score b { font-family: var(--font-display); font-weight: 400; font-size: 58px; line-height: 1; }
.gauge .score small { font-size: 12px; color: var(--on-dark-soft); }
.level { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(76,159,220,.18); color: var(--blue-glow); }
.result h3 { margin: 10px 0 6px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.result .sub { margin: 0; color: var(--on-dark-soft); font-size: 15px; }
.findings { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.findings li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.05); font-size: 15px; color: var(--on-dark-soft); }
.findings li b { color: var(--white); display: block; }
.findings .fi { width: 28px; height: 28px; border-radius: 8px; background: rgba(76,159,220,.18); color: var(--blue-glow); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.result .btn { margin-top: 4px; }
.restart { background: none; border: 0; color: var(--on-dark-soft); font-size: 14px; text-decoration: underline; justify-self: center; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--white); border-radius: 16px; border: 1px solid var(--line-light); overflow: hidden; transition: box-shadow .3s; }
.faq-list details[open] { box-shadow: 0 24px 50px -30px rgba(12,38,84,.35); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ice); position: relative; transition: background .3s, transform .4s var(--ease); }
.faq-list summary .plus::before, .faq-list summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); }
.faq-list summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq-list details[open] .plus { background: var(--navy); transform: rotate(180deg); }
.faq-list details[open] .plus::before, .faq-list details[open] .plus::after { background: var(--white); }
.faq-list details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list .ans { padding: 0 26px 24px; color: var(--ink-soft); font-size: 16px; }
.faq-list .ans p { margin: 0; }

/* ---------- final CTA ---------- */
.final { text-align: center; overflow: hidden; isolation: isolate; }
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 70% at 50% 100%, rgba(38,117,168,.5), transparent 70%);
}
.final .display { font-size: clamp(52px, 10vw, 150px); }
.final .lead { margin: 28px auto 40px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-soft); border-top: 1px solid var(--line-dark); padding: 56px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid img { height: 44px; width: auto; margin-bottom: 16px; }
.foot-grid h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.foot-grid a { text-decoration: none; display: block; padding: 4px 0; }
.foot-grid a:hover { color: var(--white); }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* ---------- floating CTA ---------- */
.float-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  transform: translateY(140%); transition: transform .5s var(--ease);
  box-shadow: 0 20px 50px -14px rgba(0,0,0,.55);
}
.float-cta.show { transform: none; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; } .rv-d2 { transition-delay: .2s; } .rv-d3 { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (min-width: 961px) and (max-width: 1200px) {
  .chip-2 { display: none; }
  .chip { min-width: 0; padding: 12px 14px; }
  .chip b { font-size: 16px; }
  .chip-3 { bottom: 0; right: -2%; }
}
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .not-we ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; padding: 16px var(--gutter) 24px;
    background: rgba(4, 13, 32, .97); border-bottom: 1px solid var(--line-dark);
  }
  .nav.open a:not(.btn) { padding: 14px 0; font-size: 13px; border-bottom: 1px solid var(--line-dark); }
  .nav.open .btn { margin-top: 12px; }
  .hero-grid, .flow-grid, .team, .diag-grid, .faq-grid, .versus-head { grid-template-columns: 1fr; }
  .dash { justify-self: center; max-width: 420px; margin-top: 16px; }
  .personas { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps-line { display: none; }
  .steps .step .n { background: var(--navy); color: var(--white); border-color: var(--navy); }
  .flow-grid { gap: 28px; }
  .flow-word { font-size: clamp(56px, 17vw, 120px); }
  .flow-caption { min-height: 0; margin-top: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { height: 32px; }
  .hero { padding-top: 104px; }
  .starter { flex-direction: column; border-radius: 20px; }
  .starter input { padding: 14px 12px; }
  .starter .btn { width: 100%; }
  .chip { min-width: 140px; padding: 10px 12px; }
  .chip b { font-size: 16px; }
  .chip-1 { left: -2%; } .chip-2 { right: -2%; }
  .flow-sticky { align-items: flex-start; padding-top: 84px; }
  .flow-word { font-size: clamp(48px, 15vw, 84px); }
  .flow-words .eyebrow { font-size: 11px; }
  .flow-caption { font-size: 15px; line-height: 1.45; min-height: 4.4em; }
  .flow-grid { gap: 18px; }
  .chart-rows { gap: 7px; }
  .chart-note { margin-top: 10px; }
  .crow { grid-template-columns: 96px 1fr 50px; gap: 10px; font-size: 12.5px; }
  .crow .track { height: 26px; }
  .bento { grid-template-columns: 1fr; }
  .tile.big, .tile.wide { grid-column: auto; grid-row: auto; }
  .not-we { grid-template-columns: 1fr; }
  .not-we ul { grid-template-columns: 1fr; }
  .qa-row { grid-template-columns: 1fr; gap: 10px; padding: 16px 18px; }
  .qa-row .a { justify-content: flex-start; text-align: left; flex-direction: row-reverse; }
  .switch button { padding: 12px 14px; font-size: 14px; }
  .steps { grid-template-columns: 1fr; }
  .person:nth-child(2) { transform: translateY(28px); }
  .gauge-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .gauge { width: 170px; }
  .float-cta { left: 16px; right: 16px; bottom: 16px; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* títulos em colunas estreitas */
.faq-grid .h2, .team-copy .h2 { font-size: clamp(40px, 4.6vw, 68px); }
