/* ==========================================================================
   Henrique Veneroso · Odontopediatria
   Sistema visual — tokens, tipografia, layout
   Paleta: navy (autoridade, cor oficial da marca) + oxblood (acento oficial da marca)
   ========================================================================== */

:root {
  /* Cores — âncoras */
  --ink:          #14261F;
  --ink-soft:     #3B4B44;
  --petrol:       #1B2E42;
  --petrol-deep:  #142231;
  --teal:         #2A4867;
  --sage:         #7B90A6;
  --sage-soft:    #A9B7C5;
  --mist:         #E7EBEF;
  --paper:        #F5F6F3;
  --paper-warm:   #FBFAF6;
  --line:         #D5DFD9;
  --white:        #FFFFFF;

  /* Cores — família viva (blocos de seção + acentos) */
  --apricot:      #DB949D;
  --apricot-soft: #EEC4C9;
  --coral:        #762D36;   /* acento quente principal — oxblood da marca */
  --coral-deep:   #65262E;
  --gold:         #F5C24B;   /* energia / destaque */
  --gold-soft:    #FBE7B0;
  --sky:          #7FC5C9;   /* calma / azul suave */
  --sky-soft:     #CDE9EA;
  --grape:        #8E7BB5;   /* toque lúdico pontual */
  --grape-soft:   #E1DAF0;

  /* Fundos de seção coloridos (tons claros, legíveis) */
  --bg-mint:      #DCF0E7;
  --bg-peach:     #FCE7D8;
  --bg-sky:       #DDF0F1;
  --bg-butter:    #FBEFCF;
  --bg-lilac:     #EDE8F7;

  /* Tipografia */
  --font-display: "Spectral", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Escala tipográfica (fluida) */
  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(1.9rem, 1.5rem + 2vw, 3rem);
  --step-4:  clamp(2.4rem, 1.8rem + 3.2vw, 4.2rem);

  /* Espaçamento / layout */
  --wrap: 1400px;
  --gutter: clamp(1.25rem, 4vw, 5rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --header-h: 76px;   /* logo (até 46px) + padding-block do .header-inner + borda */
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(20,38,31,0.05), 0 6px 18px rgba(20,38,31,0.05);
  --shadow-md: 0 6px 14px rgba(20,38,31,0.07), 0 22px 46px rgba(10,56,51,0.10);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
button { font-family: inherit; }

/* ---------- Utilitários ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
.section { padding-block: var(--section-y); position: relative; }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* --- Blocos de cor por seção --- */
.section--mist   { background: var(--mist); }
.section--mint   { background: var(--bg-mint); }
.section--peach  { background: var(--bg-peach); }
.section--sky    { background: var(--bg-sky); }
.section--butter { background: var(--bg-butter); }
.section--lilac  { background: var(--bg-lilac); }
.section--paper-warm { background: var(--paper-warm); }
.section--petrol { background: var(--petrol); color: var(--paper); }
.section--petrol h2, .section--petrol h3 { color: var(--paper); }

/* --- Painéis empilhados: cantos arredondados + leve sobreposição --- */
.section--stack {
  border-top-left-radius: clamp(1.8rem, 5vw, 3.5rem);
  border-top-right-radius: clamp(1.8rem, 5vw, 3.5rem);
  margin-top: clamp(-3.5rem, -5vw, -2rem);
  z-index: 2;
  overflow: clip; /* contém blobs sem quebrar position:sticky (≠ overflow:hidden) */
}
.section--stack + .section--stack { z-index: 3; }
.section-stack-3 { z-index: 3; }
.section-stack-4 { z-index: 4; }
.section-stack-5 { z-index: 5; }
.section-stack-6 { z-index: 6; }
.section-stack-7 { z-index: 7; }
.section-stack-8 { z-index: 8; }

/* --- Blobs decorativos (formas orgânicas de fundo) --- */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.55; pointer-events: none; z-index: 0; }
.section > .blob { z-index: 0; }
.blob--coral  { background: radial-gradient(circle at 35% 35%, var(--coral), transparent 70%); }
.blob--gold   { background: radial-gradient(circle at 35% 35%, var(--gold), transparent 70%); }
.blob--sky    { background: radial-gradient(circle at 35% 35%, var(--sky), transparent 70%); }
.blob--grape  { background: radial-gradient(circle at 35% 35%, var(--grape), transparent 70%); }
.blob--sage   { background: radial-gradient(circle at 35% 35%, var(--sage), transparent 70%); }

/* --- Onda divisória entre seções --- */
.wave { display: block; width: 100%; height: clamp(40px, 6vw, 74px); position: relative; z-index: 2; margin-bottom: -1px; }
.wave svg { width: 100%; height: 100%; display: block; }
.wave--flip svg { transform: scaleY(-1); }

#conteudo { counter-reset: kicker; }
.eyebrow {
  counter-increment: kicker;
  display: inline-flex; align-items: center; gap: 0.75em;
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-soft); line-height: 1;
}
/* Índice em serifa itálica — marcador editorial */
.eyebrow::before {
  content: counter(kicker, decimal-leading-zero);
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: 2.15em; letter-spacing: -0.03em; text-transform: none;
  color: var(--coral); line-height: 0.7;
  position: relative; top: 0.03em;
}
/* Hairline que "desenha" à direita do rótulo */
.eyebrow::after {
  content: ""; display: block; height: 2px; width: clamp(1.6rem, 3vw, 3.2rem);
  background: currentColor; opacity: 0.32; border-radius: 2px;
  transform: scaleX(0); transform-origin: left center;
  animation: railGrow 0.9s var(--ease) 0.15s forwards;
}
@keyframes railGrow { to { transform: scaleX(1); } }

