/* ==========================================================================
   Growthway Capital — design system v6 "Landing única fintech"
   Estrutura em 5 frames-pergunta (header / o quê / como / por quê / documentos),
   benchmarks Nubank + Inter + C6: capítulos full-screen com blocos de cor
   chapada, grotesca bold em escala moderada (NÃO a serifa gigante da fase
   Robinhood), UM acento (o laranja Growthway) em CTAs, eyebrows e no bloco
   sólido da tese; legais minúsculos dentro das cenas (compliance CVM).
   Identidade Growthway: wordmark growthway_ (underscore), dock central de
   liquid glass, trilha-que-se-desenha, compliance CVM integral.
   ========================================================================== */

:root {
  --cream: #faf9f6;   /* clareado a pedido (2026-07-20): mais branco, menos creme */
  --cream-deep: #f0eee8;
  --black: #0b0b0c;
  --black-soft: #131315;
  --ink: #17171a;              /* texto sobre creme/branco */
  --muted: #6f6a60;            /* texto secundário sobre claro */
  --on-dark: #f4f1ea;
  --on-dark-muted: #a09c92;
  --line: rgba(20, 18, 12, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);

  --accent: #e8622a;           /* laranja Growthway = o "ácido" da Robinhood */
  --accent-hover: #ff7038;
  --accent-ink: #1a0d06;       /* texto sobre o laranja */
  --accent-on-light: #b3441a;  /* laranja legível p/ texto sobre claro */
  --accent-deep: #a63d13;      /* laranja queimado p/ fundos chapados (frame tese) */

  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --measure: 60ch;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-float: 0 12px 40px -14px rgba(11, 11, 12, 0.35), 0 2px 8px rgba(11, 11, 12, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- tipografia ---------- */

/* régua fintech (feedback 2026-07-16, reconfirmada 2026-07-20): grotesca bold
   em escala moderada, padrão Nubank */
h1, h2, h3, .display {
  font-family: "Inter Tight", var(--font-sans);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.028em;
  color: inherit;
}

h1 { font-size: clamp(2.7rem, 5.5vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.16; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 700; line-height: 1.25; }

p { max-width: var(--measure); }

.lede {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: -0.008em;
  color: var(--muted);
}

.scene-dark .lede, .scene-photo .lede, .scene-olive .lede { color: var(--on-dark-muted); }

.mono { font-family: var(--font-mono); font-size: 0.78rem; }

/* eyebrow ácido (padrão RH: pequeno, marcado, acima do título) */
.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--accent-on-light);
  margin-bottom: 1.2rem;
}

.scene-dark .eyebrow, .scene-photo .eyebrow, .scene-olive .eyebrow { color: var(--accent); }

.brand-cursor { color: var(--accent); font-weight: inherit; }
/* contraste: sobre fundos claros o underscore usa a variante on-light do laranja
   (#e8622a sobre creme = 2.9:1; #b3441a = 4.8:1). Dock/footer têm fundos próprios. */
.scene-cream .brand-cursor, .scene-white .brand-cursor, .scene-photo-light .brand-cursor { color: var(--accent-on-light); }

a { color: var(--accent-on-light); text-decoration: none; }
a:hover { color: var(--ink); }
.scene-dark a:not(.btn), .scene-photo a:not(.btn), .scene-olive a:not(.btn) { color: var(--accent); }
.scene-dark a:not(.btn):hover, .scene-photo a:not(.btn):hover, .scene-olive a:not(.btn):hover { color: var(--on-dark); }

.text-dim, .text-muted { color: var(--muted); }

.link-more {
  font-weight: 500;
  white-space: nowrap;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1.5px;
  transition: background-size 320ms cubic-bezier(0.3, 1, 0.4, 1);
  padding-bottom: 2px;
}
.link-more::after { content: " ›"; display: inline-block; transition: transform 260ms cubic-bezier(0.3, 1.4, 0.4, 1); }
.link-more:hover { background-size: 100% 1.5px; }
.link-more:hover::after { transform: translateX(4px); }

/* ---------- layout & cenas (capítulos full-screen, padrão RH) ---------- */

.container { max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 46rem; margin-inline: auto; padding-inline: var(--gutter); }

.scene {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(38rem, 96vh, 56rem);
  padding-block: clamp(4rem, 8vh, 6rem);
  overflow: hidden;
}

.scene-auto { min-height: 0; padding-block: clamp(4.5rem, 9vw, 7.5rem); } /* cena de altura natural */

.scene-cream { background: var(--cream); color: var(--ink); }
.scene-white { background: #ffffff; color: var(--ink); }
.scene-dark { background: var(--black); color: var(--on-dark); }

/* frame de afirmação: mesmo fundo quase-branco do hero (--cream), sem emenda
   visível entre as cenas (pedido 2026-07-20); frase no laranja da marca */
.scene-accent { background: var(--cream); color: var(--accent); }
.scene-accent .eyebrow { color: var(--accent-on-light); opacity: 1; }
.scene-accent .scene-legal { color: var(--muted); }
.scene-accent ::selection { background: var(--accent); color: #ffffff; }

/* frase-tese: grotesca bold em escala moderada (régua fintech) */
.statement-wrap { text-align: center; }
.statement {
  font-family: "Inter Tight", var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  max-width: 28ch;
  margin-inline: auto;
}

/* cena fotográfica cinematográfica (foto full-bleed + gradiente p/ legibilidade) */
.scene-photo { background: var(--black); color: var(--on-dark); }

.scene-photo .scene-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.06) brightness(0.72);
}

.scene-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(11, 11, 12, 0.88) 0%, rgba(11, 11, 12, 0.55) 48%, rgba(11, 11, 12, 0.18) 100%);
}

