/* Stratia Core: pessoas, processos e gestão.
   Marca: marinho, petróleo e ouro do logo. O "fio com nó" do símbolo é o elemento estrutural da página.
   Animações ficam sob .motion (só existe quando a pessoa não pediu movimento reduzido). */

:root {
  --ink: #0D1D2C;
  --ink-2: #14283A;
  --teal: #1D5F6B;
  --teal-deep: #123F49;
  --gold: #C9A24E;
  --gold-light: #E3C680;
  --paper: #F2F4F3;
  --white: #FFFFFF;
  --muted: #53616C;
  --line: #D5DCDB;
  --field: #C9D3D2;
  --danger: #A63A2B;

  --r-btn: 2px;
  --r-field: 3px;
  --r-card: 6px;
  --r-band: 10px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 48px);
  --nav-h: 72px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E");
  --wash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='700' preserveAspectRatio='none'%3E%3Cfilter id='w' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0022 .009' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .76 0 0 0 0 .78 0 0 0 .22 -.06'/%3E%3C/filter%3E%3Crect width='1200' height='700' filter='url(%23w)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 580; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: var(--r-btn); background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip:focus { top: 12px; }

/* Rótulo de seção: fio de ouro terminado em nó, como os traços do símbolo */
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.8125rem; font-weight: 600; font-stretch: 122%; letter-spacing: 0.01em;
  color: var(--teal);
}
.wire { position: relative; flex: none; width: 30px; height: 1.5px; background: var(--gold); transform-origin: left center; }
.wire::after {
  content: ""; position: absolute; right: -4px; top: 50%;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold); transform: translateY(-50%);
}

