/* ==========================================================================
   Dra. Ana Vieira, folha de estilo única
   Base: Dra. Maiara Frangiotti (mesma estrutura), identidade própria
   Paleta da identidade visual dela (cartão e capa): areia #d8cdc4, sálvia
   #8f9b78 (escurecida para #66714f em texto e botões, contraste AA) e o
   grafite oliva do logo no rodapé.
   Tipografia: Zodiak (títulos, itálico nos destaques) + SF Pro / Inter (texto)
   Ícones: Phosphor (light; logos de marca em fill), via sprite SVG no index.html
   ========================================================================== */

:root {
  --ivory: #f8f5f1;
  --linen: #efeae4;
  --sand: #d8cdc4;
  --line: #e6e0d8;
  --navy: #474a40;
  --navy-soft: #585c4f;
  --ink: #2f302b;
  --muted: #65645b;
  --accent: #66714f;
  --accent-deep: #525b3f;
  --aqua: #d9dec9;
  --aqua-soft: #f1f2ea;
  --blush: #e8e2da;
  --gold: #bf9a55;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Zodiak", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --header-h: 76px;
  --radius: 18px;
  --radius-sm: 12px;
  --arch: 999px 999px 22px 22px;
  --shadow: 0 26px 50px -28px rgba(47, 48, 43, .32);
}

/* Base ------------------------------------------------------------------ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }

/* Palavras-chave em negrito dentro dos textos em cinza */
p strong, dd strong { color: var(--ink); font-weight: 600; }

/* Parágrafos curtos com linhas equilibradas (sem palavra sobrando na última linha) */
.lead,
.section-head > p,
.steps p,
.faq-head > p,
.contact-copy > p,
.locations p,
.credentials li,
.faq-list summary span { text-wrap: balance; }
.review p { text-wrap: pretty; }

