/* Trato — landing pública (tratobot.tech)
   Um céu só: o gradiente vive no <html> e atravessa Noite → Madrugada → Névoa → Papel.
   As seções são transparentes; nenhuma transição termina em borda dura.
   Paleta e tipografia: docs/plano-landing-page.md */

@property --coral-a { syntax: '<number>'; inherits: true; initial-value: 0.9; }
@property --dim     { syntax: '<number>'; inherits: true; initial-value: 1; }

:root {
  color-scheme: light;
  --noite: #0B1726;
  --madrugada: #05454E;
  --nevoa: #9EBFC0;
  --papel: #FAFAF7;
  --ambar: #EAA01A;
  --ambar-tinta: #915200;
  --verde: #59BE6C;
  --verde-tinta: #067132;
  --coral: #F56F57;
  --coral-tinta: #BA2D1F;
  --amanhecer: #3D3022;
  --fim: var(--papel);          /* onde a passagem termina */
  --ink-dark: var(--papel);     /* texto sobre a metade escura */
  --ink-light: var(--noite);    /* texto sobre a metade clara */
  --ink: var(--papel);          /* fallback fora das seções com tom */
  --focus: var(--ambar);
  /* paradas intermediárias da passagem (o tema escuro troca por neutros p/ não passar pelo verde-oliva) */
  --sky-mid1: color-mix(in oklch, var(--nevoa), var(--fim) 55%);
  --sky-mid2: color-mix(in oklch, var(--nevoa), var(--fim) 88%);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', 'Segoe UI', Helvetica, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1120px;
  --gutter: 24px;
  --nav-h: 72px;
  /* Grade única: toda seção de duas colunas divide o .wrap ao meio com o mesmo vão,
     então a segunda coluna começa sempre na mesma linha vertical da página. */
  --col-gap: clamp(2rem, 6vw, 6rem);

  /* Paradas do céu em % da altura do documento. O JS recalcula pelas seções;
     estes valores são o fallback sem JS. */
  --sky-hero: 12%;
  --sky-dor: 24%;
  --sky-conv: 46%;
  --sky-pass: 52%;
  --sky-abite: 64%;
  --sky-humano: 76%;
  --sky-quem: 84%;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --fim: var(--amanhecer);
    --nevoa: #35474F;
    --sky-mid1: #3B3A36;
    --sky-mid2: #3C3629;
    --ink-light: var(--papel);
  }
}

/* ── Base ─────────────────────────────────────────── */
html {
  min-height: 100%;
  background-color: var(--noite);
  background-image: linear-gradient(to bottom,
    var(--noite) 0%,
    var(--noite) var(--sky-hero),
    color-mix(in oklch, var(--noite), var(--madrugada) 45%) var(--sky-dor),
    var(--madrugada) var(--sky-conv),
    var(--nevoa) var(--sky-pass),
    var(--sky-mid1) var(--sky-abite),
    var(--sky-mid2) var(--sky-humano),
    var(--fim) var(--sky-quem),
    var(--fim) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-dark);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }

