/* =============================================================
   Dra. Gabriela Gaia — Psiquiatra
   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; }

:focus-visible {
  outline: 2px solid var(--indigo);
  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(--fg-on-dark);
  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
   Sem serif e sem itálico. A ênfase do display é peso + cor.
   --------------------------------------------------------------- */
.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;
}

.display em,
h1 em, h2 em, h3 em,
.emph {
  font-style: var(--display-emph-style);   /* normal — nunca itálico */
  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(--indigo);
}

/* ---------------------------------------------------------------
   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--tint { background: var(--paper-warm); }

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

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

.btn--primary {
  background: var(--indigo);
  color: #ffffff;                 /* 7.5:1 */
}
.btn--primary:hover { background: var(--indigo-deep); }

.btn--light {
  background: var(--white);
  color: var(--indigo);
  box-shadow: var(--inset-hairline);
}
.btn--light:hover { background: var(--sky-mist); }

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

/* Sobre o céu: contorno claro, sem preencher */
.btn--onsky {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--fg-on-dark);
}
.btn--onsky:hover { background: rgba(255, 255, 255, 0.14); }

/* `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(--indigo);
}
.link-arrow svg { width: 16px; height: 16px; transition: translate var(--dur-fast) var(--ease-snap); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover svg { translate: 4px 0; }

/* ---------------------------------------------------------------
   5. Marca
   --------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-lg);
  color: inherit;
}

.brand__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid currentColor;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  padding-bottom: 1px;
}

.brand__text { display: flex; flex-direction: column; gap: 2px; }

.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.015em;
}

.brand__role {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}

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

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

.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;
}
.nav__link .chev {
  width: 12px;
  height: 8px;
  transition: rotate var(--dur-base) var(--ease-brand);
}
.nav__trigger[aria-expanded='true'] .chev { rotate: 180deg; }

.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; }
.nav__trigger::after { display: none; }

.nav__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 10;
  display: grid;
  gap: 2px;
  min-width: 240px;
  padding: var(--sp-sm);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow:
    var(--inset-hairline),
    0 12px 40px rgba(23, 27, 46, 0.12);
  opacity: 0;
  visibility: hidden;
  translate: -50% -6px;
  transition:
    opacity var(--dur-fast) var(--ease-snap),
    translate var(--dur-fast) var(--ease-snap),
    visibility 0s linear var(--dur-fast);
}
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu,
.nav__trigger[aria-expanded='true'] + .nav__menu {
  opacity: 1;
  visibility: visible;
  translate: -50% 0;
  transition-delay: 0s;
}

.nav__menu a {
  display: block;
  padding: 10px var(--sp-lg);
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  color: var(--ink);
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-snap);
}
.nav__menu a:hover { background: var(--sky-mist); }
.nav__menu-all {
  margin-top: 2px;
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  color: var(--indigo);
  font-weight: 500;
}

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

.btn--nav {
  background: var(--indigo);
  color: #ffffff;
  padding: 12px 18px;
}
.btn--nav:hover { background: var(--indigo-deep); }
.header[data-onsky='true'][data-scrolled='false'] .btn--nav {
  background: var(--white);
  color: var(--indigo);
}
.header[data-onsky='true'][data-scrolled='false'] .btn--nav:hover { background: var(--sky-mist); }

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

/* ---------------------------------------------------------------
   7. Hero — o céu e o bando de andorinhas
   --------------------------------------------------------------- */