.nowrap { white-space: nowrap; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

.wrap { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--accent-deep);
  font-weight: 600;
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Tipografia ------------------------------------------------------------ */

h1, h2 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.06;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h2 .line { display: block; }

h3 {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.25;
  text-wrap: balance;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: .55; }

/* Botões e links -------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .8rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.012em;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.button .icon { width: 1.35em; height: 1.35em; }
.button:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(82, 91, 63, .55); }
.button:active { transform: translateY(0) scale(.98); }

.button-sm { min-height: 2.65rem; padding: .5rem 1.1rem; font-size: .92rem; }

.button.outline { background: transparent; border-color: rgba(102, 113, 79, .34); color: var(--accent-deep); }
.button.outline:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.button.pale { background: var(--ivory); color: var(--navy); }
.button.pale:hover { background: #fff; color: var(--accent-deep); box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .45); }

.link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(102, 113, 79, .3);
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  transition: text-decoration-color .25s var(--ease);
}
.link .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.link:hover { text-decoration-color: currentColor; }
.link:hover .icon { transform: translate(2px, -2px); }

/* Marca: monograma AV oficial dela (vetorizado em _ref/monograma.svg) + nome em caixa alta como no logo */

.brand-mark {
  flex: none;
  width: 1.75rem;
  height: 2.7rem;
  fill: var(--accent);
}

/* Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 241, .86);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: rgba(47, 48, 43, .12); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; }
.brand-text { display: grid; gap: .22rem; }
.brand-text { gap: .3rem; white-space: nowrap; }
.brand-word { display: block; width: 8.6rem; height: 1.05rem; fill: var(--ink); }
.brand-text small { color: var(--accent); font-size: .62rem; font-weight: 600; letter-spacing: .3em; line-height: 1; text-transform: uppercase; }

.nav { display: flex; flex: 1; align-items: center; gap: 2rem; font-size: .94rem; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 2.1rem; margin-inline: auto; }
.nav-links > a { position: relative; padding-block: .4rem; color: rgba(47, 48, 43, .82); transition: color .2s var(--ease); }
.nav-links > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links > a:hover { color: var(--accent-deep); }
.nav-links > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .button { margin-left: 0; background: var(--aqua-soft); color: var(--ink); }
.nav .button .icon { color: var(--accent); }
.nav .button:hover { background: var(--accent); color: #fff; }
.nav .button:hover .icon { color: #fff; }

.menu-toggle {
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--sand);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .icon { width: 1.35rem; height: 1.35rem; }
.menu-toggle .icon-close { display: none; }
.is-open .menu-toggle .icon-open { display: none; }
.is-open .menu-toggle .icon-close { display: block; }

/* Hero ------------------------------------------------------------------ */
/* Sem card: título grande à esquerda (tamanho pela largura da coluna, em cqi)
   e composição em camadas à direita: retrato em arco, cartão do alinhador
   sobreposto e selo circular girando. Hero + letreiro cabem em 1440×900. */

.hero {
  --marquee-h: 4rem;
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 45% 60% at 80% 40%, rgba(216, 205, 196, .75), rgba(216, 205, 196, 0) 70%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(225, 229, 213, .9), rgba(225, 229, 213, 0) 70%),
    var(--ivory);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(18rem, 36vw, 33rem);
  align-items: center;
  gap: clamp(4rem, 7vw, 7rem);
  min-height: clamp(34rem, calc(100dvh - var(--header-h) - var(--marquee-h)), 56rem);
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; container-type: inline-size; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: clamp(1.4rem, 2.4vw, 2rem);
  padding: .5rem 1rem .5rem .8rem;
  border: 1px solid rgba(102, 113, 79, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.hero-dot { position: relative; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }
.hero-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease-out infinite; }
.city-short { display: none; }

/* A linha mais longa ("sem aparelho à mostra.") ocupa ~11,3em na Zodiak 500; o tamanho sai da largura da coluna */
.hero-title {
  font-size: clamp(1.35rem, 8.3cqi, 6.2rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .98;
}
.hero-title .line { display: block; white-space: nowrap; }
.hero-title em { font-weight: 400; }

.lead {
  max-width: 34rem;
  margin: clamp(1.25rem, 2vw, 1.75rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  color: var(--muted);
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.6;
}
@media (min-width: 68.8125em) {
  .lead { max-width: none; }
  .lead-line { display: block; }
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* CTA escura com o ícone numa bolha branca no fim */
.button-cta { min-height: 3.6rem; gap: 1rem; padding: .5rem .5rem .5rem 1.6rem; background: var(--ink); box-shadow: 0 18px 30px -16px rgba(47, 48, 43, .6); }
.button-cta:hover { background: var(--accent-deep); }
.button-bubble {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  transition: transform .5s var(--ease);
}
.button-cta .button-bubble .icon { width: 1.35rem; height: 1.35rem; }
.button-cta:hover .button-bubble { transform: rotate(-12deg) scale(1.06); }

/* Composição: retrato em arco + contorno deslocado + cartão + selo */
.hero-media {
  position: relative;
  justify-self: end;
  width: calc(100% - 1.25rem);
  aspect-ratio: 4 / 5.1;
  max-height: calc(100dvh - var(--header-h) - var(--marquee-h) - 4rem);
  min-height: 26rem;
  margin-right: 1.25rem;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid rgba(102, 113, 79, .28);
  border-radius: 999px 999px 28px 28px;
}
.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 999px 999px 28px 28px;
  background: var(--linen);
  box-shadow: 0 40px 70px -40px rgba(47, 48, 43, .45);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transform: scale(1.06); will-change: transform; }

.hero-chip {
  position: absolute;
  z-index: 2;
  left: -3rem;
  bottom: 2.75rem;
  width: 13rem;
  padding: .5rem .5rem .8rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 46px -24px rgba(47, 48, 43, .5);
  transform: rotate(-5deg);
}
.hero-chip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.hero-chip figcaption { display: grid; gap: .1rem; padding: .7rem .4rem 0; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.hero-chip b { color: var(--ink); font-size: .95rem; font-weight: 600; letter-spacing: -.01em; }

.hero-badge {
  position: absolute;
  z-index: 2;
  top: 3.5rem;
  left: -3.25rem;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 18px 36px -20px rgba(47, 48, 43, .45);
  overflow: visible;
}
.hero-badge text { fill: var(--accent-deep); font: 600 8.6px var(--font); letter-spacing: .1em; }
.hero-badge-ring { transform-origin: 60px 60px; animation: spin 22s linear infinite; }
.hero-badge-mono { fill: var(--accent); }

/* Entrada: retrato abre de baixo para cima, texto em cascata, cartão e selo por último */
.hero-photo { animation: hero-photo-in 1s var(--ease) backwards; }
.hero-media::before { animation: hero-fade .8s var(--ease) .45s backwards; }
.hero-pill,
.hero-title,
.lead,
.button-cta { animation: hero-in .7s var(--ease) backwards; }
.hero-title { animation-delay: .08s; }
.lead { animation-delay: .16s; }
.button-cta { animation-delay: .24s; }
.hero-chip { animation: hero-chip-in .8s var(--ease) .55s backwards; }
.hero-badge { animation: hero-card-in .7s var(--ease) .7s backwards; }

@keyframes hero-in { from { opacity: 0; transform: translateY(1.5rem); filter: blur(8px); } }
@keyframes hero-photo-in { from { opacity: 0; clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); } to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }
@keyframes hero-fade { from { opacity: 0; } }
@keyframes hero-chip-in { from { opacity: 0; transform: translateY(1.5rem) rotate(-10deg); } }
@keyframes hero-card-in { from { opacity: 0; transform: translateY(1rem) scale(.94); } }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Tablet e mobile: texto em cima, composição embaixo */
@media (max-width: 60em) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; min-height: 0; padding-block: 2rem 3.5rem; }
  .hero-media { justify-self: center; width: min(100% - 3rem, 26rem); max-height: none; min-height: 0; margin-right: 0; }
}

@media (max-width: 40em) {
  .hero-grid { gap: 2.5rem; padding-block: 1.75rem 3rem; }
  .hero-pill { font-size: .8rem; }
  .city-full { display: none; }
  .city-short { display: inline; }
  .hero-title { font-size: clamp(1.35rem, 8.7cqi, 3rem); }
  .lead { font-size: 1.02rem; }
  .button-cta { align-self: stretch; justify-content: space-between; }
  .hero-media { width: calc(100% - 2.5rem); }
  .hero-media::before { inset: .75rem -.75rem -.75rem .75rem; }
  .hero-chip { left: -1.25rem; bottom: 1.25rem; width: 11rem; padding: .4rem .4rem .6rem; border-radius: 16px; }
  .hero-chip img { border-radius: 11px; }
  .hero-chip figcaption { padding: .5rem .3rem 0; font-size: .76rem; }
  .hero-chip b { font-size: .86rem; white-space: nowrap; }
  .hero-badge { top: 1.5rem; left: auto; right: -1.25rem; width: 5.75rem; height: 5.75rem; }
}

/* Letreiro de procedimentos --------------------------------------------- */

.marquee {
  display: flex;
  overflow: hidden;
  padding-block: 1.2rem;
  background: var(--accent);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.marquee-track {
  display: flex;
  flex: none;
  gap: 2.75rem;
  padding-right: 2.75rem;
  white-space: nowrap;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: inline-flex; align-items: center; gap: .85rem; }
.marquee-track .icon { width: 1.1rem; height: 1.1rem; color: var(--aqua); }

/* Seções ---------------------------------------------------------------- */

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.section-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 1.5rem 4rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.section-head > p { max-width: 30rem; color: var(--muted); font-size: 1.06rem; }

/* Aparelhos (comparação lado a lado) ----------------------------------- */

.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

/* Abas do comparador: só aparecem no celular */
.compare-tabs { display: none; }

.brace {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.brace { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
.brace:hover { --lift: -4px; border-color: rgba(102, 113, 79, .24); box-shadow: var(--shadow); }
.brace.is-featured { border-color: rgba(102, 113, 79, .3); background: var(--aqua-soft); }

.tag {
  display: inline-block;
  padding: .32rem .75rem;
  border-radius: 999px;
  background: var(--linen);
  color: var(--accent-deep);
  font-size: .76rem;
  font-weight: 600;
}
.is-featured .tag { background: var(--accent); color: #fff; }

.brace-head h3 { margin-top: 1.1rem; font-family: var(--display); font-size: 1.6rem; font-weight: 500; letter-spacing: -.03em; }
.brace-head p { margin-top: .2rem; color: var(--muted); font-size: .92rem; }

.brace-list { margin: 0; }
.brace-list > div { display: grid; gap: .3rem; padding-block: .95rem; border-top: 1px solid var(--line); }
.is-featured .brace-list > div { border-top-color: rgba(102, 113, 79, .16); }
.brace-list dt { display: flex; align-items: center; gap: .45rem; color: var(--accent-deep); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.brace-list dt .icon { width: 1.05rem; height: 1.05rem; }
.brace-list dd { margin: 0; color: var(--ink); font-size: .96rem; line-height: 1.5; text-wrap: balance; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  align-self: flex-start;
  margin-top: auto;
  color: var(--accent-deep);
  font-size: .94rem;
  font-weight: 600;
}
.service-link .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.service-link:hover .icon { transform: translate(2px, -2px); }

.compare-note { max-width: 46rem; margin-top: 1.75rem; color: var(--muted); font-size: .95rem; text-wrap: balance; }

/* Invisalign (simulação do sorriso) ------------------------------------- */

.invisalign { padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--aqua-soft); }
.invisalign-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.invisalign-media { max-width: 34rem; }
.invisalign-media img { width: 100%; aspect-ratio: 36 / 37; background: var(--linen); object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.invisalign-copy > p:not(.eyebrow) { margin: 1.25rem 0 2rem; color: var(--muted); font-size: 1.06rem; }

/* Outros tratamentos ----------------------------------------------------- */

.extras { background: #fff; }

/* Dois grupos lado a lado, cada um com uma lista de itens */
.care { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.care-group { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.care-group:last-child { background: var(--aqua-soft); }
.care-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--sand); }
.care-title span { font-family: var(--display); font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -.025em; }
.care-title small { color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.care-list li { display: grid; grid-template-columns: 2.9rem 1fr; gap: 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.care-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.care-icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: #fff; color: var(--accent); transition: transform .5s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.care-icon .icon { width: 1.45rem; height: 1.45rem; }
.care-list li:hover .care-icon { transform: rotate(-10deg) scale(1.08); background: var(--accent); color: #fff; }
.care-list h4 { margin: .15rem 0 .3rem; font-size: 1.08rem; font-weight: 600; letter-spacing: -.015em; }
.care-list p { color: var(--muted); font-size: .96rem; line-height: 1.55; text-wrap: pretty; }

/* Quebra visual: foto do alinhador + frase dela em destaque ---------------- */

.quote-band { padding-block: clamp(1rem, 2vw, 1.5rem); background: #fff; }
.quote-band-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(.5rem, 1.2vw, 1rem);
  gap: clamp(.5rem, 1.2vw, 1rem);
}
.quote-band-media { overflow: hidden; border-radius: 28px; background: var(--linen); }
.quote-band-media img { width: 100%; height: 100%; min-height: 24rem; object-fit: cover; object-position: 50% 40%; }
.quote-band-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 28px;
  background: var(--blush);
}
.quote-band-text .quote { width: 2.4rem; height: 2.4rem; color: var(--accent); }
.quote-band-text p { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
.quote-band-text em { color: var(--accent); font-style: italic; }
.quote-band-text footer { color: var(--muted); font-size: .9rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* Por onde começar (checklist que monta a mensagem do WhatsApp) ---------- */

.start { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--linen); }
.start-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(2.5rem, 7vw, 7rem); }
.start-head > p:not(.eyebrow) { margin-top: 1.25rem; color: var(--muted); font-size: 1.06rem; text-wrap: balance; }

.checklist fieldset { display: flex; flex-wrap: wrap; gap: .65rem; margin: 0; padding: 0; border: 0; }
.checklist label { position: relative; display: inline-flex; }
.checklist input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.checklist label span {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 2.9rem;
  padding: .6rem 1.15rem;
  border: 1px solid var(--sand);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: .96rem;
  font-weight: 500;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), gap .25s var(--ease);
}
.checklist label span .icon { width: 0; height: 1.1rem; overflow: hidden; opacity: 0; transition: width .25s var(--ease), opacity .25s var(--ease); }
.checklist label:hover span { border-color: rgba(102, 113, 79, .45); }
.checklist input:checked + span { gap: .45rem; border-color: var(--accent); background: var(--accent); color: #fff; }
.checklist input:checked + span .icon { width: 1.1rem; opacity: 1; }
.checklist input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.checklist-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sand);
}
.checklist-count { color: var(--muted); font-size: .94rem; }
.checklist:not(:has(input:checked)) [data-checklist-send] { border-color: var(--sand); background: #fff; color: var(--accent-deep); box-shadow: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Sobre ----------------------------------------------------------------- */

.about { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--ivory); overflow: clip; }

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.about-image { position: relative; max-width: 30rem; }
.about-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--arch);
  background: var(--linen);
}
.about-image::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid rgba(102, 113, 79, .3);
  border-radius: var(--arch);
}

.about-quote {
  position: absolute;
  right: -2rem;
  bottom: 2.5rem;
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.about-quote em { color: var(--accent); font-style: italic; }

.about-copy > p:not(.eyebrow) { max-width: 34rem; margin-top: 1.25rem; color: var(--muted); font-size: 1.06rem; }

.timeline { position: relative; display: grid; gap: .9rem; margin: 2rem 0 0; padding-left: 1.4rem; }
.timeline::before { content: ""; position: absolute; left: .3rem; top: .5rem; bottom: .5rem; width: 1px; background: var(--sand); }
.timeline li { position: relative; display: flex; align-items: baseline; gap: 1rem; color: var(--muted); font-size: .96rem; line-height: 1.4; text-wrap: balance; }
.timeline li::before { content: ""; position: absolute; left: -1.4rem; top: .45em; width: .65rem; height: .65rem; border: 2px solid var(--ivory); border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--aqua); }
.timeline b { flex: none; color: var(--ink); font-family: var(--display); font-size: 1.1rem; font-weight: 500; font-variant-numeric: lining-nums; }

.credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.25rem 0 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--sand);
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.4;
}
.credentials b { display: block; margin-bottom: .2rem; color: var(--ink); font-family: var(--display); font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }

/* Consultório ------------------------------------------------------------ */

.results { background: var(--linen); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--linen); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.045); }
.gallery figcaption {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  max-width: calc(100% - 1.7rem);
  padding: .38rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .93);
  color: var(--accent-deep);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.results-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2rem;
}
.disclaimer { color: var(--muted); font-size: .9rem; }