/* Variante do hero: a silhueta do monograma HV no lugar do número.
   O mesmo desenho de assets/logo-mark.svg, achatado numa cor só — vai embutido
   como data URI (e não como url(../assets/…)) porque máscara com arquivo externo
   é o ponto onde o Safari do iOS costuma falhar. */
.eyebrow--credential { counter-increment: none; }
.eyebrow--credential::before {
  content: ""; width: 1.2em; height: 1.2em; font-size: 1em; top: 0; letter-spacing: 0;
  background: var(--coral);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 377 428'%3E%3Cpath transform='translate(-157,-326)' d='M333.34,326.51 273.15,387.83 273.15,513.57 271.46,515.27 210.14,515.27 208.44,513.57 209.57,507.64 207.31,487.29 201.66,461.3 199.97,459.88 157.86,504.25 158.99,561.05 185.56,577.15 204.49,592.98 207.31,592.69 210.14,576.02 273.15,576.59 273.15,663.9 299.15,697.53 322.89,733.7 333.62,753.48Z M359.62,327.64 357.93,327.92 358.21,753.48 388.16,697.53 436.76,621.8 485.37,558.5 517.01,522.33 533.97,505.66 533.97,503.12 490.45,459.88 482.54,465.53 459.65,490.68 431.39,531.37 422.35,547.48 419.81,548.61 419.81,390.09Z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 377 428'%3E%3Cpath transform='translate(-157,-326)' d='M333.34,326.51 273.15,387.83 273.15,513.57 271.46,515.27 210.14,515.27 208.44,513.57 209.57,507.64 207.31,487.29 201.66,461.3 199.97,459.88 157.86,504.25 158.99,561.05 185.56,577.15 204.49,592.98 207.31,592.69 210.14,576.02 273.15,576.59 273.15,663.9 299.15,697.53 322.89,733.7 333.62,753.48Z M359.62,327.64 357.93,327.92 358.21,753.48 388.16,697.53 436.76,621.8 485.37,558.5 517.01,522.33 533.97,505.66 533.97,503.12 490.45,459.88 482.54,465.53 459.65,490.68 431.39,531.37 422.35,547.48 419.81,548.61 419.81,390.09Z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: floaty 4s ease-in-out infinite;
}

.section--petrol .eyebrow { color: var(--sage-soft); }
.section--petrol .eyebrow::before { color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .eyebrow::after { animation: none; transform: scaleX(1); }
  .eyebrow--credential::before { animation: none; }
}

/* Rótulo de bloco interno. Mesma tipografia da .eyebrow, mas sem o contador:
   um .eyebrow a mais dentro de uma seção renumeraria todas as seguintes (01…08). */
.kicker {
  display: inline-block; margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--coral); line-height: 1;
}
.section--petrol .kicker { color: var(--gold); }

.section-head { margin-bottom: clamp(2.4rem, 5vw, 3.8rem); }
.section-head h2 { font-size: var(--step-3); margin-top: 0.9rem; max-width: 18ch; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; max-width: 42ch; }
.section--petrol .section-head p { color: var(--sage-soft); }

