/* Dra. Márcia Todo · site · direção A, "O olhar em primeiro plano"
   Regras da página:
   - Uma cor de marca (verde) e neutros frios; nenhum dourado ou enfeite.
   - Títulos em Newsreader leve; texto em Hanken Grotesk, 17 px.
   - Formas: botões em pílula, imagens com cantos de 4 px, nada mais arredondado.
   - Mobile primeiro (390 px). */

:root {
  --verde: #0E2D28;
  --verde-2: #173E37;
  --verde-3: #24564C;
  --verde-texto: #C8D7D1;
  --papel: #F3F3F0;
  --branco: #FBFBFA;
  --tinta: #141B19;
  --tinta-2: #4E5A56;
  --linha: #D8DCD8;
  --linha-escura: rgba(200, 215, 209, .22);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --largura: 76rem;
  --margem: var(--gutter);
  --topo-h: 64px;
  --raio: 4px;
}

/* Resets sempre dentro de :where() para não vencer componentes */
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(html) { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 8px); -webkit-text-size-adjust: 100%; }
:where(body) { margin: 0; }
:where(h1, h2, h3, p, ul, dl, dd, figure, blockquote) { margin: 0; }
:where(ul) { padding: 0; list-style: none; }
:where(img, svg, iframe) { display: block; max-width: 100%; }
:where(img) { height: auto; }
:where(a) { color: inherit; }
:where(button) { font: inherit; }
[hidden] { display: none !important; }

body {
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }

h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 7.6vw, 3.4rem); }
.cabeca { display: grid; gap: .5rem; margin-bottom: 2rem; }
.cabeca__sub { color: var(--tinta-2); font-size: 1rem; max-width: 52ch; }
.sobretitulo { font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Botões e links de conversão ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.6rem; border: 0; border-radius: 999px;
  font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.btn[data-wa]::before, .link-wa::before {
  content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: url("../img/icone-whatsapp.svg") center / contain no-repeat;
          mask: url("../img/icone-whatsapp.svg") center / contain no-repeat;
}
.btn--escuro { background: var(--verde); color: var(--branco); }
.btn--escuro:hover { background: var(--verde-3); transform: translateY(-1px); }
.btn--claro { background: var(--branco); color: var(--verde); }
.btn--claro:hover { background: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--verde-3); outline-offset: 3px; }
.btn--pequeno { min-height: 44px; padding: 0 1.1rem; font-size: .95rem; }

.link-wa {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; margin-top: 1.2rem;
  font-weight: 600; color: var(--verde); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.link-wa:hover { color: var(--verde-3); }

/* ---------- Cabeçalho ---------- */
.topo {
  position: sticky; top: 0; z-index: 40;
  height: var(--topo-h);
  display: flex; align-items: center; gap: 1rem;
  padding: 0 var(--margem);
  background: var(--verde);
}
.topo__logo { display: block; margin-right: auto; }
.topo__logo img { height: 44px; width: auto; mix-blend-mode: screen; }
.topo__nav, .topo__cta { display: none; }
.topo__menu {
  width: 48px; height: 48px; margin-right: -10px;
  display: grid; place-content: center; gap: 7px;
  background: none; border: 0; cursor: pointer;
}
.topo__menu span { display: block; width: 26px; height: 1.5px; background: var(--branco); }
.topo__menu span:last-child { width: 18px; margin-left: auto; }

.gaveta {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2rem;
  padding: 88px var(--gutter) 32px;
  background: var(--verde); color: var(--branco);
}
.gaveta nav { display: flex; flex-direction: column; width: 100%; }
.gaveta nav a { font-family: var(--serif); font-weight: 300; font-size: 1.9rem; text-decoration: none; padding: .6rem 0; border-bottom: 1px solid var(--linha-escura); }
.gaveta__fechar { position: absolute; top: 8px; right: 10px; width: 48px; height: 48px; display: grid; place-content: center; background: none; border: 0; cursor: pointer; }
.gaveta__fechar svg { width: 28px; height: 28px; stroke: var(--branco); stroke-width: 1.5; fill: none; stroke-linecap: round; }

/* ---------- Hero ---------- */
.hero { display: grid; background: var(--papel); }
.hero__foto { height: min(44svh, 440px); overflow: hidden; }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.hero__texto { padding: 1.6rem var(--gutter) 2.4rem; display: grid; gap: 1rem; justify-items: start; }
.hero__assinatura { display: grid; gap: .1rem; font-size: .9rem; color: var(--tinta-2); line-height: 1.45; }
.hero__nome { font-family: var(--serif); font-size: 1.35rem; color: var(--tinta); }
.hero__titulo { font-size: clamp(1.9rem, 7.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 17em; }
.hero__sub { color: var(--tinta-2); max-width: 34ch; margin-bottom: .4rem; }

.faixa-areas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem;
  padding: 1rem var(--margem);
  border-block: 1px solid var(--linha);
  font-size: .92rem; color: var(--tinta-2);
}
.faixa-areas ul { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; }
.faixa-areas li { color: var(--tinta); }

/* ---------- Avaliações ---------- */
.avaliacoes { padding: 2.5rem var(--gutter) 1.5rem; }
.avaliacoes__moldura { max-width: var(--largura); margin: 0 auto; }
.avaliacoes iframe { width: 100%; min-width: 100%; min-height: 280px; border: 0; }

/* ---------- Especialidades: índice tipográfico ---------- */
.especialidades { padding: 3.5rem var(--margem) 4.5rem; display: grid; gap: 2.5rem; }
.especialidades__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio); }
.indice { border-top: 1px solid var(--tinta); }
.indice a {
  display: grid; gap: .25rem; padding: 1.15rem 0;
  border-bottom: 1px solid var(--linha); text-decoration: none;
  transition: padding-left .25s ease;
}
.indice a:hover { padding-left: .5rem; }
.indice__nome { font-family: var(--serif); font-weight: 300; font-size: 1.7rem; line-height: 1.15; }
.indice__desc { color: var(--tinta-2); font-size: .97rem; line-height: 1.5; }
.indice__mais { font-size: .9rem; font-weight: 600; color: var(--verde); white-space: nowrap; }
.tambem { margin: 2.5rem 0 2.2rem; }
.tambem h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.tambem ul { columns: 2; column-gap: 1.6rem; font-size: .95rem; color: var(--tinta-2); line-height: 1.45; }
.tambem li { break-inside: avoid; padding: .35rem 0; }

/* ---------- Conheça ---------- */
.conheca { padding: 4rem var(--margem); background: var(--branco); display: grid; gap: 2.2rem; justify-items: center; }
.conheca__foto { width: 100%; }
.conheca__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 10%; border-radius: var(--raio); }
.conheca__texto { display: grid; gap: 1rem; max-width: 36rem; }
.conheca__texto .cabeca__sub { font-style: italic; font-family: var(--serif); font-size: 1.2rem; color: var(--tinta-2); }
.formacao { border-top: 1px solid var(--tinta); margin-top: .6rem; }
.formacao li { padding: .7rem 0; border-bottom: 1px solid var(--linha); line-height: 1.45; }

