@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0B201D;
  --green: #1F3532;
  --green-2: #445D59;
  --green-soft: #DCDED6;
  --paper: #FFFFFF;
  --porcelain: #F2F2F2;
  --sand: #EBDAC8;
  --ouro: #A6763C;
  --ouro-forte: #784A00;
  --ouro-suave: #B09166;
  --ouro-superficie: #B09166;  /* ouro OFICIAL suave · texto escuro por cima passa AA */
  --ouro-claro: #C5A888;
  --white: #fff;
  --muted: #455C4C;
  --line: rgba(11, 32, 29, .16);
  --shadow: 0 28px 80px rgba(11, 32, 29, .14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --container: 1280px;
  --gutter: 18px;
  --col: calc((var(--container) - 11 * var(--gutter)) / 12);
  --margem: max(24px, calc((100vw - var(--container)) / 2));
  --fonte-texto: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
  --fonte-titulo: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--fonte-texto);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

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

::selection {
  color: var(--white);
  background: var(--green-2);
}

h1,
h2,
h3,
p,
blockquote,
figure,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.04;
  text-wrap: balance;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding-block: clamp(88px, 10vw, 144px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--green-2);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* ── Ícone da tag de seção, em ouro ───────────────────────────────
   A cor sai do FUNDO, não do gosto. Mínimo de 3:1 da WCAG para
   elemento não-textual:

     fundo claro  → #784A00   branco 7,56 · #F2F2F2 6,75 · sálvia 5,57
     fundo escuro → #C5A888   #1F3532 5,78 · #0B201D 7,53

   O ouro médio #A6763C seria mais bonito no branco, mas cai para
   2,93 sobre a sálvia #DCDED6 e reprova. A primeira versão desta
   regra tratava a sálvia como exceção, presa ao nome da seção — e
   quebrou em silêncio no hub, onde a seção se chama `services` e
   não `specialties`. Uma cor só para todo fundo claro não tem
   exceção para esquecer.

   O texto da tag NÃO muda: ele é rótulo, o ícone é marcador. */
.eyebrow {
  --icone: #784A00;
}

.eyebrow--light {
  --icone: #C5A888;
}

.eyebrow__icone {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--icone, currentColor);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow--light {
  color: #DCDED6;
}