/* Cabeçalho editorial em 2 colunas — aproveita a largura no desktop */
@media (min-width: 880px) {
  .section-head {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    column-gap: clamp(2.5rem, 6vw, 6rem);
    align-items: end;
  }
  .section-head .eyebrow { grid-column: 1 / -1; }
  .section-head h2 { grid-column: 1; margin-bottom: 0; }
  .section-head p { grid-column: 2; margin-top: 0; padding-bottom: 0.4rem; max-width: none; }
}

.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  padding: 0.95em 1.4em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--petrol); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--petrol-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--petrol); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--petrol); transform: translateY(-2px); }
.btn--wa { background: var(--apricot); color: var(--petrol-deep); }
.btn--wa:hover { background: #d98a5e; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.section--petrol .btn--ghost { color: var(--paper); border-color: rgba(255,255,255,0.3); }
.section--petrol .btn--ghost:hover { border-color: var(--paper); }

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--apricot);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--paper) 92%, transparent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.9rem; }
/* Marca — logo oficial (monograma HV + assinatura) em SVG único.
   O arquivo já traz as cores; a altura manda e a largura acompanha pela proporção
   3.85:1 do viewBox, então o width/height do <img> só existe para reservar espaço
   e não causar salto de layout enquanto o SVG carrega. */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: clamp(38px, 3.4vw, 46px); width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 0.4rem; }
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--petrol); }
.nav a::before {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.32rem; height: 2px;
  background: var(--coral); border-radius: 2px; transform: scaleX(0); transform-origin: center;
  transition: transform 0.28s var(--ease);
}
.nav a:hover::before { transform: scaleX(1); }
.nav a.is-active { color: var(--petrol); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 0.15rem; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--coral);
}
.nav a.is-active::before { transform: scaleX(0); }

.header-cta { display: flex; align-items: center; gap: 0.5rem; }
/* Botões do cabeçalho: compactos e proporcionais à barra */
.header-cta .btn {
  padding: 0.58em 1.05em; font-size: 0.86rem; white-space: nowrap; line-height: 1.1;
}
.header-cta .btn--ghost { border-color: color-mix(in srgb, var(--petrol) 26%, transparent); color: var(--petrol); }
.header-cta .btn--ghost:hover { background: color-mix(in srgb, var(--petrol) 6%, transparent); border-color: var(--petrol); transform: none; }
.header-cta .btn--wa { padding-inline: 1.1em; box-shadow: 0 4px 12px rgba(227,107,58,0.28); }
.header-cta .btn--wa svg { width: 1em; height: 1em; }

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

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; display: flex; align-items: center;
  padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(2rem, 4vw, 3.25rem);
  background:
    radial-gradient(70% 60% at 92% 0%, var(--bg-peach), transparent 60%),
    radial-gradient(60% 55% at 4% 100%, var(--bg-mint), transparent 62%),
    var(--paper);
}
.hero-grid { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.7rem); margin-top: 1.1rem; letter-spacing: -0.02em; }

