/* OS3 v5: a light, immersive product site. Warm off-white ground, rounded panels set in from the edges,
   white numbered cards, OS3 blue for actions and the one accent card, blue light effects, one ink-navy panel. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #eeece8;            /* page ground */
  --panel: #f7f6f3;         /* rounded panels */
  --card: #ffffff;          /* cards, nav, inputs */
  --ink: #15171c;
  --ink-2: #5b606b;         /* secondary text, 5.6:1 on the ground */
  --ink-3: #6c717b;         /* card numbers, 5:1 on white */
  --line: rgb(21 23 28 / .10);
  --line-2: rgb(21 23 28 / .18);
  --rivet: #dcd9d3;         /* the small joins between cards */
  --blue: #0031fe;          /* actions and the accent card */
  --blue-hover: #1b45ff;
  --blue-2: #2a55ff;        /* chart lines and light */
  --blue-3: #7d95ff;
  --blue-4: #dce3ff;
  --blue-fill: rgb(42 85 255 / .12);
  --blue-save: rgb(0 49 254 / .16);
  --navy: #0b1020;          /* the steps panel and the footer */
  --navy-2: #151c35;
  --on-navy: #eef1f7;
  --on-navy-2: #a9b0c2;
  --seg-1: #15171c; --seg-2: #2a55ff; --seg-3: #9db0ff;
  --hatch: rgb(255 255 255 / .7);
  --error: #c62828;
  /* names the effect library reads */
  --surface: var(--panel); --muted: var(--ink-2); --accent: var(--blue-2); --accent-ink: #ffffff;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --gap: clamp(16px, 2vw, 24px);
  --edge: clamp(8px, 1.2vw, 16px);      /* panels sit this far in from the viewport */
  --r-panel: clamp(18px, 2vw, 24px);
  --r-card: 16px;
  --nav-h: 64px;
  --nav-top: 12px;
  --t-h1: clamp(36px, 2.8vw + 12px, 56px);
  --t-h2: clamp(30px, 2.2vw + 12px, 48px);
  --t-fig: clamp(28px, 1.8vw + 10px, 40px);
  --shadow-float: 0 1px 2px rgb(21 23 28 / .04), 0 10px 30px rgb(21 23 28 / .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + var(--nav-top) + 16px); color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums lining-nums; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--blue); color: #fff; }