/* Avaliações (slider infinito e lento) ---------------------------------- */

.reviews { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--aqua-soft); overflow: clip; }

.rating {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 1.25rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(102, 113, 79, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .7);
}
.rating-score { font-family: var(--display); font-size: 3rem; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -.03em; }
.rating-info { display: grid; gap: .3rem; color: var(--muted); font-size: .9rem; line-height: 1.3; }
.stars { display: inline-flex; gap: .15rem; color: var(--gold); }
.stars .icon { width: 1rem; height: 1rem; }
.rating .link { font-size: .9rem; }
.rating .link .g { width: 1rem; height: 1rem; }

.reviews-marquee {
  display: flex;
  margin-inline: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
.reviews-track {
  display: flex;
  flex: none;
  align-items: stretch;
  gap: 1.25rem;
  padding-right: 1.25rem;
  animation: marquee 46s linear infinite;
}
.reviews-track > li { display: flex; }

.review {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: clamp(290px, 30vw, 390px);
  padding: 1.6rem 1.6rem 1.4rem;
  border: 1px solid rgba(102, 113, 79, .12);
  border-radius: var(--radius);
  background: var(--ivory);
}
.review .quote { width: 1.9rem; height: 1.9rem; color: var(--aqua); }
.review p { flex: 1; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.review footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.review cite { display: grid; font-style: normal; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.review cite small { color: var(--muted); font-size: .8rem; font-weight: 400; }

/* Como funciona --------------------------------------------------------- */

.consult {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: var(--blush);
  color: var(--ink);
}
/* Sobrenome gigante de marca d'água em blush, no canto livre embaixo do botão
   para não passar atrás das etapas */
.consult::after {
  content: "Vieira";
  position: absolute;
  left: calc(max(var(--gutter), (100vw - var(--container)) / 2) - .04em);
  bottom: -.2em;
  color: rgba(102, 113, 79, .07);
  font-family: var(--display);
  font-size: clamp(7rem, 14vw, 12.5rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  pointer-events: none;
}

.consult-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.consult .button { margin-top: 2.25rem; }

.steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid rgba(102, 113, 79, .18);
}
.steps li:first-child { padding-top: .25rem; }
.step-n { padding-top: .05rem; color: var(--accent); font-family: var(--display); font-size: 1.1rem; font-variant-numeric: lining-nums; }
.steps h3 { margin-bottom: .3rem; font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .98rem; }

/* Dúvidas --------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.faq-head { position: sticky; top: calc(var(--header-h) + 2.5rem); }
.faq-head > p:not(.eyebrow) { margin: 1.25rem 0 1.5rem; color: var(--muted); font-size: 1.06rem; }

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.35rem;
  list-style: none;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -.015em;
  transition: color .2s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover,
.faq-list details[open] summary { color: var(--accent-deep); }
.faq-icon { width: 1.3rem; height: 1.3rem; color: var(--accent); transition: transform .35s var(--ease); }
.faq-list details[open] .faq-icon { transform: rotate(45deg); }
.faq-list details p { padding: 0 3rem 1.5rem 0; color: var(--muted); }

/* Contato --------------------------------------------------------------- */

.contact {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  background: var(--linen);
}
/* Arco de contorno no canto, ecoando o recorte das fotos */
.contact::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 30rem;
  border: 1px solid rgba(102, 113, 79, .16);
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.contact::after { bottom: -22rem; right: -8rem; }

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.contact-copy > p:not(.eyebrow) { margin: 1.25rem 0 2rem; color: var(--muted); font-size: 1.1rem; }
.contact-copy .locations { margin-top: .5rem; }

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  transition: color .2s var(--ease);
}
.contact-phone:hover { color: var(--accent-deep); }

.locations { display: grid; gap: 1rem; }
.locations li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
}
.locations li > .icon { width: 2.75rem; height: 2.75rem; padding: .65rem; border-radius: 50%; background: var(--aqua-soft); color: var(--accent); }
.locations h3 { margin-bottom: .15rem; }
.locations p { margin-bottom: .65rem; color: var(--muted); font-size: .95rem; }
.locations .link, .locations .contact-phone { font-size: .94rem; }
.locations .contact-phone .icon { width: 1.15rem; height: 1.15rem; color: var(--accent); }

/* Formulário de agendamento --------------------------------------------- */

.booking {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(102, 113, 79, .14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 40px 70px -48px rgba(47, 48, 43, .45);
}
.booking-head { display: grid; gap: .5rem; }
.booking-kicker { display: inline-flex; align-items: center; gap: .45rem; color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.booking-kicker .icon { width: 1.05rem; height: 1.05rem; }
.booking-head h3 { font-family: var(--display); font-size: clamp(1.55rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -.025em; }

.field { display: grid; gap: .6rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { padding: 0; color: var(--ink); font-size: .92rem; font-weight: 600; }
.field > label span { color: var(--muted); font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }

.booking input[type="text"],
.booking textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: .8rem 1rem;
  border: 1px solid var(--sand);
  border-radius: 14px;
  background: var(--ivory);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.booking textarea { resize: vertical; min-height: 5.5rem; line-height: 1.5; }
.booking input::placeholder, .booking textarea::placeholder { color: #9b998e; }
.booking input[type="text"]:focus, .booking textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(102, 113, 79, .12); }

.options { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { position: relative; display: inline-flex; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 2.75rem;
  padding: .5rem 1rem;
  border: 1px solid var(--sand);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 500;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), gap .25s var(--ease);
}
.opt span .icon { width: 0; height: 1rem; overflow: hidden; opacity: 0; transition: width .25s var(--ease), opacity .25s var(--ease); }
.opt:hover span { border-color: rgba(102, 113, 79, .45); }
.opt input:checked + span { gap: .4rem; border-color: var(--accent); background: var(--accent); color: #fff; animation: pop .35s var(--ease); }
.opt input:checked + span .icon { width: 1rem; opacity: 1; }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.field-error { display: none; color: #b3261e; font-size: .86rem; font-weight: 500; }
.field.has-error .field-error { display: block; }
.field.has-error input[type="text"] { border-color: #b3261e; }
.field.has-error .opt span { border-color: rgba(179, 38, 30, .45); }

.booking-send { width: 100%; min-height: 3.5rem; margin-top: .25rem; }
.booking-note { color: var(--muted); font-size: .84rem; text-align: center; }

/* Rodapé ---------------------------------------------------------------- */

.site-footer { padding-top: clamp(3.5rem, 6vw, 5rem); background: var(--navy); color: rgba(255, 255, 255, .7); font-size: .95rem; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.25fr 1fr; gap: 2.5rem; }
.site-footer .brand-mark { fill: var(--aqua); }
.site-footer .brand-word { fill: #fff; }
.site-footer .brand-text small { color: var(--aqua); }
.footer-brand p { max-width: 22rem; margin-top: 1.3rem; }
.footer-title { margin-bottom: 1rem; color: #fff; font-weight: 600; }

.site-footer ul { display: grid; gap: .6rem; }
.site-footer ul a { display: inline-flex; align-items: center; gap: .55rem; transition: color .2s var(--ease); }
.site-footer ul a .icon { width: 1.15rem; height: 1.15rem; color: var(--aqua); }
.site-footer ul a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-top: 3rem;
  padding-block: 1.5rem 5.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .6);
  font-size: .84rem;
}
.footer-bottom small { font-size: inherit; }

/* Crédito da Nobre Designs */
.credit { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: rgba(255, 255, 255, .6); transition: color .25s var(--ease); }
.credit img { width: auto; height: 1.6rem; opacity: .8; transition: opacity .25s var(--ease); }
.credit:hover { color: #fff; }
.credit:hover img { opacity: 1; }

/* WhatsApp flutuante ---------------------------------------------------- */

.float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.2rem .75rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  box-shadow: 0 16px 32px -12px rgba(47, 48, 43, .6);
  transition: background-color .25s var(--ease), transform .3s var(--ease), opacity .25s;
  animation: float-in .7s var(--ease) .9s backwards;
}
.float .icon { width: 1.5rem; height: 1.5rem; }
.float:hover { background: var(--accent-deep); transform: translateY(-2px); }
body.menu-open .float { opacity: 0; pointer-events: none; }

/* Interações ------------------------------------------------------------ */

/* Entrada ao rolar (só com JS e sem "reduzir movimento") */
.can-reveal [data-reveal] { opacity: 0; transform: translateY(2rem); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.can-reveal [data-reveal].is-visible { opacity: 1; transform: none; }
.can-reveal .section-head [data-reveal],
.can-reveal .about-copy[data-reveal],
.can-reveal .invisalign-copy[data-reveal],
.can-reveal .steps[data-reveal],
.can-reveal .faq-list[data-reveal],
.can-reveal .booking[data-reveal],
.can-reveal .checklist[data-reveal],
.can-reveal .quote-band-text[data-reveal] { transition-delay: .12s; }
/* Filhos dos grids entram em sequência */
.can-reveal .compare[data-reveal] > *,
.can-reveal .care[data-reveal] > *,
.can-reveal .gallery[data-reveal] > * { opacity: 0; transform: translateY(1.5rem); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.can-reveal .compare[data-reveal],
.can-reveal .care[data-reveal],
.can-reveal .gallery[data-reveal] { opacity: 1; transform: none; }
.can-reveal [data-reveal].is-visible > * { opacity: 1; transform: none; }
.can-reveal .compare.is-visible > .brace { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease), opacity .7s var(--ease); }
.can-reveal [data-reveal] > :nth-child(2) { transition-delay: .1s; }
.can-reveal [data-reveal] > :nth-child(3) { transition-delay: .2s; }
.can-reveal [data-reveal] > :nth-child(4) { transition-delay: .3s; }

/* Checklist: o item "salta" ao marcar */
.checklist input:checked + span { animation: pop .35s var(--ease); }
.checklist-count { transition: color .3s var(--ease); }
.checklist:has(input:checked) .checklist-count { color: var(--accent-deep); font-weight: 600; }

/* Animações ------------------------------------------------------------- */

@keyframes pop { 40% { transform: scale(1.06); } }
@keyframes tab-in { from { opacity: 0; transform: translateX(.75rem); } }

@keyframes float-in { from { opacity: 0; transform: translateY(1rem) scale(.9); } }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Responsivo ------------------------------------------------------------ */

@media (max-width: 68.75em) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 64em) {
  .menu-toggle { display: grid; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    overflow-y: auto;
    background: var(--ivory);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-.5rem);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .is-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .is-open { background: var(--ivory); }
  .nav-links > a { padding-block: 1rem; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--display); font-size: 1.6rem; font-weight: 500; letter-spacing: -.03em; }
  .nav-links > a::after { display: none; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav .button { margin: 1.75rem 0 0; min-height: 3.25rem; font-size: 1rem; background: var(--accent); color: #fff; }
  .nav .button .icon { color: #fff; }

  .section-head,
  .care,
  .quote-band-grid,
  .invisalign-grid,
  .start-grid,
  .about-grid,
  .consult-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .section-head { align-items: start; }
  .rating { justify-self: start; }
  .about-image { width: min(100%, 440px); }
  .faq-head { position: static; }
  .footer-grid { gap: 2.25rem; }
}

@media (max-width: 40em) {
  :root { --header-h: 68px; }
  .brand { gap: .65rem; }
  .brand-mark { width: 1.5rem; height: 2.35rem; }
  .brand-word { width: 7.4rem; height: .9rem; }
  .brand-text small { font-size: .62rem; letter-spacing: .26em; }

  .actions .button { width: 100%; }

  .marquee { padding-block: 1rem; font-size: .96rem; }

  .compare { grid-template-columns: 1fr; }
  .quote-band-media img { min-height: 0; aspect-ratio: 4 / 3; }
  .quote-band-text { padding: 2rem 1.5rem; text-align: center; align-items: center; }
  .quote-band-media, .quote-band-text { border-radius: 22px; }
  .care-group { padding: 1.35rem 1.2rem; }
  .care-title { flex-direction: column; align-items: center; gap: .35rem; text-align: center; }
  .compare-tabs { display: flex; gap: .35rem; margin-bottom: 1rem; padding: .3rem; border: 1px solid var(--line); border-radius: 999px; background: var(--linen); }
  .compare-tabs button { flex: 1; min-height: 44px; padding: .4rem .5rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: .9rem; font-weight: 600; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
  .compare-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 6px 14px -8px rgba(47, 48, 43, .4); }
  .compare > .brace:not(.is-active) { display: none; }
  .compare > .brace.is-active { animation: tab-in .4s var(--ease); }
  .brace { padding: 1.5rem 1.35rem 1.35rem; }

  .checklist fieldset { gap: .5rem; }
  .checklist label span { font-size: .92rem; padding-inline: 1rem; }
  .checklist-foot .button { width: 100%; }

  .about-quote { right: .75rem; bottom: .75rem; font-size: 1.25rem; padding: 1rem 1.2rem; }
  .about-image::before { inset: .75rem -.6rem -.75rem .6rem; }
  .credentials { grid-template-columns: 1fr; gap: 1rem; }

  .gallery { gap: .75rem; }
  .gallery figcaption { left: .6rem; bottom: .6rem; max-width: calc(100% - 1.2rem); font-size: .78rem; padding: .3rem .65rem; }
  .results-foot .button { width: 100%; }

  .rating { width: 100%; justify-content: space-between; }
  .review { width: 82vw; padding: 1.35rem 1.35rem 1.2rem; }

  .faq-list summary { font-size: 1.02rem; }
  .faq-list details p { padding-right: 0; }

  .field-row { grid-template-columns: 1fr; }
  .contact-copy .locations { text-align: left; }
  .booking { padding: 1.35rem 1.15rem; border-radius: 20px; }
  .locations li { padding: 1.25rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; padding-bottom: 6rem; font-size: .8rem; }

  .float { right: 1rem; bottom: 1rem; width: 3.5rem; height: 3.5rem; padding: 0; justify-content: center; }
  .float span { display: none; }
  .float .icon { width: 1.75rem; height: 1.75rem; }
}

/* Mobile centralizado: cabeçalhos, textos e botões no eixo; cards, FAQ e depoimentos seguem à esquerda */
@media (max-width: 40em) {
  .eyebrow { justify-content: center; gap: .55rem; letter-spacing: .13em; }
  .eyebrow::before { width: 1.1rem; }
  .eyebrow::after { content: ""; width: 1.1rem; height: 1px; background: currentColor; opacity: .55; }

  .hero-copy,
  .section-head,
  .invisalign-copy,
  .start-head,
  .about-copy,
  .consult-head,
  .faq-head,
  .contact-copy { text-align: center; }
  .hero-copy { align-items: center; }
  .section-head { justify-items: center; }
  .section-head > p,
  .about-copy > p:not(.eyebrow),
  .compare-note { margin-inline: auto; }
  .compare-note { text-align: center; }
  .rating { justify-self: stretch; text-align: left; }
  .actions { justify-content: center; }
  .invisalign-copy .actions { flex-direction: column; }
  .invisalign-copy .actions .button { width: 100%; }
  .credentials { text-align: center; }
  .timeline { justify-items: center; padding-left: 0; }
  .timeline::before, .timeline li::before { display: none; }
  .timeline li { flex-direction: column; align-items: center; gap: .1rem; text-align: center; }
  .consult-head .button { width: 100%; }
  .results-foot { flex-direction: column; text-align: center; }

  .checklist fieldset { justify-content: center; }
  .checklist-foot { flex-direction: column; text-align: center; }

  .reviews-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }

  /* Rodapé enxuto: endereço e horário já estão no bloco de contato logo acima */
  .site-footer { padding-top: 3rem; text-align: center; }
  .footer-grid { justify-items: center; gap: 1.5rem; }
  .footer-brand .brand { justify-content: center; }
  .footer-brand p { margin: 1rem auto 0; }
  .footer-title, .footer-info { display: none; }
  .site-footer nav ul { display: block; text-wrap: balance; }
  .site-footer nav li { display: inline-block; margin-inline: .55rem; }
  .footer-bottom small { text-wrap: balance; }
  .site-footer ul a { min-height: 44px; }
  .footer-social ul { justify-content: center; }
  .footer-bottom { align-items: center; margin-top: 1.5rem; }
}

/* Telas bem estreitas: a etiqueta perde as linhas para caber numa linha só */
@media (max-width: 23.75em) {
  .eyebrow::before, .eyebrow::after { display: none; }
}

@media (max-width: 60em), (pointer: coarse) {
  .link,
  .service-link,
  .contact-phone { min-height: 44px; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { min-height: 44px; }
  .site-footer ul li:not(:has(a)) { padding-block: .35rem; }
}

@media (hover: none) {
  .brace:hover, .button:hover { transform: none; box-shadow: none; }
  .gallery figure:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { justify-content: center; }
  .marquee-track { flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; padding-inline: var(--gutter); white-space: normal; animation: none !important; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .reviews-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .reviews-track { animation: none !important; }
  .reviews-track[aria-hidden="true"] { display: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
