/* ==========================================================================
   Odonto Family — site da clínica
   Tokens do kit de design (Odonto_Family_Kit_Design/04_design_system).
   No computador as seções andam em pares lado a lado, como no layout
   aprovado; abaixo de 1200px cada uma ocupa a largura toda.
   ========================================================================== */

:root {
  --pri: #078ba8;          /* azul-clínico: ícones, destaques, texto grande */
  --pri-forte: #06718a;    /* botões e links (contraste AA com branco) */
  --pri-escuro: #055c70;
  --tinta: #152c4f;        /* títulos */
  --texto: #51637a;
  --suave: #5f7185;
  --branco: #fff;
  --fundo: #f8fcfe;
  --sup: #f1fafd;
  --sup-forte: #e3f5fa;
  --borda: #dcebf1;
  --borda-forte: #c4e0ea;
  --estrela: #f6a623;
  --zap: #25d366;
  --zap-escuro: #128c4a;
  --erro: #b93a26;

  --sombra-p: 0 4px 18px rgba(16, 57, 84, .055);
  --sombra-m: 0 14px 48px rgba(16, 57, 84, .095);
  --sombra-g: 0 40px 90px -30px rgba(9, 30, 52, .45);
  --r-p: 10px;
  --r-c: 18px;
  --r-g: 26px;

  --fonte: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --caixa: 1320px;
  --lateral: clamp(16px, 3vw, 40px);
  --topo-h: 64px;
  --mos-linha: 150px;
}
@media (min-width: 760px) { :root { --topo-h: 76px; } }

/* -------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* rede de segurança: nada empurra a página para o lado no celular.
   `clip` em vez de `hidden` porque `hidden` quebraria o topo grudento. */
html, body { overflow-x: clip; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--branco);
  color: var(--texto);
  font: 400 15px/1.6 var(--fonte);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
picture { display: contents; }
a { color: inherit; }
button { font-family: inherit; }
h1, h2, h3 { color: var(--tinta); margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
[id] { scroll-margin-top: calc(var(--topo-h) + 16px); }
:focus-visible { outline: 3px solid rgba(7, 139, 168, .55); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 22px; height: 22px; flex: none; }

.caixa { width: min(var(--caixa), 100% - 2 * var(--lateral)); margin-inline: auto; }

.pular {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 10px; background: var(--tinta); color: #fff;
  font-weight: 700; text-decoration: none;
}
.pular:focus { top: 12px; }

/* ----------------------------------------------------------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: var(--r-p); border: 1.5px solid transparent;
  font: 700 14px/1.15 var(--fonte); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn .ico { width: 18px; height: 18px; }
.btn-pri { background: var(--pri-forte); color: #fff; box-shadow: 0 10px 22px -12px rgba(6, 113, 138, .8); }
.btn-pri:hover { background: var(--pri-escuro); transform: translateY(-1px); box-shadow: 0 16px 28px -14px rgba(6, 113, 138, .85); }
.btn-sec { background: #fff; color: var(--pri-forte); border-color: #8fcadb; }
.btn-sec:hover { border-color: var(--pri); background: var(--sup); }
.btn-sec .ico { width: 13px; height: 13px; }
.btn-zap { background: var(--zap); color: #053d1c; }
.btn-zap:hover { background: #20c35c; }
.btn-p { padding: 10px 18px; font-size: 13px; }
.btn-largo { width: 100%; }
.ico-seta { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover .ico-seta, .btn-mini:hover .ico-seta, .link-seta:hover .ico-seta { transform: translateX(3px); }

.btn-mini {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 9px 15px; border: 1.5px solid #a3d4e2; border-radius: 9px; background: #fff;
  color: var(--pri-forte); font: 700 12.5px/1.15 var(--fonte); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: border-color .2s, background .2s;
}
.btn-mini:hover { border-color: var(--pri); background: var(--sup); }
.btn-mini-g { padding: 11px 20px; font-size: 13.5px; }

.link-seta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--pri-forte); text-decoration: none;
}
.link-seta .ico-seta { width: 15px; height: 15px; }

/* ------------------------------------------------------------ topo */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.topo.rolou { border-bottom-color: var(--borda); box-shadow: 0 8px 26px -22px rgba(16, 57, 84, .55); }
.topo-in { display: flex; align-items: center; gap: 18px; height: var(--topo-h); }

.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); flex: none; }
.marca img { height: 40px; width: auto; }
.marca-txt b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.marca-txt small { display: block; margin-top: 3px; font-size: 8.4px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--suave); }
@media (min-width: 760px) {
  .marca img { height: 46px; }
  .marca-txt b { font-size: 21px; }
  .marca-txt small { font-size: 9px; }
}

.menu { margin-inline: auto; display: none; }
.menu ul { display: flex; gap: clamp(14px, 1.6vw, 28px); list-style: none; margin: 0; padding: 0; }
.menu a {
  position: relative; display: block; padding: 10px 0;
  font-size: 13.5px; font-weight: 600; color: var(--texto); text-decoration: none; transition: color .2s;
}
.menu a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--pri); transform: scaleX(0); transition: transform .25s;
}
.menu a:hover, .menu a[aria-current="true"] { color: var(--pri-forte); }
.menu a[aria-current="true"]::after { transform: scaleX(1); }
.topo-cta { margin-left: auto; padding: 11px 18px; font-size: 13.5px; }

