/* JM Odontologia — estilos do site
   Identidade: verde-petróleo, branco e rosa suave. Títulos em serifa (Newsreader), texto em Figtree.
   Layout: foto real e identificação profissional no topo; conteúdo comercial primeiro; odontograma como seção educativa no fim. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/newsreader.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/figtree.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --porcelain: #F3F6F5;  /* fundo */
  --enamel: #FFFFFF;     /* superfícies */
  --ink: #0E2A33;        /* texto e faixas escuras */
  --lagoon: #1D5C68;     /* verde-petróleo da marca */
  --rose: #EFA7A9;       /* rosa suave */
  --mist: #DDE7E5;       /* linhas e fundos suaves */

  --muted: #4D666C;
  --rose-soft: #F7D9DA;
  --rose-deep: #D9777C;
  --line: #B9CBC8;
  --lagoon-dark: #164C56;
  --on-ink: #EAF1EF;
  --on-ink-muted: #A9C0BE;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 40px);
  --header-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--porcelain); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 1.0625rem; line-height: 1.6; } }

img, svg { max-width: 100%; }
img { height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.012em; line-height: 1.08; font-variant-numeric: lining-nums; }
h3 { font-weight: 600; line-height: 1.25; }
a { color: var(--lagoon); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color .15s ease, text-decoration-color .15s ease; }
a:hover { color: var(--lagoon-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 80; background: var(--enamel); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(36px, 6.5vw, 80px); }
.section-head { display: grid; gap: 8px; max-width: 62ch; margin-bottom: clamp(20px, 3vw, 36px); }
.section-head h2, .sec-title { font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.65rem); }
.section-head p { color: var(--muted); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem); }

/* Ícones */
.ico-sm { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-tooth { fill: var(--enamel); stroke: var(--lagoon); stroke-width: 1.8; stroke-linejoin: round; }
.ico-tooth.is-dashed { stroke-dasharray: 3.4 2.6; }
.ico-tooth.is-small { stroke-width: 2.8; }
.ico-tooth-faint { fill: none; stroke: var(--line); stroke-width: 1.6; stroke-linejoin: round; }
.ico-fill { fill: var(--rose-deep); }
.ico-line { fill: none; stroke: var(--rose-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.15 var(--font-body); text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 0.94rem; gap: 8px; }
.btn-primary { background: var(--lagoon); color: #FFFFFF; box-shadow: 0 1px 0 rgba(14, 42, 51, 0.06); }
.btn-primary:hover { background: var(--lagoon-dark); color: #FFFFFF; box-shadow: 0 6px 18px -8px rgba(14, 42, 51, 0.45); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--lagoon); color: var(--lagoon); background: rgba(29, 92, 104, 0.04); }
.btn-rose { background: var(--rose); color: var(--ink); }
.btn-rose:hover { background: #F5C0C1; color: var(--ink); }
.btn-line-light { background: transparent; color: var(--on-ink); border-color: rgba(234, 241, 239, 0.38); }
.btn-line-light:hover { border-color: var(--on-ink); color: var(--on-ink); }
.link-btn { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--lagoon); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; min-height: 44px; }

/* Cabeçalho e menu */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 246, 245, 0.95);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid var(--mist);
}
.header-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: baseline; gap: 8px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; line-height: 1; letter-spacing: -0.01em; color: var(--lagoon); }
.brand-name { font-weight: 600; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); }
.header-cta .lg-only { display: none; }
@media (min-width: 480px) { .header-cta .lg-only { display: inline; } .header-cta .sm-only { display: none; } }
.menu-botao {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink);
  font: 600 0.94rem/1 var(--font-body); cursor: pointer;
}
.menu-botao:hover { border-color: var(--lagoon); color: var(--lagoon); }
@media (max-width: 479px) {
  .menu-botao { width: 44px; padding: 0; justify-content: center; }
  .menu-texto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-cta { padding: 0 14px; }
}
.menu-icone { position: relative; width: 16px; height: 10px; }
.menu-icone::before, .menu-icone::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s var(--ease), top .2s var(--ease); }
.menu-icone::before { top: 0; }
.menu-icone::after { top: 8px; }
.menu-botao[aria-expanded="true"] .menu-icone::before { top: 4px; transform: rotate(45deg); }
.menu-botao[aria-expanded="true"] .menu-icone::after { top: 4px; transform: rotate(-45deg); }
.nav { display: none; }
.nav-lista { list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--lagoon); }
.nav[data-aberto] {
  display: block; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--enamel); border-bottom: 1px solid var(--mist);
  box-shadow: 0 18px 30px -24px rgba(14, 42, 51, 0.5);
}
.nav[data-aberto] .nav-lista { padding: 8px var(--gutter) 16px; display: grid; }
.nav[data-aberto] a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--mist); font-size: 1.02rem; }
.nav[data-aberto] li:last-child a { border-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .nav[data-aberto] { animation: abrir-menu .18s var(--ease); }
}
@keyframes abrir-menu { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 1180px) {
  .menu-botao { display: none; }
  .nav, .nav[data-aberto] { display: block; position: static; background: none; border: 0; box-shadow: none; animation: none; margin-right: 8px; }
  .nav-lista, .nav[data-aberto] .nav-lista { display: flex; gap: 24px; padding: 0; }
  .nav a, .nav[data-aberto] a { display: inline; min-height: 0; border: 0; font-size: 0.95rem; }
  .nav .so-menu { display: none; }
  .nav a:hover { text-decoration: underline; }
}