/* Botões: cantos retos, painel que desliza, texto que rola e cantoneiras douradas (Motion Button, Frame Button e Text Roll do 21st) */
.btn {
  --bg: var(--ink); --fg: var(--paper); --sweep: var(--teal-deep); --edge: var(--ink);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border: 1px solid var(--edge); border-radius: var(--r-btn);
  background: var(--bg); color: var(--fg);
  font: 600 .96875rem/1 var(--font); font-stretch: 106%; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: color .4s var(--ease), border-color .4s var(--ease), transform .15s;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--sweep); transform: scaleX(0); transform-origin: right center; transition: transform .55s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: -5px; pointer-events: none; opacity: 0;
  transition: inset .4s var(--ease-out), opacity .25s;
  background:
    linear-gradient(var(--gold), var(--gold)) left top / 9px 1.5px,
    linear-gradient(var(--gold), var(--gold)) left top / 1.5px 9px,
    linear-gradient(var(--gold), var(--gold)) right top / 9px 1.5px,
    linear-gradient(var(--gold), var(--gold)) right top / 1.5px 9px,
    linear-gradient(var(--gold), var(--gold)) left bottom / 9px 1.5px,
    linear-gradient(var(--gold), var(--gold)) left bottom / 1.5px 9px,
    linear-gradient(var(--gold), var(--gold)) right bottom / 9px 1.5px,
    linear-gradient(var(--gold), var(--gold)) right bottom / 1.5px 9px;
  background-repeat: no-repeat;
}
.btn-t { display: block; height: 1.25em; line-height: 1.25em; overflow: hidden; }
.btn-t > span { display: block; text-shadow: 0 1.25em 0 currentColor; transition: transform .5s var(--ease); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { cursor: progress; }
.btn-ghost { --bg: transparent; --fg: var(--ink); --sweep: var(--ink); --edge: rgba(13, 29, 44, .3); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn-lg { min-height: 56px; padding: 0 30px; }
@media (hover: hover) {
  .btn:hover::before { transform: scaleX(1); transform-origin: left center; }
  .btn-ghost:hover { --fg: var(--paper); --edge: var(--ink); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover::after { inset: -8px; opacity: 1; }
  .btn:hover .btn-t > span { transform: translateY(-1.25em); }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .btn::before, .btn::after, .btn-t > span { transition: none; }
}
/* enviando: o painel vira um fio de ouro correndo na base do botão */
.btn.is-loading::before {
  top: auto; bottom: -1px; height: 2px; background: var(--gold);
  animation: loading 1.1s var(--ease) infinite;
}
@keyframes loading {
  0% { transform: scaleX(0); transform-origin: left center; }
  50% { transform: scaleX(1); transform-origin: left center; }
  50.1% { transform-origin: right center; }
  100% { transform: scaleX(0); transform-origin: right center; }
}

/* ---------- Navegação */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .35s, box-shadow .35s, color .35s;
}
.nav-in {
  display: flex; align-items: center; gap: 36px;
  max-width: var(--wrap); height: var(--nav-h); margin: 0 auto; padding: 0 var(--pad);
}
.nav.is-scrolled { background: rgba(242, 244, 243, .88); box-shadow: 0 1px 0 rgba(13, 29, 44, .08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav[data-tone="dark"] { color: var(--paper); }
.nav.is-scrolled[data-tone="dark"] { background: rgba(13, 29, 44, .78); box-shadow: 0 1px 0 rgba(242, 244, 243, .08); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-symbol { width: auto; height: 40px; }
.brand-word { position: relative; width: 118px; }
.wm-light { position: absolute; inset: 0; opacity: 0; }
.wm { transition: opacity .35s; }
.nav[data-tone="dark"] .wm-dark { opacity: 0; }
.nav[data-tone="dark"] .wm-light { opacity: 1; }
.brand-core {
  align-self: flex-start; margin-top: 11px;
  font-size: .6875rem; font-weight: 650; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); transition: color .35s;
}
.nav[data-tone="dark"] .brand-core { color: var(--gold-light); }

.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a, .nav-login {
  position: relative; padding: 6px 0; font-size: .9375rem; font-weight: 500; text-decoration: none; opacity: .82;
  transition: opacity .2s;
}
.nav-links a::after, .nav-login::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-login:hover { opacity: 1; }
.nav-links a:hover::after, .nav-login:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.btn-t > .cta-short { display: none; }
.nav[data-tone="dark"] .btn { --bg: var(--gold); --fg: var(--ink); --sweep: var(--gold-light); --edge: var(--gold); }

/* ---------- Abertura: hero + notebook
   Sem JS ou com movimento reduzido: fluxo normal, notebook já aberto no último quadro.
   Com .motion: cena fixa de 100svh; o script.js troca os quadros e move o notebook pela rolagem. */
.showcase {
  --W: min(96vw, 1100px);
  --s: 1; --y: calc(var(--W) * .5625 * .94 + 8px);
  --hero: 1; --head: 1; --desk: 0; --power: 1;
  position: relative;
}
.scene { position: relative; }

.hero {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 22px;
  max-width: var(--wrap); margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(28px, 7vh, 88px)) var(--pad) clamp(48px, 8vh, 96px);
}
.hero .kicker { grid-column: 1 / -1; }
.hero h1 {
  grid-column: 1 / span 8;
  font-size: clamp(2.5rem, 1rem + 4.4vw, 5.25rem); line-height: .98; font-weight: 560; font-stretch: 110%; letter-spacing: -0.03em;
}
.hero-side { grid-column: 9 / -1; align-self: end; display: grid; gap: 26px; }
.lead { max-width: 42ch; font-size: 1.125rem; line-height: 1.55; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.show-body { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.show-head { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); text-align: center; }
.show-head .kicker { justify-content: center; }
.show-head h2 { margin-top: 16px; font-size: clamp(1.75rem, 1rem + 2.2vw, 2.75rem); line-height: 1.05; font-stretch: 112%; }

.stage { position: relative; height: calc(var(--W) * .5625 * .94 + 24px); margin-top: 20px; }
.desk, .hint { display: none; }

/* O notebook: 9 quadros fotográficos alinhados (fechado, abrindo, carregando, dashboard) e o print real na tela */
.device {
  position: absolute; left: 50%; top: 0; width: var(--W); aspect-ratio: 16 / 9; isolation: isolate;
  transform-origin: 50% 94%;
  transform: translate(-50%, calc(var(--y) - 94%)) scale(var(--s));
}
/* plus-lighter: a troca entre dois quadros é uma fusão exata (sem clarear no meio nem deixar fantasma) */
.frame { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; mix-blend-mode: plus-lighter; }
.frame-end { opacity: 1; }
.screen-ui { position: absolute; left: 19.74%; top: 12.86%; width: 60.55%; height: 61.53%; object-fit: cover; border-radius: 2px; }
.glow { /* luz da tela no ambiente */
  position: absolute; left: 50%; top: var(--glow-y, 45%); width: min(1500px, 125vw); aspect-ratio: 2 / 1;
  background: radial-gradient(closest-side, rgba(29, 95, 107, .18), rgba(29, 95, 107, .06) 50%, transparent 75%);
  transform: translate(-50%, -50%); opacity: var(--power); pointer-events: none;
}

/* Anotações: os números ligados ao ponto do sistema onde acontecem */
.notes {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px;
  max-width: var(--wrap); margin: 8px auto 0; padding: 0 var(--pad);
}
.note strong { display: block; font-size: clamp(1.5rem, .9rem + 1vw, 1.875rem); font-weight: 560; font-stretch: 112%; line-height: 1; letter-spacing: -0.02em; }
.note span { display: block; max-width: 24ch; margin-top: 8px; font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.note strong span { display: inline; margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.leaders { display: none; }
@media (min-width: 900px) {
  .notes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Cena com rolagem */
.motion .showcase { --s: .5; --hero: 1; --head: 0; --desk: 1; --power: 0; height: 340vh; }
.motion .scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.motion .hero {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  opacity: var(--hero); transform: translateY(calc((1 - var(--hero)) * -40px));
}
.motion .hero-gone .hero { visibility: hidden; }
.motion .show-body { position: absolute; inset: 0; z-index: 1; padding: 0; }
.motion .show-head {
  position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + clamp(8px, 2.5vh, 28px));
  opacity: var(--head); transform: translateY(calc((1 - var(--head)) * 14px));
}
.motion .stage { position: absolute; inset: 0; height: auto; margin: 0; visibility: hidden; }
.motion .is-ready .stage { visibility: visible; }
.motion .frame, .motion .screen-ui { opacity: 0; }
.motion .device { will-change: transform; }
.motion .desk {
  display: block; position: absolute; left: var(--pad); right: var(--pad); top: var(--desk-y, 80%); height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold) 14%, var(--gold) 86%, transparent);
  opacity: var(--desk); transform: scaleX(0); transition: transform 1.3s var(--ease-out) .15s;
}
.motion:not(.intro-hold) .is-ready .desk { transform: scaleX(1); }
.motion .hint {
  display: block; position: absolute; left: 0; right: 0; top: calc(var(--desk-y, 80%) + 20px);
  text-align: center; font-size: .8125rem; font-stretch: 118%; font-weight: 550; color: var(--muted); opacity: var(--desk);
}
.motion .notes { position: absolute; left: 0; right: 0; top: var(--notes-y, 70%); margin: 0 auto; }
.motion .note { opacity: var(--n, 0); transform: translateY(calc((1 - var(--n, 0)) * 10px)); }

@media (min-width: 1100px) {
  .showcase { --W: min(calc((100vw - 600px) / .628), calc((100svh - 220px) / .4736), 1500px); }
  .motion .notes { display: block; position: static; max-width: none; padding: 0; }
  .motion .note { position: absolute; top: var(--ny); width: min(230px, calc(var(--lid-l) - var(--pad) - 40px)); }
  .motion .note[data-side="left"] { right: calc(100% - var(--lid-l) + 40px); text-align: right; }
  .motion .note[data-side="left"] > span { margin-left: auto; }
  .motion .note[data-side="right"] { left: calc(var(--lid-r) + 40px); }
  .motion .leaders { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  .leaders path { fill: none; stroke: var(--gold); stroke-width: 1.25; }
  .leaders .beam { stroke-width: 3; stroke-linecap: round; stroke-dasharray: .035 1; stroke-dashoffset: .035; opacity: 0; }
  .notes-on .leaders .beam { opacity: 1; animation: beam 3.4s linear infinite; }
  .leaders .end { fill: var(--gold); }
  .leaders .ring { fill: var(--white); stroke: var(--gold); stroke-width: 1.5; }
}
@keyframes beam { to { stroke-dashoffset: -1; } }

/* ---------- Revelações (Text Reveal com máscara, do 21st) */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em 0 .16em; margin: -.12em 0 -.16em; }
[data-split] .w > span { display: inline-block; }
.motion [data-reveal] [data-split] .w > span { transform: translateY(112%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms + 60ms); }
.motion [data-reveal].in [data-split] .w > span { transform: none; }
.motion [data-reveal] .wire { transform: scaleX(0); transition: transform .9s var(--ease-out); }
.motion [data-reveal] .wire::after { transform: translateY(-50%) scale(0); transition: transform .45s var(--ease-out) .55s; }
.motion [data-reveal].in .wire { transform: none; }
.motion [data-reveal].in .wire::after { transform: translateY(-50%) scale(1); }
.motion .hero .lead, .motion .hero .actions, .motion .sec-intro, .motion .demo-lead, .motion .steps, .motion .gestao-mods {
  opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease-out) .45s, transform 1s var(--ease-out) .45s;
}
.motion .hero .actions { transition-delay: .6s; }
.motion .in .lead, .motion .in .actions, .motion .in .sec-intro, .motion .in .demo-lead, .motion .in .steps, .motion .in .gestao-mods { opacity: 1; transform: none; }
.motion:not(.intro-hold) .is-ready .device { animation: settle 1.2s var(--ease-out) both .2s; }
@keyframes settle { from { opacity: 0; } }

/* ---------- Jornada do colaborador (módulos) */
.journey { padding: clamp(96px, 13vw, 176px) 0 clamp(72px, 9vw, 128px); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; margin-bottom: clamp(56px, 8vw, 112px); }
.sec-head .kicker { grid-column: 1 / -1; }
.sec-head h2 { grid-column: 1 / span 7; font-size: clamp(2rem, 1rem + 3vw, 3.5rem); line-height: 1.02; font-stretch: 110%; }
.sec-intro { grid-column: 9 / -1; align-self: end; max-width: 40ch; font-size: 1.125rem; color: var(--muted); }

.stages-wrap { --fill: 1; position: relative; }
.stages { position: relative; list-style: none; }
.stages::before, .stages::after { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 1.5px; background: var(--line); }
.stages::after { background: var(--gold); transform-origin: top; transform: scaleY(var(--fill)); }
.thread-tip { /* ponta de luz do fio (Animated Beam) */
  position: absolute; z-index: 2; left: 2.75px; top: calc(14px + (100% - 28px) * var(--fill));
  width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201, 162, 78, .2), 0 0 22px 4px rgba(201, 162, 78, .55);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.motion .stages-wrap.is-tracking .thread-tip { opacity: 1; }
.stage-row { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 24px; padding-bottom: clamp(56px, 7vw, 104px); }
.stage-row:last-child { padding-bottom: 0; }
.stage-mark { position: relative; z-index: 1; padding-left: 44px; }
.stage-mark::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--gold); background: var(--gold); transition: background-color .3s, transform .4s var(--ease-out);
}
.motion .stage-row { transition: opacity .6s var(--ease-out); }
.motion .stage-row:not(.is-past) { opacity: .35; }
.motion .stage-row:not(.is-past) .stage-mark::before { background: var(--paper); transform: scale(.8); }
.stage-name { display: block; font-size: 1.375rem; line-height: 1.2; font-weight: 600; font-stretch: 114%; letter-spacing: -0.01em; }
.stage-sub { display: block; margin-top: 4px; font-size: .9375rem; color: var(--muted); }
.stage-body { display: grid; gap: 32px; align-content: start; }
.mod h3 { font-size: clamp(1.375rem, 1.05rem + .7vw, 1.75rem); line-height: 1.15; font-weight: 580; font-stretch: 106%; }
.mod p { max-width: 60ch; margin-top: 12px; color: var(--muted); }
.mod-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }

