/* fraunces-vietnamese-opsz-normal */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fraunces-vietnamese-opsz-normal-Czevyj-6.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* fraunces-latin-ext-opsz-normal */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fraunces-latin-ext-opsz-normal-CJcjJNj7.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* fraunces-latin-opsz-normal */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fraunces-latin-opsz-normal-DihXLNYH.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* geist-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* geist-cyrillic-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* geist-vietnamese-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* geist-latin-ext-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* geist-latin-wght-normal */
@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-latin-wght-normal-BgDaEnEv.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* geist-mono-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-mono-cyrillic-ext-wght-normal-I4S5GZfc.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* geist-mono-cyrillic-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-mono-cyrillic-wght-normal-BmXc_FBt.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* geist-mono-symbols2-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-mono-symbols2-wght-normal-GZpp1pK2.woff2) format('woff2-variations');
  unicode-range: U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F;
}

/* geist-mono-vietnamese-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-mono-vietnamese-wght-normal-D8KDMBhC.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* geist-mono-latin-ext-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-mono-latin-ext-wght-normal-DrnZ1wKl.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* geist-mono-latin-wght-normal */
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/geist-mono-latin-wght-normal-B_7UjwxQ.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* ============================================================================
   Design Tokens — iPhone Belém (FUND-02)
   Fonte da verdade: 01-UI-SPEC.md (Color, Spacing, Typography, Radius, Motion).
   Todos os valores de marca vivem aqui como CSS custom properties. O resto do
   CSS consome sempre via var(--token) — nunca hardcode fora deste :root.
   ============================================================================ */

:root {
  /* --- Cor: fundo (Dominant 60%) ---------------------------------------- */
  --color-bg: #0A0A0B; /* off-black — nunca #000 puro */

  /* --- Cor: superfícies (Secondary 30%) --------------------------------- */
  --surface-1: #141416; /* cards, elevação de 1º nível */
  --surface-2: #1C1C1F; /* hover/raised de card, chip neutro ativo */
  --border: rgba(255, 255, 255, 0.08); /* hairline de card, divisores */
  --border-strong: rgba(255, 255, 255, 0.14); /* foco neutro, contorno */

  /* --- Cor: texto ------------------------------------------------------- */
  --text-primary: #F5F5F7; /* off-white — nunca #FFF puro */
  --text-muted: #A1A1AA; /* secundário, legendas, labels */
  --text-faint: #71717A; /* placeholder, desabilitado */

  /* --- Cor: accent (10% — uso reservado, ver UI-SPEC) ------------------- */
  --color-accent: #3B82F6; /* azul principal */
  --color-accent-deep: #1D4ED8; /* profundo / hover */

  /* --- Cor semântica: WhatsApp (escopo travado a CTAs de WhatsApp) ------ */
  --wa-green: #25D366;
  --wa-green-deep: #008069;

  /* --- Spacing (conjunto travado {4,8,16,24,32,48,64}) ------------------ */
  --space-3xs: 4px;
  --space-2xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;

  /* Exceções de design explícitas (ver UI-SPEC > Spacing > Exceptions) */
  --space-chip-inline: 12px; /* padding inline de controle compacto */
  --space-section-y: clamp(48px, 12vw, 128px); /* respiro editorial de seção */

  /* --- Radius (limite duro da marca: máx 16px) -------------------------- */
  --radius-chip: 6px;
  --radius-card: 10px;
  --radius-lg: 16px;

  /* --- Motion: easings -------------------------------------------------- */
  --ease-snappy: cubic-bezier(0.22, 0.61, 0.36, 1); /* default reveals/hovers */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1); /* spring: lift, contadores */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); /* fades, opacidade */

  /* --- Motion: durações ------------------------------------------------- */
  --dur-fast: 200ms; /* hover, estado de chip/botão */
  --dur-base: 400ms; /* reveals padrão, entrada de card */
  --dur-slow: 700ms; /* reveals grandes, transições de seção */

  /* --- Tipografia: famílias (self-hosted, com fallback métrico) --------- */
  --font-display: 'Fraunces Variable', 'Fraunces Fallback', Georgia, 'Times New Roman', serif;
  --font-body: 'Geist Variable', 'Geist Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono Variable', 'Geist Mono Fallback', ui-monospace, 'SF Mono', Menlo, monospace;

  /* --- Tipografia: escala fluida (ver UI-SPEC > Typography) ------------- */
  --fs-display: clamp(2.75rem, 8vw, 6rem); /* 44 -> 96px */
  --fs-heading: clamp(1.75rem, 4vw, 2.75rem); /* 28 -> 44px */
  --fs-body: clamp(1rem, 0.95rem + 0.4vw, 1.125rem); /* 16 -> 18px */
  --fs-label: 0.8125rem; /* 13px */

  /* --- Tipografia: pesos (apenas 2: Regular / Semibold) ----------------- */
  --fw-regular: 400;
  --fw-semibold: 600;

  /* Largura máxima de leitura de corpo */
  --measure-body: 65ch;
}
/* ============================================================================
   Base — reset, fontes self-hosted (sem CLS) e tipografia (FUND-03)
   Fontes variáveis importadas via @fontsource-variable/* no src/main.js.
   As cores/spacing/radius vêm sempre de var(--token) (definidos em tokens.css).
   ============================================================================ */

