/* =============================================================
   Isabelly Gomes Gallardo — sistema de layout e componentes
   Depende de: tokens.css, fonts.css
   ============================================================= */

/* ---------------------------------------------------------------
   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);
  font-feature-settings: var(--otf);
  -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; }

/* Nenhum itálico neste site — nem por herança de tag. */
i, em, cite, address, dfn, var { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Sobre o céu escuro o anel verde some — ali ele vira claro. */
.hero :focus-visible,
.header[data-onsky='true'][data-scrolled='false'] :focus-visible,
.footer :focus-visible,
.frame-dark :focus-visible { outline-color: var(--sage-pale); }

.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(--paper);
  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: 400;
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
  text-wrap: balance;
}

/* Ênfase do display: cor, nunca inclinação. */
.display em,
h1 em, h2 em, h3 em,
.emph {
  font-style: var(--display-emph-style);
  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(--forest-mid);
}

/* ---------------------------------------------------------------
   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--mist { background: var(--sage-mist); }

.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 20px;
  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),
    transform var(--dur-fast) var(--ease-snap);
}

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

.btn--primary {
  background: var(--forest);
  color: var(--paper);
}
.btn--primary:hover { background: var(--forest-deep); }

.btn--light {
  background: var(--white);
  color: var(--forest);
  box-shadow: var(--inset-hairline);
}
.btn--light:hover { background: var(--paper-soft); }

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

/* Sobre o céu, o botão secundário é um contorno claro sobre base escura.
   A base não é enfeite: o céu clareia até quase branco na descida, e no
   mobile o botão cai justamente nessa faixa — sem ela, o texto creme
   perderia o AA. Com ela, o pior caso (sobre a base do gradiente) dá 7.3:1. */
.btn--onsky {
  background: rgba(15, 42, 25, 0.75);
  border: 1px solid rgba(250, 251, 248, 0.5);
  color: var(--paper);
}
.btn--onsky:hover { background: rgba(15, 42, 25, 0.88); }

/* `translate` (não `transform`): o spring do Motion é dono do transform do botão */
.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(--forest);
}
.link-arrow svg { width: 16px; height: 16px; transition: translate var(--dur-fast) var(--ease-snap); }
.link-arrow:hover svg { translate: 4px 0; }

/* ---------------------------------------------------------------
   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(250, 251, 248, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--inset-hairline);
}

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

/* Marca tipográfica — o DNA da profissional é a serif verde, não um símbolo. */
.header__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-md);
  color: inherit;
}
.header__logo .mark { width: 26px; height: 26px; flex: none; }
.header__logo .wordmark {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

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

.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;
}

.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(--forest);
  color: var(--paper);
  padding: 12px 18px;
}
.header[data-onsky='true'][data-scrolled='false'] .btn--nav {
  background: var(--white);
  color: var(--forest);
}

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