.section-title {
  margin-bottom: 24px;
  font-family: var(--fonte-titulo);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -.03em;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.68;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .81rem;
  font-weight: 700;
  letter-spacing: .065em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .16s ease, background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--ouro {
  --btn-fill: var(--ouro-forte);
  color: var(--ink);
  background: var(--ouro-superficie);
}

.button--ouro:hover {
  color: var(--white);
}

.button--green {
  --btn-fill: var(--green-2);
  color: var(--white);
  background: var(--green);
}

.button--green:hover {
  color: var(--white);
}

.button--outline {
  --btn-fill: var(--green);
  color: var(--green);
  border-color: rgba(31, 53, 50, .42);
}

.button--outline:hover {
  color: var(--white);
  border-color: var(--green);
}

.button--light {
  --btn-fill: var(--porcelain);
  color: var(--porcelain);
  border-color: rgba(242, 242, 242, .48);
}

.button--light:hover {
  color: var(--green);
  border-color: var(--porcelain);
}

/* --- Preenchimento a partir do ponto do cursor -----------------------
   O fundo do hover deixou de ser uma troca chapada e virou um círculo
   que cresce do ponto exato onde o cursor entrou.

   Sem markup novo: `::before` com `z-index: -1` dentro de um contexto de
   empilhamento próprio (`isolation: isolate`) pinta ACIMA do fundo do
   botão e ABAIXO do texto — que é um nó de texto e não aceita z-index.

   `--btn-d` é o diâmetro que cobre o canto mais distante do ponto de
   entrada; o JS mede e escreve. Sem JS, o valor de reserva (700px) cobre
   qualquer botão do site a partir de qualquer ponto, e o círculo cresce
   do centro. O efeito degrada, não some.

   Fora: hero e cabeçalho — lá o hover chapado de sempre. */
.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.button::before {
  position: absolute;
  z-index: -1;
  top: var(--btn-y, 50%);
  left: var(--btn-x, 50%);
  width: var(--btn-d, 700px);
  height: var(--btn-d, 700px);
  border-radius: 50%;
  background: var(--btn-fill, transparent);
  content: "";
  transform: translate(-50%, -50%) scale(0);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover::before,
  .button:focus-visible::before {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* A cor do texto espera um instante antes de virar, senão ela troca
   enquanto metade do botão ainda está na cor de repouso — branco sobre
   o ouro claro, ilegível.

   70ms, e não mais: a curva do preenchimento é muito adiantada
   (`cubic-bezier(.16, 1, .3, 1)` chega a 49% em 40ms), e o círculo
   engole o rótulo inteiro por volta dos 70ms. Com o atraso de 160ms que
   eu tinha posto, o rótulo passava 125ms na cor de repouso sobre o
   preenchimento já formado — verde sobre verde, invisível.

   Os quatro valores seguem a ordem das propriedades no `transition` de
   `.button`: só a primeira (color) atrasa. */
.button:hover {
  transition-delay: .07s, 0s, 0s, 0s;
}

.button:active {
  transform: translateY(-2px) scale(.985);
}

/* Hero e cabeçalho ficam de fora: sem círculo, com o fundo chapado que
   o `--btn-fill` de cada variante já descreve. */
.site-header .button::before,
.hero .button::before,
.page-hero .button::before {
  content: none;
}

.site-header .button:hover,
.hero .button:hover,
.page-hero .button:hover {
  background: var(--btn-fill);
  transition-delay: 0s;
}


.utility {
  color: #DCDED6;
  background: var(--ink);
  font-size: .75rem;
  letter-spacing: .04em;
}

.utility__inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility__meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.utility a {
  text-decoration: none;
}

.utility a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  transition:
    padding .32s cubic-bezier(.22, 1, .36, 1),
    background-color .32s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

/* Cabeçalho-pílula: mesma regra da home. A translucidez é 0,86 porque a
   pílula passa por cima das seções escuras — a 0,72 o menu cai para 3,97 e
   o ouro do logotipo para 2,77. Ver `QA-VISUAL.md` §17. */
.site-header.is-scrolled {
  padding-block: 12px;
  border-color: transparent;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.site-header.is-scrolled .header__inner {
  max-width: 1080px;
  min-height: 68px;
  padding-inline: 26px;
  border-color: rgba(11, 32, 29, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 44px rgba(11, 32, 29, .12);
}

.site-header.is-scrolled .brand {
  width: 34px;
}

.brand__simbolo {
  position: absolute;
  left: 0;
  width: auto;
  height: 42px;
  opacity: 0;
  transition: opacity .22s ease;
}

.brand__logo {
  transition: opacity .22s ease;
}

.site-header.is-scrolled .brand__logo {
  opacity: 0;
}

.site-header.is-scrolled .brand__simbolo {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .header__inner,
  .brand,
  .brand__logo,
  .brand__simbolo {
    transition: none;
  }
}

.header__inner {
  display: flex;
  max-width: var(--container);
  min-height: 88px;
  padding-inline: 0;
  border: 1px solid transparent;
  border-radius: 0;
  transition:
    max-width .32s cubic-bezier(.22, 1, .36, 1),
    min-height .32s cubic-bezier(.22, 1, .36, 1),
    padding .32s cubic-bezier(.22, 1, .36, 1),
    border-radius .32s ease,
    border-color .32s ease,
    background-color .32s ease,
    box-shadow .32s ease;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  width: 276px;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--green);
  text-decoration: none;
  transition: width .32s cubic-bezier(.22, 1, .36, 1);
}

/* A assinatura oficial, em vetor. Ver o comentário longo em
   index.html: a altura manda, a largura segue, e o nome da clínica
   está dentro da arte — por isso não há texto ao lado. */
.brand__logo {
  display: block;
  width: auto;
  height: 52px;
}

.brand--negativo .brand__logo {
  height: 62px;
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}

.nav__link {
  position: relative;
  padding-block: 12px;
  color: #455C4C;
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__link::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--ouro-superficie);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__cta {
  min-height: 48px;
  padding-inline: 20px;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-button__icon {
  position: relative;
  width: 20px;
  height: 14px;
}

.menu-button__icon::before,
.menu-button__icon::after,
.menu-button__line {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  content: "";
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}

.menu-button__icon::before { top: 0; }
.menu-button__line { top: 6px; }
.menu-button__icon::after { top: 12px; }

.menu-button[aria-expanded="true"] .menu-button__icon::before {
  top: 6px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-button__line {
  opacity: 0;
}

.menu-button[aria-expanded="true"] .menu-button__icon::after {
  top: 6px;
  transform: rotate(-45deg);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 34px;
  color: #DCDED6;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--white);
  text-decoration: underline;
}

.breadcrumbs__separator {
  color: var(--ouro-claro);
}

/* O círculo decorativo de `.page-hero__copy::after` mora em `right: -120px`
   e vaza de propósito. No desktop a coluna da foto o cobria; no celular, com
   uma coluna só, ele escapava e dava **120px de rolagem horizontal** em todas
   as páginas que usam esta folha — em 390, 430 e 768. Recortar aqui mantém o
   vazamento onde ele é decoração e o impede de virar barra de rolagem. */
.page-hero {
  overflow: hidden;
  color: var(--porcelain);
  background: var(--green);
}

.page-hero__grid {
  display: grid;
  min-height: 670px;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .95fr);
}

/* A coluna vira container de consulta para o título poder se medir por
   ELA, e não pela viewport — ver a nota em `.page-hero h1`. */
.page-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  container-type: inline-size;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 8vw, 124px) clamp(40px, 6vw, 86px) clamp(72px, 8vw, 110px) var(--margem);
}

.page-hero__copy::after {
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(242, 242, 242, .09);
  border-radius: 50%;
  content: "";
}

.page-hero__kicker {
  margin-bottom: 22px;
  color: var(--ouro-claro);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* BUG corrigido em 01/09/2026 — o título vazava por cima do mosaico de
   fotos, e não só em tela larga: já vazava a partir de ~1200px.

   A causa era uma relação que se invertia. A fonte crescia com a
   VIEWPORT (`7vw`), enquanto a largura disponível para ela vinha da
   coluna MENOS o recuo esquerdo — e esse recuo também cresce com a
   viewport, porque é ele que alinha o texto com o container central.
   Tela maior dava fonte maior E caixa menor ao mesmo tempo.

   Em 2000px: fonte 113,6px, "especialidades." pedindo 829px, caixa de
   556px. **273px por cima da foto.**

   `container-type: inline-size` na coluna faz `cqw` medir a caixa real
   do texto. 13cqw sobre ~556px dá ~72px, e a palavra mais longa da
   página ("especialidades.", que mede 7,30× o corpo da fonte) passa a
   caber com folga em qualquer largura.

   `max-width: 730px` saiu: nunca chegava a valer, porque a coluna já
   era mais estreita que isso. */
.page-hero h1 {
  position: relative;
  margin-bottom: 28px;
  font-family: var(--fonte-titulo);
  font-size: clamp(2.6rem, 13cqw, 4.5rem);
  font-weight: 400;
  letter-spacing: -.036em;
  line-height: .91;
}

.page-hero__description {
  position: relative;
  max-width: 620px;
  margin-bottom: 36px;
  color: #DCDED6;
  font-size: clamp(1.03rem, 1.45vw, 1.22rem);
  line-height: 1.65;
}

.page-hero__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero__media {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  margin: 0;
  background: var(--sand);
}

.page-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 53, 50, .18), transparent 30%),
              linear-gradient(0deg, rgba(11, 32, 29, .2), transparent 36%);
  content: "";
  pointer-events: none;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__badge {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  max-width: 310px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255,.5);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255,.9);
  box-shadow: 0 20px 55px rgba(11, 32, 29,.2);
  backdrop-filter: blur(14px);
  font-size: .83rem;
}