/* Entrada do hero em stagger */
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: heroIn 0.7s var(--ease) both; }
.hero-copy > .eyebrow    { animation-delay: 0.05s; }
.hero-copy > h1          { animation-delay: 0.14s; }
.hero-copy > .lead       { animation-delay: 0.24s; }
.hero-copy > .hero-card  { animation-delay: 0.34s; }
.hero-figure { animation: heroIn 0.9s var(--ease) 0.3s both; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-figure { animation: none; }
}
.hero-copy h1 .accent { color: var(--teal); font-style: italic; position: relative; white-space: nowrap; }
.hero-copy h1 .accent::after {
  content: ""; position: absolute; left: -0.05em; right: -0.05em; bottom: 0.06em; height: 0.32em;
  background: var(--gold-soft); z-index: -1; border-radius: 3px;
}
.hero-copy .lead { margin-top: 1.5rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-reassure { font-size: var(--step--1); color: var(--ink-soft); display: flex; align-items: center; gap: 0.5rem; }
.hero-reassure svg { width: 1.1em; height: 1.1em; color: var(--petrol); flex: none; }

/* Card de CTA no hero (inspirado na referência) */
.hero-card {
  margin-top: 2rem; max-width: 35rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.2rem, 2.5vw, 1.7rem);
  box-shadow: var(--shadow-md);
}
.hero-card-head { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1.1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.hero-card-head svg { width: 22px; height: 22px; color: var(--coral); flex: none; }
.hero-card .hero-reassure { margin-top: 1.1rem; }
.hero-actions .btn { flex: 1 1 auto; justify-content: center; }

/* Composição circular do hero */
.hero-figure { position: relative; display: grid; place-items: center; align-self: start; }
.hero-circle { position: relative; width: min(41vw, 515px); aspect-ratio: 1 / 1; }
.hero-photo {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: linear-gradient(155deg, var(--sky-soft), var(--mist) 55%, var(--apricot-soft));
  box-shadow: 0 30px 60px rgba(10,56,51,0.20);
  display: grid; place-items: center; text-align: center;
}
/* Posicionamento absoluto em vez de item de grid centralizado: assim a caixa da
   imagem é sempre igual à do círculo, sem depender de height:100% resolver contra
   a área do grid — que é justamente onde o Safari do iOS falha.
   object-position sobe o enquadramento porque o retrato é vertical (1532x1844) e
   o círculo é 1:1: sem isso o cover corta o rosto pelo meio. */
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block;
}
.hero-photo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 130%, rgba(14,74,68,0.25), transparent 55%); }
.hero-arc { position: absolute; inset: -6%; width: 112%; height: 112%; overflow: visible; pointer-events: none; }
.hero-arc circle { transform-origin: 50% 50%; animation: spinSlow 42s linear infinite; }
.hero-arc circle:nth-child(2) { animation-direction: reverse; animation-duration: 60s; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.orbit {
  position: absolute; border-radius: 50%; display: grid; place-items: center; gap: 0.2rem;
  text-align: center; padding: 0.7rem; line-height: 1.18;
  box-shadow: 0 14px 32px rgba(10,56,51,0.20);
  animation: floaty 5.5s ease-in-out infinite;
}
.orbit svg { width: clamp(21px, 2vw, 24px); height: clamp(21px, 2vw, 24px); }
.orbit-label { font-size: clamp(0.58rem, 0.72vw, 0.68rem); font-weight: 600; }
.orbit--1 { width: clamp(96px, 10vw, 122px); height: clamp(96px, 10vw, 122px);
  top: 2%; left: -6%; background: var(--white); color: var(--petrol); animation-delay: 0s; }
.orbit--2 { width: clamp(120px, 13.5vw, 156px); height: clamp(120px, 13.5vw, 156px);
  bottom: 0%; left: 5%; background: var(--petrol); color: var(--paper); animation-delay: 0.9s; }
.orbit--2 .orbit-big { font-family: var(--font-display); font-weight: 700; color: var(--gold);
  font-size: clamp(1.55rem, 2.5vw, 2.05rem); line-height: 0.9; letter-spacing: -0.02em; }
.orbit--2 .orbit-label { color: var(--sage-soft); }
.orbit--3 { width: clamp(100px, 11vw, 130px); height: clamp(100px, 11vw, 130px);
  bottom: 14%; right: -5%; background: var(--sky); color: var(--petrol-deep); animation-delay: 1.8s; }
@media (prefers-reduced-motion: reduce) {
  .hero-arc circle, .orbit { animation: none; }
}

/* ==========================================================================
   Faixa de confiança
   ========================================================================== */
.trust { border-top: 1px solid var(--line); background: var(--paper-warm); }
.trust-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(1.3rem, 3vw, 1.9rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
}
.trust-label {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sage);
  display: inline-flex; align-items: center; gap: 0.85rem;
}
.trust-label::before, .trust-label::after {
  content: ""; width: clamp(24px, 5vw, 46px); height: 1px; background: var(--sage); opacity: 0.5;
}
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem 1.5rem; min-width: 158px; flex: 1 1 158px; max-width: 220px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.trust-item::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; margin-bottom: 0.15rem;
}
.trust-item:nth-child(1)::before { background: var(--coral); }
.trust-item:nth-child(2)::before { background: var(--sky); }
.trust-item:nth-child(3)::before { background: var(--grape); }
.trust-item:nth-child(4)::before { background: var(--gold); }
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.trust-item b { font-family: var(--font-display); color: var(--petrol); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.trust-item span { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.3; }

/* ==========================================================================
   Sobre
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-figure { position: relative; }
.about-figure .portrait {
  aspect-ratio: 3 / 4; background: linear-gradient(160deg, var(--sage-soft), var(--mist));
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.about-figure .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-figure figcaption { margin-top: 0.9rem; font-size: 0.85rem; color: var(--ink-soft); font-style: italic; }
.about-copy p + p { margin-top: 1.1rem; }
.about-copy .lead { margin-bottom: 1.3rem; }
.signature { margin-top: 1.8rem; display: flex; align-items: center; gap: 0.9rem; }
.signature img { width: auto; height: 38px; display: block; flex: none; }
.signature b { font-family: var(--font-display); font-size: 1.05rem; }
.signature span { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--petrol); text-transform: uppercase; }

/* ==========================================================================
   Serviços
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  --card-accent: var(--coral);
  --card-tint: var(--bg-peach);
  background: var(--white); border: 1px solid transparent; border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.3rem); display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: var(--card-accent);
}
.card:hover { transform: translateY(-8px) scale(1.025); box-shadow: var(--shadow-md); }
.card--coral { --card-accent: var(--coral); --card-tint: var(--bg-peach); }
.card--sky   { --card-accent: var(--sky);   --card-tint: var(--bg-sky); }
.card--gold  { --card-accent: var(--gold);  --card-tint: var(--bg-butter); }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px; background: var(--card-tint);
  display: grid; place-items: center; color: var(--card-accent); margin-bottom: 1.3rem;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}
.card:hover .card-icon { transform: scale(1.1) rotate(-5deg); background: var(--card-accent); color: var(--white); }
.card--gold:hover .card-icon { color: var(--petrol-deep); }
.card--gold .card-icon { color: var(--coral-deep); }
.card-icon svg { width: 30px; height: 30px; }
.card-num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--card-accent); margin-bottom: 0.5rem; font-weight: 500; }
.card--gold .card-num { color: var(--coral-deep); }
.card h3 { font-size: var(--step-1); }
.card p { margin-top: 0.7rem; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; }
.card-note { margin-top: 1.1rem; font-size: 0.84rem; color: var(--sage); font-family: var(--font-mono); letter-spacing: 0.02em; }

/* ==========================================================================
   Ambiente hospitalar — faixa logo abaixo dos três cards de Serviços
   ========================================================================== */
.hospital {
  margin-top: clamp(2.2rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1.6rem, 4vw, 3.25rem); align-items: stretch;
}
.hospital-figure { margin: 0; display: flex; flex-direction: column; }
/* Mesma técnica do .care-frame da seção "Como é o atendimento": a imagem é
   absoluta, então o frame não tem altura intrínseca. A linha do grid passa a ser
   medida só pelo texto ao lado, e o frame cresce para ocupar exatamente essa
   altura — a foto nunca fica mais alta do que o conteúdo que acompanha. */
.hospital-frame {
  position: relative; flex: 1 1 0; min-height: 0;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.hospital-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
}
.hospital-figure figcaption { margin-top: 0.9rem; font-size: 0.85rem; color: var(--ink-soft); font-style: italic; }
.hospital-copy h3 { font-size: var(--step-2); text-wrap: balance; }
.hospital-copy p { margin-top: 1rem; color: var(--ink-soft); max-width: 46ch; }
.hospital-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.hospital-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.97rem; line-height: 1.45; }
.hospital-list svg { width: 1.15em; height: 1.15em; margin-top: 0.16em; color: var(--coral); flex: none; }