.hero {
  position: relative;
  height: 110vh;
  min-height: 740px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* z0 — o céu */
.sky {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 101%;
  /* Os quatro tons são os do brief e não se mexem. O que se mexe é ONDE cada
     um acontece: o claro do horizonte subia até a faixa da microcopy e a
     derrubava para 3.6:1. Segurando o azul escuro até 80%, o brilho desce para
     debaixo do bando — que é onde ele tem função — e o texto volta a passar em
     AA sem clarear uma única cor. */
  background: linear-gradient(
    180deg,
    var(--sky-0) 0%,
    var(--sky-1) 46%,
    var(--sky-2) 80%,
    var(--sky-3) 100%
  );
  pointer-events: none;
}

/* z4 — a bruma que abre a base do céu e emenda com o papel.
   Fica ACIMA das nuvens e do bando: é ela que dissolve o que está perto do
   horizonte, e é isso que faz o horizonte parecer longe. */
.sky__haze {
  position: absolute;
  inset: auto 0 -1px 0;
  z-index: 4;
  height: 34%;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0) 0%, rgba(251, 250, 247, 0.92) 92%, var(--paper) 100%);
  pointer-events: none;
}

/* z1 / z3 — as nuvens.
   Duas camadas, não uma: as do fundo passam ATRÁS do bando, as da frente
   passam POR CIMA. É essa oclusão cruzada que dá volume ao céu.

   Profundidade aqui não usa uma única sombra preta — usa quatro sinais que
   o olho já sabe ler: tamanho, opacidade, desfoque e quem tapa quem. Por isso
   nenhuma nuvem (e nenhuma ave) projeta sombra: no céu não há chão. */
.clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.clouds--back { z-index: 1; }
.clouds--fore { z-index: 3; }

.cloud {
  position: absolute;
  will-change: transform;
  /* A ilustração já vem na paleta. Só a distância a lava. */
}

/* Frente — grandes, nítidas, coladas no bando */
.cloud--1 {
  left: -7%;
  bottom: 3%;
  width: clamp(280px, 34vw, 520px);
  opacity: 0.95;
}
.cloud--3 {
  right: -5%;
  bottom: 15%;
  width: clamp(230px, 27vw, 420px);
  opacity: 0.86;
}

/* Fundo — menores, lavadas no céu, quase paradas.
   Ficam nas bordas altas, fora da coluna de texto: nuvem clara atrás de texto
   claro derruba o contraste, e o hero já foi medido uma vez por isso. */
.cloud--2 {
  left: -6%;
  top: 14%;
  width: clamp(180px, 22vw, 340px);
  opacity: 0.42;
  filter: blur(2px);
}
.cloud--4 {
  right: -3%;
  top: 9%;
  width: clamp(150px, 18vw, 270px);
  opacity: 0.3;
  filter: blur(3px);
}

/* z2 — o bando.
   O palco é uma faixa baixa e larga: o bando cruza o terço inferior do céu e
   nunca sobe até a coluna de texto. As aves são pequenas de propósito — quem
   voa perto do horizonte é lido como distante, e a cena ganha profundidade. */