.menu-btn {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--borda-forte);
  background: #fff; color: var(--tinta); cursor: pointer;
}
.menu-btn-linhas, .menu-btn-linhas::before, .menu-btn-linhas::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s, background .2s;
}
.menu-btn-linhas { position: relative; }
.menu-btn-linhas::before, .menu-btn-linhas::after { content: ''; position: absolute; left: 0; }
.menu-btn-linhas::before { top: -6px; }
.menu-btn-linhas::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn-linhas { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn-linhas::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-linhas::after { transform: translateY(-6px) rotate(-45deg); }

.menu-movel {
  border-top: 1px solid var(--borda); background: #fff;
  box-shadow: 0 24px 40px -24px rgba(16, 57, 84, .45);
  max-height: calc(100dvh - var(--topo-h)); overflow: auto;
}
.menu-movel ul { list-style: none; margin: 0; padding: 6px 0; }
.menu-movel li a {
  display: block; padding: 13px 2px; border-bottom: 1px solid var(--sup-forte);
  font-size: 16px; font-weight: 700; color: var(--tinta); text-decoration: none;
}
.menu-movel li a[aria-current="true"] { color: var(--pri-forte); }
.menu-movel-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 0 18px; }
.menu-movel-acoes .btn { padding-inline: 12px; }

@media (max-width: 479px) { .topo-cta { display: none; } .menu-btn { margin-left: auto; } }
@media (min-width: 1180px) {
  .menu { display: block; }
  .topo-cta { margin-left: 0; }
  .menu-btn, .menu-movel { display: none !important; }
}