/* ==========================================================================
   Formação — linha do tempo
   ========================================================================== */
.timeline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 5vw, 4rem); }
.tl-col { position: relative; }
.tl-item {
  position: relative; padding: 1.15rem 0 1.15rem 2rem;
  border-left: 2px solid rgba(255,255,255,0.18);
}
.tl-item::before {
  content: ""; position: absolute; left: -6px; top: 1.55rem;
  width: 10px; height: 10px; border-radius: 50%; background: var(--sage); border: 2px solid var(--petrol);
}
.tl-item.is-key::before { background: var(--apricot); }
.tl-year { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--apricot-soft); }
.tl-item h3 { font-size: 1.1rem; color: var(--paper); margin-top: 0.2rem; }
.tl-item p { font-size: 0.9rem; color: var(--sage-soft); margin-top: 0.2rem; }

/* Ensino e congressos — fecha a seção Formação.
   A foto do congresso é vertical (720x1280); a moldura declara a própria
   proporção e a imagem preenche com cover, em vez de depender da altura da
   linha do grid. É a construção mais previsível no Safari do iOS, que é onde
   este site é conferido. */
.lecture {
  margin-top: clamp(2.5rem, 5vw, 3.8rem);
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1.6rem, 4vw, 3.25rem); align-items: start;
}
.lecture-figure { margin: 0; }
.lecture-frame {
  aspect-ratio: 3 / 4; background: var(--petrol-deep);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 50px rgba(10,56,51,0.35);
}
/* 52% na vertical mantém no enquadramento tanto o telão com o nome do congresso
   quanto o Dr. Henrique no púlpito — os dois ficam no miolo da foto original. */