/* ---------- Vídeo vertical (arquivo 16:9 com imagem vertical) ---------- */
.video-vertical {
  position: relative; flex: none;
  width: 240px; height: 427px;
  border-radius: var(--raio); overflow: hidden;
  /* A capa do YouTube é 16:9 com o vídeo vertical no meio: ampliada e presa no topo, a legenda queimada desce para baixo do título */
  background: var(--verde) 50% 0 / auto 180% no-repeat;
}
.video-vertical button {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  background: linear-gradient(to top, rgba(14, 45, 40, .8), transparent 45%);
  color: var(--branco); display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.3rem; font-family: var(--serif); font-size: 1.2rem;
}
.video-vertical button::before {
  content: ""; width: 58px; height: 58px; border-radius: 50%;
  position: absolute; top: 68%; left: 50%; translate: -50% -50%;
  background: rgba(251, 251, 250, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%230E2D28'/%3E%3C/svg%3E") 55% 50% / 26px no-repeat;
  transition: transform .2s ease;
}
.video-vertical button:hover::before { transform: scale(1.05); }
.video-vertical iframe { position: absolute; top: 0; height: 100%; width: 759px; left: calc((240px - 759px) / 2); border: 0; }

/* ---------- No centro cirúrgico ---------- */
.centro-cirurgico { background: var(--verde); color: var(--branco); padding: 3.5rem 0 4rem; }
.centro-cirurgico h2 { padding: 0 var(--margem); margin-bottom: 1.6rem; }
.galeria { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; transition: opacity .7s ease; }
.galeria::-webkit-scrollbar { display: none; }
.galeria.arrastando { cursor: grabbing; }
.galeria.esmaece { opacity: 0; }
.galeria:focus-visible { outline: 2px solid var(--verde-texto); outline-offset: 4px; }
.galeria__trilho { display: flex; gap: 10px; width: max-content; padding: 0 var(--margem); }
.galeria img { flex: none; height: 340px; width: auto; border-radius: var(--raio); user-select: none; -webkit-user-drag: none; }

/* ---------- Capítulos das especialidades ---------- */
.capitulo { padding: 4rem var(--margem); }
.capitulo .cabeca__sub { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.4; margin: .6rem 0 1.2rem; }
.capitulo h2 { font-size: clamp(2.1rem, 7.6vw, 3.2rem); }

.capitulo--faixa { padding-top: 0; }
.capitulo__faixa { margin: 0 calc(var(--margem) * -1) 2.4rem; }
.capitulo__faixa img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }
.capitulo__faixa--olhos img { aspect-ratio: 2 / 1; object-position: 50% 45%; }
.capitulo__colunas { display: grid; gap: .4rem; }

.capitulo--lado { display: grid; gap: 2.4rem; }
.capitulo__texto { max-width: 36rem; }
.capitulo__imagem img { width: 100%; border-radius: var(--raio); }
.capitulo__imagem--vertical { max-width: 380px; width: 100%; justify-self: center; }
.capitulo__imagem--exame { padding: 12px; background: #050A09; border-radius: var(--raio); }

.capitulo--escuro { background: var(--verde); color: var(--branco); }
.capitulo--escuro .cabeca__sub { color: var(--verde-texto); }
.capitulo--escuro p { color: var(--verde-texto); }
.capitulo--escuro .link-wa { color: var(--branco); }

.termos { margin-top: 1rem; border-top: 1px solid var(--tinta); }
.termos div { padding: .7rem 0; border-bottom: 1px solid var(--linha); display: grid; gap: .1rem; }
.termos dt { font-family: var(--serif); font-size: 1.2rem; }
.termos dd { color: var(--tinta-2); line-height: 1.45; }

/* ---------- Resultados: comparador de antes e depois ---------- */
.resultados { padding: 4.5rem var(--margem); background: var(--branco); }
.resultados__grade { display: grid; gap: 2rem; }
.caso { display: grid; gap: .7rem; min-width: 0; }
.caso figcaption { font-size: .92rem; color: var(--tinta-2); display: flex; gap: .6rem; flex-wrap: wrap; }
.caso figcaption strong { color: var(--tinta); font-weight: 600; }
.comparador { position: relative; aspect-ratio: 2 / 1; max-width: 100%; overflow: hidden; border-radius: var(--raio); background: var(--linha); touch-action: pan-y; }
.comparador img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.comparador__depois { clip-path: inset(0 0 0 var(--corte, 50%)); }
.comparador__linha { position: absolute; top: 0; bottom: 0; left: var(--corte, 50%); width: 2px; margin-left: -1px; background: var(--branco); pointer-events: none; }
.comparador__linha::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; translate: -50% -50%;
  border-radius: 50%; background: var(--branco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2D28' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 2px 10px rgba(14, 45, 40, .25);
}
.comparador__rotulo {
  position: absolute; bottom: .7rem; padding: .2rem .55rem; border-radius: var(--raio);
  font-size: .78rem; font-weight: 600; color: var(--branco); background: rgba(14, 45, 40, .62); pointer-events: none;
}
.comparador__rotulo--antes { left: .7rem; }
.comparador__rotulo--depois { right: .7rem; }
.comparador { cursor: ew-resize; }
/* O range fica invisível e só recebe teclado; o arrasto (mouse e toque) é tratado no main.js */
.comparador__controle { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.comparador:focus-within { outline: 2px solid var(--verde-3); outline-offset: 3px; }
.resultados__rodape { display: grid; gap: 1.4rem; justify-items: start; margin-top: 2.4rem; }
.resultados__aviso { font-size: .88rem; color: var(--tinta-2); max-width: 70ch; line-height: 1.55; }

/* ---------- Depoimentos ---------- */
.depoimentos { padding: 4.5rem var(--margem); display: grid; gap: 2.4rem; }
.depoimentos__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 10%; border-radius: var(--raio); }
.depo { display: grid; gap: .8rem; }
.depo blockquote { font-size: 1.0625rem; line-height: 1.6; }
.depo figcaption { font-size: .92rem; font-weight: 600; color: var(--tinta-2); }
.depo--destaque { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--linha); }
.depo--destaque blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 5vw, 1.9rem); line-height: 1.35; letter-spacing: -0.01em; }
.depoimentos__par { display: grid; gap: 2rem; }

/* ---------- FAQ ---------- */
.faq { padding: 4.5rem var(--gutter); background: var(--branco); }
.faq .cabeca, .faq__lista { max-width: 48rem; margin-left: auto; margin-right: auto; }
.faq__lista { border-top: 1px solid var(--tinta); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 1.2rem 2.6rem 1.2rem 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%; width: 14px; height: 14px; translate: 0 -50%;
  background:
    linear-gradient(var(--tinta), var(--tinta)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--tinta), var(--tinta)) center / 1.5px 14px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.3rem; color: var(--tinta-2); max-width: 62ch; }