.scene-photo > .container { position: relative; z-index: 2; }

/* título centrado de capítulo (padrão RH: serif gigante no centro) */
.scene-title {
  text-align: center;
  max-width: 20ch;
  margin-inline: auto;
}

.scene-head-center { text-align: center; max-width: 46rem; margin-inline: auto; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.scene-head-center p { margin-inline: auto; margin-top: 1rem; }

/* legal minúsculo DENTRO da cena (padrão RH) */
.scene-legal {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 1.1rem;
  z-index: 2;
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: none;
}

.scene-dark .scene-legal, .scene-photo .scene-legal, .scene-olive .scene-legal { color: var(--on-dark-muted); }

.scene-auto .scene-legal { position: static; margin-top: 2.5rem; }

/* ---------- hero (cap. 1): serif gigante + objeto vazando pela borda ---------- */

.hero-chapter { align-items: stretch; }

.hero-chapter .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.hero-chapter h1 { max-width: 14ch; }
.hero-chapter .lede { margin: 1.6rem 0 2.2rem; max-width: 44ch; }

/* objeto que vaza pela borda direita (foto duotone como o render da RH) */
.hero-object {
  position: relative;
  height: clamp(20rem, 62vh, 36rem);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
  margin-right: calc(-1 * var(--gutter) - 2rem);
  box-shadow: var(--shadow-float);
}

.hero-object img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.08);
  will-change: transform;
}

.hero-object::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(232, 98, 42, 0.14), transparent 55%),
              linear-gradient(0deg, rgba(23, 23, 26, 0.18), transparent 40%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-chapter .hero-grid { grid-template-columns: 1fr; }
  .hero-object { margin-right: calc(-1 * var(--gutter)); height: clamp(15rem, 42vh, 22rem); }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- botões (pill; primário = ácido com texto escuro, padrão RH) ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.008em;
  padding: 0.78rem 1.65rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 8px 22px -10px rgba(232, 98, 42, 0.55); }

/* contraste 1.4.11: contorno do ghost ≥3:1 (a --line de 0.12 fica p/ divisores decorativos) */
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(20, 18, 12, 0.55); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); background: transparent; color: var(--ink); }
.scene-dark .btn-ghost, .scene-photo .btn-ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4); }
.scene-dark .btn-ghost:hover, .scene-photo .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--on-dark); color: var(--on-dark); }

/* ---------- cards escuros de borda fina (padrão RH cap. preto) ---------- */

.card-dark {
  background: var(--black-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  transition: border-color 300ms ease, transform 300ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* sem levantar no hover (pedido 2026-07-20) — só o realce de borda */
.card-dark:hover { border-color: rgba(255, 255, 255, 0.34); }
.card-dark h3 { color: var(--on-dark); }
.card-dark p { color: var(--on-dark-muted); font-size: 0.98rem; }
.card-dark .card-media { border-radius: var(--radius); overflow: hidden; width: 100%; }
.card-dark .card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(0.5) brightness(0.85); transition: transform 600ms cubic-bezier(0.2, 0.9, 0.3, 1); }
.card-dark:hover .card-media img { transform: scale(1.045); }
.card-dark .btn { margin-top: auto; }

/* cards claros */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  transition: transform 300ms cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 300ms ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.98rem; }

.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: 1.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 1.5rem; }

/* ---------- ícones line-art (padrão RH "Protection Guarantee") ---------- */

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.icon-item { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }

.icon-item svg {
  width: clamp(4.5rem, 7vw, 6.5rem);
  height: auto;
  stroke: currentColor;
  stroke-width: 1.1;
  fill: none;
  opacity: 0.9;
}

.icon-item p { font-size: 0.95rem; max-width: 24ch; color: inherit; }
.scene-dark .icon-item p { color: var(--on-dark-muted); }

/* ---------- números (serif gigante, padrão RH) ---------- */

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }

.stat { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.scene-dark .stat, .scene-photo .stat { border-left-color: var(--line-dark); }

.stat .stat-value {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 7.5vw, 6.5rem);
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.12rem;
}

.stat .stat-value .stat-suffix { font-size: 0.4em; color: var(--accent); font-weight: 550; }
.stat .stat-label { margin-top: 0.8rem; font-size: 0.92rem; line-height: 1.5; color: var(--muted); max-width: 24ch; }
.scene-dark .stat-label, .scene-photo .stat-label { color: var(--on-dark-muted); }

.stats-note {
  margin-top: 2.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--muted);
  max-width: none;
}
.scene-dark .stats-note { border-top-color: var(--line-dark); color: var(--on-dark-muted); }