.flock {
  position: absolute;
  z-index: 2;
  bottom: 70px;
  left: 56%;
  translate: -50% 0;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
/* A altura do palco acompanha a da janela, e as aves se posicionam em % dele.
   Em pixels fixos o palco não encolhia junto com o hero: numa tela baixa o
   bando subia e ia parar atrás do botão e da microcopy (medido: 1.5:1). Preso
   a `vh`, o teto do bando desce junto com o texto e a colisão não existe. */
.flock__stage {
  position: relative;
  width: 1060px;
  height: min(460px, 42vh);
  flex: none;
}

/* A rotação de repouso mora em `rotate` (propriedade individual): o parallax
   é dono de `transform` e a deriva é dona de `translate`. Três camadas de
   movimento sem colisão.

   Sem sombra. Uma ave em pleno voo não tem em que projetar sombra — o que a
   afasta do observador é ficar menor, mais lavada, mais desfocada e passar por
   trás de uma nuvem. O empilhamento é explícito (z-index) porque a ordem do
   DOM já serve à deriva, não à profundidade. */
.swallow {
  position: absolute;
  will-change: transform;
}

/* Perto — grandes, nítidas, opacas. São as ilustrações pintadas. */
.swallow--1  { left: 1%;    bottom: 0;     width: 196px; rotate: -4deg;  z-index: 9; }
.swallow--2  { right: 5%;   bottom: 24%;   width: 172px; rotate: 7deg;   z-index: 8; }

/* Meio e fundo — perdem tamanho, ganham névoa e saem de foco.
   A transparência da distância mora em `filter: opacity()`, e não na
   propriedade `opacity`: o Motion anima `opacity` de 0 a 1 na entrada de toda
   ave, e sobrescreveria qualquer valor posto ali. O filtro multiplica por fora
   e sobrevive — a ave nasce com fade e continua distante. */
.swallow--3  { left: 41%;   bottom: 13%;   width: 136px; rotate: -3deg;  z-index: 7; filter: opacity(0.96); }
.swallow--4  { left: 21%;   bottom: 36%;   width: 116px; rotate: 8deg;   z-index: 6; filter: opacity(0.9); }
.swallow--5  { right: 27%;  bottom: 2%;    width: 106px; rotate: -9deg;  z-index: 5; filter: opacity(0.86); }

.swallow--6  { left: 60%;   bottom: 46%;   width: 84px;  rotate: 6deg;   z-index: 4; filter: opacity(0.74) blur(0.5px); }
.swallow--7  { left: 7%;    bottom: 54%;   width: 70px;  rotate: -12deg; z-index: 3; filter: opacity(0.64) blur(0.8px); }
.swallow--8  { right: 2%;   bottom: 64%;   width: 60px;  rotate: 10deg;  z-index: 2; filter: opacity(0.55) blur(1.1px); }
/* O teto do bando é o rodapé do texto: uma ave clara cruzando por trás da
   microcopy derrubou o contraste dela para 2:1. Nenhuma sobe além daqui. */
.swallow--9  { left: 30%;   bottom: 64%;   width: 50px;  rotate: -6deg;  z-index: 1; filter: opacity(0.46) blur(1.4px); }
.swallow--10 { right: 38%;  bottom: 69%;   width: 42px;  rotate: 13deg;  z-index: 1; filter: opacity(0.38) blur(1.7px); }

/* z5 — o texto. Fica acima do centro óptico, onde o céu ainda é escuro
   (5.9:1 contra o creme; no miolo claro do gradiente cairia para 2.9). */
.hero__inner {
  position: relative;
  z-index: 5;
  width: 560px;
  max-width: 100%;
  padding-bottom: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-3xl);
  color: var(--fg-on-dark);
}

.hero__title {
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--fg-on-dark);
  text-wrap: balance;
}
/* Sobre o céu a ênfase não pode ser o índigo (some no fundo): é o azul claro. */
.hero__title em {
  font-style: normal;
  font-weight: 700;
  color: var(--sky-mist);
}

.hero__sub {
  font-size: var(--t-sm);
  line-height: var(--lh-body);
  letter-spacing: -0.01em;
  color: rgba(245, 246, 250, 0.94);
  max-width: 54ch;
}

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

/* A linha mais baixa do bloco é a que cai na parte mais clara do céu — é ela
   que precisa da cor cheia, não da mais apagada. Estava em 86%. */
.hero__micro {
  font-size: var(--t-xs);
  color: var(--fg-on-dark);
}

/* ---------------------------------------------------------------
   8. Faixa de credibilidade
   --------------------------------------------------------------- */
.proof {
  padding-block: clamp(48px, 6vw, 80px);
}

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

.proof__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  padding-top: var(--sp-xl);
  border-top: 2px solid var(--indigo);
}

.proof__title {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 600;
  line-height: var(--lh-snug);
  color: var(--fg);
}
.proof__text {
  font-size: var(--t-xs);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
}

/* ---------------------------------------------------------------
   9. Passos
   --------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3xl);
}

.step {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--inset-hairline);
  transition: box-shadow var(--dur-base) var(--ease-brand);
}
.step:hover { box-shadow: var(--inset-hairline), 0 14px 40px rgba(23, 27, 46, 0.08); }

/* A ilustração de cada passo.
   As três artes têm proporções diferentes, então quem manda no ritmo é a
   caixa, não a imagem: altura fixa, `contain` e um painel de céu por trás.
   Assim os três cartões alinham o número e o título na mesma linha. */