/* ----------------------------------------------------------------------------
   Fallback métrico (elimina CLS na troca fonte-web -> fonte-de-sistema).
   size-adjust + ascent/descent-override aproximam a métrica da fonte de sistema
   à da fonte variável, evitando reflow quando a web font pinta (font-display:swap).
   Referência: UI-SPEC > Fontes; PITFALLS Pitfall 3 (CLS) e 14 (LCP de fontes).
   ---------------------------------------------------------------------------- */
@font-face {
  font-family: 'Fraunces Fallback';
  src: local('Georgia'), local('Times New Roman'), local('serif');
  size-adjust: 104%;
  ascent-override: 96%;
  descent-override: 26%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Geist Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('sans-serif');
  size-adjust: 97%;
  ascent-override: 95%;
  descent-override: 24%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Geist Mono Fallback';
  src: local('Menlo'), local('Consolas'), local('monospace');
  size-adjust: 95%;
  ascent-override: 92%;
  descent-override: 23%;
  line-gap-override: 0%;
}

/* ----------------------------------------------------------------------------
   Reset moderno leve
   ---------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  background: var(--color-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: from-font;
  text-underline-offset: 0.15em;
}

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

/* ----------------------------------------------------------------------------
   Roles tipográficos (ver UI-SPEC > Typography)
   Fraunces: contraste dramático via eixo óptico opsz — NÃO por peso 700.
   Apenas 2 pesos em todo o site: 400 (regular) e 600 (semibold).
   ---------------------------------------------------------------------------- */

/* Display — H1 do hero, headlines de seção, números da barra de confiança */
h1,
.display {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: var(--fs-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144, 'SOFT' 0;
}

/* Heading — títulos de seção secundários, títulos de card grande */
h2,
.heading {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: var(--fs-heading);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 96, 'SOFT' 0;
}

/* Body — parágrafos e copy institucional; ênfase inline usa 600 */
p,
.body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: 1.6;
  max-width: var(--measure-body);
}

strong,
b {
  font-weight: var(--fw-semibold);
}

/* Label / Eyebrow — eyebrows uppercase, tags, specs, preço "a partir de" */
.eyebrow,
.label {
  font-family: var(--font-mono);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-label);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------------------
   Contrato de reduced-motion (FUND-04) — desliga transições/animações.
   A Fase 1 só usa transições CSS simples; aqui garantimos o "segundo design".
   ---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ============================================================================
   Sections — layout base + seções 1–6 (FUND-05)
   Fonte da verdade: 01-UI-SPEC.md (Layout & Responsividade, Visual Hierarchy,
   Surface Treatment, Section Content Contract).
   Mobile-first real (alvo de design primário 390px). Consome SEMPRE var(--token)
   — nenhuma cor/spacing/radius hardcoded fora dos tokens de tokens.css.
   ============================================================================ */

/* ----------------------------------------------------------------------------
   Sistema de layout base
   ---------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
}

/* Ritmo vertical de seção (respiro editorial fluido — ver UI-SPEC > Spacing). */
main > section {
  padding-block: var(--space-section-y);
}

/* Bloco de leitura com largura de medida confortável. */
.prose {
  max-width: 72ch;
}
.prose > * + * {
  margin-block-start: var(--space-md);
}

/* ----------------------------------------------------------------------------
   Header de topo
   ---------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 10;
  padding-block: var(--space-sm);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-decoration: none;
  font-variation-settings: 'opsz' 96, 'SOFT' 0;
}

/* ----------------------------------------------------------------------------
   CTA WhatsApp (verde reservado — só nos CTAs de WhatsApp)
   Touch target ≥ 44px. Hover só em ponteiro fino (Pitfall 13).
   ---------------------------------------------------------------------------- */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  min-height: 44px;
  padding: var(--space-2xs) var(--space-md);
  border: none;
  border-radius: var(--radius-lg);
  background: var(--wa-green);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-snappy);
}
.btn-wa__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}
@media (hover: hover) {
  .btn-wa:hover {
    background: var(--wa-green-deep);
  }
}

