/* =============================================================
   Roberta Vidal — sistema de layout e componentes
   Depende de: tokens.css, fonts.css

   A arquitetura (grid, ritmo, breakpoints, gramática de movimento)
   vem do template. A identidade — cor, tipo, palco do hero — é
   inteiramente desta marca.
   ============================================================= */

/* ---------------------------------------------------------------
   1. Reset e base
   --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-tight);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img { height: auto; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul { list-style: none; }

/* Itálico é proibido no site inteiro. Rede de segurança: mesmo que
   uma tag semântica escape, ela nunca inclina. */
em, i, cite, address, dfn, var { font-style: normal; }

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

.skip-link {
  position: absolute;
  left: 50%;
  top: 8px;
  translate: -50% -200%;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--cream);
  font-size: var(--t-sm);
  font-weight: 500;
  transition: translate var(--dur-fast) var(--ease-snap);
}
.skip-link:focus-visible { translate: -50% 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------------------------------------------------------------
   2. Tipografia
   --------------------------------------------------------------- */
.display,
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
  text-wrap: balance;
}

/* Ênfase do display: cor + peso. Nunca inclinação. */
.display em,
h1 em, h2 em, h3 em,
.emph {
  font-style: var(--display-emph-style);
  font-weight: var(--display-emph-weight);
  color: var(--display-emph-color);
}

h1 { font-size: var(--t-h1); line-height: var(--lh-display); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }

h4, h5 {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: var(--ls-tight);
}
h4 { font-size: var(--t-h5); line-height: var(--lh-relaxed); }
h5 { font-size: var(--t-lead); line-height: var(--lh-snug); }

p { text-wrap: pretty; }

.lead {
  font-size: var(--t-lead);
  line-height: var(--lh-body);
  color: var(--fg-muted);
  max-width: var(--maxw-text);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--sage-deep);
}

/* ---------------------------------------------------------------
   3. Layout
   --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3xl);
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-head__text { max-width: 46ch; }
.section-head__text .lead { margin-top: var(--sp-xl); }

/* ---------------------------------------------------------------
   4. Botões e links
   --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 16px 22px;
  border-radius: var(--r-lg);
  font-size: var(--t-sm);
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
  transition:
    background-color var(--dur-fast) var(--ease-snap),
    color var(--dur-fast) var(--ease-snap);
}

.btn svg { flex: none; width: 14px; height: 14px; }

.btn--primary {
  background: var(--nogueira);
  color: #fff;
}
.btn--primary:hover { background: var(--nogueira-deep); }

.btn--dark {
  background: var(--ink);
  color: var(--fg-on-dark);
}
.btn--dark:hover { background: var(--nogueira-deep); }

.btn--light {
  background: var(--surface-card);
  color: var(--nogueira-ink);
  box-shadow: var(--inset-hairline);
}
.btn--light:hover { background: #fff; }

.btn--outline {
  border: 1px solid var(--border-strong);
  color: var(--fg);
}
.btn--outline:hover { background: var(--cream-soft); }

/* Sobre o céu, o contorno vira creme */
.hero .btn--outline { border-color: rgba(245, 241, 234, 0.5); color: var(--fg-on-dark); }
.hero .btn--outline:hover { background: rgba(245, 241, 234, 0.12); }

/* `translate` (não `transform`): o spring do Motion é dono do transform */
.btn:active { translate: 0 1px; }

.btn .arrow { transition: translate var(--dur-fast) var(--ease-snap); }
.btn:hover .arrow { translate: 3px 0; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--nogueira-ink);
}
.link-arrow svg { width: 16px; height: 16px; transition: translate var(--dur-fast) var(--ease-snap); }
.link-arrow:hover svg { translate: 4px 0; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------
   5. Header
   --------------------------------------------------------------- */
.header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 100;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.header__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3xl);
  max-width: 1124px;
  min-height: 68px;
  margin-inline: auto;
  padding-inline: var(--sp-3xl);
  border-radius: var(--r-2xl);
  color: var(--fg);
  background: transparent;
  transition:
    background-color var(--dur-base) var(--ease-brand),
    backdrop-filter var(--dur-base) var(--ease-brand),
    color var(--dur-base) var(--ease-brand);
}

.header[data-scrolled='true'] .header__bar {
  background: rgba(240, 235, 227, 0.72);
  backdrop-filter: blur(24px) saturate(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.1);
  box-shadow: var(--inset-hairline);
}

/* Sobre o céu, antes de rolar: tudo em creme */
.header[data-onsky='true'][data-scrolled='false'] .header__bar { color: var(--fg-on-dark); }

/* Marca — não há logo pública desta profissional; a assinatura é o
   próprio nome, composto no display da marca. */
.header__logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: inherit;
  line-height: 1;
}
.header__logo b {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.header__logo span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
}

.nav { display: flex; align-items: center; gap: var(--sp-3xl); }