/* ---------- banner de credenciamento (compliance) ---------- */

.topbar {
  background: var(--black);
  color: var(--on-dark-muted);
  padding: 0.55rem var(--gutter);
  text-align: center;
}

.topbar p { max-width: none; font-size: 0.76rem; color: var(--on-dark-muted); }
.topbar strong { color: var(--on-dark); font-weight: 600; }
.topbar a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* ---------- header: dock central liquid glass (identidade Growthway) ---------- */

/* topo grudado (2026-09-03): a faixa CVM e o header viajam juntos no scroll —
   um único contêiner sticky; o header (altura 0) fica encostado embaixo da
   faixa, então o dock flutua sempre a 0.9rem dela, qualquer que seja a altura
   do aviso (1 linha no desktop, 2–3 no mobile). z 60 = mesmo plano do dock. */
.site-top {
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-header {
  position: sticky;
  top: 0.9rem;
  z-index: 60;
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.dock {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.42rem;
  border-radius: 999px;
  position: relative;
  max-width: 100%;
  transition: padding 320ms cubic-bezier(0.3, 1, 0.4, 1), box-shadow 320ms ease, background-color 320ms ease;
}

.site-header.is-scrolled .dock {
  padding: 0.22rem 0.34rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 40px -14px rgba(11, 11, 12, 0.4),
    0 2px 8px rgba(11, 11, 12, 0.1);
}

.brand { display: inline-flex; align-items: baseline; gap: 0.5rem; color: var(--ink); }

.dock .brand {
  padding: 0.45rem 1rem 0.45rem 1.05rem;
  margin-right: 0.35rem;
  border-right: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 999px 0 0 999px;
  position: relative;
  z-index: 10;
}

.brand .brand-name {
  font-family: var(--font-mono);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.brand .brand-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-on-light);
}

.dock-links { display: flex; align-items: center; gap: 0.2rem; position: relative; }

.dock-links a {
  position: relative;
  z-index: 10;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.008em;
  color: var(--ink);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.dock-links a:hover { color: var(--ink); }
/* contraste: ativo marcado por ink + sublinhado ácido (legível sobre o vidro em
   qualquer cena; o accent-on-light puro caía a 3.7:1 sobre capítulos escuros) */
.dock-links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

.dock-links .nav-cta { color: var(--accent-ink); background: var(--accent); margin-left: 0.3rem; font-weight: 600; }
.dock-links .nav-cta:hover { background: var(--accent-hover); color: var(--accent-ink); }
/* CTA ativo (contato.html): mantém texto escuro sobre o pill laranja — a regra
   [aria-current="page"] acima venceria por especificidade e deixaria laranja-sobre-laranja */
.dock-links .nav-cta[aria-current="page"] { color: var(--accent-ink); box-shadow: none; }

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

@media (max-width: 940px) {
  .site-header { justify-content: stretch; }
  .dock { width: 100%; justify-content: space-between; }
  .nav-toggle { display: inline-block; position: relative; z-index: 10; }
  .dock-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-lg);
    padding: 0.6rem;
    /* superfície própria: o dropdown fica fora do pill e caía transparente
       sobre capítulos escuros (ink sobre preto = 1.1:1) */
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-float);
  }
  .dock-links.is-open { display: flex; }
  .dock-links a { padding: 0.85rem 1.1rem; border-radius: 14px; }
  .dock-links .nav-cta { margin: 0.35rem 0 0; text-align: center; }
  .liquid-indicator { display: none; }
  .dock .brand { border-right: none; }
}

/* ---------- LIQUID GLASS (identidade Growthway — mantido da v4) ---------- */

.liquid-dock {
  isolation: isolate;
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: url(#liquidGlass) blur(18px) saturate(180%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 12px 32px -12px rgba(11, 11, 12, 0.32),
    0 2px 6px rgba(11, 11, 12, 0.08);
}

.liquid-dock::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.55) 38%, rgba(255, 255, 255, 0.08) 52%, transparent 70%);
  background-size: 240% 100%;
  mix-blend-mode: overlay;
  animation: foilShine 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes foilShine {
  0%, 62% { background-position: 120% 0; }
  82%, 100% { background-position: -60% 0; }
}

.liquid-lens {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(8px) saturate(200%);
  backdrop-filter: url(#liquidGlassLens) blur(8px) saturate(200%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 14px -4px rgba(11, 11, 12, 0.28);
  border-radius: 999px;
}

.liquid-lens-quiet::before,
.liquid-lens::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.28rem;
  transform: translateX(-50%);
  width: 1.05rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.9;
}

.liquid-indicator {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  transition:
    left 420ms cubic-bezier(0.3, 1.25, 0.4, 1),
    top 420ms cubic-bezier(0.3, 1.25, 0.4, 1),
    width 420ms cubic-bezier(0.3, 1.25, 0.4, 1),
    height 420ms cubic-bezier(0.3, 1.25, 0.4, 1),
    opacity 200ms ease;
}

.liquid-indicator.is-moving { animation: liquidDrop 480ms cubic-bezier(0.3, 1.3, 0.4, 1); }