/* ----------------------------------------------------------------------------
   1 · Hero
   ---------------------------------------------------------------------------- */
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  min-height: 82svh;
  justify-content: center;
}
.hero__title {
  margin-block-start: var(--space-2xs);
}
.hero__sub {
  color: var(--text-primary);
  max-width: 32ch;
}
.hero__tagline {
  color: var(--text-muted);
  max-width: 40ch;
}
.hero .btn-wa {
  margin-block-start: var(--space-2xs);
}
.hero__scroll-hint {
  margin-block-start: var(--space-lg);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}

/* ----------------------------------------------------------------------------
   2 · Barra de confiança
   Só o número em accent azul; label em --text-muted (UI-SPEC > Color).
   tabular-nums reserva a largura do dígito (previne CLS dos contadores da Fase 4).
   ---------------------------------------------------------------------------- */
.confianca .eyebrow {
  margin-block-end: var(--space-lg);
}
.stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}
.stat__number {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: var(--fs-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144, 'SOFT' 0;
  font-variant-numeric: tabular-nums;
  color: var(--color-accent);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------------------
   3 · Institucional
   ---------------------------------------------------------------------------- */
.institucional__title {
  margin-block-start: var(--space-2xs);
}
.institucional p {
  color: var(--text-muted);
}

/* ----------------------------------------------------------------------------
   4 · Macro details — callouts de spec
   Label em Mono, valor em Fraunces Heading. Superfície de card por borda,
   não drop-shadow (Surface Treatment do UI-SPEC).
   ---------------------------------------------------------------------------- */
.macro__title {
  margin-block: var(--space-2xs) var(--space-lg);
}
.callouts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.callout {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  padding: var(--space-md);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.callout__label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.callout__value {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: var(--fs-heading);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 96, 'SOFT' 0;
  color: var(--text-primary);
}

/* ----------------------------------------------------------------------------
   5 · Vitrine — controles estáticos + grid + empty state
   ---------------------------------------------------------------------------- */
.vitrine__title {
  margin-block: var(--space-2xs) var(--space-lg);
}
.vitrine__controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-block-end: var(--space-lg);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
}
.chip {
  padding: var(--space-2xs) var(--space-chip-inline);
  border: 1px solid var(--border);
  border-radius: var(--radius-chip);
  background: var(--surface-1);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: default;
}
/* Chip ativo demonstra o token accent (UI-SPEC: chip de filtro ativo). */
.chip--active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
}
.toggle {
  display: inline-flex;
  gap: var(--space-3xs);
  padding: var(--space-3xs);
  border: 1px solid var(--border);
  border-radius: var(--radius-chip);
  background: var(--surface-1);
  width: fit-content;
}
.toggle__opt {
  padding: var(--space-2xs) var(--space-chip-inline);
  border: none;
  border-radius: var(--radius-chip);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: default;
}
.toggle__opt--active {
  background: var(--surface-2);
  color: var(--text-primary);
}
.vitrine__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}
.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-xl) var(--space-md);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.empty-state__title {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: var(--fs-heading);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 96, 'SOFT' 0;
  color: var(--text-primary);
}
.empty-state__body {
  color: var(--text-muted);
  max-width: 48ch;
}

/* ----------------------------------------------------------------------------
   6 · Ecossistema — full-bleed (rompe o .container edge-to-edge)
   ---------------------------------------------------------------------------- */
.ecossistema {
  background: var(--color-bg);
  border-block: 1px solid var(--border);
}
.ecossistema__inner {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}
.ecossistema__title {
  margin-block-start: var(--space-2xs);
}
.ecossistema__copy {
  color: var(--text-muted);
}

/* ----------------------------------------------------------------------------
   7 · Como funciona — passos numerados (número Fraunces/accent, título Geist)
   ---------------------------------------------------------------------------- */
.como-funciona__title {
  margin-block: var(--space-2xs) var(--space-lg);
}
.passos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  counter-reset: passo;
}
.passo {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-md);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.passo__num {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: var(--fs-heading);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144, 'SOFT' 0;
  font-variant-numeric: tabular-nums;
  color: var(--color-accent);
}
.passo__titulo {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  color: var(--text-primary);
}
.passo__desc {
  color: var(--text-muted);
}

/* ----------------------------------------------------------------------------
   8 · Garantia & confiança — 4 itens com ícone Lucide inline (a11y) + label
   ---------------------------------------------------------------------------- */
.garantia__title {
  margin-block: var(--space-2xs) var(--space-lg);
}
.garantias {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.garantia-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-md);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.garantia-item__icon {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}
.garantia-item__titulo {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  color: var(--text-primary);
}
.garantia-item__desc {
  color: var(--text-muted);
}

/* ----------------------------------------------------------------------------
   9 · Prova social — lista scroll-snap estática (sem autoplay, sem JS)
   flex-shrink: 0 evita compressão dos cards em fila horizontal.
   ---------------------------------------------------------------------------- */