[data-tone="dark"]  { color: var(--ink-dark);  --ink: var(--ink-dark);  --focus: var(--ambar); --btn-bg: var(--ambar); --btn-fg: #1A1300; --btn-glow: var(--ambar); }
[data-tone="light"] { color: var(--ink-light); --ink: var(--ink-light); --focus: var(--ink-light); --btn-bg: var(--noite); --btn-fg: var(--papel); --btn-glow: var(--noite); }
@media (prefers-color-scheme: dark) {
  [data-tone="light"] { --btn-bg: var(--ambar); --btn-fg: #1A1300; --btn-glow: var(--ambar); }
}

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

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .6rem 1rem; border-radius: 999px;
  background: var(--papel); color: var(--noite); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

section { scroll-margin-top: calc(var(--nav-h) + 12px); }
.section { padding-block: clamp(4.5rem, 12vh, 8rem); }

p { margin: 0 0 1em; max-width: 58ch; }
p:last-child { margin-bottom: 0; }

/* ── Tipografia ───────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 0;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
.display--xl { font-size: clamp(2.75rem, 6.5vw, 5.5rem); line-height: 1.02; }
.display--lg { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; }

h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: 'opsz' 48, 'SOFT' 50, 'WONK' 0;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 .5rem;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  line-height: 1.55;
  max-width: 46ch;
}
.hero .lead { color: color-mix(in srgb, var(--papel) 82%, transparent); }

/* ── Grão ─────────────────────────────────────────── */
.grain {
  position: fixed; inset: -20%; z-index: 60; pointer-events: none;
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 260px 260px;
}

/* ── Marca ────────────────────────────────────────── */
.brand {
  display: inline-flex; align-items: flex-end; gap: .1em;
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1;
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'WONK' 0;
  letter-spacing: -.01em; color: inherit; text-decoration: none;
}
.brand__dot {
  width: .32em; height: .32em; margin-bottom: .08em; border-radius: 50%;
  background: linear-gradient(to bottom, var(--madrugada) 20%, var(--papel) 100%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent);
}

/* ── Navegação ────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--nav-h);
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), color .35s var(--ease);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav__links { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); }
.nav__link { color: inherit; text-decoration: none; font-weight: 500; font-size: .9375rem; opacity: .86; padding: .4rem .1rem; }
.nav__link:hover { opacity: 1; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.nav[data-tone="dark"]  { --nav-bg: var(--noite); }
.nav[data-tone="light"] { --nav-bg: var(--sky-mid1); }
.nav.is-scrolled {
  background: color-mix(in srgb, var(--nav-bg) 58%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}

/* ── Botões ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: 0 1.6rem; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .35s var(--ease), box-shadow .5s var(--ease), color .35s var(--ease);
}
.btn--sm { min-height: 42px; padding: 0 1.15rem; font-size: .9375rem; }
.btn--primary {
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: 0 0 0 0 transparent, 0 10px 24px -14px color-mix(in srgb, var(--btn-glow) 45%, transparent);
}
.btn--primary:hover {
  background: color-mix(in oklch, var(--btn-bg), white 9%);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--btn-glow) 16%, transparent), 0 16px 34px -12px color-mix(in srgb, var(--btn-glow) 70%, transparent);
}
.btn--primary:active {
  background: color-mix(in oklch, var(--btn-bg), black 8%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn-glow) 18%, transparent), 0 6px 16px -10px color-mix(in srgb, var(--btn-glow) 60%, transparent);
}
.btn--ghost {
  color: var(--ink); background: transparent;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 30%, transparent);
}
.btn--ghost:hover {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 48%, transparent);
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }

/* ── Noturno: herói + dor, com as auroras ─────────── */
.noturno { position: relative; overflow: clip; isolation: isolate; } /* clip (e não hidden): não vira scroll container, e o view() do ledger segue a página */

.bloom {
  position: absolute; z-index: -1; pointer-events: none; border-radius: 50%;
  filter: blur(70px) saturate(1.3);
  will-change: transform;
}
.bloom--teal {
  width: min(82vw, 980px); aspect-ratio: 1; left: -18vw; top: -24vw;
  background: radial-gradient(closest-side, rgb(5 69 78 / .95), rgb(5 69 78 / 0) 72%);
  animation: drift-a 46s ease-in-out infinite alternate;
}
.bloom--verde {
  width: min(60vw, 720px); aspect-ratio: 1; right: -22vw; top: 6vh;
  background: radial-gradient(closest-side, rgb(89 190 108 / .30), rgb(89 190 108 / 0) 70%);
  animation: drift-b 58s ease-in-out infinite alternate;
}
.bloom--horizonte {
  left: -10vw; right: -10vw; bottom: -14vh; height: 34vh;
  background: radial-gradient(60% 80% at 50% 60%, rgb(234 160 26 / .42), rgb(234 160 26 / 0) 70%);
  filter: blur(60px) saturate(1.2);
  animation: breathe 14s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(10vw, 8vh, 0) rotate(8deg); } }
@keyframes drift-b { to { transform: translate3d(-12vw, 12vh, 0) scale(1.12); } }
@keyframes breathe { to { opacity: .7; transform: translateY(-2vh) scaleX(1.06); } }

/* ── Herói ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + clamp(2rem, 6vh, 5rem));
  padding-bottom: clamp(4rem, 10vh, 7rem);
}
.hero__grid, .dor__grid, .conversa__grid, .humano__grid, .quem__grid, .convite__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap);
}
.hero__grid { align-items: center; }
.hero__copy .lead { margin: 1.5rem 0 2.25rem; }

/* O único momento orquestrado na carga: o texto entra, depois a conversa se escreve. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .hero__copy > *, .js .hero__chat {
  animation: rise .9s var(--ease) both;
  animation-delay: calc(120ms + var(--i, 0) * 140ms);
}

/* ── Conversa (painel de chat) ────────────────────── */
.chat {
  display: flex; flex-direction: column;
  padding: 1rem; border-radius: 24px;
  background: rgb(255 255 255 / .05);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .10), 0 40px 80px -40px rgb(0 0 0 / .7);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: var(--papel);
}
.chat__head { display: flex; align-items: center; gap: .7rem; padding: .1rem .2rem .8rem; border-bottom: 1px solid rgb(255 255 255 / .09); }
.chat__avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  background: color-mix(in srgb, var(--verde) 28%, transparent); color: var(--papel);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--verde) 45%, transparent);
}
.chat__who { display: flex; flex-direction: column; line-height: 1.2; }
.chat__who strong { font-size: .95rem; font-weight: 600; }
.chat__who span { font-size: .78rem; opacity: .62; }
.chat__list { list-style: none; margin: 0; padding: .85rem 0 0; display: flex; flex-direction: column; gap: .5rem; min-height: 0; }

