/* =========================================================
   ALTIVE — Landing Page
   Paleta "Tinta & Marfim": azul-tinta profundo (no lugar do preto)
   alternado com faixas de marfim. Amarelo Altive só para ação,
   champanhe (no escuro) e ocre (no claro) para ênfase editorial,
   verde só para indicadores de crescimento.
   Valores definidos em OKLCH e convertidos para sRGB; todos os
   pares de texto passam no WCAG AA.
   ========================================================= */

:root {
  /* Primitivos — azul-tinta, oklch(L 0.03–0.044 255) */
  --ink-0: #091320;           /* rodapé */
  --ink-1: #0f1c2d;           /* hero, depoimentos */
  --ink-2: #142234;           /* pilares */
  --ink-3: #1a2a3d;
  --ink-surface: #203044;     /* cards no escuro */
  --ink-surface-2: #2b3c51;   /* cards elevados / hover */

  /* Primitivos — marfim, oklch(L 0.95–0.99 0.005–0.016 88) */
  --paper: #faf6ef;
  --paper-2: #f4efe3;
  --paper-surface: #fefdf9;   /* cards no claro */
  --paper-surface-2: #f8f3e9;

  /* Primitivos — texto */
  --ivory: #f7f3e9;           /* texto no escuro: 15.5:1 */
  --ivory-2: #d6d1c4;         /* 10.5:1 */
  --mist: #9aa6b3;            /* 6.9:1 */
  --ink-text: #121f2f;        /* texto no claro: 15.4:1 */
  --ink-text-2: #3c4959;      /* 8.5:1 */
  --ink-text-3: #5f6a78;      /* 5.1:1 */

  /* Marca */
  --accent: #fde730;          /* amarelo Altive: ações */
  --accent-hi: #fff27a;
  --accent-lo: #ecca12;
  --champagne: #e7d6a1;       /* ênfase no escuro: 11.9:1 */
  --ochre: #7f5c15;           /* ênfase no claro: 5.7:1 */
  --growth: #9ad9ae;          /* só para indicadores positivos */
  --on-accent: #0f1c2d;
  --lift: 0 14px 30px -14px rgba(3, 8, 15, .7);       /* elevação neutra dos botões */
  --lift-hi: 0 20px 38px -14px rgba(3, 8, 15, .75);

  /* Tipografia
     Newsreader: serifa editorial de tamanho óptico (display nos títulos,
     texto nas citações). Firme e legível, no registro de imprensa
     econômica e gestão de patrimônio, sem o ar de moda de uma Didone.
     Inter: texto, rótulos e números (algarismos tabulares nos valores). */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", "Charter", Georgia, serif;

  /* Layout */
  --container: 1120px;
  --gutter: 24px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Papéis de cor por tom. Escuro é o padrão; .tone-light remapeia
   os mesmos papéis para as faixas de marfim. */
:root, .tone-dark {
  --canvas: var(--ink-1);
  --surface: var(--ink-surface);
  --surface-2: var(--ink-surface-2);
  --line: rgba(214, 209, 196, .1);
  --line-2: rgba(214, 209, 196, .19);
  --text: var(--ivory);
  --text-2: var(--ivory-2);
  --text-3: var(--mist);
  --emph: var(--champagne);
  --chip: rgba(214, 209, 196, .06);
  --highlight: rgba(253, 231, 48, .035);
  --icon: var(--accent);
  --icon-bg: rgba(253, 231, 48, .1);
  --icon-line: rgba(253, 231, 48, .24);
  --icon-on-bg: var(--accent);
  --icon-on-fg: var(--on-accent);
  --focus: var(--accent);
  --shadow: rgba(3, 8, 15, .6);
}
.tone-dark, .tone-light { color: var(--text); }
.tone-light {
  --canvas: var(--paper);
  --surface: var(--paper-surface);
  --surface-2: var(--paper-surface-2);
  --line: rgba(18, 31, 47, .1);
  --line-2: rgba(18, 31, 47, .18);
  --text: var(--ink-text);
  --text-2: var(--ink-text-2);
  --text-3: var(--ink-text-3);
  --emph: var(--ochre);
  --chip: rgba(18, 31, 47, .05);
  --highlight: rgba(253, 231, 48, .13);
  --icon: var(--ink-text);
  --icon-bg: rgba(18, 31, 47, .06);
  --icon-line: rgba(18, 31, 47, .14);
  --icon-on-bg: var(--ink-1);
  --icon-on-fg: var(--accent);
  --focus: var(--ink-text);
  --shadow: rgba(18, 31, 47, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 102px; scrollbar-color: var(--ink-surface-2) var(--ink-0); accent-color: var(--accent); }
body {
  margin: 0;
  background: var(--ink-1);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.icon-fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }

.container { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; position: relative; z-index: 2; }
.center { text-align: center; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--emph);
  font-size: 12px; font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }

.title, .hero__title, .leader__title, .faq__title {
  font-family: var(--serif);
  font-weight: 460;
  font-optical-sizing: auto;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.title em, .hero__title em, .leader__title em, .faq__title em {
  font-style: italic;
  font-weight: 420;
  color: var(--emph);
}
.title { font-size: clamp(34px, 3.8vw, 48px); line-height: 1.08; text-align: center; }
.title--left { text-align: left; }

.section-head { text-align: center; }
.section-head__sub { margin: 18px auto 0; max-width: 520px; font-size: 17px; color: var(--text-2); line-height: 1.55; text-wrap: pretty; }

/* ---------- Botão ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 14px;
  height: 50px;
  padding: 0 18px 0 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent) 45%, var(--accent-lo) 100%);
  color: var(--on-accent);
  font-size: 13px; font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .12), var(--lift);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::after { /* brilho que atravessa no hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(0, 0, 0, .12), var(--lift-hi); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn__icon {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 6px;
  background: rgba(21, 19, 12, .12);
  font-size: 13px;
  transition: transform .35s var(--ease);
}
.btn__icon svg { stroke-width: 2.4; }
.btn:hover .btn__icon { transform: translate(2px, -2px); }
.btn--lg { height: 56px; padding: 0 20px 0 28px; font-size: 13.5px; }
/* No marfim, o amarelo some contra o fundo (1.2:1). O botão vira tinta,
   e o amarelo continua sinalizando a ação no ícone. */
.tone-light .btn {
  background: linear-gradient(180deg, #1d2d42 0%, var(--ink-1) 100%);
  color: var(--ivory);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 30px -14px rgba(15, 28, 45, .55);
}
.tone-light .btn::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .16) 50%, transparent 70%); }
.tone-light .btn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 20px 38px -14px rgba(15, 28, 45, .6); }
.tone-light .btn__icon { background: var(--accent); color: var(--ink-1); }
.tone-light .tone-dark .btn {
  background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent) 45%, var(--accent-lo) 100%);
  color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .12), var(--lift);
}
.tone-light .tone-dark .btn::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); }
.tone-light .tone-dark .btn__icon { background: rgba(15, 28, 45, .12); color: inherit; }