/* ---------- Localização ---------- */
.local { padding: 4.5rem var(--margem); display: grid; gap: 1.8rem; }
.local__texto h2 { font-size: clamp(1.9rem, 6.6vw, 2.8rem); }
.local__end { margin-top: .9rem; color: var(--tinta-2); }
.link-rota { display: inline-flex; align-items: center; min-height: 44px; margin-top: .4rem; font-weight: 600; color: var(--verde); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.local__mapa { border-radius: var(--raio); overflow: hidden; height: 320px; background: var(--linha); }
.local__mapa iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Contato ---------- */
.contato { padding: 4.5rem var(--margem); background: var(--verde); color: var(--branco); display: grid; gap: 2.5rem; justify-items: start; }
.contato__texto { max-width: 36rem; display: grid; gap: 1rem; justify-items: start; }
.contato .sobretitulo { color: var(--verde-texto); }
.contato__texto p:not(.sobretitulo) { color: var(--verde-texto); margin-bottom: .6rem; }
.contato .video-vertical { justify-self: center; }

/* ---------- Rodapé ---------- */
.rodape { background: #0A221E; color: var(--verde-texto); padding: 3rem var(--margem) 6rem; display: grid; gap: 1.6rem; justify-items: start; }
.rodape__selo { width: 120px; height: auto; }
.rodape__info { display: grid; gap: .4rem; font-size: .95rem; }
.rodape__insta, .rodape__topo { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .4rem; min-height: 44px; text-decoration: none; }
.rodape__insta strong { color: var(--branco); font-weight: 600; }
.rodape__topo { color: var(--branco); }
.rodape__aviso { font-size: .8rem; line-height: 1.55; opacity: .8; max-width: 60ch; padding-top: 1.2rem; border-top: 1px solid var(--linha-escura); }

/* ---------- WhatsApp flutuante ---------- */
.wa-flutuante {
  position: fixed; right: 14px; bottom: 16px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-content: center;
  background: #1FAF54; color: #fff;
  box-shadow: 0 10px 24px -8px rgba(10, 34, 30, .45);
  transition: opacity .3s ease, transform .3s ease;
}
.wa-flutuante svg { width: 28px; height: 28px; fill: currentColor; }
.wa-flutuante.oculto { opacity: 0; transform: scale(.8); pointer-events: none; }

/* ---------- Cookies ---------- */
.cookies {
  position: fixed; left: 12px; right: 84px; bottom: 16px; z-index: 35;
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem .9rem; border-radius: var(--raio);
  background: var(--branco); color: var(--tinta); box-shadow: 0 12px 32px -10px rgba(10, 34, 30, .35);
  font-size: .85rem; line-height: 1.4;
}
.cookies .btn { flex: none; }

/* ---------- Movimento: só entrada discreta das seções ---------- */
.js .revela { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
.js .revela.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .revela { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .topo__cta { display: inline-flex; }
  .depoimentos__par { grid-template-columns: 1fr 1fr; }
  .cookies { right: auto; max-width: 460px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  /* --margem centraliza o conteúdo em 76rem e mantém o respiro mínimo */
  :root { --topo-h: 72px; --gutter: 48px; --margem: max(var(--gutter), calc((100vw - var(--largura)) / 2)); }
  .topo__logo img { height: 50px; }

  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: min(820px, calc(100svh - var(--topo-h))); }
  .hero__foto { order: 2; height: auto; }
  .hero__texto { align-content: center; gap: 1.3rem; padding: 4rem 4rem 4rem var(--margem); }
  .hero__titulo { font-size: clamp(2.6rem, 3.7vw, 3.9rem); }

  .especialidades { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; padding-block: 6rem; }
  .especialidades__foto { position: sticky; top: calc(var(--topo-h) + 2rem); }
  .indice a { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: baseline; gap: 2rem; padding: 1.4rem 0; }
  .indice__nome { font-size: 2rem; }
  .tambem ul { columns: 3; }

  .conheca { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 240px; gap: 4rem; align-items: center; padding-block: 6rem; }

  .centro-cirurgico { padding: 5rem 0; }
  .galeria img { height: 480px; }

  .capitulo { padding-block: 6rem; }
  .capitulo--faixa { padding-top: 0; }
  .capitulo__faixa { margin-bottom: 4rem; }
  .capitulo__faixa img, .capitulo__faixa--olhos img { aspect-ratio: 21 / 8; }
  .capitulo__colunas { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
  .capitulo__colunas .cabeca__sub { margin-bottom: 0; }

  .capitulo--lado { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; align-items: center; }

  .resultados { padding-block: 6rem; }
  .resultados__grade { grid-template-columns: 1fr 1fr; gap: 3rem 2.5rem; }

  .depoimentos { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5rem; align-items: center; padding-block: 6rem; }

  .faq { padding-block: 6rem; }

  .local { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: 4rem; align-items: center; padding-block: 6rem; }
  .local__mapa { height: 420px; }

  .contato { grid-template-columns: minmax(0, 36rem) 240px; justify-content: space-between; align-items: center; padding-block: 6rem; }

  .rodape { grid-template-columns: 140px minmax(0, 1fr); align-items: center; column-gap: 3rem; padding-block: 3.5rem 4rem; }
  .rodape__aviso { grid-column: 1 / -1; max-width: none; }
}

@media (min-width: 1100px) {
  .topo__nav { display: flex; gap: 1.8rem; margin-right: 1rem; }
  .topo__nav a { color: var(--verde-texto); text-decoration: none; font-size: .95rem; }
  .topo__nav a:hover { color: var(--branco); }
  .topo__menu { display: none; }
}

/* ---------- Hero ampliado: a Dra. sobre a parede neutra, texto no espaço livre (CMF_8488 copy) ---------- */
.hero--ampla { position: relative; background: #ECEEEB; }
.hero--ampla .hero__foto { height: auto; overflow: hidden; }
.hero--ampla .hero__img { width: 100%; height: auto; object-fit: cover; }
.hero--ampla .hero__img--largo { display: none; }
.hero--ampla .hero__img--celular {
  aspect-ratio: 1 / 1; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
          mask-image: linear-gradient(to bottom, #000 78%, transparent);
}
.hero--ampla .hero__texto { position: relative; margin-top: -2.5rem; }
@media (min-width: 900px) {
  .hero--ampla { display: block; min-height: min(600px, calc(100svh - var(--topo-h))); }
  .hero--ampla .hero__foto { position: absolute; inset: 0; }
  .hero--ampla .hero__img--celular { display: none; }
  .hero--ampla .hero__img--largo { display: block; width: 100%; height: 100%; object-position: 50% 18%; }
  .hero--ampla .hero__texto {
    margin: 0; min-height: inherit; max-width: calc(var(--margem) + 34rem);
    padding: 3rem 2rem 3rem var(--margem); align-content: center; gap: 1rem;
  }
  .hero--ampla .hero__titulo { font-size: clamp(2.4rem, 3.2vw, 3.4rem); }
  /* Foto na altura toda do hero, recortada com a cabeça da Dra. a ~30 px do topo; presa à direita e com as bordas fundidas na parede */
  .hero--ampla .hero__img--largo {
    position: absolute; top: 0; right: max(0px, calc(var(--margem) - 140px)); width: auto; height: 100%; max-width: none;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 30%, #000 90%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 30%, #000 90%, transparent);
  }
}

/* ---------- Avaliações: a seção usa o mesmo verde do widget (#1E483E) para ele se fundir ao fundo ---------- */
.avaliacoes { background: #1E483E; padding: 2.5rem var(--gutter); }
.avaliacoes .marcador { background: transparent; border-color: rgba(200, 215, 209, .45); color: var(--verde-texto); }
.avaliacoes .marcador strong { color: var(--branco); }
.faixa-areas { border-bottom: 0; }
@media (min-width: 900px) { .avaliacoes { padding-block: 3.5rem; } }

/* ---------- Especialidades: lista + palco de imagens ----------
   Celular: cartões com imagem que passam para o lado.
   Desktop: a lista à esquerda escolhe a imagem grande do palco à direita (mouse ou teclado). */
.esp { padding: 3.5rem var(--margem) 4.5rem; }
.esp__palco { display: none; }
.esp__lista {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--margem) * -1); padding: 0 var(--margem) .5rem; scroll-padding-inline: var(--margem);
}
.esp__lista::-webkit-scrollbar { display: none; }
.esp__item { flex: 0 0 78%; scroll-snap-align: start; display: grid; gap: .9rem; align-content: start; }
.esp__item a { display: grid; gap: .3rem; text-decoration: none; }
.esp__nome { font-family: var(--serif); font-weight: 300; font-size: 1.55rem; line-height: 1.15; }
.esp__desc { color: var(--tinta-2); font-size: .95rem; line-height: 1.5; }
.esp__mais { font-size: .9rem; font-weight: 600; color: var(--verde); margin-top: .2rem; }
.esp__mini { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--raio); background: var(--linha); }
.esp__mini img, .esp__quadro img { width: 100%; height: 100%; object-fit: cover; }
.esp__img--vias img { object-position: 50% 28%; }
.esp__img--exame { background: #050A09; padding: 6%; }
.esp__img--exame img { object-fit: contain; }
.esp__ad { display: grid; grid-template-rows: 1fr 1fr; gap: 3px; background: var(--branco); }
.esp__ad-par { position: relative; display: block; overflow: hidden; }
.esp__rotulo {
  position: absolute; left: .6rem; bottom: .6rem; padding: .15rem .5rem; border-radius: var(--raio);
  font-size: .75rem; font-weight: 600; color: var(--branco); background: rgba(14, 45, 40, .62);
}
.esp__tambem { margin: 2.6rem 0 2.2rem; }
.esp__tambem h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.esp__tambem ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.esp__tambem li { padding: .4rem .85rem; border: 1px solid var(--linha); border-radius: 999px; font-size: .9rem; line-height: 1.3; color: var(--tinta-2); background: var(--branco); }

@media (min-width: 900px) {
  .esp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; align-items: start; padding-block: 6rem; }
  .esp__lista { display: block; overflow: visible; margin: 0; padding: 0; border-top: 1px solid var(--tinta); }
  .esp__item { display: block; border-bottom: 1px solid var(--linha); }
  .esp__mini { display: none; }
  .esp__item a { padding: 1.3rem 0; gap: 0; }
  .esp__nome { font-size: 2.1rem; color: var(--tinta-2); transition: color .3s ease; }
  .esp__desc, .esp__mais { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s ease, opacity .35s ease, margin .45s ease; }
  .esp__item.ativo .esp__nome { color: var(--tinta); }
  .esp__item.ativo .esp__desc { max-height: 5rem; opacity: 1; margin-top: .5rem; }
  .esp__item.ativo .esp__mais { max-height: 2rem; opacity: 1; margin-top: .6rem; }
  .esp__palco {
    display: block; position: sticky; top: calc(var(--topo-h) + 2rem);
    aspect-ratio: 1 / 1; border-radius: var(--raio); overflow: hidden; background: var(--verde);
  }
  .esp__quadro { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s ease; }
  .esp__quadro.ativo { opacity: 1; }
  .esp__quadro.esp__img--exame { padding: 7%; }
}
@media (prefers-reduced-motion: reduce) {
  .esp__quadro, .esp__desc, .esp__mais, .esp__nome { transition: none; }
}

/* ---------- Especialidades: mapa do olho desenhado em linha (sem imagens) ----------
   Cada especialidade acende a sua região anatômica: pálpebras, vias lacrimais, órbita, margem e cílios.
   Celular: título, desenho, seletor 2x2, detalhe. Desktop: seletor tipográfico à esquerda, desenho e detalhe à direita. */
.mapa-esp {
  padding: 4rem var(--margem) 4.5rem;
  display: grid; gap: 1.6rem;
  grid-template-areas: "cabeca" "mapa" "abas" "detalhe" "cta";
}
.mapa-esp__cabeca { grid-area: cabeca; margin-bottom: 0; }
.mapa-esp__mapa { grid-area: mapa; margin: 0 calc(var(--margem) * -1); padding: 1rem var(--margem) .5rem; background: var(--branco); }
.mapa-esp__desenho { width: 100%; height: auto; overflow: visible; }
.mapa-esp__desenho path, .mapa-esp__desenho circle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mapa-esp__contexto { stroke: var(--linha); stroke-width: 1.4; }
.mapa-esp__iris { stroke: var(--tinta-2); stroke-width: 1.2; fill: rgba(36, 86, 76, .07) !important; }
.mapa-esp__pupila { fill: var(--tinta) !important; stroke: none; }
.mapa-esp__brilho { fill: var(--branco) !important; stroke: none; }
.mapa-esp__reg path { stroke: var(--tinta); stroke-opacity: .32; stroke-width: 1.4; transition: stroke-opacity .35s ease, stroke-width .35s ease, stroke .35s ease; }
.mapa-esp__reg.ativo > path { stroke: var(--verde-3); stroke-opacity: 1; stroke-width: 2.6; stroke-dasharray: 1; animation: mapa-desenha 1.1s cubic-bezier(.16, 1, .3, 1) both; }
.mapa-esp__rotulo { opacity: 0; transition: opacity .3s ease; }
.mapa-esp__rotulo path { stroke: var(--verde-3) !important; stroke-opacity: 1 !important; stroke-width: 1 !important; animation: none !important; stroke-dasharray: none !important; }
.mapa-esp__rotulo text { font-family: var(--sans); font-size: 19px; font-weight: 600; fill: var(--verde-3); letter-spacing: .01em; }
.mapa-esp__reg.ativo .mapa-esp__rotulo { opacity: 1; transition-delay: .5s; }
@keyframes mapa-desenha { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.mapa-esp__abas { grid-area: abas; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mapa-esp__aba {
  min-height: 56px; padding: .6rem .8rem; border: 1px solid var(--linha); border-radius: var(--raio);
  background: var(--branco); color: var(--tinta); cursor: pointer; text-align: left;
  font-family: var(--serif); font-weight: 400; font-size: 1.05rem; line-height: 1.3;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.mapa-esp__aba.ativo { background: var(--verde); border-color: var(--verde); color: var(--branco); }
.mapa-esp__aba:focus-visible { outline: 2px solid var(--verde-3); outline-offset: 2px; }

.mapa-esp__detalhe { grid-area: detalhe; }
.mapa-esp__painel { display: none; }
.mapa-esp__painel.ativo { display: grid; gap: 1.2rem; animation: mapa-painel .5s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes mapa-painel { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mapa-esp__desc { font-family: var(--serif); font-weight: 300; font-size: clamp(1.35rem, 4.6vw, 1.75rem); line-height: 1.3; letter-spacing: -0.01em; max-width: 30ch; }
.mapa-esp__tambem h3 { font-family: var(--sans); font-size: .95rem; font-weight: 600; margin-bottom: .6rem; letter-spacing: 0; }
.mapa-esp__tambem ul { display: flex; flex-wrap: wrap; gap: .45rem; }
.mapa-esp__tambem li { padding: .4rem .85rem; border: 1px solid var(--linha); border-radius: 999px; font-size: .9rem; line-height: 1.3; color: var(--tinta-2); background: var(--branco); }
.mapa-esp__mais { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--verde); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.mapa-esp__cta { grid-area: cta; justify-self: start; }

@media (min-width: 900px) {
  .mapa-esp {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "cabeca mapa" "abas mapa" "abas detalhe" "cta detalhe";
    grid-template-rows: auto auto 1fr auto;
    column-gap: 5rem; row-gap: 1.6rem; padding-block: 6rem; align-items: start;
  }
  .mapa-esp__mapa { margin: 0; padding: 1.5rem; border-radius: var(--raio); }
  .mapa-esp__abas { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--tinta); }
  .mapa-esp__aba {
    min-height: 0; padding: 1.15rem 0; border: 0; border-bottom: 1px solid var(--linha); border-radius: 0;
    background: transparent; color: var(--tinta-2); font-weight: 300; font-size: 2.1rem; line-height: 1.15;
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  }
  .mapa-esp__aba::after {
    content: ""; flex: none; width: 22px; height: 22px; background: var(--verde-3);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s ease;
  }
  .mapa-esp__aba:hover { color: var(--tinta); }
  .mapa-esp__aba.ativo { background: transparent; color: var(--tinta); }
  .mapa-esp__aba.ativo::after { opacity: 1; transform: none; }
  .mapa-esp__detalhe { padding-top: .4rem; }
  .mapa-esp__cta { align-self: end; }
}
@media (prefers-reduced-motion: reduce) {
  .mapa-esp__reg.ativo > path, .mapa-esp__painel.ativo { animation: none; }
}

/* ---------- Blefaroplastia: verde bem claro, para se separar de Vias Lacrimais (papel) ---------- */
#blefaroplastia { background: #E3EAE6; }
#blefaroplastia .cabeca__sub { color: #3F4D48; }

/* ---------- Resultados dentro de Blefaroplastia: recolhidos, comparador vertical e moldura ----------
   Antes em cima, depois embaixo: a linha corre na vertical e os dois olhos ficam sempre à vista.
   Cada caso fica num passe-partout claro, que dá distância e enquadra o rosto. */
.resultados-blef { margin-top: 3rem; border-top: 1px solid rgba(20, 27, 25, .18); }
.resultados-blef__gatilho {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 64px; padding: 1.1rem 0;
  font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--verde);
}
.resultados-blef__gatilho::-webkit-details-marker { display: none; }
.resultados-blef__gatilho span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.resultados-blef__gatilho svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.resultados-blef[open] .resultados-blef__gatilho svg { transform: rotate(180deg); }
.resultados-blef__gatilho:hover { color: var(--verde-3); }
.resultados-blef__gatilho:focus-visible { outline: 2px solid var(--verde-3); outline-offset: 4px; }
.resultados-blef__conteudo { display: grid; gap: 2rem; justify-items: center; padding: .5rem 0 1rem; animation: mapa-painel .5s cubic-bezier(.16, 1, .3, 1) both; }
.resultados-blef__instrucao { text-align: center; color: var(--tinta-2); max-width: 46ch; }
.resultados-blef__grade { display: grid; gap: 2rem; width: 100%; }
.resultados-blef .resultados__aviso { text-align: center; max-width: 64ch; margin: 0 auto; }

.caso-v { display: grid; gap: .8rem; justify-items: center; min-width: 0; }
.caso-v__moldura {
  width: 100%; padding: clamp(14px, 4vw, 28px); background: var(--branco); border-radius: var(--raio);
  box-shadow: 0 1px 2px rgba(14, 45, 40, .06), 0 18px 40px -24px rgba(14, 45, 40, .35);
}
.caso-v figcaption { font-size: .92rem; color: var(--tinta-2); text-align: center; }
.caso-v figcaption strong { color: var(--tinta); font-weight: 600; margin-right: .4rem; }

.comparador-v { position: relative; aspect-ratio: 884 / 544; overflow: hidden; border-radius: 2px; background: var(--linha); touch-action: pan-x; cursor: ns-resize; }
.comparador-v img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.comparador-v__depois { clip-path: inset(var(--corte, 50%) 0 0 0); }
.comparador-v__linha { position: absolute; left: 0; right: 0; top: var(--corte, 50%); height: 2px; margin-top: -1px; background: var(--branco); pointer-events: none; }
.comparador-v__linha::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; translate: -50% -50%;
  border-radius: 50%; background: var(--branco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2D28' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9l5-5 5 5M7 15l5 5 5-5'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 2px 10px rgba(14, 45, 40, .25);
}
.comparador-v__rotulo {
  position: absolute; left: .7rem; padding: .2rem .55rem; border-radius: var(--raio);
  font-size: .78rem; font-weight: 600; color: var(--branco); background: rgba(14, 45, 40, .62); pointer-events: none;
}
.comparador-v__rotulo--antes { top: .7rem; }
.comparador-v__rotulo--depois { bottom: .7rem; }
.comparador-v__controle { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.comparador-v:focus-within { outline: 2px solid var(--verde-3); outline-offset: 3px; }

@media (min-width: 900px) {
  .resultados-blef__grade { grid-template-columns: 1fr 1fr; gap: 3rem 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { .resultados-blef__conteudo { animation: none; } }

/* Comparador vertical invertido: abre no ANTES; arrastar a linha para baixo revela o DEPOIS por cima */
.comparador-v__depois { clip-path: inset(0 0 calc(100% - var(--corte, 10%)) 0); }
.comparador-v__rotulo--depois { top: .7rem; bottom: auto; }
.comparador-v__rotulo--antes { top: auto; bottom: .7rem; }

/* Celular: o DEPOIS sobe de baixo para cima, como o dedo rolando a tela; abre no ANTES com a linha perto da base */
@media (max-width: 899px) {
  .comparador-v__depois { clip-path: inset(var(--corte, 90%) 0 0 0); }
  .comparador-v__rotulo--antes { top: .7rem; bottom: auto; }
  .comparador-v__rotulo--depois { top: auto; bottom: .7rem; }
}

/* Rótulo único do comparador: um só, no canto de baixo, que vira "Antes" ou "Depois" conforme quem ocupa mais da metade */
.comparador-v .comparador-v__rotulo--unico { top: auto; bottom: .7rem; left: .7rem; font-size: .82rem; padding: .25rem .65rem; }

/* ---------- Faixa do centro cirúrgico: fotos coladas, de ponta a ponta, rolando sozinhas ----------
   Três cópias do mesmo grupo; o trilho anda um terço e recomeça sem emenda. Sem clique nem arrasto. */
.faixa-cc { overflow: hidden; background: var(--verde); }
.faixa-cc__trilho { display: flex; width: max-content; animation: faixa-cc-anda 70s linear infinite; }
.faixa-cc__grupo { display: flex; flex: none; }
.faixa-cc img { display: block; flex: none; height: 360px; width: auto; border-radius: 0; user-select: none; -webkit-user-drag: none; pointer-events: none; }
@keyframes faixa-cc-anda { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
@media (min-width: 900px) { .faixa-cc img { height: 520px; } }
@media (prefers-reduced-motion: reduce) { .faixa-cc__trilho { animation: none; } .faixa-cc { overflow-x: auto; } }

/* ---------- Foto de equipe em faixa, de ponta a ponta, depois de Doenças da Pálpebra ---------- */
.faixa-foto figure { margin: 0; }
.faixa-foto img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }
@media (min-width: 900px) { .faixa-foto img { aspect-ratio: 21 / 8; } }

/* Especialidades: "E também" volta a ser uma lista única (texto do site atual), abaixo do desenho e do seletor */
.mapa-esp { grid-template-areas: "cabeca" "mapa" "abas" "detalhe" "tambem" "cta"; }
.mapa-esp > .mapa-esp__tambem { grid-area: tambem; padding-top: 1.6rem; border-top: 1px solid var(--linha); }
.mapa-esp > .mapa-esp__tambem h3 { font-family: var(--serif); font-weight: 300; font-size: 1.5rem; margin-bottom: 1rem; }
@media (min-width: 900px) {
  .mapa-esp {
    grid-template-areas: "cabeca mapa" "abas mapa" "abas detalhe" "tambem tambem" "cta cta";
    grid-template-rows: auto auto 1fr auto auto;
  }
  .mapa-esp > .mapa-esp__tambem { margin-top: 1.5rem; }
  .mapa-esp__cta { align-self: start; }
}

/* ---------- Contato com vídeo, antes das Perguntas Frequentes: vídeo à esquerda, texto centralizado à direita ---------- */
.contato--video { justify-items: center; text-align: center; }
.contato--video .contato__texto { justify-items: center; }
@media (min-width: 900px) {
  .contato--video { grid-template-columns: 240px minmax(0, 40rem); justify-content: center; gap: 6rem; }
  .contato--video .video-vertical { justify-self: end; }
}


/* ---------- Textura e elementos gráficos sutis (eco do site atual: losangos, retícula em losango, grão) ----------
   Tudo em pseudo-elementos atrás do conteúdo; nada clicável; quem pede menos transparência/movimento não perde nada. */
:root {
  --losango-claro: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath d='M48.0,43.5 L52.5,48.0 L48.0,52.5 L43.5,48.0 Z' fill='none' stroke='%23C8D7D1' stroke-opacity='0.55' stroke-width='1.2'/%3E%3Ccircle cx='0' cy='0' r='1.3' fill='%23C8D7D1' fill-opacity='0.55'/%3E%3Ccircle cx='96' cy='0' r='1.3' fill='%23C8D7D1' fill-opacity='0.55'/%3E%3Ccircle cx='0' cy='96' r='1.3' fill='%23C8D7D1' fill-opacity='0.55'/%3E%3Ccircle cx='96' cy='96' r='1.3' fill='%23C8D7D1' fill-opacity='0.55'/%3E%3C/svg%3E");
  --losango-escuro: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath d='M48.0,43.5 L52.5,48.0 L48.0,52.5 L43.5,48.0 Z' fill='none' stroke='%230E2D28' stroke-opacity='0.5' stroke-width='1.2'/%3E%3Ccircle cx='0' cy='0' r='1.3' fill='%230E2D28' fill-opacity='0.5'/%3E%3Ccircle cx='96' cy='0' r='1.3' fill='%230E2D28' fill-opacity='0.5'/%3E%3Ccircle cx='0' cy='96' r='1.3' fill='%230E2D28' fill-opacity='0.5'/%3E%3Ccircle cx='96' cy='96' r='1.3' fill='%230E2D28' fill-opacity='0.5'/%3E%3C/svg%3E");
  --reticula-clara: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='130' viewBox='0 0 130 130'%3E%3Cg fill='%23C8D7D1' fill-opacity='0.5'%3E%3Ccircle cx='65.0' cy='5.0' r='0.69'/%3E%3Ccircle cx='55.0' cy='15.0' r='0.69'/%3E%3Ccircle cx='65.0' cy='15.0' r='1.04'/%3E%3Ccircle cx='75.0' cy='15.0' r='0.69'/%3E%3Ccircle cx='45.0' cy='25.0' r='0.69'/%3E%3Ccircle cx='55.0' cy='25.0' r='1.04'/%3E%3Ccircle cx='65.0' cy='25.0' r='1.38'/%3E%3Ccircle cx='75.0' cy='25.0' r='1.04'/%3E%3Ccircle cx='85.0' cy='25.0' r='0.69'/%3E%3Ccircle cx='35.0' cy='35.0' r='0.69'/%3E%3Ccircle cx='45.0' cy='35.0' r='1.04'/%3E%3Ccircle cx='55.0' cy='35.0' r='1.38'/%3E%3Ccircle cx='65.0' cy='35.0' r='1.72'/%3E%3Ccircle cx='75.0' cy='35.0' r='1.38'/%3E%3Ccircle cx='85.0' cy='35.0' r='1.04'/%3E%3Ccircle cx='95.0' cy='35.0' r='0.69'/%3E%3Ccircle cx='25.0' cy='45.0' r='0.69'/%3E%3Ccircle cx='35.0' cy='45.0' r='1.04'/%3E%3Ccircle cx='45.0' cy='45.0' r='1.38'/%3E%3Ccircle cx='55.0' cy='45.0' r='1.72'/%3E%3Ccircle cx='65.0' cy='45.0' r='2.06'/%3E%3Ccircle cx='75.0' cy='45.0' r='1.72'/%3E%3Ccircle cx='85.0' cy='45.0' r='1.38'/%3E%3Ccircle cx='95.0' cy='45.0' r='1.04'/%3E%3Ccircle cx='105.0' cy='45.0' r='0.69'/%3E%3Ccircle cx='15.0' cy='55.0' r='0.69'/%3E%3Ccircle cx='25.0' cy='55.0' r='1.04'/%3E%3Ccircle cx='35.0' cy='55.0' r='1.38'/%3E%3Ccircle cx='45.0' cy='55.0' r='1.72'/%3E%3Ccircle cx='55.0' cy='55.0' r='2.06'/%3E%3Ccircle cx='65.0' cy='55.0' r='2.41'/%3E%3Ccircle cx='75.0' cy='55.0' r='2.06'/%3E%3Ccircle cx='85.0' cy='55.0' r='1.72'/%3E%3Ccircle cx='95.0' cy='55.0' r='1.38'/%3E%3Ccircle cx='105.0' cy='55.0' r='1.04'/%3E%3Ccircle cx='115.0' cy='55.0' r='0.69'/%3E%3Ccircle cx='5.0' cy='65.0' r='0.69'/%3E%3Ccircle cx='15.0' cy='65.0' r='1.04'/%3E%3Ccircle cx='25.0' cy='65.0' r='1.38'/%3E%3Ccircle cx='35.0' cy='65.0' r='1.72'/%3E%3Ccircle cx='45.0' cy='65.0' r='2.06'/%3E%3Ccircle cx='55.0' cy='65.0' r='2.41'/%3E%3Ccircle cx='65.0' cy='65.0' r='2.75'/%3E%3Ccircle cx='75.0' cy='65.0' r='2.41'/%3E%3Ccircle cx='85.0' cy='65.0' r='2.06'/%3E%3Ccircle cx='95.0' cy='65.0' r='1.72'/%3E%3Ccircle cx='105.0' cy='65.0' r='1.38'/%3E%3Ccircle cx='115.0' cy='65.0' r='1.04'/%3E%3Ccircle cx='125.0' cy='65.0' r='0.69'/%3E%3Ccircle cx='15.0' cy='75.0' r='0.69'/%3E%3Ccircle cx='25.0' cy='75.0' r='1.04'/%3E%3Ccircle cx='35.0' cy='75.0' r='1.38'/%3E%3Ccircle cx='45.0' cy='75.0' r='1.72'/%3E%3Ccircle cx='55.0' cy='75.0' r='2.06'/%3E%3Ccircle cx='65.0' cy='75.0' r='2.41'/%3E%3Ccircle cx='75.0' cy='75.0' r='2.06'/%3E%3Ccircle cx='85.0' cy='75.0' r='1.72'/%3E%3Ccircle cx='95.0' cy='75.0' r='1.38'/%3E%3Ccircle cx='105.0' cy='75.0' r='1.04'/%3E%3Ccircle cx='115.0' cy='75.0' r='0.69'/%3E%3Ccircle cx='25.0' cy='85.0' r='0.69'/%3E%3Ccircle cx='35.0' cy='85.0' r='1.04'/%3E%3Ccircle cx='45.0' cy='85.0' r='1.38'/%3E%3Ccircle cx='55.0' cy='85.0' r='1.72'/%3E%3Ccircle cx='65.0' cy='85.0' r='2.06'/%3E%3Ccircle cx='75.0' cy='85.0' r='1.72'/%3E%3Ccircle cx='85.0' cy='85.0' r='1.38'/%3E%3Ccircle cx='95.0' cy='85.0' r='1.04'/%3E%3Ccircle cx='105.0' cy='85.0' r='0.69'/%3E%3Ccircle cx='35.0' cy='95.0' r='0.69'/%3E%3Ccircle cx='45.0' cy='95.0' r='1.04'/%3E%3Ccircle cx='55.0' cy='95.0' r='1.38'/%3E%3Ccircle cx='65.0' cy='95.0' r='1.72'/%3E%3Ccircle cx='75.0' cy='95.0' r='1.38'/%3E%3Ccircle cx='85.0' cy='95.0' r='1.04'/%3E%3Ccircle cx='95.0' cy='95.0' r='0.69'/%3E%3Ccircle cx='45.0' cy='105.0' r='0.69'/%3E%3Ccircle cx='55.0' cy='105.0' r='1.04'/%3E%3Ccircle cx='65.0' cy='105.0' r='1.38'/%3E%3Ccircle cx='75.0' cy='105.0' r='1.04'/%3E%3Ccircle cx='85.0' cy='105.0' r='0.69'/%3E%3Ccircle cx='55.0' cy='115.0' r='0.69'/%3E%3Ccircle cx='65.0' cy='115.0' r='1.04'/%3E%3Ccircle cx='75.0' cy='115.0' r='0.69'/%3E%3Ccircle cx='65.0' cy='125.0' r='0.69'/%3E%3C/g%3E%3C/svg%3E");
  --reticula-escura: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='130' viewBox='0 0 130 130'%3E%3Cg fill='%230E2D28' fill-opacity='0.35'%3E%3Ccircle cx='65.0' cy='5.0' r='0.69'/%3E%3Ccircle cx='55.0' cy='15.0' r='0.69'/%3E%3Ccircle cx='65.0' cy='15.0' r='1.04'/%3E%3Ccircle cx='75.0' cy='15.0' r='0.69'/%3E%3Ccircle cx='45.0' cy='25.0' r='0.69'/%3E%3Ccircle cx='55.0' cy='25.0' r='1.04'/%3E%3Ccircle cx='65.0' cy='25.0' r='1.38'/%3E%3Ccircle cx='75.0' cy='25.0' r='1.04'/%3E%3Ccircle cx='85.0' cy='25.0' r='0.69'/%3E%3Ccircle cx='35.0' cy='35.0' r='0.69'/%3E%3Ccircle cx='45.0' cy='35.0' r='1.04'/%3E%3Ccircle cx='55.0' cy='35.0' r='1.38'/%3E%3Ccircle cx='65.0' cy='35.0' r='1.72'/%3E%3Ccircle cx='75.0' cy='35.0' r='1.38'/%3E%3Ccircle cx='85.0' cy='35.0' r='1.04'/%3E%3Ccircle cx='95.0' cy='35.0' r='0.69'/%3E%3Ccircle cx='25.0' cy='45.0' r='0.69'/%3E%3Ccircle cx='35.0' cy='45.0' r='1.04'/%3E%3Ccircle cx='45.0' cy='45.0' r='1.38'/%3E%3Ccircle cx='55.0' cy='45.0' r='1.72'/%3E%3Ccircle cx='65.0' cy='45.0' r='2.06'/%3E%3Ccircle cx='75.0' cy='45.0' r='1.72'/%3E%3Ccircle cx='85.0' cy='45.0' r='1.38'/%3E%3Ccircle cx='95.0' cy='45.0' r='1.04'/%3E%3Ccircle cx='105.0' cy='45.0' r='0.69'/%3E%3Ccircle cx='15.0' cy='55.0' r='0.69'/%3E%3Ccircle cx='25.0' cy='55.0' r='1.04'/%3E%3Ccircle cx='35.0' cy='55.0' r='1.38'/%3E%3Ccircle cx='45.0' cy='55.0' r='1.72'/%3E%3Ccircle cx='55.0' cy='55.0' r='2.06'/%3E%3Ccircle cx='65.0' cy='55.0' r='2.41'/%3E%3Ccircle cx='75.0' cy='55.0' r='2.06'/%3E%3Ccircle cx='85.0' cy='55.0' r='1.72'/%3E%3Ccircle cx='95.0' cy='55.0' r='1.38'/%3E%3Ccircle cx='105.0' cy='55.0' r='1.04'/%3E%3Ccircle cx='115.0' cy='55.0' r='0.69'/%3E%3Ccircle cx='5.0' cy='65.0' r='0.69'/%3E%3Ccircle cx='15.0' cy='65.0' r='1.04'/%3E%3Ccircle cx='25.0' cy='65.0' r='1.38'/%3E%3Ccircle cx='35.0' cy='65.0' r='1.72'/%3E%3Ccircle cx='45.0' cy='65.0' r='2.06'/%3E%3Ccircle cx='55.0' cy='65.0' r='2.41'/%3E%3Ccircle cx='65.0' cy='65.0' r='2.75'/%3E%3Ccircle cx='75.0' cy='65.0' r='2.41'/%3E%3Ccircle cx='85.0' cy='65.0' r='2.06'/%3E%3Ccircle cx='95.0' cy='65.0' r='1.72'/%3E%3Ccircle cx='105.0' cy='65.0' r='1.38'/%3E%3Ccircle cx='115.0' cy='65.0' r='1.04'/%3E%3Ccircle cx='125.0' cy='65.0' r='0.69'/%3E%3Ccircle cx='15.0' cy='75.0' r='0.69'/%3E%3Ccircle cx='25.0' cy='75.0' r='1.04'/%3E%3Ccircle cx='35.0' cy='75.0' r='1.38'/%3E%3Ccircle cx='45.0' cy='75.0' r='1.72'/%3E%3Ccircle cx='55.0' cy='75.0' r='2.06'/%3E%3Ccircle cx='65.0' cy='75.0' r='2.41'/%3E%3Ccircle cx='75.0' cy='75.0' r='2.06'/%3E%3Ccircle cx='85.0' cy='75.0' r='1.72'/%3E%3Ccircle cx='95.0' cy='75.0' r='1.38'/%3E%3Ccircle cx='105.0' cy='75.0' r='1.04'/%3E%3Ccircle cx='115.0' cy='75.0' r='0.69'/%3E%3Ccircle cx='25.0' cy='85.0' r='0.69'/%3E%3Ccircle cx='35.0' cy='85.0' r='1.04'/%3E%3Ccircle cx='45.0' cy='85.0' r='1.38'/%3E%3Ccircle cx='55.0' cy='85.0' r='1.72'/%3E%3Ccircle cx='65.0' cy='85.0' r='2.06'/%3E%3Ccircle cx='75.0' cy='85.0' r='1.72'/%3E%3Ccircle cx='85.0' cy='85.0' r='1.38'/%3E%3Ccircle cx='95.0' cy='85.0' r='1.04'/%3E%3Ccircle cx='105.0' cy='85.0' r='0.69'/%3E%3Ccircle cx='35.0' cy='95.0' r='0.69'/%3E%3Ccircle cx='45.0' cy='95.0' r='1.04'/%3E%3Ccircle cx='55.0' cy='95.0' r='1.38'/%3E%3Ccircle cx='65.0' cy='95.0' r='1.72'/%3E%3Ccircle cx='75.0' cy='95.0' r='1.38'/%3E%3Ccircle cx='85.0' cy='95.0' r='1.04'/%3E%3Ccircle cx='95.0' cy='95.0' r='0.69'/%3E%3Ccircle cx='45.0' cy='105.0' r='0.69'/%3E%3Ccircle cx='55.0' cy='105.0' r='1.04'/%3E%3Ccircle cx='65.0' cy='105.0' r='1.38'/%3E%3Ccircle cx='75.0' cy='105.0' r='1.04'/%3E%3Ccircle cx='85.0' cy='105.0' r='0.69'/%3E%3Ccircle cx='55.0' cy='115.0' r='0.69'/%3E%3Ccircle cx='65.0' cy='115.0' r='1.04'/%3E%3Ccircle cx='75.0' cy='115.0' r='0.69'/%3E%3Ccircle cx='65.0' cy='125.0' r='0.69'/%3E%3C/g%3E%3C/svg%3E");
  --grao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
/* grão fino sobre a página inteira, como papel */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none;
  background-image: var(--grao); background-size: 220px; opacity: .07; mix-blend-mode: soft-light;
}
/* seções escuras: malha de losangos que some do canto para o centro + retícula num canto */
.avaliacoes, .capitulo--escuro, .contato, .rodape,
.conheca, .mapa-esp, #blefaroplastia, .faq, .local { position: relative; isolation: isolate; }
.avaliacoes::before, .capitulo--escuro::before, .contato::before, .rodape::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--losango-claro); background-size: 96px; background-position: 48px 48px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 100% 0%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 80% at 100% 0%, #000, transparent 70%);
}
.capitulo--escuro::after, .contato::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 130px; height: 130px; left: clamp(12px, 4vw, 64px); bottom: clamp(16px, 4vw, 56px);
  background: var(--reticula-clara) center / contain no-repeat; opacity: .55;
}
/* seções claras: só um canto de losangos bem apagado e, em algumas, a retícula */
.conheca::before, .mapa-esp::before, #blefaroplastia::before, .faq::before, .local::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--losango-escuro); background-size: 96px; background-position: 48px 48px;
  opacity: .16;
  -webkit-mask-image: radial-gradient(ellipse 45% 60% at 0% 0%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 45% 60% at 0% 0%, #000, transparent 70%);
}
.mapa-esp::before, .local::before {
  -webkit-mask-image: radial-gradient(ellipse 45% 60% at 100% 100%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 45% 60% at 100% 100%, #000, transparent 70%);
}
.conheca::after, .faq::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 110px; height: 110px; right: clamp(12px, 4vw, 72px); top: clamp(20px, 5vw, 72px);
  background: var(--reticula-escura) center / contain no-repeat; opacity: .5;
}
@media (max-width: 899px) {
  .capitulo--escuro::after, .contato::after, .conheca::after, .faq::after { width: 84px; height: 84px; }
}
@media (prefers-reduced-transparency: reduce) { body::after { display: none; } }

/* ==========================================================================
   Movimento (revisão geral)
   Um único momento de abertura no hero; depois, cada seção entra uma vez ao rolar,
   em cascata curta. Fotos sobem como cortina com leve recuo de zoom. Nada pisca nem gira.
   Curva única: saída exponencial (0.16, 1, 0.3, 1). Quem pede menos movimento vê tudo parado.
   ========================================================================== */
:root { --saida: cubic-bezier(.16, 1, .3, 1); --cortina: cubic-bezier(.7, 0, .2, 1); }

/* Abertura do hero: a foto assenta, o texto sobe em cascata, a faixa de áreas por último */
.hero__img { animation: hero-foto 1.8s var(--saida) both; }
.hero__texto > * { animation: hero-texto 1s var(--saida) both; }
.hero__texto > :nth-child(1) { animation-delay: .15s; }
.hero__texto > :nth-child(2) { animation-delay: .28s; }
.hero__texto > :nth-child(3) { animation-delay: .42s; }
.hero__texto > :nth-child(4) { animation-delay: .56s; }
.faixa-areas { animation: hero-texto 1s var(--saida) .75s both; }
@keyframes hero-foto { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
@keyframes hero-texto { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Entrada ao rolar (marcada pelo main.js) */
.js .revela {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--saida) var(--atraso, 0ms), transform 1.1s var(--saida) var(--atraso, 0ms);
}
.js .revela.visivel { opacity: 1; transform: none; }

/* Fotos: cortina que sobe + recuo de zoom dentro da moldura */
.js .revela-foto { overflow: hidden; }
.js .revela-foto img {
  clip-path: inset(100% 0 0 0); transform: scale(1.12);
  transition: clip-path 1.3s var(--cortina) var(--atraso, 0ms), transform 1.9s var(--saida) var(--atraso, 0ms), opacity .6s ease;
}
.js .revela-foto.visivel img { clip-path: inset(0 0 0 0); transform: none; }

/* Faixa da foto de equipe: depois de revelada, zoom lento de ida e volta (Ken Burns) */
.faixa-foto { overflow: hidden; }
.faixa-foto figure.visivel { animation: zoom-lento 22s ease-in-out 1.4s infinite alternate; }
@keyframes zoom-lento { from { transform: scale(1); } to { transform: scale(1.07); } }

/* Imagens que carregam depois entram em fade, sem estalo */
.js img[loading="lazy"] { transition: opacity .6s ease; }
.js img.carregando { opacity: 0; }

/* Cabeçalho: sombra suave ao sair do topo */
.topo { transition: box-shadow .4s ease; }
.topo.rolou { box-shadow: 0 10px 28px -18px rgba(5, 18, 15, .7); }

/* Perguntas frequentes: a resposta desliza ao abrir; a pergunta escurece no hover */
.faq summary { transition: color .25s ease; }
.faq summary:hover { color: var(--verde-3); }
.faq details[open] > p { animation: mapa-painel .5s var(--saida) both; }

/* Links de WhatsApp: o sublinhado ganha cor no hover */
.link-wa, .mapa-esp__mais, .link-rota { transition: color .25s ease, text-decoration-color .25s ease; }
.link-wa:hover, .mapa-esp__mais:hover, .link-rota:hover { text-decoration-color: var(--verde-3); }

/* Vídeos: a capa aproxima de leve no hover */
.video-vertical { transition: background-size .8s var(--saida); }
.video-vertical:hover { background-size: auto 188%; }

@media (prefers-reduced-motion: reduce) {
  .hero__img, .hero__texto > *, .faixa-areas, .faixa-foto figure.visivel, .faq details[open] > p { animation: none !important; }
  .js .revela, .js .revela-foto, .js .revela-foto img { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* Título do hero mais encorpado (pedido em 29/10/2026) */
.hero__titulo { font-weight: 500; letter-spacing: -0.025em; }

/* Capas dos vídeos: recorte vertical 9:16 da capa do YouTube, guardado no site (29/10/2026) */
.video-vertical { background-size: 100% auto; background-position: 50% 50%; }
.video-vertical:hover { background-size: 106% auto; }

/* Títulos grandes das seções com o mesmo peso do hero (29/10/2026) */
h2 { font-weight: 500; letter-spacing: -0.02em; }

/* Nome da Dra. no hero mais encorpado (29/10/2026) */
.hero__nome { font-weight: 500; font-size: 1.55rem; letter-spacing: -0.01em; }

/* Localização: WhatsApp como ação principal, mapa como secundária (29/10/2026) */
.local__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; margin-top: 1.6rem; }
.local__acoes .link-rota { margin-top: 0; }

/* Página /blefaroplastia: resultados abertos e em destaque logo depois do texto (29/10/2026) */
.resultados-pag { padding: 4.5rem var(--margem) 5rem; background: var(--branco); }
.resultados-pag .cabeca { justify-items: center; text-align: center; margin: 0 auto 2.6rem; }
.resultados-pag h2 { font-size: clamp(2.2rem, 7vw, 3.4rem); }
.resultados-pag .cabeca__sub { margin: 0 auto; }
.resultados-pag .resultados-blef__conteudo { animation: none; padding: 0; gap: 2.4rem; }

/* Vídeos: player do YouTube embutido direto, em pé (9:16), no lugar da capa com clique (29/10/2026) */
.video-vertical--embed { width: 270px; height: 480px; background: #000; }
.video-vertical--embed iframe { position: absolute; inset: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-vertical--embed:hover { background-size: auto; }
