/* Fairplay Capital — editorial CSS */
:root {
  --black: #0F0F0F;
  --black-2: #1A1A1A;
  --black-3: #242424;
  --offwhite: #F5F2ED;
  --offwhite-2: #EDE9E1;
  --offwhite-3: #E2DDD3;
  --green: #1F3A2E;
  --green-2: #2A4A3C;
  --green-tint: rgba(31, 58, 46, 0.08);
  --rule-light: rgba(15, 15, 15, 0.16);
  --rule-dark: rgba(245, 242, 237, 0.16);
  --muted-on-light: #6B6358;
  --muted-on-dark: #8C8478;

  --serif: "Fraunces", "GT Sectra", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  --measure: 62ch;
  --gutter: clamp(20px, 4vw, 56px);
  /* Reduzido: 80→60 / 160→112. Mantém ritmo editorial sem o sensação
     de "vazio entre seções" que aparecia nos breakpoints largos. */
  --section-y: clamp(60px, 7vw, 112px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--black);
  background: var(--offwhite);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ─────────── tipografia editorial ─────────── */
.h-display {
  font-family: var(--serif);
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(44px, 6.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h-section {
  font-family: var(--serif);
  font-weight: 360;
  font-variation-settings: "opsz" 96;
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h-mid {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-light);
  font-weight: 500;
}
.eyebrow.on-dark { color: var(--muted-on-dark); }
.eyebrow .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); margin-right: 10px; transform: translateY(-2px);
}
.eyebrow .section__idx {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-right: 14px;
  padding-right: 14px;
  border-right: 1px solid currentColor;
  opacity: 0.6;
  font-weight: 500;
}
.eyebrow.on-dark .section__idx { color: rgba(245,242,237,0.7); }
.lead {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 38ch;
  text-wrap: pretty;
}
.prose p { max-width: var(--measure); margin-bottom: 1.4em; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose .drop::first-letter {
  font-family: var(--serif); font-weight: 400;
  float: left; font-size: 4.6em; line-height: 0.85;
  margin: 0.05em 0.08em -0.05em 0; color: var(--green);
}
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* Keyword highlight — verde-inglês refinado, sublinhando palavras-chave em
   blocos editoriais (about body, how intro, fairmind body, team intro, tese).
   Padrão de "highlighter" sob a linha de base, ~40% atrás do texto. */
.kw {
  background: linear-gradient(180deg, transparent 62%, rgba(143, 179, 160, 0.32) 62%);
  padding: 0 1px;
  border-radius: 1px;
}
/* Em fundos escuros (tese imersiva, fairmind, contact) — saturação maior. */
.tx-hero__tese .kw,
.fairmind .kw,
.contact .kw {
  background: linear-gradient(180deg, transparent 62%, rgba(143, 179, 160, 0.42) 62%);
}

/* Ampersand fix — Fraunces upright "&" reads as ornate "@" near M_A.
   Switch the literal & to Inter (sans), slightly smaller and lifted —
   reads as a clean editorial pairing with serif headings. */
.amp {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 0.78em;
  letter-spacing: 0;
  padding: 0 0.06em;
  vertical-align: 0.06em;
}
.eyebrow .amp, .nav__menu .amp, .how-card__tag .amp, .vertical__tag .amp {
  font-family: var(--mono);
  font-style: normal;
  font-weight: 500;
  font-size: 1em;
  letter-spacing: 0;
  vertical-align: 0;
  padding: 0;
}
/* In sans-serif body copy (subtitles, leads, card notes), Fraunces' ornate
   "&" isn't in play — the 0.78em downscale just makes it look tiny. */
.hero__sub .amp, .lead .amp, .hero-uf-card__note .amp {
  font-size: 1em;
  vertical-align: 0;
  padding: 0;
}

/* ─────────── chrome / nav ─────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
  border-bottom: 1px solid transparent;
}
.nav.on-dark { color: var(--offwhite); }
.nav.scrolled { background: var(--offwhite); border-bottom-color: var(--rule-light); }
.nav.scrolled.on-dark { background: var(--black); border-bottom-color: var(--rule-dark); }
.nav__logo { display: flex; align-items: center; gap: 14px; }
.nav__logo img { height: 28px; }
.nav__logo-img--dark { display: none; }
.nav.on-dark .nav__logo-img--light { display: none; }
.nav.on-dark .nav__logo-img--dark { display: block; }
.nav__menu { display: flex; align-items: center; gap: 36px; font-size: 13px; letter-spacing: 0.02em; }
.nav__menu a { opacity: 0.78; transition: opacity 180ms; }
.nav__menu a:hover { opacity: 1; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
}
.lang-switch button {
  padding: 4px 10px; opacity: 0.5; transition: opacity 180ms;
  border-radius: 0;
}
.lang-switch button.active { opacity: 1; }
.lang-switch .sep { opacity: 0.3; }

/* ─── Mobile hamburger button (hidden on desktop, shown ≤980px) ─── */
.nav__burger {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin-left: 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 60;
}
.nav__burger-line {
  display: block;
  width: 22px; height: 1px;
  background: currentColor;
  transition: transform 240ms ease, opacity 240ms ease, background 220ms ease;
}
.nav__burger:hover .nav__burger-line {
  background: currentColor;
}

/* ─── Mobile drawer overlay ─── */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(64px, 12vw, 96px) clamp(28px, 8vw, 64px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}
.nav-drawer[hidden] { display: none; }
.nav-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}
.nav-drawer__close {
  position: absolute;
  top: clamp(20px, 4vw, 28px);
  right: clamp(20px, 4vw, 28px);
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  position: absolute;
}
.nav-drawer__close-line {
  position: absolute;
  width: 22px; height: 1px;
  background: var(--offwhite);
  transition: background 200ms ease;
}
.nav-drawer__close-line:nth-child(1) { transform: rotate(45deg); }
.nav-drawer__close-line:nth-child(2) { transform: rotate(-45deg); }
.nav-drawer__close:hover .nav-drawer__close-line { background: rgba(244, 228, 200, 1); }

.nav-drawer__menu {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 28px);
}
.nav-drawer__menu a {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(28px, 6vw, 42px);
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--offwhite);
  text-decoration: none;
  position: relative;
  padding-left: 0;
  transition: padding-left 240ms ease, color 200ms ease;
}
.nav-drawer__menu a::before {
  content: "→";
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.45em;
  letter-spacing: 0;
  vertical-align: 0.45em;
  color: rgba(244, 228, 200, 0.4);
  margin-right: 12px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 240ms ease, transform 240ms ease;
}
.nav-drawer__menu a:hover {
  color: rgba(244, 228, 200, 1);
}
.nav-drawer__menu a:hover::before {
  opacity: 1;
  transform: translateX(0);
}
.nav-drawer__lang {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid rgba(244, 228, 200, 0.18);
  width: 100%;
  max-width: 280px;
  color: var(--offwhite);
  font-size: 14px;
  letter-spacing: 0.12em;
}
.nav-drawer__lang button { color: var(--offwhite); }

/* Lock body scroll when drawer is open */
body.nav-drawer-open { overflow: hidden; }

@media (max-width: 980px) {
  .nav__burger { display: inline-flex; }
}

/* ─────────── hero ─────────── */
.hero {
  background: var(--black); color: var(--offwhite);
  min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(120px, 14vw, 200px) var(--gutter) clamp(60px, 8vw, 96px);
  position: relative; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.42;
  background-image:
    linear-gradient(to right, rgba(245,242,237,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245,242,237,0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 70%, #000 30%, transparent 80%);
}
.hero__inner { position: relative; z-index: 1; max-width: 1400px; }
.hero__meta {
  display: flex; gap: clamp(20px, 4vw, 64px); align-items: baseline;
  margin-bottom: clamp(40px, 6vw, 72px);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-on-dark);
}
.hero__meta span { display: inline-flex; align-items: baseline; gap: 8px; }
.hero__meta .num { color: var(--offwhite); font-weight: 500; }
.hero h1 { color: var(--offwhite); max-width: 22ch; }
.hero h1 em {
  font-style: italic; font-weight: 350;
  color: var(--offwhite);
  background: linear-gradient(to right, transparent, transparent);
  position: relative;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.06em;
  background: var(--green-2); opacity: 0.9;
}
.hero__sub {
  margin-top: clamp(28px, 4vw, 48px);
  max-width: 56ch;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: rgba(245, 242, 237, 0.82);
  text-wrap: pretty;
}
.hero__cta {
  margin-top: clamp(40px, 6vw, 72px);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid rgba(245,242,237,0.4);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: border-color 200ms;
}
.hero__cta:hover { border-color: var(--offwhite); }
.hero__cta .arrow { transition: transform 220ms; }
.hero__cta:hover .arrow { transform: translateX(6px); }
.hero__postscript {
  margin-top: clamp(28px, 3.5vw, 40px);
  padding-left: 18px;
  border-left: 1px solid rgba(245,242,237,0.22);
  max-width: 50ch;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 360;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.5;
  color: rgba(245,242,237,0.62);
  letter-spacing: -0.005em;
}
.hero__sidemark {
  position: absolute; right: var(--gutter); top: 50%; transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted-on-dark); opacity: 0.6;
  z-index: 5;
}