/* ---------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------- */
.hero {
  position: relative;
  height: 110vh;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* z0 — o céu.
   O véu radial mantém o miolo escuro o bastante para o texto creme
   passar em AA mesmo quando a base do gradiente já clareou. */
.sky {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 101%;
  background:
    radial-gradient(120% 74% at 50% 40%, rgba(11, 18, 13, 0.32), transparent 64%),
    linear-gradient(
      180deg,
      var(--sky-top) 0%,
      var(--sky-mid) 52%,
      var(--sky-fade) 78%,
      var(--sky-bottom) 100%
    );
  pointer-events: none;
}

/* z1 — a bruma: campo de luz baixa que se move mais devagar que as sementes.
   Substitui a nuvem ilustrada do template, cuja cor era de outra marca. */
.sky__haze {
  position: absolute;
  inset: auto 0 -8% 0;
  z-index: 1;
  height: 62%;
  pointer-events: none;
  background:
    radial-gradient(64% 58% at 22% 100%, rgba(221, 231, 218, 0.55), transparent 70%),
    radial-gradient(70% 62% at 78% 96%, rgba(221, 231, 218, 0.42), transparent 72%),
    radial-gradient(120% 80% at 50% 118%, rgba(250, 251, 248, 0.5), transparent 66%);
  filter: blur(6px);
  will-change: transform;
}

/* z2 — a camada de sementes das páginas INTERNAS (.seeds--page, em pages.css).
   A home não usa mais este palco: lá o céu é um campo em camadas (.skyfield). */
.seeds {
  position: absolute;
  z-index: 2;
  bottom: 51px;
  left: 58%;
  translate: -50% 0;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

/* ---------------- O campo do céu (home) ----------------
   Nuvens e sementes dividem o MESMO contexto de empilhamento: é o z-index de
   cada peça que constrói a profundidade — uma semente passa por trás de uma
   nuvem média e por diante de outra. Por isso .skyfield NÃO pode criar
   contexto próprio: sem z-index, sem opacity, sem filter aqui. */
.skyfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* A rotação vive em `rotate` (propriedade individual): `transform` é do
   parallax e `translate` é da deriva — três donos, três propriedades.
   A opacidade de repouso vem de --op, porque o Motion escreve `opacity`
   inline na entrada e precisa saber a que valor chegar. */
.cloud,
.seed {
  position: absolute;
  will-change: transform;
  opacity: var(--op, 1);
}

/* Profundidade SEM sombra preta.
   O que separa os planos: escala, opacidade, desfoque e lavagem na cor do céu
   (longe = menor, mais lavado, mais desfocado, e derivando mais devagar).
   Quando há sombra, ela é um brilho da própria paleta — nunca um cinza. */
.d-far  { filter: blur(3px) saturate(0.6) brightness(1.12); }
.d-mid  { filter: blur(0.8px) saturate(0.92); }
/* A única sombra do céu: verde-floresta da marca (#1f5c2e), baixa e larga.
   Não é um drop-shadow escuro — é a peça de perto "molhando" o céu na cor
   da própria paleta. Nenhum preto e nenhum cinza tocam o hero. */
.d-near { filter: drop-shadow(0 8px 20px rgba(31, 92, 46, 0.26)); }
.d-fore { filter: blur(4px) saturate(0.72); }   /* nuvem à frente: fora de foco */

/* --- as nuvens (5) --- */
.cloud--1 { z-index: 1; --op: 0.34; --drift: 0.40; top: 1%;      left: -11%;  width: clamp(340px, 46vw, 720px); rotate: -1deg; }
.cloud--2 { z-index: 1; --op: 0.26; --drift: 0.34; top: 25%;     right: -13%; width: clamp(300px, 40vw, 640px); rotate: 2deg; }
.cloud--3 { z-index: 4; --op: 0.46; --drift: 0.72; top: 49%;     left: -5%;   width: clamp(260px, 33vw, 540px); }
.cloud--4 { z-index: 4; --op: 0.42; --drift: 0.78; bottom: 11%;  right: -7%;  width: clamp(240px, 30vw, 490px); rotate: -2deg; }
.cloud--5 { z-index: 7; --op: 0.20; --drift: 1.25; bottom: -11%; left: 21%;   width: clamp(220px, 27vw, 430px); }

/* --- as sementes (7) — composição de bando: três profundidades, nenhuma fileira --- */
.seed--1 { z-index: 6; --op: 1;    --drift: 1.15; left: 3%;    bottom: 5%;  width: clamp(92px, 10vw, 150px);  rotate: -8deg; }
.seed--2 { z-index: 5; --op: 0.92; --drift: 0.85; left: 21%;   bottom: 27%; width: clamp(62px, 7vw, 106px);   rotate: 5deg; }
.seed--3 { z-index: 5; --op: 0.90; --drift: 0.80; right: 11%;  bottom: 31%; width: clamp(56px, 6.2vw, 94px);  rotate: -13deg; }
.seed--4 { z-index: 3; --op: 0.50; --drift: 0.45; right: 23%;  top: 12%;    width: clamp(50px, 5.6vw, 88px);  rotate: 9deg; }
.seed--5 { z-index: 3; --op: 0.46; --drift: 0.40; right: 5%;   top: 31%;    width: clamp(32px, 3.6vw, 56px);  rotate: -4deg; }
.seed--6 { z-index: 6; --op: 0.96; --drift: 1.05; right: 1%;   bottom: 7%;  width: clamp(74px, 8.4vw, 128px); rotate: 6deg; }
.seed--7 { z-index: 3; --op: 0.42; --drift: 0.35; left: 14%;   top: 8%;     width: clamp(26px, 3vw, 44px);    rotate: 14deg; }

/* z8 — o véu.
   As nuvens são CLARAS e passeiam pela cena; sem um véu entre elas e o texto,
   qualquer uma que cruzasse a coluna do título derrubaria o contraste do creme.
   O véu escurece só o miolo, deixando as bordas (onde vivem as peças de perto)
   intactas — e de quebra vira a névoa que afasta a nuvem de frente. */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: radial-gradient(
    76% 54% at 50% 45%,
    rgba(11, 18, 13, 0.5) 0%,
    rgba(11, 18, 13, 0.3) 52%,
    transparent 76%
  );
}

/* z10 — texto */
.hero__inner {
  position: relative;
  z-index: 10;
  width: 620px;
  max-width: 100%;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-3xl);
  color: var(--paper);
}

