/* ============================================================
   Subbi — subbi.com.br
   Cena: pontos dispersos que se reorganizam em grade.
   Caos virando planilha — o próprio produto, em movimento.
   ============================================================ */

/* ---------- 1. Tokens — escuro é a base desta identidade ---------- */
:root {
  color-scheme: dark;

  --ground:      #05070F;
  --ground-2:    #080C17;
  --surface:     #0B1020;
  --surface-2:   #101830;
  --surface-glass: rgba(11, 16, 32, .72);

  --ink:         #E7ECF7;
  --ink-2:       #98A3BC;
  --ink-3:       #616D8A;

  --line:        rgba(122, 152, 220, .16);
  --line-soft:   rgba(122, 152, 220, .09);
  --line-strong: rgba(122, 152, 220, .32);

  --accent:      #3D6BFF;
  --accent-hi:   #6E90FF;
  --accent-ink:  #FFFFFF;
  --accent-dim:  rgba(61, 107, 255, .14);
  --glow:        rgba(61, 107, 255, .45);

  --warm:        #FFB03D;   /* só em números */

  --cena-pt:     rgba(150, 180, 255, .85);
  --cena-line:   rgba(80, 120, 230, .28);

  --f-display: "Syne", "Segoe UI", system-ui, sans-serif;
  --f-body:    "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:    "IBM Plex Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;

  --t-xs:   0.75rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-md:   1.0625rem;
  --t-lg:   1.25rem;
  --t-xl:   1.5rem;
  --t-3xl:  clamp(2rem, 4.2vw, 3rem);
  --t-4xl:  clamp(1.55rem, 2.7vw, 2.25rem);

  --shell: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --r: 14px;
}

/* ---------- 2. Claro: blueprint. Escolha explícita ---------- */
:root[data-theme="light"] {
  color-scheme: light;

  --ground:      #EEF2F9;
  --ground-2:    #E4EAF5;
  --surface:     #FFFFFF;
  --surface-2:   #F2F6FC;
  --surface-glass: rgba(255, 255, 255, .82);

  --ink:         #0A1020;
  --ink-2:       #46536E;
  --ink-3:       #74809A;

  --line:        rgba(20, 50, 120, .16);
  --line-soft:   rgba(20, 50, 120, .09);
  --line-strong: rgba(20, 50, 120, .3);

  --accent:      #1D4ED8;
  --accent-hi:   #2E63F5;
  --accent-ink:  #FFFFFF;
  --accent-dim:  rgba(29, 78, 216, .1);
  --glow:        rgba(29, 78, 216, .22);

  --warm:        #B4700A;

  --cena-pt:     rgba(30, 70, 170, .55);
  --cena-line:   rgba(30, 70, 170, .2);
}

/* Claro também quando o sistema pede claro e não há escolha */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;

    --ground:      #EEF2F9;
    --ground-2:    #E4EAF5;
    --surface:     #FFFFFF;
    --surface-2:   #F2F6FC;
    --surface-glass: rgba(255, 255, 255, .82);

    --ink:         #0A1020;
    --ink-2:       #46536E;
    --ink-3:       #74809A;

    --line:        rgba(20, 50, 120, .16);
    --line-soft:   rgba(20, 50, 120, .09);
    --line-strong: rgba(20, 50, 120, .3);

    --accent:      #1D4ED8;
    --accent-hi:   #2E63F5;
    --accent-ink:  #FFFFFF;
    --accent-dim:  rgba(29, 78, 216, .1);
    --glow:        rgba(29, 78, 216, .22);

    --warm:        #B4700A;

    --cena-pt:     rgba(30, 70, 170, .55);
    --cena-line:   rgba(30, 70, 170, .2);
  }
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-md);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--accent); color: var(--accent-ink);
  padding: .7rem 1.1rem; font-weight: 600;
}
.skip:focus { left: .5rem; top: .5rem; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
  z-index: 1;
}

/* ---------- 4. Cena de fundo ---------- */
.cena {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;          /* iOS: acompanha a barra de endereco */
  z-index: -2;
  display: block;
  pointer-events: none;
}