.lecture-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; display: block; }
.lecture-figure figcaption { margin-top: 0.9rem; font-size: 0.85rem; color: var(--sage-soft); font-style: italic; }

.lecture-copy { padding-top: 0.3rem; }
.lecture-copy h3 { font-size: var(--step-2); text-wrap: balance; }
.lecture-copy p { margin-top: 1rem; color: var(--sage-soft); max-width: 52ch; }
.lecture-copy p b { color: var(--paper); font-weight: 600; }
.lecture-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.lecture-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.97rem; line-height: 1.45; color: var(--paper); }
.lecture-list svg { width: 1.15em; height: 1.15em; margin-top: 0.16em; color: var(--gold); flex: none; }

/* ==========================================================================
   Atendimento — o que esperar
   ========================================================================== */
.care-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.care-illus { display: flex; flex-direction: column; }
/* A imagem é posicionada de forma absoluta, então .care-frame não tem conteúdo
   em fluxo e sua altura intrínseca é zero. Assim a linha do grid é medida só
   pela lista de etapas, e o frame cresce para ocupar exatamente essa altura. */
.care-frame {
  position: relative; flex: 1 1 0; min-height: 0;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.care-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 40% 35%;
}
.care-illus figcaption { margin-top: 0.9rem; font-size: 0.85rem; color: var(--ink-soft); font-style: italic; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; padding: 1.3rem 0 1.3rem 3.4rem; border-bottom: 1px solid var(--line); counter-increment: step; }
.step:last-child { border-bottom: none; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1.35rem;
  font-family: var(--font-mono); font-size: 0.9rem; font-weight: 500; color: var(--white);
  background: var(--petrol); width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center;
}
.step h3 { font-size: var(--step-1); }
.step p { margin-top: 0.4rem; color: var(--ink-soft); }

/* Recém-nascidos — painel branco fechando o Atendimento. O fundo claro separa
   este bloco do azul da seção sem precisar de mais uma faixa colorida. */
.newborn {
  margin-top: clamp(2.5rem, 5vw, 3.8rem);
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.6rem, 4vw, 3rem); align-items: center;
  background: var(--white); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-md);
}
.newborn-copy h3 { font-size: var(--step-2); text-wrap: balance; }
.newborn-copy p { margin-top: 1rem; color: var(--ink-soft); max-width: 46ch; }
.newborn-figure { margin: 0; }
/* 4/5 é quase a proporção original (1158x1359): o recorte tira só as laterais e
   não corta nem o rosto do Dr. Henrique nem o bebê. */
.newborn-frame {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: var(--mist);
}
.newborn-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.newborn-figure figcaption { margin-top: 0.9rem; font-size: 0.85rem; color: var(--ink-soft); font-style: italic; }