.prova-social__title {
  margin-block-start: var(--space-2xs);
}
.depoimentos {
  list-style: none;
  margin: var(--space-lg) 0 0;
  padding: 0 clamp(16px, 5vw, 48px) var(--space-2xs);
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.depoimento {
  flex: 0 0 min(85%, 380px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.depoimento__texto {
  color: var(--text-primary);
  font-style: italic;
}
.depoimento__autor {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-block-start: auto;
}

/* ----------------------------------------------------------------------------
   10 · CTA final — full-screen, headline Fraunces Display + botão grande
   ---------------------------------------------------------------------------- */
.cta-final {
  background: var(--color-bg);
  border-block: 1px solid var(--border);
}
.cta-final__inner {
  min-height: 82svh;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-lg);
}
.cta-final__title {
  font-size: var(--fs-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144, 'SOFT' 0;
  max-width: 18ch;
}
/* Botão grande do CTA final (≥44px garantido; aqui reforçado p/ thumb-reach). */
.btn-wa--lg {
  min-height: 56px;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--fs-body);
}
.btn-wa--lg .btn-wa__icon {
  width: 24px;
  height: 24px;
}

/* ----------------------------------------------------------------------------
   11 · FAQ — <details>/<summary> nativo (expande/colapsa sem JS)
   Marker default removido; chevron via SVG inline que rotaciona em [open].
   ---------------------------------------------------------------------------- */
.faq__title {
  margin-block: var(--space-2xs) var(--space-lg);
}
.faq__list {
  max-width: 65ch;
}
.faq-item {
  border-block-end: 1px solid var(--border);
}
.faq-item:first-child {
  border-block-start: 1px solid var(--border);
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-md);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  color: var(--text-primary);
  cursor: pointer;
  list-style: none; /* remove marker (Firefox/padrão) */
}
/* Remove o triângulo default do <summary> no WebKit/Blink. */
.faq-item__q::-webkit-details-marker {
  display: none;
}
.faq-item__chevron {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--dur-fast) var(--ease-snappy);
}
.faq-item[open] .faq-item__chevron {
  transform: rotate(180deg);
}
.faq-item__a {
  color: var(--text-muted);
  padding-block-end: var(--space-md);
}

/* ----------------------------------------------------------------------------
   Rodapé — compliance Apple obrigatória (SEO-03)
   ---------------------------------------------------------------------------- */
.site-footer {
  border-block-start: 1px solid var(--border);
  padding-block: var(--space-xl);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.site-footer__wordmark {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--text-primary);
  font-variation-settings: 'opsz' 96, 'SOFT' 0;
}
.site-footer__contato {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-decoration: none;
  width: fit-content;
}
.site-footer__compliance {
  color: var(--text-faint);
  font-size: var(--fs-label);
  line-height: 1.5;
  max-width: 68ch;
}

/* ----------------------------------------------------------------------------
   Hovers — só em ponteiro fino (Pitfall 13: evita hover "preso" no touch)
   ---------------------------------------------------------------------------- */
@media (hover: hover) {
  .callout,
  .passo,
  .garantia-item {
    transition: border-color var(--dur-fast) var(--ease-snappy),
      background-color var(--dur-fast) var(--ease-snappy);
  }
  .callout:hover,
  .passo:hover,
  .garantia-item:hover {
    border-color: var(--border-strong);
    background: var(--surface-2);
  }
}

/* ----------------------------------------------------------------------------
   Breakpoints (mobile-first → tablet → desktop)
   ---------------------------------------------------------------------------- */
