/* okah.ai — site styles. Palette and type: docs/DECISIONS.md §Design + "Rodada 4" + "Rodada 5".
   Round 5 = direction B "Tropical sóbrio" (Pedro's benchmark, approved by Thiago in its "more shadow, more motion"
   form): paper ground, forest for the structural dark chapters, terracotta as the signature and the single primary
   action, lime as a support surface, amber for accents only. Flat fills (no gradients, no glass, no glow) and a
   3-level elevation scale: 0 flat · 1 cards at rest · 2 "Destaque" (product window, cards on hover).
   Motion uses transform, opacity and box-shadow only; it pauses off-screen and loses every displacement under
   prefers-reduced-motion. Surfaces are flat: round 4's patterns (dot grid, line grid, topographic contours) and the
   hero line art were removed at Thiago's request (2026-11-15); depth comes from surface, shadow and motion. */

@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-var.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-var.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-okah.woff2") format("woff2"); font-weight: 500; font-display: block; }

:root {
  --espresso: #241A15;
  --ink: #17100C;             /* near-black ground (round 4): linen 17.6:1, amber 7.0:1 */
  --espresso-2: #2F241E;      /* cards on dark */
  --espresso-3: #3A2C24;
  --ink-2: #5B4E45;           /* secondary text on linen: 7.0:1 */
  --clay: #C4553A;            /* large text / non-text only (3.9:1 on linen) */
  --clay-text: #A8432B;       /* clay for small text: 5.2:1 on linen */
  --clay-deep: #A8432B;       /* round 4: the solid clay block; linen text on it 5.2:1 */
  --amber: #D98E2E;
  --amber-hover: #C77F22;
  --linen: #F6EFE4;
  --sand: #EFE4D3;
  --line: #DCCDB8;            /* hairlines on sand */
  --line-dark: #4A3B32;
  --on-dark-2: #CDBFAE;       /* secondary text on espresso: 9.6:1 */
  --on-amber-2: #3B2A20;      /* secondary text on amber: 5.1:1 */

  /* Round 5, direction B "Tropical sóbrio" (Pedro's benchmark §05; contrasts in docs/DECISIONS.md "Rodada 5") */
  --paper: #FAF7EF;           /* reading ground */
  --white: #FFFDF8;           /* cards on paper / sand */
  --forest: #173E32;          /* structure: dark chapters, headings on paper (11.1:1) */
  --forest-2: #1E4B3D;
  --forest-deep: #10302A;     /* cards on forest */
  --forest-line: #3F6A5B;     /* hairlines on forest */
  --on-forest-2: #C9D6C6;     /* secondary text on forest: 7.6:1 */
  --terra: #AD4B32;           /* signature + the one primary action; white text 5.48:1 */
  --terra-hover: #963F29;
  --lime: #DCE9B9;            /* support surface; forest text on it 9.3:1 */
  --muted-b: #59665B;         /* secondary text on paper: 5.6:1 */
  --line-b: #D9DDD1;          /* hairlines on paper */
  --arc: #DCE6CB;             /* the discreet arc behind an elevated figure */

  /* elevation, 3 levels: 0 = flat (text, lists) · 1 = cards at rest · 2 = "Destaque" (product window; cards on hover) */
  --e1: 0 1px 2px rgb(36 26 21 / .06), 0 12px 28px -12px rgb(36 26 21 / .18);
  --e2: 0 2px 5px rgb(36 26 21 / .06), 0 24px 56px -20px rgb(36 26 21 / .28);
  --e2-hover: 0 2px 5px rgb(36 26 21 / .08), 0 34px 70px -24px rgb(36 26 21 / .34);
  /* on forest / dark: tone + hairline + a deep soft shadow */
  --e-dark: 0 1px 0 rgb(250 247 239 / .04) inset, 0 14px 30px -20px rgb(0 0 0 / .55);
  --e-dark-hover: 0 1px 0 rgb(250 247 239 / .06) inset, 0 26px 48px -22px rgb(0 0 0 / .65);
  --e-forest: 0 2px 5px rgb(23 62 50 / .1), 0 18px 40px -22px rgb(23 62 50 / .55);
  --e-forest-hover: 0 2px 5px rgb(23 62 50 / .12), 0 30px 60px -24px rgb(23 62 50 / .6);
  /* motion: 160 ms controls · 320 ms panels · 480 ms block entry */
  --t-ctl: 160ms; --t-panel: 320ms; --t-block: 480ms;


  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(48px, 5.4vw, 80px);
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--espresso);
  font: 400 1.0625rem/1.62 var(--sans);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
main { display: block; outline: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: inherit; margin: 0 0 .5em; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4.4rem); letter-spacing: -0.028em; line-height: 1.03; }
h2 { font-size: clamp(1.95rem, 1.2rem + 2.3vw, 3.05rem); letter-spacing: -0.024em; line-height: 1.06; }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.22; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0; }

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: var(--clay); }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--espresso); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .crumbs-bar :focus-visible, .hero :focus-visible { outline-color: var(--forest); }
/* on forest the scoped --amber is lime (see "forest scope"); on the ink footer it is amber */
.section--dark :focus-visible, .section--ink :focus-visible, .site-footer :focus-visible, .aside-card :focus-visible,
.center-page :focus-visible, .toc :focus-visible, .chapter :focus-visible, .pillar--forest:focus-visible,
.audience .card:last-child :focus-visible { outline-color: var(--amber); }
.section--clay :focus-visible { outline-color: var(--forest); }
.cta-band :focus-visible { outline-color: var(--paper); }

.visually-hidden { position: absolute !important; 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: 12px; top: -60px; z-index: 100; background: var(--forest); color: var(--paper); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 760px; }
.measure { max-width: 66ch; }