@keyframes liquidDrop {
  0%   { scale: 1 1; }
  35%  { scale: calc(1 + var(--sx, 0.12)) calc(1 - var(--sy, 0.1)); }
  70%  { scale: calc(1 - var(--sx, 0.12) * 0.5) calc(1 + var(--sy, 0.1) * 0.5); }
  100% { scale: 1 1; }
}

.liquid-soft.liquid-dock { background: rgba(255, 255, 255, 0.8); }
.liquid-soft .liquid-lens { background: rgba(255, 255, 255, 0.85); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .liquid-dock { background: rgba(255, 255, 255, 0.95); }
  .liquid-lens { background: rgba(250, 249, 246, 0.98); }
}

@media (prefers-reduced-transparency: reduce) {
  .liquid-dock { background: rgba(255, 255, 255, 0.97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .liquid-lens { background: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- trilha (assinatura Growthway — funciona em claro e escuro) ---------- */

.trilha { list-style: none; max-width: 46rem; position: relative; }

.trilha::before {
  content: "";
  position: absolute;
  left: 0.78rem;
  top: 0.6rem;
  bottom: 2.4rem;
  width: 2px;
  background: var(--line);
}

.scene-dark .trilha::before, .scene-photo .trilha::before { background: var(--line-dark); }

.trilha .trilha-line {
  position: absolute;
  left: 0.78rem;
  top: 0.6rem;
  bottom: 2.4rem;
  width: 2px;
  background: var(--accent);
  transform-origin: top;
  transform: scaleY(var(--trilha-progress, 0));
}

.trilha li { position: relative; padding: 0 0 2.3rem 3.6rem; }

.trilha li::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.42rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--cream);
  transition: border-color 300ms ease, background-color 300ms ease, transform 300ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.scene-dark .trilha li::after, .scene-photo .trilha li::after { background: var(--black); border-color: var(--line-dark); }

.trilha li.is-passed::after { border-color: var(--accent); background: var(--accent); transform: scale(1.15); }

.trilha .step-num { display: block; font-family: var(--font-mono); font-size: 0.76rem; color: var(--accent-on-light); margin-bottom: 0.3rem; }
.scene-dark .trilha .step-num, .scene-photo .trilha .step-num { color: var(--accent); }

.trilha h3 { margin-bottom: 0.35rem; }
.trilha p { color: var(--muted); font-size: 1rem; }
.scene-dark .trilha p, .scene-photo .trilha p { color: var(--on-dark-muted); }

html:not(.has-js) .trilha .trilha-line { display: none; }
html:not(.has-js) .trilha li::after { border-color: var(--accent); background: var(--accent); }

/* ---------- documentos (lista sóbria) ---------- */

.doc-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0.5rem clamp(1.25rem, 2.5vw, 2rem); }

.doc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0.25rem;
  border-bottom: 1px solid var(--line);
}

.doc-row:last-child { border-bottom: none; }
.doc-row h3 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 600; }
.doc-row p { font-size: 0.88rem; color: var(--muted); margin-top: 0.2rem; }

.doc-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  white-space: nowrap;
}

@media (max-width: 640px) { .doc-row { grid-template-columns: 1fr; gap: 0.6rem; } }

/* ---------- painel de destaque ---------- */

.paper-sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 3.5vw, 2.75rem); }
.paper-sheet p { color: var(--ink); }
.paper-sheet .text-dim, .paper-sheet .mono { color: var(--muted); }
.paper-sheet a { text-decoration: underline; text-underline-offset: 3px; }

.scene-dark .paper-sheet { background: var(--black-soft); border-color: var(--line-dark); }
.scene-dark .paper-sheet p { color: var(--on-dark); }

.paper-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); gap: 1.5rem; }

/* ---------- time ---------- */

.team-card { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.scene-dark .team-card { border-top-color: var(--line-dark); }
.team-card h3 { font-size: 1.15rem; }
.team-card .role { display: block; font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent-on-light); margin: 0.35rem 0 0.6rem; }
.scene-dark .team-card .role { color: var(--accent); }
.team-card p { font-size: 0.95rem; color: var(--muted); }
.scene-dark .team-card p { color: var(--on-dark-muted); }

/* ---------- figuras ---------- */

.figure-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .figure-split { grid-template-columns: 1fr; } }

.img-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-float); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; filter: saturate(0.6) contrast(1.05); }
.img-frame.img-tall img { aspect-ratio: 3 / 4; }
.img-frame.img-wide img { aspect-ratio: 16 / 9; }

/* ---------- prosa ---------- */

.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.15rem; }
.prose h2 { margin: 3rem 0 1.1rem; }
.prose h3 { margin: 2.2rem 0 0.7rem; }
.prose ul { padding-left: 1.2rem; }
.prose ul li { margin: 0.5rem 0; }

/* ---------- footer (preto, padrão RH) ---------- */

.site-footer {
  background: var(--black);
  color: var(--on-dark-muted);
  padding: clamp(3.5rem, 7vw, 5rem) 0 2.5rem;
  font-size: 0.88rem;
}