.nav__item { position: relative; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 500;
  color: inherit;
  padding-block: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  scale: 0 1;
  transform-origin: left;
  transition: scale var(--dur-base) var(--ease-brand);
}
.nav__link:hover::after,
.nav__link[aria-current='page']::after { scale: 1 1; }

.header__actions { display: flex; align-items: center; gap: var(--sp-xl); }

.btn--nav {
  background: var(--nogueira);
  color: #fff;
  padding: 12px 18px;
}
.header[data-onsky='true'][data-scrolled='false'] .btn--nav {
  background: var(--surface-card);
  color: var(--nogueira-ink);
}

.nav-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------------------------------------------------------------
   6. Hero — o céu e o bosque de oliveira
   --------------------------------------------------------------- */
.hero {
  position: relative;
  height: 108vh;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: var(--gutter);
  overflow: hidden;
  isolation: isolate;
}

/* z0 — o céu da marca.
   O contraste do texto sai daqui: da COR, não de um véu. O céu é a
   nogueira #8A6B4F levada a uma versão viva e saturada — mais escura e
   com mais croma na MESMA família de matiz (nunca misturada com preto
   ou cinza). Ele sustenta 4,5:1 sob o creme por toda a faixa em que a
   copy vive e só então acende no horizonte. */
.sky {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 101%;
  background: linear-gradient(
    180deg,
    var(--sky-top) 0%,
    var(--sky-deep) 30%,
    var(--sky-mid) 56%,
    var(--sky-amber) 72%,
    var(--sky-warm) 80%,
    var(--sky-glow) 90%,
    var(--sky-bottom) 100%
  );
  pointer-events: none;
}

/* z1 — o clarão do horizonte (sem imagem: pura CSS).
   Vive ABAIXO do bloco de texto: é o que acende os ramos e dá o fim de
   tarde. Ancorado à altura do hero — com aspect-ratio a elipse crescia
   com a viewport e o núcleo claro subia até atrás da copy. */
.sky__haze {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -3%;
  width: 150%;
  height: 34%;
  margin-left: -75%;
  background: radial-gradient(
    ellipse at 50% 92%,
    rgba(240, 235, 227, 0.78) 0%,
    rgba(227, 223, 210, 0.3) 42%,
    rgba(227, 223, 210, 0) 72%
  );
  pointer-events: none;
  will-change: transform;
}

/* z2 / z4 — as nuvens.
   São o principal recurso de profundidade do céu. Já chegam na cor da
   marca (creme + sálvia): NUNCA recolorir para branco ou cinza.

   A profundidade não usa sombra: vem de escala (fundo = menor),
   opacidade, desfoque nos planos distantes e da SOBREPOSIÇÃO — a nuvem
   da frente (z4) cobre os ramos (z3), que cobrem as nuvens de fundo (z2).

   A opacidade de plano vive dentro do `filter`, não em `opacity`: o
   Motion escreve `opacity` na entrada e apagaria qualquer valor daqui. */
.clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.clouds--back  { z-index: 2; }
.clouds--front { z-index: 4; }

.nuvem {
  position: absolute;
  will-change: transform;
}
/* fundo — pequenas, lavadas, desfocadas; quase não reagem ao scroll */
.nuvem--1 { top: 4%;  left: -5%;  width: 21%; rotate: -2deg; filter: opacity(0.4) blur(3px); }
.nuvem--2 { top: 8%;  right: -5%; width: 24%; rotate: 3deg;  scale: -1 1; filter: opacity(0.46) blur(2.4px); }
/* meio */
.nuvem--3 { top: 44%; left: -15%; width: 33%; rotate: 1deg;  filter: opacity(0.62) blur(1.2px); }
/* frente — a maior e a mais nítida; passa por cima do ramo da direita */
.nuvem--4 { bottom: -4%; right: -13%; width: 46%; rotate: -1deg; filter: opacity(0.9); }
/* frente/esquerda — o banco de nuvens que pega a luz do horizonte e fecha
   o colchão por baixo do bloco de texto. Nítida, luminosa, longe da copy. */
.nuvem--5 { bottom: -6%; left: -18%; width: 42%; rotate: 2deg; scale: -1 1; filter: opacity(0.8); }