.step__art {
  width: 100%;
  height: clamp(150px, 15vw, 184px);
  object-fit: contain;
  object-position: center bottom;
  padding: var(--sp-xl) var(--sp-xl) 0;
  background: var(--sky-mist);
  border-radius: var(--r-xl);
  transition: transform var(--dur-base) var(--ease-brand);
}
.step:hover .step__art { transform: translateY(-4px); }

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

.step__title {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 600;
  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);
}

.section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3xl);
  margin-top: clamp(32px, 4vw, 56px);
}
.section-foot__note {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  max-width: 30ch;
}

/* ---------------------------------------------------------------
   10. "Talvez você se reconheça" — lista tipográfica
   --------------------------------------------------------------- */
.recognize__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3xl);
}

.recognize__item {
  display: flex;
  gap: var(--sp-xl);
  padding: var(--sp-3xl);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--inset-hairline);
  font-size: var(--t-lead);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
}
.recognize__item::before {
  content: '';
  flex: none;
  width: 3px;
  border-radius: 2px;
  background: var(--sky);
}

.recognize__close {
  margin-top: clamp(32px, 4vw, 48px);
  max-width: 62ch;
  font-size: var(--t-lead);
  line-height: var(--lh-body);
  color: var(--fg-muted);
}

/* ---------------------------------------------------------------
   11. Bloco escuro — "o que este consultório não é"
   --------------------------------------------------------------- */
.frame-dark {
  position: relative;
  border-radius: var(--r-card);
  background: var(--ink-deep);
  color: var(--fg-on-dark);
  padding: clamp(32px, 5vw, 72px);
  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, 72px);
  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(--emph-on-dark); }
.frame-dark__lead {
  margin-top: var(--sp-3xl);
  font-size: var(--t-lead);
  line-height: var(--lh-body);
  color: var(--fg-on-dark-muted);
  max-width: 40ch;
}

.frame-dark__bird {
  position: absolute;
  right: -34px;
  bottom: -28px;
  width: clamp(150px, 22vw, 280px);
  z-index: 1;
  opacity: 0.14;
  pointer-events: none;
}

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

.notfor__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  padding: var(--sp-3xl);
  border-radius: var(--r-xl);
  background: rgba(245, 246, 250, 0.05);
  border: 1px solid rgba(245, 246, 250, 0.12);
}
.notfor__title {
  font-family: var(--font-body);
  font-size: var(--t-lead);
  font-weight: 600;
  line-height: var(--lh-snug);
}
.notfor__text {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-on-dark-muted);
}
.notfor__text strong { color: var(--emph-on-dark); font-weight: 600; }

/* ---------------------------------------------------------------
   12. "O que você não vai encontrar aqui" — 4 cards
   --------------------------------------------------------------- */
.frictionless {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-3xl);
}

.friction {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  padding-top: var(--sp-3xl);
  border-top: 1px solid var(--border);
}
.friction__title {
  font-family: var(--font-display);
  font-size: var(--t-h5);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}
.friction__text {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
}

/* ---------------------------------------------------------------
   13. Áreas de atendimento — grade de pílulas
   Cada área é um destino, não um cartão de leitura: o nome à esquerda,
   a seta à direita, e o texto longo mora em service.html.
   --------------------------------------------------------------- */
.pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-xl);
}

.pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2xl);
  min-height: 76px;
  padding: var(--sp-2xl) var(--sp-3xl);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--inset-hairline);
  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__label {
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 500;
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--indigo);            /* 7.5:1 sobre branco */
  text-wrap: balance;
}

.pill__arrow {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--sky-arrow);
  transition:
    translate var(--dur-fast) var(--ease-snap),
    color var(--dur-fast) var(--ease-snap);
}