/* eyebrow: a short rule + tracked caps (round 4) */
.eyebrow { display: flex; align-items: center; gap: 12px; font: 600 .8rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-text); margin: 0 0 18px; }
.eyebrow::before { content: ""; flex: none; width: 26px; height: 2px; background: currentColor; }
.lede { font-size: clamp(1.12rem, 1.02rem + .35vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.muted { color: var(--ink-2); }
.small { font-size: .9375rem; }

/* ---------------------------------------------------------------- surfaces (round 5: paper / sand / forest / terracotta) */
.section, .hero, .cta-band, .center-page { position: relative; }
.section--grid { background: var(--paper); }
.section--dots { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--topo { background: var(--paper); }
.section--dark { background: var(--forest); color: var(--paper); }
.section--ink { background: var(--forest); color: var(--paper); }
/* .section--clay keeps its round-4 name in content_*.py; in direction B it is the lime support surface (forest text 9.3:1),
   so terracotta is left for the action (buttons, the CTA band) */
.section--clay { background: var(--lime); color: var(--forest); overflow: hidden; }
/* forest scope: everything written for round 4's dark surfaces reads these tokens, so inside a forest surface the
   card tone, hairline, secondary text, accent and focus ring switch together (accent = lime, never amber text). */
.section--dark, .section--ink, .chapter, .aside-card, .toc, .center-page, .pillar--forest, .audience .card:last-child,
.bento-3 > :first-child, .bento-6 > :first-child, .bento-4 > :nth-child(3), .compare > div:last-child {
  --espresso-2: var(--forest-deep); --line-dark: var(--forest-line); --on-dark-2: var(--on-forest-2);
  --amber: var(--lime); --linen: var(--paper);
}
.section > .wrap, .cta-band > .wrap, .hero > .wrap, .center-page > .wrap { position: relative; z-index: 1; }

.section--dark .eyebrow, .section--ink .eyebrow, .center-page .eyebrow { color: var(--amber); }
.section--clay .eyebrow { color: var(--forest); }
.section--clay .lede, .section--clay p, .section--clay .muted { color: #2B4D40; }
.section--dark .lede, .section--ink .lede, .section--dark .muted, .section--ink .muted { color: var(--on-dark-2); }
.section--dark a, .section--ink a { text-decoration-color: var(--amber); }
.section--clay a { text-decoration-color: var(--forest); }

/* ---------------------------------------------------------------- buttons (round 5: terracotta = the one primary action) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color var(--t-ctl) var(--ease), color var(--t-ctl) var(--ease), border-color var(--t-ctl) var(--ease), transform var(--t-ctl) var(--ease), box-shadow var(--t-ctl) var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: .9375rem; }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 1px 2px rgb(36 26 21 / .1), 0 10px 22px -12px rgb(173 75 50 / .7); }
.btn-primary:hover { background: var(--terra-hover); box-shadow: 0 1px 2px rgb(36 26 21 / .12), 0 16px 28px -12px rgb(173 75 50 / .75); }
.btn-primary::after { content: "→"; transition: transform var(--t-ctl) var(--ease); }
.btn-primary:hover::after { transform: translateX(3px); }
.btn-sm.btn-primary::after, button.btn-primary::after { content: none; }
.btn-dark { background: var(--forest); color: var(--paper); }
.btn-dark:hover { background: var(--forest-2); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: rgb(23 62 50 / .07); }
.section--dark .btn-outline, .section--ink .btn-outline, .center-page .btn-outline, .chapter .btn-outline { color: var(--paper); border-color: rgb(250 247 239 / .7); }
.section--dark .btn-outline:hover, .section--ink .btn-outline:hover, .center-page .btn-outline:hover, .chapter .btn-outline:hover { background: rgb(250 247 239 / .1); }
.section--dark .btn-dark, .section--ink .btn-dark, .center-page .btn-dark, .chapter .btn-dark { background: var(--lime); color: var(--forest); }
.section--dark .btn-dark:hover, .section--ink .btn-dark:hover, .center-page .btn-dark:hover, .chapter .btn-dark:hover { background: #E8F1CD; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-top: 30px; }
.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: baseline; border-bottom: 1.5px solid var(--terra); padding-bottom: 2px; }
.arrow-link::after { content: "→"; transition: transform var(--t-ctl) var(--ease); }
.arrow-link:hover::after, a:hover > .arrow-link::after, .card-link:hover .arrow-link::after { transform: translateX(4px); }
.section--dark .arrow-link, .section--ink .arrow-link { border-bottom-color: var(--amber); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .18em; cursor: pointer; min-height: 24px; }

/* ---------------------------------------------------------------- header (round 5: its own white bar with a hairline, never the
   hero's colour; a soft level-1 shadow once the page scrolls) */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); color: var(--forest); border-bottom: 1px solid var(--line-b); transition: box-shadow var(--t-panel) var(--ease); }
.site-header.is-scrolled { box-shadow: var(--e1); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.brand { text-decoration: none; display: inline-flex; flex: none; padding: 6px 0; }
.lockup { display: inline-flex; align-items: flex-end; gap: 5px; }
.lockup img { width: 40px; height: 40px; }
.wordmark { font: 500 26px/0.8 "Outfit", var(--sans); letter-spacing: -0.035em; padding-bottom: 6px; color: var(--espresso); }
.site-footer .wordmark { color: var(--linen); }
.menu { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: flex-end; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-list > li > a, .sub-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 11px; border-radius: 8px; font: 500 .98rem/1.2 var(--sans); color: var(--forest); text-decoration: none; background: none; border: 0; cursor: pointer; transition: background-color var(--t-ctl) var(--ease); }
.nav-list > li > a:hover, .sub-toggle:hover { background: rgb(23 62 50 / .07); }
.nav-list a[aria-current="page"], .has-sub[data-active] > .sub-toggle { box-shadow: inset 0 -2px 0 var(--terra); border-radius: 0; }
.sub-toggle svg { transition: transform .15s var(--ease); }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-sub { position: relative; }
.sub { list-style: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; background: var(--white); border: 1px solid var(--line-b); border-radius: 12px; padding: 8px; display: none; box-shadow: var(--e2); }
.sub[data-open] { display: block; animation: menu-in var(--t-ctl) var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
.sub a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--forest); }
.sub a:hover { background: rgb(23 62 50 / .07); }
.sub a[aria-current="page"] { font-weight: 600; box-shadow: inset 3px 0 0 var(--terra); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 8px; font-weight: 600; font-size: .9375rem; text-decoration: none; letter-spacing: .04em; border: 1px solid rgb(23 62 50 / .3); color: var(--forest); }
.lang-switch:hover { background: rgb(23 62 50 / .07); }
.menu-toggle { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid rgb(23 62 50 / .4); border-radius: 999px; background: none; font: 600 .9375rem/1 var(--sans); color: var(--forest); cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 1.6px; background: currentColor; position: relative; transition: transform .15s var(--ease), background-color .15s; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1139px) {
  .menu-toggle { display: inline-flex; }
  .js .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line-b); box-shadow: var(--e2); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 24px; max-height: calc(100vh - 74px); overflow: auto; }
  .js .menu[data-open] { display: flex; }
  .menu { flex-wrap: wrap; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li > a, .sub-toggle { width: 100%; justify-content: space-between; padding: 12px 4px; font-size: 1.0625rem; border-radius: 0; border-bottom: 1px solid var(--line-b); }
  .nav-list a[aria-current="page"], .has-sub[data-active] > .sub-toggle { box-shadow: inset 3px 0 0 var(--terra); padding-left: 12px; }
  .sub { position: static; border: 0; background: none; padding: 0 0 8px 12px; min-width: 0; box-shadow: none; }
  .header-actions { justify-content: space-between; padding-top: 16px; }
}

/* ---------------------------------------------------------------- crumbs (on the hero's sand band) */
.crumbs-bar { background: var(--sand); color: #4E5B50; }
.crumbs { padding-top: 16px; font-size: .9375rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: #7A857B; }
.crumbs a { color: var(--forest); text-decoration-color: rgb(23 62 50 / .35); }
.crumbs [aria-current] { color: #4E5B50; }

/* ---------------------------------------------------------------- hero (round 5, Pedro's route B: flat sand under the white header,
   copy left, an elevated figure on one discreet arc right) */
.hero { background: var(--sand); color: var(--forest); padding: clamp(40px, 5vw, 76px) 0 clamp(56px, 6.4vw, 100px); overflow: hidden; isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .98fr); gap: clamp(36px, 4.5vw, 72px); align-items: center; }
.hero-copy { min-width: 0; }
.hero .eyebrow { color: var(--clay-text); }
.hero .lede { margin-top: 20px; color: #4E5B50; }
.hero-note { margin-top: 22px; font-size: .98rem; color: #4E5B50; }
.hero--text .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero--text .hero-copy { max-width: 900px; }
.hero a { text-decoration-color: var(--terra); }
.hero:not(.hero--rotor) h1 { font-size: clamp(2.3rem, 1.35rem + 2.75vw, 3.75rem); }
.hero--form, .hero--legal { padding-bottom: clamp(40px, 5vw, 64px); }
@media (max-width: 899px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* the stage: a figure at elevation 2 on the arc (Pedro §04 B). The arc is a framing device from the mark's geometry. */
.stage { position: relative; padding: 28px 0 26px 26px; min-width: 0; }
.stage::before { content: ""; position: absolute; inset: 0 20% 0 0; border-radius: 180px 10px 10px 10px; background: var(--arc); }
.stage { animation: stage-in .9s var(--ease) backwards; }
.stage > * { position: relative; }
.stage .media { border: 1px solid #D7D8C8; box-shadow: var(--e2); border-radius: 12px; }
/* 4:3 keeps 75% of the 16:9 render width in the crop (round 2: no near-portrait crops) */
.stage .media img { aspect-ratio: 4 / 3; }
.stage .video-fig img, .stage .video-fig video { aspect-ratio: 16 / 10; }
.stage-float { animation: float 7s ease-in-out infinite; will-change: transform; }
@keyframes float { 0%, 100% { transform: translateY(6px); } 50% { transform: translateY(-6px); } }
/* entry: the figure rises and its shadow grows (no opacity, so the first paint already shows it) */
@keyframes stage-in { from { transform: translateY(26px); } }
.stage .pwin, .stage .media { animation: bloom 1.1s var(--ease) backwards; }
@keyframes bloom { from { box-shadow: 0 0 0 rgb(36 26 21 / 0), 0 0 0 rgb(36 26 21 / 0); } }
.stage-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 8px 20px; align-items: center; flex-wrap: wrap; margin: -22px 26px 0 -12px; padding: 14px 20px; border-radius: 8px; background: var(--forest); color: var(--on-forest-2); font: 500 .9375rem/1.35 var(--sans); box-shadow: 0 2px 5px rgb(23 62 50 / .12), 0 22px 44px -22px rgb(23 62 50 / .7); }
.stage-foot b { color: var(--paper); font-weight: 600; }
.hero .stage-foot a { color: var(--lime); text-decoration-color: rgb(220 233 185 / .55); font-weight: 600; }
.hero .stage-foot :focus-visible { outline-color: var(--lime); }
@media (max-width: 999px) { .stage { max-width: 680px; } }
@media (max-width: 899px) { .stage { order: 2; } }
@media (max-width: 560px) {
  .stage { padding: 16px 0 14px 12px; }
  .stage::before { border-radius: 90px 10px 10px 10px; }
  .stage-foot { margin: -14px 12px 0 -6px; padding: 12px 14px; }
}

/* product window: the recording's real poster in a window frame, never an invented dashboard */
.pwin { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #F5EEE3; border: 1px solid #D7D8C8; box-shadow: var(--e2); transition: box-shadow var(--t-panel) var(--ease); }
.pwin:hover { box-shadow: var(--e2-hover); }
.pwin-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--white); border-bottom: 1px solid var(--line); font: 600 .8125rem/1 var(--sans); color: var(--ink-2); }
.pwin-dots { display: flex; gap: 6px; }
.pwin-dots i { width: 10px; height: 10px; border-radius: 50%; background: #D5C6B1; }
.pwin-dots i:first-child { background: var(--clay); }
.pwin-lbl { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: var(--sand); border: 1px solid var(--line); color: var(--espresso); letter-spacing: .01em; }
.pwin-lbl::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3E8A57; animation: blink 1.6s ease-in-out infinite alternate; }
@keyframes blink { from { opacity: .3; } to { opacity: 1; } }
.pwin-img { position: relative; }
.pwin-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pwin-chip { position: absolute; left: 35.5%; top: 60.6%; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border-radius: 999px; background: var(--forest); color: var(--paper); font: 600 .8125rem/1 var(--sans); box-shadow: 0 8px 18px -8px rgb(23 16 12 / .5); white-space: nowrap; animation: chip-in .5s var(--ease) 1.1s backwards; }
@keyframes chip-in { from { opacity: 0; transform: translateY(8px) scale(.9); } }
.pwin-chip::before { content: ""; position: absolute; left: -26px; top: 50%; width: 24px; height: 1.5px; background: var(--forest); }
.pwin-chip svg { color: var(--lime); }
@media (max-width: 560px) { .pwin-chip { left: 35%; top: 60%; font-size: .75rem; padding: 5px 9px 5px 7px; } .pwin-chip::before { display: none; } }

@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.1); opacity: 0; } }

.media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); box-shadow: var(--e1); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .8s var(--ease); }
.media:hover img { transform: scale(1.025); }
.media.tall img { aspect-ratio: 4 / 3; }
.media.wide { max-width: 1024px; margin-left: auto; margin-right: auto; }  /* 2x of 1024 = the 2048 source */
.media.wide img { aspect-ratio: 21 / 9; }