/* Escurece só as bordas. O miolo fica limpo para a cena aparecer. */
.vinheta {
  position: fixed;
  inset: 0;
  height: 100%;
  height: 100dvh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 95% 78% at 50% 42%,
    transparent 0%,
    transparent 46%,
    var(--ground) 100%
  );
}

/* ---------- 5. Tipografia ---------- */
.mono-label {
  margin: 0;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.mono-inline {
  font-family: var(--f-mono);
  font-size: .9em;
  background: var(--accent-dim);
  color: var(--ink);
  padding: .12em .45em;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.3rem;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-hi);
  font-weight: 500;
  padding: .4rem .8rem .4rem .7rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--accent-dim);
}

.pulso {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-hi);
  box-shadow: 0 0 0 0 var(--glow);
  animation: pulso 2.4s ease-out infinite;
}
@keyframes pulso {
  0%   { box-shadow: 0 0 0 0 var(--glow); }
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.h2 {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0 0 1rem;
}

.lede {
  font-size: var(--t-lg);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 1.1rem;
  max-width: 62ch;
}
.lede--wide { max-width: 70ch; }
.body { margin: 0 0 1.1rem; color: var(--ink-2); max-width: 62ch; }

.num {
  font-variant-numeric: tabular-nums;
  color: var(--warm);
  font-weight: 600;
}

/* ---------- 6. Botões ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  padding: .74rem 1.2rem;
  border-radius: 8px;
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: background .18s ease, transform .18s ease, box-shadow .25s ease, border-color .18s ease;
}
.btn:hover {
  --btn-bg: var(--accent-hi);
  box-shadow: 0 0 0 1px var(--line-strong), 0 10px 30px -8px var(--glow);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }

.btn--lg { padding: 1rem 1.6rem; font-size: var(--t-base); }
.btn--sm { padding: .55rem 1rem; font-size: var(--t-sm); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  --btn-bg: var(--accent-dim);
  border-color: var(--accent);
  box-shadow: none;
}

.btn--invert {
  --btn-bg: var(--ground);
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--invert:hover { --btn-bg: var(--surface-2); --btn-fg: var(--ink); }

.btn__ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- 7. Topo ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--t-lg);
  letter-spacing: -.04em;
  margin-inline-end: auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--accent-hi), var(--accent));
  color: #fff;
  box-shadow: 0 4px 16px -4px var(--glow);
}
.brand__mark svg { width: 19px; height: 19px; }

.topnav { display: flex; gap: 1.7rem; }
.topnav a {
  text-decoration: none;
  font-size: var(--t-sm);
  color: var(--ink-2);
  font-weight: 500;
  position: relative;
  padding-block: .35rem;
  transition: color .18s ease;
}
.topnav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1.5px;
  background: var(--accent-hi);
  transition: right .28s cubic-bezier(.4,0,.2,1);
}
.topnav a:hover { color: var(--ink); }
.topnav a:hover::after { right: 0; }

.topbar__actions { display: flex; align-items: center; gap: .7rem; }

.themetoggle {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.themetoggle:hover { color: var(--ink); border-color: var(--line-strong); background: var(--accent-dim); }
.themetoggle svg { width: 17px; height: 17px; }

.themetoggle__sun { display: none; }
.themetoggle__moon { display: block; }
:root[data-theme="light"] .themetoggle__sun { display: block; }
:root[data-theme="light"] .themetoggle__moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .themetoggle__sun { display: block; }
  :root:not([data-theme="dark"]) .themetoggle__moon { display: none; }
}

@media (max-width: 900px) { .topnav { display: none; } }

/* ---------- 8. Hero ---------- */
.hero {
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 6rem);
  perspective: 1400px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  transform-style: preserve-3d;
}

.hero__title {
  font-family: var(--f-display);
  font-size: var(--t-4xl);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.04em;
  margin: 0 0 1.5rem;
}
.hero__title .linha {
  display: block;
  overflow: hidden;
}
/* As quebras são definidas no HTML. Só travo onde a linha cabe —
   abaixo disso, deixo quebrar naturalmente para não vazar da tela. */