/* ─────────── hero parallax map ─────────── */
.hero--map {
  min-height: 100vh;
  height: 100vh;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.hero-map {
  position: absolute; inset: 0;
  pointer-events: none;
  perspective: 1200px;
}
.hero-map__layer {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  will-change: transform;
  transition: transform 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* L0: atmosphere — radial glow + vignette */
.hero-map__atmos {
  background:
    radial-gradient(ellipse 70% 55% at 65% 50%, rgba(218, 165, 110, 0.08), transparent 70%),
    radial-gradient(ellipse 50% 65% at 30% 60%, rgba(143, 179, 160, 0.07), transparent 70%),
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 30%, rgba(0,0,0,0.6) 100%);
}

/* L1: faint grid */
.hero-map__grid {
  background-image:
    linear-gradient(to right, rgba(232, 227, 216, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 227, 216, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  opacity: 0.7;
}

/* L2: regions (large soft Brazil) */
.hero-map__regions { opacity: 0.95; }
.hero-map__regions .region {
  stroke: rgba(232, 227, 216, 0.18);
  stroke-width: 0.5;
  stroke-linejoin: round;
  transition: fill 600ms ease, opacity 500ms ease, transform 400ms ease;
  transform-origin: center;
  transform-box: fill-box;
  cursor: pointer;
  pointer-events: auto;
}
.hero-map__regions .region.r-norte       { fill: rgba(76, 92, 80, 0.22); }   /* sage */
.hero-map__regions .region.r-nordeste    { fill: rgba(184, 124, 76, 0.20); } /* terracotta */
.hero-map__regions .region.r-centroeste  { fill: rgba(196, 159, 87, 0.20); } /* ocre */
.hero-map__regions .region.r-sudeste     { fill: rgba(160, 168, 138, 0.28); }/* olive sand */
.hero-map__regions .region.r-sul         { fill: rgba(132, 152, 156, 0.22); }/* soft teal */
.hero-map__regions .region.is-hover { opacity: 1; }
.hero-map__regions .region.is-hover.r-norte      { fill: rgba(76, 92, 80, 0.42); }
.hero-map__regions .region.is-hover.r-nordeste   { fill: rgba(184, 124, 76, 0.42); }
.hero-map__regions .region.is-hover.r-centroeste { fill: rgba(196, 159, 87, 0.42); }
.hero-map__regions .region.is-hover.r-sudeste    { fill: rgba(160, 168, 138, 0.5); }
.hero-map__regions .region.is-hover.r-sul        { fill: rgba(132, 152, 156, 0.45); }
.hero-map__regions .region.is-dim { opacity: 0.5; }

/* L3: connection lines (light tracers between key cities) */
.hero-map__lines { opacity: 0.6; }
.hero-map__lines .conn {
  fill: none;
  stroke: rgba(232, 227, 216, 0.22);
  stroke-width: 0.4;
  stroke-dasharray: 2 3;
  stroke-linecap: round;
  animation: hero-trace 14s linear infinite;
}
.hero-map__lines .conn.warm { stroke: rgba(218, 165, 110, 0.28); }
@keyframes hero-trace {
  to { stroke-dashoffset: -200; }
}

/* L4: city heat points */
.hero-map__points { pointer-events: auto; }
/* City dots are hover-only (tooltip on mouseover). No click action — keep
   default cursor so we don't promise interactivity that doesn't exist. */
.hero-map__points .city { cursor: default; }
.hero-map__points .city .halo {
  fill: none;
  stroke-width: 0.8;
  opacity: 0.5;
  transform-origin: center;
  transform-box: fill-box;
}
/* Halos no longer pulse by default — pulsing was constant on 79 dots and
   that's both perf-expensive and visually busy. Now the pulse is a
   reaction to hover (sharper interaction signal). T1 macropolos keep a
   subtle baseline heartbeat so the map doesn't feel dead. */
.hero-map__points .city .halo--pulse {
  /* idle: no animation */
}
.hero-map__points .city.tier-1 .halo--pulse {
  /* T1 baseline heartbeat — gentle and slow, not attention-grabbing */
  animation: hero-pulse 3.4s ease-out infinite;
  will-change: transform, opacity;
}
.hero-map__points .city.is-hover .halo--pulse {
  /* Hover (proximity-driven) overrides any baseline — fresh cycle from 0 */
  animation: hero-pulse 1.6s ease-out infinite;
  animation-delay: 0s;
  will-change: transform, opacity;
}
.hero-map__points .city .dot {
  stroke: #0a0a0a;
  stroke-width: 0.6;
  transition: r 240ms ease;
}
.hero-map__points .city.tier-1 .dot { fill: #f4e4c8; }
.hero-map__points .city.tier-2 .dot { fill: #d9bf94; }
.hero-map__points .city.tier-3 .dot { fill: #b09a7a; }
/* heat by region tone */
.hero-map__points .city.h-norte .halo       { stroke: #6a8a72; fill: rgba(106, 138, 114, 0.18); }
.hero-map__points .city.h-nordeste .halo    { stroke: #d68a4f; fill: rgba(214, 138, 79, 0.22); }
.hero-map__points .city.h-centroeste .halo  { stroke: #d4a85a; fill: rgba(212, 168, 90, 0.22); }
.hero-map__points .city.h-sudeste .halo     { stroke: #c8d0a6; fill: rgba(200, 208, 166, 0.22); }
.hero-map__points .city.h-sul .halo         { stroke: #8fb3b8; fill: rgba(143, 179, 184, 0.22); }
.hero-map__points .city .label {
  font-family: var(--mono); letter-spacing: 0.08em;
  fill: rgba(244, 228, 200, 0.55); text-anchor: middle;
  pointer-events: none; text-transform: uppercase;
  opacity: 0; transition: opacity 320ms ease;
}
.hero-map__points .city.tier-1 .label { opacity: 0.85; }
/* `.is-hover` is set by the JS proximity handler on the nearest dot to
   the cursor (replaces native :hover so dense clusters resolve cleanly). */
.hero-map__points .city.is-hover .label,
.hero-map__points .city.is-hot .label { opacity: 1; fill: #f4e4c8; }
.hero-map__points .city.is-hover .dot { transform: scale(1.6); transform-origin: center; transform-box: fill-box; }
/* (was: .is-hot .halo--pulse animation-duration override — dropped now
   that pulse is hover-driven; T1 has its own slow baseline animation.) */

@keyframes hero-pulse {
  0%   { opacity: 0.55; transform: scale(1); }
  60%  { opacity: 0; transform: scale(3); }
  100% { opacity: 0; transform: scale(3); }
}

/* Tooltip */
.hero-map__tip {
  position: absolute;
  pointer-events: none;
  padding: 10px 14px;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(232, 227, 216, 0.18);
  backdrop-filter: blur(6px);
  z-index: 8;
  transition: opacity 180ms ease;
  max-width: 240px;
}
.hero-map__tip[hidden] { display: none; }
.hero-map__tip-name {
  font-family: var(--serif); font-weight: 360; font-size: 16px;
  color: #f4e4c8; letter-spacing: -0.01em;
}
.hero-map__tip-voc {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(232, 227, 216, 0.65);
  margin-top: 4px;
}

/* Inner text container */
.hero__inner--map {
  position: absolute;
  z-index: 4;
  left: var(--gutter);
  bottom: clamp(100px, 12vw, 160px);
  max-width: min(700px, 56vw);
  padding: 0;
  pointer-events: none;
}
.hero__inner--map > * { pointer-events: auto; }
.hero__inner--map .eyebrow { margin-bottom: clamp(20px, 3vw, 36px); }
.hero--map h1 {
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 1;
  max-width: 18ch;
  letter-spacing: -0.02em;
}
.hero--map h1 em::after {
  background: linear-gradient(to right, rgba(218, 165, 110, 0.7), rgba(143, 179, 160, 0.7));
  height: 0.08em;
  bottom: 0.06em;
}
.hero--map .hero__sub {
  margin-top: clamp(20px, 2.5vw, 32px);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
  max-width: 48ch;
  color: rgba(232, 227, 216, 0.7);
}
.hero--map .hero__meta {
  margin-top: clamp(24px, 3vw, 36px);
  margin-bottom: 0;
  font-size: 10.5px;
  letter-spacing: 0.18em;
}
.hero--map .hero__cta {
  margin-top: clamp(28px, 3.5vw, 40px);
}

/* Region legend — bigger and more interactive on Cena 2 (5 Brasis).
   Houses both the regional reading (5 rows) and the per-UF drill-down (chips).
   Styled as a clearly floating glass panel — detached from the canvas edge,
   with a backdrop blur, border, and soft drop shadow so the user reads it
   as a discrete interactive surface, not as map labels. */
.hero-map__legend {
  position: absolute;
  z-index: 4;
  right: clamp(32px, 4vw, 72px);
  top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 16px;
  pointer-events: auto;
  width: clamp(252px, 23vw, 312px);
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(244,228,200,0.18) transparent;
  background: rgba(12, 12, 12, 0.62);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  border: 1px solid rgba(244, 228, 200, 0.18);
  border-radius: 4px;
  padding: 20px 22px;
  box-shadow: 0 28px 56px -12px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(244, 228, 200, 0.04) inset;
}
.hero-map__legend::-webkit-scrollbar { width: 4px; }
.hero-map__legend::-webkit-scrollbar-thumb { background: rgba(244,228,200,0.18); }
.hero-map__legend .lg__title {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(244, 228, 200, 0.22);
  font-family: var(--mono);
}
.hero-map__legend .lg__title-main {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(244, 228, 200, 0.95);
}
.hero-map__legend .lg__title-hint {
  font-size: 9px; letter-spacing: 0.10em; text-transform: none;
  color: rgba(232, 227, 216, 0.50); font-style: italic;
  animation: legend-hint-pulse 2400ms ease-in-out 600ms infinite;
}
@keyframes legend-hint-pulse {
  0%, 100% { color: rgba(232, 227, 216, 0.42); }
  50%      { color: rgba(244, 228, 200, 0.95); }
}
.hero-map__legend .lg {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(232, 227, 216, 0.55);
  cursor: pointer;
  transition: color 200ms ease, opacity 200ms ease;
  border-left: 1px solid rgba(244, 228, 200, 0.12);
  padding-left: 12px;
}
.hero-map__legend .lg:hover, .hero-map__legend .lg.is-active {
  color: #f4e4c8;
  border-left-color: rgba(244, 228, 200, 0.6);
}
.hero-map__legend .lg__head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 4px;
}
.hero-map__legend .lg__name {
  font-size: 11px;
  letter-spacing: 0.16em;
}
.hero-map__legend .lg .swatch {
  width: 10px; height: 10px;
  border: 1px solid currentColor;
  display: inline-block;
  flex-shrink: 0;
}
.hero-map__legend .lg__voc {
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: rgba(244, 228, 200, 0.62);
  font-style: italic;
  margin-bottom: 3px;
}
.hero-map__legend .lg__cities {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(232, 227, 216, 0.42);
  line-height: 1.5;
}
.hero-map__legend .lg__stat {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 228, 200, 0.78);
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(244, 228, 200, 0.10);
}
.hero-map__legend .lg.r-norte .swatch       { background: rgba(106, 138, 114, 0.6); border-color: #6a8a72; }
.hero-map__legend .lg.r-nordeste .swatch    { background: rgba(214, 138, 79, 0.6); border-color: #d68a4f; }
.hero-map__legend .lg.r-centroeste .swatch  { background: rgba(212, 168, 90, 0.6); border-color: #d4a85a; }
.hero-map__legend .lg.r-sudeste .swatch     { background: rgba(200, 208, 166, 0.6); border-color: #c8d0a6; }
.hero-map__legend .lg.r-sul .swatch         { background: rgba(143, 179, 184, 0.6); border-color: #8fb3b8; }

/* "→" chevron next to region name — subtle hint that the row is clickable.
   Slides forward on hover to reinforce the affordance. */
.hero-map__legend .lg__chev {
  margin-left: auto;
  font-size: 11px;
  color: rgba(244, 228, 200, 0.30);
  transition: color 200ms ease, transform 200ms ease;
  animation: legend-chev-nudge 3200ms ease-in-out infinite;
}
/* Stagger por região — cada chevron pulsa em offset distinto, evitando
   sincronia de "todos batendo juntos". */
.hero-map__legend .lg.r-norte      .lg__chev { animation-delay: 0ms; }
.hero-map__legend .lg.r-nordeste   .lg__chev { animation-delay: 320ms; }
.hero-map__legend .lg.r-centroeste .lg__chev { animation-delay: 640ms; }
.hero-map__legend .lg.r-sudeste    .lg__chev { animation-delay: 960ms; }
.hero-map__legend .lg.r-sul        .lg__chev { animation-delay: 1280ms; }
@keyframes legend-chev-nudge {
  0%, 70%, 100% { transform: translateX(0); color: rgba(244, 228, 200, 0.30); }
  82%           { transform: translateX(4px); color: rgba(244, 228, 200, 0.72); }
}
.hero-map__legend .lg:hover .lg__chev,
.hero-map__legend .lg.is-active .lg__chev {
  color: rgba(244, 228, 200, 0.95);
  transform: translateX(3px);
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-map__legend .lg__title-hint,
  .hero-map__legend .lg__chev { animation: none; }
}

/* UF chips inside each region row — drill-down without leaving the panel. */
.hero-map__legend .lg__ufs {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(244, 228, 200, 0.08);
}
.hero-map__legend .lg__uf {
  font-family: var(--mono);
  font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(244, 228, 200, 0.18);
  color: rgba(232, 227, 216, 0.65);
  padding: 3px 6px;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.hero-map__legend .lg__uf:hover {
  color: #f4e4c8;
  border-color: rgba(244, 228, 200, 0.55);
  background: rgba(244, 228, 200, 0.06);
}

/* ─────────── UF drill-down panel (Scene 0 — Brasil) ─────────── */
/* Same floating-panel treatment as .hero-map__legend so both side panels
   read as the same interactive UI element across scenes. */
.hero-map__ufs {
  position: absolute;
  z-index: 4;
  right: clamp(32px, 4vw, 72px);
  top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
  width: clamp(252px, 23vw, 296px);
  max-width: none;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(244,228,200,0.18) transparent;
  font-family: var(--mono);
  color: rgba(232, 227, 216, 0.7);
  background: rgba(12, 12, 12, 0.62);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  border: 1px solid rgba(244, 228, 200, 0.18);
  border-radius: 4px;
  padding: 20px 22px;
  box-shadow: 0 28px 56px -12px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(244, 228, 200, 0.04) inset;
  opacity: 0;
  transition: opacity 240ms ease;
}
.hero-map__ufs::-webkit-scrollbar { width: 4px; }
.hero-map__ufs::-webkit-scrollbar-thumb { background: rgba(244,228,200,0.18); }

/* Tighter spacing on shorter viewports (14" laptops are ~720-820px tall) */
@media (max-height: 850px) {
  .hero-map__legend { gap: 12px; }
  .hero-map__legend .lg__head { margin-bottom: 2px; }
  .hero-map__legend .lg__voc { margin-bottom: 2px; line-height: 1.35; }
  .hero-map__legend .lg__cities { line-height: 1.35; }
  .hero-map__legend .lg__stat { margin-top: 4px; padding-top: 4px; }
  .hero-map__ufs { gap: 10px; }
  .hero-map__ufs .ufs__group { gap: 4px; }
  .hero-map__ufs .ufs__head { padding-bottom: 6px; }
  .hero-map__ufs .uf { padding: 3px 6px; }
}
.hero-map__ufs .ufs__head {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(244, 228, 200, 0.18);
}
.hero-map__ufs .ufs__title {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(244, 228, 200, 0.92);
}
.hero-map__ufs .ufs__hint {
  font-size: 9px; letter-spacing: 0.10em; text-transform: none;
  color: rgba(232, 227, 216, 0.42); font-style: italic;
}
.hero-map__ufs .ufs__group {
  display: flex; flex-direction: column; gap: 6px;
  border-left: 1px solid rgba(244, 228, 200, 0.10);
  padding-left: 10px;
}
.hero-map__ufs .ufs__reg {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(244, 228, 200, 0.70);
  display: flex; align-items: center; gap: 8px;
}
.hero-map__ufs .ufs__reg .swatch {
  width: 8px; height: 8px;
  border: 1px solid currentColor;
  display: inline-block; flex-shrink: 0;
}
.hero-map__ufs .ufs__group.r-norte .swatch       { background: rgba(106, 138, 114, 0.6); border-color: #6a8a72; }
.hero-map__ufs .ufs__group.r-nordeste .swatch    { background: rgba(214, 138, 79, 0.6); border-color: #d68a4f; }
.hero-map__ufs .ufs__group.r-centroeste .swatch  { background: rgba(212, 168, 90, 0.6); border-color: #d4a85a; }
.hero-map__ufs .ufs__group.r-sudeste .swatch     { background: rgba(200, 208, 166, 0.6); border-color: #c8d0a6; }
.hero-map__ufs .ufs__group.r-sul .swatch         { background: rgba(143, 179, 184, 0.6); border-color: #8fb3b8; }
.hero-map__ufs .ufs__codes {
  display: flex; flex-wrap: wrap; gap: 4px;
}
.hero-map__ufs .uf {
  font-family: inherit;
  font-size: 10px; letter-spacing: 0.14em;
  background: transparent;
  border: 1px solid rgba(244, 228, 200, 0.20);
  color: rgba(232, 227, 216, 0.65);
  padding: 4px 7px;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.hero-map__ufs .uf:hover {
  color: #f4e4c8;
  border-color: rgba(244, 228, 200, 0.55);
  background: rgba(244, 228, 200, 0.06);
}

/* Region path soft glow when a UF in that region is hovered */
.hero-map__regions .region.uf-hover {
  filter: brightness(1.25) saturate(1.15);
}

/* ─────────── Floating UF detail card ─────────── */
.hero-uf-card {
  position: absolute;
  z-index: 6;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: clamp(320px, 32vw, 420px);
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 228, 200, 0.22);
  padding: clamp(20px, 2.4vw, 28px);
  color: var(--offwhite);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}
.hero-uf-card.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.hero-uf-card__close {
  position: absolute; top: 10px; right: 14px;
  background: transparent; border: 0;
  color: rgba(244, 228, 200, 0.55);
  font-size: 22px; line-height: 1;
  cursor: pointer; padding: 4px 8px;
  transition: color 160ms ease;
}
.hero-uf-card__close:hover { color: #f4e4c8; }
.hero-uf-card__name {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 380;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  display: flex; align-items: baseline; gap: 12px;
  border-bottom: 1px solid rgba(244, 228, 200, 0.15);
  padding-bottom: 14px;
}
.hero-uf-card__name .uf-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  color: rgba(244, 228, 200, 0.65);
  background: rgba(244, 228, 200, 0.08);
  border: 1px solid rgba(244, 228, 200, 0.20);
  padding: 3px 8px;
  font-weight: 400;
}
.hero-uf-card__stats {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
}
.hero-uf-card__stats .row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(244, 228, 200, 0.08);
}
.hero-uf-card__stats .k {
  color: rgba(232, 227, 216, 0.55);
  text-transform: uppercase;
}
.hero-uf-card__stats .v {
  color: var(--offwhite);
  font-feature-settings: "tnum";
}
.hero-uf-card__stats .v.dim { color: rgba(232, 227, 216, 0.50); }
.hero-uf-card__stats .v .dim { color: rgba(232, 227, 216, 0.50); margin-left: 4px; }
.hero-uf-card__sectors {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.hero-uf-card__sectors .chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(232, 227, 216, 0.78);
  background: rgba(244, 228, 200, 0.06);
  border: 1px solid rgba(244, 228, 200, 0.16);
  padding: 4px 8px;
}
.hero-uf-card__note {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(232, 227, 216, 0.78);
  font-style: italic;
}

/* Hide UF panel on small viewports — drill-down is desktop-only */
@media (max-width: 900px) {
  .hero-map__ufs { display: none; }
  .hero-uf-card { width: 88vw; }
  /* Scene 1 sub references the side UF panel — hide it where the panel is hidden */
  .hero-scene[data-scene="1"] .hero__sub { display: none; }
}

/* Reset button — appears after the user clicks a region chip in scene 1
   and the camera flies into a region. Hidden otherwise. */
.hero-reset {
  position: absolute;
  top: clamp(78px, 9vh, 110px);
  right: clamp(20px, 3vw, 48px);
  z-index: 7;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 228, 200, 0.92);
  background: rgba(15, 15, 15, 0.7);
  border: 1px solid rgba(244, 228, 200, 0.35);
  padding: 9px 14px;
  border-radius: 100px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 320ms ease, transform 320ms ease, background 220ms ease, border-color 220ms ease;
}
.hero-reset.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-reset:hover {
  background: rgba(244, 228, 200, 0.18);
  border-color: rgba(244, 228, 200, 0.7);
}
.hero-reset .arrow {
  font-size: 13px;
  transition: transform 220ms ease;
}
.hero-reset:hover .arrow { transform: translateX(-3px); }

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 56px;
  background: rgba(232, 227, 216, 0.18);
  z-index: 4;
  overflow: hidden;
}
.hero__scroll-cue span {
  position: absolute; left: 0; right: 0; top: 0;
  height: 16px;
  background: linear-gradient(to bottom, transparent, rgba(244, 228, 200, 0.8));
  animation: cue-fall 2.4s ease-in-out infinite;
}
@keyframes cue-fall {
  0% { top: -16px; opacity: 0; }
  30% { opacity: 1; }
  100% { top: 56px; opacity: 0; }
}

@media (max-width: 980px) {
  .hero__inner--map {
    bottom: clamp(80px, 14vw, 120px);
    max-width: 88vw;
  }
  .hero-map__legend { display: none; }
  .hero--map h1 { font-size: clamp(36px, 9vw, 56px); }
}

/* ─────────── section base ─────────── */
section { padding: var(--section-y) var(--gutter); }
.section--dark { background: var(--black); color: var(--offwhite); }
.section--dark .eyebrow { color: var(--muted-on-dark); }

.section__head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(48px, 6vw, 96px);
  align-items: start;
}
.section__head .eyebrow { padding-top: 10px; }
.container { max-width: 1400px; margin: 0 auto; }

/* ─────────── about / essay ─────────── */
#about { padding: clamp(64px, 7vw, 110px) var(--gutter); }
.h-section--about {
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 350;
  letter-spacing: -0.018em;
  line-height: 1.06;
  max-width: 22ch;
}
.essay {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
}
.essay--immersive { grid-template-columns: 1fr; }
/* About immersive — duas fotos como atmosfera (OfficeView esquerda · Building direita)
   atrás do conteúdo, com scrim escuro para legibilidade do texto. */
.about--immersive {
  position: relative;
  background: #0a0a0a;
  color: var(--offwhite);
  overflow: hidden;
  isolation: isolate;
}
.about__bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.about__bg-img {
  position: absolute;
  top: 0; height: 100%;
  width: 60%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04) brightness(0.62);
  display: block;
}
/* Mask suave nas bordas internas — as duas imagens se sobrepõem 20% e
   crossfadam na zona central da seção, em vez do corte rígido 50/50. */
.about__bg-img--left {
  left: 0;
  object-position: 60% center;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 100%);
}
.about__bg-img--right {
  right: 0;
  object-position: 35% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 40%, #000 100%);
}
.about__bg-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 50% 50%,
      rgba(8,10,9,0.65) 0%,
      rgba(8,10,9,0.85) 60%,
      rgba(8,10,9,0.92) 100%),
    linear-gradient(90deg,
      rgba(8,10,9,0.30) 0%,
      rgba(8,10,9,0.10) 30%,
      rgba(8,10,9,0.10) 70%,
      rgba(8,10,9,0.30) 100%);
}
.about__symbol {
  position: absolute;
  z-index: 1;
  bottom: clamp(20px, 3vw, 40px);
  right: clamp(20px, 3vw, 40px);
  width: clamp(72px, 8vw, 120px);
  height: auto;
  opacity: 0.10;
  pointer-events: none;
  filter: brightness(1.5);
}
.about--immersive .container { position: relative; z-index: 2; }
.about--immersive .h-section--about,
.about--immersive #about-title { color: var(--offwhite); }
.about--immersive .essay__body { color: rgba(245, 242, 237, 0.92); max-width: 64ch; margin: 0 auto; }
.about--immersive .essay__body p:first-child {
  color: rgba(245, 242, 237, 0.78);
}
.about--immersive .essay__pull {
  color: #b8d4c1;
  border-left-color: rgba(143, 179, 160, 0.6);
  max-width: 44ch;
}
.about--immersive .about__promise {
  border-top-color: rgba(245, 242, 237, 0.18);
}
.about--immersive .about__promise span {
  color: #b8d4c1;
}
@media (max-width: 720px) {
  .about__bg-img { width: 100%; height: 60%; }
  .about__bg-img--left  {
    top: 0; height: 60%;
    object-position: center 60%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
  }
  .about__bg-img--right {
    top: 40%; height: 60%;
    object-position: center 35%;
    left: 0; right: auto;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 100%);
  }
}
/* Photo slot in About — sits in the previously-empty 220-280px left column.
   When `src` is empty, shows a subtle dashed-line placeholder so the layout
   is reserved without breaking visually. Drop in a real photo and the
   placeholder vanishes automatically. */
.essay__photo {
  margin: 0;
  position: sticky;
  top: 96px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.essay__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  background: rgba(31, 58, 46, 0.06);
}
/* Placeholder treatment when no src is set */
.essay__photo img:not([src]),
.essay__photo img[src=""] {
  border: 1px dashed rgba(31, 58, 46, 0.32);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(31, 58, 46, 0.04) 0,
      rgba(31, 58, 46, 0.04) 2px,
      transparent 2px,
      transparent 12px
    );
}
.essay__photo img:not([src])::after,
.essay__photo img[src=""]::after {
  content: "foto · escritório · vista";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(31, 58, 46, 0.42);
}
.essay__photo-cap {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}
@media (max-width: 720px) {
  .essay__photo { position: relative; top: 0; }
  .essay__photo img { aspect-ratio: 4 / 3; }
}
.essay__body {
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--black);
}
.essay__body p { margin-bottom: 1.15em; }
.essay__body p:first-child {
  font-family: var(--serif);
  font-weight: 360;
  font-style: italic;
  font-size: clamp(20px, 1.7vw, 23px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--muted-on-light);
  margin-bottom: 1.6em;
}
.essay__pull {
  font-family: var(--serif);
  font-weight: 360;
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.3;
  margin: 1.8em 0;
  padding-left: 18px;
  border-left: 1px solid rgba(31, 58, 46, 0.42);
  letter-spacing: -0.005em;
  color: var(--green);
  text-wrap: balance;
  max-width: 38ch;
}
.about__promise {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--rule-light);
  display: flex;
  justify-content: flex-end;
}
.about__promise span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.005em;
  color: var(--green);
  line-height: 1.3;
}
@media (max-width: 720px) {
  .essay { grid-template-columns: 1fr; gap: 16px; }
  .about__promise { justify-content: flex-start; }
}
.about__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule-light);
}
.about__strip > div {
  padding: 0 clamp(16px, 1.6vw, 24px) 0 0;
  border-right: 1px solid var(--rule-light);
}
.about__strip > div:last-child { border-right: none; padding-right: 0; }
.about__strip > div + div { padding-left: clamp(16px, 1.6vw, 24px); }
.about__strip b {
  display: block;
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.018em;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}
.about__strip span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-light);
  line-height: 1.4;
  display: block;
}
@media (max-width: 720px) {
  .about__strip { grid-template-columns: 1fr; }
  .about__strip > div { border-right: none; border-bottom: 1px solid var(--rule-light); padding: 16px 0; }
  .about__strip > div:last-child { border-bottom: none; }
  .about__strip > div + div { padding-left: 0; }
}

/* ─────────── Como atuamos — 1 hero card (M&A) + 2 cards (Valuation, Preparação) ─────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(40px, 5vw, 56px);
}
.how-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 3.4vw, 48px);
  background: rgba(245, 242, 237, 0.04);
  border: 1px solid rgba(245, 242, 237, 0.08);
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
}
.how-card--hero {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
}
:root {
  --how-slate: #7DA3B5;
}
.how-card[data-accent="green"] {
  border-left: 2px solid #8FB3A0;
  background: linear-gradient(180deg, rgba(143,179,160,0.06) 0%, rgba(245,242,237,0.02) 60%);
}
.how-card[data-accent="amber"] {
  border-left: 2px solid var(--flap-amber);
  background: linear-gradient(180deg, rgba(232,181,71,0.06) 0%, rgba(245,242,237,0.02) 60%);
}
.how-card[data-accent="slate"] {
  border-left: 2px solid var(--how-slate);
  background: linear-gradient(180deg, rgba(125,163,181,0.07) 0%, rgba(245,242,237,0.02) 60%);
}
.how-card__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.how-card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted-on-dark);
  font-feature-settings: "tnum";
}
.how-card__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
}
.how-card[data-accent="green"] .how-card__tag {
  color: #8FB3A0;
  background: rgba(143,179,160,0.08);
  border: 1px solid rgba(143,179,160,0.24);
}
.how-card[data-accent="amber"] .how-card__tag {
  color: var(--flap-amber);
  background: rgba(232,181,71,0.08);
  border: 1px solid rgba(232,181,71,0.28);
}
.how-card[data-accent="slate"] .how-card__tag {
  color: var(--how-slate);
  background: rgba(125,163,181,0.10);
  border: 1px solid rgba(125,163,181,0.28);
}
.how-card__glyph {
  width: 28px; height: 28px;
  margin-left: auto;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.how-card[data-accent="green"] .how-card__glyph { stroke: #8FB3A0; }
.how-card[data-accent="amber"] .how-card__glyph { stroke: var(--flap-amber); }
.how-card[data-accent="slate"] .how-card__glyph { stroke: var(--how-slate); }
.how-card__title {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--offwhite);
  margin: 0 0 clamp(16px, 1.8vw, 24px);
  text-wrap: balance;
}
.how-card--hero .how-card__title { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: clamp(12px, 1.4vw, 18px); }
.how-card__body {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(245,242,237,0.78);
  max-width: 56ch;
}
.how-card__body p { margin-bottom: 1em; }
.how-card__body p:last-child { margin-bottom: 0; }
.how-card--hero .how-card__body { font-size: 15px; max-width: 76ch; margin-bottom: clamp(20px, 2.4vw, 28px); }

/* Tracks — sell-side and buy-side side-by-side inside M&A hero card */
.how-tracks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
  margin-top: clamp(8px, 1vw, 16px);
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px dashed rgba(245,242,237,0.14);
}
.how-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.how-track + .how-track {
  padding-left: clamp(20px, 2.4vw, 36px);
  border-left: 1px solid rgba(245,242,237,0.10);
}
.how-track__head { display: flex; flex-direction: column; gap: 6px; }
.how-track__kind {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #8FB3A0;
}
.how-track__note {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(245,242,237,0.72);
  margin: 0;
  max-width: 42ch;
}

/* Phases — vertical timeline inside M&A hero card */
.how-phases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.how-phase {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  position: relative;
  padding-left: 2px;
}
.how-phase__step {
  grid-row: 1 / 3;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #8FB3A0;
  background: rgba(143,179,160,0.10);
  border: 1px solid rgba(143,179,160,0.32);
  border-radius: 3px;
  padding: 4px 0;
  text-align: center;
  width: 32px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-phase__main {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.how-phase__name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 380;
  letter-spacing: -0.005em;
  color: var(--offwhite);
}
.how-phase__dur {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flap-amber);
  font-feature-settings: "tnum";
}
.how-phase__detail {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(245,242,237,0.62);
}

/* Method chips — Valuation methodologies */
.how-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: auto;
  padding-top: clamp(20px, 2.4vw, 28px);
  list-style: none;
  border-top: 1px dashed rgba(245,242,237,0.14);
}
.how-chips li {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--flap-amber);
  padding: 6px 12px;
  border: 1px solid rgba(232,181,71,0.32);
  border-radius: 3px;
  background: rgba(232,181,71,0.05);
}

/* Feature — hero number on Preparação card */
.how-feature {
  margin-top: auto;
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px dashed rgba(245,242,237,0.14);
}
.how-feature__num {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #8FB3A0;
  font-feature-settings: "tnum";
  margin-bottom: 12px;
  text-shadow: 0 0 32px rgba(143,179,160,0.18);
}
.how-card[data-accent="slate"] .how-feature__num {
  color: var(--how-slate);
  text-shadow: 0 0 32px rgba(125,163,181,0.22);
}
.how-feature__cap {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(245,242,237,0.82);
  max-width: 46ch;
  margin: 0;
}

@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-tracks { grid-template-columns: 1fr; }
  .how-track + .how-track {
    padding-left: 0;
    padding-top: 18px;
    border-left: none;
    border-top: 1px solid rgba(245,242,237,0.10);
  }
}

