/* E3 Consultoria — site v2
   Sistema visual: tela neutra (branco, preto, grafite), azul-marinho E3 só em pontos-chave,
   tipografia grande, muito espaço livre, profundidade suave e movimento discreto. */

:root {
  /* Cores */
  --bg: #FFFFFF;
  --bg-2: #F5F5F7;
  --ink: #0B0B0D;
  --ink-2: #6E6E73;          /* texto secundário: 4,96:1 no branco */
  --ink-3: #A1A1A6;          /* só decorativo / texto grande */
  --line: rgb(0 0 0 / .09);
  --navy: #252E61;           /* azul-marinho da marca E3 */
  --navy-ink: #234092;       /* azul E3 como texto no claro: 9,5:1 */
  --navy-soft: #E7EEF9;
  --dark: #000000;
  --dark-2: #111113;
  --dark-3: #1C1C1E;
  --on-dark: #F5F5F7;
  --on-dark-2: #A1A1A6;      /* 7,9:1 no preto */
  --on-dark-line: rgb(255 255 255 / .12);
  --navy-on-dark: #7FA8FF;   /* azul E3 claro no escuro: 9,0:1 no preto */
  --focus: #234092;

  /* Tipografia */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;

  /* Espaço */
  --gutter: clamp(20px, 4vw, 40px);
  --max: 1200px;
  --section: clamp(96px, 14vw, 180px);

  /* Movimento */
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.32, .72, 0, 1);

  --header-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--navy-on-dark); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--ink); color: #fff; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.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; }

/* ───────────── Tipografia ───────────── */
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: -.005em; color: var(--navy-ink); }
.dark .eyebrow { color: var(--navy-on-dark); }
.display {
  font-size: clamp(48px, 8.4vw, 116px); line-height: .98; letter-spacing: -.048em; font-weight: 600;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(36px, 5.4vw, 72px); line-height: 1.03; letter-spacing: -.038em; font-weight: 600;
  text-wrap: balance;
}
.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.025em; font-weight: 600; }
.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; letter-spacing: -.012em; color: var(--ink-2); text-wrap: pretty; }
.dark .lead { color: var(--on-dark-2); }
.muted { color: var(--ink-3); }
.dark .muted { color: #5C5C61; }
.body { color: var(--ink-2); text-wrap: pretty; }
.dark .body { color: var(--on-dark-2); }
.num { font-variant-numeric: tabular-nums; }

/* ───────────── Botões ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .15s var(--ease-out), background-color .25s var(--ease), color .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.dark .btn-primary { background: #fff; color: var(--ink); }
.dark .btn-primary:hover { background: #E6EDF8; }
.btn-link { min-height: 48px; padding: 0 6px; color: var(--navy-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; font-size: 16px; }
.dark .btn-link { color: var(--navy-on-dark); }
.btn-link svg { transition: transform .25s var(--ease-out); }
.btn-link:hover svg { transform: translateX(3px); }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 14px; }

/* ───────────── Header ───────────── */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgb(255 255 255 / .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow .3s var(--ease);
}
.header.scrolled { box-shadow: 0 .5px 0 var(--line); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 36px; width: auto; }
.nav-main { display: flex; gap: 2px; margin-right: auto; }
.nav-main a, .nav-access a {
  font-size: 14px; font-weight: 500; letter-spacing: -.005em; color: var(--ink-2);
  padding: 8px 11px; border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav-main a:hover, .nav-access a:hover { color: var(--ink); background: rgb(0 0 0 / .045); }
.nav-access { display: flex; align-items: center; gap: 2px; padding-left: 14px; position: relative; }
.nav-access::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: .5px; background: var(--line); }
.nav-access .label { font-size: 12px; color: var(--ink-2); margin-right: 4px; white-space: nowrap; }
.nav-access a { color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.nav-access a svg { color: var(--ink-3); }
.menu-btn {
  display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer;
  border-radius: 999px; align-items: center; justify-content: center;
}
.menu-btn .bars { display: block; width: 18px; }
.menu-btn .bars > span { display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out); }
.menu-btn .bars > span + span { margin-top: 5px; }
.menu-btn[aria-expanded="true"] .bars > span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars > span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Menu mobile */
.sheet {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--bg);
  padding: 8px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .4s var(--ease-out), visibility 0s .3s;
}
.sheet.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease-out); }
.sheet-access { background: var(--bg-2); border-radius: 20px; padding: 18px 18px 8px; margin: 8px 0 28px; }
.sheet-access h2 { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; letter-spacing: 0; }
.sheet-access a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.sheet-access a + a { box-shadow: inset 0 .5px 0 var(--line); }
.sheet-access a small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.sheet-access a svg { color: var(--ink-3); flex: none; }
.sheet-nav a { display: block; padding: 12px 0; font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.sheet .btn { width: 100%; margin-top: 28px; }
.sheet-secondary { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--ink-2); }
.sheet-secondary a { padding: 6px 0; }