@media (min-width: 750px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }
  .callouts {
    grid-template-columns: repeat(4, 1fr);
  }
  .vitrine__controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .passos {
    grid-template-columns: repeat(2, 1fr);
  }
  .garantias {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .passos {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* ============================================================================
   Catálogo — anatomia do card, estados, motion (Fase 2)
   Fonte da verdade: 02-UI-SPEC.md. Consome SÓ var(--token) do design system
   travado na Fase 1 (tokens.css). Importado após sections.css (só ESTENDE) e
   antes de reduced-motion.css (static path vence o movimento por cascata).

   Exceção de cor permitida pelo UI-SPEC: o glow azul de hover usa rgba() do
   accent (0 0 0 1px + blur) — único uso de cor fora de var(--token).
   ============================================================================ */

/* ----------------------------------------------------------------------------
   Controles interativos (enhancement da Fase 2 — sobrescreve o inerte da Fase 1)
   ---------------------------------------------------------------------------- */
.chip,
.toggle__opt {
  cursor: pointer;
  transition:
    background-color var(--dur-fast) var(--ease-snappy),
    color var(--dur-fast) var(--ease-snappy),
    border-color var(--dur-fast) var(--ease-snappy);
}

/* Toggle selecionado: texto accent sobre pill neutro (decisão UI-SPEC —
   substitui o --text-primary da Fase 1). Diferencia toggle (pill+texto accent)
   do chip (fill invertido) sem roubar a hierarquia de conversão. */
.toggle__opt--active {
  color: var(--color-accent);
}

/* Anel de foco accent em todos os controles novos + CTA do card. */
.chip:focus-visible,
.toggle__opt:focus-visible,
.card .btn-wa:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ----------------------------------------------------------------------------
   Card de produto — anatomia (topo → base): mídia+badge, tag, nome, highlight,
   preço, CTA. Card NÃO é link (único alvo = .btn-wa).
   ---------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-sm);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  /* Estado pré-reveal: JS adiciona .is-in no próximo frame (reduced-motion força
     opacity 1 via static path). Hover/reflow animam via transition abaixo. */
  opacity: 0;
  transition:
    transform var(--dur-base) var(--ease-spring),
    box-shadow var(--dur-base) var(--ease-spring),
    border-color var(--dur-base) var(--ease-spring);
}

@media (min-width: 750px) {
  .card {
    padding: var(--space-md);
  }
}

/* Entrada: fade + translateY(8px)→0. animation-delay faz o stagger só ≥750px.
   fill-mode `backwards` mantém o from-state durante o delay (sem flash) e
   REVERTE ao normal após o fim → não bloqueia o transform de hover. */
.card.is-in {
  opacity: 1;
  animation: card-in var(--dur-base) var(--ease-spring) backwards;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger 60ms entre cards apenas ≥750px (1 coluna no mobile → stagger 0). */
@media (min-width: 750px) {
  .card.is-in {
    animation-delay: calc(var(--i, 0) * 60ms);
  }
}

/* Hover lift + glow azul — SÓ em ponteiro fino (Pitfall 13). O glow substitui
   a borda (border transparente). rgba do accent é a exceção de cor do UI-SPEC. */
@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow:
      0 0 0 1px rgba(59, 130, 246, 0.4),
      0 8px 32px rgba(59, 130, 246, 0.12);
  }
}

/* Touch: feedback sutil de tap (sem hover preso — Pitfall 13). */
.card:active {
  background: var(--surface-2);
}

/* --- Mídia + badge --------------------------------------------------------- */
.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  border-radius: var(--radius-chip);
  overflow: hidden;
  margin-block-end: var(--space-2xs);
}
.card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain; /* não corta silhuetas variadas (iPhone alto × Mac largo) */
}
.card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text-faint);
}
.card__placeholder-icon {
  width: 32px;
  height: 32px;
}

/* Badge de condição NEUTRO (sem accent, sem verde) — sinal de procedência. */
.card__badge {
  position: absolute;
  top: var(--space-2xs);
  right: var(--space-2xs);
  padding: var(--space-3xs) var(--space-2xs);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-chip);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Texto ----------------------------------------------------------------- */
.card__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.card__name {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  line-height: 1.3;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__highlight {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Preço ----------------------------------------------------------------- */
.card__price-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  margin-block-start: var(--space-2xs);
}
.card__price-label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.card__price {
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  line-height: 1.2;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

/* --- CTA full-width (modificador do .btn-wa da Fase 1) --------------------- */
.btn-wa--block {
  width: 100%;
  justify-content: center;
  margin-block-start: var(--space-2xs);
}

/* ----------------------------------------------------------------------------
   Reflow ao filtrar — fade-out rápido do set atual (só opacity — Pitfall 3).
   O fade-in é o card-in dos novos cards.
   ---------------------------------------------------------------------------- */
.vitrine__grid--switching {
  opacity: 0.35;
  transition: opacity var(--dur-fast) var(--ease-out);
}

/* ----------------------------------------------------------------------------
   Skeleton — só aparece se o fetch demorar > 150ms. Shimmer respeita
   reduced-motion (bloco estático — ver reduced-motion.css).
   ---------------------------------------------------------------------------- */
.card--skeleton {
  opacity: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-sm);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.card__skeleton-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-chip);
  background: linear-gradient(
    90deg,
    var(--surface-1) 0%,
    var(--surface-2) 50%,
    var(--surface-1) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s var(--ease-out) infinite;
}
@keyframes skeleton-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
/* ============================================================================
   FAB WhatsApp (WHTS-03) — botão flutuante de conversa
   Fonte da verdade: 02-UI-SPEC.md > "FAB WhatsApp".

   Enhancement JS: renderizado no HTML com href wa.me hardcoded, porém OCULTO por
   CSS base (display:none) — no-JS NÃO mostra (os CTAs inline de hero/seções
   cobrem a conversão). Sob .js-enabled o FAB entra no layout e a visibilidade é
   controlada pela classe de estado .wa-float--hidden (wa-float.js liga/desliga
   por scroll via IntersectionObserver). Aparece após o hero, some no CTA final
   (Pitfall 11 — não cobrir preços/CTA). Reduced-motion neutraliza a transição.
   ============================================================================ */

/* Base (no-JS): oculto. Os CTAs inline cobrem a conversão sem JS. */
.wa-float {
  display: none;
}

/* Sob JS: FAB flutuante no terço inferior (thumb-reach), respeitando safe-area. */
.js-enabled .wa-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: calc(var(--space-sm) + env(safe-area-inset-right));
  bottom: calc(var(--space-sm) + env(safe-area-inset-bottom));
  z-index: 40;
  width: 56px; /* exceção de touch-target travada na Fase 1 (> 44px) */
  height: 56px;
  border-radius: var(--radius-lg); /* rounded-square — pill proibido pela marca */
  background: var(--wa-green);
  color: var(--color-bg); /* ícone herda via currentColor */
  text-decoration: none;
  cursor: pointer;
  transition:
    opacity var(--dur-fast) var(--ease-snappy),
    transform var(--dur-fast) var(--ease-snappy),
    background-color var(--dur-fast) var(--ease-snappy);
}

