/* =========================================================================
   Growth Club — Design System Tokens
   Light-first: Pub Cream surfaces + Growth Black text (default).
   Dark sections available via [data-theme="dark"] for hero/CTA/cover contexts.
   Amber Beer (CTA primary) + Pirate Teal (secondary accent).

   Brand anchor:
     "Franco, com número, sem palco, com cerveja."
     — Growth Club, ton-anchor locked 2026-04-22

   Editorial rule:
     "Se não tem número, não é Growth Club."
   ========================================================================= */

/* Fonts — Satoshi (display + body) + Roboto (mono) self-hosted */

/* =========================================================================
   LIGHT THEME (default) — Pub Cream bg, Growth Black text
   ========================================================================= */
:root {
  /* Background scale — warm neutrals, "luz de pub" */
  --bg-void:        #ECE7D6;   /* deepest (outer / section contrast) */
  --bg-base:        #F5F1E8;   /* main page background — Pub Cream */
  --bg-raised:      #FBF7EE;   /* cards, panels — warm white */
  --bg-sunken:      #ECE7D6;   /* inputs — slight recess */
  --bg-overlay:     #FBF7EE;   /* modals, menus */

  /* Foreground scale — warm-black, not pure */
  --fg-primary:     #0A0A0A;   /* headlines — Growth Black */
  --fg-secondary:   #2A2A28;   /* body — warm dark */
  --fg-tertiary:    #8B847E;   /* meta — Smoke Gray */
  --fg-muted:       #B8B3AC;   /* disabled */
  --fg-inverse:     #F5F1E8;   /* text on dark/accent surfaces */

  /* Accents — AD-008 reactivated (AD-017, 2026-05-24) */
  --accent-amber:        #D4A24C;
  --accent-amber-bright: #E5B45D;
  --accent-amber-dim:    #B88838;
  --accent-amber-soft:   rgba(212, 162, 76, 0.12);
  --accent-amber-glow:   rgba(212, 162, 76, 0.28);

  --accent-teal:        #4FB3A5;
  --accent-teal-bright: #6FC4B7;
  --accent-teal-dim:    #3A8F84;
  --accent-teal-soft:   rgba(79, 179, 165, 0.12);
  --accent-teal-glow:   rgba(79, 179, 165, 0.28);

  --accent-brick:       #B84A3E;
  --accent-brick-soft:  rgba(184, 74, 62, 0.10);

  /* Soft tints — AD-017 additions for Awake-style pastel cards */
  --tint-amber-soft:    #F2E2C0;
  --tint-teal-soft:     #CDEDE7;
  --tint-brick-soft:    #F4D5CF;
  --tint-warm-neutral:  #E8E2D0;
  --tint-sage-soft:     #DDE6E2;

  /* Legacy aliases — preserve old [violet/mint] class names */
  --accent-violet:        var(--accent-amber);
  --accent-violet-bright: var(--accent-amber-bright);
  --accent-violet-dim:    var(--accent-amber-dim);
  --accent-violet-soft:   var(--accent-amber-soft);
  --accent-violet-glow:   var(--accent-amber-glow);
  --accent-mint:        var(--accent-teal);
  --accent-mint-bright: var(--accent-teal-bright);
  --accent-mint-dim:    var(--accent-teal-dim);
  --accent-mint-soft:   var(--accent-teal-soft);
  --accent-mint-glow:   var(--accent-teal-glow);

  /* Borders — warm hairlines on light bg */
  --border-subtle:  rgba(10, 10, 10, 0.06);
  --border-default: rgba(10, 10, 10, 0.12);
  --border-strong:  rgba(10, 10, 10, 0.24);
  --border-accent:  var(--accent-amber);

  /* Semantic */
  --color-success:  #4FB3A5;        /* Pirate Teal */
  --color-warning:  #D4A24C;        /* Amber Beer */
  --color-danger:   #B84A3E;        /* Brick Red */
  --color-info:     var(--accent-teal);

  /* Data-viz — warm palette tuned for the GC */
  --data-1: #4FB3A5;   /* teal */
  --data-2: #D4A24C;   /* amber */
  --data-3: #B84A3E;   /* brick */
  --data-4: #8B847E;   /* smoke */
  --data-5: #2A6F66;   /* deep teal */
  --data-6: #8E6B33;   /* deep amber */

  --grid-line: rgba(10, 10, 10, 0.05);

  /* Gradients — warm, editorial */
  --gradient-hero:
    radial-gradient(ellipse at top left, var(--accent-amber-soft) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, var(--accent-teal-soft) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-void) 100%);
  --gradient-amber-fade:
    linear-gradient(135deg, var(--accent-amber) 0%, var(--bg-base) 100%);
  --gradient-teal-fade:
    linear-gradient(135deg, var(--accent-teal) 0%, var(--bg-base) 100%);
  --gradient-architect:
    linear-gradient(135deg, #ECE7D6 0%, #F5F1E8 50%, #E8E2D0 100%);
  /* Legacy aliases */
  --gradient-purple-fade: var(--gradient-amber-fade);
  --gradient-mint-fade:   var(--gradient-teal-fade);

  /* Elevation — soft drops, no glows in light */
  --glow-teal:    0 0 0 4px var(--accent-teal-soft);
  --glow-amber:   0 0 0 4px var(--accent-amber-soft);
  --glow-mint:    var(--glow-teal);
  --glow-violet:  var(--glow-amber);
  --glow-purple:  var(--glow-amber);
  --shadow-flat:  0 1px 2px rgba(10, 10, 10, 0.04);
  --shadow-raised:
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 8px 24px rgba(10, 10, 10, 0.08);
  --shadow-overlay:
    0 2px 4px rgba(10, 10, 10, 0.06),
    0 24px 48px rgba(10, 10, 10, 0.14);

  color-scheme: light;
}

/* =========================================================================
   DARK SECTIONS — Growth Black for hero/cover/CTA-final contexts
   "Dark mode nunca vive sozinho — só como contraste pontual dentro do fluxo light."
   ========================================================================= */