.msg {
  position: relative; max-width: 86%;
  padding: .6rem .8rem .45rem; border-radius: 16px;
  font-size: .9375rem; line-height: 1.45;
}
.msg p { margin: 0; max-width: none; }
.msg time { display: block; margin-top: .25rem; font-size: .7rem; line-height: 1; opacity: .6; text-align: right; font-variant-numeric: tabular-nums; }
.msg--out { align-self: flex-end; background: color-mix(in srgb, var(--verde) 24%, rgb(255 255 255 / .06)); border-bottom-right-radius: 6px; }
.msg--in  { align-self: flex-start; background: rgb(255 255 255 / .09); border-bottom-left-radius: 6px; }
.msg--doc {
  background: color-mix(in srgb, var(--ambar) 16%, rgb(255 255 255 / .05));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ambar) 38%, transparent), 0 12px 30px -14px color-mix(in srgb, var(--ambar) 65%, transparent);
}
.doc { display: flex; align-items: center; gap: .75rem; padding: .1rem .1rem .15rem; }
.doc__badge {
  flex: none; width: 40px; height: 46px; border-radius: 8px; display: grid; place-items: center;
  background: var(--ambar); color: #1A1300; font-weight: 700; font-size: .7rem; letter-spacing: .05em;
}
.doc__text { display: flex; flex-direction: column; line-height: 1.25; }
.doc__text strong { font-weight: 600; font-size: .92rem; }
.doc__meta { font-size: .86rem; opacity: .8; font-variant-numeric: tabular-nums; }

/* Herói: o painel tem altura fixa que cabe na primeira dobra; as mensagens entram por baixo
   e as antigas saem por cima, como numa tela de celular. */
.hero { --hero-chat-h: clamp(400px, calc(100svh - var(--nav-h) - 9rem), 600px); }
.chat--hero { height: var(--hero-chat-h); }
.chat--hero .chat__list {
  flex: 1; overflow: hidden; justify-content: flex-end;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 32px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 32px);
}
.chat__day { align-self: center; font-size: .72rem; padding: .25rem .7rem; border-radius: 999px; background: rgb(255 255 255 / .08); opacity: .7; margin-bottom: .25rem; }
.js .chat--hero .msg { display: none; }
.js .chat--hero .msg.is-typing, .js .chat--hero .msg.is-shown { display: block; animation: pop .45s var(--ease) both; }
.js .chat--hero .msg.is-typing > * { opacity: 0; }
.js .chat--hero .msg.is-shown > * { opacity: 1; transition: opacity .3s var(--ease); }
.js .chat--hero .msg.is-typing::after {
  content: ''; position: absolute; left: .85rem; top: 50%; width: 28px; height: 8px; transform: translateY(-50%);
  background: radial-gradient(circle, currentColor 3px, transparent 3.5px) 0 0 / 10px 8px repeat-x;
  opacity: .7; animation: typing 1s ease-in-out infinite;
}
@keyframes typing { 50% { opacity: .25; } }

/* No desktop, o painel lateral acompanha os três tempos; no celular cada tempo traz as suas mensagens
   logo abaixo do texto (nada fica fixo por cima do que se lê). */