.hero__title {
  font-size: clamp(2.3125rem, 1.6rem + 3vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.5px;
  color: var(--paper);
  text-wrap: balance;
}

/* Sobre o céu a cor não distingue a ênfase (o texto já é claro):
   ali ela é um traço em sage sob a palavra. Continua sem itálico. */
.hero__title em,
.hero__sub em {
  color: inherit;
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
}

.hero__sub {
  margin-top: -8px;
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--paper);
  max-width: 52ch;
}

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

/* 0.92, não 0.82: no ponto mais claro do céu sob a nota (mobile) a 0.82 dava
   4.44:1 — reprovado por um fio. A 0.92 sobra folga sobre o AA. */
.hero__note {
  font-size: var(--t-xs);
  line-height: var(--lh-loose);
  color: rgba(250, 251, 248, 0.92);
  max-width: 46ch;
}

/* ---------------------------------------------------------------
   7. Faixa de credibilidade
   --------------------------------------------------------------- */
.creds {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3xl);
  padding-block: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--border);
}

.cred { display: flex; flex-direction: column; gap: var(--sp-sm); }

.cred__label {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--forest-mid);
}
.cred__value {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg);
}

/* ---------------------------------------------------------------
   8. Como funciona — passos
   --------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3xl);
}

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

.step__num {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  color: var(--forest-mid);
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 400;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}

.step__text {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
}

.steps__cta { margin-top: clamp(32px, 4vw, 48px); }

/* ---------------------------------------------------------------
   9. Para quem é — lista de motivos
   --------------------------------------------------------------- */
.reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl) clamp(32px, 4vw, 64px);
}

.reason {
  display: flex;
  gap: var(--sp-xl);
  padding-block: var(--sp-3xl);
  border-top: 1px solid var(--border);
  font-size: var(--t-lead);
  line-height: var(--lh-relaxed);
  color: var(--fg);
}

/* Marcador: uma semente estilizada, sem emoji e sem ícone genérico. */
.reason__mark {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 6px;
  color: var(--sage);
}

.reasons__close {
  margin-top: clamp(32px, 4vw, 48px);
  padding: var(--sp-4xl);
  border-radius: var(--r-card);
  background: var(--sage-mist);
  font-size: var(--t-lead);
  line-height: var(--lh-relaxed);
  color: var(--fg);
  max-width: 68ch;
}

/* ---------------------------------------------------------------
   10. Bloco escuro — "O que você não vai encontrar aqui"
   --------------------------------------------------------------- */
.frame-dark {
  position: relative;
  border-radius: var(--r-card);
  background: var(--dark-section);
  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: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.frame-dark__title {
  font-size: var(--t-h2);
  line-height: var(--lh-tight);
  max-width: 16ch;
}
/* No escuro, a ênfase é sage — o verde-floresta desapareceria. */
.frame-dark__title em { color: var(--sage); }

.frame-dark__lead {
  margin-top: var(--sp-3xl);
  font-size: var(--t-lead);
  color: var(--fg-on-dark-muted);
  max-width: 42ch;
}
.frame-dark__cta { margin-top: clamp(32px, 4vw, 48px); }

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3xl);
}