[data-theme="dark"] {
  /* Background scale — Growth Black */
  --bg-void:        #000000;   /* deepest */
  --bg-base:        #0A0A0A;   /* main bg — Growth Black */
  --bg-raised:      #16140F;   /* cards, panels — warm-black */
  --bg-sunken:      #050505;   /* inputs, code blocks */
  --bg-overlay:     #1F1C16;   /* modals, menus */

  /* Foreground scale */
  --fg-primary:     #F5F1E8;   /* headlines — Pub Cream */
  --fg-secondary:   #D6D1C2;   /* body */
  --fg-tertiary:    #8B847E;   /* metadata — Smoke Gray */
  --fg-muted:       #4A453F;   /* disabled, placeholders */
  --fg-inverse:     #0A0A0A;   /* text on light/accent surfaces */

  /* Primary accent — AMBER (brighter on dark for contrast) */
  --accent-amber:        #E5B45D;
  --accent-amber-bright: #F2C77A;   /* hover */
  --accent-amber-dim:    #B88838;   /* press */
  --accent-amber-soft:   rgba(229, 180, 93, 0.16);
  --accent-amber-glow:   rgba(229, 180, 93, 0.45);

  /* Secondary accent — TEAL (brighter on dark) */
  --accent-teal:        #5FC9BB;
  --accent-teal-bright: #82D8CC;
  --accent-teal-dim:    #3A8F84;
  --accent-teal-soft:   rgba(95, 201, 187, 0.14);
  --accent-teal-glow:   rgba(95, 201, 187, 0.40);

  /* Legacy aliases */
  --accent-violet:        var(--accent-amber);
  --accent-violet-bright: var(--accent-amber-bright);
  --accent-violet-dim:    var(--accent-amber-dim);
  --accent-violet-soft:   var(--accent-amber-soft);
  --accent-violet-glow:   var(--accent-amber-glow);
  --accent-mint:        var(--accent-teal);
  --accent-mint-bright: var(--accent-teal-bright);
  --accent-mint-dim:    var(--accent-teal-dim);
  --accent-mint-soft:   var(--accent-teal-soft);
  --accent-mint-glow:   var(--accent-teal-glow);

  /* Borders */
  --border-subtle:  rgba(245, 241, 232, 0.06);
  --border-default: rgba(245, 241, 232, 0.10);
  --border-strong:  rgba(245, 241, 232, 0.22);
  --border-accent:  var(--accent-teal);

  /* Semantic */
  --color-success:  #5FC9BB;
  --color-warning:  #E5B45D;
  --color-danger:   #D85A4D;
  --color-info:     var(--accent-amber);

  /* Data-viz ramp */
  --data-1: #5FC9BB;
  --data-2: #E5B45D;
  --data-3: #D85A4D;
  --data-4: #8B847E;
  --data-5: #82D8CC;
  --data-6: #F2C77A;

  /* Grid / hairline */
  --grid-line: rgba(245, 241, 232, 0.04);

  /* Gradients for dark hero contexts */
  --gradient-hero:
    radial-gradient(ellipse at top left, var(--accent-amber-glow) 0%, transparent 45%),
    radial-gradient(ellipse at bottom right, var(--accent-teal-glow) 0%, transparent 45%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-void) 100%);
  --gradient-amber-fade:
    linear-gradient(135deg, var(--accent-amber) 0%, var(--bg-base) 100%);
  --gradient-teal-fade:
    linear-gradient(135deg, var(--accent-teal) 0%, var(--bg-base) 100%);
  --gradient-architect:
    linear-gradient(135deg, #2A2014 0%, #0A0A0A 50%, #0F2622 100%);
  --gradient-purple-fade: var(--gradient-amber-fade);
  --gradient-mint-fade:   var(--gradient-teal-fade);

  /* Elevation — warm glows for dark sections */
  --glow-teal:    0 0 32px rgba(95, 201, 187, 0.40);
  --glow-amber:   0 0 32px rgba(229, 180, 93, 0.45);
  --glow-mint:    var(--glow-teal);
  --glow-violet:  var(--glow-amber);
  --glow-purple:  var(--glow-amber);
  --shadow-flat:  inset 0 1px 0 rgba(245, 241, 232, 0.04);
  --shadow-raised:
    inset 0 1px 0 rgba(245, 241, 232, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-overlay:
    inset 0 1px 0 rgba(245, 241, 232, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.7);

  color-scheme: dark;
}

/* =========================================================================
   STATIC (theme-agnostic) — type, spacing, radii, motion

   TYPOGRAPHY — Satoshi best practices (calibrated to this typeface):
   • Variable font (wght 300–900). Use `font-variation-settings` for the
     production-perfect weight, or fall back to `font-weight` (already
     mapped to the same axis).
   • Tracking scales INVERSELY with size: bigger needs tighter.
       ≥100px → -0.045 / -0.05em (--ls-hairline)
        56–96 → -0.04em            (--ls-tightest)
        32–48 → -0.025 / -0.03em   (--ls-display)
        20–28 → -0.018 / -0.02em   (--ls-tight)
        15–18 →  0 to -0.01em      (--ls-normal)
         ≤14 →  0 to +0.01em
        UPPER → +0.08em to +0.16em (--ls-label / --ls-wide-loud)
   • Leading: 0.92 for display (--lh-display), 1.0 (--lh-tight) for
     mega marquee, 1.15 (--lh-snug) for h1-h3, 1.45 (--lh-normal) for
     subheads, 1.6 (--lh-relaxed) for paragraphs.
   • Weight pairing: Black (900) for display, Bold (700) for headings,
     Medium (500) for emphasized body / buttons, Regular (400) for body.
   • OpenType: kern + liga always; tnum for numbers in dashboards / KPIs
     (use `[data-num]` or `.t-num`); ss01 for display (single-story 'a').
   • Italic: only via real Satoshi italic file; use for book/song titles,
     foreign words, sentence-level emphasis. NEVER on UI labels.
   ========================================================================= */
:root {
  /* Stack — Satoshi (display + body) + Roboto (mono). Migrated from
     Archivo Black + Inter via AD-006 (2026-05-17). */
  --font-display: 'Satoshi', sans-serif;
  --font-body:    'Satoshi', sans-serif;
  --font-mono:    'Roboto', monospace;

  /* Weight axis stops */
  --fw-light:     300;
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-bold:      700;
  --fw-black:     900;

  /* Font sizes */
  --fs-display-xl: clamp(56px, 8vw, 120px);
  --fs-display-l:  clamp(44px, 6vw, 88px);
  --fs-display-m:  clamp(36px, 4.5vw, 64px);
  --fs-display-s:  clamp(28px, 3.6vw, 44px);

  --fs-h1: 48px;
  --fs-h2: 36px;
  --fs-h3: 28px;
  --fs-h4: 22px;
  --fs-h5: 18px;
  --fs-h6: 15px;

  --fs-body-lg: 18px;
  --fs-body:    16px;
  --fs-body-sm: 14px;
  --fs-caption: 12px;
  --fs-micro:   11px;

  /* Line-heights */
  --lh-display:  0.92;
  --lh-tight:    1.0;
  --lh-snug:     1.15;
  --lh-normal:   1.45;
  --lh-relaxed:  1.6;
  --lh-loose:    1.8;

  /* Letter-spacing */
  --ls-hairline:  -0.05em;
  --ls-tightest:  -0.04em;
  --ls-display:   -0.025em;
  --ls-tight:     -0.018em;
  --ls-snug:      -0.01em;
  --ls-normal:     0;
  --ls-wide:       0.04em;
  --ls-label:      0.08em;
  --ls-loud:       0.16em;

  --space-0:   0;
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-16:  64px;
  --space-20:  80px;
  --space-24:  96px;
  --space-32:  128px;

  --radius-none: 0;
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   10px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-pill: 999px;
  --radius-full: 999px;

  --ease-out:    cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-linear: linear;

  --dur-instant: 80ms;
  --dur-fast:    160ms;
  --dur-med:     240ms;
  --dur-slow:    400ms;

  --container-xs:  480px;
  --container-sm:  720px;
  --container-md:  960px;
  --container-lg:  1200px;
  --container-xl:  1440px;
  --container-max: 1680px;

  --z-base:    0;
  --z-raised:  10;
  --z-sticky:  100;
  --z-overlay: 1000;
  --z-modal:   2000;
  --z-toast:   3000;

  --bg-overlay-dark: rgba(10, 10, 10, 0.80);
}

/* =========================================================================
   SEMANTIC TYPE ROLES — Satoshi-tuned
   ========================================================================= */

.t-display-xl {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-variation-settings: 'wght' 900;
  font-size: var(--fs-display-xl); line-height: var(--lh-display);
  letter-spacing: var(--ls-hairline); color: var(--fg-primary);
  font-feature-settings: 'kern' 1, 'liga' 1, 'ss01' 1;
  text-wrap: balance;
}
.t-display-l {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-variation-settings: 'wght' 900;
  font-size: var(--fs-display-l); line-height: var(--lh-display);
  letter-spacing: var(--ls-tightest); color: var(--fg-primary);
  font-feature-settings: 'kern' 1, 'liga' 1, 'ss01' 1;
  text-wrap: balance;
}
.t-display-m {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-variation-settings: 'wght' 900;
  font-size: var(--fs-display-m); line-height: var(--lh-tight);
  letter-spacing: var(--ls-tightest); color: var(--fg-primary);
  text-wrap: balance;
}
.t-display-s {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-variation-settings: 'wght' 900;
  font-size: var(--fs-display-s); line-height: var(--lh-snug);
  letter-spacing: var(--ls-display); color: var(--fg-primary);
  text-wrap: balance;
}

h1, .t-h1 { font-family: var(--font-display); font-weight: var(--fw-bold); font-variation-settings:'wght' 700; font-size: var(--fs-h1); line-height: var(--lh-snug);   letter-spacing: var(--ls-display); color: var(--fg-primary); text-wrap: balance; }
h2, .t-h2 { font-family: var(--font-display); font-weight: var(--fw-bold); font-variation-settings:'wght' 700; font-size: var(--fs-h2); line-height: var(--lh-snug);   letter-spacing: var(--ls-display); color: var(--fg-primary); text-wrap: balance; }
h3, .t-h3 { font-family: var(--font-display); font-weight: var(--fw-bold); font-variation-settings:'wght' 700; font-size: var(--fs-h3); line-height: var(--lh-snug);   letter-spacing: var(--ls-tight);   color: var(--fg-primary); text-wrap: balance; }
h4, .t-h4 { font-family: var(--font-display); font-weight: var(--fw-bold); font-variation-settings:'wght' 700; font-size: var(--fs-h4); line-height: var(--lh-normal); letter-spacing: var(--ls-tight);   color: var(--fg-primary); }
h5, .t-h5 { font-family: var(--font-display); font-weight: var(--fw-medium); font-variation-settings:'wght' 500; font-size: var(--fs-h5); line-height: var(--lh-normal); letter-spacing: var(--ls-snug);   color: var(--fg-primary); }
h6, .t-h6 { font-family: var(--font-display); font-weight: var(--fw-medium); font-variation-settings:'wght' 500; font-size: var(--fs-h6); line-height: var(--lh-normal); letter-spacing: var(--ls-normal);  color: var(--fg-primary); }

p, .t-body { font-family: var(--font-body); font-weight: var(--fw-regular); font-variation-settings:'wght' 400; font-size: var(--fs-body);    line-height: var(--lh-relaxed); color: var(--fg-secondary); text-wrap: pretty; }
.t-body-lg { font-family: var(--font-body); font-weight: var(--fw-regular); font-variation-settings:'wght' 400; font-size: var(--fs-body-lg); line-height: var(--lh-relaxed); color: var(--fg-secondary); text-wrap: pretty; }
.t-body-sm { font-family: var(--font-body); font-weight: var(--fw-regular); font-variation-settings:'wght' 400; font-size: var(--fs-body-sm); line-height: var(--lh-normal);  color: var(--fg-secondary); }

.t-lead { font-family: var(--font-body); font-weight: var(--fw-medium); font-variation-settings:'wght' 500; font-size: var(--fs-body-lg); line-height: 1.5; color: var(--fg-secondary); letter-spacing: var(--ls-snug); }

.t-label   { font-family: var(--font-body); font-weight: var(--fw-medium); font-variation-settings:'wght' 500; font-size: var(--fs-caption); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--fg-tertiary); }
.t-eyebrow { font-family: var(--font-mono); font-weight: var(--fw-medium); font-size: var(--fs-caption); letter-spacing: var(--ls-loud); text-transform: uppercase; color: var(--accent-teal); }
.t-caption { font-family: var(--font-body); font-weight: var(--fw-regular); font-variation-settings:'wght' 400; font-size: var(--fs-caption); line-height: var(--lh-normal); color: var(--fg-tertiary); }
.t-mono    { font-family: var(--font-mono); font-weight: var(--fw-regular); font-size: var(--fs-body-sm); color: var(--fg-secondary); }