/* ---------------------------------------------------------------- sections + heads */
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head h2 { margin-bottom: 0; }
.section-head p { color: var(--ink-2); font-size: 1.125rem; margin: 16px 0 0; }
.section--dark .section-head p, .section--ink .section-head p { color: var(--on-dark-2); }
.section--clay .section-head p { color: #2B4D40; }
/* a head with an intro: title left, intro right (uses the width instead of stacking) */
@media (min-width: 1000px) {
  .section > .wrap > .section-head--intro { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: clamp(32px, 5vw, 88px); align-items: end; }
  .section > .wrap > .section-head--intro > .eyebrow, .section > .wrap > .section-head--intro > h2 { grid-column: 1; }
  .section > .wrap > .section-head--intro > p { grid-column: 2; grid-row: 1 / span 2; margin: 0 0 .3em; }
}

/* side layout (round 4): head in a sticky left column, content right */
.side { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.side-head { position: sticky; top: 110px; }
.side-head .section-head { margin-bottom: 0; }
.side-head .section-head p { font-size: 1.1rem; }
.side-body > .actions { margin-top: 26px; }
.side + .hub { margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 999px) { .side { grid-template-columns: minmax(0, 1fr); } .side-head { position: static; } }

.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.g1 { grid-template-columns: minmax(0, 1fr); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 679px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--top { align-items: start; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--top > :first-child { position: sticky; top: 110px; }
@media (max-width: 899px) { .split--top > :first-child { position: static; } }
.split.flip > :first-child { order: 2; }
@media (max-width: 899px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }

/* ---------------------------------------------------------------- cards (hover: lift + clay bar) */
.card { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line-b); border-radius: var(--radius); padding: clamp(22px, 2.3vw, 32px); display: flex; flex-direction: column; transition: transform .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease); }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { border-color: #C6CCBB; }
.card:hover::after { transform: scaleX(1); }
.section--sand .card { background: var(--white); }
.section--dark .card, .section--ink .card { background: var(--espresso-2); border-color: var(--line-dark); }
.section--dark .card::after, .section--ink .card::after { background: var(--amber); }
.section--dark .card:hover, .section--ink .card:hover { border-color: #6B5646; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); }
.section--dark .card p, .section--ink .card p { color: var(--on-dark-2); }
.card p:last-child { margin-bottom: 0; }
.card .arrow-link { margin-top: auto; padding-top: 18px; align-self: flex-start; border-bottom: 0; }
.card .arrow-link span { border-bottom: 1.5px solid var(--clay); }
.card-link { text-decoration: none; }
.card-link:hover { background: #fff; }
.num { display: block; font: 500 clamp(2.3rem, 1.7rem + 1.5vw, 3.3rem)/.95 var(--serif); letter-spacing: -0.03em; color: var(--clay); margin-bottom: 18px; font-variant-numeric: lining-nums tabular-nums; }
.section--dark .num, .section--ink .num { color: var(--amber); }

/* cards on the lime block: plain white cards */
.on-clay .card p { color: var(--ink-2); }

/* rows: a numbered list as wide rows (numeral | title | text) */
.rows { gap: 0; }
.rows .card { display: grid; grid-template-columns: 92px minmax(0, .85fr) minmax(0, 1.3fr); column-gap: clamp(16px, 2vw, 32px); align-items: baseline; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 26px 0 24px; }
.rows .card:last-child { border-bottom: 1px solid var(--line); }
.rows .card:hover { transform: none; background: none; }
.rows .num { margin: 0; }
.rows .card h3 { margin: 0; }
@media (max-width: 679px) { .rows .card { grid-template-columns: 64px minmax(0, 1fr); row-gap: 6px; } .rows .card p { grid-column: 2; } }

/* bento grids */
.bento-3 { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); }
.bento-3 > :first-child { grid-row: span 2; background: var(--forest); color: var(--linen); border-color: transparent; justify-content: flex-end; min-height: 320px; }
.bento-3 > :first-child p { color: var(--on-dark-2); }
.bento-3 > :first-child .num { color: var(--amber); font-size: clamp(3.4rem, 2.4rem + 3vw, 5.6rem); margin-bottom: auto; }
.bento-3 > :first-child h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 24px; }
.bento-3 > :first-child::after { background: var(--amber); }
.bento-3 > :nth-child(2), .bento-3 > :nth-child(3) { grid-column: 2 / 4; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; align-content: start; }
.bento-3 > :nth-child(2) .num, .bento-3 > :nth-child(3) .num { grid-row: span 2; margin: 0; }
.bento-6 > :first-child { grid-column: span 2; background: var(--forest); color: var(--linen); border-color: transparent; justify-content: flex-end; }
.bento-6 > :first-child p { color: var(--on-dark-2); }
.bento-6 > :first-child h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.bento-6 > :first-child::after { background: var(--amber); }
.bento-6 > :last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 32px; align-items: baseline; }
.bento-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bento-4 > :nth-child(3) { grid-row: span 2; background: var(--forest); color: var(--linen); border-color: transparent; }
.bento-4 > :nth-child(3)::after { background: var(--amber); }
.bento-4 > :nth-child(4) { grid-column: span 2; }
.bento-4 > :nth-child(4) .dots { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
@media (max-width: 1023px) {
  .bento-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bento-3 > :nth-child(2), .bento-3 > :nth-child(3) { grid-column: 2; display: flex; }
  .bento-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-4 > :nth-child(3) { grid-row: auto; }
  .bento-4 > :nth-child(4) { grid-column: auto; }
  .bento-4 > :nth-child(4) .dots { grid-template-columns: minmax(0, 1fr); }
  .bento-6 > :last-child { display: flex; }
}
@media (max-width: 679px) {
  .bento-3, .bento-4 { grid-template-columns: minmax(0, 1fr); }
  .bento-3 > *, .bento-6 > * { grid-row: auto !important; grid-column: auto !important; }
  .bento-3 > :first-child { min-height: 0; }
  .bento-3 > :first-child .num { font-size: 3rem; margin-bottom: 0; }
}

/* home: the four entry points as a bento with different weights (round 5: Plataforma largest, with the product window) */
.bento-pillars { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); }
.bento-pillars > :first-child { grid-row: span 2; color: var(--forest); }
.bento-pillars > :first-child h3 { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -.025em; margin-top: auto; }
.bento-pillars > :first-child p { color: var(--muted-b); font-size: 1.08rem; max-width: 34em; }
.bento-pillars > :last-child { grid-column: span 2; }
.pillar .mini { position: relative; padding: 22px 0 18px 18px; margin: 4px 0 20px; }
.pillar .mini::before { content: ""; position: absolute; inset: 0 22% 0 0; border-radius: 110px 10px 10px 10px; background: var(--arc); }
.pillar .mini .pwin { border-radius: 10px; transition: transform var(--t-panel) var(--ease), box-shadow var(--t-panel) var(--ease); }
.pillar:hover .mini .pwin { transform: translateY(-4px); box-shadow: var(--e2-hover); }
.pillar .mini .pwin-img img { aspect-ratio: 16 / 8; object-position: top left; }
.pillar .mini .pwin-chip { display: none; }
.pillar.pillar--forest { background: var(--forest); color: var(--paper); border-color: transparent; }
.pillar.pillar--forest p { color: var(--on-forest-2); }
.pillar.pillar--forest .num, .pillar.pillar--forest .arrow-link { color: var(--lime); }
.pillar.pillar--forest .arrow-link { border-bottom-color: var(--lime); }
.pillar.pillar--forest::after { background: var(--lime); }
.pillar.pillar--forest:hover { border-color: transparent; }
@media (max-width: 1023px) { .bento-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento-pillars > :first-child { grid-row: auto; grid-column: 1 / -1; } .bento-pillars > :last-child { grid-column: 1 / -1; } }
@media (max-width: 679px) { .bento-pillars { grid-template-columns: minmax(0, 1fr); } .bento-pillars > * { grid-column: auto !important; } }

/* pillars on the home page */
.pillar { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line-b); border-radius: var(--radius); padding: clamp(22px, 2.3vw, 32px); text-decoration: none; display: flex; flex-direction: column; transition: transform .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease); }
.pillar::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.pillar:hover { border-color: #C6CCBB; }
.pillar:hover::after { transform: scaleX(1); }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--ink-2); }
.pillar .arrow-link { margin-top: auto; align-self: flex-start; font-size: .98rem; }
.pillar .num { font-size: clamp(2rem, 1.6rem + 1vw, 2.6rem); }
.pillar .arrow-link { color: var(--clay-text); }