/* Glyph do WhatsApp a 24px (contrato UI-SPEC). */
.js-enabled .wa-float .btn-wa__icon {
  width: 24px;
  height: 24px;
}

/* Estado OCULTO (topo/hero e ao chegar no CTA final): invisível e não-clicável. */
.js-enabled .wa-float--hidden {
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  pointer-events: none;
}

/* Hover só em ponteiro fino (Pitfall 13). */
@media (hover: hover) {
  .js-enabled .wa-float:hover {
    background: var(--wa-green-deep);
  }
}

/* Foco acessível — anel accent (contrato a11y travado na Fase 1). */
.wa-float:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
/* ============================================================================
   Hero cinematográfico (Fase 4 — HERO-01..05)
   Fonte da verdade: 04-01-PLAN.md + RESEARCH Gap 1/2/3.

   Camadas do hero (z-index, de baixo p/ cima):
     0 · .hero__poster  — LCP, pinta sem JS (img fetchpriority=high)
     1 · .hero__canvas  — orbit scrubado; transparente até decodificar (só sob JS)
     2 · .hero__inner   — texto/CTA, sempre ACIMA da mídia (Playwright toBeVisible)
     3 · .hero__loader  — loader de marca, só sob .js-enabled.is-hero-loading

   Importado ANTES de reduced-motion.css no main.js (o reduced vence por cascata:
   força [data-reveal]/.reveal ao estado final e o poster fica visível estático).
   ============================================================================ */

/* O hero preenche o 1º fold e clipa a mídia em cover (sem CLS: min-height fixa,
   overflow contém o poster/canvas e o tracking do título). */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

/* Poster (LCP) e canvas em COVER sobre todo o hero. O poster paga o primeiro
   paint; o canvas assume por cima quando os frames decodificam. */
.hero__poster,
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__poster {
  z-index: 0;
  object-fit: cover;
  object-position: center;
}
.hero__canvas {
  z-index: 1;
  opacity: 0; /* transparente no base/no-JS → o poster mostra (HERO-03) */
}
/* Sob JS, o canvas assume por cima do poster com fade curto quando pronto. */
.js-enabled .hero__canvas.is-ready {
  opacity: 1;
  transition: opacity 0.6s var(--ease-soft, ease-out);
}

/* Scrim de legibilidade: um gradiente sutil garante contraste do texto sobre a
   mídia escura sem apagar o aparelho. Entre a mídia (z1) e o texto (z2). */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(10, 10, 11, 0.82) 0%,
    rgba(10, 10, 11, 0.55) 42%,
    rgba(10, 10, 11, 0.1) 72%,
    rgba(10, 10, 11, 0) 100%
  );
}

/* Texto/CTA SEMPRE acima da mídia e do scrim. */
.hero__inner {
  position: relative;
  z-index: 2;
}

/* Título por tracking (HERO-02): fica em UMA linha sob JS → a animação de
   letter-spacing NUNCA muda a altura do H1 (CLS FUND-03 intacto); o overflow
   do hero clipa qualquer transbordo horizontal transitório do tracking. */
.js-enabled .hero__title {
  white-space: nowrap;
}

/* Estados iniciais de reveal SÓ sob .js-enabled (no-JS mostra o estado final).
   O reduced-motion.css (por último) força .reveal/[data-reveal] a opacity:1 /
   transform:none — esta é a rede de segurança de a11y herdada. */