.t-num     { font-feature-settings: 'kern' 1, 'tnum' 1, 'cv01' 1; font-variant-numeric: tabular-nums slashed-zero; }

.t-accent        { color: var(--accent-teal); }
.t-accent-amber  { color: var(--accent-amber); }
/* Legacy alias preserved */
.t-accent-violet { color: var(--accent-amber); }

html {
  scrollbar-gutter: stable;
  /* Configuração nativa para navegadores modernos */
  scrollbar-color: var(--accent-amber) var(--bg-sunken);
  scrollbar-width: thin;
}

/* Fallback para motores WebKit antigos (Safari legados, Chrome antigo) */
@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: var(--bg-sunken);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--accent-amber);
    border-radius: var(--radius-pill);
    border: 2px solid var(--bg-sunken);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--accent-amber-bright);
  }
}

html, body {
  background: var(--bg-base);
  color: var(--fg-secondary);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent-amber-glow); color: var(--fg-primary); }
[data-theme="dark"] ::selection { background: var(--accent-amber); color: var(--bg-base); }

/* =========================================================================
   CROSS-DOCUMENT VIEW TRANSITIONS — auto cross-fade between pages.
   Progressive enhancement: degrades to no animation in Firefox/older.
   Honors prefers-reduced-motion.
   ========================================================================= */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 240ms;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  }
}
/* =========================================================================
   Growth Club — Components (canonical UI Kit + retrocompat with v1)

   AD-008 light-first classes retained for backwards compat (other pages
   still use .btn-primary, .card, .cards-grid, .split-two, etc.).

   Canonical UI Kit classes (from brand-adapt/.../ui_kits/website/) added
   alongside: .wrap, .btn.primary/.btn.ghost, .eyebrow, .eye-label,
   .kicker, .sec-head, .stats-row, .problem-grid, .layers, .timeline,
   .manifesto-big, .quote-section, .cta-final, .cta-inline, .hero-sub,
   .crumb, .toc, .prose, .pull, .author-strip, .meta-row, .inline-arrow,
   h1.mega, h1.page-title.

   Light-first: html sem data-theme = tokens light (Pub Cream + Growth Black).
   Dark via data-theme="dark" em sections especificas (hero da home + cta-final).
   ========================================================================= */

/* =========================================================================
   GLOBAL RESETS — applied site-wide (UI kit style)
   ========================================================================= */
* { box-sizing: border-box; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
p, li { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
/* ::selection is defined in tokens.css with light + dark variants */

/* =========================================================================
   CONTAINERS — canonical .wrap + legacy .container family
   ========================================================================= */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.container {
  width: 100%;
  max-width: var(--container-lg);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container-narrow { max-width: var(--container-md); }
.container-prose  { max-width: var(--container-sm); }

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

/* =========================================================================
   SECTION SPACING (legacy) + scroll anchors
   ========================================================================= */
.section    { padding-block: var(--space-16); }
.section-sm { padding-block: var(--space-10); }
.section-lg { padding-block: var(--space-20); }
.section-alt { background: var(--bg-void); }

.anchor-section {
  scroll-margin-top: 5rem;
  padding-block: var(--space-12);
  border-top: 1px solid var(--border-subtle);
}
.anchor-section:first-of-type { border-top: 0; }

@media (max-width: 768px) {
  .section, .section-lg { padding-block: var(--space-10); }
  .section-sm { padding-block: var(--space-8); }
}

/* =========================================================================
   LINKS — default behavior (kept light from v1, dark inherits from theme)
   ========================================================================= */
a {
  color: var(--accent-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-thickness: 2px; color: var(--accent-teal-bright); }
a:focus-visible { outline: 2px solid var(--accent-amber); outline-offset: 2px; }

/* Canonical pattern: most chrome/cards links use inherit + no underline */
.wrap a,
.nav a,
.nav-cta,
.btn,
.toc a,
.foot-top a,
.foot-col a,
.foot-brand a,
.foot-bottom a,
.layer a,
.crumb a,
.cta-inline a,
.cta-final a,
.hero a,
.hero-sub a,
.hero-ctas a,
.author-strip a,
.problem-grid a,
.p-card a,
.tl-cell a {
  color: inherit;
  text-decoration: none;
}
.wrap a:hover,
.foot-col a:hover,
.toc a:hover,
.nav a:hover,
.crumb a:hover { text-decoration: none; }

/* =========================================================================
   BUTTONS — canonical .btn.primary/.ghost + legacy .btn-primary/.btn-secondary
   ========================================================================= */
.btn {
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: 160ms var(--ease-out);
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1;
}
.btn:focus-visible { outline: 2px solid var(--accent-amber); outline-offset: 2px; }

/* Canonical variants */
.btn.primary {
  background: var(--accent-amber);
  color: var(--fg-inverse);
}
.btn.primary:hover {
  background: var(--accent-amber-bright);
  box-shadow: var(--glow-amber);
  color: var(--fg-inverse);
}
.btn.ghost {
  background: transparent;
  color: var(--fg-primary);
  border-color: var(--border-strong);
}
.btn.ghost:hover {
  background: var(--bg-raised);
  border-color: var(--fg-primary);
  color: var(--fg-primary);
}

/* Legacy variants (other HTMLs still reference these) */
.btn-primary {
  background: var(--accent-amber);
  color: var(--fg-inverse);
  padding: 14px 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 160ms var(--ease-out);
}
.btn-primary:hover {
  background: var(--accent-amber-bright);
  box-shadow: var(--glow-amber);
  color: var(--fg-inverse);
}
.btn-secondary {
  background: transparent;
  color: var(--fg-primary);
  border: 1px solid var(--border-strong);
  padding: 14px 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: 160ms var(--ease-out);
}
.btn-secondary:hover {
  background: var(--bg-raised);
  border-color: var(--fg-primary);
  color: var(--fg-primary);
}
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* =========================================================================
   EYEBROW + LABELS — mono caps with accent line/color
   ========================================================================= */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent-teal);
}

.eye-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-teal);
}

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 20px;
}
.kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent-teal);
}