input, textarea { caret-color: var(--blue); }
html { scrollbar-color: #c9c6bf var(--bg); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
p, li, dd, td { text-wrap: pretty; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }

/* smooth scrolling library hooks */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ------------------------------------------------------------------ type */
.h1 { font-weight: 400; font-stretch: 108%; font-size: var(--t-h1); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.h2 { font-weight: 400; font-stretch: 106%; font-size: var(--t-h2); line-height: 1.08; letter-spacing: -0.028em; text-wrap: balance; }
.h2 b, .h1 b { font-weight: 400; color: var(--blue); }
.h3 { font-weight: 500; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
.lead { color: var(--ink-2); font-size: clamp(16px, .4vw + 14px, 18px); line-height: 1.55; max-width: 52ch; }
.label { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.note { font-size: 13px; line-height: 1.55; color: var(--ink-2); max-width: 80ch; }
.fig { font-weight: 400; font-size: var(--t-fig); line-height: 1.08; letter-spacing: -0.03em; }
.own { color: var(--blue); }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.link:hover { text-decoration-color: currentColor; }

/* section heads: centred, the heading carries itself */
.head { display: grid; justify-items: center; gap: 16px; text-align: center; margin: 0 auto clamp(36px, 5vw, 64px); max-width: 880px; }
.head .h2 { max-width: 20ch; }
.head .lead { margin-top: 2px; }

/* ------------------------------------------------------------------ buttons: pills that step and press */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 0; background: var(--blue); color: #fff; font: 500 15px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 6px 18px rgb(0 49 254 / .25); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: #2a2d35; box-shadow: 0 6px 18px rgb(21 23 28 / .2); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--line:hover { background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn svg { width: 14px; height: 14px; }

/* ------------------------------------------------------------------ floating nav */
.nav { position: fixed; z-index: 40; top: var(--nav-top); left: var(--edge); right: var(--edge); height: var(--nav-h);
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow-float); }
.nav__bar { display: flex; align-items: center; gap: 24px; height: 100%; padding: 0 12px 0 16px; }
.nav__logo { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.nav__logo img { width: 34px; height: auto; }
.nav__links { display: flex; gap: 4px; margin: 0 auto; font-size: 14px; }
.nav__links a { padding: 10px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); transition: background-color .2s var(--ease); }
.nav__links a:hover { background: var(--bg); }
.nav__cta { display: flex; gap: 8px; }
.nav__toggle { display: none; }
.skip { position: absolute; left: var(--pad); top: -60px; z-index: 50; padding: 10px 14px; background: var(--blue); color: #fff; border-radius: 999px; }
.skip:focus { top: 10px; }
/* on desktop the logo and the buttons line up with the text of the page: the bar is inset like the panels, so the same
   rule as .wrap inside a panel puts its content on the margins of the home header's text */
@media (min-width: 900px) { .nav__bar { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; padding: 0; } }
@media (max-width: 1099px) { .nav__cta .btn--ink { display: none; } }
@media (max-width: 899px) {
  .nav__links, .nav__cta { display: none; }
  .nav__bar { justify-content: space-between; }
  .nav__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; cursor: pointer; }
  .nav.is-open { bottom: var(--nav-top); height: auto; }
  .nav.is-open .nav__bar { flex-wrap: wrap; align-content: flex-start; height: auto; gap: 0; padding: 10px 12px 20px 16px; }
  .nav.is-open .nav__toggle { order: 1; }
  .nav.is-open .nav__links { order: 2; display: grid; width: 100%; gap: 0; margin: 16px 0 0; font-size: 24px; }
  .nav.is-open .nav__links a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__cta { order: 3; display: grid; width: 100%; margin-top: 24px; }
  .nav.is-open .nav__cta .btn { display: inline-flex; width: 100%; min-height: 52px; font-size: 15px; }
}

/* ------------------------------------------------------------------ panels and cards */
.panel { margin: 0 var(--edge); border-radius: var(--r-panel); background: var(--panel); }
.panel--white { background: var(--card); }
.panel--navy { background: var(--navy); color: var(--on-navy); }
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.panel.sec { padding: clamp(56px, 7vw, 104px) 0; }
.gap-top { margin-top: var(--edge); }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }

/* ------------------------------------------------------------------ the experience header (home only): 18 years of OS3
   over an abstract video of white lines on black. The poster is the largest element of the first screen; the video (ui.js,
   [data-video]) loads after the page, fades in over it, pauses off screen and has its own pause button. The video is dark
   (the text area stays at a luminance of 0.05 or less on every frame, p95, measured); the light navy veil tints the lines
   and keeps them calmer behind the text */
/* the panel starts below the floating nav, which keeps floating on the light ground as on every other page */
.exp { position: relative; isolation: isolate; display: flex; margin: calc(var(--nav-top) + var(--nav-h) + 12px) var(--edge) 0; min-height: min(68svh, 680px);
  border-radius: var(--r-panel); overflow: hidden; background: var(--navy); color: #fff; }
.exp__midia { position: absolute; inset: 0; z-index: -1; }
.exp__midia picture, .exp__poster, .exp__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.exp__video { opacity: 0; transition: opacity 1s var(--ease); }
.exp.is-playing .exp__video { opacity: 1; }
.exp__midia::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(11 16 32 / .72) 0%, rgb(11 16 32 / .46) 36%, rgb(11 16 32 / .14) 70%, rgb(11 16 32 / .2) 100%),
    linear-gradient(0deg, rgb(11 16 32 / .5) 0%, rgb(11 16 32 / 0) 55%), linear-gradient(180deg, rgb(11 16 32 / .35) 0%, rgb(11 16 32 / 0) 22%); }
.exp__in { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(40px, 5vw, 64px) 0 clamp(36px, 5vw, 72px); }
.exp__rotulo { font-size: 14px; color: var(--on-navy-2); }
.exp__h1 { max-width: 18ch; margin-top: 14px; font-weight: 400; font-stretch: 108%; font-size: clamp(38px, 3.4vw + 14px, 66px); line-height: 1.02;
  letter-spacing: -0.03em; text-wrap: balance; color: #fff; }
.exp__lead { max-width: 54ch; margin-top: 20px; font-size: clamp(16px, .4vw + 14px, 19px); line-height: 1.55; color: rgb(238 241 247 / .86); }
.exp__fatos { display: flex; flex-wrap: wrap; gap: 14px clamp(24px, 3vw, 44px); margin-top: 28px; }
.exp__fatos div { display: flex; flex-direction: column-reverse; gap: 2px; }
.exp__fatos dd { font-size: clamp(24px, 1.2vw + 16px, 32px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; color: #fff; }
.exp__fatos dt { font-size: 13px; color: var(--on-navy-2); }
.exp__acao { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.exp__acao p { max-width: 34ch; font-size: 14px; line-height: 1.5; color: var(--on-navy-2); }
.exp__pausa { position: absolute; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); display: grid; place-items: center; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 999px; background: rgb(11 16 32 / .55); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .26);
  cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.exp__pausa:hover { background: rgb(11 16 32 / .75); transform: translateY(-1px); }
.exp__pausa:active { transform: translateY(1px); }
.exp__pausa:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.exp__pausa svg { width: 12px; height: 12px; fill: currentColor; }
/* the simulator right after the header: the floating nav sits over the header, not over the simulator */
.exp + .hero { padding-top: clamp(56px, 7vw, 104px); }
@media (max-width: 799px) {
  .exp { min-height: min(70svh, 640px); }
  .exp__midia::after { background: linear-gradient(0deg, rgb(11 16 32 / .82) 0%, rgb(11 16 32 / .6) 45%, rgb(11 16 32 / .28) 75%, rgb(11 16 32 / .4) 100%); }
  .exp__acao .btn { width: 100%; }
}

/* ------------------------------------------------------------------ hero: the simulator */
.hero { position: relative; isolation: isolate; padding: calc(var(--nav-h) + var(--nav-top) + clamp(40px, 6vw, 88px)) 0 clamp(40px, 5vw, 64px); text-align: center; }
.hero__fx { position: absolute; z-index: -1; top: 0; left: var(--edge); right: var(--edge); height: clamp(300px, 42vh, 420px); overflow: hidden;
  border-radius: 0 0 var(--r-panel) var(--r-panel);
  -webkit-mask-image: radial-gradient(ellipse 44% 100% at 50% 0%, #000 24%, rgb(0 0 0 / .42) 58%, transparent 90%);
  mask-image: radial-gradient(ellipse 44% 100% at 50% 0%, #000 24%, rgb(0 0 0 / .42) 58%, transparent 90%); }
/* the glass places its colour away from the calm side, never in the middle: a wider canvas, shifted, centres it */
/* until the effect mounts (first touch, wheel, key or pointer move, or 3 s after load), a still of the same light in CSS;
   the effect's canvas is opaque and fades in over it, so the light never blinks out */
.hero__fx-in { position: absolute; top: 0; bottom: 0; left: 4%; width: 150%;
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / .1) 0 1px, transparent 1px 18px, rgb(11 16 32 / .07) 19px 20px),
    radial-gradient(42% 78% at 30% 34%, rgb(61 91 255 / .78), rgb(42 85 255 / .42) 42%, rgb(125 149 255 / .14) 70%, transparent 88%), var(--bg); }
.hero .h1 { max-width: 19ch; margin: 0 auto; }
.hero .lead { margin: 22px auto 0; text-align: center; }
.amount { width: min(100%, 600px); margin: 28px auto 0; }
.amount > .label { display: block; margin-bottom: 10px; }
.amount__pill { position: relative; isolation: isolate; display: flex; align-items: center; gap: 12px; height: 76px; padding: 0 10px 0 28px;
  background: var(--card); border-radius: 999px; box-shadow: var(--shadow-float); }
.amount__pill [data-fx] { position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; }
.amount__pill > *:not([data-fx]) { position: relative; z-index: 1; }
.amount__pill span { font-size: 22px; color: var(--ink-2); }
.amount__pill input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink);
  font: 400 34px/1 var(--font); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; text-align: left; }
.amount__pill:focus-within { box-shadow: 0 0 0 2px var(--blue), var(--shadow-float); }
.amount__pill .btn { flex: none; }
.amount .note { margin: 12px auto 0; text-align: center; }
@media (max-width: 559px) {
  .amount__pill { height: 68px; padding-left: 22px; }
  .amount__pill input { font-size: 28px; }
  .amount__pill .btn { display: none; }
}

/* the dashed path under the input, in two halves whose dashes flow from the edges to the middle (as on the reference),
   and the assumptions below it. The flow starts with the effects, on the first pointer move or scroll (.fx-vivo, set by the
   loader at the end of the page), runs only while the path is on screen (data-anima) and stops under reduced motion: a
   dash animation repaints every frame, and running it from the first paint took about ten points off the mobile score */
.trail { position: relative; margin-top: clamp(24px, 3vw, 40px); }
.trail svg { display: block; width: 100%; height: 88px; overflow: visible; }
.trail path { fill: none; stroke: rgb(21 23 28 / .32); stroke-width: 1.2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke;
  animation: trilha 1s linear infinite paused; }
.fx-vivo .trail.is-on path { animation-play-state: running; }
@keyframes trilha { from { stroke-dashoffset: 110; } to { stroke-dashoffset: 0; } }
.trail p { width: min(92%, 440px); margin: 14px auto 0; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 799px) { .trail { margin-top: 18px; } .trail svg { height: 44px; } }
@media (prefers-reduced-motion: reduce) { .trail path { animation: none; } }

/* four numbered live cards joined by small rivets */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(20px, 2.5vw, 32px); text-align: left; }
.stats:has(> [hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 212px; padding: 18px 20px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); transition: translate .35s var(--ease), box-shadow .35s var(--ease); }
.stat:hover { translate: 0 -2px; box-shadow: var(--shadow-float); }
.stat + .stat::before { content: ""; position: absolute; top: 50%; left: calc(-1 * var(--gap) - 1px); width: calc(var(--gap) + 1px); height: 8px; margin-top: -4px;
  background: var(--rivet); }
.stat__top { display: flex; justify-content: space-between; gap: 12px; }
.stat__top dt { font-size: 13px; line-height: 1.35; color: var(--ink-2); max-width: 22ch; }
.stat__n { font-size: 18px; line-height: 1; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.stat dd.fig { align-self: center; padding: 18px 0; text-wrap: balance; }
.stat__foot { font-size: 13px; font-weight: 500; color: var(--ink); }
.stat--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.stat--blue .stat__top dt, .stat--blue .stat__n { color: rgb(255 255 255 / .78); }
.stat--blue .stat__foot { color: #fff; }
.stat__pixel { position: absolute; top: 22%; right: 18px; width: 46%; height: 58%; pointer-events: none; }
.stat__pixel rect { fill: rgb(255 255 255 / .12); }
.stat--blue > :not(.stat__pixel) { position: relative; }
@media (max-width: 999px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3)::before { display: none; }
}
@media (max-width: 559px) {
  .stat { min-height: 168px; padding: 14px 14px 14px; }
  .stat dd.fig { font-size: 24px; padding: 12px 0; }
  .stat__n { font-size: 14px; }
  .stat__pixel { display: none; }
}

/* ------------------------------------------------------------------ your scenario in detail: a bento of cards */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.bento > .card { padding: clamp(18px, 2vw, 28px); min-width: 0; }
.span-8 { grid-column: span 8; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; } .span-12 { grid-column: 1 / -1; }
@media (max-width: 999px) { .span-8, .span-4, .span-6 { grid-column: 1 / -1; } }
.card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.card__head h3 { font-size: 16px; font-weight: 500; }

.chart { margin: 0; }
.sim-chart { display: block; width: 100%; height: 320px; overflow: visible; }
.sim-chart__grid line { stroke: var(--line); }
.sim-chart__grid text { fill: var(--ink-2); font: 400 12.5px var(--font); font-variant-numeric: tabular-nums; }
.sim-chart__mark { stroke: var(--line-2); stroke-dasharray: 3 4; }
.sim-chart__area { fill: transparent; }
.sim-chart__line { fill: none; stroke: var(--ink); stroke-width: 2; }
.sim-chart__dot { fill: var(--ink); stroke: var(--card); stroke-width: 2; }
.sim-chart__band { fill: var(--blue-fill); }
.sim-chart__own { fill: none; stroke: var(--blue-2); stroke-width: 1.5; }
.sim-chart__pay { fill: var(--blue); stroke: var(--card); stroke-width: 2; }
.sim-chart__save { fill: var(--blue-save); }
.sim-chart__save-label { fill: var(--blue); font: 500 12.5px var(--font); }
@media (max-width: 599px) { .sim-chart { height: 230px; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--ink-2); }
.legend span::before { content: ""; display: inline-block; width: 16px; height: 2px; margin-right: 8px; vertical-align: middle; background: var(--ink); }
.legend .is-own::before { height: 8px; background: var(--blue-fill); box-shadow: inset 0 1px 0 var(--blue-2), inset 0 -1px 0 var(--blue-2); }
.legend .is-save::before { height: 8px; background: var(--blue-save); }
.chart .note { margin-top: 14px; }

/* the three controls */
.controls { display: grid; gap: 22px; }
.controls label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); }
.controls label span { color: var(--ink); font-weight: 500; }
.controls input[type="range"] { display: block; width: 100%; height: 32px; margin: 4px 0 0; accent-color: var(--blue); }
@media (max-width: 599px) { .controls input[type="range"] { height: 44px; } }

/* where the 36 months go: a value list */
.keys { display: grid; gap: 0; }
.keys > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.keys > div:first-child { border-top: 0; padding-top: 0; }
.keys dt { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.keys dt i { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.keys .k1 { background: var(--seg-1); } .keys .k2 { background: var(--seg-2); } .keys .k3 { background: var(--seg-3); }
.keys .k4 { background: repeating-linear-gradient(-45deg, var(--ink-2) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px var(--ink-2); }
.keys dd { font-size: 22px; letter-spacing: -0.02em; text-align: right; }
.keys .note { grid-column: 1 / -1; margin-top: -2px; text-align: right; }

/* 36 monthly payments, a row a year */
.months { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
.months__y { display: grid; grid-template-rows: repeat(3, 52px); row-gap: 6px; align-items: center; white-space: nowrap; }
.months__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 52px; gap: 6px; }
.months__grid i { position: relative; display: block; border-radius: 5px; background: var(--bg); overflow: hidden; }
.months__grid i::before { content: ""; position: absolute; inset: auto 0 0 0; height: calc(var(--h, 1) * 100%); transition: height .6s var(--ease);
  background: linear-gradient(to top, var(--seg-1) 0 calc(var(--b, 1) * 100%), var(--seg-2) 0 calc(var(--br, 1) * 100%), var(--seg-3) 0); }
.months__grid i.is-idle::after { content: ""; position: absolute; inset: 0; border-radius: 5px; box-shadow: inset 0 0 0 2px var(--blue);
  background: repeating-linear-gradient(-45deg, var(--hatch) 0 2px, transparent 2px 6px); }
@media (max-width: 599px) {
  .months { gap: 8px; }
  .months__y { grid-template-rows: repeat(3, 38px); row-gap: 4px; }
  .months__grid { grid-auto-rows: 38px; gap: 4px; }
}

/* ------------------------------------------------------------------ how it works: the dark stepped panel */
.panel--navy .h2 { color: #fff; }
.panel--navy .lead { color: var(--on-navy-2); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.step { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; min-width: 0; }
.step svg.icon { width: 44px; height: 44px; color: var(--on-navy); }
.step h3 { font-size: 20px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; color: #fff; }
.step h3 span { display: block; font-weight: 400; color: var(--on-navy-2); }
.step p { font-size: 14px; line-height: 1.6; color: var(--on-navy-2); }
.step__cost { display: inline-block; margin-top: 4px; padding: 6px 12px; border-radius: 999px; font-size: 13px; line-height: 1.3; color: #fff; background: rgb(255 255 255 / .08); }
.step__rail { position: relative; padding-top: 12px; text-align: center; font-size: 13px; color: var(--on-navy-2); }
.step__rail::before, .step__rail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 2px; border-radius: 2px; background: rgb(255 255 255 / .14); }
.step__rail::after { right: auto; width: calc(var(--fill, 0) * 100%); background: var(--blue-3); transition: width .4s linear; }
@media (max-width: 999px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; } }
@media (max-width: 559px) { .steps { grid-template-columns: minmax(0, 1fr); row-gap: 48px; } }

/* ------------------------------------------------------------------ footer */
.foot { margin: var(--edge); padding: clamp(48px, 6vw, 80px) 0 28px; border-radius: var(--r-panel); background: var(--navy); color: var(--on-navy); }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot__brand img { width: 44px; height: auto; }
.foot__brand p { margin-top: 16px; max-width: 28ch; color: var(--on-navy-2); font-size: 14px; }
.foot__col h3 { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 12px; }
.foot__col ul { display: grid; gap: 6px; }
.foot__col a { font-size: 14px; color: var(--on-navy-2); text-decoration: none; }
.foot__col a:hover { color: #fff; }
.sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .12); display: grid; gap: 6px; font-size: 12.5px; color: var(--on-navy-2); }
.sources a { color: var(--on-navy); }
.legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: 13px; color: var(--on-navy-2); }
.legal a { color: var(--on-navy-2); }
@media (max-width: 899px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 599px) { .foot__col a, .sources a, .legal a { display: inline-flex; align-items: center; min-height: 44px; } }

/* ------------------------------------------------------------------ motion: rise with a soft blur, charts draw once */
.js-reveal .rv { opacity: 0; transform: translateY(22px); filter: blur(6px); }
/* the card lift on hover uses translate, apart from the transform the reveal owns, and runs without the reveal delay */
.rv { transition: opacity .9s var(--ease) calc(var(--d, 0) * 90ms), transform .9s var(--ease) calc(var(--d, 0) * 90ms),
  filter .9s var(--ease) calc(var(--d, 0) * 90ms), translate .35s var(--ease), box-shadow .35s var(--ease); }
.js-reveal .rv.is-in { opacity: 1; transform: none; filter: none; }
/* the opening enters on its own as soon as the page paints, without waiting for the scripts: the headline is the
   largest element of the first screen, and the time it takes to show is what search engines measure (LCP) */
/* the resting state is the visible one and the keyframe only runs from the hidden state ("backwards"), so hover and
   focus styles (the stat cards lift) keep working after the entrance */
.js-reveal .hero .rv, .js-reveal .exp .rv { opacity: 1; transform: none; filter: none; animation: rv-entra .9s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes rv-entra { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }
.js-reveal .draw:not(.is-in) .sim-chart, .js-reveal .draw:not(.is-in) .months__grid { clip-path: inset(0 100% 0 0); }
.draw .sim-chart, .draw .months__grid { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .rv { opacity: 1; transform: none; filter: none; }
  .js-reveal .hero .rv, .js-reveal .exp .rv { animation: none; }
  .rv, .btn, .stat { transition: none; }
  .js-reveal .draw:not(.is-in) .sim-chart, .js-reveal .draw:not(.is-in) .months__grid { clip-path: none; }
  .step__rail::after { width: 100%; transition: none; }
}

/* ------------------------------------------------------------------ inner pages: one head, lists of cards, articles, cases */
.page-head { position: relative; isolation: isolate; padding: calc(var(--nav-h) + var(--nav-top) + clamp(48px, 7vw, 96px)) 0 clamp(40px, 5vw, 72px); text-align: center; }
/* the hero's ribbed blue light, held still: reading pages run no shader */
.page-head::before { content: ""; position: absolute; z-index: -1; top: 0; left: var(--edge); right: var(--edge); height: clamp(220px, 32vh, 320px);
  border-radius: 0 0 var(--r-panel) var(--r-panel);
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / .38) 0 1px, transparent 1px 18px, rgb(21 23 28 / .07) 18px 20px),
    radial-gradient(ellipse 30% 95% at 50% -12%, rgb(42 85 255 / .92), rgb(42 85 255 / .5) 30%, rgb(125 149 255 / .26) 58%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 48% 100% at 50% 0%, #000 34%, rgb(0 0 0 / .5) 62%, transparent 90%);
  mask-image: radial-gradient(ellipse 48% 100% at 50% 0%, #000 34%, rgb(0 0 0 / .5) 62%, transparent 90%); }
.page-head .h1 { max-width: 22ch; margin: 0 auto; }
.page-head .lead { margin: 20px auto 0; }
.page-head--post .h1 { max-width: 28ch; font-size: clamp(30px, 1.6vw + 16px, 44px); line-height: 1.1; }
.meta { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.meta > * + *::before { content: "\00B7"; margin: 0 10px; color: var(--ink-3); }
.meta a { color: var(--blue); text-decoration: none; }
.meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* a link inside a sentence of the meta line ("Por Vitor, da OS3") is underlined: colour alone does not mark it */
.meta span a { text-decoration: underline; text-decoration-color: rgb(0 49 254 / .35); text-underline-offset: 3px; }
.meta span a:hover { text-decoration-color: currentColor; }
.page-head__acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

/* filters: pills that press */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 980px; margin: 0 auto 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--card); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2); font: 500 14px/1 var(--font); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.chip:hover { transform: translateY(-1px); }
.chip:active { transform: translateY(1px); }
.chip span { color: var(--ink-3); font-weight: 400; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.chip[aria-pressed="true"] span { color: rgb(255 255 255 / .72); }
.chips__status { margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; font-size: 13px; color: var(--ink-2); }

/* cards in a list: the whole card is the link; it lifts, its picture zooms inside the frame */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 999px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 10px 10px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: translate .35s var(--ease), box-shadow .35s var(--ease); }
.tile:hover { translate: 0 -2px; box-shadow: var(--shadow-float); }
.tile:has(a:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.tile a:focus-visible { outline: none; }
.tile__img { aspect-ratio: 2 / 1; border-radius: 10px; overflow: hidden; background: var(--blue-4); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.03); }
.tile__logo { display: grid; place-items: center; aspect-ratio: 2 / 1; border-radius: 10px; background: var(--panel); }
.tile__logo img { width: 62%; height: auto; max-height: 52%; object-fit: contain; transition: transform .6s var(--ease); }
.tile:hover .tile__logo img { transform: scale(1.03); }
.tile__meta { display: flex; flex-wrap: wrap; padding: 4px 10px 0; font-size: 13px; color: var(--ink-2); }
.tile__meta > * + *::before { content: "\00B7"; margin: 0 8px; color: var(--ink-3); }
.tile h2, .tile h3 { padding: 0 10px; font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.tile h2 a, .tile h3 a { text-decoration: none; }
.tile h2 a::after, .tile h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile p { padding: 0 10px; font-size: 14px; line-height: 1.55; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile__mais { margin-top: auto; padding: 0 10px; font-size: 14px; font-weight: 500; color: var(--blue); }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--blue-4); color: var(--blue); font-size: 13px; font-weight: 500; }
.tile .tag { align-self: flex-start; margin-left: 10px; }

/* an article: a picture in a frame, then a reading column */
.artigo__capa { width: min(100%, 1040px); margin: 0 auto; aspect-ratio: 1296 / 500; border-radius: var(--r-card); overflow: hidden; background: var(--blue-4); }
.artigo__capa img { width: 100%; height: 100%; object-fit: cover; }
.prose { width: min(100%, 68ch); margin: clamp(40px, 5vw, 64px) auto 0; font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2em; font-size: clamp(24px, .8vw + 18px, 30px); font-weight: 500; font-stretch: 104%; line-height: 1.2; letter-spacing: -0.02em; }
.prose h3 { margin-top: 1.8em; font-size: 21px; font-weight: 500; line-height: 1.3; }
.prose h4 { margin-top: 1.6em; font-size: 18px; font-weight: 600; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--blue); }
.prose strong { font-weight: 600; }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose blockquote { padding: 18px 22px; border-radius: 12px; background: var(--panel); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.artigo__volta { width: min(100%, 68ch); margin: 40px auto 0; font-size: 15px; }
@media (max-width: 599px) { .prose { font-size: 17px; } }

/* the call to the simulator at the end of reading pages */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 40px; width: min(100%, 1040px); margin: clamp(48px, 6vw, 80px) auto 0;
  padding: clamp(24px, 3.2vw, 44px); border-radius: var(--r-panel); background: var(--navy); color: var(--on-navy); }
.cta h2 { font-size: clamp(22px, 1vw + 16px, 30px); font-weight: 400; font-stretch: 104%; line-height: 1.2; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.cta p { margin-top: 10px; max-width: 56ch; font-size: 15px; color: var(--on-navy-2); }
.cta__acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.cta .btn--line { color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); }
.cta .btn--line:hover { background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5); }
@media (max-width: 799px) { .cta { grid-template-columns: minmax(0, 1fr); } }
.sec--related .head { margin-bottom: clamp(28px, 4vw, 44px); }

/* a case: the client beside its logo, then the story in cards */
.page-head--case { text-align: left; }
.case-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
.case-head .h1 { margin: 0; max-width: 16ch; }
.case-head .lead { margin: 18px 0 0; max-width: 58ch; }
.case-head .tag { margin-top: 22px; }
.case-head__logo { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r-panel); background: var(--card); box-shadow: var(--shadow-float); }
.case-head__logo img { width: 64%; height: auto; }
@media (max-width: 799px) { .case-head { grid-template-columns: minmax(0, 1fr); } .case-head__logo { aspect-ratio: 2 / 1; } }
.bloco h2 { font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.bloco .bloco__sub { margin-top: 8px; font-size: 17px; font-weight: 500; line-height: 1.4; color: var(--blue); }
.bloco p { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.bloco ul { display: grid; gap: 10px; margin-top: 14px; }
.bloco li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.bloco li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue-2); }
.bloco li strong { color: var(--ink); font-weight: 500; }
.bloco--quote { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.bloco--quote h2 { color: #fff; }
.bloco--quote blockquote { margin: 16px 0 0; font-size: clamp(18px, .6vw + 15px, 22px); line-height: 1.5; color: var(--on-navy); }
.figura { margin: 0; padding: 0; overflow: hidden; background: var(--panel); }
.figura img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.figura--tela img { object-fit: contain; }

/* about: people, numbers and the three bases */
.sobre { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.sobre h2 { max-width: 18ch; }
.sobre p { margin-top: 18px; color: var(--ink-2); font-size: 17px; line-height: 1.7; max-width: 62ch; }
.sobre img { width: 100%; height: auto; border-radius: var(--r-panel); }
@media (max-width: 799px) { .sobre { grid-template-columns: minmax(0, 1fr); } .sobre img { max-width: 360px; margin: 0 auto; } }
.stats--fixos .stat { min-height: 180px; }
.vagas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.contatos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.contatos .card { display: grid; align-content: start; gap: 6px; padding: 22px; }
.contatos h3 { font-size: 17px; font-weight: 500; }
.contatos p { font-size: 14px; color: var(--ink-2); }
.contatos a { color: var(--blue); font-weight: 500; text-decoration: none; }
.contatos a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) { .contatos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 499px) { .contatos { grid-template-columns: minmax(0, 1fr); } }

/* guides in production */
.guias { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.guias .card { display: grid; align-content: start; gap: 12px; padding: clamp(22px, 2.4vw, 32px); }
.guias h2 { font-size: 21px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.guias p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.guias .tag { justify-self: start; background: var(--panel); color: var(--ink-2); }
@media (max-width: 699px) { .guias { grid-template-columns: minmax(0, 1fr); } }
.nav__links a[aria-current="page"] { background: var(--bg); }

/* ------------------------------------------------------------------ home, after the simulator */
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; }
@media (max-width: 999px) { .span-7, .span-5 { grid-column: 1 / -1; } }
.mais { display: flex; justify-content: center; margin-top: clamp(28px, 3vw, 40px); }

/* client names in one slow row; at rest (reduced motion, phones, no script) they wrap */
.faixa { padding: clamp(8px, 2vw, 24px) 0 clamp(56px, 7vw, 96px); text-align: center; }
.faixa__h { margin-bottom: 18px; font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--ink-2); }
.marquee { --mq-gap: 56px; position: relative; }
.marquee__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; font-size: clamp(19px, .8vw + 14px, 25px); font-weight: 500;
  font-stretch: 110%; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink-2); }
.marquee.is-live { padding-right: 56px; }
.marquee__rail { display: flex; gap: var(--mq-gap); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee.is-live .marquee__track { flex: none; flex-wrap: nowrap; gap: var(--mq-gap); white-space: nowrap; will-change: transform;
  animation: mq var(--mq-dur, 40s) linear infinite; animation-play-state: paused; }
.marquee.is-live.is-on:not(.is-paused):not(:hover) .marquee__track { animation-play-state: running; }
@keyframes mq { to { transform: translateX(calc(-1 * var(--mq-w, 1000px) - var(--mq-gap))); } }
.marquee__pause { position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0;
  border-radius: 999px; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: transform .2s var(--ease); }
.marquee__pause:hover { transform: translateY(-1px); }
.marquee__pause:active { transform: translateY(1px); }
.marquee__pause svg { width: 12px; height: 12px; fill: currentColor; }

/* what the research shows: three cards joined by rivets, each drawing its own picture */
.pesq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pesq > li { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; min-width: 0; padding: 20px 22px 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); transition: translate .35s var(--ease), box-shadow .35s var(--ease); }
.pesq > li:hover { translate: 0 -2px; box-shadow: var(--shadow-float); }
.pesq > li + li::before { content: ""; position: absolute; top: 50%; left: calc(-1 * var(--gap) - 1px); width: calc(var(--gap) + 1px); height: 8px; margin-top: -4px; background: var(--rivet); }
.pesq__top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.pesq .fig { font-size: clamp(44px, 2.4vw + 18px, 60px); line-height: 1; }
.pesq p:not(.fig) { font-size: 15px; line-height: 1.55; }
@media (max-width: 899px) {
  .pesq { grid-template-columns: minmax(0, 1fr); }
  .pesq > li + li::before { top: auto; bottom: 100%; left: 50%; width: 8px; height: calc(var(--gap) + 1px); margin: 0 0 0 -4px; }
}
.dots { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 4px; }
.dots i { display: block; aspect-ratio: 1; border-radius: 2px; background: var(--bg); transition: background-color .35s var(--ease); transition-delay: calc(var(--i, 0) * 9ms); }
.dots i.is-on { background: var(--blue-2); }
.pair { display: grid; gap: 10px; }
.pair > div { display: grid; grid-template-columns: 5.6em minmax(0, 1fr) 5.6em; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); }
.pair b { font-weight: 500; color: var(--ink); text-align: right; white-space: nowrap; }
.pair i { display: block; height: 14px; border-radius: 4px; background: var(--line-2); transform-origin: left; transition: transform 1.1s var(--ease); }
.pair .was { width: calc(100% / 1.164); }
.pair .now { background: linear-gradient(90deg, var(--line-2) 0 calc(100% / 1.164), var(--blue-2) 0); }

/* where OS3 comes in: subscriptions, the OS3 system, the operation, joined by running pulses */
.fluxo { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.12fr) 56px minmax(0, 1fr); align-items: center; }
.no { position: relative; padding: clamp(20px, 2.2vw, 30px); border-radius: var(--r-card); }
.no h3 { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.no ul { display: grid; gap: 10px; margin-top: 16px; }
.no li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.no li::before { content: ""; position: absolute; left: 1px; top: .58em; width: 7px; height: 7px; border-radius: 2px; background: var(--ink-3); }
.no--lado { background: var(--panel); }
.no--os3 { overflow: hidden; background: var(--navy); color: var(--on-navy); box-shadow: 0 18px 48px rgb(11 16 32 / .2); }
.no--os3::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 80% 70% at 50% -20%, rgb(42 85 255 / .5), transparent 70%); }
.no--os3 > * { position: relative; }
.no--os3 img { width: 30px; height: auto; margin-bottom: 18px; }
.no--os3 h3 { color: #fff; }
.no--os3 li { color: var(--on-navy-2); }
.no--os3 li::before { background: var(--blue-3); }
.liga { position: relative; height: 2px; background: var(--line-2); }
.liga::before { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-top: 2px solid var(--ink-3); border-right: 2px solid var(--ink-3); transform: rotate(45deg); }
.liga::after { content: ""; position: absolute; inset: -1px 0; background: linear-gradient(90deg, transparent, var(--blue-2), transparent) no-repeat; background-size: 40% 100%; background-position: -70% 0; }
.is-on .liga::after { animation: pulso 2.4s linear infinite; }
.is-on .liga + .no + .liga::after { animation-delay: 1.2s; }
@keyframes pulso { from { background-position: -70% 0; } to { background-position: 170% 0; } }
@media (max-width: 899px) {
  .fluxo { grid-template-columns: minmax(0, 1fr); }
  .liga { justify-self: center; width: 2px; height: 44px; }
  .liga::before { right: auto; top: auto; left: 50%; bottom: 0; margin: 0 0 0 -4px; transform: rotate(135deg); }
  .liga::after { inset: 0 -1px; background-image: linear-gradient(180deg, transparent, var(--blue-2), transparent); background-size: 100% 40%; background-position: 0 -70%; }
  .is-on .liga::after { animation-name: pulso-v; }
  @keyframes pulso-v { from { background-position: 0 -70%; } to { background-position: 0 170%; } }
}

/* AI with engineering: the measured range, and the path every delivery takes */
.ia__card { display: flex; flex-direction: column; }
.ia__fig { margin-top: 4px; }
.range__marks, .range__ticks { position: relative; height: 20px; font-size: 13px; color: var(--ink-2); }
.range__marks { margin-top: 26px; }
.range__marks span, .range__ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.range__marks span { font-weight: 500; color: var(--blue); }
.range__ticks span:first-child { transform: none; } .range__ticks span:last-child { transform: translateX(-100%); }
.range { position: relative; height: 40px; }
.range::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--line); }
.range i { position: absolute; top: 50%; left: 21%; width: 35%; height: 14px; margin-top: -7px; border-radius: 4px; background: var(--blue-2); transform-origin: left; transition: transform 1.2s var(--ease); }
.ia__nota { margin-top: auto; padding-top: 22px; }
.passos { counter-reset: passo; }
.passos li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.passos li:first-child { border-top: 0; padding-top: 0; }
.passos li::before { counter-increment: passo; content: counter(passo); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px;
  background: var(--blue-4); color: var(--blue); font-size: 13px; font-weight: 500; }
