:root {
  --ink: #1a1a1a;
  --muted: #6a6e5c;
  --paper: #ffffff;
  --sand: #f2f0e9;
  --mosaic: #596345;
  --accent: #8a5a42;
  --header-h: 84px;

  /* comprimento da rolagem que controla a animação */
  --scroll-len: 825.6vh;   /* EXT (main.js) × 800vh: a fase hero → corrente é comprimida; + 1 card, expansão final e pausa antes da próxima página subir (100vh de sobreposição) */
  --overlap: 45vh;

  /* Identidade tipográfica
     brand   → fonte do logo: logo, menu, botões, rótulos e títulos
     body    → texto corrido */
  --font-brand: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-brand);
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

img { display: block; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #fff;
  background: transparent;
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease;
}

/* degradê sutil só enquanto transparente, para manter legibilidade sobre a imagem */
.header::before {
  content: "";
  position: absolute;
  inset: 0 0 -56px 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .58), rgba(0, 0, 0, 0));
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: -1;
}

/* O cabeçalho é transparente da hero até as páginas de projeto. A PARTIR da seção Processo todas as seções têm fundo no
   cabeçalho (pedido do cliente): .on-light = fundo areia e texto escuro (Processo); .on-dark = fundo marrom da seção e
   texto claro (Sobre). As classes são ligadas em updateHeader() quando a seção chega ao cabeçalho. Seções novas depois
   de Processo devem seguir a mesma regra. */
.header.on-light {
  color: var(--ink);
  background: var(--sand);
  box-shadow: 0 1px 0 rgba(47, 54, 36, .12);
}
.header.on-dark {
  background: var(--mosaic);
  box-shadow: 0 1px 0 rgba(242, 240, 233, .14);
}
.header.on-light::before,
.header.on-dark::before { opacity: 0; }

.header__inner {
  height: var(--header-h);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* ---------- Logo ---------- */
.logo {
  justify-self: start;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-brand);
}

.logo__mark {
  display: grid;
  grid-template-rows: auto auto;
  width: 54px;
  height: 54px;
  border: 1.5px solid currentColor;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1;
  transition: border-color .35s ease;
}
.logo__top { align-self: start; justify-self: end; padding: 7px 8px 0 0; }
.logo__bottom { align-self: end; padding: 0 0 7px 8px; }

.logo__sub {
  font-size: 7px;
  letter-spacing: .24em;
  text-transform: uppercase;
  opacity: .75;
  padding-left: 1px;
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  gap: clamp(32px, 6vw, 88px);
}

.nav__link {
  position: relative;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 8px 0;
  transition: color .25s ease, opacity .25s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav__link:hover::after,
.nav__link:focus-visible::after { transform: scaleX(1); }
.nav__link.is-active { color: #fff; }
.header.on-light .nav__link.is-active { color: var(--accent); }
.nav__link.is-active::after { transform: scaleX(1); }

/* ---------- Mobile toggle ---------- */
.menu-toggle {
  display: none;
  justify-self: end;
  grid-column: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s ease, top .3s ease;
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero + transição (palco) ----------
   Sem JS ou com prefers-reduced-motion: hero estática em tela cheia.
   Com .story-on: o palco fica fixo (sticky) e o JS posiciona os cards conforme a rolagem. */
.story { position: relative; }

.stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  overflow: clip;
  background: var(--mosaic);
  color: #fff;
  display: grid;
  place-items: center;
}

.story-on .story {
  height: calc(100vh + var(--scroll-len));
  height: calc(100svh + var(--scroll-len));
}
.story-on .stage {
  position: sticky;
  top: 0;
}

.card {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
  z-index: 2;
  background: #2f3624;
  contain: layout paint;
  transform-origin: 50% 50%;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card--main { z-index: 6; }
.card--main img,
.card--base-main img { object-position: center 60%; }

/* sem animação só a hero aparece; os demais cards só existem na animação */
.card:not(.card--main) { display: none; }
.story-on .card:not(.card--main) { display: block; visibility: hidden; }

.card__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .35) 100%);
}