/* Topo da página inicial */
.hero { padding-block: 16px 8px; }
@media (min-width: 900px) { .hero { padding-block: 48px 16px; } }
.hero-grid { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); grid-template-areas: "copy media"; gap: clamp(40px, 5vw, 72px); align-items: center; }
  .hero-copy { grid-area: copy; }
  .hero-media { grid-area: media; }
}
.hero-media { margin: 0; }
.hero-media img { display: block; width: 100%; border-radius: 18px; background: var(--mist); }
@media (min-width: 900px) {
  .hero-media img { max-height: 660px; object-fit: cover; border-radius: 50% 50% 24px 24px / 36% 36% 24px 24px; }
}
.hero-h1 { display: grid; gap: 6px; }
.hero-marca { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.9rem); line-height: 1.02; }
.hero-onde { font-family: var(--font-body); font-size: clamp(0.98rem, 0.94rem + 0.25vw, 1.12rem); font-weight: 600; letter-spacing: 0; color: var(--lagoon); line-height: 1.35; }
.hero-slogan { margin-top: 14px; max-width: 24ch; font-family: var(--font-display); font-size: clamp(1.3rem, 1.12rem + 0.9vw, 1.85rem); line-height: 1.22; color: var(--ink); text-wrap: balance; }
.hero-trat { margin-top: 12px; max-width: 46ch; color: var(--muted); font-size: clamp(1rem, 0.97rem + 0.2vw, 1.12rem); }
.hero-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn-primary { flex: 1 1 100%; }
.hero-secundario { display: none; }
@media (min-width: 560px) {
  .hero-actions .btn-primary { flex: 0 1 auto; }
  .hero-secundario { display: inline-flex; }
}
.hero-contato { margin-top: 10px; font-size: 0.92rem; color: var(--muted); }
.hero-contato a { font-weight: 600; }
.credenciais { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--mist); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.credenciais strong { display: block; font-weight: 600; font-size: 0.95rem; }
.credenciais span { display: block; font-size: 0.85rem; color: var(--muted); }