/* ---------- Mídia (slots de imagem com fallback) ---------- */
.media { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, var(--surface-2) 0%, var(--surface) 70%); }
.tone-light .media { background: radial-gradient(120% 90% at 50% 0%, var(--paper-surface) 0%, #ece5d6 80%); }
.tone-light .media::before { opacity: .5; }
.tone-light .tone-dark .media { background: radial-gradient(120% 90% at 50% 0%, var(--ink-surface-2) 0%, var(--ink-2) 75%); }
.tone-light .tone-dark .media::before { opacity: .14; }
.media::before { content: ""; position: absolute; inset: 0; background: url("assets/altive-mark.png") center / 22% no-repeat; opacity: .14; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.media--bare { background: none; }
.media--bare::before { display: none; }

/* ---------- Glows ---------- */
.glow { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; filter: blur(80px); }
.glow--tr { width: 560px; height: 560px; right: -280px; top: -120px; background: radial-gradient(closest-side, rgba(231, 214, 161, .45), transparent); }
.glow--bl { width: 520px; height: 520px; left: -300px; bottom: -160px; background: radial-gradient(closest-side, rgba(253, 231, 48, .16), transparent); }
.glow--l  { width: 560px; height: 760px; left: -360px; top: 80px; background: radial-gradient(closest-side, rgba(231, 214, 161, .4), transparent); }

/* =========================================================
   HEADER
   ========================================================= */
.nav {
  position: fixed;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1160px, calc(100% - var(--gutter) * 2));
  height: 72px;
  padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(15, 28, 45, .6);
  border: 1px solid var(--line);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), top .4s var(--ease);
}
.nav.is-scrolled { top: 10px; background: rgba(15, 28, 45, .9); box-shadow: 0 18px 40px -20px rgba(3, 8, 15, .55); }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 52px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 6px; font-size: 14.5px; }
.nav__links a { padding: 8px 14px; border-radius: 8px; color: var(--text-2); transition: color .25s, background .25s; }
.nav__links a:hover { color: var(--text); background: var(--chip); }
.nav__links .nav__cta {
  margin-left: 8px;
  padding: 9px 18px;
  color: var(--on-accent); font-weight: 600;
  background: var(--accent);
}
.nav__links .nav__cta:hover { color: var(--on-accent); background: var(--accent-hi); }
.nav__links a.is-active:not(.nav__cta) { color: var(--text); background: var(--chip); }
.nav__wa { display: none; }
.nav__toggle {
  display: none; place-items: center; position: relative;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--chip); color: var(--text);
  cursor: pointer;
}
.nav__toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px;
  border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease);
}
.nav__toggle span:first-child { transform: translateY(-4px); }
.nav__toggle span:last-child { transform: translateY(4px); }
.nav.is-open .nav__toggle span:first-child { transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav { padding-right: 8px; }
  .nav__toggle { display: grid; }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    max-height: calc(100svh - 100px); overflow-y: auto;
    padding: 10px;
    background: var(--ink-1);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    box-shadow: 0 30px 60px -24px rgba(3, 8, 15, .75);
    opacity: 0; visibility: hidden;
    transform: translateY(-8px) scale(.98); transform-origin: top center;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .nav.is-open { background: rgba(15, 28, 45, .94); }
  .nav.is-open .nav__links {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
  }
  .nav__links a { display: flex; align-items: center; min-height: 52px; padding: 12px 16px; font-size: 17px; border-radius: 10px; }
  .nav__links .nav__cta { margin: 0; color: var(--text-2); font-weight: 400; background: none; }
  .nav__links .nav__cta:hover, .nav__links .nav__cta.is-active { color: var(--text); background: var(--chip); }
  .nav__links .nav__wa {
    display: flex; justify-content: center; gap: 10px;
    margin-top: 8px;
    background: var(--accent); color: var(--on-accent);
    font-size: 15px; font-weight: 600;
  }
  .nav__links .nav__wa:hover { background: var(--accent-hi); color: var(--on-accent); }
  .nav__wa svg { font-size: 19px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--ink-1);
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(700px 520px at 0% 0%, rgba(253, 222, 70, .12), transparent 70%),
    radial-gradient(900px 640px at 100% 100%, rgba(74, 112, 160, .16), transparent 70%);
}
.hero__glow::after { /* linhas de grade muito sutis: sensação de "painel" */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .35;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 45%, #000, transparent 75%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 56px;
  min-height: min(860px, 100svh);
  padding: 130px 0 90px;
}
.hero__content { max-width: 520px; }
.hero__title {
  font-size: clamp(46px, 5.6vw, 76px);
  font-weight: 480;
  line-height: 1;
  letter-spacing: -.028em;
}
.hero__title em { display: block; }
.hero__sub { margin-top: 22px; font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 440px; text-wrap: pretty; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pill {
  font-size: 13px; font-weight: 500; color: var(--text-2);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid var(--line);
}
.pill b { color: var(--accent); font-weight: 600; margin-right: 5px; font-variant-numeric: tabular-nums; }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 36px; }