/* ------------------------------------------- linhas (pares de seções) */
.linha { display: grid; gap: 24px; margin-top: clamp(36px, 5vw, 56px); }
.linha-hero { margin-top: clamp(12px, 2vw, 20px); }
.linha > section { min-width: 0; }
@media (min-width: 1200px) {
  .linha-hero { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .linha-sobre { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .linha-galeria, .linha-depo { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); }
  .linha > :only-child { grid-column: 1 / -1; }
}

.painel {
  background: var(--branco); border: 1px solid var(--borda); border-radius: var(--r-g);
  box-shadow: var(--sombra-p); padding: clamp(20px, 2.3vw, 28px);
}

.cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.cab-txt { min-width: 0; flex: 1 1 260px; }
.cab h2, .sobre h2, .chegada h2 {
  font-size: clamp(1.4rem, 1.05rem + 1vw, 1.72rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em;
}
.sub { margin: 5px 0 0; font-size: 14px; line-height: 1.5; color: var(--texto); }

.chip-ico {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--sup-forte); color: var(--pri);
}
.chip-ico .ico { width: 20px; height: 20px; }

/* -------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-g); border: 1px solid var(--borda);
  background: linear-gradient(115deg, #fff 0%, #f5fbfd 40%, #e3f2f8 100%);
}
.hero-texto { position: relative; z-index: 2; padding: clamp(24px, 3.2vw, 44px) clamp(20px, 3vw, 40px) 26px; }
.sobretitulo { margin: 0 0 14px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }
.hero h1 { font-size: clamp(1.95rem, 1.3rem + 2.4vw, 2.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -.038em; }
.hero h1 .destaque { display: block; color: var(--pri); }
.hero-desc { max-width: 46ch; margin: 16px 0 0; font-size: 15px; line-height: 1.65; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.selos { display: flex; flex-wrap: wrap; gap: 14px 20px; list-style: none; margin: 26px 0 0; padding: 0; }
.selos li { display: flex; align-items: center; gap: 10px; font-size: 11.8px; font-weight: 600; line-height: 1.35; color: var(--texto); }
.selo-ico {
  width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--borda); color: var(--pri); box-shadow: var(--sombra-p);
}
.selo-ico .ico { width: 19px; height: 19px; }

.hero-midia { position: relative; height: clamp(230px, 56vw, 400px); margin: 0 12px 12px; border-radius: calc(var(--r-g) - 10px); overflow: hidden; }
.hero-midia img { width: 100%; height: 100%; object-fit: cover; }
.assinatura {
  position: absolute; top: 14px; right: 18px; z-index: 2; margin: 0; max-width: 150px;
  font: 500 clamp(21px, 2.1vw, 28px)/.95 'Caveat', 'Segoe Script', cursive; text-align: right;
  color: #fff; transform: rotate(-7deg); text-shadow: 0 2px 14px rgba(5, 40, 60, .45);
}
.assinatura svg { display: inline-block; width: 22px; height: 22px; vertical-align: -4px; }
.hero-cartao {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  display: flex; align-items: center; gap: 10px; max-width: 235px; margin: 0; padding: 9px 14px 9px 9px;
  border-radius: 14px; background: rgba(255, 255, 255, .95); box-shadow: var(--sombra-m);
  font-size: 11.8px; font-weight: 600; line-height: 1.4; color: var(--texto);
}
.hero-cartao-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--sup-forte); color: var(--pri); flex: none; }

@media (min-width: 960px) {
  .hero { display: flex; align-items: center; min-height: 440px; }
  .hero-texto { width: 58%; padding: 38px 12px 30px 40px; }
  .hero-midia { position: absolute; inset: 0 0 0 auto; z-index: 1; width: 55%; height: auto; margin: 0; border-radius: 0; }
  .hero-midia img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .5) 13%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .5) 13%, #000 30%);
  }
  .hero-desc { max-width: 42ch; font-size: 14.5px; }
  .hero .acoes { gap: 10px; }
  .hero .acoes .btn { padding: 11px 15px; font-size: 13px; gap: 8px; }
  .selos { gap: 12px 16px; }
  .selos li { font-size: 11.3px; gap: 8px; }
  .selo-ico { width: 34px; height: 34px; }
  .hero-cartao { right: 20px; bottom: 20px; }
  .assinatura { top: 22px; right: 26px; }
}
@media (min-width: 1200px) {
  .hero h1 { font-size: clamp(2rem, .75rem + 1.75vw, 2.55rem); }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .hero-texto { width: 61%; padding-left: 32px; padding-right: 8px; }
}

/* --------------------------------------------------------- dentistas */
.dentistas { display: flex; flex-direction: column; }
.dentistas .cab-txt { flex-basis: 190px; }
.dentistas-lista {
  list-style: none; margin: 0; padding: 0; flex: 1;
  display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
/*
 * Painel na largura toda: título à esquerda, cartões à direita.
 *
 * Começava em 640px com os cartões em 210px FIXOS — três deles mais o título
 * pedem 880px, então entre 640 e 880 a lista furava a tela pela direita. Agora
 * esse arranjo só entra quando há espaço, e os cartões podem encolher.
 */
@media (min-width: 900px) and (max-width: 1199px) {
  .dentistas { display: grid; grid-template-columns: minmax(180px, 1fr) auto; align-items: center; gap: 24px; }
  .dentistas .cab { flex-direction: column; align-items: flex-start; margin: 0; }
  .dentistas .cab-txt { flex-basis: auto; }
  .dentistas-lista { grid-template-columns: repeat(var(--qtd, 3), minmax(0, 210px)); }
}
/* até lá, os cartões ocupam a largura toda em duas colunas */
@media (min-width: 560px) and (max-width: 899px) {
  .dentistas-lista { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
}
@media (min-width: 1200px) {
  .dentistas-lista { grid-template-columns: repeat(var(--qtd, 3), minmax(0, 1fr)); }
  /* no painel largo o cartão é baixo: quadrado mantém o rosto sem esticar a linha */
  .dentista-foto { aspect-ratio: 1; }
}
.dentista {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 10px 10px 16px; border: 1px solid var(--borda); border-radius: var(--r-c); background: #fff;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.dentista:hover { box-shadow: var(--sombra-m); transform: translateY(-3px); border-color: var(--borda-forte); }
/* retrato é 3/4: caixa deitada cortava o rosto no celular */
.dentista-foto {
  position: relative; width: 100%; aspect-ratio: 3 / 4; flex: 1 0 auto; min-height: 0; margin-bottom: 12px; overflow: hidden;
  border-radius: 12px; background: linear-gradient(160deg, var(--sup-forte), var(--sup));
  display: grid; place-items: center;
}
.dentista-foto img { width: 100%; height: 100%; object-fit: cover; }
.dentista-inicial {
  width: 46%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--pri); box-shadow: var(--sombra-p);
  font-size: clamp(24px, 3vw, 38px); font-weight: 800; letter-spacing: -.04em;
}
.dentista h3 { font-size: 15px; font-weight: 800; line-height: 1.25; }
.dentista-area { margin: 5px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--texto); }
.dentista-cro { margin: 6px 0 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--suave); }
.dlg-dent-topo .dentista-foto { flex: none; }

/* ------------------------------------------------------- tratamentos */
.tratamentos { margin-top: clamp(40px, 5vw, 56px); }
.trat-lista {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) { .trat-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .trat-lista { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .trat-lista { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.trat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 22px 12px 18px; background: #fff; border: 1px solid var(--borda); border-radius: var(--r-c);
  box-shadow: var(--sombra-p); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.trat:hover { transform: translateY(-4px); box-shadow: var(--sombra-m); border-color: var(--borda-forte); }
.trat-ico {
  width: 58px; height: 58px; border-radius: 50%; flex: none; margin-bottom: 14px;
  display: grid; place-items: center; background: var(--sup-forte); color: var(--pri);
  box-shadow: inset 0 0 0 5px #f6fcfe;
}
.trat-ico .ico { width: 28px; height: 28px; }
.trat h3 { font-size: 15px; font-weight: 800; line-height: 1.25; }
.trat p { margin: 8px 0 14px; font-size: 12.6px; line-height: 1.5; }
.trat .link-seta { margin-top: auto; }
.trat-lista:not(.aberta) .extra { display: none; }
.trat-foto { position: relative; display: none; overflow: hidden; border-radius: var(--r-c); border: 1px solid var(--borda); background: var(--sup); min-height: 200px; }
.trat-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trat-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 30, 48, .15), transparent 35%, transparent 55%, rgba(5, 30, 48, .7)); }
.trat-foto-ico {
  position: absolute; top: 16px; left: 50%; z-index: 1; transform: translateX(-50%);
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .94); color: var(--pri); box-shadow: var(--sombra-m);
}
.trat-foto-legenda { position: absolute; left: 10px; right: 10px; bottom: 14px; z-index: 1; color: #fff; font-size: 12.5px; font-weight: 700; text-align: center; }
@media (min-width: 1000px) { .trat-foto { display: block; } }

/* -------------------------------------------------------------- sobre */
.sobre { display: grid; padding: 0; overflow: hidden; }
.sobre-texto { padding: clamp(22px, 2.5vw, 30px); }
.sobre-texto p:not(.sub) { margin: 14px 0 0; font-size: 14.2px; line-height: 1.7; }
.sobre-texto .btn-mini { margin-top: 20px; }
.sobre-midia { position: relative; min-height: 260px; margin: 0 12px; border-radius: var(--r-c); overflow: hidden; background: var(--sup); }
.sobre-midia img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sobre-play {
  position: absolute; left: 12px; bottom: 12px; z-index: 1;
  display: flex; align-items: center; gap: 11px; padding: 7px 18px 7px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .95); color: var(--tinta); text-decoration: none; box-shadow: var(--sombra-m);
  transition: transform .2s;
}
.sobre-play:hover { transform: translateY(-2px); }
.sobre-play b { display: block; font-size: 13px; font-weight: 800; }
.sobre-play small { display: block; font-size: 11.3px; font-weight: 600; color: var(--suave); }
.play-bola {
  position: relative; width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--pri-forte); color: #fff;
}
.play-bola .ico { width: 17px; height: 17px; margin-left: 2px; }
.sobre-destaques {
  list-style: none; margin: 0; padding: 16px clamp(18px, 2.4vw, 28px) 20px;
  display: grid; gap: 14px 16px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sobre-destaques li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sobre-destaques b { display: block; font-size: 12.6px; font-weight: 800; line-height: 1.25; color: var(--pri-forte); }
.sobre-destaques small { display: block; font-size: 11.3px; line-height: 1.35; color: var(--texto); }
@media (min-width: 760px) {
  .sobre { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
  .sobre-texto p:not(.sub) { font-size: 13.8px; line-height: 1.65; }
  .sobre-midia { margin: 12px 12px 0 0; min-height: 0; }
  .sobre-destaques { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--borda); margin-top: 12px; }
}

/* -------------------------------------------------------- atendimento */
.atendimento { display: flex; flex-direction: column; background: linear-gradient(170deg, var(--sup) 0%, #fff 75%); }
.etapas { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.etapa {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 22px 10px 18px; background: #fff; border: 1px solid var(--borda); border-radius: 16px;
}
.atend-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px;
  margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px dashed var(--borda-forte);
}
.atend-cta p { margin: 0; flex: 1 1 220px; font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--tinta); }
.etapa-num {
  position: absolute; top: 10px; left: 10px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pri-forte); color: #fff; font-size: 12px; font-weight: 800;
}
.etapa-ico { width: 54px; height: 54px; border-radius: 50%; margin-bottom: 12px; display: grid; place-items: center; background: var(--sup-forte); color: var(--pri); }
.etapa-ico .ico { width: 26px; height: 26px; }
.etapa h3 { font-size: 13.6px; font-weight: 800; line-height: 1.3; }
.etapa p { margin: 6px 0 0; font-size: 12.3px; line-height: 1.5; }
@media (min-width: 640px) {
  .etapas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .etapa:not(:last-child)::after {
    content: ''; position: absolute; top: 46px; right: -17px; width: 18px; height: 0;
    border-top: 2px dotted var(--pri); z-index: 1;
  }
  .etapa:not(:last-child)::before {
    content: ''; position: absolute; top: 43px; right: -11px; width: 8px; height: 8px; border-radius: 50%;
    background: var(--pri); z-index: 2;
  }
}

/* ----------------------------------------------------------- galeria */
.mosaico {
  display: grid; gap: 10px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, var(--mos-linha));
}
@media (min-width: 640px) { .linha-galeria { --mos-linha: clamp(150px, 19vw, 220px); } }
@media (min-width: 1200px) { .linha-galeria { --mos-linha: clamp(140px, 11.4vw, 178px); } }
.mos-grande { grid-column: 1 / span 6; grid-row: 1 / span 2; }
.mos-item:not(.mos-grande) { grid-column: span var(--span, 3); grid-row: var(--linha, auto); }
.mos-item, .equipe-foto {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  border-radius: 14px; background: var(--sup); cursor: zoom-in;
}
.mos-item img, .equipe-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.mos-item:hover img, .equipe-foto:hover img { transform: scale(1.05); }
.mos-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 28, 46, .42)); pointer-events: none; }
.mos-legenda {
  position: absolute; left: 8px; bottom: 8px; z-index: 1; max-width: calc(100% - 16px);
  padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .95);
  font-size: 10.8px; font-weight: 700; line-height: 1.15; color: var(--tinta);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mos-ultima .mos-legenda { display: none; }