.nav-main a, .nav-access a, .nav-access .label { white-space: nowrap; }
@media (max-width: 1340px) {
  .header .wrap { gap: 16px; }
  .nav-main a { padding: 8px 9px; }
  .nav-access .label { display: none; }
}
/* Tablet: menu vira botão, mas Portal e BI continuam visíveis no topo */
@media (max-width: 1199px) {
  .nav-main, .header .btn-cta { display: none; }
  .nav-access { margin-left: auto; }
  .menu-btn { display: inline-flex; flex-direction: column; }
}
/* Celular: Portal e BI ficam no topo do menu (Área do Cliente) */
@media (max-width: 639px) {
  .nav-access { display: none; }
  .menu-btn { margin-left: auto; }
}
@media (min-width: 1200px) { .sheet { display: none; } }

/* ───────────── Seções ───────────── */
section { position: relative; }
.section { padding-block: var(--section); }
.dark { background: var(--dark); color: var(--on-dark); }
.tint { background: var(--bg-2); }

/* Hero */
.hero { padding-top: calc(var(--header-h) + clamp(72px, 12vw, 150px)); padding-bottom: clamp(64px, 8vw, 110px); }
.hero .eyebrow { margin-bottom: 26px; }
.hero .display .soft { color: var(--ink-3); }
.hero .lead { margin-top: 30px; max-width: 40ch; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 40px; }
.hero-viz { margin-top: clamp(64px, 9vw, 120px); }