/* z3b — a NUVEM DE SOMBRA: o colchão de leitura.
   É a peça que ocupa o lugar do antigo véu — e não é um véu: é a própria
   nuvem, em `multiply` sobre o céu. O multiply não mistura preto nem
   cinza; ele aprofunda a nogueira do céu dentro da silhueta da nuvem, e
   o resultado é uma massa de nuvem em sombra, na cor da marca, com borda
   macia. É ela que empurra o fundo sob o h1 e o subtítulo para bem além
   do AA — deixando o resto do céu livre para ficar claro e vivo.

   Precisa ser filha DIRETA de .hero: dentro de .clouds (que tem z-index,
   logo é contexto de empilhamento) o blend ficaria isolado e não veria o
   céu. A opacidade de plano vive no `filter` — o Motion escreve `opacity`
   na entrada e apagaria qualquer valor posto em `opacity`.

   z-index 3 e DEPOIS do bosque no DOM: a nuvem passa NA FRENTE dos ramos,
   então a sombra dela cai também sobre a folha que cruza a coluna de texto.
   Medido: sem isso, uma folha clara atrás do subtítulo derruba o contraste
   para 3,95:1 no desktop largo e a microcopy para 3,46:1 no phone.        */
.nuvem--colchao {
  z-index: 3;
  top: -14%;
  left: 50%;
  width: 168%;
  max-width: none;     /* o reset `img { max-width: 100% }` clampava a nuvem */
  margin-left: -84%;   /* centragem por margem: `translate` é da deriva */
  rotate: -1deg;
  mix-blend-mode: multiply;
  /* Blur alto transformava a nuvem numa mancha ovalada — exatamente a
     leitura de véu que estamos eliminando. Ela é grande o bastante para o
     texto cair no MIOLO da nuvem (as bordas saem do enquadramento) e leve
     o bastante para ler como sombra de nuvem, não como caixa.            */
  filter: opacity(0.55) blur(2px);
}

/* z3 — o bosque: palco fixo de 867×616, herdado do template */
.grove {
  position: absolute;
  z-index: 3;
  bottom: 42px;
  left: 58%;
  translate: -50% 0;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.grove__stage {
  position: relative;
  width: 867px;
  height: 616px;
  flex: none;
}

/* Cada ramo escreve em três propriedades distintas, e por isso as três
   animações convivem sem se sobrescrever:
     transform → parallax (preso ao scroll)
     translate → deriva contínua
     rotate / scale → pose estática, definida aqui.
   Centragem é sempre por margem, jamais por `translate`.

   Nenhuma sombra preta ou cinza no céu: só os dois ramos MAIS PRÓXIMOS
   ganham uma sombra, e ela é colorida na nogueira da marca. Os planos
   distantes se afastam por escala, opacidade e desfoque.               */
.ramo {
  position: absolute;
  will-change: transform;
}
.ramo--1,
.ramo--2 { filter: drop-shadow(0 12px 18px rgba(138, 107, 79, 0.22)); }
.ramo--3,
.ramo--4 { filter: opacity(0.9) blur(0.4px); }
.ramo--5,
.ramo--6 { filter: opacity(0.6) blur(1.6px); }

.ramo--1 { left: -26px;  bottom: -12px; width: 352px; rotate: -5deg; }                 /* folha-3   · perto */
.ramo--2 { right: -44px; bottom: 6px;   width: 300px; rotate: 5deg; scale: -1 1; }     /* folha-1   · perto */
.ramo--3 { left: 296px;  bottom: 104px; width: 248px; rotate: -9deg; }                 /* folha-2   · meio  */
.ramo--4 { right: 26px;  bottom: 216px; width: 172px; rotate: 10deg; scale: -1 1; }    /* folha-x-1 · meio  */
/* Os dois ramos de fundo vivem na altura da copy: ficam FORA da coluna de
   texto (à esquerda e à direita dela), não atrás dela. */
.ramo--5 { left: -170px; top: 14px;     width: 128px; rotate: -16deg; }                /* folha-x-2 · fundo */
.ramo--6 { right: 142px; top: -18px;    width: 116px; rotate: 14deg; }                 /* folha-x-3 · fundo */

/* z5 — o texto */
.hero__inner {
  position: relative;
  z-index: 5;
  width: 660px;
  max-width: 100%;
  padding-bottom: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

/* Não existe véu, vinheta ou scrim atrás da copy. O contraste vem de dois
   lugares, nesta ordem: o céu na cor da marca (saturado o bastante para
   segurar o creme sozinho) e a nuvem de sombra (.nuvem--colchao), que
   aprofunda essa mesma cor sob o texto. Nada de rgba escuro aqui.        */

.hero__title {
  font-size: clamp(2.3rem, 1.4rem + 3.2vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--fg-on-dark);
  text-wrap: balance;
}
/* No céu a ênfase não pode virar nogueira (contraste) — vira sálvia
   clara e peso. Cor e peso, nunca inclinação. */
.hero__title em {
  font-style: normal;
  font-weight: 700;
  color: var(--sage-pale);
}

.hero__sub {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-on-dark);
  max-width: 54ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-lg);
}

.hero__micro {
  font-size: var(--t-xs);
  line-height: var(--lh-loose);
  color: var(--fg-on-dark);
  max-width: 46ch;
}

/* ---------------------------------------------------------------
   7. Faixa de credibilidade — 5 provas verificáveis
   --------------------------------------------------------------- */