.chat--mini { display: none; margin-top: 1.25rem; padding: .75rem; border-radius: 18px; }
.chat--mini .chat__list { padding-top: 0; }
.chat--mini .msg { max-width: 92%; font-size: .9rem; }

/* Beats: mensagens só existem quando o beat chega; o painel cresce como um chat de verdade. */
.js .chat--beats .msg { display: none; }
.js .chat--beats .msg.is-shown { display: block; animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }

/* ── A dor ────────────────────────────────────────── */
.dor__grid { align-items: center; padding-block: clamp(5rem, 14vh, 9rem); }
.dor__copy p { margin-top: 1.25rem; font-size: 1.125rem; color: color-mix(in srgb, var(--papel) 84%, transparent); }

.ledger { font-variant-numeric: tabular-nums; border-top: 1px solid rgb(255 255 255 / .16); }
.ledger__row {
  position: relative; display: grid; grid-template-columns: 1.1fr 1.7fr .7fr; gap: 1rem;
  padding: .95rem .25rem .95rem 1.15rem; border-bottom: 1px solid rgb(255 255 255 / .09);
  opacity: var(--dim);
}
.ledger__row--head { font-size: .8125rem; font-weight: 500; opacity: .62; }
.ledger__row > span:last-child { text-align: right; padding-right: .5rem; }
.ledger__row:not(.ledger__row--head)::before {
  content: ''; position: absolute; left: 0; top: .95rem; bottom: .95rem; width: 3px; border-radius: 2px;
  background: var(--coral); opacity: var(--coral-a);
}
.ledger__dias { color: color-mix(in srgb, var(--coral) calc(var(--coral-a) * 100%), var(--papel)); font-weight: 500; }

/* O coral se dissolve conforme a história avança (só onde o navegador suporta linhas do tempo de rolagem). */
@supports (animation-timeline: view()) {
  .ledger { animation: dissolve linear both; animation-timeline: view(); animation-range: contain 35% exit 55%; }
  @keyframes dissolve { from { --coral-a: .9; --dim: 1; } to { --coral-a: 0; --dim: .5; } }
}

/* ── A conversa em três tempos ────────────────────── */
.conversa__title { margin-bottom: clamp(2rem, 5vh, 3.5rem); max-width: 18ch; }
.conversa__grid { align-items: start; }
.conversa__sticky { position: sticky; top: calc(var(--nav-h) + 24px); }
.beats { list-style: none; margin: 0; padding: 0; }
.beat { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-block: 2rem; }
.beat:last-child { min-height: 48vh; }
.beat__n { font-variant-numeric: lining-nums; }
.beat h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); max-width: 22ch; }
.beat p { max-width: 46ch; color: color-mix(in srgb, var(--papel) 84%, transparent); }

/* ── Passagem: respiro entre a metade escura e a clara ── */
.passagem { height: clamp(160px, 28vh, 320px); }

/* ── Abite ────────────────────────────────────────── */
.linha {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .9rem;
  margin: clamp(2rem, 5vh, 3rem) 0 clamp(2.5rem, 6vh, 4rem);
  font-family: var(--font-display); font-weight: 500; font-size: 1.125rem;
  font-variation-settings: 'opsz' 32, 'SOFT' 50, 'WONK' 0;
}
.linha__lado { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.linha__no--trato { padding: .35rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 28%, transparent); }
.linha__traco { position: relative; flex: 1; height: 1px; background: color-mix(in srgb, var(--ink) 32%, transparent); }
.linha__ponto {
  position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--noite) 0%, var(--madrugada) 52%, var(--papel) 100%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 22%, transparent);
  animation: viaja 8s ease-in-out infinite alternate;
}
.linha__ponto--2 { animation-delay: -4s; }
@keyframes viaja { to { left: 100%; } }

.fatos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(2rem, 4vw, 3.5rem); align-items: start; }
.fato p { max-width: 36ch; }

/* Toda menção ao Abite leva ao site dele; o sublinhado fica discreto para não competir com o texto. */
.link-abite {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: max(1px, .05em);
  text-underline-offset: .18em;
  text-decoration-color: color-mix(in srgb, var(--ink) 38%, transparent);
  transition: text-decoration-color .25s var(--ease);
}
.link-abite:hover { text-decoration-color: currentColor; }
.linha .link-abite { text-decoration: none; }
.linha .link-abite:hover { text-decoration: underline; }