/* Gráfico do hero: custo sem gestão x com gestão */
.viz {
  position: relative; border-radius: 28px; background: var(--bg-2); overflow: hidden;
  padding: clamp(20px, 3vw, 36px);
}
.viz-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.viz-title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.viz-sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--ink-2); }
.legend i { display: inline-block; width: 18px; height: 2px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.legend .l1 i { background: var(--ink-3); }
.legend .l2 i { background: var(--navy); height: 3px; }
.viz svg { width: 100%; height: auto; margin-top: 20px; overflow: visible; }
.viz .grid line { stroke: rgb(0 0 0 / .06); stroke-width: 1; }
.viz .axis text { font-size: 12px; fill: var(--ink-3); font-family: var(--font); }
.viz .line-a { fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-dasharray: 4 6; }
.viz .line-b { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.viz .area-b { fill: url(#gradB); }
.viz .dot { fill: var(--navy); }
.viz .dot-halo { fill: var(--navy); opacity: .15; }
.viz .tag { font-size: 12px; font-weight: 600; fill: var(--navy-ink); font-family: var(--font); }
.viz-note { font-size: 12px; color: var(--ink-2); margin-top: 14px; }

/* Desenho das linhas */
.draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.in .draw { animation: draw 1.8s var(--ease-out) .2s forwards; }
.in .line-a.draw { animation-duration: 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fade-late { opacity: 0; transition: opacity .6s var(--ease) 1.6s; }
.in .fade-late { opacity: 1; }

/* Problema */
.statement .h2 + .h2 { margin-top: .1em; }
.statement .h2.soft { color: var(--ink-3); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); margin-top: clamp(72px, 10vw, 140px); align-items: start; }
.cost-bar { margin-top: 36px; }
.cost-bar .bar { display: flex; height: 64px; border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.cost-bar .seg-a { width: 0; background: var(--ink); transition: width 1s var(--ease-out) .2s; }
.cost-bar .seg-b { flex: 1; background: repeating-linear-gradient(90deg, var(--navy-soft) 0 2px, transparent 2px 10px); }
.in .cost-bar .seg-a { width: 12%; }
.cost-bar .bar-labels { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.cost-bar .bar-labels b { color: var(--ink); font-weight: 600; }
.factors { display: grid; grid-template-columns: 1fr 1fr; }
.factors li {
  padding: 18px 0; font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.025em;
  box-shadow: inset 0 -.5px 0 var(--line); display: flex; align-items: baseline; gap: 12px;
}
.factors li span { font-size: 13px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; letter-spacing: 0; width: 22px; flex: none; }

/* Como pensa */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 4px; margin-top: clamp(48px, 6vw, 80px); }
.flow li { display: flex; align-items: center; gap: 4px; }
.flow .step {
  font-size: clamp(22px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.03em; color: var(--ink-3);
  transition: color .5s var(--ease);
}
.flow .arrow { color: var(--ink-3); width: 28px; height: 20px; flex: none; }
.flow li.lit .step { color: var(--ink); }
.flow li.final .step { color: var(--navy-ink); }
.think-foot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(56px, 7vw, 96px); padding-top: 32px; box-shadow: inset 0 .5px 0 var(--line); }
.think-foot h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }

/* Método */
.method { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.method-aside { position: sticky; top: calc(var(--header-h) + 56px); }
.method-aside .lead { margin-top: 24px; }
.method-progress { margin-top: 40px; display: flex; gap: 6px; }
.method-progress i { height: 3px; flex: 1; border-radius: 3px; background: var(--on-dark-line); transition: background .4s var(--ease); }
.method-progress i.on { background: var(--navy-on-dark); }
.steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 8px 28px; padding: clamp(28px, 4vw, 48px) 0;
  box-shadow: inset 0 -.5px 0 var(--on-dark-line); opacity: .32; transition: opacity .5s var(--ease);
}
.steps li.on { opacity: 1; }
.steps li:first-child { padding-top: 0; }
.steps .n { font-size: clamp(44px, 5vw, 72px); line-height: 1; font-weight: 600; letter-spacing: -.05em; color: var(--navy-on-dark); font-variant-numeric: tabular-nums; grid-row: span 2; }
.steps h3 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.steps p { color: var(--on-dark-2); font-size: 18px; max-width: 42ch; }

/* Resultados */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 64px); margin-top: clamp(56px, 7vw, 96px); }
.stat { padding-top: 24px; box-shadow: inset 0 .5px 0 var(--line); }
.stat .big { font-size: clamp(64px, 9vw, 128px); line-height: .95; font-weight: 600; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.stat .big small { font-size: .42em; letter-spacing: -.03em; color: var(--ink-3); margin-left: .06em; }
.stat p { margin-top: 16px; color: var(--ink-2); max-width: 30ch; }
.stat p b { color: var(--ink); font-weight: 600; }
.disclaimer { margin-top: 48px; font-size: 13px; line-height: 1.5; color: var(--ink-2); max-width: 80ch; }

/* Gestão contínua */
.timeline { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: clamp(56px, 7vw, 96px); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--on-dark-line); }
.timeline .fill { position: absolute; left: 0; top: 7px; height: 1px; width: 0; background: var(--navy-on-dark); transition: width 1.6s var(--ease-out) .2s; }
.in .timeline .fill { width: 100%; }
.phase { position: relative; padding-top: 40px; padding-right: 32px; }
.phase::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--dark); box-shadow: inset 0 0 0 2px var(--navy-on-dark); }
.phase.main::before { background: var(--navy-on-dark); }
.phase h3 { font-size: 15px; font-weight: 600; color: var(--on-dark-2); letter-spacing: 0; }
.phase .t { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.025em; margin-top: 6px; }
.phase ul { margin-top: 18px; display: grid; gap: 8px; color: var(--on-dark-2); }
.phase.main .t { color: var(--on-dark); }

/* Tecnologia */
.tech { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.tech-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 40px; }
.tech-list li { padding: 14px 0; box-shadow: inset 0 -.5px 0 var(--line); }
.tech-list b { display: block; font-weight: 600; letter-spacing: -.01em; }
.tech-list span { font-size: 15px; color: var(--ink-2); }