.creds {
  padding-block: clamp(48px, 6vw, 80px);
}
.creds__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3xl);
}
.cred {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  padding-top: var(--sp-2xl);
  border-top: 1px solid var(--border-strong);
}
.cred__label {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--sage-deep);
}
.cred__value {
  font-family: var(--font-display);
  font-size: var(--t-h5);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--fg);
}
.cred__value b {
  font-weight: 700;
  color: var(--nogueira-ink);
}

/* ---------------------------------------------------------------
   8. Três passos até a primeira sessão
   --------------------------------------------------------------- */
.path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3xl);
}

.path-step {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  padding: var(--sp-4xl) var(--sp-3xl);
  background: var(--surface-card);
  border-radius: var(--r-card);
  box-shadow: var(--inset-hairline);
  transition: transform var(--dur-base) var(--ease-brand);
}
.path-step:hover { transform: translateY(-4px); }

.path-step__num {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  color: var(--nogueira);
}
.path-step__title {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}
.path-step__text {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
}

.path__close {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3xl);
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: var(--sp-4xl);
  border-top: 1px solid var(--border);
}
.path__close p {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 500;
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-display);
  max-width: 44ch;
}

/* ---------------------------------------------------------------
   9. "Talvez você se reconheça aqui" — 6 itens tipográficos
   --------------------------------------------------------------- */
.signs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(32px, 5vw, 72px);
}
.sign {
  padding-block: var(--sp-4xl);
  border-top: 1px solid var(--border);
  font-size: var(--t-lead);
  line-height: var(--lh-snug);
  color: var(--fg);
  max-width: 46ch;
}
.sign::before {
  content: attr(data-idx);
  display: block;
  margin-bottom: var(--sp-lg);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  color: var(--sage-deep);
}

/* ---------------------------------------------------------------
   10. Bloco escuro — "E aqui talvez não seja o lugar"
   --------------------------------------------------------------- */
.frame-dark {
  position: relative;
  border-radius: var(--r-card);
  background: var(--bark);
  color: var(--fg-on-dark);
  padding: clamp(40px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
}

.frame-dark__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.frame-dark__title {
  font-size: var(--t-h2);
  line-height: var(--lh-tight);
  max-width: 16ch;
}
.frame-dark__title em { color: var(--sage-pale); }
.frame-dark__lead {
  margin-top: var(--sp-3xl);
  font-size: var(--t-lead);
  line-height: var(--lh-body);
  color: rgba(245, 241, 234, 0.76);
  max-width: 40ch;
}

.limit-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}
.limit {
  padding: var(--sp-3xl);
  border-radius: var(--r-xl);
  background: rgba(245, 241, 234, 0.06);
  border: 1px solid rgba(245, 241, 234, 0.12);
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: rgba(245, 241, 234, 0.82);
}
.limit b {
  display: block;
  margin-bottom: var(--sp-sm);
  font-family: var(--font-display);
  font-size: var(--t-h5);
  font-weight: 600;
  letter-spacing: var(--ls-display);
  color: var(--fg-on-dark);
}
.limit a {
  color: var(--sage-pale);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.limit a:hover { color: #fff; }

/* ---------------------------------------------------------------
   11. "O que você não vai encontrar aqui" — 5 atritos removidos
   --------------------------------------------------------------- */
.friction {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-xl);
}
.friction-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  padding: var(--sp-3xl);
  border-radius: var(--r-xl);
  background: var(--surface-card);
  box-shadow: var(--inset-hairline);
  transition: translate var(--dur-fast) var(--ease-snap);
}
.friction-card:hover { translate: 0 -2px; }
.friction-card__title {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  font-family: var(--font-display);
  font-size: var(--t-h5);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}
.friction-card p {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
}

/* ---------------------------------------------------------------
   12. O trabalho — grade de pills
   Cada área é uma pilha branca: nome à esquerda, seta à direita.
   Fecha com uma pill tracejada ("& mais") e uma pill de ênfase na
   primária da marca — nogueira, nunca preto.
   --------------------------------------------------------------- */
.pills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));  /* 4 colunas no desktop */
  gap: var(--sp-lg);
}

.pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
  min-height: 64px;
  padding: 16px 22px 16px 26px;
  border-radius: var(--r-pill);
  background: var(--surface-card);
  color: var(--fg);
  font-size: var(--t-sm);
  font-weight: 500;
  line-height: var(--lh-snug);
  box-shadow: var(--inset-hairline);
  transition:
    translate var(--dur-fast) var(--ease-snap),
    box-shadow var(--dur-base) var(--ease-brand),
    background-color var(--dur-fast) var(--ease-snap),
    border-color var(--dur-fast) var(--ease-snap),
    color var(--dur-fast) var(--ease-snap);
}
.pill svg {
  flex: none;
  width: 15px;
  height: 15px;
  color: var(--nogueira-ink);
  transition: translate var(--dur-fast) var(--ease-snap);
}
.pill:hover {
  translate: 0 -2px;
  background: #fff;
  box-shadow: var(--inset-hairline), 0 10px 22px rgba(138, 107, 79, 0.18);
}
.pill:hover svg { translate: 5px 0; }