/* =========================================================================
   SECTION HEADER (canonical) — .sec-head with eye-label + h2 + side note
   ========================================================================= */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 56px;
  gap: 40px;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--fg-primary);
  max-width: 22ch;
  margin-top: 12px;
}
.sec-head h2 em {
  font-style: normal;
  color: var(--accent-amber);
}
.sec-head .sec-note {
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-tertiary);
}

@media (max-width: 768px) {
  .sec-head { flex-direction: column; align-items: start; gap: 20px; }
}

/* =========================================================================
   HERO (canonical) — dark, left-aligned, with stats-row
   ========================================================================= */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  text-align: left;
  background: var(--bg-base);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 30%, var(--accent-amber-glow) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 80%, var(--accent-teal-glow) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
}
h1.mega {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(54px, 7vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--fg-primary);
  max-width: 14ch;
  margin-bottom: 24px;
}
h1.mega em {
  font-style: normal;
  color: var(--accent-amber);
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  max-width: 58ch;
  color: var(--fg-secondary);
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Retrocompat: pages still using `<section class="hero">` without
   the canonical inner-shape (`.hero-inner`, `h1.mega`, etc.) need
   their content visible. We keep generic h1/p readable. */
.hero h1:not(.mega):not(.page-title) {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-variation-settings: 'wght' 900;
  font-size: var(--fs-display-l);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-hairline);
  color: var(--fg-primary);
  max-width: 18ch;
  text-wrap: balance;
  margin-bottom: 20px;
}
.hero p:not(.lede):not(.sub):not(.page-lede) {
  color: var(--fg-secondary);
  font-size: var(--fs-body-lg);
  max-width: 60ch;
  margin-bottom: 24px;
}
.hero .container .btn,
.hero .container .btn-primary,
.hero .container .btn-secondary { margin-top: 8px; }

/* =========================================================================
   HERO-SUB (canonical sub-page hero)
   ========================================================================= */
.hero-sub {
  padding: 56px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-sub::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 20% 30%, var(--accent-amber-glow) 0%, transparent 60%);
  pointer-events: none;
}
.hero-sub .wrap,
.hero-sub .container { position: relative; z-index: 1; }

h1.page-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--fg-primary);
  max-width: 14ch;
}
h1.page-title em {
  font-style: normal;
  color: var(--accent-amber);
}

.page-lede {
  margin-top: 28px;
  font-size: 20px;
  line-height: 1.55;
  max-width: 58ch;
  color: var(--fg-secondary);
}

/* =========================================================================
   STATS ROW — 5 stats horizontal
   ========================================================================= */
.stats-row {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-default);
}
.stat .n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--fg-primary);
  font-feature-settings: 'tnum' 1;
}
.stat .n em {
  font-style: normal;
  color: var(--accent-amber);
}
.stat .l {
  margin-top: 10px;
  font-size: 12px;
  color: var(--fg-tertiary);
  line-height: 1.5;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* =========================================================================
   PROBLEM GRID — 4 cards on a thin grid background
   ========================================================================= */
.problem {
  padding: 120px 0;
  background: var(--bg-void);
  border-top: 1px solid var(--border-subtle);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-default);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
}
.p-card {
  background: var(--bg-raised);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
}
.p-card .n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-teal);
}
.p-card svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
  color: var(--accent-amber);
  transition: color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.p-card:hover svg {
  color: var(--accent-amber-bright);
  transform: scale(1.08);
}
.p-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
  line-height: 1.25;
}
.p-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-secondary);
}

@media (max-width: 900px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   LAYERS — 4 espaços (rows 80px + 1fr + 1fr)
   ========================================================================= */
.layers {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.layers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 80% 20%, var(--accent-amber-soft) 0%, transparent 60%);
  pointer-events: none;
}
.layers .wrap,
.layers .container { position: relative; z-index: 1; }

.layers-head { margin-bottom: 64px; max-width: 20ch; }
.layers-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg-primary);
  margin-top: 12px;
}
.layers-head h2 em {
  font-style: normal;
  color: var(--accent-amber);
}

.layer-rows {
  display: flex;
  flex-direction: column;
}
.layer {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  align-items: start;
  transition: background 200ms var(--ease-out);
}
.layer:last-child { border-bottom: 1px solid var(--border-subtle); }
.layer:hover { background: linear-gradient(90deg, rgba(212, 162, 76, 0.04), transparent); }

.layer .n {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent-teal);
  padding-top: 6px;
}
.layer h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg-primary);
}
.layer h3 em {
  font-style: normal;
  color: var(--accent-amber);
}
.layer .layer-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  margin-top: 10px;
}
.layer p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-secondary);
  margin-bottom: 14px;
}
.layer p:last-child { margin-bottom: 0; }
.layer p strong {
  color: var(--fg-primary);
  font-weight: 500;
}

@media (max-width: 900px) {
  .layer {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* =========================================================================
   TIMELINE — 4 cells horizontal
   ========================================================================= */
.timeline {
  padding: 120px 0;
  background: var(--bg-void);
  border-top: 1px solid var(--border-subtle);
}
.tl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-default);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 48px;
}
.tl-cell {
  background: var(--bg-raised);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 240px;
}
.tl-cell .when {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-teal);
}
.tl-cell h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
  line-height: 1.2;
}
.tl-cell p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-secondary);
}
.tl-cell code {
  font-family: var(--font-mono);
  color: var(--accent-amber);
  font-size: 13px;
}

@media (max-width: 900px) {
  .tl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .tl-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   MANIFESTO BIG — gradient-architect background statement
   ========================================================================= */
.manifesto-big {
  padding: 140px 0;
  background: var(--gradient-architect);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.manifesto-big::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-amber-glow) 0%, transparent 50%);
  opacity: 0.4;
  pointer-events: none;
}
.manifesto-big .wrap,
.manifesto-big .container { position: relative; z-index: 1; }