/* dot list (deck style: amber dot, serif lead + sans line) */
.dots { list-style: none; display: grid; gap: 12px; }
.dots li { position: relative; padding-left: 22px; }
.dots li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.dots strong { font-weight: 600; }
.dots.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
@media (max-width: 679px) { .dots.cols { grid-template-columns: minmax(0, 1fr); } }

/* tiles: lists as numbered tiles (round 4) */
.tiles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tiles li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 18px 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line-b); transition: border-color .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease); }
.tiles li:hover { border-color: #C6CCBB; }
.tile-n { font: 500 1.45rem/1 var(--serif); color: var(--clay-text); font-variant-numeric: tabular-nums; }
.tiles strong { font-weight: 600; }
.section--dark .tiles li, .section--ink .tiles li, .chapter .tiles li { background: var(--espresso-2); border-color: var(--line-dark); color: var(--on-dark-2); }
.section--dark .tiles strong, .section--ink .tiles strong, .chapter .tiles strong { color: var(--linen); }
.section--dark .tiles li:hover, .section--ink .tiles li:hover, .chapter .tiles li:hover { border-color: #5A8273; }
.section--dark .tile-n, .section--ink .tile-n, .chapter .tile-n { color: var(--amber); }
@media (max-width: 679px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* steps */
.steps { list-style: none; counter-reset: s; display: grid; gap: 0; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(s, decimal-leading-zero); content: counter(s, decimal-leading-zero) / ""; font: 500 2.3rem/1 var(--serif); letter-spacing: -0.03em; color: var(--clay); }
.steps h3 { margin-bottom: 6px; font-size: 1.28rem; }
.steps p { margin: 0; color: var(--ink-2); }
.section--dark .steps > li, .section--ink .steps > li { border-color: var(--line-dark); }
.section--dark .steps > li::before, .section--ink .steps > li::before { color: var(--amber); }
.section--dark .steps p, .section--ink .steps p { color: var(--on-dark-2); }
.section--clay .steps > li { border-color: rgb(23 62 50 / .28); }
.section--clay .steps > li::before { color: var(--forest); }
.section--clay .steps p { color: #2B4D40; }
.steps.compact > li { padding: 18px 0; }
.steps--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.steps--row > li, .steps.grid2 > li { grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line-b); border-radius: 14px; padding: 22px; gap: 14px; align-content: start; background: var(--white); transition: border-color .25s var(--ease); }
.steps--row > li:last-child, .steps.grid2 > li:last-child { border-bottom: 1px solid var(--line); }
.steps--row > li:hover, .steps.grid2 > li:hover { border-color: #C6CCBB; }
.section--dark .steps--row > li, .section--ink .steps--row > li, .section--dark .steps.grid2 > li, .section--ink .steps.grid2 > li { background: var(--espresso-2); border-color: var(--line-dark); }
.section--dark .steps--row > li:hover, .section--ink .steps--row > li:hover, .section--dark .steps.grid2 > li:hover, .section--ink .steps.grid2 > li:hover { border-color: #5A8273; }
.steps--row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--row.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1023px) { .steps--row, .steps--row.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 679px) { .steps--row, .steps--row.three, .steps--row.five, .steps.grid2 { grid-template-columns: minmax(0, 1fr); } }

/* audience split on the home page */
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.audience .card { padding: clamp(26px, 3vw, 44px); }
.audience .card:last-child { background: var(--forest); color: var(--linen); border-color: transparent; }
.audience .card:last-child p { color: var(--on-dark-2); }
.audience .card:last-child .eyebrow { color: var(--amber); }
.audience .card:last-child .arrow-link { border-bottom-color: var(--amber); }
.audience .card:last-child::after { background: var(--amber); }
@media (max-width: 899px) { .audience { grid-template-columns: minmax(0, 1fr); } }

/* comparison (IA Local) */
.split--compare { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: stretch; gap: clamp(16px, 2vw, 28px); }
.split--compare .media { height: 100%; }
.split--compare .media img { height: 100%; min-height: 300px; aspect-ratio: auto; }
@media (max-width: 899px) { .split--compare { grid-template-columns: minmax(0, 1fr); } .split--compare .media img { aspect-ratio: 16 / 10; min-height: 0; } }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-b); border-radius: var(--radius); overflow: hidden; box-shadow: var(--e1); }
.compare > div { padding: clamp(22px, 2.6vw, 36px); }
.compare > div:first-child { background: #E9E4DD; color: #3B342F; }
.compare > div:last-child { background: var(--forest); color: var(--paper); }
.compare h3 { font-size: 1.3rem; }
.compare ul { list-style: none; display: grid; gap: 12px; }
.compare li { padding-left: 22px; position: relative; }
.compare > div:first-child li::before { content: "–"; position: absolute; left: 2px; color: #6E655E; }
.compare > div:last-child li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
@media (max-width: 679px) { .compare { grid-template-columns: minmax(0, 1fr); } }

/* legal references table */
.refs { width: 100%; border-collapse: collapse; font-size: 1rem; }
.refs th, .refs td { text-align: left; vertical-align: top; padding: 16px 18px 16px 0; border-top: 1px solid var(--line-dark); }
.refs th { font-family: var(--serif); font-weight: 500; font-size: 1.08rem; width: 36%; color: var(--linen); transition: color .2s; }
.refs td { color: var(--on-dark-2); }
.refs tr:hover th { color: var(--amber); }
.refs th { transition: color var(--t-ctl) var(--ease), transform var(--t-panel) var(--ease); }
.refs tr:hover th { transform: translateX(6px); }
@media (max-width: 679px) { .refs th, .refs td { display: block; width: auto; padding: 4px 0; border: 0; } .refs tr { display: block; padding: 14px 0; border-top: 1px solid var(--line-dark); } }
.note { border-left: 3px solid var(--terra); padding: 4px 0 4px 18px; margin-top: 28px; max-width: 62ch; }
.section--clay .note { border-left-color: var(--forest); }
.section--dark .note, .section--ink .note { border-left-color: var(--lime); }

/* principles (Sobre): numbered by CSS (decorative, empty alt text) */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: pr; }
.principles > div { counter-increment: pr; background: var(--white); border: 1px solid var(--line-b); border-radius: 14px; padding: 24px; }
.principles > div::before { content: counter(pr, decimal-leading-zero); content: counter(pr, decimal-leading-zero) / ""; display: block; font: 500 2.3rem/1 var(--serif); color: var(--clay); margin-bottom: 18px; }
.principles h3 { margin-bottom: 8px; }
.principles p { color: var(--ink-2); margin: 0; }
.section--dark .principles > div, .section--ink .principles > div { background: var(--espresso-2); border-color: var(--line-dark); }
.section--dark .principles > div:hover, .section--ink .principles > div:hover { border-color: #5A8273; }
.section--dark .principles > div::before, .section--ink .principles > div::before { color: var(--amber); }
.section--dark .principles p, .section--ink .principles p { color: var(--on-dark-2); }
@media (max-width: 1023px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 679px) { .principles { grid-template-columns: minmax(0, 1fr); } }

.founder { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.founder-mark { box-shadow: var(--e1); background: var(--clay); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; }
.founder-mark img { width: 52%; }
.founder .role { font: 600 .9375rem/1.3 var(--sans); color: var(--clay-text); letter-spacing: .02em; margin-bottom: 18px; }
@media (max-width: 679px) { .founder { grid-template-columns: minmax(0, 1fr); } .founder-mark { width: 120px; } }

/* CTA band (round 5: flat terracotta; white text 5.48:1, the light button is the action) */
.cta-band { background: var(--terra); color: #fff; padding: clamp(48px, 6vw, 84px) 0; overflow: hidden; isolation: isolate; }
.cta-band .inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px 64px; align-items: end; }
.cta-band h2 { margin: 0; max-width: 16em; font-size: clamp(2.1rem, 1.3rem + 2.5vw, 3.4rem); color: #fff; }
.cta-band p { color: #fff; margin: 14px 0 0; max-width: 34em; font-size: 1.125rem; }
.cta-band .eyebrow { color: #fff; }
.cta-band .actions { margin-top: 0; justify-content: flex-end; }
.cta-band .btn-dark { background: var(--paper); color: var(--espresso); box-shadow: 0 1px 2px rgb(36 26 21 / .12), 0 14px 28px -14px rgb(36 26 21 / .6); }
.cta-band .btn-dark:hover { background: #fff; }
.cta-band .btn-dark::after { content: "→"; transition: transform var(--t-ctl) var(--ease); }
.cta-band .btn-dark:hover::after { transform: translateX(3px); }
.cta-band .btn-outline { color: #fff; border-color: rgb(255 255 255 / .8); }
.cta-band .btn-outline:hover { background: rgb(255 255 255 / .12); }
@media (max-width: 899px) { .cta-band .inner { grid-template-columns: minmax(0, 1fr); } .cta-band .actions { justify-content: flex-start; } }

/* ---------------------------------------------------------------- prose (legal pages) */
.section--legal { padding-top: clamp(36px, 4vw, 56px); }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .98rem; }
.prose th, .prose td { text-align: left; vertical-align: top; border-top: 1px solid var(--line); padding: 10px 14px 10px 0; }
.prose th { font-weight: 600; }
/* round 4: the table of contents becomes a sticky side column next to the text */
@media (min-width: 1000px) {
  .prose:has(> .toc) { max-width: none; display: grid; grid-template-columns: minmax(0, 72ch) minmax(260px, 1fr); column-gap: clamp(40px, 6vw, 112px); align-items: start; }
  .prose:has(> .toc) > * { grid-column: 1; }
  .prose:has(> .toc) > .toc { grid-column: 2; grid-row: 1 / span 60; position: sticky; top: 104px; margin: 0; }
  .prose:has(> .toc) .toc ol { columns: 1; }
}
/* Policy tables (build.py adds class="stack" + td[data-label]) become one card per row on phones,
   so the 4-column tables never widen the page past the viewport (QA round 3). */
@media (max-width: 679px) {
  .prose table.stack, .prose table.stack tbody, .prose table.stack tr, .prose table.stack td { display: block; width: auto; }
  .prose table.stack thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .prose table.stack tr { border-top: 1px solid var(--line); padding: 12px 0 8px; }
  .prose table.stack td { border: 0; padding: 0 0 10px; }
  .prose table.stack td::before { content: attr(data-label); display: block; font: 600 .78rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--clay-text); margin-bottom: 2px; }
}
.meta-line { color: var(--ink-2); font-size: .9375rem; margin-bottom: 2em; }
.placeholder { background: #F3E2C3; border-radius: 4px; padding: 0 4px; }
.toc { background: var(--forest); color: var(--linen); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 2.4em; box-shadow: var(--e-forest); }
.toc a { text-decoration-color: var(--amber); }
.toc ol { list-style: none; padding-left: 0; columns: 2; column-gap: 32px; }
.toc li { margin: 0 0 .45em; break-inside: avoid; }
.toc li { padding-left: 14px; position: relative; }
.toc li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
@media (max-width: 679px) { .toc ol { columns: 1; } }

/* ---------------------------------------------------------------- contact form */
.section--form { padding-top: clamp(40px, 5vw, 64px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 679px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-weight: 600; font-size: 1rem; }
.field .hint { font-size: .9rem; color: var(--ink-2); margin: 0; }
.req { color: var(--clay-text); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: 400 1.0625rem/1.4 var(--sans); color: var(--espresso); background: var(--white);
  border: 1.5px solid #8A948B; border-radius: 10px; padding: 12px 14px; min-height: 50px;
  transition: border-color var(--t-ctl), box-shadow var(--t-ctl);
}
textarea { min-height: 160px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23241A15' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
input:hover, select:hover, textarea:hover { border-color: var(--forest); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--forest); outline-offset: 1px; border-color: var(--forest); box-shadow: var(--e1); }
[aria-invalid="true"] { border-color: #A32E1C !important; }
.err { color: #9A2B1A; font-size: .95rem; font-weight: 600; margin: 0; }
.err:empty { display: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.public-fields { border-left: 3px solid var(--terra); padding: 4px 0 4px 20px; display: grid; gap: 22px; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 400 !important; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--forest); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 18px; border-radius: 10px; background: #F6DCD3; color: #6E1F12; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { background: #E4EAD9; color: #2E3B1D; }
.form button[type=submit] { justify-self: start; min-width: 220px; background: var(--terra); color: #fff; box-shadow: 0 1px 2px rgb(36 26 21 / .1), 0 10px 22px -12px rgb(173 75 50 / .7); }
.form button[type=submit]:hover { background: var(--terra-hover); }
.form button[disabled] { opacity: .6; cursor: progress; }
.aside-card { box-shadow: var(--e-forest); position: sticky; top: 104px; background: var(--forest); color: var(--linen); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); display: grid; gap: 22px; }
.aside-card h2 { font-size: 1.35rem; margin: 0 0 6px; }
.aside-card p { margin: 0; color: var(--on-dark-2); }
.aside-card a { color: var(--linen); text-decoration-color: var(--amber); }
.aside-card .warn { border-top: 1px solid var(--line-dark); padding-top: 20px; font-size: .98rem; }
.aside-card .warn strong { color: var(--linen); }
@media (max-width: 899px) { .aside-card { position: static; } }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--linen); padding: clamp(48px, 6vw, 76px) 0 36px; font-size: 1rem; }
.site-footer a { text-decoration-color: rgba(246, 239, 228, .4); }
.site-footer a:hover { text-decoration-color: var(--amber); }
.f-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.f-brand p { color: var(--on-dark-2); margin-top: 20px; max-width: 28em; }
.f-title { font: 600 .78rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.f-col ul { list-style: none; display: grid; gap: 8px; }
.f-col a { display: inline-block; padding: 3px 0; }
.f-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 12px; color: var(--on-dark-2); font-size: .9375rem; }
.f-legal p { margin: 0; }
.legal-lines { display: grid; gap: 2px; }
.legal-id { font-size: .8125rem; color: var(--on-dark-2); }
.legal-id small { font-size: inherit; }
.f-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.f-links { align-items: center; }
.f-links li { display: flex; }
.f-links a, .f-links button { display: inline-flex; align-items: center; min-height: 28px; color: var(--linen); padding: 0; font: inherit; line-height: 1.3; }
@media (max-width: 899px) { .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- consent (round 5: compact on phones; "Recusar" and "Aceitar" are the same button) */
.cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line-b); padding: 14px 0; box-shadow: 0 -1px 2px rgb(36 26 21 / .04), 0 -18px 40px -22px rgb(36 26 21 / .3); }
.cc-row { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; justify-content: space-between; }
.cc-text { margin: 0; flex: 1 1 420px; font-size: .98rem; }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cc .btn:hover { transform: none; }
@media (max-width: 679px) {
  .cc { padding: 10px 0 8px; }
  .cc-row { gap: 8px; }
  .cc-text { font-size: .875rem; line-height: 1.4; flex-basis: 100%; }
  .cc .cc-actions { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 8px; }
  .cc .cc-actions .btn { min-height: 44px; padding: 8px 10px; font-size: .9375rem; }
  .cc .cc-actions [data-cc="reject"] { order: 1; }
  .cc .cc-actions [data-cc="accept"] { order: 2; }
  .cc .cc-actions .cc-custom { order: 3; grid-column: 1 / -1; min-height: 32px; padding: 2px 0; border: 0; border-radius: 4px; background: none; text-decoration: underline; text-underline-offset: .18em; font-weight: 600; }
}
.cc-dialog { border: 0; border-radius: 16px; padding: 0; max-width: 560px; width: calc(100% - 32px); background: var(--white); color: var(--espresso); box-shadow: var(--e2-hover); }
.cc-dialog::backdrop { background: rgba(16, 48, 42, .55); }
.cc-form { padding: 28px; display: grid; gap: 16px; }
.cc-form h2 { font-size: 1.5rem; margin: 0; }
.cc-form p { margin: 0; color: var(--ink-2); }
.cc-cat { border-top: 1px solid var(--line-b); padding-top: 14px; }
.cc-cat label { display: flex; gap: 10px; align-items: center; min-height: 32px; }
.cc-cat input { width: 20px; height: 20px; accent-color: var(--forest); }
.cc-cat p { margin-top: 4px; font-size: .95rem; }

/* VLibras mount sits above the consent bar */
[vw].enabled { z-index: 50 !important; }

/* ---------------------------------------------------------------- 404 / thanks */
.center-page { padding: clamp(72px, 11vw, 150px) 0; background: var(--forest); color: var(--linen); overflow: hidden; }
.center-page h1 { max-width: 14em; }
.center-page .lede { color: var(--on-dark-2); }
.center-page a { text-decoration-color: var(--amber); }

/* ---------------------------------------------------------------- home hero v3 (round 5, t_47f476f3): a conversation with Okah
   Left column of the asymmetric hero (~57 % of the row): a question bubble and Okah's answer, typed live by site.js
   ([data-rotor]). The answer bubble is white at elevation level 2; its text is the h1 (fixed line in forest, typed
   ending in terracotta serif, solid caret that blinks while the phrase is held). Height: every phrase sits invisible
   (.type-ghost) in the same grid cell as the typed one, so the bubble is as tall as the tallest phrase from the first
   paint; the h1 scales with the bubble (cqi) so a phrase takes at most 2 lines at every width.
   Round 3/4 crossfade roll: git show 8d1d3b4:site/src/static/site.css. */
.hero--rotor { padding: clamp(36px, 4.6vw, 72px) 0 clamp(52px, 6vw, 92px); }
@media (min-width: 900px) { .hero--rotor .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.chat { display: grid; gap: 12px; }
.chat-q { margin: 0; justify-self: end; max-width: 90%; }
.chat-q span { display: inline-block; padding: 10px 16px 11px; border-radius: 18px 18px 5px 18px; background: var(--forest); color: var(--paper); font: 500 1rem/1.3 var(--sans); box-shadow: var(--e-forest); }
.chat-a { container-type: inline-size; background: var(--white); border: 1px solid #E6DDCB; border-radius: 6px 22px 22px 22px; box-shadow: var(--e2); padding: clamp(15px, 1.6vw, 20px) clamp(16px, 2.1vw, 28px) clamp(18px, 2vw, 26px); }
.chat-who { display: flex; align-items: center; gap: 9px; margin: 0 0 clamp(10px, 1.2vw, 14px); font: 600 .875rem/1 var(--sans); color: var(--forest); white-space: nowrap; }
.chat-who img { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--terra); padding: 3px 3px 4px; }  /* A4 symbol, linen on terracotta = the app icon */
.chat-st { display: inline-grid; align-items: center; color: var(--muted-b); font-weight: 500; }
.chat-st .st { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 7px; opacity: 0; visibility: hidden; transition: opacity var(--t-ctl) var(--ease); }
[data-state="typing"] .st-typing, [data-state="ready"] .st-ready, [data-state="paused"] .st-paused { opacity: 1; visibility: visible; }
.chat-dots { display: inline-flex; gap: 3px; }
.chat-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--terra); animation: dot 1.1s var(--ease) infinite; }
.chat-dots i:nth-child(2) { animation-delay: .16s; }
.chat-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes dot { 0%, 70%, 100% { opacity: .28; transform: none; } 35% { opacity: 1; transform: translateY(-2px); } }
@keyframes dot-rm { 0%, 70%, 100% { opacity: .28; } 35% { opacity: 1; } }
.chat-ok { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--lime); color: var(--forest); }
.rail-count { margin-left: auto; font: 600 .8125rem/1 var(--sans); letter-spacing: .02em; color: var(--muted-b); font-variant-numeric: tabular-nums; }
.rail-count b { color: var(--forest); font-weight: 600; }
.rotor-h1 { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.9rem); line-height: 1.08; letter-spacing: -0.028em; max-width: none; margin: 0; text-wrap: wrap; color: var(--forest); }
@supports (font-size: 1cqi) { .rotor-h1 { font-size: clamp(1.25rem, 8.2cqi, 2.9rem); } }
.rotor-fixed { display: block; }
.type { display: grid; color: var(--terra); }
.type > * { grid-area: 1 / 1; min-width: 0; display: block; text-wrap: wrap; padding-bottom: .08em; }
.type-ghost { visibility: hidden; pointer-events: none; }
.type-rest { visibility: hidden; }
/* the caret is the right edge of the typed span itself (inset shadow; its padding is cancelled by the margin, so it
   takes no width and never changes a line break). A separate caret box would move with every character, which the
   browser counts as a layout shift. */
.js [data-type] { padding-right: .135em; margin-right: -.135em; box-shadow: inset -.075em 0 0 var(--terra); }
.type.is-idle [data-type] { animation: caret-b 1.05s steps(1, end) infinite; }
@keyframes caret-b { 0%, 55% { box-shadow: inset -.075em 0 0 var(--terra); } 55.01%, 100% { box-shadow: inset -.075em 0 0 transparent; } }
/* rail: one mark per phrase + pause. Useless without JS, so it only reserves its space until site.js runs */
.chat-rail { display: flex; align-items: center; gap: 12px; visibility: hidden; }
.js .chat-rail { visibility: visible; }
.ticks { display: flex; align-items: center; margin-left: -8px; }
.tick { width: 24px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 6px; }
.tick::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgb(23 62 50 / .6); transform: scale(.72); transition: transform var(--t-panel) var(--ease), background-color var(--t-ctl) var(--ease); }
.tick:hover::before { background: var(--forest); transform: scale(1); }
.tick[aria-current="true"]::before { background: var(--terra); transform: scale(1.3); }
.tick:focus-visible { outline-offset: -3px; }
.rotor-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; min-width: 36px; margin-left: auto; padding: 4px 14px 4px 11px; border-radius: 999px; background: var(--white); border: 1px solid rgb(23 62 50 / .3); font: 600 .875rem/1.2 var(--sans); color: var(--forest); cursor: pointer; box-shadow: var(--e1); transition: border-color var(--t-ctl) var(--ease), background-color var(--t-ctl) var(--ease); }
.rotor-toggle:hover { border-color: var(--forest); background: #fff; }
/* HERO_CHAT = "scroll": the exchange rolls away, a new question and a new answer come in */
.chat.is-out .chat-q, .chat.is-out .chat-a { opacity: 0; transform: translateY(-18px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.chat.is-in .chat-q { animation: chat-in .5s var(--ease) backwards; }
.chat.is-in .chat-a { animation: chat-in .5s var(--ease) .34s backwards; }
@keyframes chat-in { from { opacity: 0; transform: translateY(20px); } }
@media (max-width: 560px) {
  .chat-q span { font-size: .9375rem; padding: 9px 14px 10px; }
  .chat-rail { gap: 8px; }
  .ticks { flex: 1; }
  .tick { flex: 1 1 0; min-width: 24px; }
  .rotor-toggle { padding: 4px; }
  .rotor-toggle span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.hero-sub { font: 500 clamp(1.25rem, 1.05rem + .7vw, 1.65rem)/1.25 var(--serif); letter-spacing: -0.012em; margin: 24px 0 0; max-width: 30em; color: var(--forest); text-wrap: balance; }
.hero--rotor .lede { margin-top: 12px; }

/* ---------------------------------------------------------------- hub diagram (round 3; round 4: on the near-black band, flows run while visible) */
.hub { margin: 0; }
.hub-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 250px) minmax(0, 1fr); grid-template-rows: repeat(3, auto); gap: 20px clamp(40px, 6vw, 104px); align-items: center; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.hub-line { stroke: #C6CCBB; stroke-width: 1.5; fill: none; }
.hub-flow { stroke: var(--terra); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 5 15; fill: none; opacity: 0; }
.hub.is-in .hub-flow { opacity: .95; animation: dash-flow-hub 1.6s linear infinite; }
@keyframes dash-flow-hub { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
.hub-core { box-shadow: var(--e2); grid-column: 2; grid-row: 1 / 4; position: relative; z-index: 1; aspect-ratio: 1; border-radius: 50%; background: var(--forest); color: var(--linen); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px; outline: 1.5px solid var(--amber); outline-offset: 8px; }
.hub-ring { position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid var(--amber); opacity: 0; pointer-events: none; }
.hub.is-in .hub-ring { animation: ring 3.4s ease-out infinite; }
.hub-core img { width: 60px; height: 60px; margin-bottom: 10px; }
.hub-core-title { font: 500 1.7rem/1 var(--serif); margin: 0 0 8px; }
.hub-core-text { font-size: .9375rem; line-height: 1.35; color: var(--on-dark-2); margin: 0; max-width: 12em; }
.hub-node { position: relative; z-index: 1; background: var(--white); border: 1px solid var(--line-b); border-radius: var(--radius); padding: 18px 22px; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.hub-node:hover { border-color: #5A8273; }
.hub-node h3 { font-size: 1.22rem; margin: 0 0 4px; }
.hub-node p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.hub-node::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--clay); }
.hub-l1, .hub-l2, .hub-l3 { grid-column: 1; text-align: right; }
.hub-r1, .hub-r2, .hub-r3 { grid-column: 3; }
.hub-l1::after, .hub-l2::after, .hub-l3::after { right: -6px; }
.hub-r1::after, .hub-r2::after, .hub-r3::after { left: -6px; }
.hub-l1, .hub-r1 { grid-row: 1; } .hub-l2, .hub-r2 { grid-row: 2; } .hub-l3, .hub-r3 { grid-row: 3; }
.hub-foot { margin: 28px auto 0; text-align: center; color: var(--ink-2); font-size: 1rem; max-width: 40em; }
/* on the near-black band */
.section--ink .hub-line { stroke: rgb(220 233 185 / .28); }
.section--ink .hub-flow { stroke: var(--amber); }
.section--ink .hub-core { background: var(--terra); color: #fff; box-shadow: 0 0 0 1px rgb(250 247 239 / .08) inset, 0 30px 60px -24px rgb(0 0 0 / .7); }
.section--ink .hub-core-text { color: #fff; }
.section--ink .hub-node { background: var(--espresso-2); border-color: var(--line-dark); }
.section--ink .hub-node p { color: var(--on-dark-2); }
.section--ink .hub-node h3 { color: var(--linen); }
.section--ink .hub-node::after { background: var(--amber); }
.section--ink .hub-foot { color: var(--on-dark-2); }
@media (max-width: 899px) {
  /* stacked: the core on top, the six areas on one spine */
  .hub-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-left: 0; }
  .hub-lines { display: none; }
  .hub-grid::before { content: ""; position: absolute; left: 13px; top: 48px; bottom: 36px; width: 2px; background: var(--line); }
  .section--ink .hub-grid::before { background: var(--line-dark); }
  .hub-core { grid-column: 1; grid-row: auto; aspect-ratio: auto; border-radius: var(--radius); display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; align-items: center; justify-items: start; text-align: left; padding: 18px 20px; outline-offset: 4px; margin-bottom: 8px; }
  .hub-ring { display: none; }
  .hub-core img { grid-row: 1 / 3; width: 52px; height: 52px; margin: 0; }
  .hub-core-title { font-size: 1.4rem; margin: 0 0 2px; }
  .hub-core-text { max-width: none; }
  .hub-l1, .hub-l2, .hub-l3, .hub-r1, .hub-r2, .hub-r3 { grid-column: 1; grid-row: auto; text-align: left; margin-left: 32px; padding: 14px 18px; }
  .hub-node::after { left: -24px !important; right: auto !important; }
  .hub-node h3 { font-size: 1.12rem; }
  .hub-node p { font-size: .98rem; }
  .hub-foot { text-align: left; margin-top: 22px; }
}

/* ---------------------------------------------------------------- screen recording (round 3) */
.video-fig { background: #F5EEE3; }
.video-fig video { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: transparent; }
.video-fig:hover img { transform: none; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wide-video { max-width: 1100px; margin-left: auto; margin-right: auto; }
.demo-video, .wide-video { border: 1px solid #D7D8C8; box-shadow: var(--e2); transition: box-shadow var(--t-panel) var(--ease); }
.demo-video:hover, .wide-video:hover { box-shadow: var(--e2-hover); }
.video-toggle { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; min-height: 36px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--forest); color: var(--paper); box-shadow: 0 8px 18px -8px rgb(23 16 12 / .5); font: 600 .875rem/1 var(--sans); cursor: pointer; }
.video-toggle:hover { background: var(--forest-2); }
.video-toggle:focus-visible { outline-color: var(--terra); }
.founder-photo .media img { aspect-ratio: 1; }

/* ---------------------------------------------------------------- home, direction B (round 5) */
/* 2 · the recording right after the hero */
.section--demo .section-head { margin-bottom: clamp(24px, 3vw, 40px); }
.demo { position: relative; }
.demo .media { border-radius: 14px; }

/* 3 · problem -> result pairs: the pain is flat text (level 0), the result is a card (level 1 -> 2 on hover) */
.pairs-head { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 0 24px; align-items: end; margin-bottom: 28px; }
.pairs-head .section-head { margin: 0; }
.pairs-res h2 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); line-height: 1.2; letter-spacing: -.012em; }
.pairs { list-style: none; display: grid; gap: 16px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); gap: 24px; align-items: stretch; }
.pain { padding: 26px 28px 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 20px; align-content: start; }
.pain .num { grid-row: span 2; margin: 0; font-size: 2.2rem; line-height: 1; }
.pain h3 { margin: 2px 0 4px; }
.pain p { margin: 0; color: var(--ink-2); }
.pair-ar { display: grid; place-items: center; }
.pair-ar > span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--terra); color: var(--terra); background: var(--white); box-shadow: var(--e1); }
.pair-ar svg { animation: nudge 2.4s var(--ease) infinite; }
.pair:nth-child(2) .pair-ar svg { animation-delay: .3s; } .pair:nth-child(3) .pair-ar svg { animation-delay: .6s; }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(4px); } }
.result { position: relative; padding: 26px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-b); }
.result::before { content: ""; position: absolute; left: -1px; top: 22px; bottom: 22px; width: 3px; border-radius: 0 3px 3px 0; background: var(--terra); transform-origin: center top; }
.result h3 { margin: 0 0 6px; }
.result p { margin: 0; color: var(--ink-2); }
.pair-tag { display: none; font: 600 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-text); margin-bottom: 12px; }
.pair > :nth-child(2) { --i: 1; } .pair > :nth-child(3) { --i: 2; }
@media (max-width: 899px) {
  .pairs-head { grid-template-columns: minmax(0, 1fr); }
  .pairs-head .pairs-res, .pairs-head > span { display: none; }
  .pair { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pain { padding: 22px 0 18px; }
  .pair-ar { justify-items: start; padding: 0 0 12px 4px; }
  .pair-ar > span { width: 38px; height: 38px; transform: rotate(90deg); }
  .pair-tag { display: block; }
  .pairs { gap: 28px; }
}

/* 4 · how it works: steps | the Consultar -> fonte -> revisar sequence, then the hub */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.how-grid + .hub { margin-top: clamp(40px, 5vw, 72px); }
.seq { border-radius: var(--radius); background: var(--forest-deep); color: var(--paper); padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--forest-line); box-shadow: var(--e-dark-hover); }
.seq-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 18px; font: 600 .8125rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.seq-flow { list-style: none; display: grid; gap: 10px; }
.seq-flow li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--forest-line); transition: background-color var(--t-panel) var(--ease), color var(--t-panel) var(--ease), border-color var(--t-panel) var(--ease), box-shadow var(--t-panel) var(--ease); }
.seq-ico { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgb(220 233 185 / .14); color: var(--lime); transition: background-color var(--t-panel) var(--ease), color var(--t-panel) var(--ease), transform var(--t-panel) var(--ease); }
.seq-flow b { font: 600 1.02rem/1.2 var(--sans); }
.seq-d { font-size: .9375rem; color: var(--on-forest-2); transition: color var(--t-panel) var(--ease); min-width: 0; }
.seq-src { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: #F3DFD6; color: #8E3A26; font-weight: 600; font-size: .875rem; white-space: nowrap; }
.seq-src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
/* played by site.js while on screen: each step lights up in turn (lime = the support surface) */
.js .seq.is-armed .seq-flow li { opacity: .42; transform: translateY(6px); transition: opacity var(--t-block) var(--ease), transform var(--t-block) var(--ease), background-color var(--t-panel) var(--ease), border-color var(--t-panel) var(--ease), box-shadow var(--t-panel) var(--ease); }
.js .seq.is-armed .seq-flow li.is-on { opacity: 1; transform: none; }
.seq-flow li.is-now { background: var(--lime); border-color: var(--lime); color: var(--forest); box-shadow: 0 18px 34px -20px rgb(0 0 0 / .7); }
.seq-flow li.is-now .seq-d { color: #2B4D40; }
.seq-flow li.is-now .seq-ico { background: var(--forest); color: var(--lime); transform: scale(1.08); }
.js .seq.is-armed .seq-src { opacity: 0; transform: scale(.85); transition: opacity var(--t-panel) var(--ease) .25s, transform var(--t-panel) var(--ease) .25s; }
.js .seq.is-armed li.is-on .seq-src { opacity: 1; transform: none; }
.seq-bar { position: relative; height: 2px; margin: 18px 0 14px; background: rgb(220 233 185 / .18); border-radius: 2px; overflow: hidden; }
.seq-bar i { position: absolute; inset: 0; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 1)); transition: transform var(--t-block) var(--ease); }
.seq-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; font-size: .9rem; color: var(--on-forest-2); font-variant-numeric: tabular-nums; }
.seq-state { display: inline-block; transition: opacity var(--t-ctl) var(--ease), transform var(--t-ctl) var(--ease); }
.seq-state.is-swap { opacity: 0; transform: translateY(5px); }
.seq-btn { min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 0; background: var(--paper); color: var(--forest); font: 600 .875rem/1 var(--sans); cursor: pointer; transition: transform var(--t-ctl) var(--ease), background-color var(--t-ctl) var(--ease); }
.seq-btn:hover { transform: translateY(-1px); background: #fff; }
/* typed text (site.js): a hidden copy keeps the box at its final size, so nothing moves while it types */
.ty { display: grid; }
.ty > * { grid-area: 1 / 1; min-width: 0; }
.ty-ghost { visibility: hidden; }
.ty-caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.14em; border-radius: 1px; background: currentColor; animation: caret 1.05s steps(1, end) infinite; }
@keyframes caret { 0%, 55% { opacity: 1; } 55.01%, 100% { opacity: 0; } }
@media (max-width: 899px) { .how-grid { grid-template-columns: minmax(0, 1fr); } }

/* 5 · the local-AI chapter: one forest panel lifted off the sand (tone + hairline + a deep soft shadow) */
.chapter { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 72px); align-items: start; border-radius: 24px; padding: clamp(24px, 4.6vw, 68px); background: var(--forest); color: var(--paper); box-shadow: 0 2px 5px rgb(36 26 21 / .08), 0 44px 90px -40px rgb(23 62 50 / .6); }
.chapter .section-head { margin: 0; max-width: none; }
.chapter .eyebrow { color: var(--lime); }
.chapter .section-head h2 { font-size: clamp(1.8rem, 1.1rem + 2vw, 2.7rem); }
.chapter .section-head p { color: var(--on-forest-2); }
.support { margin-top: 28px; padding: 20px 22px 22px; border-radius: 12px; background: var(--lime); color: var(--forest); }
.support .actions { margin-top: 0; }
.chapter .support .btn { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.chapter .support .btn-dark { background: var(--forest); color: var(--paper); }
.chapter .support .btn-dark:hover { background: var(--forest-2); }
.chapter .support .btn-outline { color: var(--forest); border-color: var(--forest); }
.chapter .support .btn-outline:hover { background: rgb(23 62 50 / .08); }
.chapter .support :focus-visible { outline-color: var(--forest); }
@media (max-width: 999px) { .chapter { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .chapter { border-radius: 18px; margin-left: -6px; margin-right: -6px; } }

/* ---------------------------------------------------------------- elevation (round 5)
   Level 0: text, lists, rows. Level 1 (--rest): cards at rest. Level 2 (--bloom, "Destaque"): the same cards on
   hover (they rise 4 px, 240 ms) and, fixed, the product window. On forest / terracotta the pair is tone + hairline
   + a deep soft shadow (--e-dark), set through the same two variables. */
:root { --rest: var(--e1); --bloom: var(--e2); }
.section--dark, .section--ink, .chapter, .center-page { --rest: var(--e-dark); --bloom: var(--e-dark-hover); }
.pillar--forest, .audience .card:last-child, .bento-3 > :first-child, .bento-6 > :first-child, .bento-4 > :nth-child(3) { --rest: var(--e-forest); --bloom: var(--e-forest-hover); }
:is(.card, .pillar, .tiles li, .steps--row > li, .steps.grid2 > li, .principles > div, .result, .hub-node) {
  box-shadow: var(--rest);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color var(--t-ctl) var(--ease), background-color var(--t-ctl) var(--ease);
}
:is(.card, .pillar, .tiles li, .steps--row > li, .steps.grid2 > li, .principles > div, .result, .hub-node):hover { transform: translateY(-4px); box-shadow: var(--bloom); }
.grid.rows .card, .grid.rows .card:hover { box-shadow: none; transform: none; }

/* ---------------------------------------------------------------- motion (round 5)
   transform, opacity and box-shadow only. Nothing here hides content without JS (every rule starts at `.js`).
   Entry (480 ms, staggered by --i): blocks rise and fade; cards rise while their shadow blooms to level 2 and settles
   at level 1; headings come in word by word; eyebrow rules draw; numerals roll up (site.js wraps the words / digits).
   Ambient, only while visible ([data-anim] + .is-paused from site.js): the product window floats, the hub lines flow,
   the sequence plays. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-block) var(--ease), transform var(--t-block) var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { --i: 1; } .reveal:nth-child(3) { --i: 2; } .reveal:nth-child(4) { --i: 3; } .reveal:nth-child(5) { --i: 4; }
.reveal:nth-child(6) { --i: 5; } .reveal:nth-child(7) { --i: 6; } .reveal:nth-child(8) { --i: 7; } .reveal:nth-child(n+9) { --i: 8; }
/* cards: rise + shadow bloom (an animation, so the hover transition stays free) */
.js :is(.card, .pillar, .tiles li, .steps--row > li, .steps.grid2 > li, .principles > div, .result).reveal {
  transform: none; transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color var(--t-ctl) var(--ease), background-color var(--t-ctl) var(--ease); transition-delay: 0s;
}
.js :is(.card, .pillar, .tiles li, .steps--row > li, .steps.grid2 > li, .principles > div, .result).reveal.is-in { animation: rise 640ms var(--ease) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
.js :is(.card, .pillar, .tiles li, .steps--row > li, .steps.grid2 > li, .principles > div, .result).reveal:hover { transform: translateY(-4px); }
.js .grid.rows .card.reveal:hover { transform: none; }
@keyframes rise { 0% { opacity: 0; transform: translateY(28px); box-shadow: 0 0 0 rgb(0 0 0 / 0); } 55% { opacity: 1; box-shadow: var(--bloom); } 100% { opacity: 1; transform: none; box-shadow: var(--rest); } }
@keyframes rise-rm { 0% { opacity: 0; } 100% { opacity: 1; } }
/* dynamic text */
.js .reveal .w { display: inline-block; opacity: 0; transform: translateY(.55em); transition: opacity var(--t-block) var(--ease), transform var(--t-block) var(--ease); transition-delay: calc(var(--i, 0) * 80ms + var(--w, 0) * 36ms + 60ms); }
.js .reveal.is-in .w { opacity: 1; transform: none; }
.js .reveal .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms + 120ms); }
.js .reveal.is-in .eyebrow::before { transform: none; }
.js .reveal .eb-t { display: inline-block; opacity: 0; transform: translateX(-12px); transition: opacity var(--t-block) var(--ease), transform var(--t-block) var(--ease); transition-delay: calc(var(--i, 0) * 80ms + 200ms); }
.js .reveal.is-in .eb-t { opacity: 1; transform: none; }
.has-roll { overflow: hidden; }
span.tile-n.has-roll { display: inline-block; }
.js .reveal .roll { display: block; transform: translateY(110%); transition: transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms + 140ms); }
.js .reveal.is-in .roll { transform: none; }
.js .pair .result.reveal::before { transform: scaleY(0); transition: transform 600ms var(--ease) 420ms; }
.js .pair .result.reveal.is-in::before { transform: none; }
[data-anim].is-paused, [data-anim].is-paused *, [data-anim].is-paused::before, [data-anim].is-paused::after { animation-play-state: paused !important; }