.benefit {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  padding: var(--sp-3xl);
  border-radius: var(--r-xl);
  background: rgba(237, 242, 234, 0.06);
  border: 1px solid rgba(250, 251, 248, 0.1);
}

.benefit__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(250, 251, 248, 0.1);
  color: var(--sage-pale);
}
.benefit__icon svg { width: 22px; height: 22px; }

.benefit__title {
  font-family: var(--font-body);
  font-size: var(--t-lead);
  font-weight: 600;
}
.benefit__text {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-on-dark-muted);
}

/* Marca d'água: uma semente, discreta */
.frame-dark__seed {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: clamp(140px, 20vw, 260px);
  z-index: 1;
  opacity: 0.12;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   11. O que costuma chegar — cards de escuta
   --------------------------------------------------------------- */
.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-xl);
}

.care-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  padding: var(--sp-4xl);
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--inset-hairline);
  transition:
    background-color var(--dur-fast) var(--ease-snap),
    color var(--dur-fast) var(--ease-snap),
    translate var(--dur-fast) var(--ease-snap);
}
.care-card:hover { background: var(--forest); color: var(--paper); translate: 0 -2px; }
.care-card:hover .care-card__text { color: rgba(250, 251, 248, 0.78); }

.care-card__title {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}
.care-card__text {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
  transition: color var(--dur-fast) var(--ease-snap);
}

.care-note {
  margin-top: clamp(32px, 4vw, 48px);
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
  max-width: 72ch;
  padding-left: var(--sp-2xl);
  border-left: 2px solid var(--sage);
}

/* ---------------------------------------------------------------
   11b. Como o atendimento acontece — cards ilustrados
   A ilustração não flutua no branco: ela mora num painel de tom claro da
   paleta, com respiro. O card fica branco; o painel é que carrega a cor.
   --------------------------------------------------------------- */
.fmt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3xl);
}

.fmt-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  padding: var(--sp-2xl) var(--sp-2xl) var(--sp-4xl);
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--inset-hairline);
  /* `translate`, não `transform`: o reveal do Motion escreve transform inline
     e um hover em transform seria simplesmente ignorado. */
  transition:
    translate var(--dur-base) var(--ease-brand),
    box-shadow var(--dur-base) var(--ease-brand);
}
.fmt-card:hover {
  translate: 0 -4px;
  box-shadow: var(--inset-hairline), 0 14px 32px rgba(31, 92, 46, 0.1);
}

.fmt-card__art {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: var(--sp-4xl);
  margin-bottom: var(--sp-sm);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.fmt-card__art--mist { background: var(--sage-mist); }
.fmt-card__art--sage { background: var(--sage-pale); }

.fmt-card__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: scale var(--dur-slow) var(--ease-drift);
}
.fmt-card:hover .fmt-card__art img { scale: 1.05; }

.fmt-card__title {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 400;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}
.fmt-card__text {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
}

/* ---------------------------------------------------------------
   11c. Pills — as áreas de atendimento como grade navegável
   --------------------------------------------------------------- */
.pills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--sp-lg);
}

.pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
  min-height: 62px;
  padding: 16px 22px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--fg);
  font-size: var(--t-sm);
  font-weight: 500;
  line-height: var(--lh-snug);
  box-shadow: var(--inset-hairline), 0 1px 2px rgba(22, 33, 26, 0.04);
  transition:
    translate var(--dur-fast) var(--ease-snap),
    box-shadow var(--dur-fast) var(--ease-snap),
    background-color var(--dur-fast) var(--ease-snap);
}
.pill:hover {
  translate: 0 -3px;
  box-shadow: var(--inset-hairline), 0 10px 24px rgba(31, 92, 46, 0.12);
}

.pill__arrow {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--forest-mid);
  transition: translate var(--dur-fast) var(--ease-snap);
}
.pill:hover .pill__arrow { translate: 4px 0; }

/* A que diz "tem mais": contorno tracejado, sem preenchimento e sem seta —
   é um sinal, não um destino. */