.pill--more {
  background: transparent;
  border: 1px dashed var(--border-strong);
  box-shadow: none;
  color: var(--fg-muted);
}
.pill--more:hover {
  background: var(--cream-soft);
  border-color: var(--nogueira);
  color: var(--nogueira-ink);
  box-shadow: none;
}

.pill--accent {
  background: var(--nogueira);
  color: #fff;
  box-shadow: none;
}
.pill--accent svg { color: #fff; }
.pill--accent:hover {
  background: var(--nogueira-deep);
  box-shadow: 0 10px 22px rgba(138, 107, 79, 0.3);
}

/* ---------------------------------------------------------------
   12b. Onde a conversa acontece — 3 cards ilustrados
   --------------------------------------------------------------- */
.brand-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}
.brand-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  padding: var(--sp-2xl) var(--sp-2xl) var(--sp-4xl);
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: var(--inset-hairline);
  transition:
    translate var(--dur-fast) var(--ease-snap),
    box-shadow var(--dur-base) var(--ease-brand);
}
.brand-card:hover {
  translate: 0 -3px;
  box-shadow: var(--inset-hairline), 0 16px 32px rgba(138, 107, 79, 0.14);
}

.brand-card__panel {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: var(--sp-3xl);
  border-radius: var(--r-2xl);
  overflow: hidden;
}
.brand-card__panel--cream { background: var(--cream-warm); }
.brand-card__panel--sage  { background: var(--sage-pale); }
.brand-card__panel--nut   { background: var(--nogueira-pale); }

.brand-card__panel img {
  width: auto;
  max-width: 74%;
  max-height: 100%;
  transition: scale var(--dur-slow) var(--ease-brand);
}
.brand-card:hover .brand-card__panel img { scale: 1.04; }

.brand-card__title {
  margin-top: var(--sp-sm);
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}
.brand-card p {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
}

/* ---------------------------------------------------------------
   13. Sobre — retrato + consultório
   --------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.about__media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl);
}
.about__media figure {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--inset-hairline);
  background: var(--cream-warm);
}
.about__media figure:first-child { grid-column: 1 / -1; }
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale var(--dur-slow) var(--ease-brand);
}
.about__media figure:first-child img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
.about__media figure:not(:first-child) img { aspect-ratio: 1 / 1; }
.about__media figure:hover img { scale: 1.03; }

.about__body h2 { margin-bottom: var(--sp-3xl); }
.about__body p {
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 56ch;
}
.about__body p + p { margin-top: var(--sp-2xl); }

.signature {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-lg);
  margin-top: var(--sp-4xl);
  padding-top: var(--sp-2xl);
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: var(--t-lead);
  font-weight: 600;
  letter-spacing: var(--ls-display);
  color: var(--fg);
}
.signature span {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: var(--ls-caps);
  color: var(--fg-muted);
}

/* ---------------------------------------------------------------
   14. Estatísticas / faixa sálvia
   --------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3xl);
}
.stat { display: flex; flex-direction: column; gap: var(--sp-sm); }
.stat__num {
  font-family: var(--font-display);
  font-size: var(--t-stat);
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--ls-display);
}
.stat__label {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
  max-width: 24ch;
}

/* ---------------------------------------------------------------
   15. FAQ
   --------------------------------------------------------------- */
.faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.faq__list--wide { max-width: 920px; margin-top: clamp(24px, 3vw, 40px); }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3xl);
  padding-block: var(--sp-3xl);
  text-align: left;
  font-size: var(--t-lead);
  font-weight: 500;
  line-height: var(--lh-snug);
  color: var(--fg);
  transition: color var(--dur-fast) var(--ease-snap);
}
.faq-item__q:hover { color: var(--nogueira-ink); }

.faq-item__icon {
  flex: none;
  position: relative;
  width: 20px;
  height: 20px;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: rotate var(--dur-base) var(--ease-brand);
}
.faq-item__icon::after { rotate: 90deg; }
.faq-item[data-open='true'] .faq-item__icon::after { rotate: 0deg; }

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows var(--dur-base) var(--ease-brand);
}
.faq-item[data-open='true'] .faq-item__a { grid-template-rows: 1fr; }

.faq-item__a-inner {
  min-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  padding-right: clamp(0px, 6vw, 56px);
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
  transition: padding-bottom var(--dur-base) var(--ease-brand);
}
.faq-item[data-open='true'] .faq-item__a-inner { padding-bottom: var(--sp-3xl); }