.pill:hover {
  translate: 0 -2px;
  box-shadow:
    0 12px 26px -12px rgba(23, 27, 46, 0.28),
    var(--inset-hairline);
}
.pill:hover .pill__arrow {
  translate: 4px 0;
  color: var(--indigo);
}
.pill:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), var(--inset-hairline);
}

/* A pílula aberta: existe mais do que cabe aqui. */
.pill--more {
  background: transparent;
  box-shadow: none;
  /* 3.2:1 sobre --paper-warm — mínimo de contorno de componente (WCAG 1.4.11) */
  border: 1.5px dashed rgba(23, 27, 46, 0.5);
}
.pill--more .pill__label { color: var(--fg-muted); }
.pill--more .pill__arrow { color: var(--fg-muted); }
.pill--more:hover {
  background: var(--paper-soft);
  border-color: var(--indigo);
  box-shadow: 0 12px 26px -14px rgba(23, 27, 46, 0.22);
}
.pill--more:hover .pill__label,
.pill--more:hover .pill__arrow { color: var(--indigo); }
.pill--more:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* A ênfase: a cor da marca, ocupando a linha inteira. */
.pill--all {
  grid-column: 1 / -1;
  justify-content: center;
  gap: var(--sp-lg);
  background: var(--indigo);
  box-shadow: none;
}
.pill--all .pill__label {
  font-size: var(--t-body);
  font-weight: 600;
  color: var(--fg-on-dark);        /* 7.1:1 sobre --indigo */
}
.pill--all .pill__arrow { color: var(--sky-soft); }
.pill--all:hover {
  background: var(--indigo-deep);
  box-shadow: 0 14px 30px -14px rgba(46, 61, 107, 0.55);
}
.pill--all:hover .pill__arrow { color: var(--fg-on-dark); }
.pill--all:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ---------------------------------------------------------------
   14. Autoridade / sobre — foto real + texto
   --------------------------------------------------------------- */
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

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

.about-split__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3xl);
}
.about-split__body p {
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--fg-muted);
  max-width: 58ch;
}
.about-split__body p strong { color: var(--fg); font-weight: 500; }

.pullquote {
  padding: var(--sp-3xl) 0 var(--sp-3xl) var(--sp-3xl);
  border-left: 3px solid var(--indigo);
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--fg);
  max-width: 34ch;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm) var(--sp-lg);
  margin-top: var(--sp-sm);
}
.credential {
  padding: 6px var(--sp-lg);
  border-radius: var(--r-pill);
  background: var(--sky-mist);
  color: var(--indigo-deep);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------
   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-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(--indigo); }

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

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

.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: 18ch;
}
.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__note {
  font-size: var(--t-xs);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
  max-width: 54ch;
}

.cta__bird {
  position: absolute;
  z-index: 1;
  width: clamp(64px, 8vw, 118px);
  opacity: 0.5;
  pointer-events: none;
}
.cta__bird--l { left: 7%;  top: 20%; rotate: -8deg; }
.cta__bird--r { right: 9%; bottom: 22%; rotate: 10deg; }

/* ---------------------------------------------------------------
   17. Aviso de emergência
   --------------------------------------------------------------- */
.emergency {
  display: flex;
  gap: var(--sp-xl);
  padding: var(--sp-3xl);
  border-radius: var(--r-xl);
  border: 1px solid rgba(245, 246, 250, 0.22);
  background: rgba(245, 246, 250, 0.05);
}
.emergency__icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--emph-on-dark);
}
.emergency__body {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-on-dark-muted);
}
.emergency__body strong { display: block; color: var(--fg-on-dark); font-weight: 600; margin-bottom: 4px; }
.emergency__body a { color: var(--emph-on-dark); text-decoration: underline; text-underline-offset: 3px; }

/* Variante clara (páginas internas, dentro do fluxo) */
.emergency--light {
  border-color: var(--border-strong);
  background: var(--white);
}
.emergency--light .emergency__icon { color: var(--indigo); }
.emergency--light .emergency__body { color: var(--fg-muted); }
.emergency--light .emergency__body strong { color: var(--fg); }
.emergency--light .emergency__body a { color: var(--indigo); }