.site-footer .brand .brand-name { color: var(--on-dark); }
.site-footer .brand .brand-tag { color: var(--accent); }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.6rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

.site-footer .footer-col h4 { font-size: 0.78rem; font-weight: 600; color: var(--on-dark); margin-bottom: 0.9rem; }
.site-footer .footer-col ul { list-style: none; }
.site-footer .footer-col li { margin: 0.5rem 0; }
.site-footer .footer-col a { color: var(--on-dark-muted); }
.site-footer .footer-col a:hover { color: var(--on-dark); }
.site-footer .footer-col p { color: var(--on-dark-muted); }

.footer-legal { border-top: 1px solid var(--line-dark); padding-top: 1.7rem; display: grid; gap: 1rem; }
.footer-legal p { max-width: none; font-size: 0.74rem; line-height: 1.65; color: var(--on-dark-muted); }

.footer-meta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; font-size: 0.74rem; color: var(--on-dark-muted); }
.footer-meta a { color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-meta a:hover { color: var(--on-dark); }

/* ---------- animação: estados-base p/ GSAP ---------- */

/* botões sólidos nunca fazem cross-fade (pill salmão + texto esmaecido ≈1.8:1
   no meio do fade): .btn entra só por deslocamento, com opacidade sempre 1 */
html.has-js.gsap-on .reveal:not(.btn) { opacity: 0; transform: translateY(26px); }
html.has-js.gsap-on .btn.reveal { transform: translateY(26px); }
html:not(.gsap-on) .reveal { opacity: 1 !important; transform: none !important; }

.split-word { display: inline-block; }
html.has-js.gsap-on .split-word { opacity: 0; transform: translateY(0.55em); filter: blur(6px); }

/* ---------- utilitários ---------- */

.stack-lg > * + * { margin-top: clamp(2rem, 5vw, 3rem); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; top: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.has-js.gsap-on .reveal, html.has-js.gsap-on .split-word { opacity: 1; transform: none; filter: none; }
  .liquid-dock::after { animation: none; }
  .liquid-indicator { transition: opacity 200ms ease; }
  .liquid-indicator.is-moving { animation: none; }
  .trilha .trilha-line { transform: scaleY(1); }
  .trilha li::after { border-color: var(--accent); background: var(--accent); }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   v5.1 — fidelidade 1:1 Robinhood (medidas do screenshot real)
   ========================================================================== */

/* escala do hero conforme RH (~72px em 1440) */
h1 { font-size: clamp(2.9rem, 5.1vw, 4.6rem); font-weight: 520; line-height: 1.02; }

/* hero RH: texto à esquerda (~45%), objeto absoluto sangrando topo+direita */
.hero-rh { position: relative; }

.hero-rh .hero-copy { position: relative; z-index: 2; max-width: 44%; }

@media (max-width: 900px) { .hero-rh .hero-copy { max-width: 100%; } }

.hero-rh .hero-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 1.7rem;
  font-size: 1.02rem;
  color: var(--ink);
}

.hero-rh .hero-eyebrow .brand-name { font-family: var(--font-mono); font-weight: 600; letter-spacing: -0.04em; }

.hero-rh .lede { margin: 1.5rem 0 2rem; max-width: 40ch; color: #4c483f; }

.hero-object-abs {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 47%;
  z-index: 1;
  overflow: hidden;
}

.hero-object-abs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: saturate(0.62) contrast(1.06) sepia(0.12);
  will-change: transform;
}

.hero-object-abs::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--cream) 0%, transparent 22%);
  pointer-events: none;
}

@media (max-width: 900px) {
  /* relative (não static): mantém o canvas 3D (#gw3d, inset:0) confinado à faixa da foto */
  .hero-object-abs { position: relative; width: auto; height: 16rem; margin: 2.5rem calc(-1 * var(--gutter)) 0; }
  .hero-object-abs::after { display: none; }
}

/* título de cena interna padrão RH: sans bold, 1ª linha em ácido */
.lead-acid {
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--on-dark);
  max-width: 22ch;
}

.lead-acid .acid { display: block; color: var(--accent); }

.scene-photo-light .lead-acid, .scene-cream .lead-acid, .scene-white .lead-acid { color: var(--ink); }

/* contraste: o ácido puro (#e8622a) reprova sobre fundos claros (≈2.4–2.9:1);
   nas cenas claras a 1ª linha usa a variante on-light, mantendo o laranja */
.scene-photo-light .lead-acid .acid,
.scene-cream .lead-acid .acid,
.scene-white .lead-acid .acid { color: var(--accent-on-light); }

/* cards escuros centrados com mídia embaixo (cap. preto RH) */
.card-dark.center { align-items: center; text-align: center; gap: 0.9rem; }
.card-dark.center:has(.card-media) { padding-bottom: 0; overflow: hidden; }
.card-dark.center h3 { font-family: var(--font-sans); font-weight: 650; font-size: clamp(1.3rem, 2vw, 1.75rem); }
.card-dark.center p { max-width: 34ch; }
.card-dark.center .btn { margin: 0.4rem 0 1.4rem; }
.card-dark.center:not(:has(.card-media)) .btn { margin: auto 0 0; }
.card-dark.center .card-media { margin-top: auto; border-radius: var(--radius) var(--radius) var(--radius-lg) var(--radius-lg); }
.card-dark.center .card-media img { aspect-ratio: 16 / 11; }