.passos b { display: block; font-weight: 500; color: var(--ink); }

/* who it pays off for, and when the subscription stays better: two cards, a light that follows the pointer */
.quem { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.quem__card { display: grid; align-content: start; padding: 10px 10px 28px; border-radius: var(--r-card); background: var(--panel); }
.quem__card h3 { margin: 24px 18px 0; font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.quem__card ul { display: grid; gap: 12px; margin: 16px 18px 0; }
.quem__card li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.quem__card li::before { content: ""; position: absolute; left: 1px; top: .58em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue-2); }
.quem__card--b li::before { background: var(--ink-3); }
@media (max-width: 799px) { .quem { grid-template-columns: minmax(0, 1fr); } .orbita { aspect-ratio: 2 / 1; } }
.orbita { --lx: 50%; --ly: 50%; position: relative; overflow: hidden; aspect-ratio: 3 / 1; border-radius: 10px;
  background: radial-gradient(circle 170px at var(--lx) var(--ly), rgb(42 85 255 / .16), transparent 72%), var(--card); }
.quem__card--b .orbita { background: radial-gradient(circle 170px at var(--lx) var(--ly), rgb(21 23 28 / .07), transparent 72%), var(--card); }
.orbita::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(21 23 28 / .2) 1px, transparent 1.5px); background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(circle 150px at var(--lx) var(--ly), #000, transparent 78%); mask-image: radial-gradient(circle 150px at var(--lx) var(--ly), #000, transparent 78%); }
.orbita svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbita .anel { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbita .giro { transform-box: view-box; transform-origin: 50% 50%; }
.is-on .giro { animation: giro 56s linear infinite; }
.is-on .giro--2 { animation-duration: 84s; animation-direction: reverse; }
@keyframes giro { to { transform: rotate(360deg); } }
.orbita .ponto { fill: var(--blue-2); }
.quem__card--b .orbita .ponto { fill: var(--ink-3); }
.orbita__centro { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 16px; background: var(--card); box-shadow: var(--shadow-float); color: var(--ink-3); }
.orbita__centro img { width: 26px; height: auto; }
.orbita__centro svg { position: static; width: 24px; height: 24px; }

/* written commitments: each card's picture carries its content */
.compromissos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.compromissos > li { display: grid; grid-template-rows: auto auto 1fr; padding: 10px 10px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: translate .35s var(--ease), box-shadow .35s var(--ease); }
.compromissos > li:hover { translate: 0 -2px; box-shadow: var(--shadow-float); }
.compromissos h3 { margin: 22px 14px 0; font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.compromissos p { margin: 10px 14px 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 899px) { .compromissos { grid-template-columns: minmax(0, 1fr); } }
.ilus { position: relative; display: grid; place-items: center; min-height: 176px; padding: 20px; border-radius: 10px; background: var(--panel); overflow: hidden; }
.arquivos { display: grid; gap: 8px; width: min(100%, 240px); }
.arquivos li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--card); box-shadow: 0 1px 2px rgb(21 23 28 / .06), 0 4px 12px rgb(21 23 28 / .04); font-size: 14px; }
.arquivos li:nth-child(2) { margin-left: 14px; margin-right: -14px; }
.arquivos svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.arquivos svg.ok { margin-left: auto; stroke: var(--blue); }
.opcoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 290px; }
.opcoes li { padding: 8px 13px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13.5px; line-height: 1.2; }
.is-on .opcoes li { animation: vez 10s var(--ease) infinite; animation-delay: calc(var(--i, 0) * 2s); }
@keyframes vez { 0%, 17% { background: var(--blue); color: #fff; box-shadow: none; } 22%, 100% { background: var(--card); color: var(--ink); } }
.cenarios { width: min(100%, 280px); height: auto; overflow: visible; }
.cenarios .base { stroke: var(--line-2); stroke-width: 1; }
.cenarios .ref, .cenarios .cons { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); }
.cenarios .ref { stroke: var(--blue-2); } .cenarios .cons { stroke: var(--ink-2); }
.cenarios text { font: 500 12.5px var(--font); }
.cenarios .t-ref { fill: var(--blue); } .cenarios .t-cons { fill: var(--ink-2); }
.sec--casos { padding-top: 0; }

/* questions: a numbered accordion; it opens smoothly where the browser can animate to auto */
.perguntas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.perguntas .h2 { max-width: 12ch; }
.perguntas .lead { margin-top: 16px; }
.perguntas .btn { margin-top: 26px; }
@media (max-width: 899px) { .perguntas { grid-template-columns: minmax(0, 1fr); } }
.faq { counter-reset: faq; border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; align-items: center; gap: 12px; padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 18px; line-height: 1.35; transition: color .2s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { counter-increment: faq; content: counter(faq, decimal-leading-zero); font-size: 14px; color: var(--ink-3); }
.faq summary:hover { color: var(--blue); }
.faq summary i { position: relative; justify-self: end; width: 14px; height: 14px; transition: transform .35s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; margin-top: -.75px; background: currentColor; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { max-width: 64ch; padding: 0 32px 22px 48px; color: var(--ink-2); }
.faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { height: auto; }
@media (max-width: 559px) { .faq summary { grid-template-columns: 28px minmax(0, 1fr) 16px; font-size: 17px; } .faq details p { padding: 0 0 20px 40px; } }

/* the closing call: the ribbed light rises from the footer and leans toward the pointer */
.final { position: relative; isolation: isolate; padding: clamp(88px, 11vw, 152px) 0 clamp(128px, 15vw, 208px); text-align: center; }
.final__luz { position: absolute; z-index: -1; left: var(--edge); right: var(--edge); bottom: 0; height: clamp(280px, 46vh, 460px); overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 52% 100% at 50% 100%, #000 30%, rgb(0 0 0 / .5) 62%, transparent 92%);
  mask-image: radial-gradient(ellipse 52% 100% at 50% 100%, #000 30%, rgb(0 0 0 / .5) 62%, transparent 92%); }
.final__luz::before { content: ""; position: absolute; top: 0; bottom: 0; left: -20%; right: -20%;
  background: radial-gradient(ellipse 30% 100% at 50% 112%, rgb(42 85 255 / .95), rgb(42 85 255 / .5) 32%, rgb(125 149 255 / .26) 60%, transparent 84%);
  transform: translateX(calc((var(--px, .5) - .5) * 22%)); }
.final__luz::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .38) 0 1px, transparent 1px 18px, rgb(21 23 28 / .07) 18px 20px); }
.final .h2 { max-width: 18ch; margin: 0 auto; }
.final__fig { display: inline-grid; justify-items: center; gap: 8px; margin: 32px auto 0; padding: 22px clamp(20px, 3vw, 36px); border-radius: 20px; background: var(--card); box-shadow: var(--shadow-float); }
.final__fig dt { font-size: 13px; color: var(--ink-2); }
.final__fig .note { max-width: 46ch; }
.final__acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.final .label { margin-top: 14px; color: var(--ink); }

/* the assessment request: the simulated scenario beside the form */
.pedido { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pedido .lead { margin-top: 16px; }
.cenario { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.cenario > div { padding: 16px 18px; border-radius: 14px; background: var(--panel); }
.cenario dt { font-size: 13px; color: var(--ink-2); }
.cenario dd { margin-top: 8px; font-size: clamp(22px, 1vw + 16px, 28px); }
.proximos { margin-top: 24px; }
.proximos li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.proximos b { font-weight: 500; color: var(--ink); }
.pedido__form { padding: clamp(20px, 2.6vw, 36px); border-radius: var(--r-panel); background: var(--panel); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form .full, .form__foot { grid-column: 1 / -1; }
.field { display: grid; align-content: start; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.form input:not([type="hidden"]) { width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--card); color: var(--ink);
  font: 400 16px var(--font); box-shadow: inset 0 0 0 1px var(--line-2); outline: 0; transition: box-shadow .2s var(--ease); }
.form input:not([type="hidden"]):hover { box-shadow: inset 0 0 0 1px rgb(21 23 28 / .34); }
.form input:not([type="hidden"]):focus { box-shadow: inset 0 0 0 2px var(--blue); }
.form input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error); }
.form .err { font-size: 13px; color: var(--error); }
.form__foot { display: grid; justify-items: start; gap: 12px; margin-top: 6px; }
.form .status { min-height: 1.5em; font-size: 15px; font-weight: 500; }
.form .btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
@media (max-width: 899px) { .pedido { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 559px) { .form { grid-template-columns: minmax(0, 1fr); } .form__foot .btn { width: 100%; } }

/* campaign pages: the main action under the input, the prices by size, what gets built */
.hero__acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.precos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.precos > li { position: relative; display: grid; align-content: start; gap: 10px; padding: 22px 22px 24px; background: var(--panel); border-radius: var(--r-card); }
.precos > li + li::before { content: ""; position: absolute; top: 50%; left: calc(-1 * var(--gap) - 1px); width: calc(var(--gap) + 1px); height: 8px; margin-top: -4px; background: var(--rivet); }
.precos h3 { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.precos .fig { margin-top: 8px; font-size: clamp(26px, 1.4vw + 12px, 34px); }
.precos p:not(.fig) { font-size: 15px; color: var(--ink-2); }
.precos p b { font-weight: 500; color: var(--ink); }
.precos__nota { margin: 22px auto 0; text-align: center; }
@media (max-width: 899px) {
  .precos { grid-template-columns: minmax(0, 1fr); }
  .precos > li + li::before { top: auto; bottom: 100%; left: 50%; width: 8px; height: calc(var(--gap) + 1px); margin: 0 0 0 -4px; }
}
.linhas { border-bottom: 1px solid var(--line); }
.linhas > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px var(--gap); padding: 22px 0; border-top: 1px solid var(--line); }
.linhas h3 { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.linhas p { color: var(--ink-2); max-width: 60ch; }
.linhas a { color: var(--blue); font-weight: 500; text-decoration: none; }
.linhas a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 699px) { .linhas > li { grid-template-columns: minmax(0, 1fr); } }
.etapas-os { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: etapa; }
.etapas-os > li { position: relative; display: grid; align-content: start; gap: 10px; padding: 20px 20px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.etapas-os > li + li::before { content: ""; position: absolute; top: 50%; left: calc(-1 * var(--gap) - 1px); width: calc(var(--gap) + 1px); height: 8px; margin-top: -4px; background: var(--rivet); }
.etapas-os > li::after { counter-increment: etapa; content: counter(etapa, decimal-leading-zero); position: absolute; top: 20px; right: 20px; font-size: 14px; color: var(--ink-3); }
.etapas-os h3 { font-size: 19px; font-weight: 500; }
.etapas-os p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 999px) { .etapas-os { grid-template-columns: repeat(2, minmax(0, 1fr)); } .etapas-os > li:nth-child(3)::before { display: none; } }
@media (max-width: 559px) {
  .etapas-os { grid-template-columns: minmax(0, 1fr); }
  .etapas-os > li + li::before, .etapas-os > li:nth-child(3)::before { display: block; top: auto; bottom: 100%; left: 50%; width: 8px; height: calc(var(--gap) + 1px); margin: 0 0 0 -4px; }
}

/* drawn once on screen; nothing waits under reduced motion */
.js-reveal .draw:not(.is-in) .pair i, .js-reveal .draw:not(.is-in) .range i { transform: scaleX(0); }
.js-reveal .draw:not(.is-in) .dots i.is-on { background: var(--bg); }
.js-reveal .draw:not(.is-in) .cenarios .ref, .js-reveal .draw:not(.is-in) .cenarios .cons { stroke-dashoffset: 1; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .draw:not(.is-in) .pair i, .js-reveal .draw:not(.is-in) .range i { transform: none; }
  .js-reveal .draw:not(.is-in) .dots i.is-on { background: var(--blue-2); }
  .js-reveal .draw:not(.is-in) .cenarios .ref, .js-reveal .draw:not(.is-in) .cenarios .cons { stroke-dashoffset: 0; }
  .pair i, .range i, .dots i, .cenarios .ref, .cenarios .cons, .pesq > li, .compromissos > li, .faq summary i, .faq details::details-content { transition: none; }
  .is-on .liga::after, .is-on .giro, .is-on .opcoes li, .marquee.is-live .marquee__track { animation: none; }
  .final__luz::before { transform: none; }
}

/* ------------------------------------------------------------------ data and method: the sum step by step, tables, files, sources */
.metodo { counter-reset: passo; border-bottom: 1px solid var(--line); }
.metodo > li { display: grid; grid-template-columns: 48px minmax(0, 4fr) minmax(0, 7fr); gap: 8px var(--gap); align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.metodo > li::before { counter-increment: passo; content: counter(passo, decimal-leading-zero); font-size: 14px; color: var(--ink-3); }
.metodo h3 { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.metodo p { color: var(--ink-2); max-width: 62ch; }
@media (max-width: 699px) { .metodo > li { grid-template-columns: 36px minmax(0, 1fr); } .metodo p { grid-column: 2; } }

/* a table scrolls inside its own card on narrow screens; the page never scrolls sideways */
.tabela { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); overscroll-behavior-x: contain; }
.tabela:focus-visible { outline-offset: 2px; }
.tabela table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.tabela th, .tabela td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tabela thead th { font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--panel); }
.tabela tbody th { font-weight: 500; white-space: nowrap; }
.tabela .n { text-align: right; white-space: nowrap; }
.tabela tbody tr:last-child > * { border-bottom: 0; }
.tabela tbody tr { transition: background-color .2s var(--ease); }
.tabela tbody tr:hover { background: rgb(42 85 255 / .04); }
#cenarios .tabela table { min-width: 980px; }
.baixar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.ressalvas { display: grid; gap: 8px; max-width: 80ch; margin: 28px auto 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.ressalvas li { position: relative; padding-left: 18px; }
.ressalvas li::before { content: ""; position: absolute; left: 1px; top: .6em; width: 6px; height: 6px; border-radius: 2px; background: var(--ink-3); }

.agentes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.agentes__card { display: grid; align-content: start; gap: 12px; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-card); background: var(--navy-2); }
.agentes__card h3 { font-size: 19px; font-weight: 500; color: #fff; }
.agentes__card p, .agentes__card li { font-size: 15px; line-height: 1.6; color: var(--on-navy-2); }
.agentes__card ul { display: grid; gap: 10px; }
.agentes__card a { color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .35); text-underline-offset: 3px; overflow-wrap: anywhere; }
.agentes__card a:hover { text-decoration-color: #fff; }
.agentes__card code, .codigo { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .9em; }
.agentes__card code:not(.codigo) { padding: 1px 6px; border-radius: 6px; background: rgb(255 255 255 / .08); color: #fff; }
.codigo { display: block; padding: 14px 16px; border-radius: 12px; background: rgb(0 0 0 / .28); color: #fff; line-height: 1.55; overflow-wrap: anywhere; }
@media (max-width: 999px) { .agentes { grid-template-columns: minmax(0, 1fr); } }

.fontes { display: grid; gap: 12px; max-width: 80ch; margin: 0 auto; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.fontes a { color: var(--blue); overflow-wrap: anywhere; }
.fontes__licenca { margin: 24px auto 0; text-align: center; }

/* when an agent fills the assessment form in the browser, the visitor sees which form it is */
.form:tool-form-active { outline: 2px solid var(--blue); outline-offset: 14px; border-radius: 14px; }

/* ------------------------------------------------------------------ editorial: typographic covers, tables in the reading column, glossary */
.capa-tipo { position: relative; isolation: isolate; display: grid; align-content: end; gap: 6px; padding: clamp(16px, 2.4vw, 28px); overflow: hidden;
  background: var(--navy); color: #fff; }
.capa-tipo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / .07) 0 1px, transparent 1px 18px),
              radial-gradient(ellipse 60% 120% at 82% -12%, rgb(42 85 255 / .9), rgb(42 85 255 / .32) 46%, transparent 76%); }
.capa-tipo b { font-weight: 400; font-stretch: 108%; font-size: clamp(34px, 2.6vw + 14px, 56px); line-height: 1; letter-spacing: -0.03em; }
.capa-tipo span { max-width: 30ch; font-size: 14px; line-height: 1.4; color: var(--on-navy-2); }
.artigo__capa--tipo { padding: clamp(22px, 4vw, 48px); }
.artigo__capa--tipo b { font-size: clamp(52px, 6vw + 14px, 104px); }
.artigo__capa--tipo span { font-size: clamp(15px, .5vw + 12px, 19px); }

.prose .rolagem { margin-top: 1.4em; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.prose .rolagem table { min-width: 560px; }
@media (min-width: 1100px) { .prose .rolagem { margin-left: -14%; margin-right: -14%; } }
.prose .rolagem th, .prose .rolagem td { padding: 11px 14px; }
.prose thead th { font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--ink-2); background: var(--panel); }
.prose tbody th { font-weight: 500; }
.prose .n { text-align: right; white-space: nowrap; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.prose .nota { margin-top: .6em; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.prose .destaque { padding: 18px 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.prose ol.fontes-artigo { padding-left: 1.3em; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

.faq--artigo { width: min(100%, 68ch); margin: clamp(48px, 6vw, 72px) auto 0; }
.faq--artigo h2 { margin-bottom: 10px; font-size: clamp(24px, .8vw + 18px, 30px); font-weight: 500; font-stretch: 104%; line-height: 1.2; letter-spacing: -0.02em; }

.page-head .chips { margin-top: 26px; }
/* table of contents and author box in the reading column */
.indice { width: min(100%, 68ch); margin: clamp(32px, 4vw, 48px) auto 0; padding: 18px 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.indice h2 { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.indice ol { display: grid; gap: 4px; margin-top: 10px; padding-left: 1.4em; list-style: decimal; font-size: 15.5px; line-height: 1.45; }
.indice li::marker { color: var(--ink-3); font-size: 13px; }
.indice a { display: block; padding: 3px 0; color: var(--ink); text-decoration: none; }   /* block: the number stays on the first line of a long title */
.indice a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.indice + .prose { margin-top: clamp(28px, 3vw, 40px); }
.prose h2[id] { scroll-margin-top: calc(var(--nav-h) + var(--nav-top) + 24px); }
.autor-caixa { width: min(100%, 68ch); margin: clamp(32px, 4vw, 48px) auto 0; padding: 18px 22px; border-radius: 14px; background: var(--panel); font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.autor-caixa b { font-weight: 500; color: var(--ink); }
.autor-caixa a { color: var(--blue); text-decoration: none; }
.autor-caixa a:hover { text-decoration: underline; text-underline-offset: 3px; }
.glossario { max-width: 900px; margin: 0 auto; border-bottom: 1px solid var(--line); }
.termo { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 6px var(--gap); padding: 24px 0; border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + var(--nav-top) + 24px); }
.termo dt { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.termo dd { grid-column: 2; line-height: 1.65; color: var(--ink-2); }
.termo dd.termo__ver { font-size: 14px; }
.termo:target dt { color: var(--blue); }
@media (max-width: 699px) { .termo { grid-template-columns: minmax(0, 1fr); } .termo dd { grid-column: 1; } }