/* Process strip — sequence of stages under M&A frente */
.vertical__process {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(245,242,237,0.18);
  list-style: none;
}
.vertical__process li {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(245,242,237,0.82);
  padding: 6px 10px;
  border: 1px solid rgba(245,242,237,0.20);
  border-radius: 999px;
  white-space: nowrap;
}
.vertical__process li + li::before {
  content: "→";
  display: inline-block;
  margin: 0 8px 0 -2px;
  color: #8FB3A0;
  font-family: var(--mono);
  letter-spacing: 0;
  transform: translateY(-1px);
}
.vertical__process li:first-child::before { content: none; }
.vertical__process li.is-arrow {
  border: none;
  padding: 0;
  color: #8FB3A0;
}
.vertical__timeline {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px;
  padding-left: 2px;
}
.vertical__timeline::before,
.vertical__timeline::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(143,179,160,0.05), rgba(143,179,160,0.32), rgba(143,179,160,0.05));
}
.vertical__timeline span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(143,179,160,0.78);
  white-space: nowrap;
}

/* Method chips — Valuation methodologies */
.vertical__chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(245,242,237,0.18);
  list-style: none;
}
.vertical__chips li {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #8FB3A0;
  padding: 6px 12px;
  border: 1px solid rgba(143,179,160,0.32);
  border-radius: 4px;
  background: rgba(143,179,160,0.06);
}