.pill--more {
  justify-content: center;
  background: transparent;
  color: var(--fg-muted);
  border: 1px dashed var(--border-strong);
  box-shadow: none;
  cursor: default;
}
.pill--more:hover { translate: none; box-shadow: none; }

/* A de ênfase: preenchida no verde da marca — nunca preto. */
.pill--accent {
  background: var(--forest);
  color: var(--paper);
  box-shadow: none;
}
.pill--accent .pill__arrow { color: currentColor; }
.pill--accent:hover {
  background: var(--forest-deep);
  box-shadow: 0 10px 24px rgba(31, 92, 46, 0.24);
}

/* O cabeçalho fixo não pode comer a âncora de destino das pills. */
:target { scroll-margin-top: 112px; }

/* ---------------------------------------------------------------
   12. Sobre — retrato + texto
   --------------------------------------------------------------- */
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.about-split__media {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--paper-warm);
}
.about-split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-split__body { display: flex; flex-direction: column; gap: var(--sp-2xl); }
.about-split__body h2 { margin-top: var(--sp-sm); }

.about-split__cred {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--forest-mid);
}
.about-split__body p {
  font-size: var(--t-sm);
  line-height: 1.62;
  color: var(--fg-muted);
  max-width: 56ch;
}
.about-split__cta { margin-top: var(--sp-lg); }

/* ---------------------------------------------------------------
   13. 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-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(--forest); }

.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); }

/* ---------------------------------------------------------------
   14. CTA final
   --------------------------------------------------------------- */
.cta {
  position: relative;
  text-align: center;
  padding-block: clamp(88px, 11vw, 176px);
  overflow: hidden;
  isolation: isolate;
  background: var(--sage-mist);
}

.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);
  color: var(--fg-muted);
  max-width: 52ch;
}

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

.cta__address {
  margin-top: var(--sp-lg);
  font-size: var(--t-xs);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
  max-width: 60ch;
}

/* As sementes que sobrevoam o CTA — mesma deriva do hero */
.cta__seed {
  position: absolute;
  z-index: 1;
  width: clamp(56px, 7vw, 104px);
  opacity: 0.75;
  pointer-events: none;
}
.cta__seed--l { left: 7%;  top: 18%;    rotate: -12deg; }
.cta__seed--r { right: 8%; bottom: 16%; rotate: 9deg; }

/* ---------------------------------------------------------------
   15. Aviso de urgência — obrigação ética, nunca decorativo
   --------------------------------------------------------------- */
.urgency {
  display: flex;
  gap: var(--sp-xl);
  align-items: flex-start;
  max-width: 900px;
  margin-inline: auto;
  padding: var(--sp-4xl);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  background: var(--white);
}
.urgency__icon { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--forest); }
.urgency__title {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 600;
  margin-bottom: var(--sp-sm);
}
.urgency__text {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
}
.urgency__text a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------
   16. Botão flutuante do WhatsApp
   --------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 14px 18px;
  border-radius: var(--r-pill);
  background: var(--forest);
  color: var(--paper);
  font-size: var(--t-sm);
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(11, 18, 13, 0.22);
  transition:
    background-color var(--dur-fast) var(--ease-snap),
    transform var(--dur-fast) var(--ease-snap);
}
.wa-float:hover { background: var(--forest-deep); transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; flex: none; }

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

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

.footer__brand { display: flex; flex-direction: column; gap: var(--sp-2xl); }

.footer__name {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}
.footer__cred {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--sage);
}
.footer__brand .btn { align-self: flex-start; margin-top: var(--sp-sm); }

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

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

.footer-col a,
.footer-col li {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-on-dark-muted);
}
.footer-col a { transition: color var(--dur-fast) var(--ease-snap); }
.footer-col a:hover { color: var(--paper); }

.footer__bottom {
  position: relative;
  z-index: 2;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: var(--sp-3xl);
  border-top: 1px solid rgba(250, 251, 248, 0.15);
  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(250, 251, 248, 0.6);
}
.footer__legal a { transition: color var(--dur-fast) var(--ease-snap); }
.footer__legal a:hover { color: var(--paper); }