.js-enabled .hero__title.reveal {
  opacity: 0;
  letter-spacing: 0.1em; /* tracking inicial → anima p/ o base (-0.02em) */
}
.js-enabled .hero__tagline[data-reveal],
.js-enabled .hero__scroll-hint[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}

/* ----------------------------------------------------------------------------
   Loader de marca (HERO-04) — cobre só o 1º fold, com progresso do decode.
   OCULTO por padrão (base/no-JS/reduced). Só aparece quando o JS de produção
   marca .is-hero-loading no hero (caminho desktop). Se o JS falhar, o loader
   NUNCA cobre o conteúdo.
   ---------------------------------------------------------------------------- */
.hero__loader {
  display: none;
}
.js-enabled .hero.is-hero-loading .hero__loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--color-bg);
}
.hero__mark {
  font-family: var(--font-display);
  font-size: var(--fs-heading);
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.hero__bar-track {
  position: relative;
  width: min(240px, 60vw);
  height: 2px;
  background: var(--surface-2, rgba(255, 255, 255, 0.14));
  overflow: hidden;
  border-radius: 999px;
}
.hero__bar {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--color-accent, #3b82f6);
  transition: transform 0.2s linear;
}
/* ============================================================================
   Seções scrubadas de conteúdo (Fase 4 — SECT-03 macro + SECT-04 ecossistema)
   Fonte da verdade: 04-02-PLAN.md + RESEARCH Gap 4/5.

   Camadas por seção (z-index, de baixo p/ cima — mesmo padrão do hero.css):
     0 · poster  — img estática cover; fallback touch/reduced/no-JS (pinta sem JS)
     1 · canvas  — clipe scrubado; transparente até decodificar (só sob JS)
     2 · scrim   — gradiente de legibilidade sobre a mídia
     3 · conteúdo — texto/callouts/copy/CTA, sempre ACIMA da mídia

   Importado ANTES de reduced-motion.css no main.js (o reduced vence por cascata:
   força .reveal/[data-reveal] ao estado final e o poster fica visível estático).
   Os estados de reveal dos callouts/copy são dirigidos por GSAP (estilos inline
   gsap.fromTo) — sem estado inicial escondido no CSS: no-JS/mobile/reduced veem
   o texto completo por padrão (north-star intacto).
   ============================================================================ */

/* As duas seções viram palcos full-viewport com mídia em cover (o pin do scrub
   trava 100svh; no mobile/reduced o mesmo palco mostra o poster estático). */
.macro,
.ecossistema {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* Poster (fallback/LCP local da seção) e canvas em COVER sobre toda a seção. */
.macro__poster,
.macro__canvas,
.ecossistema__poster,
.ecossistema__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.macro__poster,
.ecossistema__poster {
  z-index: 0;
  object-fit: cover;
  object-position: center;
}
.macro__canvas,
.ecossistema__canvas {
  z-index: 1;
  opacity: 0; /* transparente no base/no-JS/touch → o poster mostra */
}
/* Sob JS, o canvas assume por cima do poster com fade curto quando pronto. */
.js-enabled .macro__canvas.is-ready,
.js-enabled .ecossistema__canvas.is-ready {
  opacity: 1;
  transition: opacity 0.6s var(--ease-soft, ease-out);
}

/* Scrim de legibilidade sobre a mídia escura (entre a mídia e o texto). */
.macro::before,
.ecossistema::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 11, 0.78) 0%,
    rgba(10, 10, 11, 0.38) 45%,
    rgba(10, 10, 11, 0.72) 100%
  );
}

/* Texto/callouts/copy/CTA SEMPRE acima da mídia e do scrim. */
.macro > .container,
.ecossistema__inner {
  position: relative;
  z-index: 3;
}

/* Estados de reveal dos callouts: opacity/transform dirigidos por GSAP (inline,
   ancorados ao pin). will-change só sob JS — dica de compositor p/ o scrub. */
.js-enabled .callout[data-reveal],
.js-enabled .ecossistema__copy.reveal {
  will-change: transform, opacity;
}
/* ============================================================================
   Reveals das seções de storytelling (Fase 4 — 04-03)
   Fonte da verdade: 04-03-PLAN.md + RESEARCH Gap 5.

   Estados INICIAIS dos reveals (opacity 0 + translate) SÓ sob .js-enabled: sem
   JS a página mostra tudo (north-star / FUND-05). Importado ANTES de
   reduced-motion.css no main.js — o reduced vence por cascata e força
   .reveal/[data-reveal] ao estado FINAL (opacity 1 / transform none), a rede de
   segurança de a11y (SplitText NÃO roda em reduced; o texto fica intacto).

   O JS (reveals.js) anima PARA o estado final via gsap.to (lê o computed como
   ponto de partida) — mesmo padrão provado no hero.css/hero.js.
   ============================================================================ */