/* ─────────── radar (mapa editorial) ─────────── */
.radar { background: #0a0a0a; color: #e8e3d8; position: relative; }
.radar__intro { padding: var(--section-y) var(--gutter) clamp(40px, 6vw, 80px); max-width: 880px; }
.radar__intro h2 { color: #e8e3d8; max-width: 22ch; margin-bottom: 32px; }
.radar__intro .lead { color: rgba(232, 227, 216, 0.78); }

.radar-stage { position: relative; }
.radar-sticky {
  position: sticky; top: 0; height: 100vh; min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  align-items: center;
  z-index: 1;
}

.radar-map-col { position: relative; width: 100%; height: 100%; max-height: 88vh; }
.radar-svg { width: 100%; height: 100%; max-height: 88vh; overflow: visible; display: block; }
.radar-svg .state {
  fill: rgba(232, 227, 216, 0.07);
  stroke: rgba(232, 227, 216, 0.22);
  stroke-width: 0.6;
  stroke-linejoin: round;
  transition: fill 700ms ease, stroke 700ms ease, opacity 700ms ease;
  opacity: 0.95;
}
.radar-svg .state.is-active { fill: rgba(61, 90, 64, 0.32); stroke: rgba(143, 179, 160, 0.5); opacity: 1; }
.radar-svg .state.is-dim { opacity: 0.35; }
.radar-svg .state-label {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em;
  fill: rgba(232, 227, 216, 0.18); text-anchor: middle;
  pointer-events: none; text-transform: uppercase;
  transition: fill 700ms ease, font-size 700ms ease;
}
.radar-svg .state-label.is-active { fill: rgba(232, 227, 216, 0.55); font-size: 10px; }

/* Points */
.radar-svg .point { cursor: pointer; transition: opacity 600ms ease; }
.radar-svg .point .dot {
  fill: #b8b3a8; stroke: #0a0a0a; stroke-width: 0.8;
  transition: fill 500ms ease, r 500ms ease;
}
.radar-svg .point .pulse-ring {
  fill: none; stroke: #3d5a40; stroke-width: 1; opacity: 0;
  transform-origin: center; transform-box: fill-box;
}
.radar-svg .point .halo {
  fill: none; stroke: rgba(232, 227, 216, 0.18); stroke-width: 0.6;
  opacity: 0; transition: opacity 700ms ease;
}
.radar-svg .point .point-label {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em;
  fill: rgba(232, 227, 216, 0.45); pointer-events: none;
  transition: fill 600ms ease, opacity 600ms ease;
  opacity: 0;
}
.radar-svg .point.tier-1 .halo { opacity: 1; }
.radar-svg .point.tier-1 .point-label { opacity: 0.7; }
.radar-svg .point.tier-2 .point-label { opacity: 0; }
.radar-svg .point.tier-4 { opacity: 0; }

/* Moment-driven point states */
.radar-svg .point.is-dim { opacity: 0.15; }
.radar-svg .point.is-on { opacity: 1; }
.radar-svg .point.is-on .dot { fill: #e8e3d8; }
.radar-svg .point.is-on.tier-1 .dot { fill: #ffffff; }
.radar-svg .point.is-pulse .dot { fill: #8FB3A0; }
.radar-svg .point.is-pulse.tier-1 .dot { fill: #b8d4c0; }
.radar-svg .point.is-pulse .pulse-ring {
  opacity: 1;
  animation: radar-pulse 2.6s ease-out infinite;
}
.radar-svg .point.is-pulse.tier-1 .halo {
  animation: radar-halo 2.6s ease-out infinite;
}
.radar-svg .point.is-pulse .point-label,
.radar-svg .point.is-on:hover .point-label {
  opacity: 1; fill: #e8e3d8;
}
.radar-svg .point.tier-4.is-pulse,
.radar-svg .point.tier-4.is-on { opacity: 0.85; }

@keyframes radar-pulse {
  0%   { stroke-opacity: 0.55; transform: scale(1); }
  70%  { stroke-opacity: 0; transform: scale(2.6); }
  100% { stroke-opacity: 0; transform: scale(2.6); }
}
@keyframes radar-halo {
  0%, 100% { stroke-opacity: 0.18; }
  50%      { stroke-opacity: 0.45; }
}

/* Hover card */
.radar-hover {
  position: absolute; top: 0; left: 0;
  pointer-events: none;
  width: 280px;
  padding: 18px 20px;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(232, 227, 216, 0.14);
  backdrop-filter: blur(6px);
  z-index: 10;
}
.radar-hover[hidden] { display: none; }
.radar-hover__name {
  font-family: var(--serif); font-weight: 360; font-size: 18px;
  letter-spacing: -0.01em; color: #e8e3d8; margin-bottom: 6px;
}
.radar-hover__voc {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #8FB3A0; margin-bottom: 12px;
}
.radar-hover__line {
  font-family: var(--serif); font-style: italic; font-weight: 360;
  font-size: 14px; line-height: 1.5; color: rgba(232, 227, 216, 0.78);
  text-wrap: pretty; margin: 0;
}

/* Side panel */
.radar-panel { position: relative; max-width: 460px; padding: 20px 0; }
.radar-panel__rule { width: 32px; height: 1px; background: #3d5a40; margin-bottom: 24px; }
.radar-panel__eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #8FB3A0; margin-bottom: 18px;
}
.radar-panel__title {
  font-family: var(--serif); font-weight: 360;
  font-size: clamp(28px, 2.6vw, 40px); line-height: 1.08;
  letter-spacing: -0.015em; color: #e8e3d8;
  text-wrap: balance; margin-bottom: 22px;
}
.radar-panel__body {
  color: rgba(232, 227, 216, 0.72); line-height: 1.65;
  max-width: 44ch; font-size: 16px; margin-bottom: 36px;
}
.radar-panel__nav { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(232, 227, 216, 0.12); }
.radar-panel__nav li {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(232, 227, 216, 0.08);
  cursor: pointer; transition: opacity 240ms ease;
  opacity: 0.5;
}
.radar-panel__nav li:hover { opacity: 0.85; }
.radar-panel__nav li.is-active { opacity: 1; }
.radar-panel__nav li .num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: #8FB3A0; padding-top: 3px;
}
.radar-panel__nav li .ttl {
  font-family: var(--serif); font-size: 15px; line-height: 1.35; color: #e8e3d8;
}

.radar-beat { height: 100vh; }
.radar-beat--free { height: 110vh; }

@media (max-width: 980px) {
  .radar-sticky {
    grid-template-columns: 1fr; height: auto; min-height: 0;
    padding: clamp(40px, 8vw, 80px) var(--gutter);
    position: relative; top: auto;
  }
  .radar-map-col { height: 50vh; }
  .radar-beat, .radar-beat--free { height: auto; min-height: 80vh; }
  .radar-hover { width: 240px; }
}

/* ─────────── fairmind ─────────── */
.fairmind {
  position: relative;
  overflow: hidden;
}
.fairmind > .container { position: relative; z-index: 2; }
.fairmind .h-section { color: var(--offwhite); }
.fairmind .prose { color: rgba(245, 242, 237, 0.86); }
.fairmind .h-section em {
  font-style: italic;
  font-weight: inherit;
  position: relative;
  color: inherit;
  white-space: nowrap;
}
.fairmind .h-section em::after {
  content: ""; position: absolute; left: 0.02em; right: 0.02em; bottom: 0.04em; height: 0.045em;
  background: var(--green-2); opacity: 0.85;
}
.fairmind__dual-k em {
  font-style: normal;
  font-weight: inherit;
  position: relative;
  color: inherit;
  white-space: nowrap;
}
.fairmind__dual-k em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.18em; height: 1.5px;
  background: var(--green-2); opacity: 0.85;
}
.fairmind__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.fairmind__visual {
  aspect-ratio: 4 / 3;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.fairmind__network {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
}
.fairmind__visual-inner {
  position: relative; z-index: 2; color: var(--offwhite);
  font-family: var(--mono); text-align: center;
  display: flex; flex-direction: column; gap: 24px; align-items: center;
}
.fairmind__logo {
  max-width: min(60%, 320px);
  filter: drop-shadow(0 0 24px rgba(59,130,246,0.28)) drop-shadow(0 0 6px rgba(59,130,246,0.18));
  animation: fairmindPulse 5.2s ease-in-out infinite;
}
@keyframes fairmindPulse {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(59,130,246,0.22)) drop-shadow(0 0 4px rgba(59,130,246,0.14)); }
  50%      { filter: drop-shadow(0 0 30px rgba(59,130,246,0.42)) drop-shadow(0 0 10px rgba(59,130,246,0.26)); }
}
@media (prefers-reduced-motion: reduce) {
  .fairmind__logo { animation: none; }
}
.fairmind__visual-inner .glyph {
  font-family: var(--serif); font-size: 88px; line-height: 1; color: #8FB3A0;
  font-style: italic; font-weight: 360;
}
.fairmind__visual-inner .label {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(245,242,237,0.7);
}
.fairmind__metrics {
  position: absolute; left: clamp(22px, 3vw, 36px); right: clamp(22px, 3vw, 36px); bottom: clamp(22px, 3vw, 36px);
  z-index: 2;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 28px);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: rgba(245,242,237,0.6);
  text-transform: uppercase;
}
.fairmind__metrics > div {
  padding-top: 14px;
  border-top: 1px solid rgba(245,242,237,0.16);
}
.fairmind__metrics b {
  display: block;
  color: var(--offwhite);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 350;
  font-family: var(--serif);
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.018em;
  line-height: 1.05;
  margin-bottom: 10px;
  font-feature-settings: "tnum";
}
/* Fairmind dual framing — empresário | investidor */
.fairmind__dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 36px);
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(245, 242, 237, 0.16);
}
.fairmind__dual-col {
  padding-right: 16px;
  border-right: 1px solid rgba(245, 242, 237, 0.16);
}
.fairmind__dual-col:last-child { border-right: none; padding-right: 0; padding-left: 16px; }
.fairmind__dual-k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8FB3A0;
  margin-bottom: 12px;
  font-weight: 500;
}
.fairmind__dual-v {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.5;
  color: var(--offwhite);
  text-wrap: pretty;
  margin: 0;
}
@media (max-width: 720px) {
  .fairmind__dual { grid-template-columns: 1fr; }
  .fairmind__dual-col { border-right: none; border-bottom: 1px solid rgba(245, 242, 237, 0.16); padding: 0 0 16px 0; }
  .fairmind__dual-col:last-child { border-bottom: none; padding: 16px 0 0 0; }
}