.duo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr)); gap: 1.5rem; max-width: 62rem; margin-inline: auto; }

/* pilares em trio (2026-07-22): mínimo menor p/ os 3 cards dividirem a linha */
#gestao .duo-grid { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }

/* cena fotográfica clara (objeto à esquerda, texto escuro à direita — cap. 4 RH) */
.scene-photo-light { background: #c6cdd6; color: var(--ink); }

.scene-photo-light .scene-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.4) contrast(1.02) brightness(1.06);
  opacity: 0.9;
}

.scene-photo-light::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(270deg, rgba(214, 219, 226, 0.92) 38%, rgba(214, 219, 226, 0.25) 75%, transparent 100%);
}

.scene-photo-light > .container { position: relative; z-index: 2; }

.copy-right { margin-left: auto; max-width: 44%; }
@media (max-width: 900px) { .copy-right { max-width: 100%; } }

/* mobile: o texto ocupa a cena toda — véu uniforme no lugar do gradiente lateral */
@media (max-width: 900px) {
  .scene-photo-light::after { background: rgba(214, 219, 226, 0.88); }
}

.brand-eyebrow { display: flex; align-items: baseline; gap: 0.45rem; margin-bottom: 1.4rem; font-size: 1.05rem; }
.brand-eyebrow .brand-name { font-family: var(--font-mono); font-weight: 600; letter-spacing: -0.04em; }
.brand-eyebrow .seg { color: inherit; opacity: 0.75; }

/* cena gradiente (cap. 5 RH: preto → brilho colorido) com card de registro */
.scene-gradient {
  background:
    radial-gradient(90rem 60rem at 82% 70%, rgba(232, 98, 42, 0.32), transparent 60%),
    linear-gradient(180deg, var(--black) 0%, #16100a 100%);
  color: var(--on-dark);
}

.registro-card {
  background: rgba(19, 19, 21, 0.92);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem 1.3rem;
  max-width: 24rem;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
  color: var(--on-dark);
}

.registro-card .reg-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 0.8rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--on-dark-muted);
}

.registro-card .reg-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.registro-card .reg-row:last-child { border-bottom: none; }
.registro-card .reg-row time { font-family: var(--font-mono); font-size: 0.68rem; color: var(--on-dark-muted); white-space: nowrap; }
.registro-card .reg-ok { color: var(--accent); font-family: var(--font-mono); font-size: 0.8rem; margin-right: 0.45rem; }

/* cena "compromisso" (cap. 6 RH: oliva escuro + ícones line-art) */
.scene-olive { background: #17150d; color: var(--on-dark); }

/* utilitário: split texto/objeto das cenas 5 */
.split-scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .split-scene { grid-template-columns: 1fr; } }

/* v5.2 — fusão do objeto no creme + medidas do hero */
.hero-rh .hero-copy { max-width: 48%; }
.hero-rh h1 { font-size: clamp(2.7rem, 4.6vw, 4.1rem); max-width: 17ch; }

.hero-object-abs img { filter: sepia(0.28) saturate(0.55) contrast(1.04) brightness(1.05); }

.hero-object-abs::after {
  background:
    linear-gradient(90deg, var(--cream) 0%, rgba(250, 249, 246, 0.85) 12%, transparent 38%),
    linear-gradient(180deg, rgba(250, 249, 246, 0.9) 0%, transparent 26%),
    linear-gradient(0deg, rgba(250, 249, 246, 0.55) 0%, transparent 18%);
}

/* v5.3 — trava defensiva: mídia dos cards nunca passa de 380px de altura */
.card-dark .card-media img { height: auto; max-height: 380px; }
.card-dark.center .card-media { width: calc(100% + 2 * clamp(1.6rem, 3vw, 2.4rem)); margin-inline: calc(-1 * clamp(1.6rem, 3vw, 2.4rem)); }

/* v5.4 — legal nunca sobrepõe o conteúdo em cenas fotográficas/gradiente/escuras */
.scene-photo .scene-legal,
.scene-photo-light .scene-legal,
.scene-gradient .scene-legal,
.scene-dark .scene-legal {
  position: static;
  margin-top: 2.4rem;
  max-width: 60ch;
  margin-left: auto;
}
.scene-gradient .scene-legal { margin-left: 0; }
.scene-dark .scene-legal { margin-left: 0; margin-right: auto; }

/* v5.5 — proporções do hero no padrão RH (título largo, sub em 2-3 linhas) */
.hero-rh .hero-copy { max-width: 50%; }
.hero-rh h1 { max-width: none; font-size: clamp(2.8rem, 4.8vw, 4.5rem); }
.hero-rh .lede { max-width: 54ch; font-size: clamp(1.05rem, 1.4vw, 1.22rem); }

/* v5.6 — container largo padrão RH (conteúdo começa perto da borda) + título maior */
.container { max-width: 92rem; }
.hero-rh .hero-copy { max-width: 52%; }
.hero-rh h1 { font-size: clamp(2.9rem, 5.4vw, 5rem); }
.hero-rh .lede { max-width: 52ch; }