.footer__disclaimer {
  font-size: var(--t-xs);
  line-height: var(--lh-loose);
  color: rgba(250, 251, 248, 0.5);
  max-width: 92ch;
}

/* Folhagem do rodapé — reaproveitada do template e trazida para o verde
   da marca com filtro, já que o asset original puxa para o amarelo. */
.footer__leaf {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.1;
  filter: hue-rotate(-18deg) saturate(0.55) brightness(0.85);
}
.footer__leaf--l { left: -60px;  bottom: -20px; width: clamp(150px, 20vw, 280px); }
.footer__leaf--r { right: -50px; top: -30px;    width: clamp(140px, 18vw, 240px); scale: -1 1; }

/* ---------------------------------------------------------------
   18. 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 .cloud,
.js-motion .seed {
  opacity: 0;
}

/* Rede de segurança: sem Motion, nada fica invisível.
   As peças do céu voltam à opacidade de repouso (--op), não a 1: opacidade
   é parte da profundidade aqui, não só um estado de entrada. */
html.motion-failed [data-reveal],
html.motion-failed [data-hero-line] {
  opacity: 1 !important;
  transform: none !important;
}
html.motion-failed .sky__haze { opacity: 1 !important; transform: none !important; }
html.motion-failed .cloud,
html.motion-failed .seed {
  opacity: var(--op, 1) !important;
  transform: none !important;
}

/* ---------------------------------------------------------------
   19. Responsivo
   --------------------------------------------------------------- */