.manifesto-big h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg-primary);
  max-width: 16ch;
}
.manifesto-big h2 em {
  font-style: normal;
  color: var(--accent-amber);
}
.manifesto-big .sub {
  margin-top: 28px;
  font-size: 18px;
  max-width: 54ch;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* =========================================================================
   QUOTE SECTION — display blockquote + mono cite
   ========================================================================= */
.quote-section {
  padding: 120px 0;
  border-top: 1px solid var(--border-subtle);
}
.quote-section blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg-primary);
  max-width: 22ch;
  margin: 0;
}
.quote-section blockquote em {
  font-style: normal;
  color: var(--accent-amber);
}
.quote-section cite {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}
.quote-section cite::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--accent-teal);
}

/* =========================================================================
   CTA FINAL — centered, with amber radial glow
   ========================================================================= */
.cta-final {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, var(--accent-amber-soft) 0%, transparent 70%),
    var(--bg-base);
  border-top: 1px solid var(--border-subtle);
}
.cta-final .wrap,
.cta-final .container { text-align: center; }

.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--fg-primary);
  margin: 0 auto 24px;
  max-width: 18ch;
}
.cta-final h2 em {
  font-style: normal;
  color: var(--accent-amber);
}
.cta-final p {
  font-size: 17px;
  max-width: 48ch;
  margin: 0 auto 36px;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* =========================================================================
   CTA INLINE — sub-page bottom call-to-action
   ========================================================================= */
.cta-inline {
  padding: 96px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at center, var(--accent-amber-soft) 0%, transparent 70%);
}
.cta-inline h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--fg-primary);
  margin: 0 auto 20px;
  max-width: 22ch;
}
.cta-inline h2 em {
  font-style: normal;
  color: var(--accent-amber);
}
.cta-inline p {
  font-size: 16px;
  color: var(--fg-secondary);
  max-width: 48ch;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* =========================================================================
   BREADCRUMB — mono small caps for sub-pages
   ========================================================================= */
.crumb {
  padding: 28px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
}
.crumb a { color: var(--fg-tertiary); }
.crumb a:hover { color: var(--accent-teal); }
.crumb .sep { margin: 0 10px; color: var(--border-strong); }
.crumb .curr { color: var(--accent-teal); }

/* =========================================================================
   META ROW — sub-page meta strip (published / reading time / category)
   ========================================================================= */
.meta-row {
  margin-top: 48px;
  display: flex;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-default);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  flex-wrap: wrap;
}
.meta-row b {
  color: var(--fg-primary);
  font-weight: 500;
}

/* =========================================================================
   ARTICLE / TOC / PROSE — sub-page layout
   ========================================================================= */
.article {
  padding: 24px 0 120px;
}
.article .layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 96px;
}
.toc h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  margin-bottom: 16px;
  font-weight: 500;
}
.toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid var(--border-default);
  padding: 0;
}
.toc a {
  padding-left: 16px;
  font-size: 13px;
  color: var(--fg-tertiary);
  display: block;
  line-height: 1.4;
  transition: 160ms var(--ease-out);
  margin-left: -1px;
  border-left: 1px solid transparent;
}
.toc a:hover,
.toc a.active {
  color: var(--fg-primary);
  border-left-color: var(--accent-amber);
}

.prose {
  max-width: 64ch;
}
.prose section {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
}
.prose section:first-child {
  border-top: 0;
  padding-top: 24px;
}
.prose .s-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-teal);
  margin-bottom: 14px;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--fg-primary);
  margin-bottom: 24px;
}
.prose h2 em {
  font-style: normal;
  color: var(--accent-amber);
}
.prose p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-secondary);
  margin-bottom: 18px;
}
.prose p strong {
  color: var(--fg-primary);
  font-weight: 500;
}
.prose p em.amber { color: var(--accent-amber); font-style: normal; }
.prose p em.teal { color: var(--accent-teal); font-style: normal; }

.prose blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--bg-raised);
  border-left: 3px solid var(--accent-amber);
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--fg-primary);
}
.prose blockquote em {
  color: var(--accent-amber);
  font-style: normal;
}

@media (max-width: 900px) {
  .article .layout { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
}

/* =========================================================================
   PULL QUOTE — large editorial pull
   ========================================================================= */
.pull {
  margin: 56px -40px;
  padding: 64px 40px;
  background: var(--bg-void);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.pull::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--accent-amber-glow) 0%, transparent 60%);
}
.pull .q-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 72px;
  line-height: 0.5;
  color: var(--accent-amber);
  margin-bottom: -10px;
}
.pull p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg-primary);
  max-width: 22ch;
  position: relative;
  z-index: 1;
}
.pull p em {
  color: var(--accent-amber);
  font-style: normal;
}

/* =========================================================================
   AUTHOR STRIP — small author block
   ========================================================================= */
.author-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 16px 0;
}
.author-strip .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--fg-inverse);
  font-size: 14px;
}
.author-strip .meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.author-strip .who {
  font-size: 14px;
  color: var(--fg-primary);
  font-weight: 500;
}
.author-strip .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-tertiary);
  text-transform: uppercase;
}

/* =========================================================================
   FAQ — native <details name="faq"> exclusive accordion
   ========================================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.faq-list details {
  border-top: 1px solid var(--border-default);
  padding: 22px 0;
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--border-default);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--fg-primary);
  outline: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--accent-amber);
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 200ms var(--ease-out);
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list summary:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 4px;
  border-radius: 2px;
}
.faq-list details > :not(summary) {
  margin-top: 12px;
  color: var(--fg-secondary);
  font-size: 15px;
  line-height: 1.6;
}
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .faq-list details::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size 240ms var(--ease-out), content-visibility 240ms allow-discrete;
      interpolate-size: allow-keywords;
    }
    .faq-list details[open]::details-content {
      block-size: auto;
    }
  }
}

/* =========================================================================
   ICONS — SVG sprite consumer (replaces Lucide CDN runtime).
   Use as: <svg class="icon" aria-hidden="true"><use href="/assets/icons.svg#NAME"/></svg>
   ========================================================================= */
.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.125em;
  flex-shrink: 0;
  transition: transform 160ms var(--ease-out);
}
/* Buttons + nav-cta scale up the icon slightly for visual weight */
.btn .icon,
.nav-cta .icon { width: 1.05em; height: 1.05em; }

/* Inline arrow ornament: keep working for legacy class + animate any icon
   inside a button-shaped element on hover */
.inline-arrow {
  display: inline-block;
  transition: transform 160ms var(--ease-out);
}
a:hover .inline-arrow,
.btn:hover .inline-arrow,
.btn:hover .icon,
.nav-cta:hover .icon { transform: translate(3px, -3px); }

/* =========================================================================
   AMBER UTILITY — used in footer copyright period etc.
   ========================================================================= */
.amber { color: var(--accent-amber); }
.teal  { color: var(--accent-teal); }

/* =========================================================================
   LEGACY COMPONENTS (preserved for v1 sub-pages) — card, split-two,
   pill, field, form, proof-bar, subgroup-label
   ========================================================================= */

/* Card */
.card {
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.card:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
  box-shadow: var(--shadow-raised);
}
.card h3 { font-size: var(--fs-h5); margin-bottom: var(--space-2); }
.card p  { color: var(--fg-secondary); font-size: var(--fs-body-sm); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--space-4);
}

/* Pill / badge */
.pill {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  border-radius: var(--radius-pill);
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  color: var(--fg-tertiary);
}
.pill-warning {
  background: var(--accent-amber-soft);
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

/* Form fields */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field label {
  font-size: var(--fs-caption);
  color: var(--fg-tertiary);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-sunken);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--fg-primary);
  font-size: var(--fs-body);
  font-family: var(--font-body);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--accent-amber); }
.field select:focus-visible { outline: 2px solid var(--accent-amber); outline-offset: 1px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--fg-tertiary); }

.field textarea { resize: vertical; min-height: 8rem; }

.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-body-sm);
  color: var(--fg-secondary);
}
.field-checkbox input {
  width: auto;
  margin-top: 0.2em;
}