@media (min-width: 700px) {
  .hero__title .linha > span { white-space: nowrap; }
}
.hero__title .linha > span {
  display: block;
  transform: translateY(105%);
  animation: sobe .95s cubic-bezier(.16,1,.3,1) forwards;
}
.hero__title .linha:nth-child(1) > span { animation-delay: .06s; }
.hero__title .linha:nth-child(2) > span { animation-delay: .15s; }
.hero__title .linha:nth-child(3) > span { animation-delay: .24s; }
.hero__title .linha:nth-child(4) > span { animation-delay: .33s; }
@keyframes sobe { to { transform: translateY(0); } }

.grifo {
  background: linear-gradient(100deg, var(--accent-hi), var(--warm));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: var(--t-lg);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 55ch;
  margin: 0 0 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__note { margin: 1.4rem 0 0; font-size: var(--t-sm); color: var(--ink-3); max-width: 46ch; }

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 9. Superfícies com profundidade ---------- */
.calc, .cat {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.calc { box-shadow: 0 24px 70px -30px rgba(0,0,0,.85); }

.calc:hover, .cat:hover { border-color: var(--line-strong); }

/* brilho que segue o cursor */
.calc__glow, .cat__glow {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 0%),
    var(--accent-dim), transparent 62%
  );
}
.calc:hover .calc__glow, .cat:hover .cat__glow { opacity: 1; }

.calc__inner, .cat__inner { position: relative; z-index: 1; }

/* ---------- 10. Calculadora ---------- */
.calc__head {
  padding: 1.4rem 1.6rem 1.2rem;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
}
.calc__title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.18;
  margin: .55rem 0 0;
}
.calc__body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.field { display: flex; flex-direction: column; gap: .6rem; }
.field__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
}
.field__val {
  font-family: var(--f-mono);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--accent-hi);
  font-variant-numeric: tabular-nums;
}
.field__hint { margin: 0; font-size: var(--t-xs); color: var(--ink-3); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 14px var(--glow);
}
input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 14px var(--glow);
}

.calc__out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.readout { background: var(--surface-2); padding: 1.05rem 1.15rem; }
.readout__big {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 700;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--warm);
  margin: .4rem 0 0;
  line-height: 1.12;
}
.readout__foot { margin: .25rem 0 0; font-size: var(--t-xs); color: var(--ink-3); line-height: 1.4; }

.calc__kicker {
  margin: 0;
  font-size: var(--t-sm);
  color: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  padding-block-start: 1.15rem;
}
.calc__kicker span { color: var(--warm); font-weight: 600; font-variant-numeric: tabular-nums; }

@media (max-width: 460px) { .calc__out { grid-template-columns: 1fr; } }

/* ---------- 11. Seções ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

.band {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  background: linear-gradient(180deg, transparent, var(--ground-2) 12%, var(--ground-2) 88%, transparent);
  border-block: 1px solid var(--line-soft);
}

.sectionhead { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 72ch; }
.sectionhead .mono-label { margin-bottom: .85rem; }

/* ---------- 12. Ficha técnica ---------- */
.spec {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}
.spec__aside { position: sticky; top: 96px; }
.spec__asidenote { margin: .95rem 0 0; font-size: var(--t-sm); color: var(--ink-3); line-height: 1.55; }

.specsheet { margin: 2rem 0 0; border-top: 1px solid var(--line); }
.specsheet__row {
  display: grid;
  grid-template-columns: minmax(0, 165px) minmax(0, 1fr);
  gap: 1.2rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--line-soft);
  transition: background .2s ease;
}
.specsheet__row:hover { background: var(--accent-dim); }
.specsheet dt {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-3);
  padding-top: .2rem;
}
.specsheet dd { margin: 0; font-size: var(--t-base); color: var(--ink-2); line-height: 1.55; }

.pull {
  margin: 2.5rem 0 0;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--surface);
}
.pull p { margin: 0; font-size: var(--t-base); color: var(--ink-2); line-height: 1.6; max-width: 60ch; }
.pull em { color: var(--ink); font-style: italic; }
.pull footer {
  margin-top: .8rem;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-3);
}