.page-hero__badge strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--fonte-titulo);
  font-size: 1.45rem;
  font-weight: 400;
}

.page-hero__badge span {
  color: #5B7161;
}

.error-visual {
  position: relative;
  display: grid;
  min-height: 610px;
  overflow: hidden;
  place-items: center;
  color: var(--green);
  background:
    radial-gradient(circle at 18% 18%, rgba(166, 118, 60, .52), transparent 28%),
    linear-gradient(145deg, var(--porcelain), var(--sand));
}

.error-visual::before,
.error-visual::after {
  position: absolute;
  border: 1px solid rgba(31, 53, 50, .16);
  border-radius: 50%;
  content: "";
}

.error-visual::before {
  width: 420px;
  height: 420px;
}

.error-visual::after {
  width: 580px;
  height: 580px;
}

.error-visual__eyebrow {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.error-visual__code {
  position: absolute;
  z-index: 1;
  color: rgba(31, 53, 50, .09);
  font-family: var(--fonte-titulo);
  font-size: clamp(10rem, 21vw, 20rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1;
  transform: translateX(-.05em);
}

.error-visual__mark {
  position: relative;
  z-index: 2;
  width: clamp(150px, 19vw, 240px);
  filter: drop-shadow(0 24px 40px rgba(11, 32, 29, .12));
}

.intro-grid {
  display: grid;
  align-items: start;
  gap: clamp(52px, 8vw, 112px);
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}

.intro-grid__aside {
  position: sticky;
  top: 126px;
}

.intro-copy {
  color: #455C4C;
  font-size: 1.05rem;
}

.intro-copy p {
  margin-bottom: 20px;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.feature-list li {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #455C4C;
  background: var(--paper);
  font-size: .9rem;
  font-weight: 700;
}

.feature-list__icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--porcelain);
  background: var(--green);
}

.facts {
  color: var(--ink);
  background: var(--ouro-superficie);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.fact {
  min-height: 152px;
  padding: 34px clamp(22px, 4vw, 54px);
  border-right: 1px solid rgba(11, 32, 29,.18);
}

.fact:last-child {
  border-right: 0;
}

.fact__label {
  margin-bottom: 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.fact__value {
  margin: 0;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.65rem, 2.7vw, 2.7rem);
  letter-spacing: -.025em;
  line-height: 1.15;
}

.services {
  background: var(--green-soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.section-head .section-title {
  max-width: 820px;
  margin-bottom: 0;
}

.section-head .lead {
  max-width: 450px;
  margin-bottom: 5px;
}

.service-cards {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 16px 55px rgba(11, 32, 29,.07);
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
  box-shadow: 0 24px 70px rgba(11, 32, 29,.14);
  transform: translateY(-6px);
}

.service-card__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.035);
}

.service-card__body {
  min-height: 285px;
  padding: 28px;
}

.service-card__number {
  display: block;
  margin-bottom: 30px;
  color: var(--green-2);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.service-card h2,
.service-card h3 {
  margin-bottom: 14px;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -.022em;
}

.service-card p {
  margin-bottom: 24px;
  color: #5B7161;
  font-size: .9rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.service-card__link::after {
  content: "→";
  font-size: 1rem;
  transition: transform .2s ease;
}

.service-card__link:hover {
  text-decoration: underline;
}

.service-card__link:hover::after {
  transform: translateX(4px);
}

.journey {
  background: var(--paper);
}

.journey__head {
  display: grid;
  align-items: end;
  gap: 42px;
  margin-bottom: 70px;
  grid-template-columns: 1fr .72fr;
}

.journey__head .section-title,
.journey__head .lead {
  margin-bottom: 0;
}

.journey__steps {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
  counter-reset: journey;
}

.journey-step {
  position: relative;
  min-height: 380px;
  padding: clamp(30px, 4vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  counter-increment: journey;
}

.journey-step::before {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 74px;
  border-radius: 50%;
  color: var(--porcelain);
  background: var(--green);
  content: counter(journey, decimal-leading-zero);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
}

.journey-step h3 {
  margin-bottom: 17px;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.8rem, 2.8vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -.025em;
}

.journey-step p {
  margin: 0;
  color: #5B7161;
}

.values-band {
  position: relative;
  overflow: hidden;
  color: var(--porcelain);
  background: var(--green);
}

.values-band::before,
.values-band::after {
  position: absolute;
  border: 1px solid rgba(242, 242, 242,.1);
  border-radius: 50%;
  content: "";
}

.values-band::before {
  top: -250px;
  left: -170px;
  width: 600px;
  height: 600px;
}

.values-band::after {
  right: -180px;
  bottom: -300px;
  width: 680px;
  height: 680px;
}

.values-band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 70px;
  grid-template-columns: 1.05fr .95fr;
}

.values-band .section-title {
  margin-bottom: 0;
}

.value-pills {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.value-pills li {
  padding: 18px 20px;
  border: 1px solid rgba(242, 242, 242,.2);
  border-radius: 14px;
  color: #DCDED6;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.related {
  background: var(--porcelain);
}

.related__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.related-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--paper);
}

.related-card figure {
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
}

.related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card__body {
  padding: 26px;
}

.related-card h3 {
  margin-bottom: 18px;
  font-family: var(--fonte-titulo);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -.022em;
}

.related-card a {
  color: var(--green);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.faq {
  background: var(--paper);
}

.faq__layout {
  display: grid;
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
}

/* Mesma armadilha do título do hero: `.section-title` cresce com a
   VIEWPORT (`5vw`), e esta coluna é uma barra lateral estreita que não
   cresce junto. Em 2000px, "tranquila." pedia 45px a mais do que a
   coluna tem. Aqui o corpo passa a se medir pela própria coluna. */
.faq__intro {
  position: sticky;
  top: 126px;
  container-type: inline-size;
}

.faq__intro .section-title {
  font-size: clamp(2.2rem, 15cqw, 4rem);
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__question {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 4px;
  cursor: pointer;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.2rem, 2vw, 1.62rem);
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color .2s ease, transform .25s ease;
}

.faq__icon::before,
.faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: var(--green);
  content: "";
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .25s ease;
}

.faq__item[open] .faq__icon {
  background: var(--ouro-superficie);
  transform: rotate(180deg);
}

.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%);
}

.faq__answer {
  max-width: 760px;
  padding: 0 58px 30px 4px;
  color: #5B7161;
}

/* Abertura e fechamento do acordeão. O `<details>` nativo abre de estalo:
   o painel aparece pronto, sem transição. `::details-content` é o
   pseudo-elemento que embrulha tudo que não é o `<summary>`, e é ele que
   dá altura animável.

   `interpolate-size: allow-keywords` é o que permite interpolar até
   `auto` — sem isso a altura precisaria de um número mágico
   (`max-height: 300px`), que corta resposta longa e deixa a curva errada,
   porque a transição percorre 300px mesmo quando o texto ocupa 80.

   Fica dentro de `@supports`: onde o pseudo-elemento não existe, o
   acordeão abre instantâneo, como abre hoje. Nada quebra. */
@supports (interpolate-size: allow-keywords) and (selector(::details-content)) {
  .faq__list {
    interpolate-size: allow-keywords;
  }

  .faq__item::details-content {
    overflow: hidden;
    block-size: 0;
    opacity: 0;
    transition:
      block-size .42s cubic-bezier(.22, 1, .36, 1),
      opacity .26s ease,
      content-visibility .42s allow-discrete;
  }

  .faq__item[open]::details-content {
    block-size: auto;
    opacity: 1;
  }

  /* O texto entra subindo 8px. A saída é mais curta que a entrada — quem
     fecha já decidiu, e esperar a animação toda é atrito. */
  .faq__answer {
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
    transform: translateY(-8px);
  }

  .faq__item[open] .faq__answer {
    transition-duration: .42s;
    transform: none;
  }
}

.contact-cta {
  color: var(--ink);
  background: var(--ouro-superficie);
}

.contact-cta__grid {
  display: grid;
  align-items: center;
  gap: 48px;
  grid-template-columns: 1.25fr .75fr;
}

.contact-cta h2 {
  margin-bottom: 18px;
  font-family: var(--fonte-titulo);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -.033em;
}

.contact-cta p {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.contact-cta__actions {
  display: grid;
  justify-items: stretch;
  gap: 12px;
}

.contact-cta__actions .button--green {
  min-width: 240px;
}

.contact-cta__meta {
  text-align: center;
  font-size: .76rem;
  font-weight: 700;
}

.footer {
  padding-block: 72px 34px;
  color: #DCDED6;
  background: #0B201D;
}

.footer__top {
  display: grid;
  gap: 50px;
  padding-bottom: 58px;
  border-bottom: 1px solid rgba(242, 242, 242,.12);
  grid-template-columns: 1.2fr .7fr .7fr;
}

.footer .brand {
  color: var(--porcelain);
}

.footer__tagline {
  max-width: 360px;
  margin: 26px 0 0;
  color: #A6B2AB;
  font-family: var(--fonte-titulo);
  font-size: 1.3rem;
}

.footer h2 {
  margin-bottom: 22px;
  color: var(--ouro-claro);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer__links {
  display: grid;
  gap: 10px;
}

.footer__links a {
  color: #DCDED6;
  font-size: .88rem;
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
  color: #889D97;
  font-size: .72rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #1F9D62;
  box-shadow: 0 16px 40px rgba(11, 32, 29,.3);
  transition: transform .25s ease, background-color .25s ease;
}

.whatsapp-float:hover {
  background: #17824F;
  transform: translateY(-4px) scale(1.03);
}

[data-reveal-state="prepared"] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.65,.25,1), transform .7s cubic-bezier(.2,.65,.25,1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal-state="prepared"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .header__cta {
    display: none;
  }

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

  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr);
  }
}