.infobar {
  list-style: none; margin: 22px 0 0; padding: 14px 16px;
  background: var(--enamel); border: 1px solid var(--mist); border-radius: 18px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px;
}
.infobar .largo { grid-column: 1 / -1; }
@media (min-width: 900px) { .infobar { margin-top: 40px; grid-template-columns: 1.4fr 1fr 1fr; padding: 18px 24px; gap: 24px; } .infobar .largo { grid-column: auto; } }
.infobar li { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.infobar .ico-sm { color: var(--lagoon); margin-top: 2px; }
.info-label { display: block; font-size: 0.78rem; color: var(--muted); }
.info-valor { display: block; font-weight: 600; font-size: 0.92rem; line-height: 1.35; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.info-valor:hover { color: var(--lagoon); text-decoration: underline; }

/* Tratamentos */
.destaques { display: grid; gap: 12px; }
@media (min-width: 760px) { .destaques { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.destaque { background: var(--enamel); border: 1px solid var(--mist); border-radius: 22px; padding: 20px; display: grid; gap: 8px; align-content: start; }
@media (min-width: 900px) { .destaque { padding: 30px; gap: 10px; } }
.destaque .ico { width: 52px; height: 52px; }
.area { font-size: 0.84rem; font-weight: 600; color: var(--lagoon); }
.destaque h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 1.3rem + 0.6vw, 1.8rem); line-height: 1.12; }
.destaque h3 a { color: inherit; text-decoration: none; }
.destaque h3 a:hover { color: var(--lagoon); text-decoration: underline; }
.destaque > p:not(.area) { color: var(--muted); }
.lista { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 5px; }
.lista li { position: relative; padding-left: 18px; }
.lista li::before { content: ""; position: absolute; left: 1px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
.acoes { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.acoes .link-mais { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.clinica-grid {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px;
  background: var(--mist); border: 1px solid var(--mist); border-radius: 22px; overflow: hidden;
}
@media (min-width: 640px) { .clinica-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .clinica-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; } }
.trat { background: var(--enamel); display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; padding: 16px; align-content: start; }
@media (min-width: 900px) { .trat { padding: 22px 24px; grid-template-columns: 44px minmax(0, 1fr); } }
.trat .ico { grid-row: 1 / span 4; width: 40px; height: 40px; }
.trat h3 { font-size: 1.06rem; }
.trat h3 a { color: inherit; text-decoration: none; }
.trat h3 a:hover { color: var(--lagoon); text-decoration: underline; }
.trat p:not(.area) { font-size: 0.93rem; color: var(--muted); line-height: 1.45; }
.trat .acoes { margin-top: 6px; }
.trat-nota { margin-top: 14px; font-size: 0.93rem; color: var(--muted); }

/* Equipe */
.equipe { display: grid; gap: 12px; }
@media (min-width: 760px) { .equipe { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.dentista { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 14px 16px; align-items: start; background: var(--enamel); border: 1px solid var(--mist); border-radius: 22px; padding: 14px; }
.dentista img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% 50% 14px 14px / 40% 40% 14px 14px; background: var(--mist); }
.dentista-info { display: grid; gap: 4px; align-content: start; padding-top: 4px; }
.dentista h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.6rem); line-height: 1.12; }
.cargo { color: var(--muted); }
.cro { justify-self: start; margin-top: 4px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--lagoon); font-variant-numeric: tabular-nums; }
.dentista-link { grid-column: 1 / -1; justify-self: stretch; }
@media (min-width: 1000px) {
  .dentista { grid-template-columns: 188px minmax(0, 1fr); gap: 14px 26px; padding: 20px; }
  .dentista img { grid-row: 1 / span 2; }
  .dentista-link { grid-column: 2; justify-self: start; align-self: start; }
}
.equipe-compacta .dentista { grid-template-columns: 88px minmax(0, 1fr); }
@media (min-width: 1000px) { .equipe-compacta .dentista { grid-template-columns: 120px minmax(0, 1fr); } }

/* A clínica */
.galeria {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter) 6px;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 62%); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.galeria li { scroll-snap-align: start; }
.galeria img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: var(--mist); }
@media (min-width: 900px) {
  .galeria { max-width: 1180px; grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; gap: 16px; overflow: visible; }
}

/* Primeira consulta */
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
@media (min-width: 900px) { .passos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.passo { display: grid; gap: 6px; align-content: start; }
.passo-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--lagoon); color: var(--lagoon); font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.passo h3 { font-size: 1.02rem; }
.passo p { font-size: 0.92rem; color: var(--muted); line-height: 1.45; }