.proof { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.35; color: var(--text-2); }
.proof b { color: var(--text); font-weight: 600; }
.proof__avatars { display: flex; }
.proof__avatars .avatar { margin-left: -10px; border: 2px solid var(--ink-1); }
.proof__avatars .avatar:first-child { margin-left: 0; }

.avatar {
  position: relative; overflow: hidden; flex: none;
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(140deg, var(--ink-surface-2), var(--ink-surface));
  color: var(--champagne); font-size: 12px; font-weight: 600;
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Painel financeiro ---------- */
.hero__visual { position: relative; }
.hero__aura { /* shader WebGL (assets/velaris.js) como aura atrás do painel */
  position: absolute; z-index: 0;
  left: 50%; top: 50%;
  width: 760px; height: 680px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.velaris-canvas {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  opacity: .55;
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, .5) 50%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, .5) 50%, transparent 100%);
}

.dash {
  position: relative; z-index: 1;
  padding: 26px 26px 46px;
  background: linear-gradient(180deg, rgba(32, 48, 68, .94), rgba(20, 34, 52, .96));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 40px 80px -30px rgba(3, 8, 15, .7), 0 0 0 1px rgba(3, 8, 15, .3);
}
.dash__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dash__label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.dash__value {
  display: block; margin-top: 6px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 3.8vw, 50px); line-height: 1;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums lining-nums;
}
.dash__delta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(154, 217, 174, .1);
  border: 1px solid rgba(154, 217, 174, .22);
  color: var(--growth);
  font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dash__chart { position: relative; margin-top: 22px; aspect-ratio: 560 / 240; cursor: crosshair; outline-offset: 6px; }
.dash__chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dash__grid line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; }
.dash__grid text { fill: var(--text-3); stroke: none; font-family: var(--font); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.dash__area { stroke: none; }
.dash__line { fill: none; stroke-width: 2.6; }
.dash__inv { fill: none; stroke: rgba(214, 209, 196, .5); stroke-width: 1.5; stroke-dasharray: 4 5; }
.dash__dot { fill: var(--accent-hi); stroke: var(--ink-1); stroke-width: 2; }
.dash__halo { fill: rgba(253, 231, 48, .22); transform-box: fill-box; transform-origin: center; animation: halo 2.4s var(--ease) infinite; }
@keyframes halo { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.dash__guide { stroke: var(--line-2); stroke-width: 1; opacity: 0; transition: opacity .2s; }
.dash__chart.is-scrubbing .dash__guide { opacity: 1; }
.dash__chart.is-scrubbing .dash__halo { animation: none; opacity: 0; }
.dash__tip {
  position: absolute; top: 0; left: 0;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(9, 19, 32, .94);
  border: 1px solid var(--line-2);
  font-size: 12px; line-height: 1.35; white-space: nowrap;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 14px));
  transition: opacity .2s;
}
.dash__tip b { display: block; color: var(--text); font-weight: 600; }
.dash__tip span { color: var(--text-3); }
.dash__chart.is-scrubbing .dash__tip { opacity: 1; }
.dash__axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--text-3); }

.dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 20px; border-radius: 12px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.dash__stats > div { padding: 12px 14px; background: rgba(15, 28, 45, .62); }
.dash__stats dt { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-3); }
.dash__stats dd { margin-top: 3px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.key { width: 14px; height: 0; border-top: 2px solid; flex: none; }
.key--gold { border-color: var(--accent); }
.key--inv { border-top-style: dashed; border-color: rgba(214, 209, 196, .65); }
.dash__note { margin-top: 14px; font-size: 12px; line-height: 1.45; color: var(--text-3); }

/* Notificações flutuantes */
.toast {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  background: rgba(32, 48, 68, .92);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -18px rgba(3, 8, 15, .6);
  line-height: 1.32;
  opacity: 0;
  transform: translateY(10px) scale(.98);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.toast.is-in { opacity: 1; transform: none; animation: float 6s ease-in-out 1s infinite; }
.toast--b.is-in { animation-delay: 2.5s; }
@keyframes float { 50% { transform: translateY(-6px); } }
.toast__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-size: 15px; flex: none; }
.toast__icon svg { stroke-width: 2.4; }
.toast__body { display: flex; flex-direction: column; }
.toast__body b { font-weight: 600; font-size: 13px; }
.toast__body small { font-size: 12px; color: var(--text-3); }
.toast--a { top: -26px; left: -34px; }
.toast--b { bottom: -24px; right: 28px; }

.hero__notch {
  position: absolute; left: 50%; bottom: -1px; z-index: 4;
  transform: translateX(-50%);
  width: 54px; height: 20px;
  display: grid; place-items: end center;
  padding-bottom: 1px;
  background: var(--paper);
  border: 0;
  border-radius: 20px 20px 0 0;
  color: var(--ink-text-3); font-size: 15px;
  transition: color .25s;
}
.hero__notch:hover { color: var(--ink-text); }
.hero__notch svg { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(2px); } }