@media (max-width: 900px) {
  .utility__inner {
    justify-content: center;
  }

  .utility__meta {
    display: none;
  }

  .header__inner {
    min-height: 76px;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    z-index: 120;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    visibility: hidden;
    overflow: auto;
    max-height: calc(100svh - 104px);
    margin: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .nav[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav__list {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .nav__link {
    display: block;
    padding: 15px 8px;
    border-bottom: 1px solid var(--line);
    font-size: .88rem;
  }

  .nav__link::after {
    display: none;
  }

  .page-hero__grid,
  .intro-grid,
  .journey__head,
  .values-band__grid,
  .faq__layout,
  .contact-cta__grid {
    grid-template-columns: 1fr;
  }

  .page-hero__copy {
    min-height: 610px;
    padding: 86px 24px 78px;
  }

  .page-hero__media {
    min-height: 620px;
  }

  .error-visual {
    min-height: 520px;
  }

  .intro-grid__aside,
  .faq__intro {
    position: static;
  }

  .journey__head {
    gap: 18px;
  }

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

  .journey-step {
    min-height: 0;
  }

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

  .contact-cta__actions {
    justify-items: start;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 82px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding-block: 78px;
  }

  .utility {
    font-size: .67rem;
  }

  .brand__logo {
    height: 38px;
  }

  .brand--negativo .brand__logo {
    height: 52px;
  }

  .page-hero__copy {
    min-height: 570px;
    padding-top: 70px;
  }

  /* Removido o override em `16vw`: no 390 dava 62,4px, a palavra pedia
     455px e a coluna tem 327 — a página inteira ganhava barra horizontal.
     O `13cqw` da regra base já se ajusta sozinho aqui. */

  .page-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .page-hero__actions .button {
    width: 100%;
  }

  .page-hero__media,
    .page-hero__badge {
    right: 18px;
    bottom: 18px;
    left: 18px;
    max-width: none;
  }

  .facts__grid,
  .service-cards,
  .value-pills {
    grid-template-columns: 1fr;
  }

  .fact {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid rgba(11, 32, 29,.18);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .service-card__body {
    min-height: 0;
  }

  .journey-step::before {
    margin-bottom: 48px;
  }

  .related__grid {
    gap: 16px;
  }

  .faq__question {
    min-height: 84px;
  }

  .contact-cta__actions,
  .contact-cta__actions .button {
    width: 100%;
  }

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

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

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal-state="prepared"] {
    opacity: 1;
    transform: none;
  }

  /* O corte global acima é `*, *::before, *::after` — não alcança
     `::details-content`, que não é nenhum dos três. */
  .faq__item::details-content {
    transition: none !important;
  }
}