/* Fairmind expanded — scope chips + CTA inside left column */
.fairmind__scope {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.fairmind__scope li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 237, 0.78);
  padding: 7px 14px;
  border: 1px solid rgba(245, 242, 237, 0.22);
  background: rgba(245, 242, 237, 0.04);
  border-radius: 4px;
}
.fairmind__cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px;
  padding: 14px 22px;
  border: 1px solid var(--offwhite);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--offwhite);
  transition: background 220ms ease, color 220ms ease;
}
.fairmind__cta:hover { background: var(--offwhite); color: var(--black); }
.fairmind__cta .arrow { font-family: var(--serif); font-size: 16px; letter-spacing: 0; }

/* ─────────── track record timeline ─────────── */
.transactions__list {
  position: relative;
  padding-left: clamp(28px, 5vw, 56px);
}
.transactions__list::before {
  content: "";
  position: absolute;
  left: clamp(8px, 1.5vw, 16px);
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(31, 58, 46, 0.55) 0%,
    rgba(31, 58, 46, 0.30) 45%,
    rgba(31, 58, 46, 0.12) 100%
  );
}
.tl-card {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(18px, 3vw, 36px);
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-light);
  align-items: start;
}
.tl-card::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(28px, 5vw, 56px) + clamp(4px, 1.5vw, 12px));
  top: 32px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--offwhite);
}
.tl-card--press::before {
  background: transparent;
  border: 1.5px solid var(--green);
}
.tl-card.is-featured::before {
  width: 12px;
  height: 12px;
  top: 30px;
  left: calc(-1 * clamp(28px, 5vw, 56px) + clamp(2px, 1.5vw, 10px));
  background: var(--green);
  box-shadow: 0 0 0 3px var(--offwhite), 0 0 0 6px rgba(31, 58, 46, 0.18);
}
.tl-card__year {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted-on-light);
  padding-top: 6px;
  font-feature-settings: "tnum";
}
.tl-card__body { min-width: 0; }
.tl-card__head {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 4px;
}
.tl-card__target {
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 380; letter-spacing: -0.01em; line-height: 1.15;
  color: var(--black);
  margin: 0;
}
.tl-card__badge {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(31, 58, 46, 0.10);
  padding: 4px 9px;
  border-radius: 2px;
  vertical-align: 4px;
}
.tl-card__buyer {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted-on-light);
  font-weight: 380;
  letter-spacing: -0.005em;
}
.tl-card__tags {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin-top: 10px;
}
.tl-card__sector {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--muted-on-light);
}
.tl-card__role {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green);
}
.tl-card__milestones {
  list-style: none;
  margin: 14px 0 0;
  padding: 12px 0 12px 14px;
  border-left: 1px solid rgba(31, 58, 46, 0.22);
}
.tl-card__milestones li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 5px 0;
  font-size: 14px;
  color: var(--black);
}
.tl-card__msYear {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-on-light);
  padding-top: 2px;
}
.tl-card__msLabel { font-family: var(--sans); line-height: 1.45; }
.tl-card__coverage {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 14px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(15, 15, 15, 0.10);
}
.tl-card__covLabel {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}
.tl-card__covList { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.tl-card__src {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 58, 46, 0.30);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}
.tl-card__src:hover { color: var(--black); border-bottom-color: var(--black); }
.tl-card__src--solo { border-bottom: none; cursor: default; }

/* press cards: lighter, italicised title */
.tl-card--press .tl-card__kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-light);
  margin-bottom: 6px;
}
.tl-card--press .tl-card__title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 380;
  font-style: italic;
  color: var(--black);
  line-height: 1.3;
  text-decoration: none;
  letter-spacing: -0.005em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.tl-card--press .tl-card__title:hover { border-bottom-color: var(--green); }
.tl-card--press .tl-card__meta { margin-top: 8px; }
.tl-card--press .tl-card__src--solo {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green);
}

/* All cards rendered at full saturation — era-based fade removed by design choice. */
.tl-card.is-featured .tl-card__target { color: var(--green); }

@media (max-width: 720px) {
  .transactions__list { padding-left: clamp(22px, 6vw, 36px); }
  .tl-card {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }
  .tl-card::before { top: 24px; }
  .tl-card.is-featured::before { top: 22px; }
  .tl-card__year { padding-top: 0; font-size: 12px; }
  .tl-card__head { gap: 6px 12px; }
  .tl-card__milestones li { grid-template-columns: 48px 1fr; gap: 8px; }
}

/* ─────────── TX — três blocos: hero (Fairplay), grid (sócios), lista (imprensa) ─────────── */
.tx-block { margin-top: clamp(48px, 6vw, 80px); }
/* First block sits flush against the section head margin-bottom — no extra
   top margin to avoid double spacing. */
.tx-block:first-of-type { margin-top: 0; }
.tx-block__head { margin-bottom: clamp(20px, 2.4vw, 32px); }
.eyebrow--sub {
  font-size: 11px;
  letter-spacing: 0.20em;
  margin-bottom: 10px;
}
.tx-block__lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--muted-on-light);
  margin: 0;
  max-width: 56ch;
}

/* Hero — mandato Fairplay (Termov) — imersivo, imagem como atmosfera */
.tx-hero {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  /* Moldura de quadro / tombstone — frame principal de 3px quase opaco +
     linha externa fina deslocada 6px (moldura dupla) + sombra forte de
     elevação. Estilo placa comemorativa. */
  border: 3px solid rgba(245, 242, 237, 0.82);
  outline: 1px solid rgba(245, 242, 237, 0.42);
  outline-offset: 6px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.60);
  background: #0a0a0a;
  isolation: isolate;
  min-height: 380px;
  aspect-ratio: 2.4 / 1;
  /* Margem extra pra acomodar a outline deslocada e a sombra sem grudar
     no conteúdo adjacente */
  margin: 16px 0;
}
.tx-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 22% 62%;
  filter: saturate(1.02) contrast(1.10) brightness(0.68);
  z-index: 0;
  display: block;
}
.tx-hero--immersive::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(
    ellipse 60% 78% at 22% 62%,
    rgba(10,12,11,0)    0%,
    rgba(10,12,11,0.10) 50%,
    rgba(10,12,11,0.32) 85%,
    rgba(10,12,11,0.50) 100%);
  z-index: 1;
  pointer-events: none;
}
.tx-hero--immersive::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg,
      rgba(10,12,11,0.05) 0%,
      rgba(10,12,11,0.18) 35%,
      rgba(10,12,11,0.55) 50%,
      rgba(10,12,11,0.85) 65%,
      rgba(10,12,11,0.95) 100%);
  z-index: 2;
  pointer-events: none;
}
.tx-hero__body { z-index: 3; }
.tx-hero__body {
  position: relative;
  z-index: 3;
  display: flex; flex-direction: column; justify-content: center;
  height: 100%;
  margin-left: auto;
  max-width: 50%;
  padding: clamp(36px, 4.2vw, 64px);
  color: var(--offwhite);
  /* Body scrim — fade longo na borda esquerda para deixar a imagem (troféu)
     respirar; opacidade só fecha a partir do meio do body para dentro. */
  background: linear-gradient(90deg,
    rgba(8,10,9,0)    0%,
    rgba(8,10,9,0.10) 18%,
    rgba(8,10,9,0.55) 45%,
    rgba(8,10,9,0.88) 72%,
    rgba(8,10,9,0.96) 100%);
}
.tx-hero__year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8FB3A0;
  margin-bottom: 14px;
}
.tx-hero__target {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 360;
  letter-spacing: -0.018em;
  line-height: 1.05;
  color: var(--offwhite);
  margin: 0 0 6px;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
.tx-hero__buyer {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  color: rgba(245, 242, 237, 0.92);
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}
.tx-hero__sector {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 237, 0.78);
  margin-bottom: 22px;
}
.tx-hero__tese {
  border-left: 2px solid #8FB3A0;
  padding: 4px 0 4px 16px;
  margin-bottom: 22px;
}
.tx-hero__teseLabel {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #8FB3A0;
  margin-bottom: 8px;
}
.tx-hero__tese p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--offwhite);
  margin: 0;
  text-wrap: pretty;
  max-width: 52ch;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55);
}
.tx-hero__milestones {
  list-style: none;
  margin: 0 0 18px;
  padding: 12px 0 12px 14px;
  border-left: 1px solid rgba(245, 242, 237, 0.22);
}
.tx-hero__milestones li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(245, 242, 237, 0.88);
}
.tx-hero__msYear {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(245, 242, 237, 0.62);
  padding-top: 2px;
}
.tx-hero__msLabel { font-family: var(--sans); line-height: 1.45; }
.tx-hero__coverage {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(245, 242, 237, 0.18);
}
.tx-hero__covLabel {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 242, 237, 0.62);
}
.tx-hero__covList { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.tx-hero__covList a {
  font-family: var(--sans);
  font-size: 13px;
  color: #8FB3A0;
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 179, 160, 0.40);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}
.tx-hero__covList a:hover { color: var(--offwhite); border-bottom-color: var(--offwhite); }

@media (max-width: 860px) {
  .tx-hero { aspect-ratio: auto; min-height: 0; }
  .tx-hero__bg { position: relative; height: 56vw; max-height: 320px; object-position: center 35%; }
  .tx-hero--immersive::after {
    background: linear-gradient(180deg,
      rgba(10,12,11,0.10) 0%,
      rgba(10,12,11,0.30) 30%,
      rgba(10,12,11,0.92) 56vw,
      rgba(10,12,11,0.96) 100%);
  }
  .tx-hero__body { max-width: 100%; margin-left: 0; padding: clamp(24px, 5vw, 36px); }
}