/* ---------------------------------------------------------------
   18. Rodapé
   --------------------------------------------------------------- */
.footer {
  position: relative;
  background: var(--ink-deep);
  color: var(--fg-on-dark);
  padding-block: clamp(64px, 8vw, 104px) 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-3xl); align-items: flex-start; }
.footer__brand .brand { color: var(--fg-on-dark); }

.footer__tagline {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  max-width: 20ch;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-on-dark-muted);
}
.footer__contact a { color: var(--fg-on-dark); }
.footer__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

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

.footer-col a {
  font-size: var(--t-sm);
  color: rgba(245, 246, 250, 0.82);
  transition: color var(--dur-fast) var(--ease-snap);
}
.footer-col a:hover { color: var(--fg-on-dark); }

.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, 246, 250, 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, 246, 250, 0.1);
  border-color: rgba(245, 246, 250, 0.5);
}
.footer__social svg { width: 20px; height: 20px; }

.footer__notice {
  position: relative;
  z-index: 2;
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  gap: var(--sp-xl);
}

.footer__bottom {
  position: relative;
  z-index: 2;
  margin-top: var(--sp-5xl);
  padding-top: var(--sp-3xl);
  border-top: 1px solid rgba(245, 246, 250, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3xl);
  font-size: var(--t-xs);
  color: rgba(245, 246, 250, 0.6);
}
.footer__legal a:hover { color: var(--fg-on-dark); text-decoration: underline; text-underline-offset: 3px; }

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