/* ==========================================================================
   Prova social
   ========================================================================== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.quote {
  --q-accent: var(--coral);
  background: var(--white); border: none; border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem); display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  border-top: 6px solid var(--q-accent);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.quote:hover { transform: translateY(-7px) scale(1.02); box-shadow: var(--shadow-md); }
.quote--coral { --q-accent: var(--coral); }
.quote--sky   { --q-accent: var(--sky); }
.quote--grape { --q-accent: var(--grape); }
.quote-mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--q-accent); height: 1.4rem; }
.quote p { font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.quote .stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 0.14em; margin-bottom: 0.55rem; }
.quote footer { margin-top: auto; padding-top: 1.2rem; display: flex; align-items: center; gap: 0.75rem; }
.quote .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--q-accent); flex: none; display: grid; place-items: center; font-family: var(--font-display); color: var(--white); font-weight: 600; }
.quote cite { font-style: normal; font-weight: 600; font-size: 0.92rem; }
.quote cite span { display: block; font-weight: 400; font-size: 0.8rem; color: var(--sage); font-family: var(--font-mono); letter-spacing: 0.02em; }
.cases-note {
  margin-top: 1.6rem; padding: 1rem 1.2rem; border: 1px dashed var(--sage);
  border-radius: 12px; background: var(--mist); font-size: 0.9rem; color: var(--petrol-deep);
  display: flex; gap: 0.7rem; align-items: flex-start;
}
.cases-note svg { width: 1.2rem; height: 1.2rem; flex: none; margin-top: 0.15rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 52rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.3rem 2.5rem 1.3rem 0; position: relative;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--ink);
}
.faq-q::after {
  content: ""; position: absolute; right: 0.3rem; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--petrol); border-bottom: 2px solid var(--petrol);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq-item[open] .faq-q::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 2.5rem 1.5rem 0; color: var(--ink-soft); }
.faq-a p + p { margin-top: 0.8rem; }
/* Detalhe: remove marcador nativo do <details> */
.faq-q::-webkit-details-marker { display: none; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* ==========================================================================
   Contato
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info .lead { margin-bottom: 1.8rem; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--mist); color: var(--petrol); display: grid; place-items: center; flex: none; }
.info-list .ic svg { width: 20px; height: 20px; }
.info-list b { font-family: var(--font-display); font-size: 1.02rem; display: block; }
.info-list .val { color: var(--ink-soft); font-size: 0.95rem; }
.info-list .val a {
  color: var(--petrol); text-decoration: underline; text-decoration-color: var(--sage);
  text-underline-offset: 3px; transition: text-decoration-color 0.2s var(--ease);
}
.info-list .val a:hover { text-decoration-color: var(--coral); }

.form { background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.form .field { margin-bottom: 0.85rem; }
.form label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink); }
.form label .opt { font-weight: 400; color: var(--sage); font-family: var(--font-mono); font-size: 0.75rem; }
.form input, .form textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 0.8rem 0.95rem; transition: border-color 0.2s var(--ease);
}
.form input:focus, .form textarea:focus { border-color: var(--petrol); outline: none; }
.form textarea { resize: vertical; min-height: 84px; }
.form .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-note { margin-top: 0.9rem; font-size: 0.8rem; color: var(--sage); text-align: center; }
.form-success {
  display: none; text-align: center; padding: 1rem; border-radius: 12px;
  background: var(--mist); color: var(--petrol-deep); font-size: 0.95rem; margin-top: 1rem;
}
.form-success.is-visible { display: block; }

/* Mapa embutido */
.map-embed {
  position: relative; margin: 1.5rem 0 0; padding: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  height: clamp(240px, 23vw, 320px); background: var(--mist);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-flag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white); color: var(--petrol-deep);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.01em;
  padding: 0.55rem 0.85rem; border-radius: 12px; box-shadow: var(--shadow-md);
}
.map-flag svg { width: 15px; height: 15px; color: var(--coral); }
/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--petrol-deep); color: var(--sage-soft); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
/* No rodapé entra a versão clara do logo (assets/logo-light.svg), um pouco maior. */
.footer-brand .brand img { height: clamp(42px, 3.8vw, 52px); }
.footer-brand p { margin-top: 1rem; max-width: 26rem; font-size: 0.92rem; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); font-weight: 500; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: var(--sage-soft); text-decoration: none; font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { padding-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--sage); }
.footer-cro { font-family: var(--font-mono); letter-spacing: 0.04em; }
.footer-credit { color: var(--sage); }
.footer-credit a {
  color: var(--sage-soft); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.22); padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-credit a:hover { color: var(--paper); border-color: var(--paper); }

/* ==========================================================================
   Animações de entrada (reveal)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Retrato: leve zoom no hover; badge flutuando */
