/* AI Trading: site institucional
   Paleta da marca: lime #E2FD6E, teal #31718A, slate #4D7189 (a mesma do sistema). */

:root {
  --ink: #0f1c22;
  --ink-2: #364650;
  --ink-3: #5d6d76;
  --ink-4: #8a989f;
  --line: #e3e9eb;

  --deep: #0e2a34;
  --deep-2: #143847;
  --deeper: #0a1e26;

  --teal: #31718a;
  --teal-2: #285d72;
  --slate: #4d7189;

  --lime: #e2fd6e;
  --lime-2: #d4f24f;
  --lime-50: #f8fee0;
  --lime-100: #f1fdc2;

  --mist: #eef6f8;
  --mist-2: #d6e9ee;
  --cream: #f9fbef;

  --display: 'Inter Tight', 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --body: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --frame: 16px;
  --wrap: 1180px;
  --pad: 40px;
  --r-xl: 36px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
::selection { background: var(--lime); color: var(--deeper); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--lime); }

.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--lime); color: var(--deeper); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.shell { margin: 0 var(--frame); border-radius: var(--r-xl); position: relative; overflow: hidden; isolation: isolate; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--display); margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(36px, 4.6vw, 60px); color: var(--deep); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-3); max-width: 560px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-2); background: var(--mist); border-radius: 999px; padding: 6px 12px;
}
.eyebrow.bare { background: none; padding: 0; }
.dark .eyebrow { color: var(--lime); background: rgb(226 253 110 / .1); }
.dark .eyebrow.bare { background: none; }
.on-lime .eyebrow { color: var(--deep); background: rgb(14 42 52 / .08); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ico.arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lime { background: var(--lime); color: var(--deeper); box-shadow: 0 0 0 1px rgb(14 42 52 / .06) inset; }
.btn-lime:hover { background: var(--lime-2); }
.btn-deep { background: var(--deep); color: #fff; }
.btn-deep:hover { background: var(--deep-2); }
.btn-ghost { border: 1px solid rgb(255 255 255 / .22); color: #fff; }
.btn-ghost:hover { border-color: rgb(255 255 255 / .5); background: rgb(255 255 255 / .04); }
.btn-line { border: 1px solid var(--line); color: var(--deep); background: #fff; }
.btn-line:hover { border-color: var(--teal); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.site-header .wrap { height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: var(--teal); }
.brand svg { height: 22px; width: auto; aspect-ratio: 5980 / 930; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { padding: 8px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--deep); background: var(--mist); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .link { font-size: 14.5px; font-weight: 600; color: var(--ink-2); padding: 8px 10px; }
.header-actions .link:hover { color: var(--teal); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; align-items: center; justify-content: center; margin-left: auto; color: var(--deep); }
.menu-btn:hover { background: var(--mist); }
.menu-btn .ico { width: 22px; height: 22px; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { background: var(--deeper); color: #fff; padding: 104px 0 56px; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(800px 420px at 92% -10%, rgb(49 113 138 / .55), transparent 60%),
    radial-gradient(640px 360px at -5% 110%, rgb(77 113 137 / .35), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.hero h1 {
  font-size: clamp(46px, 7.4vw, 96px);
  line-height: .96; letter-spacing: -0.048em; font-weight: 600;
  max-width: 12.5em; color: #fff;
}
.hero h1 .hl { color: var(--lime); display: block; }
.hero .lead { color: rgb(255 255 255 / .72); margin-top: 28px; max-width: 590px; font-size: 18.5px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .eyebrow { margin-bottom: 28px; }

/* Fluxo do hero */
.flow { position: relative; margin-top: 72px; display: grid; grid-template-columns: 1fr 1.1fr 1.25fr; align-items: center; column-gap: clamp(40px, 7vw, 110px); min-height: 280px; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.flow-lines path { fill: none; stroke-linecap: round; }
.flow-lines .base { stroke: rgb(226 253 110 / .28); stroke-width: 1.5; }
.flow-lines .pulse { stroke: var(--lime); stroke-width: 2; stroke-dasharray: 26 600; stroke-dashoffset: 626; animation: pulse 3.2s linear infinite; opacity: .9; }
.flow-lines .pulse.d1 { animation-delay: .6s; }
.flow-lines .pulse.d2 { animation-delay: 1.2s; }
.flow-lines .pulse.d3 { animation-delay: 1.8s; }
.flow-lines rect { fill: var(--lime); }
@keyframes pulse { to { stroke-dashoffset: 0; } }

.node { position: relative; z-index: 1; border-radius: var(--r-md); padding: 16px 18px; }
.node-src { background: #102a33; border: 1px solid rgb(255 255 255 / .12); max-width: 250px; justify-self: start; }
.node-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.node-title { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.node-sub { font-size: 13px; color: rgb(255 255 255 / .6); margin-top: 2px; }
.node-core { background: var(--mist); color: var(--deep); justify-self: center; width: 100%; max-width: 280px; box-shadow: 0 24px 60px -20px rgb(0 0 0 / .55); }
.node-core .node-label { color: var(--teal); }
.node-core .node-title { color: var(--deep); }
.bars { display: grid; gap: 7px; margin: 14px 0 14px; }
.bars span { height: 7px; border-radius: 99px; background: var(--mist-2); }
.bars span:nth-child(2) { width: 72%; }
.progress { height: 6px; border-radius: 99px; background: var(--mist-2); overflow: hidden; }
.progress i { display: block; height: 100%; width: 78%; border-radius: inherit; background: var(--teal); transform-origin: left; animation: grow 2.4s var(--ease) both .4s; }
@keyframes grow { from { transform: scaleX(.15); } }
.core-chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; background: #fff; border-radius: 10px; padding: 9px 12px; font-size: 13px; color: var(--ink-3); }
.core-chip b { color: var(--deep); font-weight: 700; }
.targets { display: grid; gap: 14px; justify-self: end; width: 100%; max-width: 330px; }
.node-target { display: flex; align-items: center; gap: 12px; background: #13303a; border: 1px solid rgb(255 255 255 / .1); padding: 12px 14px; }
.node-target .tick { width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; background: rgb(226 253 110 / .14); color: var(--lime); flex: none; }
.node-target .tick .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.node-target strong { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.node-target small { display: block; font-size: 12.5px; color: rgb(255 255 255 / .6); }
.node-target.done { background: var(--lime); color: var(--deeper); border-color: transparent; }
.node-target.done .tick { background: var(--deeper); color: var(--lime); }
.node-target.done small { color: rgb(10 30 38 / .7); }
.hero-foot { text-align: center; margin-top: 56px; font-size: 13.5px; color: rgb(255 255 255 / .55); }
.hero-foot span + span::before { content: '·'; margin: 0 10px; opacity: .7; }

/* ---------- Clientes ---------- */
.clients { padding: 72px 0 40px; text-align: center; }
.clients-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px clamp(40px, 7vw, 96px); margin-top: 32px; }
.logo-item { height: 64px; display: flex; align-items: center; justify-content: center; }
.logo-item img { height: var(--h, 40px); max-width: 220px; width: auto; object-fit: contain; opacity: .72; transition: opacity .25s; }
.logo-item:hover img { opacity: 1; }

/* ---------- Seções ---------- */
.section { padding: 112px 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 64px; align-items: end; margin-bottom: 56px; }
.section-head h2 { margin-top: 18px; }
.section-head .lead { justify-self: end; }
.section-head.stack { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.section-head.stack .lead { justify-self: start; margin-top: 4px; }

/* Serviços */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: #f3f7f8; border-radius: var(--r-lg); padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgb(14 42 52 / .35); }
.card-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--teal); box-shadow: 0 1px 2px rgb(15 28 34 / .06); }
.card-ico .ico { width: 22px; height: 22px; }
.card h3 { margin-top: 18px; color: var(--deep); }
.card p { color: var(--ink-3); font-size: 15.5px; line-height: 1.6; }
.card .tag { align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--lime); color: var(--deeper); border-radius: 999px; padding: 5px 10px; }
.card.feature { background: var(--deep); color: #fff; }
.card.feature .card-ico { background: var(--lime); color: var(--deeper); box-shadow: none; }
.card.feature h3 { color: #fff; }
.card.feature p { color: rgb(255 255 255 / .7); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

/* ANVISA */
.anvisa { background: var(--lime); color: var(--deep); padding: 104px 0 96px; }
.anvisa h2 { color: var(--deep); }
.anvisa .lead { color: rgb(14 42 52 / .78); }
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: center; }
.stage { background: #fff; border-radius: var(--r-lg); padding: 28px 28px 30px; box-shadow: 0 1px 0 rgb(14 42 52 / .04); }
.stage.mid { background: var(--deep); color: #fff; padding: 36px 30px 38px; box-shadow: 0 30px 60px -30px rgb(10 30 38 / .6); }
.stage-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stage-num { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--teal); background: var(--mist); border-radius: 999px; padding: 4px 10px; }
.stage.mid .stage-num { background: rgb(226 253 110 / .14); color: var(--lime); }
.stage .flag { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--lime); color: var(--deeper); border-radius: 999px; padding: 5px 10px; }
.stage h3 { margin-top: 22px; font-size: 24px; }
.stage .sub { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.stage.mid .sub { color: rgb(255 255 255 / .62); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; line-height: 1.45; }
.checks li:first-child { border-top: 0; padding-top: 0; }
.stage.mid .checks li { border-color: rgb(255 255 255 / .1); }
.checks .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--teal); stroke-width: 2.4; }
.stage.mid .checks .ico { color: var(--lime); }
.anvisa-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13.5px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: rgb(14 42 52 / .07); color: var(--deep); }

/* Como funciona */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: linear-gradient(90deg, var(--teal), var(--mist-2)); }
.step { position: relative; padding-right: 22px; }
.step-dot { width: 46px; height: 46px; border-radius: 99px; display: grid; place-items: center; background: #fff; border: 1px solid var(--mist-2); color: var(--teal); font-family: var(--display); font-weight: 600; font-size: 15px; position: relative; }
.step:first-child .step-dot { background: var(--deep); color: var(--lime); border-color: var(--deep); }
.step h3 { font-size: 18px; margin-top: 22px; color: var(--deep); }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--ink-3); line-height: 1.55; }

/* Portal */
.portal { background: var(--deeper); color: #fff; padding: 104px 0 112px; }
.portal::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(700px 380px at 100% 0%, rgb(49 113 138 / .5), transparent 65%);
}
.portal h2 { color: #fff; }
.portal .lead { color: rgb(255 255 255 / .68); }
.portal-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); gap: 56px; align-items: start; }
.feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.feat { width: 100%; display: flex; gap: 14px; text-align: left; padding: 16px; border-radius: var(--r-md); border: 1px solid transparent; transition: background-color .25s, border-color .25s; }
.feat:hover { background: rgb(255 255 255 / .04); }
.feat[aria-selected="true"] { background: rgb(255 255 255 / .06); border-color: rgb(226 253 110 / .3); }
.feat-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgb(226 253 110 / .12); color: var(--lime); flex: none; }
.feat strong { display: block; font-size: 16px; font-weight: 700; color: #fff; }
.feat span { display: block; font-size: 14px; color: rgb(255 255 255 / .62); margin-top: 3px; line-height: 1.5; }
.portal-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.screens { position: relative; padding-bottom: 40px; }
.browser { background: var(--mist); border-radius: 20px; padding: 10px; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .8); }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 4px 6px 12px; }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 99px; background: var(--mist-2); }
.browser-bar .url { flex: 1; height: 26px; border-radius: 8px; background: #fff; color: var(--ink-4); font-size: 12px; display: flex; align-items: center; padding: 0 12px; gap: 6px; }
.browser-bar .url .ico { width: 12px; height: 12px; }
.viewport { position: relative; border-radius: 12px; overflow: hidden; background: #fff; aspect-ratio: 1440 / 900; }
.viewport img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.01); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.viewport img.on { opacity: 1; transform: none; }
.phone { position: absolute; right: -22px; bottom: -8px; width: 27%; min-width: 150px; max-width: 230px; background: var(--deep); border-radius: 30px; padding: 7px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .08); }
.phone img { border-radius: 24px; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: #fff; }
.screen-caption { margin-top: 18px; font-size: 13.5px; color: rgb(255 255 255 / .5); min-height: 21px; }

/* Depoimentos */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quote { margin: 0; background: #fff; border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 24px; border: 1px solid #eef1e2; }
.quote-logo { height: 34px; display: flex; align-items: center; }
.quote-logo img { max-height: var(--h, 30px); max-width: 160px; width: auto; height: auto; object-fit: contain; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.4; letter-spacing: -0.015em; color: var(--deep); font-weight: 500; flex: 1; }
.quote blockquote::before { content: '\201C'; display: block; font-size: 56px; line-height: .6; height: 26px; color: var(--teal); font-family: Georgia, serif; }
.quote figcaption { font-size: 14px; color: var(--ink-3); display: flex; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote figcaption strong { color: var(--deep); font-weight: 700; }
.testimonials { background: var(--cream); }
/* Depoimentos em rascunho: só aparecem no endereço de prévia. Para publicar, tirar o atributo data-draft no index.html. */
[data-draft] { display: none !important; }
.preview section[data-draft] { display: block !important; }
.preview li[data-draft] { display: list-item !important; }
.draft-note { display: inline-block; margin: -32px 0 32px; font-size: 13px; font-weight: 700; color: #7a5b00; background: #fff4c2; border: 1px dashed #e0c25a; border-radius: 10px; padding: 8px 12px; }

/* Escritórios */
.offices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.office { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 14px; background: #fff; transition: border-color .25s, transform .3s var(--ease); }
.office:hover { border-color: var(--mist-2); transform: translateY(-2px); }
.office-top { display: flex; align-items: center; justify-content: space-between; }
.cc { font-family: var(--display); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--deep); background: var(--lime); border-radius: 8px; padding: 4px 8px; }
.clock { font-size: 13px; font-weight: 600; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.clock .ico { width: 14px; height: 14px; }
.office h3 { font-size: 24px; color: var(--deep); margin-top: 8px; }
.office address { font-style: normal; font-size: 14.5px; line-height: 1.55; color: var(--ink-3); flex: 1; }
.office .map { font-size: 14px; font-weight: 700; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.office .map:hover { color: var(--deep); }
.office .map .ico { width: 15px; height: 15px; }

/* CTA final */
.final { background: var(--deep); color: #fff; padding: 96px 0; }
.final::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(135deg, rgb(255 255 255 / .025) 0 2px, transparent 2px 14px),
    radial-gradient(900px 500px at 100% 100%, rgb(49 113 138 / .6), transparent 60%),
    radial-gradient(600px 400px at 0% 0%, rgb(77 113 137 / .35), transparent 60%);
}
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-self: start; }
.stat { background: rgb(10 30 38 / .55); border: 1px solid rgb(255 255 255 / .06); border-radius: var(--r-md); padding: 20px 18px; }
.stat b { display: block; font-family: var(--display); font-size: 34px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--lime); }
.stat span { display: block; font-size: 13.5px; color: rgb(255 255 255 / .66); margin-top: 10px; line-height: 1.45; }
.final-card { background: var(--deeper); border-radius: var(--r-lg); padding: 44px 40px; border: 1px solid rgb(255 255 255 / .06); }
.final-card h2 { color: #fff; font-size: clamp(32px, 3.6vw, 46px); }
.final-card p { color: rgb(255 255 255 / .68); margin-top: 18px; font-size: 16.5px; }
.final-card .hero-ctas { margin-top: 28px; }

/* Rodapé */
.footer-wrap { padding: 16px 0 var(--frame); }
.site-footer { background: var(--deeper); color: #fff; padding: 72px 0 36px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .6fr)); gap: 40px; }
.foot-title { font-family: var(--display); font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; max-width: 14em; }
.foot-title em { font-style: normal; color: var(--lime); }
.system-btn { margin-top: 28px; }
.system-note { margin-top: 12px; font-size: 13px; color: rgb(255 255 255 / .5); }
.foot-col h4 { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .45); }
.foot-col ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.foot-col a { font-size: 14.5px; color: rgb(255 255 255 / .82); }
.foot-col a:hover { color: var(--lime); }
.foot-bottom { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / .1); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-bottom .brand { color: var(--lime); }
.foot-bottom .brand svg { height: 24px; }
.foot-bottom small { font-size: 13px; color: rgb(255 255 255 / .5); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-actions .link { display: none; }
  .header-actions { margin-left: auto; }
  .menu-btn { display: inline-flex; margin-left: 0; }
  .mobile-menu { position: fixed; inset: 72px 0 auto 0; z-index: 49; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgb(14 42 52 / .35); padding: 12px var(--pad) 24px; }
  .mobile-menu.open { display: block; }
  .mobile-menu a { display: block; padding: 14px 4px; font-size: 17px; font-weight: 600; color: var(--deep); border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 18px; width: 100%; display: flex; border: 0; color: var(--deeper); }

  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .portal-grid { grid-template-columns: minmax(0, 1fr); }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .phone { right: 8px; }
}

@media (max-width: 860px) {
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 28px; min-height: 0; margin-top: 56px; }
  .flow-lines { display: none; }
  .node-src, .node-core, .targets { justify-self: stretch; max-width: none; }
  .flow::before { content: ''; position: absolute; left: 30px; top: 20px; bottom: 20px; width: 1.5px; background: linear-gradient(var(--lime), rgb(226 253 110 / .15)); opacity: .5; }
  .node-core { margin-left: 0; }
  .stages { grid-template-columns: minmax(0, 1fr); }
  .section-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 40px; }
  .section-head .lead { justify-self: start; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --frame: 8px; --pad: 20px; --r-xl: 26px; }
  body { font-size: 15.5px; }
  .site-header .wrap { height: 64px; }
  .mobile-menu { inset: 64px 0 auto 0; }
  .brand svg { height: 19px; }
  .header-actions .btn { display: none; }
  .hero { padding: 64px 0 36px; }
  .hero .lead { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-foot span { display: block; }
  .hero-foot span + span::before { content: none; }
  .clients { padding: 52px 0 24px; }
  .logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .section { padding: 80px 0; }
  .anvisa, .portal { padding: 72px 0; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; padding: 26px 22px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .step { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; padding: 0; }
  .step h3 { margin-top: 10px; grid-column: 2; }
  .step p { grid-column: 2; }
  .step-dot { grid-row: 1 / span 2; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .feat { padding: 12px; }
  .phone { width: 34%; min-width: 0; right: 4px; bottom: -4px; border-radius: 20px; padding: 4px; }
  .screen-caption { margin-right: 38%; }
  .logo-item { height: 52px; }
  .logo-item img { height: calc(var(--h, 40px) * .7); max-width: 100%; }
  .phone img { border-radius: 16px; }
  .quote { padding: 26px 22px; }
  .quote blockquote { font-size: 18.5px; }
  .offices { grid-template-columns: minmax(0, 1fr); }
  .final { padding: 64px 0; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .final-card { padding: 32px 22px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { padding-top: 56px; }
}