/* Tablet: 700px – 1199.98px */
@media (max-width: 1199.98px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .fmt-grid { gap: var(--sp-xl); }
  .fmt-card__art { padding: var(--sp-3xl); }
  .pills { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .creds { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4xl) var(--sp-3xl); }
  .faq__layout { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .about-split__media { max-width: 460px; }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .nav { gap: var(--sp-2xl); }

  .hero { height: 100vh; }
  .hero__inner { width: 460px; }

  /* Tablet: a coluna de texto encolhe e o bando fecha um pouco em volta dela. */
  .seeds {
    left: -27px;
    right: -63px;
    bottom: -47px;
    width: auto;
    max-width: none;
    translate: 0 0;
  }

  .cloud--1 { top: -2%;    left: -18%;  width: 60vw; }
  .cloud--2 { top: 22%;    right: -20%; width: 56vw; }
  .cloud--3 { top: 52%;    left: -14%;  width: 46vw; }
  .cloud--4 { bottom: 8%;  right: -16%; width: 44vw; }
  .cloud--5 { bottom: -9%; left: 16%;   width: 38vw; }

  .seed--2 { left: 12%;  bottom: 30%; }
  .seed--3 { right: 6%;  bottom: 33%; }
  .seed--4 { right: 17%; top: 10%; }
  .seed--5 { right: 2%;  top: 28%; }
  .seed--7 { left: 8%;   top: 7%; }
}

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

  .header__bar {
    padding-inline: var(--sp-2xl);
    background: rgba(250, 251, 248, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }
  /* 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); }
  /* No telefone a barra é só marca + menu: o nome encurta e o "Agendar"
     sai daqui (ele vive no painel do menu e no botão flutuante). */
  .header__logo .wordmark { font-size: 1rem; }
  .header__logo .wordmark__mid { display: none; }
  .header__actions .btn--nav { display: none; }

  .hero { height: auto; min-height: 640px; padding-block: 140px 148px; }
  .hero__inner { width: 100%; gap: var(--sp-2xl); padding-bottom: 0; }

  /* No telefone o texto ocupa quase toda a altura do céu, e o céu clareia até
     quase branco na base: sem empurrar a transição para BAIXO do último
     parágrafo, o creme cairia sobre verde pálido e perderia o AA. A folga de
     148px embaixo é o que dá ao gradiente onde clarear sem levar texto junto. */
  .sky {
    background:
      radial-gradient(140% 80% at 50% 40%, rgba(11, 18, 13, 0.38), transparent 72%),
      linear-gradient(
        180deg,
        var(--sky-top) 0%,
        var(--sky-mid) 72%,
        var(--sky-fade) 90%,
        var(--sky-bottom) 100%
      );
  }
  .hero__title { font-size: 2.3125rem; }
  .hero__cta { width: 100%; flex-direction: column; }
  .hero__cta .btn { justify-content: center; width: 100%; }

  /* Camada das internas — no telefone as sementes viram fundo. */
  .seeds {
    left: 50%;
    top: 46%;
    right: auto;
    bottom: auto;
    width: min-content;
    max-width: none;
    height: 472px;
    align-items: center;
    translate: -50% -50%;
    opacity: 0.5;
  }

  /* No telefone o texto ocupa a largura toda: o bando sai do miolo e vai para
     as bordas. As duas peças mais distantes saem de cena — 12 vira 9 —, porque
     em 390px de largura elas viram sujeira, não profundidade. */
  .seed--5,
  .seed--7 { display: none; }

  /* As nuvens de baixo saem da coluna do texto: em 390px de largura elas caíam
     exatamente atrás da última linha (a nota) e clareavam o fundo — medido em
     4,03:1, abaixo do AA. Aqui elas afundam no rodapé do hero e desbotam. */
  .cloud--1 { top: -1%;     left: -34%;  width: 96vw; --op: 0.38; }
  .cloud--2 { top: 30%;     right: -42%; width: 88vw; --op: 0.24; }
  .cloud--3 { top: 50%;     left: -46%;  width: 86vw; --op: 0.30; }
  .cloud--4 { bottom: -6%;  right: -44%; width: 88vw; --op: 0.24; }
  .cloud--5 { bottom: -12%; left: -8%;   width: 62vw; --op: 0.14; }

  .seed--1 { left: -5%;  bottom: 2%;  width: 84px; --op: 0.8; }
  .seed--2 { left: 2%;   bottom: auto; top: 9%;  width: 58px; --op: 0.5; }
  .seed--3 { right: -3%; bottom: 6%;  width: 66px; --op: 0.72; }
  .seed--4 { right: 3%;  top: 5%;     width: 52px; --op: 0.38; }
  .seed--6 { right: -7%; bottom: 25%; width: 76px; --op: 0.5; }

  /* O véu fecha mais e desce mais: aqui o texto cobre quase toda a altura do
     céu, e o gradiente já vem clareando na faixa da nota. */
  .hero__veil {
    background: radial-gradient(
      130% 78% at 50% 46%,
      rgba(11, 18, 13, 0.6) 0%,
      rgba(11, 18, 13, 0.44) 58%,
      transparent 88%
    );
  }

  .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(--paper);
    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);
    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; font-family: var(--font-body); font-size: var(--t-sm); }
  .mobile-nav .btn { justify-content: center; }

  .creds { grid-template-columns: 1fr; gap: var(--sp-2xl); }
  .steps,
  .reasons,
  .frame-dark__grid,
  .footer__top { grid-template-columns: 1fr; }

  .care-grid { grid-template-columns: 1fr; }

  /* No telefone os cards empilham e as pills viram coluna única: rótulo longo
     ("Angústia e sofrimento sem nome") não cabe em duas colunas sem apertar. */
  .fmt-grid { grid-template-columns: 1fr; }
  .fmt-card__art { aspect-ratio: 4 / 3; padding: var(--sp-3xl); }
  .pills { grid-template-columns: 1fr; }

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

  .frame-dark { border-radius: var(--r-xl); }
  .reason { padding-block: var(--sp-2xl); font-size: var(--t-sm); }

  .cta__actions { width: 100%; flex-direction: column; }
  .cta__actions .btn { justify-content: center; width: 100%; }
  .cta__seed { opacity: 0.4; }
  .cta__seed--l { left: -2%; }
  .cta__seed--r { right: -2%; }

  .urgency { flex-direction: column; gap: var(--sp-lg); padding: var(--sp-3xl); }

  .wa-float { padding: 12px 16px; }
  .wa-float span { display: none; }
  .wa-float svg { width: 24px; height: 24px; }

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

/* ---------------------------------------------------------------
   20. 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 {
    opacity: 1 !important;
    transform: none !important;
  }
  .js-motion .cloud,
  .js-motion .seed {
    opacity: var(--op, 1) !important;
    transform: none !important;
  }
}