/* =========================================================
   PROBLEMA
   ========================================================= */
.problem { background: var(--paper); padding: 120px 0 130px; }
.problem__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 88px; align-items: center; }
.problem__media { aspect-ratio: 1 / 1; border-radius: var(--radius-xl); border: 1px solid var(--line); box-shadow: 0 40px 70px -40px var(--shadow); }
.problem__text { max-width: 470px; }
.problem__text .title { margin-bottom: 24px; }
.problem__text p:not(.eyebrow) { font-size: 17px; line-height: 1.65; color: var(--text-2); text-wrap: pretty; }
.problem__text p + p { margin-top: 16px; }
.problem__text .btn { margin-top: 34px; }

/* =========================================================
   PILARES
   ========================================================= */
.pillars { position: relative; padding: 120px 0 110px; background: var(--ink-2); overflow: hidden; }
.pillars__bg { position: absolute; inset: 0; z-index: 0; }
.pillars__bg img { opacity: .3; filter: grayscale(.35) saturate(.85); } /* a foto já está na paleta: só um fio do dourado das colunas aparece */
.pillars::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--ink-2) 0%, rgba(20, 34, 52, .4) 30%, rgba(20, 34, 52, .4) 70%, var(--ink-2) 100%),
    radial-gradient(50% 45% at 50% 60%, rgba(74, 112, 160, .14), transparent 70%);
}

.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.pillar {
  position: relative;
  padding: 34px 26px 32px;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(32, 48, 68, .5) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
}
.pillar::before { /* fio dourado no topo */
  content: ""; position: absolute; top: -1px; left: 26px; right: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .7;
}
.pillar:hover { transform: translateY(-6px); border-color: var(--line-2); background: linear-gradient(180deg, var(--surface-2) 0%, rgba(32, 48, 68, .6) 100%); box-shadow: 0 30px 60px -30px var(--shadow); }
.pillar__num { position: absolute; top: 24px; right: 24px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--text-3); opacity: .7; }
.pillar__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 26px;
  border-radius: 12px;
  background: var(--icon-bg);
  border: 1px solid var(--icon-line);
  color: var(--icon);
  font-size: 21px;
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
}
.pillar:hover .pillar__icon { background: var(--icon-on-bg); color: var(--icon-on-fg); transform: rotate(-6deg); }
.pillar h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 12px; }
.pillar p { font-size: 15px; line-height: 1.62; color: var(--text-2); }

.pillars .center { margin-top: 64px; }
.quote { margin-top: 20px; font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--text-2); text-wrap: balance; }

/* =========================================================
   COMPARAÇÃO
   ========================================================= */