/* Grid — trajetória dos sócios */
.tx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule-light);
  border-left: 1px solid var(--rule-light);
}
.tx-card {
  padding: 24px 22px;
  background: rgba(31, 58, 46, 0.045);
  border-right: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  display: flex; flex-direction: column;
  min-height: 180px;
  transition: background 200ms ease;
}
.tx-card:hover { background: rgba(31, 58, 46, 0.075); }
.tx-card__year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-on-light);
  margin-bottom: 10px;
}
.tx-card__target {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 380;
  letter-spacing: -0.012em;
  line-height: 1.15;
  color: var(--black);
  margin: 0 0 4px;
}
.tx-card__buyer {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted-on-light);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.tx-card__sector {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-light);
  margin-bottom: 16px;
}
.tx-card__msLabel-head {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
/* Collapsible milestones — Puravida e similares.
   Detalhes do <details> ficam fechados por padrão, mantendo cards do mesmo
   tamanho. "+" / "−" indica o estado. */
.tx-card__details {
  margin-bottom: 10px;
}
.tx-card__details summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
}
.tx-card__details summary::-webkit-details-marker { display: none; }
.tx-card__details summary:hover .tx-card__msLabel-text { color: var(--green-2); }
.tx-card__expand {
  position: relative;
  width: 16px; height: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(31, 58, 46, 0.32);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 220ms ease, border-color 220ms ease;
}
.tx-card__expand::before,
.tx-card__expand::after {
  content: "";
  position: absolute;
  background: var(--green);
  transition: transform 240ms ease, background 220ms ease;
}
.tx-card__expand::before { width: 7px; height: 1px; }
.tx-card__expand::after  { width: 1px; height: 7px; }
.tx-card__details[open] .tx-card__expand {
  background: var(--green);
  border-color: var(--green);
}
.tx-card__details[open] .tx-card__expand::before,
.tx-card__details[open] .tx-card__expand::after { background: var(--offwhite); }
.tx-card__details[open] .tx-card__expand::after  { transform: scaleY(0); }
.tx-card__details .tx-card__milestones { margin-top: 8px; margin-bottom: 6px; }
.tx-card__milestones {
  list-style: none;
  margin: 0 0 14px;
  padding: 8px 0 8px 12px;
  border-left: 1px solid rgba(31, 58, 46, 0.22);
}
.tx-card__milestones li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  padding: 3px 0;
  font-size: 12px;
}
.tx-card__msYear {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-on-light);
}
.tx-card__msLabel { font-family: var(--sans); line-height: 1.4; }
.tx-card__coverage {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(15, 15, 15, 0.10);
  display: flex; flex-wrap: wrap; gap: 4px 10px;
}
.tx-card__coverage a {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 58, 46, 0.30);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}
.tx-card__coverage a:hover { color: var(--black); border-bottom-color: var(--black); }

/* Press — lista compacta */
.tx-press {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--rule-light);
}
.tx-press__item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 14px 18px;
  margin: 0 -18px;
  border-bottom: 1px solid var(--rule-light);
  border-radius: 2px;
  transition: background 200ms ease;
}
.tx-press__item:hover { background: rgba(31, 58, 46, 0.06); }
.tx-press__year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--muted-on-light);
}
.tx-press__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 380;
  color: var(--black);
  letter-spacing: -0.005em;
  line-height: 1.35;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  text-wrap: pretty;
}
.tx-press__title:hover { color: var(--green); border-bottom-color: var(--green); }
.tx-press__outlet {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}
@media (max-width: 700px) {
  .tx-press__item {
    grid-template-columns: 48px 1fr;
    gap: 4px 14px;
  }
  .tx-press__outlet {
    grid-column: 2;
  }
}

/* ─────────── contato ─────────── */
.contact {
  background: var(--black); color: var(--offwhite);
  padding: var(--section-y) var(--gutter);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Atmospheric photo behind contact — building exterior. Stays subtle so
   text remains the focus; reads as "we are here, in this place". */
.contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.22;
  filter: saturate(0.7) contrast(1.05) brightness(0.55);
  z-index: 0;
  pointer-events: none;
}
.contact__bg:not([src]),
.contact__bg[src=""] {
  display: none;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg,
      rgba(15, 15, 15, 0.92) 0%,
      rgba(15, 15, 15, 0.78) 40%,
      rgba(15, 15, 15, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.contact .container { position: relative; z-index: 2; }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
}
.contact__map-wrap {
  position: relative; z-index: 2;
  margin-top: clamp(48px, 5vw, 80px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid rgba(245, 242, 237, 0.14);
}
.contact__map-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 242, 237, 0.62);
  margin-bottom: 18px;
}
.contact__map {
  width: 100%;
  height: clamp(280px, 36vw, 440px);
  border: 1px solid rgba(245, 242, 237, 0.12);
  border-radius: 2px;
  display: block;
  filter: saturate(0.85) contrast(1.02);
  background: #1a1a1a;
}
.contact h2 { color: var(--offwhite); max-width: 14ch; }
.contact__lines { display: grid; gap: 28px; padding-top: 18px; }
.contact__line .k {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-on-dark); margin-bottom: 6px;
}
.contact__line .v { font-size: 17px; line-height: 1.5; max-width: 36ch; }
.contact__line .v a { border-bottom: 1px solid rgba(245,242,237,0.3); padding-bottom: 1px; transition: border-color 200ms; }
.contact__line .v a:hover { border-color: var(--offwhite); }
/* Address link — multi-line block, no underline, with external-arrow affordance */
.contact__line .v a.contact__addr-link {
  display: inline-block;
  border-bottom: none;
  padding-bottom: 0;
  color: var(--offwhite);
  transition: color 200ms;
}
.contact__line .v a.contact__addr-link::after {
  content: "↗";
  display: inline-block;
  margin-left: 10px;
  font-size: 0.78em;
  opacity: 0.5;
  transition: transform 200ms ease, opacity 200ms ease;
}
.contact__line .v a.contact__addr-link:hover {
  color: rgba(245,242,237,0.95);
}
.contact__line .v a.contact__addr-link:hover::after {
  opacity: 1;
  transform: translate(3px, -3px);
}

/* ─────────── footer ─────────── */
.foot {
  background: var(--black); color: var(--muted-on-dark);
  padding: 48px var(--gutter);
  border-top: 1px solid var(--rule-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.foot img { height: 16px; opacity: 0.6; }

/* ─────────── reveal animations ─────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* construction reveal for map outline */
.radar-map .state { opacity: 0; }
.radar-map.is-built .state { opacity: 1; }
.radar-map.is-built .state.is-dim { opacity: 0.35; }

/* ─────────── responsive ─────────── */
@media (max-width: 980px) {
  .nav__menu { display: none; }
  .section__head { grid-template-columns: 1fr; }
  .essay { grid-template-columns: 1fr; }
  .vertical { grid-template-columns: auto 1fr; }
  .vertical__tag { grid-column: 1 / -1; padding-top: 4px; }
  .radar-sticky { grid-template-columns: 1fr; height: auto; min-height: 0; padding: clamp(40px, 8vw, 80px) var(--gutter); }
  .radar-sticky { position: relative; top: auto; }
  .radar-spacer, .radar-beat { height: auto; min-height: 80vh; }
  .radar-explore { grid-template-columns: 1fr; }
  .radar-detail { border-left: none; padding-left: 0; padding-top: 24px; border-top: 1px solid rgba(245,242,237,0.18); }
  .fairmind__grid { grid-template-columns: 1fr; }
  .fairmind__visual {
    aspect-ratio: auto;
    flex-direction: column;
    gap: 32px;
    padding: 32px 0;
  }
  .fairmind__visual-inner { width: 100%; }
  .fairmind__metrics {
    position: static;
    width: 100%;
  }
  .contact__grid { grid-template-columns: 1fr; }
  .tx-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr); gap: 8px 16px; padding: 18px 0; }
  .tx-row .role, .tx-row .sector, .tx-row .note { grid-column: 1 / -1; }
  .tx-row.is-header { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero__meta { flex-wrap: wrap; gap: 14px 24px; }
  .hero__sidemark { display: none; }
}

/* ═══════════ HERO CINEMATIC STAGE — scroll-pinned 5-scene parallax ═══════════ */
/* Stage = tall scrolling container; Pin = sticky 100vh viewport that holds the map.
   Hero inside the pin is positioned absolutely so its map fills the pin while
   scenes overlay it. */
.hero-stage {
  position: relative;
  /* 4 scenes (3 transitions) instead of 5 (4 transitions). Stage was 420vh
     for 5 scenes — adjusted to 340vh keeps per-transition scroll length
     identical (~80vh per transition). */
  height: 340vh;
  padding: 0 !important;     /* override generic section padding (was 152px 56px → black gap on top) */
  background: var(--black);
}
.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  perspective: 1400px;       /* enables 3D tilt */
  perspective-origin: 50% 60%;
}
/* Top scrim behind nav so logo/menu reads cleanly over busy map */
.hero-pin::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(15,15,15,0.85) 0%, rgba(15,15,15,0.55) 50%, rgba(15,15,15,0) 100%);
  z-index: 4;
  pointer-events: none;
}
/* Bottom scrim for legibility of CTA + meta */
.hero-pin::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(15,15,15,0.7) 0%, rgba(15,15,15,0) 100%);
  z-index: 4;
  pointer-events: none;
}
.hero-stage .hero {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
}

/* Map gets transform-origin centered + smooth transition for tilt */
.hero-stage .hero-map {
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transition: transform 480ms cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
/* All overlay svgs share viewBox; switching is instant via setAttribute */
.hero-stage .hero-map__layer {
  transition: opacity 600ms ease;
}

/* Trails (animated capital flow per-scene) */
.hero-map__trails {
  pointer-events: none;
}
.hero-map__trails .trail {
  fill: none;
  stroke: rgba(244, 228, 200, 0.55);   /* warm sand */
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 8 6;
  filter: drop-shadow(0 0 6px rgba(244, 228, 200, 0.25));
  stroke-dashoffset: 600;
  opacity: 0;
  animation: trail-draw 1400ms cubic-bezier(.2,.7,.2,1) forwards,
             trail-flow 4s linear infinite 1400ms;
}
.hero-map__trails .trail.warm {
  stroke: rgba(214, 134, 70, 0.6);     /* terracotta */
  filter: drop-shadow(0 0 8px rgba(214, 134, 70, 0.28));
}

/* Tonal trails — color-coded by destination character. Used in scene 5
   so each spoke from Sorocaba reads as a different kind of connection. */
.hero-map__trails .trail.tone-capital {
  stroke: rgba(214, 134, 70, 0.92);    /* warm terracotta — Faria Lima / capital */
  filter: drop-shadow(0 0 10px rgba(214, 134, 70, 0.45));
}
.hero-map__trails .trail.tone-air {
  stroke: rgba(180, 210, 220, 0.92);   /* cool light blue — Viracopos / air */
  filter: drop-shadow(0 0 10px rgba(180, 210, 220, 0.45));
}
.hero-map__trails .trail.tone-ocean {
  stroke: rgba(140, 180, 160, 0.92);   /* sea green — Santos / port */
  filter: drop-shadow(0 0 10px rgba(140, 180, 160, 0.40));
}
/* Solid trails (no dashes) — used for the 90 km Sorocaba ↔ SP arc:
   reads as a measured distance, not a flow. Slightly thicker + glow.
   Override the dashed flow animation with a single draw-on. */
.hero-map__trails .trail.solid {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  stroke-width: 1.6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(244, 228, 200, 0.35));
  animation: trail-draw-solid 1100ms cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-map__trails .trail.warm.solid {
  filter: drop-shadow(0 0 10px rgba(214, 134, 70, 0.35));
}
@keyframes trail-draw-solid {
  0%   { stroke-dashoffset: 200; opacity: 0; }
  20%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes trail-draw {
  0%   { stroke-dashoffset: 600; opacity: 0; }
  20%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes trail-flow {
  to { stroke-dashoffset: -56; }
}

/* Scene labels (regional callouts, city names).
   The SVG is set to `auto` (not `none`) so child labels can opt-in to
   click handlers (region-clicks in scene 1). Empty/transparent areas
   of the SVG don't catch events because the default for SVG paint is
   `visiblePainted` — clicks on bare canvas pass through to layers below. */
.hero-map__labels { pointer-events: auto; }
.hero-map__labels .scene-label text {
  fill: rgba(245, 242, 237, 0.86);
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  stroke: rgba(10, 10, 10, 0.6);
  pointer-events: none;            /* default: text is purely decorative */
}
/* Annotation labels (e.g. "90 km") — quieter, mono, all-caps tracking,
   so they read as measurement metadata, not as place names. */
.hero-map__labels .scene-label.kind-annotation text {
  fill: rgba(244, 228, 200, 0.78);
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  stroke: rgba(10, 10, 10, 0.55);
}

/* Region labels in scene 1 are clickable — visible affordance on hover.
   Override the parent's text-level pointer-events:none so the text
   itself is hit-testable (was blocking clicks). */
.hero-map__labels .scene-label.kind-region.is-clickable {
  pointer-events: auto;
}
.hero-map__labels .scene-label.kind-region.is-clickable text {
  pointer-events: auto;
  transition: fill 220ms ease, stroke-width 220ms ease;
}
.hero-map__labels .scene-label.kind-region.is-clickable:hover text {
  fill: rgba(244, 228, 200, 1);
  stroke: rgba(10, 10, 10, 0.85);
}
.hero-map__labels .scene-label {
  opacity: 0;
  animation: label-in 560ms cubic-bezier(.2,.7,.2,1) forwards;
}

/* State outline (Scene 2 — SP) — drawn-in solid border for "sobrevoo" feel.
   Stroke draws in via stroke-dashoffset; once at 0, the line reads solid. */
.hero-map__labels .scene-label.kind-state-outline {
  pointer-events: none;
}
.hero-map__labels .scene-label.kind-state-outline .state-outline-path {
  fill: rgba(244, 228, 200, 0.06);
  stroke: #f5e6c4;
  stroke-width: 2.6;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: state-outline-draw 1500ms cubic-bezier(.2,.7,.2,1) forwards 200ms,
             state-outline-glow 2400ms ease-in-out 1700ms infinite;
  filter:
    drop-shadow(0 0 0 rgba(10, 10, 10, 0.9))
    drop-shadow(0 0 8px rgba(245, 230, 196, 0.55));
}
@keyframes state-outline-draw {
  from { stroke-dashoffset: 900; }
  to   { stroke-dashoffset: 0; }
}
@keyframes state-outline-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 0 rgba(10, 10, 10, 0.9))
      drop-shadow(0 0 6px rgba(245, 230, 196, 0.45));
  }
  50% {
    filter:
      drop-shadow(0 0 0 rgba(10, 10, 10, 0.9))
      drop-shadow(0 0 14px rgba(245, 230, 196, 0.75));
  }
}