/* --- SECT-05/06/07/08: stagger — estado inicial fade + rise (só sob JS) ----- */
.js-enabled #como-funciona .passo[data-reveal],
.js-enabled #garantia .garantia-item[data-reveal],
.js-enabled #prova-social .depoimento[data-reveal],
.js-enabled #cta-final .cta-final__inner[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  will-change: transform, opacity;
}

/* --- SECT-02: institucional — reveal por LINHA via SplitText -----------------
   O parent só começa invisível para evitar flash antes do split; a MÁSCARA das
   linhas (SplitText mask:'lines') é quem esconde/revela as linhas. Sem translate
   aqui: o movimento é das linhas (yPercent), não do bloco. */
.js-enabled #institucional [data-reveal] {
  opacity: 0;
}

/* --- SECT-01: contadores — reserva de largura contra CLS (PERF-04) -----------
   tabular-nums já vem do sections.css; inline-block permite o min-width que o
   counters.js aplica ao animar (degrada estático hoje, sem alterar largura). */
.js-enabled .stat__number {
  display: inline-block;
}

/* --- SECT-08: CTA final full-screen sobre o void ----------------------------
   O void (poster do hero reaproveitado) cobre a seção atrás do conteúdo, bem
   esmaecido; um scrim radial garante o contraste do headline + botão grande. */
.cta-final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-final__void {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.26;
  pointer-events: none;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    120% 92% at 50% 32%,
    rgba(10, 10, 11, 0.32) 0%,
    rgba(10, 10, 11, 0.82) 68%,
    rgba(10, 10, 11, 0.96) 100%
  );
}
.cta-final__inner {
  position: relative;
  z-index: 2;
  min-height: 100svh; /* full-screen (sections.css era 82svh) */
}

/* --- SECT-09: FAQ ------------------------------------------------------------
   O chevron JÁ rotaciona no [open] (sections.css, nativo — funciona sem JS). O
   enhancement de altura da resposta é feito por GSAP (reveals.js) ao abrir; o
   <details>/<summary> nativo (teclado/no-JS) permanece intacto. Nada a
   sobrescrever aqui além da dica de compositor para a animação de altura. */
.js-enabled .faq-item__a {
  will-change: height;
}
/* ============================================================================
   Reduced-Motion — o "segundo design" (FUND-04), cidadão de primeira classe
   Fonte da verdade: 01-UI-SPEC.md > Reduced-Motion & No-JS Contract;
   PITFALLS Pitfall 6 (reduced-motion não é afterthought).

   Importado POR ÚLTIMO no main.js: vence qualquer regra de movimento das fases
   futuras por ordem de cascata. Na Fase 1 a página já é estática — este bloco é
   a GARANTIA CONTRATUAL herdada pelas Fases 3–4 (scroll/GSAP): quando elas
   ligarem reveals/scrub/parallax, o "static path" abaixo força o estado final.
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  /* (a) Zera qualquer transition/animation (as únicas na Fase 1 são hovers CSS
         --dur-fast; nas fases futuras cobre reveals, contadores, scrub). */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  /* (b) Nenhum elemento fica em estado "pré-reveal". Qualquer utilitário de
         reveal que as Fases 3–4 venham a usar (data-reveal, .reveal, o hook
         .js-enabled dos reveals) é forçado ao estado FINAL: opacidade cheia e
         sem transform. A decoração some; o conteúdo permanece 100% completo. */
  [data-reveal],
  .reveal,
  .js-enabled [data-reveal],
  .js-enabled .reveal {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
  }

  /* (c) O carrossel de depoimentos permanece navegável (scroll-snap nativo por
         swipe/scroll, sem autoplay). Garante que nada suprima o overflow. */
  .depoimentos {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
  }

  /* (d) Fase 2 — Cards da vitrine no ESTADO FINAL imediato: sem fade/translateY/
         stagger de entrada, reflow instantâneo, skeleton estático (sem shimmer).
         CRÍTICO: nunca deixar card em opacity 0 (o north-star exige conteúdo
         visível; o card nasce opacity:0 no catalog.css à espera de .is-in). */
  .card,
  .card.is-in {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .vitrine__grid--switching {
    opacity: 1 !important;
  }
  .card__skeleton-media {
    animation: none !important;
    background: var(--surface-2) !important;
  }

  /* (e) Fase 2 — FAB WhatsApp: aparece/some INSTANTÂNEO (sem transição), mas a
         mesma lógica de scroll do wa-float.js continua ativa (WHTS-03). */
  .wa-float {
    transition: none !important;
  }
}