/* Para quem ainda não tem o Abite: o cartão inteiro é clicável (o ::after do botão cobre o cartão). */
.conheca {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem;
  margin-top: clamp(3rem, 8vh, 5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: 28px;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.conheca:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 24%, transparent);
}
.conheca__texto { flex: 1 1 380px; }
.conheca h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.conheca p { max-width: 54ch; opacity: .86; }
.conheca__btn::after { content: ''; position: absolute; inset: 0; border-radius: 28px; }
.conheca:hover .conheca__btn {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 48%, transparent);
}
.conheca__seta { flex: none; transition: transform .35s var(--ease); }
.conheca:hover .conheca__seta { transform: translate(2px, -2px); }

/* ── Humano ───────────────────────────────────────── */
.humano__grid { align-items: start; }
.humano__texto p { max-width: none; font-size: 1.125rem; }
.humano__texto p + p { margin-top: 1.1em; }
.humano__lgpd { font-size: 1rem !important; margin-top: 1.75em !important; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }

/* ── Para quem ────────────────────────────────────── */
.quem__grid { align-items: start; }
.quem__grid p { margin-top: 1.25rem; font-size: 1.125rem; }
.quem__lista h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.quem__lista ul { list-style: none; margin: 0; padding: 0; }
.quem__lista li { padding: .9rem 0; border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.quem__lista li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); }

/* ── Convite ──────────────────────────────────────── */
.convite { padding-block: clamp(5rem, 14vh, 9rem); }
.convite__grid { align-items: start; }
.convite .display { max-width: 14ch; }
.convite__texto p { margin: 0 0 2rem; max-width: 44ch; font-size: 1.125rem; }

/* ── Rodapé ───────────────────────────────────────── */
.rodape { padding: 2.75rem 0 2.5rem; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); font-size: .9375rem; }
.rodape__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: flex-start; justify-content: space-between; }
.rodape__marca { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.rodape__nota { margin: 0; opacity: .8; }
.rodape__links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; padding-top: .3rem; }
.rodape__links a { color: inherit; text-decoration: none; }
.rodape__links a:hover { text-decoration: underline; text-underline-offset: .3em; }

/* ── Revelações (uma vez) ─────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── Responsivo ───────────────────────────────────── */
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 3rem); }
  .hero__chat { max-width: 460px; }
  .hero { --hero-chat-h: clamp(300px, calc(100svh - 22rem), 400px); }
  .hero__grid, .dor__grid, .humano__grid, .quem__grid, .convite__grid, .fatos { grid-template-columns: minmax(0, 1fr); }
  /* Em coluna única o grid limitaria o sticky à própria linha; em bloco ele acompanha os três tempos. */
  .conversa__grid { display: block; }
  .conversa__sticky { display: none; }
  .chat--mini { display: flex; }
  .beat { min-height: 0; padding-block: 1.5rem 2rem; }
  .beat:last-child { padding-bottom: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --nav-h: 64px; }
  body { font-size: 1rem; }
  .nav__link--sm-hide { display: none; }
  .brand { font-size: 1.35rem; }
  .bloom { filter: blur(48px) saturate(1.25); }
  .bloom--verde { display: none; }
  .msg { max-width: 92%; font-size: .9rem; }
  .btn { width: 100%; max-width: 360px; }
  .nav .btn { width: auto; }
  .linha, .linha__lado { gap: .6rem; }
  .linha { font-size: 1rem; }
  .linha__no--trato { padding: .3rem .8rem; }
  /* Alvos de toque ≥ 44 px */
  .btn--sm { min-height: 44px; }
  .nav__link { padding-block: .65rem; }
  .brand { padding-block: .7rem; }
  .rodape__links { gap: 1.75rem; }
  .rodape__links a { display: inline-block; padding-block: .65rem; }
}

/* ── Reduzir movimento ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bloom, .linha__ponto, .ledger, .js .chat--hero .msg.is-typing::after { animation: none !important; }
  .js .hero__copy > *, .js .hero__chat { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .chat--hero .msg.is-shown { animation: none; }
  .js .chat--hero .msg > * { opacity: 1 !important; }
  .js .chat--beats .msg.is-shown { animation: none; }
  .btn, .nav, .conheca, .conheca__seta, .link-abite { transition: none; }
}