.hero__content {
  position: relative;
  z-index: 8;
  grid-area: 1 / 1;
  text-align: center;
  /* padding-bottom maior = o bloco (título, subtítulo e botão) sobe 3,5vh; o transform fica livre para o JS da rolagem */
  padding: calc(var(--header-h) + 24px) 24px calc(24px + 7vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  will-change: opacity, transform;
}

.hero__title {
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 55px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.015em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.hero__lead {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 14px rgba(0, 0, 0, .55), 0 0 4px rgba(0, 0, 0, .35);
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 15px 34px;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.btn:hover,
.btn:focus-visible {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

@media (min-width: 861px) {
  .hero__title { max-width: none; }
}

/* ---------- Textos da corrente (trocam conforme o card central) ---------- */
.story-text {
  display: none;
  position: absolute;
  z-index: 200;
  grid-template-columns: 1fr;
  pointer-events: none;
  color: #fff;
  font-family: var(--font-brand);
  font-size: clamp(17px, 1.95vw, 32px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.story-on .story-text { display: grid; }
.story-text p {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform;
}
.story-text--top {
  top: calc(var(--header-h) + 7vh);
  right: 4.5vw;
  max-width: min(26ch, 31vw);
  text-align: right;
  justify-items: end;
}
.story-text--bottom {
  left: 4vw;
  bottom: 8vh;
  max-width: min(32ch, 33vw);
}

/* ---------- Final da animação: dados do projeto sobre a foto em tela cheia ---------- */
.final { display: none; }
.story-on .final {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  color: #fff;
  font-family: var(--font-brand);
}
/* leve sombra embaixo para o link ler bem sobre a foto */
.story-on .final::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(0, 0, 0, .42), rgba(0, 0, 0, 0));
}
.final__info {
  position: absolute;
  left: 3vw;
  bottom: 11vh;
  width: min(36vw, 640px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 26px);
  padding: clamp(20px, 2.1vw, 40px) clamp(28px, 3.1vw, 58px);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(108, 119, 83, .96), rgba(89, 99, 69, .96));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  color: inherit;
  text-decoration: none;
  transition: transform .3s ease;
}
.final__info:hover,
.final__info:focus-visible { transform: translateY(-3px); }
.final__title {
  font-size: clamp(18px, 1.85vw, 34px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.final__meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 8px clamp(14px, 1.6vw, 30px);
}
.final__meta div { display: flex; flex-direction: column; gap: 4px; }
.final__meta dt {
  font-size: clamp(8px, .58vw, 11px);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.final__meta dd {
  margin: 0;
  font-size: clamp(11px, .85vw, 16px);
  font-weight: 500;
  letter-spacing: .03em;
}
.final__all {
  position: absolute;
  right: 3vw;
  bottom: 5vh;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  font-size: clamp(10px, .75vw, 14px);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.final__all svg {
  box-sizing: content-box;
  padding: 10px;
  border-radius: 50%;
  background: #fff;
  color: #1f2418;
  transition: transform .25s ease;
}
.final__all:hover svg,
.final__all:focus-visible svg { transform: translate(2px, -2px); }

/* ---------- Páginas de projeto (depois da animação) ----------
   Cada página ocupa a tela, fica fixa (sticky) e a seguinte sobe por cima. A primeira tem margem negativa de uma tela
   para subir por cima do palco da animação enquanto ele ainda está fixo. */
.project-page {
  position: relative;
  z-index: 3;
  height: 100vh;
  height: 100svh;
  overflow: clip;
  background: #2f3624;
  color: #fff;
  font-family: var(--font-brand);
}
.story-on .project-page {
  position: sticky;
  top: 0;
  border-radius: var(--pr, 36px) var(--pr, 36px) 0 0;   /* --pr (JS): os cantos só se desfazem quando a página termina de subir */
  box-shadow: 0 -24px 60px rgba(0, 0, 0, .1);
}
.story-on .story + .project-page {
  margin-top: -100vh;
  margin-top: -100svh;
}
/* Pausa com a página parada antes de a próxima (ou a seção Como funciona) subir. A margem também ajuda a manter as
   páginas anteriores PRESAS (sticky) enquanto a seguinte sobe: uma página presa só fica parada até o fim do bloco que
   a contém (o <main>), que agora continua até o fim da seção Como funciona. */
.story-on .project-page { margin-bottom: 50vh; }
/* evita o colapso de margens entre a última página e o <main> (mantém o bloco das páginas presas íntegro) */
.story-on main { display: flow-root; }
.project-page__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-page::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  height: 38%;
  background: linear-gradient(to top, rgba(0, 0, 0, .42), rgba(0, 0, 0, 0));
}
.project-page .final__info,
.project-page .final__all { z-index: 2; }

/* ---------- Como funciona ----------
   Pausa clara depois dos projetos: fundo areia, texto marrom, muito espaço e tipografia. Sem sticky e sem animação
   longa: só uma entrada discreta (opacidade + deslocamento curto). */
.process {
  --p-ink: #2f3624;                     /* marrom do site, escuro o bastante para texto */
  --p-soft: rgba(47, 54, 36, .78);      /* texto corrido: contraste ≈ 5:1 sobre o areia */
  --p-line: rgba(47, 54, 36, .22);
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100svh;                   /* cobre inteiramente a última página, que fica presa atrás */
  padding: calc(var(--header-h) + clamp(72px, 9vw, 150px)) 0 clamp(96px, 11vw, 168px);
  background: var(--sand);
  color: var(--p-ink);
}
.story-on .process {
  border-radius: var(--pr, 36px) var(--pr, 36px) 0 0;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, .1);
}
.process__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.process__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

/* No desktop a introdução (rótulo, título e frase) fica parada enquanto as etapas rolam ao lado: ela é presa (sticky)
   só até o fim da lista de etapas (a etapa 03); o convite, abaixo das duas colunas, não faz parte disso. Em telas baixas
   ou no celular ela rola junto. */
@media (min-width: 861px) and (min-height: 560px) {
  .process__intro {
    position: sticky;
    top: calc(var(--header-h) + clamp(40px, 5vw, 72px));
  }
}

.process__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.process__eyebrow::before {             /* pequeno detalhe em vermelho */
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.process__title {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.7vw, 74px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.process__lead {
  margin: clamp(24px, 2.6vw, 40px) 0 0;
  max-width: 34ch;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--p-soft);
}

.process__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--p-line);
}
.step {
  display: grid;
  grid-template-columns: clamp(88px, 9.5vw, 156px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 32px);
  align-items: start;
  padding: clamp(32px, 3.6vw, 56px) 0;
  border-top: 1px solid var(--p-line);
  transition: border-color .4s ease;
}
.step__num {
  font-family: var(--font-display);
  font-size: clamp(52px, 5.8vw, 96px);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  transition: color .4s ease;
}
.step__title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(18px, 1.6vw, 25px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.005em;
}
.step__text {
  margin: 12px 0 0;
  max-width: 42ch;
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--p-soft);
}
/* etapa em foco (a que cruza o meio da tela): número em vermelho e linha mais firme */
.step.is-active { border-top-color: var(--p-ink); }
.step.is-active .step__num { color: var(--accent); }

.process__cta {
  margin-top: clamp(56px, 6vw, 96px);   /* sem linha acima: o convite fica mais perto das etapas */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px clamp(32px, 5vw, 80px);
}
.process__cta-title {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 50px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.015em;
}
.process__button {
  display: inline-block;
  padding: 18px 38px;
  border: 0;
  border-radius: 8px;                   /* mesmo canto do botão da hero */
  background: var(--p-ink);
  color: var(--sand);
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}
.process__button:hover,
.process__button:focus-visible { background: var(--accent); transform: translateY(-2px); }
.process__button:focus-visible { outline: 2px solid var(--p-ink); outline-offset: 4px; }

/* entrada discreta (só com a animação ligada; sem JS ou com movimento reduzido tudo aparece parado) */
.story-on [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}
.story-on [data-reveal].is-in { opacity: 1; transform: none; }
.story-on .process .process__title[data-reveal] { transition-delay: .08s; }
.story-on .process .process__lead[data-reveal] { transition-delay: .16s; }
.story-on .process .step[data-reveal]:nth-child(2) { transition-delay: .1s; }
.story-on .process .step[data-reveal]:nth-child(3) { transition-delay: .2s; }

/* ---------- Sobre o Estúdio ----------
   Fundo marrom escuro e quente (gradiente sutil, #272d1d nas áreas escuras e #4a5538 nas iluminadas). O topo da seção é reto (areia → marrom em linha horizontal). Em cima, a introdução centralizada; embaixo, a foto grande à esquerda (≈ 64%, encostada na
   borda, recorte orgânico por clipPath SVG) e uma coluna de texto estreita à direita, sem caixa. As medidas escalam com a largura
   (referência: 1672px). */
/* ---------- Espaçamento editorial (SÓ de Sobre em diante: Sobre, Experiências, FAQ, Contato e rodapé) ----------
   Escala exclusiva: 8, 16, 24, 32, 48, 64, 80 e 96px (--sp-*). A hero, as páginas de projeto e o Processo têm composição própria e
   NÃO usam estas variáveis. Regra do espaço entre seções (medido do último conteúdo de uma até o primeiro da seguinte):
     espaço total = --ed-after (fim da seção) + --ed-before (início da seguinte) = 128px no desktop, 80px no celular.
   Cada seção arredondada sobe sobre a anterior (margin-top negativo = seu raio); por isso o fim da seção ANTERIOR inclui o raio da
   PRÓXIMA (padding-bottom = --ed-after + raio seguinte) e o começo da seção não soma o raio (padding-top = --ed-before). */
.about, .testi, .faq, .contact, .footer {
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --ed-before: clamp(var(--sp-6), 6vw, var(--sp-8));          /* borda da seção → primeiro conteúdo (48 → 64) */
  --ed-after: clamp(var(--sp-4), 5vw, var(--sp-8));           /* último conteúdo → borda da seção seguinte (32 → 64) */
  --ed-curve-soft: 36px;                                      /* raio de Experiências e FAQ */
  --ed-curve-contact: clamp(36px, 5vw, 72px);                 /* raio do Contato */
  --ed-process-pb: clamp(96px, 11vw, 168px);                  /* padding-bottom do Processo (só leitura: o Processo não é editado) */
  --ed-eyebrow-title: clamp(var(--sp-2), 2vw, var(--sp-3));   /* rótulo → título (16 → 24) */
  --ed-title-lead: clamp(var(--sp-2), 2vw, var(--sp-3));      /* título → texto de apoio (16 → 24) */
  --ed-lead-content: clamp(var(--sp-4), 4vw, var(--sp-6));    /* apoio → cartões ou lista (32 → 48) */
  --ed-para-group: clamp(var(--sp-3), 2vw, var(--sp-4));      /* parágrafo → próximo grupo (24 → 32) */
  --ed-label-pills: clamp(var(--sp-2), 1.5vw, var(--sp-3));   /* rótulo secundário → cápsulas (16 → 24) */
  --ed-content-button: clamp(var(--sp-3), 2.4vw, var(--sp-4)); /* conteúdo principal → botão (24 → 32) */
  --ed-item-gap: clamp(12px, 1.2vw, var(--sp-2));             /* entre itens semelhantes: faixas e cápsulas (12 → 16) */
}

.about {
  --a-terra: #9a6b51;                   /* terracota escuro: linha curta, divisórias e botão */
  position: relative;
  z-index: 4;
  /* sobe sobre o fim do Processo (que tem padding-bottom grande e não é editado): sobra --ed-after de areia abaixo do último conteúdo dele */
  margin-top: calc(var(--ed-after) - var(--ed-process-pb));
  padding: var(--ed-before) 0 calc(var(--ed-after) + var(--ed-curve-soft));
  scroll-margin-top: calc(var(--header-h) * .5);   /* o título não fica sob o cabeçalho ao usar a âncora */
  background:
    radial-gradient(ellipse 62% 58% at 80% 38%, rgba(74, 85, 56, .95), rgba(74, 85, 56, 0) 72%),
    radial-gradient(ellipse 55% 48% at 14% 92%, rgba(74, 85, 56, .6), rgba(74, 85, 56, 0) 70%),
    #272d1d;
  color: var(--sand);
  overflow: hidden;                     /* a curva e a foto nunca geram rolagem horizontal */
}
.about__clips { position: absolute; width: 0; height: 0; overflow: hidden; }

.about__inner { position: relative; z-index: 2; padding: 0 clamp(24px, 4vw, 72px); }
.about__intro {
  position: relative;
  z-index: 2;                           /* acima da foto: ela começa antes do fim da introdução */
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.about__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 76px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
}
.about__lead {
  margin: clamp(16px, 1.3vw, 22px) auto 0;
  max-width: 760px;
  font-size: clamp(16px, 1.26vw, 22px);
  font-weight: 300;
  line-height: 1.4;
  color: rgba(242, 240, 233, .9);
}
.about__intro::after {                  /* linha curta de destaque, centralizada, abaixo do texto de apoio */
  content: "";
  display: block;
  width: clamp(72px, 6vw, 104px);
  height: 5px;
  margin: clamp(16px, 1.2vw, 20px) auto 0;
  border-radius: 3px;
  background: var(--a-terra);
}

/* foto (≈ 64% da largura, a partir da borda esquerda) + coluna de texto (≈ 450px em 1672px) */
.about__split {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  margin: calc(-1 * clamp(24px, 3.3vw, 62px)) auto 0;   /* a foto sobe: começa antes do fim da introdução */
  display: grid;
  grid-template-columns: 64% minmax(0, 1fr);
  column-gap: clamp(32px, 4.8vw, 92px);
  align-items: start;
}
.about__split { margin-left: calc(-1 * clamp(24px, 4vw, 72px)); margin-right: calc(-1 * clamp(24px, 4vw, 72px)); }   /* foto encostada na borda */
@media (min-width: 1920px) { .about__split { margin-left: auto; margin-right: auto; } }

.about__media {
  margin: 0;
  aspect-ratio: 1070 / 675;
  -webkit-clip-path: url(#about-photo-shape);
  clip-path: url(#about-photo-shape);
}
.about__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;             /* árvore, fachada de pedra, ripado, entrada e interior pelo vidro; pouco asfalto */
  filter: saturate(1.03) contrast(1.02);
}

.about__body {
  padding: clamp(40px, 5.7vw, 106px) clamp(24px, 4.3vw, 80px) 0 0;
  max-width: 520px;
}
.about__headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 2.5vw, 44px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #fff;
}
.about__text {
  margin: clamp(20px, 1.9vw, 34px) 0 0;
  font-size: clamp(16px, 1.06vw, 18px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(242, 240, 233, .9);
}

/* três indicadores com divisória vertical fina em terracota */
.about__stats {
  margin: clamp(26px, 2.1vw, 38px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.about__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px clamp(10px, 1.2vw, 20px);
  border-left: 1px solid var(--a-terra);
}
.about__stat:first-child { padding-left: 0; border-left: 0; }
.about__stat:last-child { padding-right: 0; }
.about__stat-value {
  font-family: var(--font-brand);
  font-size: clamp(26px, 2.14vw, 38px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.01em;
  color: #fff;
}
.about__stat-label {
  font-family: var(--font-brand);
  font-size: clamp(9px, .66vw, 11px);
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(242, 240, 233, .78);
}

/* botão em cápsula (≈ 345 × 52 em 1672px), terracota escuro */
.about__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: clamp(46px, 3.1vw, 54px);
  margin-top: clamp(28px, 2.4vw, 42px);
  padding: 0 clamp(24px, 2.55vw, 44px);
  border-radius: 999px;
  background: var(--a-terra);
  color: #fff;
  font-family: var(--font-brand);
  font-size: clamp(10.5px, .72vw, 12px);
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  /* hover suave: cor, elevação e sombra mudam devagar (curva sem tranco) e a seta avança um pouco */
  transition: background-color .6s cubic-bezier(.22, .61, .36, 1), color .6s cubic-bezier(.22, .61, .36, 1),
              transform .6s cubic-bezier(.22, .61, .36, 1), box-shadow .6s cubic-bezier(.22, .61, .36, 1);
}
.about__cta span { display: inline-block; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.about__cta:hover,
.about__cta:focus-visible { background: #fff; color: #1f2418; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .26); }
.about__cta:hover span,
.about__cta:focus-visible span { transform: translateX(5px); }
.about__cta:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.story-on .about .about__title[data-reveal] { transition-delay: .08s; }
.story-on .about .about__lead[data-reveal] { transition-delay: .16s; }
.story-on .about .about__media[data-reveal] { transition-delay: .1s; }
.story-on .about .about__text[data-reveal] { transition-delay: .08s; }
.story-on .about .about__stats[data-reveal] { transition-delay: .16s; }
/* o botão também tem entrada (data-reveal): a transição única abaixo mantém a entrada e o hover suaves, sem atraso no hover */
.story-on .about .about__cta[data-reveal] {
  transition: opacity .8s ease, transform .6s cubic-bezier(.22, .61, .36, 1), background-color .6s cubic-bezier(.22, .61, .36, 1),
              color .6s cubic-bezier(.22, .61, .36, 1), box-shadow .6s cubic-bezier(.22, .61, .36, 1);
}
.story-on .about .about__cta[data-reveal].is-in:hover,
.story-on .about .about__cta[data-reveal].is-in:focus-visible { transform: translateY(-2px); }

/* ---------- Depoimentos (Experiências) ----------
   Superfície areia depois do marrom de Sobre: os cantos de cima arredondados sobem 36px sobre o fim dela (mesma lógica das
   outras passagens). A seção é montada por js/depoimentos.js e só existe quando há depoimentos cadastrados.
   Desktop: três cartões lado a lado (≤ 1280px, espaço 24px). Até 1000px: uma faixa horizontal com scroll-snap, um cartão
   por vez com um pedaço do próximo à mostra (rolagem manual: toque e teclado, sem movimento automático). */
.testi {
  --t-ink: #2f3624;
  --t-soft: rgba(47, 54, 36, .82);
  --t-line: rgba(47, 54, 36, .2);
  --t-gutter: clamp(20px, 4vw, 48px);
  position: relative;
  z-index: 5;
  margin-top: calc(-1 * var(--ed-curve-soft));
  padding: var(--ed-before) 0 calc(var(--ed-after) + var(--ed-curve-soft));   /* + raio da FAQ, que sobe sobre o fim desta seção */
  scroll-margin-top: calc(var(--header-h) * .5);   /* o rótulo não fica sob o cabeçalho ao usar a âncora */
  border-radius: var(--ed-curve-soft) var(--ed-curve-soft) 0 0;
  background: var(--sand);
  color: var(--t-ink);
}
.testi__inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--t-gutter); }
.testi__intro { text-align: center; }
.testi__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 var(--ed-eyebrow-title);
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.testi__eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.testi__title {
  margin: 0 auto;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 68px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.testi__lead {
  margin: var(--ed-title-lead) auto 0;
  max-width: 52ch;
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--t-soft);
}

/* Carrossel (infinito e manual): a faixa ocupa a largura toda da tela, o primeiro cartão alinha com o conteúdo (≤ 1280px) e os
   vizinhos aparecem esmaecidos nas laterais, com as setas sobre as bordas (como na referência). Com 3 cartões ou menos no desktop
   não há rolagem nem setas. */
.testi { overflow-x: clip; }
.testi__stage {
  position: relative;
  margin-top: var(--ed-lead-content);
}
.testi__track {
  --t-gap: clamp(20px, 1.8vw, 24px);
  --t-side: max(var(--t-gutter), calc((100% - 1280px) / 2 + var(--t-gutter)));   /* margem lateral até o 1º cartão */
  container-type: inline-size;
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--t-side);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.testi__track::-webkit-scrollbar { display: none; }
.testi__track.is-loop {                  /* cartões vizinhos esmaecidos nas laterais */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 calc(var(--t-side) * .8), #000 calc(100% - var(--t-side) * .8), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 calc(var(--t-side) * .8), #000 calc(100% - var(--t-side) * .8), transparent 100%);
}
.testi__list {
  margin: 0;
  padding: 0 var(--t-side);
  list-style: none;
  display: flex;
  gap: var(--t-gap);
  width: max-content;
  min-width: 100%;
}
.testi__item {
  display: flex;                         /* os cartões esticam até a mesma altura */
  flex: 0 0 calc((min(1280px, 100cqw) - 2 * var(--t-gutter) - 2 * var(--t-gap)) / 3);
  scroll-snap-align: start;
}
.testi__item:last-child { scroll-snap-align: end; }   /* sem cópias (3 cartões ou menos), o último precisa de encaixe alcançável */
.is-loop .testi__item:last-child { scroll-snap-align: start; }

/* setas laterais: círculos brancos sobre as bordas da faixa */
.testi__btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: none;
  place-items: center;
  width: clamp(46px, 3.6vw, 58px);
  height: clamp(46px, 3.6vw, 58px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--t-ink);
  box-shadow: 0 6px 18px rgba(47, 54, 36, .16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.testi__btn--prev { left: clamp(10px, 1.6vw, 26px); }
.testi__btn--next { right: clamp(10px, 1.6vw, 26px); }
.testi__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.testi__btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) { .testi__btn:hover { background: var(--t-ink); color: #fff; } }
.testi__stage.is-loop .testi__btn { display: grid; }
.testi__track:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 6px; }
.testi__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: clamp(28px, 2.6vw, 40px);
  border: 1px solid var(--t-line);
  border-radius: clamp(26px, 2.2vw, 32px);
  background: #fbfaf6;
}
.testi__mark {                           /* aspa grande e discreta, só gráfica */
  display: block;
  height: .62em;
  margin: 0 0 4px -4px;
  font-family: var(--font-display);
  font-size: clamp(88px, 7vw, 112px);
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  opacity: .32;
  user-select: none;
}
.testi__quote { margin: 0; }
.testi__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.35vw, 21px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -.005em;
}
.testi__who {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;                      /* nome e projeto sempre no rodapé do cartão */
  padding-top: clamp(24px, 2.4vw, 36px);
}
.testi__who::before {
  content: "";
  order: -1;
  align-self: stretch;
  height: 1px;
  margin-bottom: 18px;
  background: var(--t-line);
}
.testi__name {
  font-family: var(--font-brand);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3;
}
.testi__project { font-size: 15px; line-height: 1.4; color: var(--t-soft); }
.testi__meta { order: -2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 16px; }   /* nota acima da divisória: nome e projeto ficam alinhados entre os cartões */
.testi__stars { display: inline-flex; gap: 2px; fill: var(--accent); }
.testi__source { font-size: 14px; line-height: 1.4; color: var(--t-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--t-line); }
a.testi__source:hover { text-decoration-color: var(--accent); }
a.testi__source:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.testi__badge {                          /* só na prévia do modelo */
  position: absolute;
  top: clamp(20px, 2vw, 28px);
  right: clamp(20px, 2vw, 28px);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--t-ink);
  color: var(--sand);
  font-family: var(--font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.story-on .testi .testi__title[data-reveal] { transition-delay: .08s; }
.story-on .testi .testi__lead[data-reveal] { transition-delay: .16s; }

@media (max-width: 1000px) {
  /* celular/tablet: um cartão por vez com o próximo à mostra; rolagem por toque (sem setas nem máscara) */
  .testi__list { gap: 16px; }
  .testi__item { flex: 0 0 min(84vw, 440px); }
  .testi__btn { display: none !important; }
  .testi__track.is-loop { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Perguntas frequentes ----------
   Nova superfície areia depois do marrom de Sobre: os cantos de cima arredondados sobem 36px sobre o fim da seção anterior
   (mesma lógica da passagem Processo → Sobre). Uma coluna de perguntas expansíveis (<details>) em faixas de cantos bem
   arredondados; abrir/fechar é imediato (sem animação). */
.faq {
  --f-ink: #2f3624;
  --f-soft: rgba(47, 54, 36, .8);
  --f-line: rgba(47, 54, 36, .22);
  --faq-pad: clamp(28px, 3vw, 36px);    /* padding horizontal da faixa */
  --faq-num: 40px;                      /* largura do número */
  --faq-gap: 24px;
  position: relative;
  z-index: 5;
  margin-top: calc(-1 * var(--ed-curve-soft));
  padding: var(--ed-before) 0 calc(var(--ed-after) + var(--ed-curve-contact));   /* + raio do Contato, que sobe sobre o fim desta seção */
  scroll-margin-top: calc(var(--header-h) * .5);   /* o rótulo não fica sob o cabeçalho ao usar a âncora */
  border-radius: var(--ed-curve-soft) var(--ed-curve-soft) 0 0;
  background: var(--sand);
  color: var(--f-ink);
}
.faq__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.faq__intro { text-align: center; }
.faq__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 var(--ed-eyebrow-title);
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.faq__eyebrow::before {                 /* traço na cor de destaque, como nos rótulos de Processo */
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.faq__title {
  margin: 0 auto;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.faq__lead {
  margin: var(--ed-title-lead) auto 0;
  max-width: 52ch;
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--f-soft);
}

.faq__list {
  max-width: 1040px;
  margin: var(--ed-lead-content) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--ed-item-gap);
}
.faq__item {
  border: 1px solid var(--f-line);
  border-radius: 44px;
  background: var(--sand);
  transition: background-color .5s cubic-bezier(.22, .61, .36, 1), border-color .5s cubic-bezier(.22, .61, .36, 1);
}
.faq__item[open]:not(.is-closing) { background: #f9f8f4; border-color: rgba(47, 54, 36, .3); }
.faq__summary {
  display: flex;
  align-items: center;
  gap: var(--faq-gap);
  min-height: 88px;
  padding: 14px var(--faq-pad);
  border-radius: inherit;
  cursor: pointer;
  list-style: none;
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__summary::marker { content: ""; }
.faq__summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.faq__num {
  flex: 0 0 var(--faq-num);
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  color: rgba(47, 54, 36, .55);
}
.faq__q {
  flex: 1 1 auto;
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.005em;
}
/* botão visual circular com + (vira − quando aberto), desenhado em CSS */
.faq__icon {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(47, 54, 36, .35);
  border-radius: 50%;
  transition: background-color .3s ease, border-color .5s ease, color .3s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.faq__item[open]:not(.is-closing) .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }   /* + vira − girando */
.faq__summary:focus-visible .faq__icon { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (hover: hover) {                 /* hover só com mouse (no toque o vermelho não fica "grudado") */
  .faq__summary:hover .faq__icon { background: var(--accent); border-color: var(--accent); color: #fff; }
}
.faq__item[open]:not(.is-closing) .faq__icon { border-color: var(--f-ink); }
.faq__item[open] .faq__summary:focus-visible .faq__icon { border-color: var(--accent); }

/* a resposta fica alinhada com o início do texto da pergunta */
.faq__a {
  padding: 0 calc(var(--faq-pad) + 38px + var(--faq-gap)) 30px calc(var(--faq-pad) + var(--faq-num) + var(--faq-gap));
}
.faq__a p {
  margin: 0;
  max-width: 65ch;
  font-size: clamp(17px, 1.3vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--f-soft);
}

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  :root { --header-h: 72px; --scroll-len: 846.2vh; --overlap: 40vh; }

  .header__inner { padding: 0 20px; grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; grid-column: 2; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    padding: 8px 20px 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { color: var(--ink); padding: 14px 0; border-bottom: 1px solid rgba(0, 0, 0, .06); }
  .nav__link.is-active { color: var(--accent); }
  .nav__link::after { display: none; }

  .logo__mark { width: 46px; height: 46px; font-size: 16px; }
  .hero__content { gap: 20px; }
  .hero__title { font-size: clamp(30px, 8.6vw, 44px); }

  .story-text { font-size: 17px; z-index: 200; }
  .story-text--top { top: calc(var(--header-h) + 14px); right: 5vw; max-width: 72vw; }
  .story-text--bottom { left: 5vw; bottom: 3vh; max-width: 90vw; }
  .story-on .stage::before,
  .story-on .stage::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    z-index: 150;
    pointer-events: none;
    opacity: var(--text-a, 0);
  }
  .final__info { left: 5vw; right: 5vw; width: auto; bottom: 12vh; border-radius: 44px; padding: 24px 28px; gap: 16px; }
  .final__title { font-size: 20px; }
  .final__meta { grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }
  .final__meta dt { font-size: 9px; }
  .final__meta dd { font-size: 13px; }
  .final__all { right: 5vw; bottom: 4.5vh; font-size: 11px; }
  .story-on .stage::before { top: 0; height: 30%; background: linear-gradient(to bottom, rgba(89, 99, 69, .95) 25%, rgba(89, 99, 69, 0)); }
  .story-on .stage::after { bottom: 0; height: 28%; background: linear-gradient(to top, rgba(89, 99, 69, .95) 25%, rgba(89, 99, 69, 0)); }

  .story-on .project-page,
  .story-on .process { border-radius: var(--pr, 28px) var(--pr, 28px) 0 0; }

  .about__inner { padding: 0 22px; }
  .about__title { font-size: clamp(36px, 10vw, 46px); }
  .about__lead { font-size: 16px; }
  .about__split { display: block; margin: 12px -22px 0; }
  .about__media { aspect-ratio: 1.42 / 1; -webkit-clip-path: url(#about-photo-shape-m); clip-path: url(#about-photo-shape-m); }
  .about__img { object-position: 50% 40%; }
  .about__body { max-width: none; padding: 36px 22px 0; }
  .about__headline { font-size: clamp(30px, 8.6vw, 38px); }
  .about__headline br { display: none; }
  .about__stats { margin-top: 30px; }
  .about__stat { padding: 2px 12px; }
  .about__stat-value { font-size: 26px; }
  .about__stat-label { font-size: 10px; letter-spacing: .1em; }
  .about__cta { margin-top: 32px; min-height: 48px; font-size: 11px; padding: 0 26px; }

  .faq { --faq-pad: 20px; --faq-num: 26px; --faq-gap: 14px; }
  .faq__inner { padding: 0 21px; }
  .faq__title { font-size: clamp(36px, 10.4vw, 44px); }
  .faq__item { border-radius: 32px; }
  .faq__summary { min-height: 76px; padding-top: 16px; padding-bottom: 16px; }
  .faq__num { font-size: 12px; letter-spacing: .06em; }
  .faq__q { font-size: 17px; }
  .faq__icon { flex-basis: 36px; width: 36px; height: 36px; }
  .faq__a { padding: 0 20px 24px calc(var(--faq-pad) + var(--faq-num) + var(--faq-gap)); }
  .faq__a p { font-size: 15.5px; }

  .process { padding: calc(var(--header-h) + 56px) 0 88px; }
  .process__inner { padding: 0 20px; }
  .process__layout { grid-template-columns: 1fr; gap: 48px; }
  .process__title { max-width: 12ch; font-size: clamp(36px, 10.5vw, 48px); }
  .process__lead { max-width: 36ch; }
  .step { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .step__num { font-size: 48px; }
  .process__cta { margin-top: 48px; flex-direction: column; align-items: flex-start; }
  .process__cta-title { font-size: 30px; }
  .process__button { width: 100%; text-align: center; padding: 18px 24px; }
}

/* ---------- Contato (fechamento) ----------
   Marrom da identidade com cantos de cima bem arredondados sobre o areia da FAQ (sobe o mesmo valor do raio). As três cápsulas
   são só orientações visuais (não são campos). O botão vira link do WhatsApp quando js/contato.js tem número. */
.contact {
  --c-r: var(--ed-curve-contact);
  --c-line: rgba(242, 240, 233, .32);
  position: relative;
  z-index: 6;
  margin-top: calc(-1 * var(--c-r));
  padding: var(--ed-before) 0 var(--ed-after);
  scroll-margin-top: calc(var(--header-h) * .5);   /* o título não fica sob o cabeçalho ao usar a âncora */
  border-radius: var(--c-r) var(--c-r) 0 0;
  background: var(--mosaic);
  color: var(--sand);
  text-align: center;
}
.contact__inner { max-width: 1100px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.contact__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 var(--ed-eyebrow-title);
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(242, 240, 233, .9);
}
.contact__eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.contact__title {
  margin: 0 auto;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 86px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.02em;
  text-wrap: balance;
  color: #fff;
}
.contact__lead {
  margin: var(--ed-title-lead) auto 0;
  max-width: 650px;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 300;
  line-height: 1.6;
  text-wrap: balance;
  color: rgba(242, 240, 233, .92);
}
.contact__hint {
  margin: var(--ed-para-group) 0 0;
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(242, 240, 233, .8);
}
.contact__steps {
  margin: var(--ed-label-pills) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--ed-item-gap);
}
.contact__step {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 66px;
  padding: 0 32px 0 26px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .01em;
  color: #fff;
}
.contact__num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  color: rgba(242, 240, 233, .72);
}
.contact__action { margin-top: var(--ed-content-button); }
.contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 clamp(28px, 3vw, 46px);
  border: 0;
  border-radius: 999px;
  background: #9a6b51;                  /* terracota escuro (texto branco ≈ 6:1) */
  color: #fff;
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.contact__button[aria-disabled="true"] { cursor: default; }   /* WhatsApp ainda não configurado (js/contato.js) */
.contact__button:not([aria-disabled="true"]):hover,
.contact__button:not([aria-disabled="true"]):focus-visible { background: #fff; color: #1f2418; transform: translateY(-2px); }
.contact__button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.story-on .contact .contact__title[data-reveal] { transition-delay: .08s; }
.story-on .contact .contact__lead[data-reveal] { transition-delay: .16s; }

/* ---------- Rodapé ---------- */
.footer {
  position: relative;
  z-index: 6;
  background: #3a422c;                  /* um tom mais escuro que o Contato */
  border-top: 1px solid rgba(242, 240, 233, .16);
  color: rgba(242, 240, 233, .9);
}
.footer__inner { max-width: 1280px; margin: 0 auto; padding: var(--sp-6) clamp(20px, 4vw, 48px) var(--sp-4); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px 64px; }
.footer__logo { color: #fff; }
.footer__tagline { margin: 20px 0 0; max-width: 30ch; font-size: 16px; font-weight: 300; line-height: 1.6; }
.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px 34px;
  max-width: 600px;
}
.footer a { color: inherit; text-decoration: none; }
.footer__links a,
.footer__info a {
  display: inline-block;
  padding: 10px 0;                      /* área de toque confortável */
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) left bottom 8px / 0 1px no-repeat;
  transition: background-size .3s ease;
}
.footer__links a:hover,
.footer__info a:hover { background-size: 100% 1px; }
.footer a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
.footer__info {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 40px;
  font-size: 15px;
}
.footer__info[hidden] { display: none; }
.footer__label { margin-right: 10px; font-family: var(--font-brand); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(242, 240, 233, .65); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: clamp(40px, 4vw, 56px);
  padding-top: 18px;
  border-top: 1px solid rgba(242, 240, 233, .16);
  font-size: 14px;
}
.footer__copy { margin: 0; color: rgba(242, 240, 233, .78); }
.footer__up {
  display: inline-block;
  padding: 10px 0;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer__up:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 860px) {
  .about, .testi, .faq, .contact, .footer { --ed-curve-soft: 28px; --ed-curve-contact: 36px; --ed-process-pb: 88px; }
  .contact__title { font-size: clamp(36px, 10.4vw, 46px); }
  .contact__steps { flex-direction: column; align-items: stretch; max-width: 420px; margin-left: auto; margin-right: auto; }
  .contact__step { min-height: 62px; }
  .contact__button { width: 100%; max-width: 420px; padding: 0 22px; font-size: 12px; letter-spacing: .12em; }
  .footer__top { flex-direction: column; gap: 28px; }
  .footer__links { justify-content: flex-start; flex-direction: column; gap: 0; }
  .footer__links a { padding: 12px 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header, .header::before { transition: none; }
  [data-reveal], .step, .step__num, .process__button { transition: none; }
  .faq__item, .faq__icon { transition: none; }
  .contact__button, .footer__links a, .footer__info a, .testi__btn { transition: none; }
  .about__cta, .about__cta span { transition: none !important; }
}