/* mobile: restaura a largura total da copy do hero (as regras 48/50/52% acima
   vinham depois da media query da v5.1 no cascade e a anulavam) */
@media (max-width: 900px) {
  .hero-rh .hero-copy { max-width: 100%; }
  /* .container tem margin-inline:auto e, como filho de flex (.scene), encolhe para
     fit-content; grids auto-fit inflam o min-content além da viewport e o overflow:hidden
     da .scene corta o conteúdo. width:100% devolve a largura real da viewport. */
  .scene > .container { width: 100%; }
}

/* v5.7 — hero full-bleed: copy ancorada na borda esquerda como na RH */
.hero-rh .container {
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(2.5rem, 5vw, 4.5rem);
  width: 100%;
}

/* v6.1 — objeto 3D do hero (canvas sobre a foto-fallback) */
.hero-3d { position: absolute; inset: 0; }
.hero-3d canvas { display: block; width: 100% !important; height: 100% !important; }
.hero-object-abs.has-3d img {
  opacity: 0.3;
  transition: opacity 900ms ease;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}
.hero-object-abs.has-3d { box-shadow: none; }

/* v6.2 — efeitos 3D distribuídos */
.fx-tilt {
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  transition: transform 300ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

.fx-tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 250ms ease;
  pointer-events: none;
}

.fx-tilt:hover::after { opacity: 1; }

.scene-gradient { position: relative; }
#gw-drift { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
#gw-drift canvas { display: block; width: 100% !important; height: 100% !important; }
.scene-gradient > .container { position: relative; z-index: 2; }

.stamp-stage { position: relative; }
#gw-stamp {
  position: absolute;
  right: 2.5rem;
  top: -12.5rem;
  width: 16rem;
  height: 17rem;
  z-index: 3;
  pointer-events: none;
}
#gw-stamp canvas { display: block; width: 100% !important; height: 100% !important; }
@media (max-width: 900px) { #gw-stamp { display: none; } }

/* v6.3 — retratos da equipe (P&B tratado unifica retratos de origens diversas) */
.team-photo {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.1rem;
  max-width: 15rem;
}
.team-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) sepia(0.12);
  transition: filter 500ms ease;
}
.team-card:hover .team-photo img { filter: grayscale(0.15) contrast(1.03) sepia(0.05); }

/* v6.4 — composição da cena fotográfica clara (feedback: texto "flutuando") */
.scene-photo-light::after {
  background: linear-gradient(270deg, rgba(228, 231, 236, 0.96) 30%, rgba(224, 228, 233, 0.72) 58%, rgba(220, 224, 230, 0.2) 82%, transparent 100%);
}
.scene-photo-light .copy-right { max-width: 42%; padding-right: 1rem; }
.scene-photo-light .copy-right .lede { max-width: 46ch; }
.link-more::after { content: " ›"; margin-left: 0.15em; }

/* v6.5 — rebalanceamento de alinhamento (feedback: "muitos textos à direita") */
.copy-left { max-width: 44%; }
@media (max-width: 900px) { .copy-left { max-width: 100%; } }
.scene-photo .scene-legal { margin-left: 0; margin-right: auto; }

/* v6.6 — fixes do caçador de layout */
/* aspect-ratio só vale se height não vier travado pelos atributos HTML */
.team-photo img { height: auto; }

/* v6.7 — container de cena NUNCA encolhe (root cause do texto espremido: flex row acidental) */
.scene > .container { width: 100%; }

/* ==========================================================================
   v7 — auditoria de contraste (AA): overrides mínimos, paleta preservada
   ========================================================================== */

/* texto secundário sobre o véu claro da .scene-photo-light: o --muted #6f6a60
   mede 3.8–4.3:1 sobre o véu (~#e4e7ec desktop / rgb(214,218,224) mobile);
   #55524a é o mesmo matiz, mais fundo → 5.6–6.3:1 */