.mock {
  border-radius: 24px; background: #fff; padding: 18px;
  box-shadow: 0 1px 2px rgb(0 0 0/.04), 0 8px 24px rgb(0 0 0/.06), 0 40px 80px rgb(0 0 0/.10);
  transform: perspective(1600px) rotateX(6deg) translateY(24px); opacity: 0;
  transition: transform 1.2s var(--ease-out), opacity .8s var(--ease);
}
.in .mock { transform: none; opacity: 1; }
.mock-top { display: flex; align-items: center; gap: 8px; padding: 2px 4px 14px; box-shadow: inset 0 -.5px 0 var(--line); }
.mock-top .dots { display: flex; gap: 6px; }
.mock-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: #E5E5EA; }
.mock-top .t { margin-left: 10px; font-size: 13px; font-weight: 600; }
.mock-top .pill { margin-left: auto; font-size: 12px; color: var(--ink-2); background: var(--bg-2); padding: 5px 10px; border-radius: 999px; }
.mock-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; padding-top: 14px; }
.tile { background: var(--bg-2); border-radius: 16px; padding: 16px; }
.tile .k { font-size: 12px; color: var(--ink-2); }
.tile .v { font-size: 30px; font-weight: 600; letter-spacing: -.035em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.tile .v small { font-size: 14px; color: var(--ink-2); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.tile .delta { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #E8F5EC; color: #1E6B34; margin-top: 4px; }
.tile.span { grid-row: span 2; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 132px; margin-top: 14px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--navy); opacity: .9; height: 0; transition: height .9s var(--ease-out); }
.bars i.over { background: var(--ink-3); }
.bars-x { display: flex; gap: 7px; margin-top: 6px; }
.bars-x span { flex: 1; text-align: center; font-size: 10px; color: var(--ink-3); }
.rows { margin-top: 8px; }
.rows li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 13px; box-shadow: inset 0 -.5px 0 var(--line); }
.rows li:last-child { box-shadow: none; }
.status { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.status.ok { background: #E8F5EC; color: #1E6B34; }
.status.wait { background: #FFF3E0; color: #8A4B00; }
.status.new { background: var(--navy-soft); color: var(--navy-ink); }
.mock-cap { font-size: 12px; color: var(--ink-2); margin-top: 14px; text-align: center; }

/* Financeiro + RH */
.split { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(56px, 7vw, 96px); }
.side { padding: clamp(28px, 4vw, 56px) clamp(0px, 4vw, 56px) clamp(28px, 4vw, 56px) 0; }
.side + .side { padding-left: clamp(28px, 4vw, 56px); padding-right: 0; box-shadow: inset .5px 0 0 var(--line); }
.side .who { font-size: 15px; font-weight: 600; color: var(--navy-ink); }
.side .h3 { margin-top: 10px; }
.side ul { margin-top: 28px; }
.side li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; box-shadow: inset 0 -.5px 0 var(--line); font-size: 18px; letter-spacing: -.01em; }
.side li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); flex: none; transform: translateY(-3px); }
.split-foot { text-align: center; margin-top: clamp(48px, 6vw, 80px); }

/* Operadoras */
.market { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.brands { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; box-shadow: inset 0 .5px 0 var(--line); }
.brands li { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.02em; color: var(--ink-3); transition: color .3s; }
.brands li:hover { color: var(--ink); }
.brands-note { font-size: 13px; color: var(--ink-2); margin-top: 20px; }

/* Cases */
.cases { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 0; }
.case { padding: clamp(28px, 4vw, 48px) 0; box-shadow: inset 0 .5px 0 var(--line); display: grid; grid-template-columns: 4fr 8fr; gap: 24px clamp(32px, 5vw, 80px); }
.case .who { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.025em; }
.case .who small { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-top: 6px; }
.case ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case ol li h4 { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.case ol li p { margin-top: 8px; font-size: 15px; line-height: 1.45; }
.case ol li:last-child p { color: var(--navy-ink); font-weight: 600; }
.badge-validar { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; background: #FFF3E0; color: #8A4B00; vertical-align: middle; }

/* Sobre */
.about { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about .body p + p { margin-top: 18px; }
.pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pillars li { font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: var(--bg-2); }
.facts { display: grid; gap: 0; }
.facts li { padding: 22px 0; box-shadow: inset 0 -.5px 0 var(--line); }
.facts li:first-child { box-shadow: inset 0 .5px 0 var(--line), inset 0 -.5px 0 var(--line); }
.facts .v { font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.facts .k { color: var(--ink-2); margin-top: 6px; font-size: 15px; }

/* CTA + formulário */
.cta-final { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.cta-final .lead { margin-top: 24px; max-width: 32ch; }
.contact-alt { margin-top: 40px; display: grid; gap: 4px; color: var(--on-dark-2); font-size: 15px; }
.contact-alt a { color: var(--on-dark); font-weight: 500; }
.form { background: var(--dark-3); border-radius: 28px; padding: clamp(24px, 3vw, 40px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field legend { font-size: 13px; font-weight: 500; color: var(--on-dark-2); padding: 0; }
.field input {
  height: 50px; border-radius: 14px; border: 0; padding: 0 16px; font: 16px var(--font);
  background: #2C2C2E; color: var(--on-dark); box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .06);
  transition: box-shadow .2s;
}
.field input::placeholder { color: #6E6E73; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--navy-on-dark); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #FF6961; }
.field .err { font-size: 13px; color: #FF8A84; min-height: 0; }
fieldset.field { border: 0; margin: 0 0 18px; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: #2C2C2E; margin-top: 6px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 10px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--on-dark-2); text-align: center; transition: background .2s, color .2s;
}
.seg input:checked + label { background: #48484A; color: #fff; box-shadow: 0 1px 3px rgb(0 0 0/.3); }
.seg input:focus-visible + label { outline: 3px solid var(--navy-on-dark); outline-offset: 1px; }
.form .btn { width: 100%; margin-top: 8px; }
.form-note { font-size: 12px; color: #8E8E93; margin-top: 14px; line-height: 1.5; }
.form-ok { display: none; text-align: left; }
.form.sent form { display: none; }
.form.sent .form-ok { display: block; }
.form-ok .h3 { margin-bottom: 10px; }

/* Rodapé */
.footer { background: var(--bg-2); padding: 72px 0 40px; font-size: 14px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-grid h2 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; letter-spacing: 0; }
.foot-grid li { padding: 5px 0; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-access a { color: var(--ink); font-weight: 600; }
.foot-brand img { height: 28px; width: auto; margin-bottom: 16px; }
.foot-bottom { margin-top: 56px; padding-top: 20px; box-shadow: inset 0 .5px 0 var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; }

/* Faixa DEV */
.dev-flag {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 60;
  display: flex; gap: 10px; align-items: center; padding: 8px 8px 8px 14px; border-radius: 999px;
  background: rgb(28 28 30 / .86); color: #fff; font-size: 12px; font-weight: 500;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 8px 24px rgb(0 0 0/.18);
  white-space: nowrap;
}
.dev-flag a { background: rgb(255 255 255 / .16); padding: 5px 10px; border-radius: 999px; font-weight: 600; }

/* ───────────── Revelação ───────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .mock { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
  .fade-late { opacity: 1; }
  .steps li { opacity: 1; }
}

/* ───────────── Responsivo ───────────── */
@media (max-width: 900px) {
  .problem-grid, .think-foot, .method, .tech, .market, .about, .cta-final { grid-template-columns: 1fr; }
  .method-aside { position: static; }
  .method-progress { display: none; }
  .steps li { opacity: 1; }
  .stats { grid-template-columns: 1fr; gap: 8px; }
  .stat { padding-block: 24px 28px; }
  .timeline { grid-template-columns: 1fr; gap: 36px; }
  .timeline::before, .timeline .fill { display: none; }
  .phase { padding-top: 0; padding-left: 32px; }
  .phase::before { top: 6px; }
  .split { grid-template-columns: 1fr; }
  .side, .side + .side { padding: 32px 0; box-shadow: inset 0 .5px 0 var(--line); }
  .case { grid-template-columns: 1fr; }
  .case ol { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .tech-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .factors { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .seg { grid-template-columns: repeat(3, 1fr); }
  .case ol { grid-template-columns: 1fr; }
  .mock-grid { grid-template-columns: 1fr; }
  .tile.span { grid-row: auto; }
  .ctas .btn-primary { width: 100%; }
  .dev-flag { left: 16px; right: 16px; transform: none; justify-content: space-between; }
  .flow .step { font-size: 24px; }
  .legend { width: 100%; }
}