.faq-item__a-inner a {
  color: var(--nogueira-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-item__a-inner a:hover { color: var(--nogueira-deep); }

/* ---------------------------------------------------------------
   16. CTA final
   --------------------------------------------------------------- */
.cta {
  position: relative;
  text-align: center;
  padding-block: clamp(88px, 11vw, 168px);
  overflow: hidden;
  isolation: isolate;
}

.cta__leaf {
  position: absolute;
  z-index: 1;
  width: clamp(150px, 20vw, 300px);
  opacity: 0.5;
  pointer-events: none;
  filter: saturate(0.85);
}
.cta__leaf--l { left: -60px; top: 12%; rotate: -8deg; }
.cta__leaf--r { right: -70px; bottom: 10%; rotate: 172deg; }

.cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3xl);
}

.cta__title {
  font-size: var(--t-h1);
  line-height: var(--lh-display);
  max-width: 20ch;
}
.cta__lead {
  font-size: var(--t-lead);
  line-height: var(--lh-body);
  color: var(--fg-muted);
  max-width: 52ch;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-lg);
}
.cta__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-sm) var(--sp-3xl);
  margin-top: var(--sp-lg);
  font-size: var(--t-sm);
  color: var(--fg-muted);
}
.cta__contact a {
  color: var(--nogueira-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------
   17. Aviso legal / compliance
   --------------------------------------------------------------- */
.notice {
  padding: var(--sp-3xl);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  background: var(--cream-soft);
}
.notice h2 {
  font-size: var(--t-h5);
  font-weight: 600;
  margin-bottom: var(--sp-lg);
}
.notice p {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
  max-width: 78ch;
}
.notice a {
  color: var(--nogueira-ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------
   18. Footer
   --------------------------------------------------------------- */
.footer {
  position: relative;
  background: var(--bark);
  color: var(--fg-on-dark);
  padding-block: clamp(64px, 8vw, 112px) var(--sp-5xl);
  overflow: hidden;
  isolation: isolate;
}

.footer__leaf {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.12;
}
.footer__leaf--l { left: -70px; bottom: -30px; width: clamp(200px, 26vw, 380px); rotate: 6deg; }
.footer__leaf--r { right: -80px; top: -40px; width: clamp(180px, 22vw, 340px); rotate: 186deg; }

.footer__top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
}

.footer__brand { display: flex; flex-direction: column; gap: var(--sp-3xl); }
.footer__name {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}
.footer__role {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: rgba(245, 241, 234, 0.72);
}
.footer__crp {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  color: var(--sage-pale);
}

.footer__social { display: flex; gap: var(--sp-lg); }
.footer__social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  border: 1px solid rgba(245, 241, 234, 0.22);
  transition:
    background-color var(--dur-fast) var(--ease-snap),
    border-color var(--dur-fast) var(--ease-snap);
}
.footer__social a:hover {
  background: rgba(245, 241, 234, 0.1);
  border-color: rgba(245, 241, 234, 0.55);
}
.footer__social svg { width: 20px; height: 20px; }

.footer-col__title {
  font-size: var(--t-xs);
  font-family: var(--font-mono);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.55);
  margin-bottom: var(--sp-xl);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-lg); }

.footer-col li,
.footer-col a {
  font-size: var(--t-sm);
  line-height: var(--lh-relaxed);
  color: rgba(245, 241, 234, 0.82);
}
.footer-col a { transition: color var(--dur-fast) var(--ease-snap); }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer__bottom {
  position: relative;
  z-index: 2;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: var(--sp-3xl);
  border-top: 1px solid rgba(245, 241, 234, 0.16);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3xl);
  font-size: var(--t-xs);
  color: rgba(245, 241, 234, 0.62);
}
.footer__legal a:hover { color: #fff; }

.footer__disclaimer {
  font-size: var(--t-xs);
  line-height: var(--lh-loose);
  color: rgba(245, 241, 234, 0.62);
  max-width: 92ch;
}

/* ---------------------------------------------------------------
   19. Estado inicial das animações
   --------------------------------------------------------------- */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(60px);
}
.js-motion [data-hero-line] {
  opacity: 0;
  transform: translateY(28px);
}
.js-motion .sky__haze,
.js-motion .ramo,
.js-motion .nuvem {
  opacity: 0;
}

html.motion-failed [data-reveal],
html.motion-failed [data-hero-line],
html.motion-failed .sky__haze,
html.motion-failed .ramo,
html.motion-failed .nuvem {
  opacity: 1 !important;
  transform: none !important;
}

/* ---------------------------------------------------------------
   20. Responsivo
   --------------------------------------------------------------- */