/* Elevate the labels layer above the spotlight on Concentração so the SP
   outline isn't dimmed by the surrounding dark mask. */
.hero-map.is-eixo .hero-map__labels { z-index: 6; }
.hero-map.is-eixo .hero-map__spotlight { z-index: 5; }

/* Scene-pulse — applied to scene-flagged polos. Stronger, synchronized
   pulse on the city halos. Labels are scene-scoped (only Concentração
   shows them; Brasil and 5 Brasis keep the map clean of names). */
.hero-map__points .city.scene-pulse .halo {
  animation: scene-pulse 1600ms ease-in-out infinite;
  opacity: 1;
}
.hero-map__points .city.scene-pulse .dot {
  filter: drop-shadow(0 0 4px rgba(244, 228, 200, 0.55));
}
@keyframes scene-pulse {
  0%   { transform-origin: center; transform: scale(0.85); opacity: 0.95; }
  50%  { transform-origin: center; transform: scale(1.55); opacity: 0.4; }
  100% { transform-origin: center; transform: scale(0.85); opacity: 0.95; }
}

/* Brasil scene (idx 0) — no city labels at all. Capitals are scene-pulse-
   flagged; their halos pulse but names stay hidden so the map breathes. */
.hero-map.is-brasil .hero-map__points .city .label {
  opacity: 0 !important;
}

/* 5 Brasis scene (idx 1) — every dot pulses to convey the country's
   density; no city labels (the right rail carries the regional reading). */
.hero-map.is-cinco .hero-map__points .city .label {
  opacity: 0 !important;
}
.hero-map.is-cinco .hero-map__points .city .halo {
  animation: scene-pulse 2400ms ease-in-out infinite;
  opacity: 0.85;
}

/* Concentração (.is-eixo) — focus on SP polos. Show labels only for
   scene-pulse-flagged cities, dim everything else. */
.hero-map.is-eixo .hero-map__points .city.scene-pulse .label {
  opacity: 0.92;
  fill: #f4e4c8;
}
/* Cena Concentração — scrim mais largo e mais opaco para o texto ler
   limpo contra a malha de polos paulistas + título com glow sutil para
   ganhar peso editorial sobre o mapa.
   Active when stage is on scene 2 (data-scene="2" of .hero-scene). */
.hero-scene[data-scene="2"]::before {
  width: clamp(580px, 64vw, 920px);
  background: linear-gradient(to right,
    rgba(15, 15, 15, 0.94) 0%,
    rgba(15, 15, 15, 0.88) 40%,
    rgba(15, 15, 15, 0.62) 78%,
    rgba(15, 15, 15, 0)    100%);
}
.hero-scene[data-scene="2"] .h-display {
  text-shadow: 0 1px 16px rgba(15, 15, 15, 0.6);
}
.hero-scene[data-scene="2"] .hero__sub,
.hero-scene[data-scene="2"] .hero-scene__stat {
  text-shadow: 0 1px 12px rgba(15, 15, 15, 0.55);
}
.hero-scene[data-scene="2"] .stat__num {
  text-shadow: 0 2px 24px rgba(15, 15, 15, 0.7);
}
.hero-map.is-eixo .hero-map__points .city:not(.scene-pulse) {
  opacity: 0.20;
}
.hero-map.is-eixo .hero-map__points .city:not(.scene-pulse) .halo--pulse {
  animation: none;
  opacity: 0;
}
.hero-map.is-eixo .hero-map__points .city:not(.scene-pulse) .label {
  opacity: 0 !important;
}

/* Eixo SE scene — the scene-labels handle São Paulo / Rio / Belo Horizonte
   explicitly. Hide the city-point labels for those three so they don't render
   twice (the print showed "RIO DE JANEIRO" big + "Rio" small overlapping). */
.hero-map.is-eixo .hero-map__points .city[data-id="sao-paulo"] .label,
.hero-map.is-eixo .hero-map__points .city[data-id="rio"] .label,
.hero-map.is-eixo .hero-map__points .city[data-id="bh"] .label {
  opacity: 0;
  transition: opacity 380ms ease;
}

/* Final-scene state — Sorocaba is the SOLE subject. Suppress every city-
   point label (the deliberate scene-label handles "Sorocaba"), and dim
   every dot except Sorocaba so the eye lands there alone. SP, Campinas,
   ABC and friends remain as faint context, not as equals. */
.hero-map.is-final .hero-map__points .city .label {
  opacity: 0;
  transition: opacity 380ms ease;
}
.hero-map.is-final .hero-map__points .city:not([data-id="sorocaba"]) {
  opacity: 0.22;
  transition: opacity 600ms ease;
}
.hero-map.is-final .hero-map__points .city[data-id="sorocaba"] .halo {
  fill: rgba(244, 228, 200, 0.42);
  stroke: rgba(244, 228, 200, 1);
  stroke-width: 1.8;
  animation: sorocaba-burst 2.2s ease-out infinite;
}
.hero-map.is-final .hero-map__points .city[data-id="sorocaba"] .dot {
  fill: rgba(244, 228, 200, 1);
  filter: drop-shadow(0 0 14px rgba(244, 228, 200, 0.95))
          drop-shadow(0 0 28px rgba(244, 228, 200, 0.55));
}
/* Sorocaba ray-burst — bigger radius, brighter glow. Reads as a beacon
   pulsing outward toward all the trails radiating from the city. */
@keyframes sorocaba-burst {
  0%   { opacity: 1;    transform: scale(0.85); }
  60%  { opacity: 0.05; transform: scale(4.2);  }
  100% { opacity: 0;    transform: scale(4.2);  }
}
/* Brighter trails specifically in the Sorocaba scene — the spokes need
   to read clearly all the way to the country's edges, not fade halfway. */
.hero-map.is-final .hero-map__trails .trail {
  stroke: rgba(244, 228, 200, 0.85);
  stroke-width: 1.7;
  filter: drop-shadow(0 0 8px rgba(244, 228, 200, 0.45))
          drop-shadow(0 0 16px rgba(244, 228, 200, 0.18));
}
.hero-map.is-final .hero-map__trails .trail.warm {
  stroke: rgba(224, 158, 96, 0.92);
  filter: drop-shadow(0 0 10px rgba(224, 158, 96, 0.55))
          drop-shadow(0 0 20px rgba(224, 158, 96, 0.22));
}
@keyframes label-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Spotlight overlay (radial darkening to focus attention) */
.hero-map__spotlight {
  pointer-events: none;
  mix-blend-mode: multiply;
  transition: opacity 400ms ease;
}
.hero-map__spotlight .spotlight__mask {
  opacity: 0;
  transition: opacity 600ms ease;
}

/* Region states added by cinematic engine */
.hero-map__regions .region {
  transition: opacity 600ms ease, fill 600ms ease;
}
.hero-map__regions .region.is-spotlight {
  opacity: 1;
}
.hero-map__regions .region.is-spotlight.r-sudeste { fill: rgba(160, 168, 138, 0.55); }
.hero-map__regions .region.is-spotlight.r-norte { fill: rgba(76, 92, 80, 0.5); }
.hero-map__regions .region.is-spotlight.r-nordeste { fill: rgba(184, 124, 76, 0.5); }
.hero-map__regions .region.is-spotlight.r-centroeste { fill: rgba(196, 159, 87, 0.5); }
.hero-map__regions .region.is-spotlight.r-sul { fill: rgba(132, 152, 156, 0.5); }
.hero-map__regions .region.is-dim { opacity: 0.18; }

/* ─── SCENES (text overlays) ─── */
.hero-scenes {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.hero-scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Left padding clears scene-pips rail (rail max ~150px wide incl. label) — give 240px so titles never collide */
  padding: clamp(96px, 11vh, 140px) clamp(40px, 7vw, 96px) clamp(80px, 9vh, 120px) clamp(220px, 16vw, 280px);
  display: grid;
  grid-template-columns: minmax(0, 56ch) 1fr;
  grid-template-rows: auto;
  align-content: center;
  align-items: center;
  gap: 12px;             /* tighter — was 20px, the eyebrow felt orphaned on 14" screens */
  opacity: 0;
  transform: translateY(40px);
  /* No CSS transition on opacity/transform — these are driven per-frame by
     the scroll engine via inline styles. A 600ms CSS transition fought the
     rAF updates during fast scroll, leaving two scenes visible at once
     while the browser interpolated between rAF set values ("sobrepasso"). */
  transition: none;
  pointer-events: none;
  overflow: hidden;
  will-change: opacity, transform;
}
/* Override the global heading + paragraph margins so children stack as a
   single coherent group instead of accumulating their default spacing on
   top of the grid `gap`. */
.hero-scene .h-display { margin: 0; }
.hero-scene .hero__sub { margin: 0 0 8px; }
.hero-scene > * {
  grid-column: 1;
  /* Text content (h1, p, eyebrow) is decorative — let hovers/clicks pass
     through to the map below so city dots stay interactive even under the
     scrim. Specific interactive children opt-in via the rule below. */
  pointer-events: none;
}
/* Interactive scene elements that DO catch events */
.hero-scene a,
.hero-scene button,
.hero-scene .hero-scene__chips,
.hero-scene .hero-scene__chips li,
.hero-scene .hero__cta {
  pointer-events: auto;
}
/* Scrim behind text column so copy reads cleanly over the busy map.
   Wider + darker than before — printed feedback flagged that city labels
   in the background were bleeding into the headline at certain zooms. */
.hero-scene::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: clamp(540px, 60vw, 880px);
  background: linear-gradient(to right,
    rgba(15,15,15,0.92) 0%,
    rgba(15,15,15,0.82) 35%,
    rgba(15,15,15,0.55) 70%,
    rgba(15,15,15,0)    100%);
  z-index: 0;
  pointer-events: none;
}
.hero-scene > * { position: relative; z-index: 1; }
.hero-scene.is-active { opacity: 1; transform: translateY(0); }
.hero-scene .h-display {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--offwhite);
  margin: 14px 0 18px;
  text-wrap: balance;
}
.hero-scene .h-display em {
  font-style: italic;
  color: rgba(244, 228, 200, 0.95);
  font-weight: 400;
}
.hero-scene .hero__sub {
  color: rgba(245, 242, 237, 0.72);
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 0 26px;
  text-wrap: pretty;
}
.hero-scene .eyebrow {
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(245, 242, 237, 0.62);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-scene .eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(244, 228, 200, 0.7);
}

/* Scene 1 chips — clickable region filters. Each chip tints to the region's
   color on hover and travels the camera there on click. */