.scene-photo-light .lede,
.scene-photo-light .team-card p,
.scene-photo-light .canal dt,
.scene-photo-light .text-dim,
.scene-photo-light .text-muted,
.scene-photo-light .mono,
.scene-photo-light .scene-legal { color: #55524a; }

/* links sobre o véu: tom mais fundo + sublinhado (tira a dependência de cor) */
.scene-photo-light a:not(.btn) { color: #9c3a15; }
.scene-photo-light a:not(.btn):not(.link-more) { text-decoration: underline; text-underline-offset: 2px; }

/* mobile: véu uniforme também na .scene-photo escura — o gradiente lateral do
   desktop deixava texto claro sobre trechos claros da foto (2.5–3.6:1).
   Espelha a solução já adotada na .scene-photo-light ≤900px. */
@media (max-width: 900px) {
  .scene.scene-photo::after,
  .scene.scene-photo.flip::after { background: rgba(11, 11, 12, 0.82); }
}

/* ---------- frame "Por quê?": ilustração full-bleed + balão (ref. Nubank) ---------- */
.scene-illustration { position: relative; overflow: hidden; line-height: 0; }
.scene-illustration img { display: block; width: 100%; height: auto; }

.balao-ilustracao {
  position: absolute;
  left: clamp(1.25rem, 6vw, 5.5rem);
  top: clamp(1.25rem, 7vh, 4rem);
  z-index: 2;
  max-width: 27rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  box-shadow: var(--shadow-float);
  line-height: 1.4;
}
.balao-ilustracao .eyebrow { margin-bottom: 0.8rem; }
.balao-frase {
  font-size: clamp(1.02rem, 1.4vw, 1.26rem);
  line-height: 1.38;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--accent-on-light);
}
@media (max-width: 700px) {
  /* no mobile o balão desce da arte e vira bloco de fluxo, sem cobrir a cena */
  .balao-ilustracao { position: static; max-width: none; border-radius: 0; box-shadow: none; }
}

/* ---------- frame "Documentos": fundo laranja + cards (ref. Nubank "Segurança é prioridade") ---------- */
.scene-docs { background: var(--accent); color: #ffffff; }

/* ilustração de fundo (pedido 2026-07-20) + véu laranja p/ legibilidade:
   mais denso à esquerda (onde vive o texto), abrindo pra arte à direita */
.docs-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* véu ESCURO bem leve (pedido 2026-07-22): só o suficiente pra leitura do
   branco — a foto continua comandando; sombras no texto completam */
.scene-docs::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(11, 11, 12, 0.42) 0%, rgba(11, 11, 12, 0.24) 50%, rgba(11, 11, 12, 0.14) 100%);
}
.scene-docs .docs-head h2,
.scene-docs .docs-lede,
.scene-docs .eyebrow { text-shadow: 0 1px 14px rgba(20, 10, 4, 0.5); }
.scene-docs .scene-legal { color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 8px rgba(20, 10, 4, 0.6); }
.scene-docs > .container { position: relative; z-index: 2; }
.scene-docs .eyebrow { color: rgba(255, 255, 255, 0.85); }
.scene-docs .brand-cursor { color: var(--accent); } /* _ laranja (pedido 2026-07-22) */
.scene-docs .scene-legal { position: static; margin-top: 2.2rem; color: rgba(26, 13, 6, 0.72); } /* texto miúdo: escuro lê melhor no laranja vivo */

.docs-head { max-width: 36rem; margin-bottom: clamp(2.4rem, 4.5vw, 4rem); }
.docs-head h2 { max-width: 15ch; }
.docs-lede { margin-top: 1.1rem; color: rgba(255, 255, 255, 0.88); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.55; max-width: 48ch; }

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
  align-items: stretch;
}
.doc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: rgba(22, 9, 3, 0.34);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2vw, 1.8rem);
  min-height: clamp(12rem, 20vw, 15rem);
}
.doc-card h3 { color: #ffffff; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.25; }
.doc-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; line-height: 1.5; max-width: none; }

/* card de destaque: claro e levemente elevado, como o "Me roubaram" da referência */
.doc-card-destaque { background: var(--cream); margin-top: calc(-1 * clamp(1.4rem, 3vw, 2.6rem)); }
.doc-card-destaque h3 { color: var(--ink); }
.doc-card-destaque p { color: var(--muted); }

.doc-chip { margin-top: auto; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.72); }
.doc-chip .brand-cursor { color: rgba(255, 255, 255, 0.72); }

.doc-seta {
  margin-top: auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--accent-on-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 240ms cubic-bezier(0.3, 1.4, 0.4, 1), background 240ms ease;
}
.doc-seta:hover { background: #ffffff; color: var(--accent-on-light); transform: translateX(4px); }

@media (max-width: 900px) {
  .docs-grid { grid-template-columns: 1fr; }
  .doc-card { min-height: 0; }
  .doc-card-destaque { margin-top: 0; }
}

/* ---------- frame "Quem?": texto + linhas compactas de stats (ref. 03_QUEM_SOMOS) ---------- */
.quem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.quem-grid h2 { max-width: 14ch; }
.quem-grid .lede { max-width: 46ch; }
.acid-strong { color: var(--accent); font-weight: 650; }

.quem-stats { display: grid; gap: clamp(1.3rem, 2.6vw, 2rem); }
.quem-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
}
.quem-ico {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.quem-ico svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.quem-num {
  display: block;
  font-family: "Inter Tight", var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.35rem, 1.9vw, 1.8rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--on-dark);
}
.quem-desc {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--on-dark-muted);
}
@media (max-width: 900px) {
  .quem-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* ---------- logos gtw / growthway (SVG, 2026-07-22) ---------- */
.brand-logo { height: 2rem; width: auto; display: block; }        /* dock: gtw compacta */
.site-footer .brand-logo { height: 2.3rem; }
.hero-eyebrow-logo { height: 1.55rem; width: auto; display: block; } /* eyebrow: growthway completa */
/* assinatura: a img da logo é o alvo do efeito de partículas (fallback sem-JS) */
.gw-assinatura img.gw-assinatura-mark { height: clamp(3rem, 8vw, 5.5rem); width: auto; margin-inline: auto; display: block; }