.footer__bird {
  position: absolute;
  right: -20px;
  bottom: -10px;
  z-index: 1;
  width: clamp(150px, 20vw, 260px);
  opacity: 0.1;
  rotate: 6deg;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   19. Botão flutuante do WhatsApp
   --------------------------------------------------------------- */
.wa-fab {
  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 20px;
  border-radius: var(--r-pill);
  background: var(--indigo);
  color: #ffffff;
  font-size: var(--t-sm);
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 10px 30px rgba(23, 27, 46, 0.22);
  transition:
    background-color var(--dur-fast) var(--ease-snap),
    translate var(--dur-fast) var(--ease-snap);
}
.wa-fab:hover { background: var(--indigo-deep); translate: 0 -2px; }
.wa-fab svg { flex: none; width: 20px; height: 20px; }

/* ---------------------------------------------------------------
   20. 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 .swallow {
  opacity: 0;
}

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

/* ---------------------------------------------------------------
   21. Responsivo
   --------------------------------------------------------------- */

/* Tablet: 700px – 1199.98px */
@media (max-width: 1199.98px) {
  .steps { grid-template-columns: repeat(2, 1fr); }

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

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

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

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

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

  .hero { height: 100vh; min-height: 700px; }
  .hero__inner { width: 480px; padding-bottom: 190px; }

  .flock {
    left: 52%;
    bottom: 0;
  }
  .flock__stage { width: 700px; height: min(360px, 40vh); }
  .swallow--1  { left: 0;     bottom: 0;    width: 148px; }
  .swallow--2  { right: 2%;   bottom: 24%;  width: 128px; }
  .swallow--3  { left: 40%;   bottom: 12%;  width: 102px; }
  .swallow--4  { left: 18%;   bottom: 36%;  width: 88px; }
  .swallow--5  { right: 28%;  bottom: 2%;   width: 80px; }
  .swallow--6  { left: 60%;   bottom: 47%;  width: 64px; }
  .swallow--7  { left: 4%;    bottom: 55%;  width: 54px; }
  .swallow--8  { right: 1%;   bottom: 64%;  width: 46px; }
  .swallow--9  { left: 32%;   bottom: 68%;  width: 40px; }
  .swallow--10 { right: 36%;  bottom: 74%;  width: 34px; }

  /* No tablet as nuvens do fundo encostam demais no texto — só as da frente ficam */
  .clouds--back { display: none; }
  .cloud--1 { bottom: 1%; }
  .cloud--3 { bottom: 12%; }
}

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

  .header__bar {
    padding-inline: var(--sp-2xl);
    background: rgba(251, 250, 247, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--inset-hairline);
  }
  /* No mobile a barra já nasce fosca: o texto precisa ser escuro mesmo no céu */
  .header[data-onsky='true'][data-scrolled='false'] .header__bar { color: var(--fg); }
  .header[data-onsky='true'][data-scrolled='false'] .btn--nav {
    background: var(--indigo);
    color: #ffffff;
  }

  .hero { height: auto; min-height: 0; padding-block: 128px 0; }
  .hero__inner {
    width: 100%;
    padding-inline: var(--gutter);
    padding-bottom: 0;
    gap: var(--sp-2xl);
  }
  .hero__title { font-size: 34px; }

  /* No telefone o bando deixa de flutuar sobre o texto e vira o rodapé do céu */
  .flock {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    translate: 0 0;
    width: 100%;
    max-width: none;
    margin-top: 40px;
    justify-content: center;
  }
  .flock__stage {
    width: 340px;
    height: 300px;
    margin-inline: auto;
  }
  /* No telefone o bando afina: sete aves, não dez. Dez viram mancha em 340px. */
  .swallow--1  { left: -10px; bottom: 0;     width: 122px; }
  .swallow--2  { right: -8px; bottom: 74px;  width: 104px; }
  .swallow--3  { left: 38%;   bottom: 30px;  width: 84px; }
  .swallow--4  { left: 2px;   bottom: 128px; width: 70px; }
  .swallow--5  { right: 30%;  bottom: 4px;   width: 62px; }
  .swallow--6  { right: 4px;  bottom: 186px; width: 52px; }
  .swallow--7  { left: 22%;   bottom: 216px; width: 44px; }
  .swallow--8,
  .swallow--9,
  .swallow--10 { display: none; }

  /* As nuvens do fundo nascem atrás do bloco de texto no telefone — saem.
     As da frente ficam, ancoradas na base, junto do bando. */
  .clouds--back { display: none; }
  .cloud--1 { left: -22%; bottom: 0; width: 260px; opacity: 0.9; }
  .cloud--3 { right: -20%; bottom: 8%; width: 210px; opacity: 0.8; }

  .sky__haze { height: 26%; }

  .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(--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-size: var(--t-body);
    color: var(--ink);
    padding-block: var(--sp-xl);
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav__link {
    font-family: var(--font-display);
    font-size: var(--t-h5);
    font-weight: 500;
    letter-spacing: var(--ls-display);
  }
  .mobile-nav__label {
    margin-top: var(--sp-3xl);
    padding-bottom: var(--sp-sm);
    font-family: var(--font-mono);
    font-size: var(--t-xs);
    text-transform: uppercase;
    letter-spacing: var(--ls-caps);
    color: var(--fg-muted);
  }
  .mobile-nav__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3xl);
    margin-top: var(--sp-4xl);
  }
  .mobile-nav__actions a { border-bottom: 0; }
  .mobile-nav .btn { justify-content: center; width: 100%; }

  .steps,
  .proof__grid,
  .recognize__grid,
  .notfor,
  .footer__top { grid-template-columns: 1fr; }

  .pills { grid-template-columns: minmax(0, 1fr); gap: var(--sp-lg); }
  .pill { min-height: 64px; padding: var(--sp-xl) var(--sp-2xl); border-radius: 26px; }

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

  .frame-dark { border-radius: var(--r-xl); padding: var(--sp-3xl) var(--sp-2xl); }

  .pullquote { padding-left: var(--sp-2xl); }

  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .wa-fab { padding: 14px 16px; }
  .wa-fab span { display: none; }
}

/* ---------------------------------------------------------------
   22. 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 .swallow {
    opacity: 1 !important;
    transform: none !important;
  }
}