.form-newsletter {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: stretch;
}
.form-newsletter input { flex: 1 1 14rem; min-width: 0; }
.form-newsletter button { flex: 0 0 auto; }

/* Split two (legacy) */
.split-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.split-two > * {
  padding: var(--space-5);
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}
.split-two h3 {
  color: var(--accent-teal);
  margin-bottom: var(--space-3);
}
.split-two ul {
  list-style: none;
  padding: 0;
}
.split-two li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--fg-secondary);
}
.split-two li:last-child { border-bottom: 0; }

@media (max-width: 640px) {
  .split-two { grid-template-columns: 1fr; }
}

/* Proof bar (legacy) */
.proof-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: center;
  padding-block: var(--space-6);
  border-block: 1px solid var(--border-subtle);
}
.proof-bar .proof-item { text-align: center; }
.proof-bar .proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-variation-settings: 'wght' 900;
  font-size: var(--fs-h1);
  line-height: var(--lh-display);
  color: var(--accent-amber);
  letter-spacing: var(--ls-tightest);
}
.proof-bar .proof-item span {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--fs-body-sm);
  color: var(--fg-tertiary);
}

/* Subgroup label (legacy) */
.subgroup-label {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-loud);
  color: var(--accent-teal);
  margin-bottom: var(--space-3);
}

/* Stack / cluster utilities */
.stack > * + * { margin-top: var(--space, var(--space-5)); }
.stack-sm > * + * { margin-top: var(--space-3); }
.stack-lg > * + * { margin-top: var(--space-8); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--gap, var(--space-4)); align-items: center; }

/* Accessibility */
.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;
}

/* =========================================================================
   =========================================================================
   FRONTEND-DESIGN REFINEMENT PASS — 2026-05-17
   "Editorial NYT × craft brewery menu × technical doc."
   CSS-only refinements: zero HTML changes required.
   "Franco, com número, sem palco, com cerveja" aplicado em micro-detalhes.
   =========================================================================
   ========================================================================= */

/* ---- 1 · GRAIN TEXTURE — paper-like atmosphere ------------------------ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='240' height='240' filter='url(%23n)' opacity='1'/></svg>");
}

/* ---- 2 · ENTRANCE ANIMATIONS — one-shot stagger ----------------------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > *,
  .hero-sub > .wrap > *,
  .cta-final > .wrap > * {
    opacity: 0;
    animation: fade-up 720ms var(--ease-out) forwards;
  }
  .hero-inner > *:nth-child(1),
  .hero-sub > .wrap > *:nth-child(1) { animation-delay:  80ms; }
  .hero-inner > *:nth-child(2),
  .hero-sub > .wrap > *:nth-child(2) { animation-delay: 200ms; }
  .hero-inner > *:nth-child(3),
  .hero-sub > .wrap > *:nth-child(3) { animation-delay: 340ms; }
  .hero-inner > *:nth-child(4),
  .hero-sub > .wrap > *:nth-child(4) { animation-delay: 480ms; }
  .hero-inner > *:nth-child(5)       { animation-delay: 640ms; }
  .cta-final > .wrap > *             { animation-delay:  80ms; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-inner > *,
  .hero-sub > .wrap > *,
  .cta-final > .wrap > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ---- 3 · BUTTON — primary micro-lift on hover ------------------------- */
.btn.primary,
.btn-primary {
  transition: background 200ms var(--ease-out),
              transform 200ms var(--ease-out),
              box-shadow 200ms var(--ease-out);
}
.btn.primary:hover,
.btn-primary:hover { transform: translateY(-1px); }

/* ---- 4 · STATS ROW — hover individual reveal ------------------------- */
.stat {
  cursor: default;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease-out);
}
.stat:hover { border-bottom-color: var(--accent-amber); }
.stat:hover .l {
  color: var(--accent-amber);
  transition: color 200ms var(--ease-out);
}

/* ---- 5 · PROBLEM CARDS — top accent reveal on hover ------------------- */
.p-card {
  position: relative;
  transition: background 200ms var(--ease-out);
}
.p-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-amber);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease-out);
}
.p-card:hover::after { transform: scaleX(1); }
.p-card svg { transition: color 200ms var(--ease-out); }
.p-card:hover svg { color: var(--accent-amber); }

/* ---- 6 · TIMELINE CELLS — teal accent + amber when active ------------- */
.tl-cell {
  position: relative;
  transition: background 200ms var(--ease-out);
}
.tl-cell::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-teal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease-out);
}
.tl-cell:hover::after { transform: scaleX(1); }
.tl-cell:hover .when {
  color: var(--accent-amber);
  transition: color 200ms var(--ease-out);
}

/* ---- 7 · LAYER ROWS — arrow indicator on hover ------------------------ */
.layer { position: relative; }
.layer::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%) translateX(-12px);
  opacity: 0;
  color: var(--accent-amber);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  transition: opacity 280ms var(--ease-out),
              transform 280ms var(--ease-out);
  pointer-events: none;
}
.layer:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 900px) {
  .layer::after { display: none; }
}

/* ---- 8 · QUOTE SECTION — gigantic decorative quote mark --------------- */
.quote-section {
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: "\201C";
  position: absolute;
  top: -20px;
  left: 32px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(200px, 28vw, 360px);
  line-height: 1;
  color: var(--accent-amber);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.quote-section .wrap,
.quote-section .container { position: relative; z-index: 1; }

/* ---- 9 · PROSE — drop cap on first paragraph -------------------------- */
.prose section:first-of-type p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: 'wght' 900;
  font-size: 72px;
  line-height: 0.86;
  color: var(--accent-amber);
  float: left;
  padding: 4px 14px 0 0;
  margin-top: 6px;
  letter-spacing: -0.04em;
}
@media (max-width: 540px) {
  .prose section:first-of-type p:first-of-type::first-letter {
    font-size: 52px;
    padding: 2px 10px 0 0;
  }
}

/* ---- 10 · PULL QUOTE — refined oversized quotation mark --------------- */
.pull .q-mark {
  position: absolute;
  top: 12px;
  left: 32px;
  font-size: clamp(112px, 14vw, 180px);
  line-height: 0.7;
  opacity: 0.75;
  margin: 0;
  pointer-events: none;
}
.pull p { margin-top: 36px; }

/* ---- 11 · TOC — stronger visual treatment for active link ------------- */
.toc a.active,
.toc a[aria-current="true"] {
  font-weight: 500;
  padding-left: 18px;
  color: var(--fg-primary);
  position: relative;
}
.toc a.active::before,
.toc a[aria-current="true"]::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: var(--accent-amber);
  border-radius: 2px;
}

/* ---- 12 · MANIFESTO BIG — extra weight + lateral accent --------------- */
.manifesto-big h2 {
  letter-spacing: -0.055em;
  font-variation-settings: 'wght' 900;
}
.manifesto-big .wrap { position: relative; }
.manifesto-big .wrap::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--accent-amber) 28%,
    var(--accent-amber) 72%,
    transparent 100%);
}
@media (max-width: 900px) {
  .manifesto-big .wrap::before { display: none; }
}

/* ---- 13 · CTA buttons — radial breathe glow on hover ------------------ */
.cta-final .btn.primary,
.cta-inline .btn.primary {
  position: relative;
  z-index: 1;
  isolation: isolate;
}
.cta-final .btn.primary::after,
.cta-inline .btn.primary::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 12px;
  background: radial-gradient(ellipse, var(--accent-amber-glow) 0%, transparent 70%);
  opacity: 0;
  z-index: -1;
  transition: opacity 320ms var(--ease-out);
}
.cta-final .btn.primary:hover::after,
.cta-inline .btn.primary:hover::after { opacity: 1; }

/* ---- 14 · SCROLL-DRIVEN REVEAL — native CSS replaces scroll-reveal.js ----
   Sections slide-up as they enter the scrollport. Animates ONLY transform —
   opacity stays at 1 to keep content visible to screenshots, print, scrapers,
   and any browser where `animation-fill-mode: both` applies the `from` state
   before the range starts (which would otherwise blank the page). */