.hero-scene__chips {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  padding: 0; margin: 6px 0 0;
  max-width: 56ch;
}
.hero-scene__chips li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(245, 242, 237, 0.86);
  padding: 8px 14px;
  border: 1px solid rgba(244, 228, 200, 0.25);
  border-radius: 100px;
  background: rgba(15, 15, 15, 0.4);
  backdrop-filter: blur(6px);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}
.hero-scene__chips li.is-clickable {
  cursor: pointer;
}
.hero-scene__chips li.is-clickable:hover {
  color: rgba(15, 15, 15, 0.95);
  transform: translateY(-1px);
}
/* Region tint on hover — colors mirror the region fills used on the map. */
.hero-scene__chips li.r-norte:hover      { background: rgba(106, 138, 114, 0.92); border-color: rgba(106, 138, 114, 1); }
.hero-scene__chips li.r-nordeste:hover   { background: rgba(214, 138,  79, 0.92); border-color: rgba(214, 138,  79, 1); }
.hero-scene__chips li.r-centroeste:hover { background: rgba(212, 168,  90, 0.92); border-color: rgba(212, 168,  90, 1); }
.hero-scene__chips li.r-sudeste:hover    { background: rgba(200, 208, 166, 0.92); border-color: rgba(200, 208, 166, 1); }
.hero-scene__chips li.r-sul:hover        { background: rgba(143, 179, 184, 0.92); border-color: rgba(143, 179, 184, 1); }

/* Scene 2 split (capital ↔ ativos) */
.hero-scene__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 8px;
  max-width: 56ch;
}
.hero-scene__col-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 228, 200, 0.7);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(244, 228, 200, 0.18);
}
.hero-scene__split ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.hero-scene__split li {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  color: rgba(245, 242, 237, 0.86);
  line-height: 1.3;
}

/* Scene 3 stat */
.hero-scene__stat {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 6px;
}
.hero-scene__stat .stat__num {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(56px, 8vw, 110px);
  line-height: 0.95;
  color: rgba(244, 228, 200, 0.95);
  font-style: italic;
}
.hero-scene__stat .stat__lbl {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(245, 242, 237, 0.74);
}
.placeholder-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(214, 134, 70, 0.85);
  border: 1px dashed rgba(214, 134, 70, 0.5);
  padding: 4px 10px;
  border-radius: 3px;
  margin-top: 10px;
  width: fit-content;
}

/* ─── Scene pips (left rail) ─── */
.hero-scene-pips {
  position: absolute;
  left: clamp(20px, 3vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 22px;
  list-style: none; padding: 0; margin: 0;
  z-index: 6;
  pointer-events: auto;
}
.hero-scene-pips li {
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 237, 0.36);
  transition: color 280ms ease;
}
.hero-scene-pips li span {
  width: 22px; height: 1px;
  background: rgba(245, 242, 237, 0.32);
  transition: width 320ms ease, background 320ms ease;
}
.hero-scene-pips li em {
  font-style: normal;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 320ms ease, transform 320ms ease;
}
.hero-scene-pips li:hover { color: rgba(245, 242, 237, 0.8); }
.hero-scene-pips li:hover span { background: rgba(244, 228, 200, 0.6); }
.hero-scene-pips li:hover em { opacity: 0.9; transform: translateX(0); }
.hero-scene-pips li.is-passed span {
  background: rgba(244, 228, 200, 0.42);
}
.hero-scene-pips li.is-active {
  color: rgba(244, 228, 200, 0.95);
}
.hero-scene-pips li.is-active span {
  width: 38px;
  background: rgba(244, 228, 200, 0.95);
}
.hero-scene-pips li.is-active em {
  opacity: 1; transform: translateX(0);
}

/* Hero CTA — re-applied so it works inside .hero-scene */
.hero-scene .hero__cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(245, 242, 237, 0.95);
  border: 1px solid rgba(244, 228, 200, 0.35);
  padding: 14px 22px;
  border-radius: 2px;
  background: rgba(244, 228, 200, 0.04);
  text-decoration: none;
  transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
  width: fit-content;
}
.hero-scene .hero__cta:hover {
  background: rgba(244, 228, 200, 0.12);
  border-color: rgba(244, 228, 200, 0.6);
  transform: translateX(2px);
}
.hero-scene .hero__cta .arrow { transition: transform 240ms ease; }
.hero-scene .hero__cta:hover .arrow { transform: translateX(4px); }

/* Hero meta in scene 0 */
.hero-scene[data-scene="0"] .hero__meta {
  display: flex; flex-wrap: wrap; gap: 14px 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(245, 242, 237, 0.55);
  margin: 6px 0 10px;
}
.hero-scene[data-scene="0"] .hero__meta .num {
  color: rgba(244, 228, 200, 0.85);
  font-weight: 500;
  margin-right: 10px;
}

/* Mobile: collapse scenes to single column, hide pips */
@media (max-width: 760px) {
  .hero-stage { height: 380vh; }
  .hero-scene {
    grid-template-columns: 1fr;
    padding: 96px 24px 72px;
  }
  .hero-scene .h-display { font-size: clamp(32px, 8vw, 48px); }
  .hero-scene__split { grid-template-columns: 1fr; gap: 22px; }
  .hero-scene-pips { display: none; }
}

/* ─────────── HERO ROTATOR — split-flap "airport board" entre hero e about ─────────── */
:root {
  --flap-bg: #0B0B0B;
  --flap-bg-2: #161512;
  --flap-amber: #E8B547;
  --flap-amber-soft: rgba(232, 181, 71, 0.92);
  --flap-rule: rgba(232, 181, 71, 0.18);
}
.hero-rotator {
  position: relative;
  background: linear-gradient(180deg, var(--flap-bg) 0%, var(--flap-bg-2) 100%);
  color: var(--offwhite);
  /* Board (k+v) ocupa o centro visual da faixa via flex-center; pips ficam
     ancorados ao bottom-right via absolute, sem deslocar o texto para cima. */
  display: flex;
  align-items: center;
  min-height: clamp(120px, 12vw, 160px);
  padding: clamp(20px, 2.2vw, 32px) var(--gutter);
  border-top: 1px solid rgba(245, 242, 237, 0.05);
  border-bottom: 1px solid rgba(245, 242, 237, 0.05);
  overflow: hidden;
  isolation: isolate;
}
.hero-rotator::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 22px,
    rgba(245, 242, 237, 0.025) 22px,
    rgba(245, 242, 237, 0.025) 23px
  );
  pointer-events: none;
  z-index: 0;
}
.hero-rotator::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 12% 50%, rgba(232, 181, 71, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.rotator__board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 26%) 1fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.rotator__k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--flap-amber);
  padding-left: 16px;
  border-left: 2px solid var(--flap-amber);
  min-height: 1.5em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rotator__v {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.22;
  letter-spacing: -0.012em;
  color: var(--offwhite);
  max-width: 42ch;
  min-height: 1.4em;
  text-wrap: balance;
}
.flip-ch {
  display: inline-block;
  font-feature-settings: "tnum" on;
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
  transform-origin: 50% 50%;
}
.rotator__v.is-flipping .flip-ch:not(.is-locked) {
  color: rgba(245, 242, 237, 0.55);
  transform: translateY(-1px);
}
.rotator__k.is-flipping .flip-ch:not(.is-locked) {
  color: rgba(232, 181, 71, 0.55);
}
.flip-ch.is-locked {
  color: inherit;
  transform: translateY(0);
  animation: flap-settle 280ms ease-out;
}
.rotator__v .flip-ch.is-locked {
  text-shadow: 0 0 18px rgba(232, 181, 71, 0.10);
}
@keyframes flap-settle {
  0%   { transform: translateY(-3px); opacity: 0.65; }
  60%  { transform: translateY(1px); opacity: 1; }
  100% { transform: translateY(0); }
}
.rotator__pips {
  position: absolute;
  z-index: 2;
  bottom: clamp(10px, 1.2vw, 14px);
  right: var(--gutter);
  display: flex;
  gap: 8px;
  margin: 0;
}
.rotator__pip {
  width: 22px; height: 2px;
  background: rgba(232, 181, 71, 0.20);
  transition: background 300ms ease, width 300ms ease;
}
.rotator__pip.is-on {
  background: var(--flap-amber);
  width: 36px;
}
@media (max-width: 720px) {
  .rotator__board { grid-template-columns: 1fr; gap: 14px; }
  .rotator__k { padding-left: 12px; font-size: 11px; }
  .rotator__pips { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .flip-ch, .flip-ch.is-locked { animation: none !important; transition: none !important; transform: none !important; }
}

/* ─────────── TESE — bloco editorial entre About e How ─────────── */
#tese {
  padding: var(--section-y) var(--gutter);
  background: var(--offwhite);
  border-top: 1px solid var(--rule-light);
}
#tese .section__head { margin-bottom: clamp(40px, 5vw, 72px); }
.tese__body {
  max-width: 60ch;
  margin: 0 auto;
}
.tese__body p {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--black);
  margin-bottom: 1.1em;
  text-wrap: balance;
}
.tese__body p:first-child {
  font-size: clamp(28px, 2.6vw, 40px);
  font-style: italic;
  font-weight: 360;
  color: var(--green);
  margin-bottom: 1.4em;
}
.tese__body p:last-child { margin-bottom: 0; }
.tese__promise {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule-light);
  text-align: center;
}
.tese__promise span {
  font-family: var(--mono);
  font-size: clamp(13px, 1.2vw, 15px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
}

/* ─────────── TIME — sócios + conselheiros ─────────── */
#team { padding: var(--section-y) var(--gutter); }
.team__group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule-dark);
  margin-bottom: 0;
}
.team__group + .team__group { border-top: none; }
@media (min-width: 980px) {
  #team-partners { grid-template-columns: repeat(3, 1fr); }
  #team-board { grid-template-columns: repeat(4, 1fr); }
}
.team__member {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  padding: clamp(28px, 3vw, 44px) clamp(20px, 2vw, 32px);
  border-right: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  align-items: start;
}
.team__member:last-child { border-right: none; }
.team__avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(143,179,160,0.10);
  border: 1px solid rgba(143,179,160,0.40);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0.10em;
  color: #8FB3A0;
  font-weight: 500;
  overflow: hidden;
  flex-shrink: 0;
}
.team__avatar--photo { background: rgba(245,242,237,0.04); }
.team__avatar--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.18) contrast(1.02);
  transition: filter 320ms ease;
}
.team__member:hover .team__avatar--photo img {
  filter: grayscale(0) contrast(1);
}
.team__info { min-width: 0; }
.team__name {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.014em;
  color: var(--offwhite);
  line-height: 1.1;
  margin-bottom: 4px;
}
.team__role {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8FB3A0;
  margin-bottom: 14px;
}
.team__bio {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(245,242,237,0.72);
  text-wrap: pretty;
  margin: 0;
}
.team__bio--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}
.team__bio--clamp::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28px;
  background: linear-gradient(to bottom, rgba(15,15,15,0) 0%, var(--black) 92%);
  pointer-events: none;
}
.team__bio--expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.team__bio--expanded::after { display: none; }
.team__toggle {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin-top: 10px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8FB3A0;
  transition: color 200ms;
}
.team__toggle:hover { color: var(--offwhite); }
.team__links {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.team__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(245,242,237,0.18);
  border-radius: 50%;
  color: rgba(245,242,237,0.6);
  transition: color 200ms, border-color 200ms, background 200ms;
}
.team__link svg { width: 13px; height: 13px; display: block; }
.team__link:hover {
  color: var(--offwhite);
  border-color: rgba(245,242,237,0.45);
  background: rgba(245,242,237,0.04);
}
.team__strip {
  margin-top: clamp(48px, 5vw, 80px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule-dark);
}
.team__strip-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,242,237,0.5);
  margin-bottom: 22px;
}
.team__strip-list {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  align-items: center;
}
.team__strip-list span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 360;
  font-size: clamp(20px, 2vw, 28px);
  color: rgba(245,242,237,0.62);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 220ms;
}
.team__strip-list span:hover { color: var(--offwhite); }

@media (max-width: 980px) {
  .team__member { border-right: none; }
}

/* ─────────── PULSING SOROCABA PIN — scene 3 ─────────── */
.hero-map__points circle.pin-pulse {
  stroke-opacity: 0;
  stroke-width: 1;
  pointer-events: none;
}
.hero-map.is-final .hero-map__points circle.pin-pulse {
  animation: sorocaba-pulse 2.4s ease-out infinite;
}
@keyframes sorocaba-pulse {
  0%   { stroke-opacity: 0.6; stroke-width: 2; r: 4; }
  70%  { stroke-opacity: 0; stroke-width: 0.8; r: 16; }
  100% { stroke-opacity: 0; stroke-width: 0.8; r: 16; }
}