/* Agendamento */
.booking { background: var(--ink); color: var(--on-ink); }
.booking .section-head p { color: var(--on-ink-muted); }
.booking a:not(.btn) { color: var(--rose); }
.booking :focus-visible { outline-color: var(--rose); }
.booking-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .booking-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > label { font-weight: 600; font-size: 0.98rem; color: var(--on-ink); }
.hint { font-weight: 400; color: var(--on-ink-muted); }
.input, .select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border-radius: 14px; border: 1.5px solid rgba(234, 241, 239, 0.24);
  background: rgba(255, 255, 255, 0.06); color: var(--on-ink);
  font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .15s ease, background-color .15s ease;
}
.select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23EAF1EF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.select option { color: var(--ink); background: var(--enamel); }
.input::placeholder { color: rgba(234, 241, 239, 0.45); }
.input:hover, .select:hover { border-color: rgba(234, 241, 239, 0.45); }
.input:focus, .select:focus { border-color: var(--rose); background: rgba(255, 255, 255, 0.09); }
.input[aria-invalid="true"] { border-color: #FFB4B4; }
.error { color: #FFB4B4; font-size: 0.94rem; }
.msg { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(234, 241, 239, 0.16); border-radius: 20px; padding: 18px; }
@media (min-width: 960px) { .msg { position: sticky; top: calc(var(--header-h) + 28px); padding: 28px; } }
.msg-label { font-weight: 600; color: var(--on-ink-muted); font-size: 0.93rem; }
.msg-text { margin-top: 10px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.55; color: var(--on-ink); user-select: text; -webkit-user-select: text; }
.msg-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 479px) { .msg-actions .btn { flex: 1 1 100%; } }
.msg-status { margin-top: 10px; min-height: 1.5em; color: var(--rose); font-weight: 500; }
.msg-status:empty { min-height: 0; margin-top: 0; }
.msg-note { margin-top: 8px; color: var(--on-ink-muted); font-size: 0.93rem; }
.booking .link-btn { color: var(--rose); }

/* Onde estamos */
.local-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .local-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 5vw, 72px); align-items: center; } }
.local-foto { margin: 0; }
.local-foto img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center top; border-radius: 20px; background: var(--mist); }
@media (min-width: 900px) { .local-foto img { aspect-ratio: 4 / 5; } }
.address { margin-top: 14px; font-style: normal; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.95rem); line-height: 1.15; }
.address span { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--muted); }
.local-dica { margin-top: 10px; color: var(--muted); }
.loc-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.loc-actions .btn { flex: 1 1 auto; padding: 0 16px; }
@media (min-width: 560px) { .loc-actions .btn { flex: 0 1 auto; padding: 0 22px; } }
.local-dados { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--mist); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.local-dados dt { font-size: 0.8rem; color: var(--muted); }
.local-dados dd { margin: 2px 0 0; font-weight: 600; font-size: 0.95rem; }
.local-dados .largo { grid-column: 1 / -1; }