/* Vinheta: um trecho real de tela, com pessoas */
.vignette {
  margin: 0; max-width: 680px; padding: 8px; border-radius: var(--r-card); overflow-x: auto;
  background: var(--white); border: 1px solid #E1E7E6; box-shadow: 0 30px 60px -40px rgba(13, 29, 44, .35);
}
.alert {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-field);
  background: #FBF6EA; color: #6A5220; font-size: .9375rem; font-weight: 500; line-height: 1.4;
}
.pulse { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.motion .pulse { animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(201, 162, 78, .6); } 80%, 100% { box-shadow: 0 0 0 11px rgba(201, 162, 78, 0); } }
.people { width: 100%; margin-top: 4px; border-collapse: collapse; font-size: .9375rem; }
.people th { padding: 12px 14px 8px; text-align: left; font-size: .75rem; font-weight: 600; font-stretch: 115%; color: var(--muted); }
.people td { padding: 11px 14px; border-top: 1px solid #EDF1F0; white-space: nowrap; }
.people td:first-child { display: flex; align-items: center; gap: 12px; font-weight: 550; }
.motion .vignette tbody tr { opacity: 0; transform: translateX(-14px); transition: opacity .5s, transform .7s var(--ease-out); }
.motion .vignette.in tbody tr { opacity: 1; transform: none; }
.motion .vignette tbody tr:nth-child(2) { transition-delay: .1s; }
.motion .vignette tbody tr:nth-child(3) { transition-delay: .2s; }
.motion .vignette tbody tr:nth-child(4) { transition-delay: .3s; }
.who small { display: none; }
.avatar {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: #E3EEEE; color: var(--teal); font-size: .75rem; font-weight: 650; font-stretch: 110%;
}
.tag { display: inline-block; padding: 4px 9px; border-radius: var(--r-field); font-size: .8125rem; font-weight: 600; }
.tag-soon { background: #F7EBCD; color: #6A5220; }
.tag-ok { background: #DDEEEC; color: #17555F; }
.tag-done { background: #E6EAF0; color: #2B3B4C; }

/* ---------- Gestão: plano pintado, como os painéis do símbolo */
.gestao { padding: 0 clamp(8px, 2vw, 24px); }
.gestao-in {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center;
  max-width: 1400px; margin: 0 auto; padding: clamp(40px, 7vw, 104px) clamp(24px, 6vw, 96px);
  border-radius: var(--r-band); overflow: hidden; color: var(--paper);
  background: var(--grain), var(--wash) center / cover no-repeat, linear-gradient(128deg, #1B5663 0%, #123F49 48%, #0E2F38 100%);
}
.gestao-in::before { /* fio de ouro atravessando o plano */
  content: ""; position: absolute; left: 0; right: 0; top: clamp(24px, 3vw, 40px); height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 78, .7) 10%, rgba(201, 162, 78, .7) 90%, transparent);
}
.gestao-copy h2 { max-width: 16ch; font-size: clamp(2rem, 1rem + 2.8vw, 3.25rem); line-height: 1.04; font-stretch: 110%; }
.gestao-mods { display: grid; gap: 28px; margin-top: clamp(32px, 4vw, 48px); }
.gestao .mod p { color: rgba(242, 244, 243, .76); }

.panel { margin: 0; padding: 22px; border-radius: var(--r-card); background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(3, 14, 18, .7); }
.motion .panel { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out) .15s, transform 1s var(--ease-out) .15s; }
.motion .panel.in { opacity: 1; transform: none; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .875rem; font-weight: 550; color: var(--muted); }
.panel-title { display: inline-flex; align-items: center; gap: 8px; }
.panel-title img { width: auto; height: 20px; }
.company { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-field); background: #FBF6EA; color: #6A5220; font-weight: 600; }
.company-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* seletor de empresas com indicador deslizante */
.switch { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; padding: 3px; border: 1px solid #D5DEDD; border-radius: var(--r-field); background: var(--white); }
.switch::before {
  content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 4);
  border-radius: 2px; background: var(--ink); transform: translateX(calc(var(--k, 0) * 100%)); transition: transform .5s var(--ease);
}
.switch button {
  position: relative; z-index: 1; min-height: 38px; padding: 0 8px; border: 0; border-radius: 2px; background: none;
  font: 550 .875rem/1 var(--font); font-stretch: 108%; color: var(--muted); cursor: pointer; transition: color .3s;
}
.switch button:hover { color: var(--ink); }
.switch button[aria-pressed="true"] { color: var(--paper); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0; }
.kpis div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 18px; border-radius: 4px; background: var(--white); border: 1px solid #E3E8E7; }
.kpis dt { font-size: .875rem; color: var(--muted); }
.kpis dd { margin: 0; font-size: clamp(2rem, 1.4rem + 1.4vw, 2.75rem); line-height: 1; font-weight: 560; font-stretch: 112%; letter-spacing: -0.02em; }
.kpis div:nth-child(2) dd { color: #9A7422; }
.kpis div:nth-child(3) dd { color: var(--teal); }
.panel-note { margin-top: 14px; font-size: .8125rem; color: var(--muted); }

/* ---------- Demonstração (formulário) */
.demo { padding: clamp(96px, 12vw, 168px) 0; }
.demo-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.demo-copy { position: sticky; top: calc(var(--nav-h) + 40px); }
.demo-copy h2 { margin-top: 20px; font-size: clamp(2rem, 1rem + 2.2vw, 2.875rem); line-height: 1.04; font-stretch: 110%; }
.demo-lead { max-width: 44ch; margin-top: 20px; font-size: 1.125rem; color: var(--muted); }
.steps { position: relative; display: grid; gap: 26px; margin-top: 44px; list-style: none; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 1.5px; background: var(--gold); }
.steps li { position: relative; display: grid; gap: 2px; padding-left: 48px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--gold); font-size: .8125rem; font-weight: 650; color: var(--ink);
}
.steps strong { font-weight: 600; font-stretch: 108%; }
.steps span { font-size: .9375rem; color: var(--muted); }

.form-card {
  position: relative; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-card);
  background: var(--white); border: 1px solid #E1E7E6;
  box-shadow: 0 1px 0 rgba(13, 29, 44, .04), 0 40px 80px -48px rgba(13, 29, 44, .4);
}
.form-card::before { /* fio de ouro no topo do cartão */
  content: ""; position: absolute; left: -1px; top: -1px; width: 96px; height: 2px; background: var(--gold);
}
.lead-form { display: grid; gap: 28px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field-full { grid-column: 1 / -1; }
.field label, .choice legend { display: block; margin-bottom: 8px; font-size: .9375rem; font-weight: 580; }
.opt { margin-left: 6px; font-size: .8125rem; font-weight: 400; color: var(--muted); }
.lead-form input:not([type="radio"], [type="checkbox"]), .lead-form select, .lead-form textarea {
  width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid var(--field); border-radius: var(--r-field);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.lead-form select {
  appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.lead-form textarea { min-height: 104px; resize: vertical; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #8A969F; }
.lead-form input:hover, .lead-form select:hover, .lead-form textarea:hover { border-color: #9DAEAF; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--teal); background-color: var(--white); box-shadow: 0 0 0 3px rgba(29, 95, 107, .18); }
.lead-form [aria-invalid="true"] { border-color: var(--danger); }
.err { margin-top: 6px; font-size: .875rem; color: var(--danger); }
.err:empty { display: none; }

.choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--field); border-radius: var(--r-field);
  background: var(--paper); font-size: .9375rem; transition: background-color .2s, border-color .2s, color .2s;
}
.chip span::before { content: ""; width: 0; height: 7px; border-radius: 50%; background: var(--gold); transition: width .2s var(--ease-out), margin .2s var(--ease-out); }
.chip:hover span { border-color: #9DAEAF; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:checked + span::before { width: 7px; margin-right: 9px; }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.choice.is-invalid .chip span { border-color: var(--danger); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.privacy { font-size: .875rem; color: var(--muted); }
.form-status { font-size: .9375rem; font-weight: 550; color: var(--danger); }
.form-status:empty { display: none; }

.form-done { display: grid; justify-items: start; gap: 16px; padding: clamp(8px, 2vw, 24px) 0; }
.form-done:focus { outline: none; }
.form-done h3 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.25rem); font-stretch: 110%; }
.form-done p { max-width: 46ch; color: var(--muted); }
.form-done .btn { margin-top: 8px; }
.done-mark { position: relative; width: 64px; height: 1.5px; margin: 10px 0 6px; background: var(--gold); transform-origin: left center; }
.done-mark::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }
.motion .form-done:not([hidden]) .done-mark { animation: draw .8s var(--ease-out) both; }
.motion .form-done:not([hidden]) .done-mark::after { animation: pop .5s var(--ease-out) .55s both; }
.motion .form-done:not([hidden]) > :not(.done-mark) { animation: rise .8s var(--ease-out) both .25s; }
@keyframes draw { from { transform: scaleX(0); } }
@keyframes pop { from { transform: translateY(-50%) scale(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Rodapé */
.foot { padding: 80px 0 40px; background: var(--ink); color: rgba(242, 244, 243, .72); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 40px 24px; align-items: end; }
.foot-brand img { width: 220px; }
.foot-brand p { margin-top: 18px; color: var(--paper); font-stretch: 108%; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.foot-links a { color: var(--paper); text-decoration: none; font-weight: 500; }
.foot-links a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.foot-legal { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(242, 244, 243, .12); font-size: .875rem; }

/* ---------- Responsivo */
@media (max-width: 1099px) {
  .showcase { --W: min(112vw, calc((100svh - 200px) / .4736)); }
  .hero h1 { grid-column: 1 / -1; }
  .hero-side { grid-column: 1 / span 9; }
  .sec-head h2 { grid-column: 1 / span 10; }
  .sec-intro { grid-column: 1 / span 8; }
}
@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-login { display: none; }
  .nav-actions { margin-left: auto; }
  .brand-symbol { height: 34px; }
  .brand-word { width: 96px; }
  .brand-core { margin-top: 8px; }
  .hero-side { grid-column: 1 / -1; }
  .stage-row { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .stage-body { padding-left: 44px; }
  .mod-pair { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .gestao-in { grid-template-columns: minmax(0, 1fr); }
  .demo-in { grid-template-columns: minmax(0, 1fr); }
  .demo-copy { position: static; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .brand-symbol { height: 30px; }
  .brand-word { width: 88px; }
  .brand-core { margin-top: 6px; font-size: .625rem; }
  .btn-t > .cta-long { display: none; }
  .btn-t > .cta-short { display: block; }
  .motion .showcase { height: 280vh; }
  .lead { font-size: 1.0625rem; }
  .actions .btn { flex: 1 1 100%; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .col-role, .col-date { display: none; }
  .stage-mark { padding-left: 36px; }
  .stage-body { padding-left: 36px; }
  .who { display: grid; }
  .who small { display: block; font-size: .8125rem; font-weight: 400; color: var(--muted); }
  .people td, .people th { padding-left: 10px; padding-right: 10px; }
  .people td:first-child { white-space: normal; }
  .kpis div { padding: 14px; }
  .form-foot .btn { width: 100%; }
}

/* ---------- Intro: sobrecarga de planilhas, respire, clareza e marca (roteiro em intro.js, com GSAP)
   Só aparece com .intro-on (JS ativo e sem movimento reduzido). O fundo claro final é o mesmo do hero. */
#intro { display: none; }
.intro-on #intro { display: block; position: fixed; inset: 0; z-index: 1000; overflow: hidden; color: var(--paper); }
.intro-lock, .intro-lock body { overflow: hidden; }
#intro > *, .i-chaos > * { position: absolute; }
.i-dark { inset: 0; background: radial-gradient(120% 90% at 50% 40%, #0B1A27 0%, #061019 55%, #03080D 100%); }
.i-chaos { inset: 0; }
.i-plate { inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.i-cluster { left: 50%; top: 50%; width: min(118vw, 1500px); max-width: none; opacity: 0; filter: blur(1px); }
.i-sheets { inset: 0; }
.i-sheets .sh { position: absolute; opacity: 0; will-change: transform, opacity; }
.i-sheets img { max-width: none; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.i-papers { left: 50%; top: 50%; width: min(125vw, 1600px); max-width: none; opacity: 0; will-change: transform, opacity; }
.i-papers-a { filter: blur(2.5px); }
.i-papers-b { filter: blur(.6px); }
.i-vignette { inset: 0; opacity: 0; background: radial-gradient(circle at var(--cx, 50%) var(--cy, 44%), rgba(3, 8, 13, .97) 0, rgba(3, 8, 13, .9) 24%, rgba(3, 8, 13, .55) 48%, rgba(3, 8, 13, .2) 72%); }

/* barra de progresso (Progressive Flux Loader do 21st, em dourado e petróleo) */
.i-loader {
  left: 50%; bottom: clamp(40px, 11vh, 110px); width: min(680px, 88vw);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; column-gap: clamp(10px, 1.4vw, 18px);
  opacity: 0;
}
.i-emblem { width: clamp(46px, 5vw, 64px); height: auto; overflow: visible; filter: drop-shadow(0 0 10px rgba(201, 162, 78, .35)); }
.i-orbit, .i-emblem-arc { transform-origin: 32px 32px; }
.i-orbit { animation: orbit 1.8s linear infinite; }
.i-emblem-arc { animation: orbit 3.4s linear infinite reverse; }
@keyframes orbit { to { transform: rotate(360deg); } }
.i-load-main { display: grid; gap: 10px; padding-bottom: 3px; }
.i-load-label { font-size: clamp(.875rem, .78rem + .35vw, 1.0625rem); font-weight: 500; font-stretch: 112%; letter-spacing: .08em; color: #E6ECEE; }
.i-bar { position: relative; height: 12px; border-radius: 6px; background: #051322; box-shadow: inset 0 0 0 1px rgba(201, 162, 78, .8), inset 0 2px 5px rgba(0, 0, 0, .6); }
.i-fill {
  position: absolute; inset: 2px; overflow: hidden; border-radius: 4px; transform-origin: left center; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, #0A4F5C, #168A9A 45%, #3CCAD8 85%, #9BF0F6); box-shadow: 0 0 16px rgba(60, 202, 216, .45);
}
.i-fill::after {
  content: ""; position: absolute; inset: 0; width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); mix-blend-mode: screen; animation: sheen 1.3s linear infinite;
}
@keyframes sheen { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
.i-tip {
  position: absolute; top: 50%; left: calc(2px + (100% - 4px) * var(--p, 0)); width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 0 16%, rgba(155, 240, 246, .9) 30%, rgba(60, 202, 216, 0) 70%); opacity: calc(var(--p, 0) * 12);
}
.i-pct {
  min-width: 4.2em; padding: 6px 10px; border-radius: 6px; text-align: center; font-size: .9375rem; font-weight: 500; font-stretch: 110%;
  background: #051322; box-shadow: inset 0 0 0 1px rgba(201, 162, 78, .8), 0 0 18px rgba(201, 162, 78, .2); color: #F2F4F3;
}

/* respire: o anel desenha, respira e vira a borda da luz que revela a tela clara */
.i-breathe { inset: 0; pointer-events: none; }
.i-bloom {
  position: absolute; left: var(--cx); top: var(--cy); width: 80vmax; height: 80vmax; margin: -40vmax 0 0 -40vmax; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 247, 228, .95), rgba(247, 226, 172, .45) 32%, rgba(201, 162, 78, .12) 58%, transparent 74%);
}
.i-breathe-text { position: absolute; left: 0; right: 0; top: calc(var(--cy) + var(--r0) + clamp(26px, 4.5vh, 44px)); display: grid; justify-items: center; gap: clamp(16px, 2.6vh, 24px); }
.i-word {
  padding-left: .72em; font-size: clamp(1.05rem, .75rem + 1.2vw, 1.625rem); font-weight: 300; font-stretch: 125%; letter-spacing: .72em;
  color: #F3EEE4; text-shadow: 0 0 22px rgba(255, 214, 150, .35);
}
.i-word span { display: inline-block; opacity: 0; }
.i-line { width: clamp(90px, 12vw, 170px); height: 1.5px; background: linear-gradient(90deg, transparent, #D9B560 20%, #D9B560 80%, transparent); transform: scaleX(0); }
.i-clarity { inset: 0; background: var(--paper); -webkit-mask-image: radial-gradient(circle, #000 0, transparent 0); mask-image: radial-gradient(circle, #000 0, transparent 0); }
.i-halo { inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.i-ring { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; filter: drop-shadow(0 0 6px rgba(240, 200, 110, .6)) drop-shadow(0 0 24px rgba(201, 162, 78, .35)); }
.i-glint { stroke-dasharray: .07 1; opacity: 0; filter: drop-shadow(0 0 8px #FFE7A8); }

/* marca sobre a tela clara (composição da peça "Mais clareza para quem faz a diferença") */
.i-brand { inset: 0; display: grid; place-content: center; justify-items: center; gap: clamp(18px, 3.2vh, 32px); padding: 0 16px; text-align: center; color: var(--ink); visibility: hidden; }
.i-lockup { position: relative; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.i-symbol { width: auto; height: clamp(84px, 17vh, 176px); opacity: 0; }
.i-name { display: grid; gap: clamp(10px, 1.8vh, 18px); width: clamp(190px, 33vw, 560px); }
.i-wordmark { width: 100%; height: auto; opacity: 0; }
.i-rule { display: flex; align-items: center; gap: clamp(6px, .8vw, 12px); }
.i-rule i { flex: 1; height: 2px; border-radius: 1px; background: linear-gradient(90deg, #B07A20, #DDB862 50%, #B58427); transform: scaleX(0); }
.i-rule-l { transform-origin: right center; }
.i-rule-r { transform-origin: left center; }
.i-rule b, .i-pin b {
  flex: none; width: clamp(9px, 1vw, 14px); aspect-ratio: 1; border-radius: 50%; transform: scale(0);
  background: radial-gradient(circle at 35% 30%, #FFF4CF 0 10%, #E7BF5E 38%, #A6701C 78%, #7A4E12); box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.i-tagline { position: relative; font-size: clamp(.98rem, .8rem + .75vw, 1.5rem); font-weight: 450; font-stretch: 108%; letter-spacing: .12em; color: var(--ink); }
.i-tagline .w { display: inline-block; opacity: 0; }
.i-control {
  position: relative; margin-top: clamp(4px, 1.5vh, 16px); padding-left: .62em; opacity: 0;
  font-size: clamp(.7rem, .6rem + .3vw, .875rem); font-weight: 520; font-stretch: 125%; letter-spacing: .62em; text-transform: uppercase; color: var(--ink);
}
.i-corner { position: absolute; width: clamp(200px, 34vw, 560px); height: auto; overflow: hidden; }
.i-tl { left: 0; top: 0; }
.i-br { right: 0; bottom: 0; }
.i-disc { fill: #F7F8F7; opacity: 0; filter: drop-shadow(0 18px 30px rgba(13, 29, 44, .08)); }
.i-arc { fill: none; stroke: url(#ig-halo); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.i-arc-thin { stroke-width: 1.6; opacity: .75; }
.i-pin { position: absolute; display: flex; flex-direction: column; align-items: center; }
.i-pin i { flex: 1; width: 1.5px; background: linear-gradient(#B58427, #E3BE62, #B07A20); transform: scaleY(0); transform-origin: top center; }
.i-pin-tr { right: 4.6vw; top: 0; height: 28vh; }
.i-pin-l { left: 4.6vw; top: 53vh; bottom: 0; }

.i-skip {
  right: clamp(12px, 3vw, 32px); bottom: clamp(10px, 3vh, 28px); z-index: 5; padding: 10px 12px; border: 0; background: none; cursor: pointer;
  color: rgba(242, 244, 243, .55); font: 500 .8125rem/1 var(--font); font-stretch: 115%; letter-spacing: .04em; transition: color .3s;
}
.i-skip:hover { color: #FFFFFF; }
.intro-bright .i-skip { color: rgba(13, 29, 44, .5); }
.intro-bright .i-skip:hover { color: var(--ink); }
@media (max-width: 640px) {
  .i-loader { bottom: 16vh; }
  .i-pct { min-width: 3.6em; padding: 6px 8px; font-size: .8125rem; }
  .i-pin-tr { right: 6vw; height: 16vh; }
  .i-pin-l { left: 6vw; top: 70vh; }
}