@keyframes gc-reveal-up {
  from { transform: translateY(36px); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .problem,
    .layers,
    .timeline,
    .manifesto-big,
    .quote-section,
    .cta-final,
    .cta-inline,
    .article,
    .section {
      animation: gc-reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 25%;
    }
  }
}

/* ---- 15 · FOOTER ORNAMENT — separator + signature treatment ----------- */
footer.gc-footer {
  position: relative;
}
footer.gc-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-amber) 50%, transparent);
}
.foot-bottom {
  position: relative;
  padding-top: 28px;
}
.foot-bottom::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--accent-amber);
}
.foot-brand {
  position: relative;
}
.foot-brand::after {
  content: "\2022";
  position: absolute;
  top: -2px;
  left: 174px;
  color: var(--accent-amber);
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 880px) {
  .foot-brand::after { display: none; }
}

/* ---- 16 · ANCHOR LINKS — refined hover for prose <a> ------------------ */
.prose p a:not(.btn) {
  color: var(--accent-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--accent-teal-soft);
  text-underline-offset: 4px;
  transition: text-decoration-color 200ms var(--ease-out),
              color 200ms var(--ease-out);
}
.prose p a:not(.btn):hover {
  color: var(--accent-amber);
  text-decoration-color: var(--accent-amber);
  text-decoration-thickness: 2px;
}

/* =========================================================================
   =========================================================================
   PHASE 2 — UTILITY LAYER (2026-05-20)
   Extracts the patterns that were inline-styled across the 7 heavy pages
   (meetup LP, membro, workshops, ai-like-a-pro, newsletter, contato,
    comunidade). Compose on existing markup to drop ~200 style="..." attrs.
   =========================================================================
   ========================================================================= */

/* ---- Section heading (sub-page secondary h2) ---- */
.section-h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--fg-primary);
  text-wrap: balance;
}
.section-h2.is-large {
  font-size: clamp(32px, 4vw, 48px);
}
.section-h2 em { font-style: normal; color: var(--accent-amber); }

/* ---- Eye-label inline → block helper ---- */
.eye-label.is-block { display: block; margin-bottom: 16px; }
.eye-label.is-center { justify-content: center; }

/* ---- Lead / body paragraphs in 3 weights ---- */
.p-lead-lg { color: var(--fg-secondary); font-size: 17px; line-height: 1.7; }
.p-lead-md { color: var(--fg-secondary); font-size: 16px; line-height: 1.6; }
.p-lead-sm { color: var(--fg-secondary); font-size: 15px; line-height: 1.55; }
.p-lead-lg + .p-lead-lg,
.p-lead-md + .p-lead-md { margin-top: 18px; }

/* ---- Wrap variants ---- */
.wrap.is-narrow { max-width: 880px; }
.wrap.is-prose  { max-width: 720px; }

/* ---- Bare list (resets bullets + padding without losing semantics) ---- */
.bare-list { list-style: none; padding: 0; margin: 0; }

/* ---- Stack with explicit gap ---- */
.stack-md > * + * { margin-top: 20px; }
.stack-lg-2 > * + * { margin-top: 28px; }

/* ---- Highlight box (pricing teaser, future-tier card) ---- */
.highlight-box {
  background: linear-gradient(135deg, var(--bg-raised) 0%, var(--bg-void) 100%);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}
.highlight-box > * { position: relative; z-index: 1; }

/* ---- Info card (boxed copy) ---- */
.info-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
}
.info-card.is-large { padding: 40px 32px; }

/* ---- Decorative orb (radial glow) — control via CSS vars ---- */
.bg-orb {
  position: absolute;
  pointer-events: none;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,
    var(--orb-color, var(--accent-amber-glow)) 0%,
    transparent 60%);
  opacity: var(--orb-opacity, 0.6);
}
.bg-orb.is-top-right { top: 0; right: 0; }
.bg-orb.is-large { width: 280px; }
.bg-orb.is-med   { width: 240px; }
.bg-orb.is-small { width: 200px; }

/* ---- Layered content helper ---- */
.z-content { position: relative; z-index: 1; }

/* ---- Status badge "em breve / a definir" ---- */
.badge-soon {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
  background: var(--accent-amber);
  color: var(--fg-inverse);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---- Price display (Master tier teaser, future events) ---- */
.price-row {
  display: flex;
  gap: 40px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.price-block { display: flex; flex-direction: column; gap: 8px; }
.price-block .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
}
.price-block.is-muted .label { color: var(--fg-tertiary); }
.price-block .value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent-amber);
}
.price-block.is-muted .value {
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--fg-secondary);
}
.price-block .unit {
  font-size: 18px;
  color: var(--fg-tertiary);
  font-weight: 400;
  letter-spacing: 0;
}
.price-block.is-muted .unit { font-size: 15px; }

/* ---- Footnote line ---- */
.footnote {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-tertiary);
  text-transform: uppercase;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  max-width: 62ch;
}

/* ---- Form placeholder (interview form en breve) ---- */
.form-placeholder {
  padding: 24px;
  border: 1px dashed var(--border-default);
  border-radius: 8px;
  text-align: center;
}
.form-placeholder .label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  margin-bottom: 8px;
}

/* ---- Emphasis-color tokens (replaces inline em color) ---- */
em.em-amber, .em-amber { color: var(--accent-amber); font-style: normal; }
em.em-teal,  .em-teal  { color: var(--accent-teal);  font-style: normal; }

/* ---- Card heading shorthand (split-two and similar) ---- */
.card-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.card-h3.is-teal  { color: var(--accent-teal); }
.card-h3.is-amber { color: var(--accent-amber); }

/* ---- Section section padding override ---- */
.section.is-alt { background: var(--bg-void); border-top: 1px solid var(--border-subtle); }


/* =========================================================================
   AD-017 · Awake-style components for home reset
   ========================================================================= */

/* ---- Pastel pillar card (used in 3 pilares) ---- */
.home-pillar {
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.home-pillar-amber { background: var(--tint-amber-soft); }
.home-pillar-teal  { background: var(--tint-teal-soft); }
.home-pillar-brick { background: var(--tint-brick-soft); }
.home-pillar-icon {
  width: 40px;
  height: 40px;
  background: rgba(28,27,24,.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-primary);
}
.home-pillar h3 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--fg-primary);
  margin: var(--space-2) 0 0;
  letter-spacing: var(--ls-tight);
}
.home-pillar p {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-relaxed);
  color: var(--fg-secondary);
  margin: 0;
}

/* ---- Logo placeholder strip ---- */
.logo-ph {
  font-family: var(--font-mono);
  font-size: var(--fs-body-sm);
  color: var(--fg-tertiary);
  opacity: .7;
}

/* ---- 4o pilar variant (AD-018) ---- */
.home-pillar-neutral { background: var(--tint-warm-neutral); }

/* ---- Feature card (O que esperar — 4 funcionalidades) ---- */
.home-feature {
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.home-feature-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-amber-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber-dim);
}
.home-feature h3 {
  font-size: var(--fs-h5);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  margin: var(--space-1) 0 0;
  color: var(--fg-primary);
}
.home-feature p {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-relaxed);
  color: var(--fg-secondary);
  margin: 0;
}

/* ---- Testimonial card ---- */
.home-testimonial {
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.home-testimonial blockquote {
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--fg-secondary);
  font-style: italic;
}
.home-testimonial figcaption {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}
.home-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tint-warm-neutral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--fg-tertiary);
  flex-shrink: 0;
  overflow: hidden;
}
.home-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.home-testimonial-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.home-testimonial-name {
  font-weight: var(--fw-bold);
  color: var(--fg-primary);
  font-size: var(--fs-body-sm);
}
.home-testimonial-role {
  font-size: var(--fs-caption);
  color: var(--fg-tertiary);
}