.compare { position: relative; padding: 120px 0 130px; background: var(--paper-2); overflow: hidden; }
.table {
  margin-top: 56px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 40px 70px -40px var(--shadow);
}
.table__row { display: grid; grid-template-columns: 1fr 1fr; }
.table__row + .table__row { border-top: 1px solid var(--line); }
.table__row > div {
  position: relative;
  display: flex; align-items: center;
  min-height: 62px;
  padding: 14px 28px 14px 58px;
  font-size: 15px; line-height: 1.5;
  text-wrap: pretty;
}
.table__row:not(.table__row--head) > div::before {
  content: ""; position: absolute; left: 26px; top: 50%;
  width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 10px;
}
.table__row > div:first-child { color: var(--text-3); }
.table__row:not(.table__row--head) > div:first-child::before {
  background-color: var(--chip);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6a78' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}
.table__row > div:last-child { color: var(--text); border-left: 1px solid var(--line); background: var(--highlight); }
.table__row:not(.table__row--head) > div:last-child::before {
  background-color: var(--ink-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fde730' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.table__row--head > div { min-height: 58px; padding-left: 28px; font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.table__row--head > div:first-child { background: var(--surface-2); color: var(--text-3); }
.table__row--head > div:last-child { background: var(--accent); color: var(--on-accent); border-left: 0; }
.table__switch { display: none; }
.table__row:not(.table__row--head) { transition: background .25s; }
.table__row:not(.table__row--head):hover { background: var(--chip); }
/* entrada em cascata das linhas */
.js .table .table__row { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease), background .25s; transition-delay: calc(var(--i, 0) * 60ms); }
.js .table.is-in .table__row { opacity: 1; transform: none; }

/* =========================================================
   DECISÃO — a bifurcação
   Um traço parte de "Hoje" e se divide: o caminho dourado sobe
   (mesma curva do painel do hero), o outro fica plano. Desenhado
   pela rolagem onde há scroll-driven animations; nos demais
   navegadores, desenhado uma vez ao entrar na tela.
   ========================================================= */
/* overflow: clip (e não hidden): hidden cria um contêiner de rolagem e prende a
   view-timeline do traço a ele, em vez da rolagem da página */
.decision { position: relative; padding: 130px 0 120px; background: var(--ink-1); overflow: hidden; overflow: clip; isolation: isolate; }
.decision::before { /* a mesma grade do painel do hero */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .45;
  -webkit-mask-image: radial-gradient(60% 70% at 55% 62%, #000, transparent 75%);
  mask-image: radial-gradient(60% 70% at 55% 62%, #000, transparent 75%);
}
.decision::after { /* luz onde o caminho dourado chega */
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 820px; height: 640px; right: -160px; top: 60px;
  background: radial-gradient(closest-side, rgba(253, 222, 70, .12), transparent 72%);
}
.decision__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px 64px; align-items: end; }
.decision__title { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.02; letter-spacing: -.028em; }
.decision__title em { display: block; }
.decision__sub { max-width: 400px; padding-bottom: 8px; font-size: 18px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }

.fork { position: relative; margin-top: 64px; }
.fork__art { position: relative; }
.fork__canvas { position: relative; aspect-ratio: 1120 / 460; }
.fork__canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fork__draw { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.fork__trunk { stroke: var(--ivory); stroke-width: 3; }
.fork__up { stroke-width: 4; }
.fork__glow { stroke: var(--accent); stroke-width: 16; opacity: .16; transition: opacity .5s var(--ease), stroke-width .5s var(--ease); }
.fork__flat { stroke: var(--mist); stroke-width: 2; opacity: .55; transition: opacity .5s var(--ease); }
.fork__split, .fork__origin { fill: var(--ivory); }
.fork__origin-halo { fill: none; stroke: var(--ivory); stroke-width: 1; opacity: .3; }
.fork__node { transform-box: fill-box; transform-origin: center; }
.fork__node--up { fill: var(--accent-hi); stroke: var(--ink-1); stroke-width: 3; }
.fork__node--flat { fill: var(--ink-1); stroke: var(--mist); stroke-width: 2; }
.fork__node-halo { fill: rgba(253, 231, 48, .2); transform-box: fill-box; transform-origin: center; animation: halo 2.6s var(--ease) infinite; }
.fork__spark { fill: #fff8c4; opacity: 0; transition: opacity .6s; }
.fork.is-in .fork__spark { opacity: .9; }
.fork__today {
  position: absolute; left: 3.57%; top: 65.2%;
  transform: translate(-14px, 22px);
  font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1;
  color: var(--champagne);
}

.choice {
  position: absolute; right: 0; z-index: 2;
  width: 29%;
  padding: 60px 26px 28px;
  border-radius: var(--radius-lg);
  transition: transform .5s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
}
.choice--1 {
  top: 0;
  background: linear-gradient(180deg, var(--ink-surface-2) 0%, var(--ink-surface) 100%);
  border: 1px solid rgba(253, 231, 48, .34);
  box-shadow: 0 30px 70px -30px rgba(3, 8, 15, .8);
}
.choice--2 { bottom: 0; color: var(--text-3); background: rgba(32, 48, 68, .32); border: 1px solid var(--line); }
.choice__num {
  position: absolute; top: -1px; left: 26px;
  display: grid; place-items: center;
  width: 44px; height: 48px;
  border-radius: 0 0 10px 10px;
  font-family: var(--serif); font-size: 26px; font-weight: 500;
}
.choice--1 .choice__num { background: var(--accent); color: var(--on-accent); }
.choice--2 .choice__num { background: var(--ink-surface); color: var(--mist); }
.choice__path {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--champagne);
}
.choice--2 .choice__path { color: var(--mist); }
.key--flat { border-color: var(--mist); }
.choice__text { font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.choice--1 .choice__text { color: var(--ivory); }
.choice--1 .btn { width: 100%; margin-top: 24px; }
.choice--1:hover { transform: translateY(-4px); border-color: rgba(253, 231, 48, .55); box-shadow: 0 36px 80px -30px rgba(3, 8, 15, .85); }
@media (hover: hover) {
  .fork:has(.choice--1:hover) .fork__glow { opacity: .34; stroke-width: 22; }
  .fork:has(.choice--2:hover) .fork__flat { opacity: .9; }
}

@keyframes fork-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fork-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fork-fade { from { opacity: 0; } to { opacity: .9; } }
/* Ao entrar na seção, a sequência toca inteira, de uma vez, sem depender da rolagem:
   tronco (0–1,1 s) → caminhos (1–2,7 s) → pontos de chegada → cartões → faísca. */
@media (prefers-reduced-motion: no-preference) {
  .js .fork .fork__draw { transition: stroke-dashoffset 1.1s cubic-bezier(.65, 0, .35, 1); }
  .js .fork .fork__up, .js .fork .fork__glow, .js .fork .fork__flat { transition-duration: 1.7s; transition-delay: 1s; transition-timing-function: cubic-bezier(.45, 0, .2, 1); }
  .js .fork:not(.is-in) .fork__draw { stroke-dashoffset: 1; }
  .js .fork .fork__split { transition: transform .4s var(--ease) .95s, opacity .3s .95s; }
  .js .fork .fork__node { transition: transform .5s var(--ease) 2.6s, opacity .4s 2.6s; }
  .js .fork:not(.is-in) .fork__node, .js .fork:not(.is-in) .fork__split { transform: scale(0); opacity: 0; }
  .js .fork .fork__node-halo, .js .fork .fork__spark { transition: opacity .7s 3s; }
  .js .fork:not(.is-in) .fork__node-halo { opacity: 0; }
  .js .fork .fork__origin-halo { transition: opacity .6s .1s; }
  .js .fork:not(.is-in) .fork__origin-halo { opacity: 0; }
  /* os cartões chegam junto com as pontas dos caminhos */
  .js .fork:not(.is-in) .choice.reveal { opacity: 0; transform: translateY(22px); }
  .js .fork.is-in .choice--1.reveal { transition-delay: 2.15s; }
  .js .fork.is-in .choice--2.reveal { transition-delay: 2.4s; }
}
/* Com o desenho em cima e os cartões empilhados embaixo, os dois chegam juntos e logo */
@media (prefers-reduced-motion: no-preference) and (max-width: 1040px) {
  .js .fork.is-in .choice--1.reveal,
  .js .fork.is-in .choice--2.reveal { transition-delay: .25s; }
}
@media (prefers-reduced-motion: reduce) { .fork__spark { display: none; } }

/* =========================================================
   SOBRE
   ========================================================= */
.about { position: relative; padding: 120px 0 130px; background: var(--paper); }

.leader {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 46% 1fr;
  background: var(--ink-1);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 50px 90px -50px rgba(15, 28, 45, .55);
}
.leader__media { min-height: 600px; }
/* No desktop a coluna é quase tão alta quanto a foto e mostraria a mão:
   aproxima a partir do topo para enquadrar do tronco para cima */
.leader__media img { object-position: 57% 20%; transform: scale(1.25); transform-origin: 57% 6%; }
.leader__text { padding: 64px 56px 60px; }
.leader__title { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; margin-bottom: 20px; }
.leader__lead { font-size: 19px; line-height: 1.5; margin-bottom: 26px; color: var(--text); }
/* Ficha rápida: o que o visitante precisa saber de relance */
.leader__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 32px; margin-bottom: 28px; padding: 16px 0; border-block: 1px solid var(--line); }
.leader__facts dt { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.leader__facts dd { margin-top: 4px; font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.2; color: var(--champagne); font-variant-numeric: lining-nums; }
.leader__story p { font-size: 16px; line-height: 1.65; color: var(--text-2); max-width: 62ch; text-wrap: pretty; }
.leader__story p + p { margin-top: 14px; }
.leader__story p:last-child { color: var(--text); }
.leader__more { display: none; }
.leader__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.leader__social {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px;
  font-size: 15px; font-weight: 500; color: var(--text-2);
  text-underline-offset: 4px;
  transition: color .25s;
}
.leader__social svg { font-size: 18px; color: var(--champagne); }
.leader__social:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--champagne); }

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.testimonials { padding: 120px 0 120px; background: var(--ink-1); }
.carousel { position: relative; max-width: min(1240px, 100%); margin: 56px auto 0; }
/* Esteira contínua: o trilho desliza por transform (subpixel, sem trancos).
   Sem JS, a faixa continua rolável com o dedo/trackpad. */
.carousel__track {
  position: relative;
  overflow-x: auto;
  padding: 6px 0 10px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 clamp(24px, 9%, 160px), #000 calc(100% - clamp(24px, 9%, 160px)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 clamp(24px, 9%, 160px), #000 calc(100% - clamp(24px, 9%, 160px)), transparent 100%);
}
.carousel__track::-webkit-scrollbar { display: none; }
.js .carousel__track { overflow: hidden; touch-action: pan-y; cursor: grab; }
.js .carousel__track.is-dragging { cursor: grabbing; }
.carousel__rail { display: flex; gap: 18px; width: max-content; padding-inline: var(--gutter); }
.js .carousel__rail { padding-inline: 0; will-change: transform; }
.js .tcard { cursor: pointer; }
.carousel__track.is-dragging .carousel__rail { user-select: none; -webkit-user-select: none; }
.tcard {
  flex: 0 0 clamp(272px, 26vw, 340px);
  padding: 22px 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .4s var(--ease), transform .5s var(--ease), background .4s var(--ease), box-shadow .5s var(--ease), opacity .5s var(--ease);
}
@media (hover: hover) { .tcard:hover { border-color: var(--line-2); } }
/* Cartão escolhido: a esteira para e ele se destaca; os outros recuam */
.carousel.is-paused .tcard { opacity: .55; }
.carousel.is-paused .tcard.is-picked {
  opacity: 1;
  transform: translateY(-6px);
  background: var(--surface-2);
  border-color: rgba(253, 231, 48, .45);
  box-shadow: 0 30px 60px -30px rgba(3, 8, 15, .85);
}
.tcard header { display: flex; gap: 12px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tcard header div { display: flex; flex-direction: column; line-height: 1.35; }
.avatar--sq { width: 44px; height: 44px; border-radius: 10px; }
.stars {
  display: block; width: 66px; height: 11px; margin-bottom: 5px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") 0 0 / 13.2px 11px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") 0 0 / 13.2px 11px repeat-x;
}
.tcard b { font-size: 15px; font-weight: 600; }
.tcard small { font-size: 13px; color: var(--text-3); }
.tcard p { font-family: var(--serif); font-size: 18px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.tcard.is-picked p { color: var(--text); }
.carousel__arrow {
  position: absolute; top: 50%; z-index: 3;
  transform: translateY(-50%);
  display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 50%;
  background: rgba(32, 48, 68, .92); color: var(--text);
  font-size: 15px; cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.carousel__arrow:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-50%) scale(1.06); }
.carousel__arrow--prev { left: calc(50% - 606px); }
.carousel__arrow--next { right: calc(50% - 606px); }
.carousel__hint { margin: 22px auto 0; padding-inline: var(--gutter); text-align: center; font-size: 13px; color: var(--text-3); transition: color .3s; }
.carousel.is-paused .carousel__hint { color: var(--champagne); }
.testimonials .center { margin-top: 40px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 120px 0 120px; background: var(--paper-2); }
.faq__grid { display: grid; grid-template-columns: 380px 1fr; gap: 96px; align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__title { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; }
.faq__sub { margin-top: 18px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.faq__intro .btn { margin-top: 32px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s var(--ease), background .3s var(--ease); }
.qa:hover { border-color: var(--line-2); }
.qa[open] { border-color: var(--line-2); background: var(--surface); box-shadow: 0 18px 40px -26px var(--shadow); }
.qa summary {
  position: relative;
  display: flex; align-items: center;
  min-height: 64px;
  padding: 14px 72px 14px 24px;
  font-size: 16.5px; font-weight: 500; line-height: 1.4;
  cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__btn {
  position: absolute; top: 50%; right: 16px;
  display: grid; place-items: center;
  width: 34px; height: 34px; margin-top: -17px;
  border-radius: 50%;
  background: var(--icon-bg);
  border: 1px solid var(--icon-line);
  color: var(--icon);
  font-size: 15px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.qa__btn svg { transition: transform .4s var(--ease); }
.qa[open] .qa__btn { background: var(--icon-on-bg); color: var(--icon-on-fg); border-color: transparent; }
.qa[open] .qa__btn svg { transform: rotate(180deg); }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 72px 22px 24px; font-size: 16px; line-height: 1.65; color: var(--text-2); }

/* =========================================================
   FOOTER
   ========================================================= */
/* Rodapé em quadro: bordas laterais finas, fios de ponta a ponta separando
   as faixas e uma luz champanhe no canto (referência: minimal footer) */
.footer { position: relative; background: var(--ink-0); border-top: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.footer__frame {
  position: relative;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  border-inline: 1px solid var(--line);
}
.footer__frame--main {
  padding: 64px 48px 56px;
  background: radial-gradient(38% 90% at 24% 0%, rgba(231, 214, 161, .075), transparent 72%);
}
.footer__rule { height: 1px; background: var(--line); }

.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 32px; }
.footer__brand { grid-column: span 6; }
.footer__col { grid-column: span 3; }
.footer__brand img { height: 52px; width: auto; }
.footer__brand p { max-width: 380px; margin-top: 20px; font-size: 15px; line-height: 1.6; color: var(--text-3); text-wrap: pretty; }
.footer__h { display: block; margin: 6px 0 16px; font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); }
.footer ul { display: flex; flex-direction: column; gap: 4px; }
.footer ul li { padding-block: 5px; }
.footer ul a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: color .25s, text-decoration-color .25s; }
.footer ul a:hover { color: var(--text); text-decoration-color: var(--champagne); }

/* Botões de contato: mesmo formato para os dois canais */
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 18px 0 14px;
  background: var(--chip);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500; color: var(--text);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .35s var(--ease);
}
.social-btn svg { font-size: 18px; flex: none; color: var(--champagne); transition: color .3s var(--ease); }
.social-btn:hover { border-color: rgba(253, 231, 48, .5); background: var(--ink-surface); transform: translateY(-2px); }
.social-btn:hover svg { color: var(--accent); }
.footer__note { margin-top: 16px; font-size: 13px; color: var(--text-3); }

.footer__frame--bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 18px 48px 22px; font-size: 13px; color: var(--text-3); }
.footer__legal { display: flex; gap: 24px; margin-left: auto; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; transition: color .25s; }
.footer__legal a:hover { color: var(--text); }
.to-top {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 12px 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  font-size: 13px; font-weight: 500; color: var(--text);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.to-top svg { font-size: 15px; color: var(--accent); stroke-width: 2.4; transition: transform .35s var(--ease); }
.to-top:hover { border-color: var(--champagne); background: var(--chip); }
.to-top:hover svg { transform: translateY(-3px); }

@media (max-width: 900px) {
  .footer__frame--main { padding: 56px 32px 48px; }
  .footer__frame--bottom { padding-inline: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col { grid-column: span 6; }
}
@media (max-width: 560px) {
  .footer__frame { border-inline: 0; }
  .footer__frame--main { padding: 48px 0 40px; }
  .footer__grid { gap: 40px 20px; }
  .social-btn { flex: 1 1 0; justify-content: center; }
  .footer__frame--bottom { flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 0 28px; }
  .footer__legal { margin-left: 0; }
  .to-top { margin-top: 10px; }
}

/* =========================================================
   REVEAL
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal, .js .table .table__row, .toast { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn::after { display: none; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1240px) {
  .carousel__arrow--prev { left: 10px; }
  .carousel__arrow--next { right: 10px; }
  .toast--a { left: -12px; }
  .toast--b { right: 16px; }
}

@media (max-width: 1040px) {
  .hero__inner { gap: 40px; }
  .problem__grid { gap: 56px; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .leader__text { padding: 52px 40px; }

  /* bifurcação: o desenho fica em cima (cortado no fim dos caminhos) e os cartões embaixo */
  .decision__head { grid-template-columns: 1fr; }
  .fork { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin-top: 40px; }
  .fork__art { grid-column: 1 / -1; overflow: hidden; margin-bottom: 8px; }
  .fork__canvas { width: 140%; }
  .choice { position: relative; top: auto; bottom: auto; right: auto; width: auto; }
  .faq__grid { grid-template-columns: 320px 1fr; gap: 56px; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding: 120px 0 100px; gap: 64px; }
  .hero__content { max-width: 600px; }
  .hero__visual { max-width: 600px; }
  .hero__aura { width: 120%; height: 120%; }

  .problem, .pillars, .compare, .decision, .about, .testimonials, .faq { padding-block: 88px; }
  .problem__grid { grid-template-columns: 1fr; gap: 44px; }
  .problem__media { max-width: 520px; aspect-ratio: 4 / 3; }
  .problem__text { max-width: 600px; }

  .leader { grid-template-columns: 1fr; }
  .leader__media { min-height: 0; aspect-ratio: 4 / 3.4; }
  .leader__media img { transform: none; }

  .faq__grid { grid-template-columns: 1fr; gap: 44px; }
  .faq__intro { position: static; max-width: 560px; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .nav { top: 10px; height: 60px; padding: 0 8px 0 14px; border-radius: 12px; }
  .nav__logo img { height: 42px; }

  .hero__inner { padding: 108px 0 84px; gap: 52px; }
  .eyebrow { gap: 10px; letter-spacing: .15em; }
  .eyebrow::before, .section-head .eyebrow::after { width: 20px; }
  .hero__title { font-size: 46px; }
  .hero__sub { font-size: 16.5px; }
  .hero__actions { margin-top: 30px; }
  .btn--lg { width: 100%; }

  .dash { padding: 20px 16px 16px; border-radius: 18px; }
  .dash__head { flex-direction: column; gap: 12px; }
  .dash__value { font-size: 36px; }
  .dash__stats { grid-template-columns: 1fr 1fr; }
  .dash__stats > div:first-child { grid-column: 1 / -1; }
  .dash__axis span:nth-child(even) { visibility: hidden; }
  .toast { display: none; }

  .title, .leader__title, .faq__title { font-size: 34px; }
  .section-head__sub, .problem__text p:not(.eyebrow), .faq__sub { font-size: 16px; }
  .btn { white-space: normal; text-align: center; height: auto; min-height: 50px; padding-block: 12px; font-size: 12.5px; }

  .pillars__grid { grid-template-columns: 1fr; }
  .carousel__arrow { display: none; }


  .fork { grid-template-columns: 1fr; }
  .decision__title { font-size: 36px; }
  .decision__sub { font-size: 16.5px; }
  .fork__today { font-size: 17px; transform: translate(-8px, 12px); }
  .choice { padding: 58px 22px 24px; }
  .leader__text { padding: 36px 22px 40px; }
  .leader__media { aspect-ratio: 1 / 1; }
  .leader__media img { object-position: center 18%; }
  .leader__lead { font-size: 18px; margin-bottom: 22px; }
  /* ficha vira um extrato: rótulo à esquerda, valor à direita */
  .leader__facts { grid-template-columns: 1fr; gap: 0; padding: 4px 0; margin-bottom: 24px; }
  .leader__facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; }
  .leader__facts > div + div { border-top: 1px dashed var(--line-2); }
  .leader__facts dd { margin: 0; font-size: 19px; text-align: right; }
  .tcard p { font-size: 17px; }

  .qa summary { padding: 14px 64px 14px 18px; font-size: 15px; }
  .qa__body p { padding: 0 20px 20px 18px; }

}

/* Sobre no celular: a história fica recolhida atrás de "Ler a história completa".
   Sem JS, o texto aparece inteiro. */
@media (max-width: 640px) {
  .js .leader__story { position: relative; overflow: hidden; }
  .js .leader__story:not(.is-open) {
    max-height: 7.4em;
    -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 35%, transparent 100%);
  }
  .js .leader__more {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; margin-top: 4px; padding: 0;
    border: 0; background: none; cursor: pointer;
    font: 600 15px/1.2 var(--font); color: var(--champagne);
    text-decoration: underline; text-decoration-color: rgba(231, 214, 161, .4); text-underline-offset: 5px;
  }
  .leader__more svg { font-size: 16px; transition: transform .35s var(--ease); }
  .leader__more[aria-expanded="true"] svg { transform: rotate(180deg); }
}

/* Comparação no celular: uma coluna por vez, escolhida no seletor.
   Sem JS, as duas colunas aparecem empilhadas. */
@media (max-width: 640px) {
  .table__switch {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    margin-top: 40px; padding: 4px;
    border: 1px solid var(--line-2); border-radius: 12px;
    background: var(--chip);
  }
  .table__switch button {
    min-height: 44px; padding: 0 10px;
    border: 0; border-radius: 9px;
    background: transparent; color: var(--text-2);
    font: 600 13px/1.2 var(--font); letter-spacing: .03em;
    cursor: pointer;
    transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  }
  .table__switch button[data-view="altive"][aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
  .table__switch button[data-view="common"][aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 4px 12px -6px var(--shadow); }
  .table { margin-top: 12px; }
  .table__row { grid-template-columns: 1fr; }
  .table__row > div:last-child { border-left: 0; }
  .js .table .table__row--head { display: none; }
  .js .table[data-view="altive"] .table__row > div:first-child,
  .js .table[data-view="common"] .table__row > div:last-child { display: none; }
  .table__row > div { min-height: 0; padding: 15px 16px 15px 48px; font-size: 15px; line-height: 1.5; }
  .table__row:not(.table__row--head) > div::before { left: 16px; }
  .table__row--head > div { padding-left: 16px; font-size: 12px; }
}