/* Reduced motion (Windows "animation effects" off): the site stays alive with fades and opacity pulses (Thiago,
   round 4), and every displacement is removed: rise, float, drift, rotation, scaling, lift on hover. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .js .reveal, .js .reveal .w, .js .reveal .eb-t, .js .reveal .roll, .js .seq.is-armed .seq-flow li, .js .seq.is-armed .seq-src, .seq-flow li.is-now .seq-ico, .seq-state.is-swap { transform: none !important; }
  .js .reveal .eyebrow::before, .js .pair .result.reveal::before { transform: none; transition: none; }
  .js :is(.card, .pillar, .tiles li, .steps--row > li, .steps.grid2 > li, .principles > div, .result).reveal.is-in { animation-name: rise-rm; }
  :is(.card, .pillar, .tiles li, .steps--row > li, .steps.grid2 > li, .principles > div, .result, .hub-node):hover, .btn:hover, .seq-btn:hover, .media:hover img, .pillar:hover .mini .pwin, .refs tr:hover th, .btn:hover::after { transform: none !important; }
  .stage, .stage-float, .pair-ar svg, .sub[data-open] { animation: none; }
  .pwin-chip { animation-name: rise-rm; }
  .hub.is-in .hub-flow { stroke-dasharray: none; animation: fade-pulse 2.6s ease-in-out infinite alternate; }
  .hub.is-in .hub-ring { transform: none; animation: fade-pulse 2.4s ease-in-out infinite alternate; }
  /* the hero conversation keeps typing (Thiago 2026-11-15); only the displacement goes */
  .chat-dots i { animation-name: dot-rm; }
  .chat.is-out .chat-q, .chat.is-out .chat-a, .tick::before { transform: none !important; }
  .chat.is-in .chat-q, .chat.is-in .chat-a { animation-name: rise-rm; }
}
@keyframes fade-pulse { from { opacity: .25; } to { opacity: .95; } }

@media print {
  .site-header, .site-footer, .cc, .cta-band, #vlibras-mount { display: none !important; }
  body, .hero, .section--dark, .section--ink, .section--clay, .chapter { background: #fff !important; color: #000 !important; }
  .js .reveal, .js .reveal .w, .js .reveal .roll, .js .reveal .eb-t, .js .seq.is-armed .seq-flow li { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* keep short hyphenated words (e-mail) on one line */
.nw { white-space: nowrap; }