/* ---- Person card (Especialistas) — rich redesign ---- */
.home-person {
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6) var(--space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  transition: transform var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.home-person:hover {
  transform: translateY(-4px);
  border-color: var(--accent-amber);
  box-shadow: 0 8px 24px rgba(28, 27, 24, 0.08);
}
.home-person-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-2);
  flex-shrink: 0;
}
.home-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.home-person-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 48px;
  letter-spacing: var(--ls-tightest);
  color: var(--fg-primary);
}
/* Rotating gradients pro avatar background (cycling de 4 cores) */
.home-person:nth-child(4n+1) .home-person-photo { background: linear-gradient(135deg, var(--tint-amber-soft), var(--tint-warm-neutral)); }
.home-person:nth-child(4n+2) .home-person-photo { background: linear-gradient(135deg, var(--tint-teal-soft), var(--tint-sage-soft)); }
.home-person:nth-child(4n+3) .home-person-photo { background: linear-gradient(135deg, var(--tint-brick-soft), var(--tint-amber-soft)); }
.home-person:nth-child(4n+4) .home-person-photo { background: linear-gradient(135deg, var(--tint-warm-neutral), var(--tint-sage-soft)); }
.home-person h3 {
  font-size: var(--fs-h5);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  margin: 0;
  color: var(--fg-primary);
}
.home-person-role {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-loud);
  text-transform: uppercase;
  color: var(--accent-teal-dim);
  margin: 0;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-person-bio {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-relaxed);
  color: var(--fg-secondary);
  margin: var(--space-2) 0 0;
}

/* ---- FAQ item (details/summary) ---- */
.home-faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-4) 0;
}
.home-faq-item summary {
  cursor: pointer;
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-bold);
  color: var(--fg-primary);
  letter-spacing: var(--ls-tight);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}
.home-faq-item summary::-webkit-details-marker { display: none; }
.home-faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-weight: var(--fw-regular);
  font-size: 24px;
  color: var(--accent-amber);
  transition: transform .2s ease;
}
.home-faq-item[open] summary::after {
  content: "−";
  transform: rotate(0deg);
}
.home-faq-item p {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--fg-secondary);
}

/* =========================================================================
   =========================================================================
   USABILITY/DELIGHT PASS — 2026-06-10
   Scroll reveals (IO via enhance.js), count-up stats, logos marquee,
   ícones com peso visual, hovers em cards, FAQ com expansão suave.
   Tudo gated em html.gc-js e/ou prefers-reduced-motion: sem JS ou com
   motion reduzido, o conteúdo fica 100% visível e estático.
   =========================================================================
   ========================================================================= */

/* ---- A · SCROLL REVEAL — estado escondido só existe com .gc-js ---------- */
html.gc-js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
html.gc-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.gc-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---- B · HOME PILLAR ICONS — squircles com gradiente por tinta ---------- */
.home-pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  color: var(--fg-inverse);
  box-shadow: 0 6px 16px rgba(10, 10, 10, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.home-pillar-icon .icon { width: 26px; height: 26px; }
.home-pillar-amber   .home-pillar-icon { background: linear-gradient(135deg, var(--accent-amber-bright), var(--accent-amber-dim)); }
.home-pillar-teal    .home-pillar-icon { background: linear-gradient(135deg, var(--accent-teal-bright), var(--accent-teal-dim)); }
.home-pillar-brick   .home-pillar-icon { background: linear-gradient(135deg, #D86A5C, var(--accent-brick)); }
.home-pillar-neutral .home-pillar-icon { background: linear-gradient(135deg, #4A453F, #0A0A0A); }
.home-pillar {
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.home-pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(10, 10, 10, 0.10);
}
.home-pillar:hover .home-pillar-icon {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* ---- C · FEATURE CARDS — ícone maior + lift com accent ------------------ */
.home-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-amber-soft), transparent);
  border: 1px solid var(--accent-amber-glow);
  color: var(--accent-amber-dim);
  transition: transform 280ms var(--ease-out), background 280ms var(--ease-out), color 280ms var(--ease-out);
}
.home-feature-icon .icon { width: 22px; height: 22px; }
.home-feature {
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.home-feature:hover {
  transform: translateY(-4px);
  border-color: var(--accent-amber);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.08);
}
.home-feature:hover .home-feature-icon {
  transform: scale(1.08) rotate(4deg);
  background: var(--accent-amber);
  color: var(--fg-inverse);
}

/* ---- D · TESTIMONIALS — aspas decorativas + lift ------------------------ */
.home-testimonial {
  position: relative;
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.home-testimonial::before {
  content: "\201C";
  position: absolute;
  top: 2px;
  right: 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 88px;
  line-height: 1;
  color: var(--accent-amber);
  opacity: 0.16;
  pointer-events: none;
}
.home-testimonial:hover {
  transform: translateY(-4px);
  border-color: var(--accent-amber);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.08);
}

/* ---- E · ROADMAP CELLS — lift + when em accent --------------------------- */
.home-roadmap-cell {
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.home-roadmap-cell:hover {
  transform: translateY(-4px);
  border-color: var(--accent-amber);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.08);
}
.home-roadmap-cell:hover .home-roadmap-when { color: var(--accent-amber-dim); }

/* ---- F · LOGOS MARQUEE — loop infinito, pausa no hover ------------------- */
.home-logos-marquee {
  display: flex;
  gap: var(--space-12);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.home-logos-marquee .home-logos-row {
  flex-wrap: nowrap;
  justify-content: flex-start;
  flex-shrink: 0;
  min-width: max-content;
  animation: gc-marquee 48s linear infinite;
}
.home-logos-marquee:hover .home-logos-row { animation-play-state: paused; }
@keyframes gc-marquee {
  to { transform: translateX(calc(-100% - var(--space-12))); }
}
@media (max-width: 720px) {
  .home-logos-marquee { gap: var(--space-6); }
  .home-logos-marquee .home-logos-row { animation-duration: 32s; }
  @keyframes gc-marquee {
    to { transform: translateX(calc(-100% - var(--space-6))); }
  }
}

/* ---- G · FAQ — expansão suave (interpolate-size, Chrome 129+) ------------ */
.home-faq-item summary {
  transition: color 160ms var(--ease-out);
}
.home-faq-item summary:hover { color: var(--accent-amber-dim); }
.home-faq-item summary:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 4px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .home-faq-item { interpolate-size: allow-keywords; }
    .home-faq-item::details-content {
      opacity: 0;
      block-size: 0;
      overflow: clip;
      transition:
        content-visibility 360ms allow-discrete,
        opacity 360ms var(--ease-out),
        block-size 360ms var(--ease-out);
    }
    .home-faq-item[open]::details-content {
      opacity: 1;
      block-size: auto;
    }
  }
}

/* ---- H · BTN PRIMARY — sheen sweep no hover ------------------------------ */
.btn.primary,
.btn-primary,
.nav-cta {
  position: relative;
  overflow: hidden;
}
.btn.primary::before,
.btn-primary::before,
.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-110%);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .btn.primary:hover::before,
  .btn-primary:hover::before,
  .nav-cta:hover::before {
    transition: transform 600ms var(--ease-out);
    transform: translateX(110%);
  }
}

/* ---- I · LATEST CARDS — lift mais generoso ------------------------------- */
.home-latest-card {
  transition: border-color 280ms var(--ease-out), transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.home-latest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.08);
}

/* ---- J · ELIGIBILITY — check icons com micro-bounce ----------------------- */
.home-eligibility-list li {
  transition: transform 200ms var(--ease-out);
}
.home-eligibility-list li:hover { transform: translateX(4px); }
.home-eligibility-list li:hover .icon { color: var(--accent-amber); }