/* Dúvidas */
.faq { margin: 0; display: grid; gap: 18px; }
@media (min-width: 900px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; } }
.faq dt { font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.faq dd { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; max-width: 60ch; }

/* Odontograma (seção educativa) */
.educativo { background: var(--enamel); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.edu-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .edu-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; } }
.edu-copy { display: grid; gap: 10px; }
.edu-copy p { color: var(--muted); max-width: 46ch; }
.odonto { margin: 0 auto; width: 100%; max-width: 500px; }
.odonto-stage { position: relative; container-type: inline-size; }
.odonto-svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.gum-band { fill: none; stroke: var(--rose-soft); stroke-linecap: round; stroke-linejoin: round; }
.midline { stroke: var(--line); stroke-width: 1.2; stroke-linecap: round; }
.side-label { font: 500 11px var(--font-body); fill: var(--muted); text-anchor: middle; dominant-baseline: central; }
.tooth { cursor: pointer; outline: none; }
.tooth-body { fill: var(--enamel); stroke: var(--lagoon); stroke-width: 1.4; stroke-linejoin: round; transition: fill .15s ease; }
.tooth-detail { fill: none; stroke: var(--lagoon); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; opacity: .5; pointer-events: none; }
.is-siso .tooth-body { stroke-dasharray: 3.2 2.6; }
.tooth-num { font: 600 11px var(--font-body); font-variant-numeric: tabular-nums; fill: var(--muted); text-anchor: middle; dominant-baseline: central; }
@media (hover: hover) { .tooth:hover .tooth-body { fill: var(--rose-soft); } }
.tooth[aria-checked="true"] .tooth-body { fill: var(--rose); stroke: var(--ink); stroke-width: 1.8; }
.tooth[aria-checked="true"] .tooth-num { fill: var(--ink); font-weight: 800; }
.tooth:focus-visible .tooth-body { stroke: var(--ink); stroke-width: 2.8; }
.readout { position: absolute; left: 50%; top: 50.2%; width: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.readout-num { font-family: var(--font-display); font-weight: 500; font-size: 3.2rem; font-size: clamp(2.3rem, 15cqw, 4.4rem); line-height: 1; color: var(--lagoon); font-variant-numeric: lining-nums tabular-nums; }
.readout-name { margin-top: 6px; font-weight: 600; font-size: 0.95rem; font-size: clamp(0.82rem, 3.6cqw, 1.04rem); line-height: 1.3; text-wrap: balance; }
.readout-fact { margin-top: 6px; font-size: 0.8rem; font-size: clamp(0.72rem, 3cqw, 0.9rem); line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.odonto-foot { margin-top: 10px; text-align: center; }
.odonto-cta { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }

/* Páginas de tratamento */
.crumbs { padding-top: 16px; font-size: 0.9rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero { padding-block: 16px 8px; }
@media (min-width: 900px) { .page-hero { padding-block: 28px 16px; } }
.page-hero-grid { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); grid-template-areas: "copy media"; gap: clamp(40px, 5vw, 64px); align-items: center; }
  .page-hero-grid .page-copy { grid-area: copy; }
  .page-hero-grid .page-media { grid-area: media; }
}
.page-media { margin: 0; }
.page-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; background: var(--mist); }
@media (min-width: 900px) { .page-media img { border-radius: 24px; } }
.page-copy h1 { font-size: clamp(2rem, 1.45rem + 2.5vw, 3.3rem); line-height: 1.06; }
.page-lede { margin-top: 12px; max-width: 52ch; color: var(--muted); font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem); }
.page-copy .hero-actions { margin-top: 18px; }
.bloco + .bloco { border-top: 1px solid var(--mist); }
.duas-colunas { display: grid; gap: 18px; }
@media (min-width: 900px) { .duas-colunas { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; } }
.duas-colunas .section-head { margin-bottom: 0; }
.lista-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lista-check li { position: relative; padding-left: 30px; }
.lista-check li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--rose-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1.5 5.2l3 3 6-6.4' fill='none' stroke='%231D5C68' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 10px no-repeat;
}
.nota { margin-top: 14px; padding: 14px 16px; border-left: 3px solid var(--rose); background: var(--enamel); border-radius: 0 12px 12px 0; color: var(--muted); font-size: 0.95rem; }
.nota-alerta { border-left-color: var(--rose-deep); color: var(--ink); }
.etapas { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: etapa; }
@media (min-width: 760px) { .etapas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; } }
.etapa { position: relative; padding-left: 48px; }
.etapa::before {
  counter-increment: etapa; content: counter(etapa);
  position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid var(--lagoon); color: var(--lagoon);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1;
}
.etapa h3 { font-size: 1.04rem; }
.etapa p { margin-top: 2px; color: var(--muted); font-size: 0.95rem; }
.cta-faixa { background: var(--ink); color: var(--on-ink); border-radius: 22px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 14px; }
@media (min-width: 900px) { .cta-faixa { grid-template-columns: 1fr auto; align-items: center; gap: 32px; } }
.cta-faixa h2 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.2rem); }
.cta-faixa p { color: var(--on-ink-muted); margin-top: 6px; }
.cta-faixa a:not(.btn) { color: var(--rose); }
.cta-faixa .btn-rose { justify-self: start; }
.outros { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .outros { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.outros a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 18px;
  background: var(--enamel); border: 1px solid var(--mist); border-radius: 16px; color: var(--ink); font-weight: 600; text-decoration: none;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.outros a:hover { border-color: var(--lagoon); color: var(--lagoon); }
.outros .area { font-weight: 500; }

/* Texto corrido (política de privacidade) */
.texto { max-width: 70ch; }
.texto h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.texto h2 { margin-top: 32px; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); }
.texto p, .texto ul { margin-top: 12px; color: var(--ink); }
.texto ul { padding-left: 20px; }
.texto li + li { margin-top: 6px; }
.texto .atualizado { color: var(--muted); font-size: 0.95rem; }

/* Rodapé */
.site-footer { padding-block: 36px 96px; color: var(--muted); font-size: 0.93rem; border-top: 1px solid var(--mist); }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.1fr 1fr 0.9fr; gap: 40px; align-items: start; } }
.footer-grid p + p { margin-top: 4px; }
.footer-titulo { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.footer-brand { margin-bottom: 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-links a, .footer-links button { color: var(--ink); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; min-height: 36px; }
.footer-links a:hover, .footer-links button:hover { color: var(--lagoon); text-decoration: underline; }
.footer-links button { padding: 0; border: 0; background: none; font: inherit; font-weight: 500; cursor: pointer; }
.footer-copy { grid-column: 1 / -1; font-size: 0.86rem; padding-top: 16px; border-top: 1px solid var(--mist); }

/* Botão flutuante do WhatsApp */
.whats-flutuante {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 16px;
  border-radius: 999px; background: var(--lagoon); color: #FFFFFF; text-decoration: none;
  font: 600 0.96rem/1 var(--font-body);
  box-shadow: 0 10px 28px -12px rgba(14, 42, 51, 0.55), 0 2px 6px rgba(14, 42, 51, 0.12);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background-color .18s var(--ease);
}
.whats-flutuante:hover { background: var(--lagoon-dark); color: #FFFFFF; }
.whats-flutuante .ico-sm { width: 22px; height: 22px; }
.js .whats-flutuante:not(.visivel) { opacity: 0; transform: translateY(14px); visibility: hidden; pointer-events: none; }
.com-banner .whats-flutuante { bottom: calc(16px + var(--banner-h, 0px) + env(safe-area-inset-bottom, 0px)); }
@media (prefers-reduced-motion: reduce) { .whats-flutuante { transition: none; } }
@media print { .whats-flutuante, .cookies, .site-header { display: none !important; } }

/* Aviso de cookies (só aparece quando o Google Analytics estiver configurado) */
.cookies {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  max-width: 560px; margin-inline: auto; padding: 16px 18px;
  background: var(--enamel); border: 1px solid var(--mist); border-radius: 18px;
  box-shadow: 0 18px 40px -20px rgba(14, 42, 51, 0.5);
  display: grid; gap: 12px; font-size: 0.94rem;
}
.cookies p { color: var(--ink); }
.cookies-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.cookies-acoes .btn { flex: 1 1 auto; }

/* Odontograma: uma varredura quando a seção aparece na tela */
@media (prefers-reduced-motion: no-preference) {
  .varrer .tooth-body { animation: varredura .7s ease-in-out; animation-delay: .15s; }
  .varrer .p2 .tooth-body { animation-delay: .225s; }
  .varrer .p3 .tooth-body { animation-delay: .3s; }
  .varrer .p4 .tooth-body { animation-delay: .375s; }
  .varrer .p5 .tooth-body { animation-delay: .45s; }
  .varrer .p6 .tooth-body { animation-delay: .525s; }
  .varrer .p7 .tooth-body { animation-delay: .6s; }
  .varrer .p8 .tooth-body { animation-delay: .675s; }
}
@keyframes varredura { 0%, 100% { fill: var(--enamel); } 45% { fill: var(--rose); } }