/* Tablet: 700px – 1199.98px */
@media (max-width: 1199.98px) {
  .creds__grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-2xl); }

  .path { grid-template-columns: repeat(2, 1fr); }

  .brand-cards { grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
  .brand-card { padding: var(--sp-xl) var(--sp-xl) var(--sp-3xl); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5xl) var(--sp-3xl); }

  .pills { grid-template-columns: repeat(2, 1fr); }

  .faq__layout,
  .about,
  .frame-dark__grid { grid-template-columns: 1fr; }

  .about__media { max-width: 560px; }

  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }

  .nav { gap: var(--sp-2xl); }

  /* Hero — tablet */
  .hero { height: 100vh; }
  .hero__inner { width: 520px; padding-bottom: 90px; }

  .grove {
    left: -20px;
    right: -50px;
    bottom: -30px;
    width: auto;
    max-width: none;
    translate: 0 0;
  }
  .ramo--1 { left: 10px;   bottom: 40px;  width: 300px; }
  .ramo--2 { right: -30px; bottom: 30px;  width: 262px; }
  .ramo--3 { left: 268px;  bottom: 150px; width: 224px; }
  .ramo--4 { right: 16px;  bottom: 260px; width: 156px; }
  .ramo--5 { left: 12px;   top: 6px;      width: 124px; }
  .ramo--6 { right: 168px; top: -18px;    width: 106px; }

  /* Nuvens — abrem para fora da coluna de texto */
  .nuvem--1 { top: 3%;  left: -12%;  width: 30%; }
  .nuvem--2 { top: 7%;  right: -13%; width: 33%; }
  .nuvem--3 { top: 46%; left: -24%;  width: 44%; }
  .nuvem--4 { bottom: -5%; right: -22%; width: 60%; }
  .nuvem--5 { bottom: -7%; left: -26%; width: 56%; }

  /* A nuvem de sombra acompanha o bloco de texto, que aqui é mais estreito
     e sobe um pouco. */
  /* Larga o bastante para a BORDA da nuvem cair fora do enquadramento: se a
     borda inferior aparece, ela lê como mancha ovalada — o defeito que
     estamos justamente eliminando. O texto cai no miolo. */
  .nuvem--colchao {
    top: -6%;
    width: 264%;
    margin-left: -132%;
    filter: opacity(0.58) blur(2px);
  }

  /* O ramo de fundo da direita cruzava o subtítulo (medido: 4,31:1). Sai da
     coluna de texto — a folha continua no bando, só não passa por trás da
     copy. */
  .ramo--6 { right: 58px; top: -24px; width: 106px; }
}