@media (max-width: 880px) {
  .spec { grid-template-columns: minmax(0, 1fr); }
  .spec__aside { position: static; }
  .specsheet__row { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
}

/* ---------- 13. A cesta ---------- */
.basket {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 1.1rem;
  perspective: 1200px;
}

.cat { padding: 0; }
.cat__inner {
  padding: 1.75rem 1.65rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  height: 100%;
}
.cat__head { display: flex; flex-direction: column; gap: .5rem; }
.cat__title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.16;
  margin: 0;
  text-wrap: balance;
}
.cat__sub { margin: 0; font-size: var(--t-sm); color: var(--ink-3); line-height: 1.5; }

.items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.items li {
  position: relative;
  padding-left: 1.25rem;
  font-size: var(--t-sm);
  line-height: 1.58;
  color: var(--ink-2);
}
.items li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 1px;
  background: var(--accent);
  transform: rotate(45deg);
}
.items strong { color: var(--ink); font-weight: 600; }

/* ---------- 14. Processo ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.2rem);
}
.step { display: flex; flex-direction: column; gap: .95rem; }
.step__n {
  font-family: var(--f-mono);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--accent-hi);
  margin: 0;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.step__n::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 32px; height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}
.step__title {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: 700;
  letter-spacing: -.025em;
  margin: 0 0 .5rem;
  line-height: 1.22;
}
.step__body p { margin: 0; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.6; }

/* ---------- 15. Fechamento ---------- */
.closer {
  position: relative;
  padding-block: clamp(4rem, 10vw, 7rem);
  background:
    radial-gradient(120% 130% at 50% 0%, var(--accent-dim), transparent 62%),
    var(--ground-2);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.closer__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.15rem; }
.closer__title {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 5.4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.03;
  margin: 0;
  text-wrap: balance;
  max-width: 18ch;
}
.closer__sub { margin: 0; font-size: var(--t-lg); line-height: 1.55; max-width: 54ch; color: var(--ink-2); }
.closer__inner .btn { margin-top: .7rem; }
.closer__num {
  margin: .4rem 0 0;
  font-family: var(--f-mono);
  font-size: var(--t-sm);
  letter-spacing: .08em;
  color: var(--ink-3);
}

/* ---------- 16. Rodapé ---------- */
.foot {
  padding-block: 2.6rem;
  border-top: 1px solid var(--line-soft);
  background: var(--ground);
}
.foot__inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 2rem; }
.foot__brand {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--t-base);
  letter-spacing: -.03em;
}
.foot__dot { color: var(--accent-hi); }
.foot__by { margin: 0; font-size: var(--t-sm); color: var(--ink-3); margin-inline-end: auto; }
.foot__wa { margin: 0; font-size: var(--t-sm); }
.foot__wa a { color: var(--accent-hi); text-decoration: none; font-weight: 600; }
.foot__wa a:hover { text-decoration: underline; }

/* ---------- 17. Revelação no scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
[data-reveal].visivel { opacity: 1; transform: none; }

/* ---------- 18. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__title .linha > span { transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .cena { display: none; }
}

/* ---------- 19. Páginas de documento (privacidade, termos) ---------- */
.doc {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
  max-width: 760px;
}
.doc__voltar {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color .18s ease;
}
.doc__voltar:hover { color: var(--accent-hi); }
.doc h1 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.08;
  margin: 0 0 .6rem;
}
.doc__data {
  margin: 0 0 2.5rem;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.doc h2 {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin: 2.4rem 0 .8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
}
.doc h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.doc p, .doc li { color: var(--ink-2); line-height: 1.7; }
.doc p { margin: 0 0 1rem; }
.doc ul { margin: 0 0 1rem; padding-left: 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--accent-hi); text-decoration: none; font-weight: 500; }
.doc a:hover { text-decoration: underline; }

.foot__links { margin: 0; font-size: var(--t-sm); color: var(--ink-3); }
.foot__links a { color: var(--ink-3); text-decoration: none; transition: color .18s ease; }
.foot__links a:hover { color: var(--accent-hi); }
.foot__links span { opacity: .5; margin-inline: .35rem; }

/* ---------- 20. Respiro do topo no celular ----------
   No desktop o hero tem folga generosa; na tela pequena ela vira
   espaço morto entre o cabeçalho e o conteúdo. */
@media (max-width: 700px) {
  .hero { padding-block-start: 1.4rem; }
  .eyebrow { margin-bottom: 1rem; }
}