.portrait { transition: transform 0.55s var(--ease); }
.hero-figure:hover .portrait, .about-figure:hover .portrait { transform: scale(1.02) rotate(0.4deg); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hero-badge { animation: floaty 4.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero-badge { animation: none; } }

/* ==========================================================================
   Botão flutuante de WhatsApp
   ========================================================================== */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 60; display: inline-flex; align-items: center;
  background: var(--coral); color: var(--white); border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(227,107,58,0.42);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  animation: waPop 0.5s var(--ease) 0.7s both;
}
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px; z-index: -1;
  animation: waRing 2.6s ease-out infinite;
}
.wa-float-icon { width: 60px; height: 60px; flex: none; display: grid; place-items: center; }
.wa-float-icon svg { width: 30px; height: 30px; }
.wa-float-label {
  max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap;
  font-weight: 600; font-size: 0.95rem; padding-right: 0;
  transition: max-width 0.45s var(--ease), opacity 0.3s var(--ease), padding 0.45s var(--ease);
}
.wa-float:hover, .wa-float:focus-visible { background: var(--coral-deep); transform: translateY(-3px); }
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label {
  max-width: 190px; opacity: 1; padding-right: 1.2rem;
}
@keyframes waPop { from { opacity: 0; transform: scale(0.5) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes waRing {
  0% { box-shadow: 0 0 0 0 rgba(227,107,58,0.45); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(227,107,58,0); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
  .wa-float::after { animation: none; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: clamp(2rem, 6vw, 3rem); padding-bottom: clamp(2.5rem, 7vw, 4rem); }
  /* Ordem no mobile: eyebrow → imagem → título → texto → card */
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > .eyebrow { order: 1; }
  .hero-figure { order: 2; width: 100%; margin: 1.5rem 0 0.25rem; }
  .hero-copy > h1 { order: 3; margin-top: 1.3rem; }
  .hero-copy > .lead { order: 4; }
  .hero-copy > .hero-card { order: 5; }
  .hero-circle { width: min(74vw, 360px); }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 420px; }
  .care-grid { grid-template-columns: 1fr; }
  .care-illus { max-width: 460px; }
  .hospital { grid-template-columns: 1fr; }
  .hospital-figure { max-width: 460px; }
  /* Os dois blocos novos empilham: texto primeiro, foto depois. As molduras já
     têm proporção própria, então basta conter a largura para a foto não estourar. */
  .lecture { grid-template-columns: 1fr; }
  .lecture-figure { max-width: 420px; }
  .newborn { grid-template-columns: 1fr; }
  .newborn-figure { max-width: 420px; }
  /* Em coluna única não há altura para preencher: o frame precisa da própria proporção. */
  .hospital-frame { flex: none; aspect-ratio: 4 / 3; }
  /* Em coluna única não há altura para preencher: o frame precisa da própria proporção. */
  .care-frame { flex: none; aspect-ratio: 4 / 5; }
  .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .header-cta { display: none; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--petrol);
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
  }
  .nav-toggle[aria-expanded="true"] { background: var(--mist); border-color: var(--petrol); }
  .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.2rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0 var(--gutter);
    /* estado fechado — animável */
    max-height: 0; opacity: 0; overflow: hidden;
    transform: translateY(-10px);
    visibility: hidden; pointer-events: none;
    transition: max-height 0.4s var(--ease), opacity 0.28s var(--ease),
                transform 0.4s var(--ease), padding 0.4s var(--ease),
                visibility 0s linear 0.4s;
  }
  .nav.is-open {
    max-height: 75vh; opacity: 1; transform: translateY(0);
    padding: 0.8rem var(--gutter) 1.2rem;
    visibility: visible; pointer-events: auto;
    transition: max-height 0.45s var(--ease), opacity 0.3s var(--ease),
                transform 0.4s var(--ease), padding 0.4s var(--ease),
                visibility 0s;
  }
  .nav a { padding: 0.8rem 0.5rem; font-size: 1.05rem; }
  .nav a::before { display: none; }
  .nav a.is-active::after { display: none; }
  .nav .nav-wa { display: inline-flex; justify-content: center; margin-top: 0.7rem; padding: 0.9rem 1.2rem; }
  .cards { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* Precisa ficar por último: em media queries max-width o bloco mais estreito tem
   de vir depois, senão os blocos de 960px/720px sobrescrevem os ajustes de celular
   (foi o que apagava a largura da .hero-circle e desalinhava os orbs sobre a foto). */
@media (max-width: 620px) {
  .map-embed { height: 280px; }
  .hero-circle { width: min(80vw, 330px); }
  .orbit { padding: 0.55rem; }
  /* Sobreposição medida de centro a centro (os dois são círculos, não quadrados):
     ~40px de profundidade, na mesma linguagem dos outros dois badges. */
  .orbit--1 { width: 98px; height: 98px; top: 0; left: -4%; }
  .orbit--2 { width: 124px; height: 124px; bottom: -2%; left: 3%; }
  .orbit--3 { width: 102px; height: 102px; bottom: 12%; right: -4%; }
  .orbit-label { font-size: 0.56rem; }
  .orbit svg { width: 19px; height: 19px; }
  .orbit--2 .orbit-big { font-size: 1.5rem; }
}