/* Mobile: ≤ 699.98px */
@media (max-width: 699.98px) {
  :root { --section-y: 64px; }

  .header__bar {
    padding-inline: var(--sp-2xl);
    background: rgba(240, 235, 227, 0.78);
    backdrop-filter: blur(24px) saturate(1.1);
    -webkit-backdrop-filter: blur(24px) saturate(1.1);
    box-shadow: var(--inset-hairline);
  }
  /* No mobile a barra já nasce fosca — o texto volta a ser escuro */
  .header[data-onsky='true'][data-scrolled='false'] .header__bar { color: var(--fg); }
  .header[data-onsky='true'][data-scrolled='false'] .btn--nav {
    background: var(--nogueira);
    color: #fff;
  }

  /* Hero — phone */
  .hero { height: 108vh; min-height: 640px; }
  .hero__inner { width: 100%; gap: 20px; padding-bottom: 88px; }

  .hero__sub { font-size: var(--t-sm); }
  .hero__cta { width: 100%; flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }

  .grove {
    left: 50%;
    top: auto;
    right: auto;
    bottom: -24px;
    width: min-content;
    max-width: none;
    translate: -50% 0;
  }
  .grove__stage { width: 420px; height: 300px; }

  /* Sombra só nos dois ramos da frente, colorida na nogueira. Nunca preta. */
  .ramo--1,
  .ramo--2 { filter: drop-shadow(0 8px 12px rgba(138, 107, 79, 0.2)); }
  .ramo--3,
  .ramo--4 { filter: opacity(0.9) blur(0.3px); }
  .ramo--5,
  .ramo--6 { filter: opacity(0.58) blur(1.1px); }

  .ramo--1 { left: -34px;  bottom: -12px; top: auto;    width: 186px; right: auto; }
  .ramo--2 { right: -32px; bottom: -4px;  top: auto;    width: 160px; left: auto; }
  .ramo--3 { left: 120px;  bottom: 56px;  top: auto;    width: 132px; right: auto; }
  .ramo--4 { right: -6px;  bottom: 104px; top: auto;    width: 92px;  left: auto; }
  /* No phone a coluna de texto é a tela inteira: não dá para tirar as folhas
     de fundo de trás da microcopy pelos lados. Elas descem para BAIXO dela —
     medido, era a folha que segurava a microcopy em 3,91:1. */
  .ramo--5 { left: -30px;  top: 56px;     bottom: auto; width: 80px;  right: auto; }
  .ramo--6 { right: 84px;  top: 64px;     bottom: auto; width: 70px;  left: auto; }

  /* Nuvens no phone: as CLARAS ficam no topo e no rodapé do céu — a coluna
     de texto é a tela inteira, e uma nuvem clara atrás da copy derrubaria o
     AA. Quem trabalha atrás do texto é a nuvem de SOMBRA (multiply). */
  .nuvem--1 { top: 2%;  left: -22%;  width: 52%; filter: opacity(0.34) blur(2.6px); }
  .nuvem--2 { top: 5%;  right: -24%; width: 56%; filter: opacity(0.38) blur(2.2px); }
  .nuvem--3 { top: auto; bottom: 4%; left: -48%; width: 64%; filter: opacity(0.54) blur(1.2px); }
  .nuvem--4 { bottom: -12%; right: -46%; width: 82%; filter: opacity(0.74); }
  .nuvem--5 { bottom: -14%; left: -52%; width: 78%; filter: opacity(0.66); }

  /* No phone a coluna de texto é a tela inteira, e a copy desce até a faixa
     onde vivem as duas folhas de fundo. A nuvem de sombra precisa ser um
     banco inteiro de nuvem: cobre do h1 à microcopy e leva as folhas junto
     para dentro da sombra. Medido — sem esse alcance, a microcopy cai a
     3,45:1 num pixel de folha. */
  .nuvem--colchao {
    top: -4%;
    width: 460%;
    margin-left: -230%;
    filter: opacity(0.6) blur(2px);
  }

  .nav,
  .header__actions .btn--nav { display: none; }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    color: inherit;
  }
  .nav-toggle span {
    position: relative;
    display: block;
    width: 20px;
    height: 1.5px;
    background: currentColor;
    transition: background-color var(--dur-fast) var(--ease-snap);
  }
  .nav-toggle span::before,
  .nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 1.5px;
    background: currentColor;
    transition: translate var(--dur-base) var(--ease-brand), rotate var(--dur-base) var(--ease-brand);
  }
  .nav-toggle span::before { translate: 0 -6px; }
  .nav-toggle span::after  { translate: 0 6px; }

  .nav-toggle[aria-expanded='true'] span { background: transparent; }
  .nav-toggle[aria-expanded='true'] span::before { translate: 0 0; rotate: 45deg; }
  .nav-toggle[aria-expanded='true'] span::after  { translate: 0 0; rotate: -45deg; }

  .mobile-nav {
    position: fixed;
    inset: 92px 0 0;
    z-index: 90;
    background: var(--cream);
    color: var(--ink);
    padding: var(--sp-3xl) var(--gutter) var(--sp-6xl);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    translate: 0 -8px;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--dur-base) var(--ease-brand),
      translate var(--dur-base) var(--ease-brand),
      visibility var(--dur-base) var(--ease-brand);
  }
  .mobile-nav[data-open='true'] {
    opacity: 1;
    translate: 0 0;
    visibility: visible;
  }
  .mobile-nav a {
    font-family: var(--font-display);
    font-size: var(--t-h4);
    font-weight: 500;
    letter-spacing: var(--ls-display);
    color: var(--ink);
    padding-block: var(--sp-xl);
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav__actions {
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
    margin-top: var(--sp-4xl);
  }
  .mobile-nav__actions a { border-bottom: 0; padding-block: 0; }
  .mobile-nav .btn {
    justify-content: center;
    font-family: var(--font-body);
    font-size: var(--t-sm);
    letter-spacing: var(--ls-tight);
    padding-block: 16px;
  }

  .creds__grid,
  .path,
  .signs,
  .stats-grid,
  .friction,
  .brand-cards,
  .footer__top { grid-template-columns: 1fr; }

  /* Pills no phone: uma coluna, altura confortável, sem apertar o texto */
  .pills { grid-template-columns: 1fr; gap: var(--sp-md); }
  .pill { min-height: 60px; padding: 14px 18px 14px 22px; }

  .brand-cards { gap: var(--sp-2xl); }
  .brand-card__panel { aspect-ratio: 16 / 10; }

  .sign { padding-block: var(--sp-3xl); }

  .section-head { align-items: flex-start; }

  .frame-dark,
  .notice { border-radius: var(--r-xl); }

  .path__close { flex-direction: column; align-items: flex-start; }
  .path__close .btn { width: 100%; justify-content: center; }

  .cta__actions { width: 100%; flex-direction: column; }
  .cta__actions .btn { justify-content: center; }
  .cta__leaf { opacity: 0.35; }

  .footer__legal { gap: var(--sp-xl); }
}

/* ---------------------------------------------------------------
   21. prefers-reduced-motion — estado final, nada invisível
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-motion [data-reveal],
  .js-motion [data-hero-line],
  .js-motion .sky__haze,
  .js-motion .ramo,
  .js-motion .nuvem {
    opacity: 1 !important;
    transform: none !important;
  }
}