.mos-zoom {
  position: absolute; top: 9px; right: 9px; z-index: 1; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--tinta);
  opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s;
}
.mos-zoom .ico { width: 18px; height: 18px; }
.mos-item:hover .mos-zoom, .mos-item:focus-visible .mos-zoom,
.equipe-foto:hover .mos-zoom, .equipe-foto:focus-visible .mos-zoom { opacity: 1; transform: none; }
.mos-mais {
  position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center;
  background: rgba(10, 34, 56, .58); color: #fff; font-size: 12px; font-weight: 600;
}
.mos-mais b { display: block; font-size: 26px; font-weight: 800; line-height: 1; }
.mos-mais-movel { display: none; }
@media (max-width: 639px) {
  .mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 132px; }
  .mos-grande { grid-column: 1 / -1; grid-row: span 2; }
  .mos-item:not(.mos-grande) { grid-column: span 1; grid-row: auto; }
  /* no celular cabem 4 menores (2x2); a 5ª esconde e o "+N" passa para a 4ª */
  .mosaico[data-pequenas="5"] .mos-item:nth-child(6) { display: none; }
  .mosaico[data-pequenas="5"] .mos-mais-movel { display: grid; }
  .mosaico[data-pequenas="5"] .mos-item:nth-child(5) .mos-zoom,
  .mos-ultima-movel .mos-legenda { display: none; }
  .mosaico[data-pequenas="3"] .mos-item:nth-child(4) { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------ equipe */
.equipe-foto { aspect-ratio: 16 / 9; }
@media (min-width: 1200px) { .equipe-foto { aspect-ratio: auto; height: calc(2 * var(--mos-linha) + 10px); } }
.equipe-destaques {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; gap: 12px 14px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) { .equipe-destaques { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.equipe-destaques li { display: flex; align-items: center; gap: 9px; font-size: 11.6px; font-weight: 600; line-height: 1.35; color: var(--texto); }
.equipe-destaques .chip-ico { width: 34px; height: 34px; }
.equipe-destaques .chip-ico .ico { width: 18px; height: 18px; }

/* ------------------------------------------------------- depoimentos */
.carrossel { position: relative; }
.depo-lista {
  list-style: none; margin: -6px -4px 0; padding: 6px 4px 10px;
  display: grid; grid-auto-flow: column; gap: 14px;
  grid-auto-columns: 86%;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.depo-lista::-webkit-scrollbar { display: none; }
@media (min-width: 560px) { .depo-lista { grid-auto-columns: calc((100% - 14px) / 2); } }
@media (min-width: 900px) { .depo-lista { grid-auto-columns: calc((100% - 28px) / 3); } }
.depo { scroll-snap-align: start; min-width: 0; }
.depo figure {
  margin: 0; height: 100%; display: flex; flex-direction: column;
  padding: 18px 18px 16px; background: #fff; border: 1px solid var(--borda); border-radius: var(--r-c); box-shadow: var(--sombra-p);
}
.depo-aspas { display: block; height: 24px; font: 700 50px/1 Georgia, 'Times New Roman', serif; color: var(--pri); }
.depo blockquote { margin: 10px 0 0; }
.depo blockquote p { margin: 0; font-size: 13.4px; line-height: 1.62; color: var(--tinta); }
.depo-nota { display: flex; gap: 2px; margin: 14px 0 0; color: var(--estrela); }
.depo-nota .ico { width: 17px; height: 17px; }
.depo-nota .apagada { color: #e3e8ee; }
.depo-quem { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; }
.depo-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.depo-inicial { display: grid; place-items: center; background: linear-gradient(140deg, var(--pri), var(--pri-escuro)); color: #fff; font-size: 14px; font-weight: 800; }
.depo-quem b { display: block; font-size: 13.2px; font-weight: 800; line-height: 1.25; color: var(--tinta); }
.depo-quem small { display: block; font-size: 11.3px; color: var(--suave); }
.depo-video { position: relative; display: block; margin-top: 10px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #0d2236; }
.depo-video img { width: 100%; height: 100%; object-fit: cover; }
.depo-video .play-bola { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.carrossel-ctrl { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.carrossel-ctrl[hidden] { display: none; }
.carrossel-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid var(--borda-forte); background: #fff; color: var(--pri-forte); transition: background .2s, opacity .2s;
}
.carrossel-btn .ico { width: 18px; height: 18px; }
.carrossel-btn:hover:not(:disabled) { background: var(--sup); }
.carrossel-btn:disabled { opacity: .4; cursor: default; }

/* ----------------------------------------------------------- chegada */
.chegada { display: grid; gap: 20px; background: linear-gradient(155deg, var(--sup) 0%, #fff 72%); }
@media (min-width: 760px) {
  .chegada { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  /* o vídeo cresce até a altura do cartão de localização ao lado */
  .chegada-video { display: flex; flex-direction: column; }
  .chegada-video .video-card { flex: 1; aspect-ratio: auto; min-height: 240px; }
}
.chegada-sub { margin: 3px 0 0; font-size: 16px; font-weight: 700; color: var(--pri-forte); }
.chegada-txt { margin: 10px 0 16px; font-size: 13.6px; line-height: 1.6; }
.video-card {
  position: relative; display: block; aspect-ratio: 16 / 10.5; overflow: hidden; isolation: isolate;
  border-radius: var(--r-c); background: #0d2236; box-shadow: var(--sombra-m); color: #fff;
}
.video-fundo img {
  position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); max-width: none;
  object-fit: cover; filter: blur(16px) brightness(.72) saturate(1.15);
}
.video-capa { position: absolute; inset: 0; display: flex; justify-content: center; }
.video-capa img { height: 100%; width: auto; max-width: none; box-shadow: 0 0 40px rgba(0, 0, 0, .35); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.video-card:hover .video-capa img { transform: scale(1.03); }
.video-play {
  position: absolute; top: 46%; left: 50%; z-index: 2; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .96); color: var(--pri-forte); box-shadow: 0 12px 30px rgba(0, 0, 0, .32);
  transition: transform .25s;
}
.video-play::before {
  content: ''; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .7); animation: pulso 2.4s ease-out infinite;
}
.video-play .ico { width: 26px; height: 26px; margin-left: 4px; }
.video-card:hover .video-play { transform: translate(-50%, -50%) scale(1.07); }
@keyframes pulso { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.video-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(4, 18, 32, .86));
}
.video-info-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); flex: none; }
.video-info-ico .ico { width: 13px; height: 13px; margin-left: 2px; }
.video-info b { display: block; font-size: 13px; font-weight: 800; }
.video-info small { display: block; font-size: 11.3px; opacity: .85; }

.chegada-local {
  display: flex; flex-direction: column; padding: 18px;
  background: #fff; border: 1px solid var(--borda); border-radius: var(--r-c);
}
.chegada-local h3 { font-size: 15px; font-weight: 800; }
.chegada-local > p { margin: 6px 0 14px; font-size: 12.8px; line-height: 1.55; }
.endereco { display: flex; gap: 10px; font-style: normal; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--tinta); }
.endereco .ico { width: 22px; height: 22px; color: var(--pri); margin-top: 1px; }
.local-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 14px 0; }
.link-waze { font-size: 12.5px; font-weight: 700; color: var(--pri-forte); text-underline-offset: 3px; }
.mapa { flex: 1; min-height: 170px; overflow: hidden; border-radius: 12px; border: 1px solid var(--borda); background: var(--sup); }
.mapa iframe { display: block; width: 100%; height: 100%; min-height: 170px; border: 0; }

/* ---------------------------------------------------------------- faq */
.faq { margin-top: clamp(40px, 5vw, 56px); }
.faq-lista { display: grid; gap: 10px; }
@media (min-width: 900px) { .faq-lista { grid-template-columns: 1fr 1fr; align-items: start; } }
.faq-item { background: #fff; border: 1px solid var(--borda); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--borda-forte); box-shadow: var(--sombra-p); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer; padding: 16px 48px 16px 18px;
  font-size: 14.3px; font-weight: 700; color: var(--tinta);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--pri); border-bottom: 2px solid var(--pri);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item p { margin: 0; padding: 0 18px 16px; font-size: 13.8px; line-height: 1.65; }

/* -------------------------------------------------------- agendamento */
.agendamento {
  position: relative; overflow: hidden; margin-top: clamp(44px, 6vw, 68px);
  padding: clamp(26px, 4vw, 38px) 0;
  background: linear-gradient(100deg, #e7f4f9 0%, #f4fafd 52%, #e9f5fa 100%);
  border-block: 1px solid var(--borda);
}
.agenda-grade { display: grid; gap: 20px; }
/* a foto só aparecia a partir de 1200px — no celular a seção ficava sem ela */
.agenda-foto {
  position: relative; overflow: hidden; border-radius: var(--r-c); box-shadow: var(--sombra-m);
  aspect-ratio: 1; max-width: 420px; margin-inline: auto; width: 100%;
}
/* na coluna do tablet a caixa já é estreita: deitada, a pessoa some */
@media (min-width: 560px) { .agenda-foto { aspect-ratio: 4 / 5; max-width: 360px; } }
.agenda-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* empilhado, o título vem antes da foto: é ele que diz do que a seção trata */
@media (max-width: 1199px) { .agenda-intro { order: -1; } }
.agenda-intro h2 { font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.05rem); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; }
.agenda-intro h2 .destaque { display: block; color: var(--pri); }
.agenda-intro > p { margin: 10px 0 0; font-size: 14.3px; line-height: 1.6; }
.vantagens { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 18px; }
.vantagens li { display: flex; align-items: center; gap: 9px; font-size: 11.6px; font-weight: 600; line-height: 1.35; }
.vantagens .chip-ico { width: 34px; height: 34px; background: #fff; border: 1px solid var(--borda); }
.vantagens .chip-ico .ico { width: 18px; height: 18px; }

.form-agenda { padding: 20px; background: #fff; border: 1px solid var(--borda); border-radius: var(--r-c); box-shadow: var(--sombra-m); }
.form-agenda h3 { font-size: 15px; font-weight: 800; }
.form-sub { margin: 3px 0 14px; font-size: 12.4px; color: var(--suave); }
.campos { display: grid; gap: 10px 12px; }
@media (min-width: 480px) { .campos { grid-template-columns: 1fr 1fr; } .campo-largo { grid-column: 1 / -1; } }
.campo { min-width: 0; }
.campo label { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 700; color: var(--tinta); }
.campo label small { font-weight: 500; color: var(--suave); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 42px; padding: 10px 12px;
  font: 500 14px/1.3 var(--fonte); color: var(--tinta);
  background: #fbfdfe; border: 1px solid var(--borda-forte); border-radius: 9px;
  transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.campo input::placeholder, .campo textarea::placeholder { color: #8796a6; }
.campo select {
  padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306718a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 16px;
}
.campo textarea { min-height: 60px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--pri); background: #fff; box-shadow: 0 0 0 3px rgba(7, 139, 168, .16); }
.campo [aria-invalid="true"] { border-color: var(--erro); box-shadow: 0 0 0 3px rgba(185, 58, 38, .12); }
.campo-erro { margin: 5px 0 0; font-size: 11.8px; font-weight: 600; color: var(--erro); }
.form-agenda .btn-largo { margin-top: 14px; }
.agenda-grade > * { min-width: 0; }
.btn-largo { white-space: normal; text-align: center; }
@media (max-width: 759px) { .video-card { aspect-ratio: 1 / 1; } }
.form-nota { display: flex; gap: 7px; align-items: flex-start; margin: 10px 0 0; font-size: 11.4px; line-height: 1.45; color: var(--suave); }
.form-nota .ico { width: 15px; height: 15px; margin-top: 1px; color: var(--zap-escuro); }
.form-status { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #eaf8f0; border: 1px solid #bfe8cf; color: #14532d; font-size: 13px; line-height: 1.5; }
.form-status a { font-weight: 700; color: #0f5132; }

.zap-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--borda); border-radius: var(--r-c); box-shadow: var(--sombra-p); }
.zap-card-topo { display: flex; align-items: center; gap: 12px; }
.zap-bola { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--zap); color: #fff; flex: none; }
.zap-bola .ico { width: 25px; height: 25px; }
.zap-card p { margin: 0; font-size: 12.4px; line-height: 1.35; color: var(--texto); }
.zap-card p b { display: block; margin-top: 2px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--tinta); }
.horarios { margin: 0; display: grid; gap: 6px; font-size: 12.4px; }
.horarios div { display: flex; justify-content: space-between; gap: 10px; padding-top: 7px; border-top: 1px dashed var(--borda-forte); }
.horarios dt { color: var(--texto); }
.horarios dd { margin: 0; font-weight: 700; color: var(--tinta); white-space: nowrap; }

@media (min-width: 760px) {
  .agenda-grade { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
  .agenda-intro { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  .agenda-grade { grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, .92fr); align-items: center; gap: 24px; }
  .agenda-intro { grid-column: auto; }
  .agenda-foto { align-self: stretch; aspect-ratio: auto; max-width: none; min-height: 270px; }
  .zap-card { align-self: center; }
}

/* ------------------------------------------------------------- rodapé */
.rodape { padding: clamp(30px, 4vw, 44px) 0 0; background: #fff; }
.rodape-grade { display: grid; gap: 28px; }
@media (min-width: 640px) { .rodape-grade { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .rodape-grade { grid-template-columns: 1.3fr .95fr 1fr 1.15fr; } }
.rod-marca > p { max-width: 36ch; margin: 12px 0 0; font-size: 13px; line-height: 1.6; }
.sociais { display: flex; gap: 8px; margin-top: 14px; }
.sociais a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--borda-forte); color: var(--tinta); transition: color .2s, border-color .2s, background .2s;
}
.sociais a:hover { color: var(--pri-forte); border-color: var(--pri); background: var(--sup); }
.sociais .ico { width: 18px; height: 18px; }
.rod-tit { margin: 0 0 10px; font-size: 13px; font-weight: 800; color: var(--tinta); }
.rod-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rod-2col { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.rod-col a { font-size: 12.8px; color: var(--texto); text-decoration: none; transition: color .2s; }
.rod-col a:hover { color: var(--pri-forte); text-decoration: underline; text-underline-offset: 3px; }
.rod-contato li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.8px; }
.rod-contato .ico { width: 16px; height: 16px; margin-top: 2px; color: var(--pri); }
.horarios-rodape { margin-top: 14px; max-width: 280px; }
.rodape-fim {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  margin-top: 30px; padding: 18px 0 22px; border-top: 1px solid var(--borda);
  font-size: 12px; color: var(--suave);
}
.rodape-fim p { margin: 0; line-height: 1.6; }
.rodape-fim-acoes { display: flex; align-items: center; gap: 18px; }
.link-discreto {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 12px var(--fonte); color: var(--texto); text-decoration: underline; text-underline-offset: 3px;
}

/* ---------------------------------------- barra do celular e flutuante */
.barra-movel {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--borda); box-shadow: 0 -12px 30px -22px rgba(16, 57, 84, .5);
  transform: translateY(110%); transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.barra-movel.visivel { transform: none; }
.barra-movel .btn { flex: 1; }
.barra-zap { width: 48px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--zap); color: #fff; }
.barra-zap .ico { width: 25px; height: 25px; }
@media (max-width: 759px) { body { padding-bottom: 70px; } }
@media (min-width: 760px) { .barra-movel { display: none; } }

.zap-flutua {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; display: none; align-items: center;
  padding: 13px; border-radius: 999px; background: var(--zap); color: #053d1c; text-decoration: none;
  font-size: 14px; font-weight: 800; box-shadow: 0 16px 34px -14px rgba(18, 140, 74, .85);
  transform: translateY(130px); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.zap-flutua.visivel { transform: none; }
.zap-flutua .ico { width: 26px; height: 26px; color: #fff; }
.zap-flutua span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s, margin .3s; }
.zap-flutua:hover span, .zap-flutua:focus-visible span { max-width: 140px; margin: 0 6px 0 10px; }
@media (min-width: 760px) { .zap-flutua { display: flex; } }

/* ----------------------------------------------------------- diálogos */
dialog { padding: 0; border: 0; color: inherit; }
dialog::backdrop { background: rgba(8, 24, 42, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dlg {
  width: min(560px, 100% - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  padding: 28px; border-radius: var(--r-g); background: #fff; box-shadow: var(--sombra-g);
}
.dlg[open], .lightbox[open], .player[open] { animation: entra .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes entra { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.dlg-fechar {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; border: 1px solid var(--borda); background: #fff; color: var(--tinta);
}
.dlg-fechar .ico { width: 18px; height: 18px; }
.dlg h2 { margin: 14px 0 0; padding-right: 40px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.dlg .trat-ico { margin: 0; }
.dlg-texto p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.7; }
.dlg-texto a { color: var(--pri-forte); font-weight: 700; }
.dlg-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dlg-dent-topo { display: flex; gap: 16px; align-items: center; }
.dlg-dent-topo .dentista-foto { width: 110px; flex: none; margin: 0; }
.dlg-dent-topo h2 { margin: 0; }

.lightbox {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  background: rgba(5, 14, 26, .95); color: #fff;
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lightbox::backdrop { background: transparent; }
.lb-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.lb-contador { margin: 0; font-size: 13px; font-weight: 700; opacity: .85; }
.lb-fechar {
  width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; margin-left: auto;
}
.lb-fechar:hover { background: rgba(255, 255, 255, .24); }
.lb-figura {
  margin: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 clamp(12px, 8vw, 100px) 22px; touch-action: pan-y;
}
.lb-img {
  width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 140px);
  object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transition: opacity .2s;
}
.lb-legenda { margin-top: 14px; font-size: 14px; font-weight: 700; text-align: center; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%;
  border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, .14); color: #fff;
}
.lb-nav:hover { background: rgba(255, 255, 255, .26); }
.lb-nav[hidden] { display: none; }
.lb-ant { left: clamp(8px, 2vw, 26px); }
.lb-prox { right: clamp(8px, 2vw, 26px); }
@media (max-width: 639px) {
  .lb-figura { padding-bottom: 84px; }
  .lb-img { max-height: calc(100dvh - 200px); }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
  .lb-ant { left: calc(50% - 62px); }
  .lb-prox { right: calc(50% - 62px); }
}

.player { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow: hidden; border-radius: 18px; background: #000; box-shadow: var(--sombra-g); }
.player[open] { display: flex; flex-direction: column; }
.player-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; background: #0b1724; color: #fff; }
.player-titulo { margin: 0; font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-video {
  --prop: 1.7778;
  display: block; background: #000; aspect-ratio: var(--prop);
  width: min(calc(100vw - 24px), calc((100dvh - 96px) * var(--prop)), 1100px); height: auto;
}

/* ---------------------------------------------------------- reserva */
.foto-vazia {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; color: var(--suave);
  background: repeating-linear-gradient(45deg, var(--sup), var(--sup) 10px, #fff 10px, #fff 20px);
}

/* ---------------------------------------------------------- animações */
.revela { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.revela.visivel { opacity: 1; transform: none; }
@keyframes sobe { from { opacity: 0; transform: translateY(16px); } }
@keyframes aparece { from { opacity: 0; } }
.hero-texto > * { animation: sobe .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-texto > :nth-child(2) { animation-delay: .06s; }
.hero-texto > :nth-child(3) { animation-delay: .12s; }
.hero-texto > :nth-child(4) { animation-delay: .18s; }
.hero-texto > :nth-child(5) { animation-delay: .24s; }
.hero-midia { animation: aparece 1.1s ease both .1s; }
.hero-cartao { animation: sobe .8s cubic-bezier(.2, .7, .2, 1) both .5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .revela { opacity: 1; transform: none; }
}
