/* ==========================================================================
   Dr. Luiz Miranda — Cirurgia Plástica
   Stylesheet — v2 (multi-página, estilo editorial leve, azul da marca)
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }

/* ---------- Design tokens ---------- */
:root{
  --petrol-900: #071319;
  --petrol-800: #0a1a20;
  --petrol-700: #0f2933;
  --petrol-600: #12465b;
  --petrol-500: #006177;
  --teal-400: #13aaba;
  --teal-300: #2cbfce;
  --gray-300: #c1c5c6;
  --star-gold: #FBBC05;
  --off-white: #F7F5F1;
  --off-white-2: #FAF9F6;
  --white: #ffffff;
  --ink: #101b1f;

  --gradient-brand: linear-gradient(135deg, #006177 0%, #2cbfce 100%);

  /* Superfícies — tema escuro dominante (vidro sobre azul institucional) */
  --surface-0: #060f14;
  --surface-1: #0a1a20;
  --surface-2: #0e232b;

  --glass-bg: rgba(255,255,255,0.045);
  --glass-bg-strong: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.12);
  --glass-highlight: inset 0 1px 0 rgba(255,255,255,0.09);
  --glass-blur: blur(22px) saturate(160%);

  --text-on-dark: #F3F1EC;
  --text-on-dark-muted: rgba(243,241,236,0.66);
  --text-on-light: #10262d;
  --text-on-light-muted: #55686f;

  --line-light: rgba(16,38,45,0.1);
  --line-dark: rgba(243,241,236,0.14);

  --font-serif: "agenda", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "agenda", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: 24px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur-m: .7s;
}

@media (min-width: 768px){
  :root{ --gutter: 40px; }
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
}

body{
  font-family: var(--font-sans);
  background: var(--surface-0);
  color: var(--text-on-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  opacity: 0;
}
.has-js body{ transition: opacity .5s var(--ease); }
body.is-ready{ opacity: 1; }
.no-js-fallback body,
html:not(.has-js) body{ opacity: 1; }

h1, h2, h3, h4, blockquote, cite{
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link{
  position: absolute;
  left: -999px; top: 0;
  background: var(--off-white); color: var(--ink);
  padding: 12px 18px; z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

/* ---------- Typography helpers ---------- */
.eyebrow{
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2{ font-size: clamp(1.9rem, 1.5rem + 2vw, 3rem); margin-bottom: 20px; color: var(--text-on-dark); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .4s var(--ease), background-position .6s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--primary{
  background: var(--gradient-brand);
  background-size: 170% 170%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(0,97,119,0.45);
}
.btn--primary:hover{
  background-position: 100% 50%;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -10px rgba(0,97,119,0.55);
}
.btn--outline{
  color: var(--text-on-dark);
  border: 1.5px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight);
}
.btn--outline:hover{ background: rgba(44,191,206,0.14); border-color: var(--teal-300); transform: translateY(-3px); }

.btn--ghost-nav{
  padding: 11px 22px;
  font-size: 0.85rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  background: rgba(6,15,20,0.32);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: padding .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
}
.site-header__inner{
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand{ display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.brand__mark-full{ height: 36px; width: auto; flex-shrink: 0; }
@media (max-width: 480px){
  .brand__mark-full{ height: 28px; }
}

.brand__mark-stacked{ width: 168px; height: auto; }

.site-nav__list{
  display: none;
  gap: 32px;
  align-items: center;
}
.site-nav__list a{
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-on-dark);
  position: relative;
  padding-bottom: 4px;
  transition: color .3s ease;
}
.site-nav__list a::after{
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px;
  background: var(--gradient-brand);
  transition: right .35s var(--ease);
}
.site-nav__list a:hover::after,
.site-nav__list a[aria-current="page"]::after{ right: 0; }
.site-nav__list a[aria-current="page"]{ color: var(--teal-300); }

.site-header__social{
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  transition: color .3s ease, transform .3s var(--ease);
}
.site-header__social:hover{ color: var(--teal-300); transform: translateY(-2px); }
.site-header__social svg{ width: 20px; height: 20px; }

.site-header__actions{ display: flex; align-items: center; gap: 16px; }

.site-header .btn--ghost-nav{ display: none; color: var(--text-on-dark); border-color: var(--glass-border); }

.site-header[data-state="scrolled"]{
  padding: 14px 0;
  background: rgba(6,15,20,0.62);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: rgba(255,255,255,0.1);
  box-shadow: 0 8px 30px -14px rgba(0,0,0,0.45);
}

/* Mobile menu toggle */
.menu-toggle{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  z-index: 210;
}
.menu-toggle span{
  display: block; height: 2px; width: 24px;
  background: var(--text-on-dark);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  position: fixed; inset: 0;
  z-index: 190;
  background: rgba(6,15,20,0.86);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}
.mobile-nav.is-open{ opacity: 1; visibility: visible; }
.mobile-nav nav{ text-align: center; display: flex; flex-direction: column; gap: 36px; align-items: center; }
.mobile-nav ul{ display: flex; flex-direction: column; gap: 22px; }
.mobile-nav a{
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--text-on-dark);
}
.mobile-nav a[aria-current="page"]{ color: var(--teal-300); }
.mobile-nav__social{ display: flex; gap: 20px; }
.mobile-nav__social a{ font-family: var(--font-sans); font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-300); }

@media (min-width: 1024px){
  .site-nav__list{ display: flex; }
  .site-header__social{ display: inline-flex; }
  .site-header .btn--ghost-nav{ display: inline-flex; }
  .menu-toggle{ display: none; }
}

/* ==========================================================================
   SECTIONS — shared
   ========================================================================== */
.section{
  position: relative;
  padding-block: clamp(72px, 10vw, 130px);
}
.section--dark{ background: var(--surface-1); color: var(--text-on-dark); }
.section--tint{ background: var(--surface-1); }
.section--white{ background: var(--surface-0); }

.section-heading{ max-width: 720px; margin-bottom: 52px; }
.section-heading--center{ margin-inline: auto; text-align: center; }
.section-heading--split{
  display: flex; flex-wrap: wrap; gap: 32px 60px;
  justify-content: space-between; align-items: flex-end;
  max-width: none;
}
.section-heading--split h2{ max-width: 560px; margin-bottom: 0; }
.section-heading__lead{ max-width: 420px; font-size: 1.02rem; }
p{ color: var(--text-on-dark-muted); }

/* ==========================================================================
   PAGE HERO (subpáginas: Consultório / Cirurgias / Contato)
   ========================================================================== */
.page-hero{
  position: relative;
  padding-top: clamp(150px, 22vw, 210px);
  padding-bottom: clamp(64px, 8vw, 96px);
  background: var(--surface-0);
  overflow: hidden;
}
.page-hero::before{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(48% 60% at 88% 0%, rgba(19,170,186,0.16), transparent 70%),
    radial-gradient(40% 50% at 4% 100%, rgba(0,97,119,0.16), transparent 70%);
  pointer-events: none;
}
.page-hero h1{ color: var(--text-on-dark); font-size: clamp(2.1rem, 1.5rem + 3vw, 3.6rem);
  font-weight: 500;
  margin-block: 14px 18px;
}
.page-hero p{ font-size: clamp(1rem, .95rem + .3vw, 1.1rem); max-width: 56ch; }
.page-hero__crumb{ display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--text-on-dark-muted); }
.page-hero__crumb a{ color: var(--teal-300); font-weight: 600; }

/* ==========================================================================
   HERO (home) — capa full-bleed com painel de vidro
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--text-on-dark);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: clamp(48px, 7vw, 80px);
}

.hero__bg{ position: absolute; inset: 0; overflow: hidden; }
.hero__bg img{
  width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
}
.hero__scrim{
  position: absolute; inset: 0;
  background:
    radial-gradient(46% 38% at 12% 10%, rgba(19,170,186,0.20), transparent 70%),
    linear-gradient(to left, rgba(6,15,20,0.82) 0%, rgba(6,15,20,0.5) 38%, rgba(6,15,20,0.22) 62%, rgba(6,15,20,0.08) 100%),
    linear-gradient(0deg, rgba(6,15,20,0.9) 0%, rgba(6,15,20,0.15) 38%, rgba(6,15,20,0.05) 60%);
}

.hero__content{
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}
.hero__panel{
  max-width: 420px;
  margin-left: auto;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: clamp(26px, 4vw, 48px);
  box-shadow: 0 34px 80px -32px rgba(0,0,0,0.65), var(--glass-highlight);
}
.hero__title{
  display: flex;
  flex-direction: column;
  font-size: clamp(1.7rem, 1.1rem + 2vw, 2.5rem);
  font-weight: 500;
  margin-block: 16px 20px;
  max-width: 15ch;
  color: var(--text-on-dark);
}
.hero__title span{ display: block; }
.hero__title-em{ font-style: italic; font-weight: 400; color: var(--teal-300); }
.hero__subtitle{
  max-width: 46ch;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  color: var(--text-on-dark-muted);
  margin-bottom: 34px;
}
.hero__actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero__credentials{
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 0.75rem; letter-spacing: 0.16em; font-weight: 600;
  color: var(--text-on-dark-muted);
}
.hero__credentials li{ position: relative; padding-left: 16px; }
.hero__credentials li::before{
  content:""; position:absolute; left:0; top:50%; translate: 0 -50%;
  width:6px; height:6px; border-radius:50%; background: var(--teal-400);
}
.hero__credentials li:first-child{ padding-left: 0; }
.hero__credentials li:first-child::before{ display:none; }

.scroll-cue{
  position: absolute;
  left: var(--gutter); bottom: 32px;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(243,241,236,0.3);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span{
  position: absolute; top: 8px; left: 50%; translate: -50% 0;
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--teal-300);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ opacity:1; transform: translate(-50%,0); }
  70%{ opacity:0; transform: translate(-50%,16px); }
  100%{ opacity:0; transform: translate(-50%,0); }
}
@media (prefers-reduced-motion: reduce){ .scroll-cue span{ animation: none; } }

@media (max-width: 900px), (max-aspect-ratio: 4/5){
  .hero{ padding-top: 110px; }
  .hero__bg img{ object-position: center top; }
  .hero__panel{ border-radius: 22px; margin-left: 0; max-width: none; }
  .scroll-cue{ display: none; }
}

/* Telas estreitas — reforço de legibilidade e margem de segurança */
@media (max-width: 480px){
  .hero{ padding-top: 100px; padding-bottom: 32px; }
  .hero__panel{ padding: 22px 20px; border-radius: 18px; }
  .hero__title{ font-size: clamp(1.7rem, 0.3rem + 7.2vw, 2.4rem); line-height: 1.2; margin-block: 16px 16px; max-width: none; }
  .hero__subtitle{ font-size: 0.95rem; margin-bottom: 24px; }
  .hero__actions{ flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 28px; }
  .hero__credentials{ gap: 14px 18px; }

  .cta-strip__actions{ flex-direction: column; align-items: stretch; }
  .hero__actions .btn,
  .cta-strip__actions .btn{ justify-content: center; width: 100%; }
}

/* ==========================================================================
   ABOUT (resumo na home)
   ========================================================================== */
.about{
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}
.about__images{ position: relative; max-width: 480px; margin-inline: auto; }
.about__img-main{
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
}
.about__img-main img{ width: 100%; height: 100%; object-fit: cover; }

.about__content h2{ font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem); }
.about__content p{ margin-bottom: 16px; max-width: 60ch; }

.credentials-list{ margin-top: 32px; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--glass-border); }
.credentials-list li{
  display: flex; justify-content: space-between; gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.95rem;
}
.credentials-list__label{
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--teal-300);
  flex-shrink: 0; padding-top: 2px;
}
.credentials-list li > span:last-child{ text-align: right; font-weight: 500; color: var(--text-on-dark); }

@media (min-width: 900px){
  .about{ grid-template-columns: 1fr 1fr; gap: 90px; }
  .about__images{ margin-inline: 0; max-width: none; }
}

/* ==========================================================================
   QUOTE BAND
   ========================================================================== */
.quote-band{
  position: relative;
  min-height: 58vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--petrol-900);
}
.quote-band__img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 65%;
  transform: scale(1.12);
}
.quote-band__overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,19,25,0.55) 0%, rgba(7,19,25,0.15) 45%, rgba(7,19,25,0.78) 100%);
}
.quote-band__text{
  position: relative; z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 56px var(--gutter) 64px;
  text-align: center;
  font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.1rem);
  font-style: italic;
  font-weight: 400;
  color: #fff;
  line-height: 1.35;
}
.quote-band__text cite{
  display: block;
  margin-top: 22px;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-300);
}

/* ==========================================================================
   CATEGORIAS DE PROCEDIMENTO (usado em Cirurgias e Resultados)
   ========================================================================== */
.proc-category{ margin-bottom: 44px; }
.proc-category:last-child{ margin-bottom: 0; }
.proc-category__label{ margin-bottom: 18px; }

/* ==========================================================================
   RESULTADOS (antes/depois) — cards com placeholder até as fotos reais
   entrarem; trocar .result-card__compare pelas fotos definitivas depois.
   ========================================================================== */
.proc-category{ text-align: center; }
.proc-category__label{ display: block; }

.results-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.result-card{
  flex: 1 1 300px;
  max-width: 360px;
  text-align: left;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.result-card:hover{
  transform: translateY(-5px);
  border-color: var(--teal-300);
  box-shadow: 0 24px 48px -22px rgba(0,0,0,0.55);
}
.result-card__compare{ display: flex; aspect-ratio: 4 / 3; }
.result-card__side{
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-bottom: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(0,55,68,0.35) 0%, rgba(6,15,20,0.75) 100%);
  color: var(--text-on-dark-muted);
}
.result-card__side img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.result-card__side::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,15,20,0) 55%, rgba(6,15,20,.65) 100%);
  pointer-events: none;
}
.result-card__side + .result-card__side{ border-left: 1px solid rgba(255,255,255,.18); }

/* Variante para fotos muito panorâmicas (ex.: close-up de olhos) — empilha antes/depois
   em vez de lado a lado, pra não espremer a imagem larga num recorte estreito. */
.result-card--stacked .result-card__compare{ flex-direction: column; aspect-ratio: 4 / 3.4; }
.result-card--stacked .result-card__side + .result-card__side{ border-left: none; border-top: 1px solid rgba(255,255,255,.18); }
.result-card__side svg{ width: 26px; height: 26px; opacity: .5; }
.result-card__side-label{
  position: relative;
  z-index: 1;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-on-dark);
  background: rgba(6,15,20,.55);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
}
.result-card__meta{ padding: 20px 22px 22px; }
.result-card__category{
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-300); margin-bottom: 6px;
}
.result-card__title{ font-family: var(--font-serif); font-size: 1.1rem; font-weight: 500; color: var(--text-on-dark); }

.results-note{ margin-top: 28px; font-size: .88rem; color: var(--text-on-dark-muted); max-width: 65ch; }

/* Foto inteira, sem corte: cada card tem a proporção real do par (--r) e cada lado a da sua foto (--s).
   flex-grow proporcional a --r → os cards de uma mesma linha ficam com a mesma altura. */
.results-grid{ align-items: flex-start; }
.result-card{
  flex: var(--r, 1.333) 1 calc(var(--r, 1.333) * 250px);
  max-width: min(100%, calc(var(--r, 1.333) * 360px));
}
.result-card__compare{ aspect-ratio: var(--r, 4 / 3); }
.result-card--stacked .result-card__compare{ aspect-ratio: var(--r, 4 / 3.4); }
.result-card__side{ flex: var(--s, 1) 1 0; }
.result-card__side img{ object-fit: contain; }
@media (max-width: 600px){
  /* pares largos empilham no celular pra foto não ficar miúda */
  .result-card--larga .result-card__compare{ flex-direction: column; aspect-ratio: var(--r) / 4; }
  .result-card--larga .result-card__side + .result-card__side{ border-left: none; border-top: 1px solid rgba(255,255,255,.18); }
}

/* ==========================================================================
   MODAL — PROCEDIMENTOS DA CATEGORIA (fundo off-white, contraste com o resto do site)
   ========================================================================== */
.cat-modal{
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.cat-modal.is-open{ opacity: 1; visibility: visible; }
.cat-modal__backdrop{
  position: absolute; inset: 0;
  background: rgba(4,9,12,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cat-modal__panel{
  position: relative;
  z-index: 1;
  width: 100%; max-width: 800px;
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  background: var(--off-white);
  border: 1px solid rgba(16,38,45,0.08);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
  transform: translateY(16px) scale(.98);
  transition: transform .4s var(--ease);
}
.cat-modal.is-open .cat-modal__panel{ transform: translateY(0) scale(1); }
.cat-modal__eyebrow{
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--petrol-500);
}
.cat-modal__panel h3{ font-family: var(--font-serif); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 30px; color: var(--text-on-light); }
.cat-modal__close{
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-on-light);
  background: rgba(16,38,45,0.06);
  border: 1px solid rgba(16,38,45,0.1);
  transition: background-color .3s ease, transform .3s var(--ease);
}
.cat-modal__close:hover{ background: rgba(16,38,45,0.12); transform: rotate(90deg); }
.cat-modal__close svg{ width: 16px; height: 16px; }

.cat-modal__list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 640px){
  .cat-modal__list{ grid-template-columns: repeat(2, 1fr); }
}
.cat-item__image{
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  margin-bottom: 14px;
  background: var(--off-white-2);
  border: 1px dashed rgba(16,38,45,0.16);
  display: flex; align-items: center; justify-content: center;
  color: rgba(16,38,45,0.35);
}
.cat-item__image svg{ width: 30px; height: 30px; }
/* foto do procedimento: preenche o quadro 4:3, sem a moldura tracejada do placeholder */
.cat-item__image:has(img){ border: none; overflow: hidden; background: var(--off-white-2); }
.cat-item__image:has(img) > svg{ display: none; }
.cat-item__image picture{ display: block; width: 100%; height: 100%; }
.cat-item__image img{ display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (hover: hover){ .cat-item:hover .cat-item__image img{ transform: scale(1.04); } }
.cat-item__title{ font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500; line-height: 1.25; color: var(--text-on-light); margin-bottom: 6px; }
.cat-item__desc{ font-size: 0.88rem; color: var(--text-on-light-muted); }

/* Cards de categoria (topo da página Cirurgias) */
.surgery-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 64px;
}
.surgery-card{
  position: relative;
  width: 100%;
  text-align: left;
  padding: 32px 28px;
  border-radius: 18px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-highlight);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.surgery-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -24px rgba(0,0,0,0.55), var(--glass-highlight);
  border-color: var(--teal-300);
  background: var(--glass-bg-strong);
}
.surgery-card__icon{
  width: 44px; height: 44px;
  margin-bottom: 20px;
  color: var(--teal-300);
}
.surgery-card__icon svg{ width: 100%; height: 100%; }
.surgery-card h3{ font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; color: var(--text-on-dark); }
.surgery-card p{ font-size: .92rem; margin-bottom: 0; }

@media (min-width: 700px){
  .surgery-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px){
  .surgery-grid{ grid-template-columns: repeat(4, 1fr); }
}

/* Cards de categoria com foto de fundo (página Procedimentos) */
.surgery-card--photo{
  overflow: hidden;
  min-height: 280px;
  background: var(--surface-1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  justify-content: flex-end;
  display: flex;
  flex-direction: column;
}
.surgery-card--photo picture,
.surgery-card--photo img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(1) contrast(1.1) brightness(.9);
}
/* foto inteira no azul da marca: P&B + camada de cor (mantém luz e volume, troca só o tom) */
.surgery-card--photo::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--teal-400) 0%, var(--petrol-500) 50%, var(--petrol-600) 100%);
  mix-blend-mode: color;
  z-index: 1;
  pointer-events: none;
}
/* fade petróleo de baixo pra cima, onde fica o texto */
.surgery-card--photo::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,97,119,0.10) 0%, rgba(10,26,32,0.35) 45%, rgba(7,19,25,0.92) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity .6s var(--ease);
}
.surgery-card--photo .surgery-card__icon,
.surgery-card--photo h3,
.surgery-card--photo p{ position: relative; z-index: 2; }
.surgery-card--photo .surgery-card__icon{ display: none; }
.surgery-card--photo h3{ font-size: 1.35rem; letter-spacing: .01em; margin-bottom: 6px; }
.surgery-card--photo p{ font-size: .86rem; color: rgba(225,246,250,.72); max-width: 30ch; }
.surgery-card--photo:hover{ border-color: var(--teal-300); }
.surgery-card--photo:hover img{ transform: scale(1.05); filter: grayscale(1) contrast(1.1) brightness(1.02); }
.surgery-card--photo:hover::after{ opacity: .85; }
.surgery-card--photo img{ transition: transform .8s var(--ease), filter .6s var(--ease); }

/* ==========================================================================
   ESTRUTURA (Consultório) — 3 fotos + texto abaixo
   ========================================================================== */
.consultorio-photos{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 48px;
}
.consultorio-photos figure{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid var(--glass-border);
}
.consultorio-photos img{ width: 100%; height: 100%; object-fit: cover; }
.consultorio-photos figure::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,97,119,0.88) 0%, rgba(0,97,119,0.4) 28%, transparent 58%);
  pointer-events: none;
}

.consultorio-text{ max-width: 760px; }
.consultorio-text h2{ text-wrap: balance; }
.consultorio-text p{ margin-bottom: 16px; max-width: 68ch; }

@media (min-width: 700px){
  .consultorio-photos{ grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Ambiente — carrossel de fotos (mesma mecânica do reviews-carousel) ---------- */
.ambiente-gallery{ margin-top: 56px; }
.ambiente-gallery .eyebrow{ margin-bottom: 18px; }
.ambiente-grid{ margin-bottom: 0; }
.ambiente-card{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--glass-border);
}
.ambiente-card img{ width: 100%; height: 100%; object-fit: cover; }
.ambiente-card figcaption{
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--text-on-dark);
  background: rgba(6,15,20,0.55);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

/* ==========================================================================
   CLÍNICA / LOCALIZAÇÃO (Consultório + Contato)
   ========================================================================== */
.clinic{
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.clinic__content p{ max-width: 52ch; margin-bottom: 28px; }
.clinic__info{ display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.clinic__info dt{
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--teal-300); margin-bottom: 6px;
}
.clinic__info dd{ font-size: 1.05rem; color: var(--text-on-dark); }
.clinic__map{
  border-radius: 14px; overflow: hidden;
  aspect-ratio: 4/3;
  filter: grayscale(0.3) invert(0.92) contrast(0.88) brightness(0.95) hue-rotate(180deg);
  border: 1px solid var(--glass-border);
}
.clinic__map iframe{ width: 100%; height: 100%; border: 0; }

@media (min-width: 900px){
  .clinic{ grid-template-columns: 1fr 1fr; gap: 70px; }
}

/* ==========================================================================
   REDES SOCIAIS — faixa de destaque (Instagram)
   ========================================================================== */
.social-band{
  position: relative;
  overflow: hidden;
  background: var(--surface-1);
  color: var(--text-on-dark);
}
.social-band::before{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 70% at 50% 0%, rgba(19,170,186,0.16), transparent 70%);
  pointer-events: none;
}
.social-band__inner{
  position: relative;
  display: flex; flex-direction: column; gap: 26px;
  align-items: center; text-align: center;
  padding-block: clamp(56px, 8vw, 90px);
}
.social-band .eyebrow{ background: none; -webkit-text-fill-color: initial; color: var(--teal-300); }
.social-band h2{ color: var(--text-on-dark); margin-bottom: 6px; }
.social-band p{ color: var(--text-on-dark-muted); max-width: 56ch; }
.social-band__link{
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.5);
  font-weight: 600;
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.social-band__link:hover{ transform: translateY(-3px); background: rgba(255,255,255,0.22); }
.social-band__link svg{ width: 22px; height: 22px; }

/* ==========================================================================
   AVALIAÇÕES GOOGLE
   ========================================================================== */
.star-rating{
  position: relative;
  display: inline-block;
  font-size: 1.15rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.22);
  line-height: 1;
}
.star-rating__fill{
  position: absolute; inset: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--star-gold);
  width: 0;
  transition: width 1.1s var(--ease);
}
.star-rating.is-filled .star-rating__fill{ width: var(--fill, 0%); }
.reviews-summary{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 32px;
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 30px 36px;
  border-radius: 20px;
  text-align: center;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-highlight);
}
.reviews-summary__score{
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--text-on-dark);
}
.reviews-summary__meta{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.reviews-summary__label{ font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-on-dark); }
.reviews-summary__count{ font-size: .88rem; color: var(--text-on-dark-muted); }
.reviews-summary__cta{ margin-left: 4px; }

.reviews-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.review-card{
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 26px 24px;
  border-radius: 18px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-highlight);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.review-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -24px rgba(0,0,0,0.55), var(--glass-highlight);
  border-color: var(--teal-300);
  background: var(--glass-bg-strong);
}
.review-card__head{ display: flex; align-items: center; gap: 12px; }
.review-card__author{ font-weight: 600; font-size: .95rem; color: var(--text-on-dark); }
.review-card__time{ font-size: .78rem; color: var(--text-on-dark-muted); }
.review-card__text{
  font-size: .92rem;
  line-height: 1.65;
  color: var(--text-on-dark-muted);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}
.review-card--truncated{ cursor: pointer; }
.review-card__more{
  align-self: flex-start;
  margin-top: -6px;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal-300);
  cursor: pointer;
}
.review-card__more:hover{ text-decoration: underline; }

/* ==========================================================================
   MODAL — AVALIAÇÃO COMPLETA
   ========================================================================== */
.review-modal{
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.review-modal.is-open{ opacity: 1; visibility: visible; }
.review-modal__backdrop{
  position: absolute; inset: 0;
  background: rgba(4,9,12,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.review-modal__panel{
  position: relative;
  z-index: 1;
  width: 100%; max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 24px;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7), var(--glass-highlight);
  transform: translateY(16px) scale(.98);
  transition: transform .4s var(--ease);
}
.review-modal.is-open .review-modal__panel{ transform: translateY(0) scale(1); }
.review-modal__panel h3{ font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); margin-block: 10px 14px; color: var(--text-on-dark); }
.review-modal__panel p{ color: var(--text-on-dark-muted); line-height: 1.7; }
.review-modal__stars{ margin-bottom: 4px; }
.review-modal__close{
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-on-dark);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: background-color .3s ease, transform .3s var(--ease);
}
.review-modal__close:hover{ background: rgba(255,255,255,0.12); transform: rotate(90deg); }
.review-modal__close svg{ width: 16px; height: 16px; }
.reviews-band__attribution{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  transition: color .3s var(--ease);
}
.reviews-band__attribution:hover{ color: var(--text-on-dark); }

@media (min-width: 700px){
  .reviews-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px){
  .reviews-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.reviews-carousel{ position: relative; overflow: hidden; }
.reviews-carousel__track{
  display: flex;
  transition: transform .8s var(--ease);
}
.reviews-carousel__slide{
  flex: 0 0 100%;
  min-width: 0;
}
.reviews-carousel__slide .reviews-grid{ margin-bottom: 0; }
.reviews-carousel__dots{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  margin-top: 22px;
  margin-bottom: 32px;
}
.reviews-carousel__dot{
  width: 9px; height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--glass-border);
  cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.reviews-carousel__dot:hover{ background: var(--glass-bg-strong); }
.reviews-carousel__dot.is-active{ background: var(--teal-300); transform: scale(1.35); }

/* ==========================================================================
   CTA STRIP — chamada final (subpáginas)
   ========================================================================== */
.cta-strip{ background: var(--petrol-800); color: var(--text-on-dark); }
.cta-strip__inner{
  padding-block: clamp(56px, 8vw, 84px);
  display: flex; flex-direction: column; gap: 22px;
  align-items: flex-start;
}
.cta-strip h2{ color: var(--text-on-dark); margin-bottom: 0; max-width: 20ch; }
.cta-strip p{ color: var(--text-on-dark-muted); max-width: 52ch; }
.cta-strip__actions{ display: flex; flex-wrap: wrap; gap: 16px; }

@media (min-width: 900px){
  .cta-strip__inner{ flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
}

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.contact-card{
  display: flex; flex-direction: column; gap: 10px;
  min-width: 0;
  padding: 30px 28px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.contact-card__label,
.contact-card__value,
.contact-card__cta{ overflow-wrap: anywhere; }
a.contact-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.55), var(--glass-highlight);
  border-color: var(--teal-300);
  background: var(--glass-bg-strong);
}
.contact-card--highlight{
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
}
.contact-card--highlight:hover{ border-color: transparent; }
.contact-card__label{
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  color: var(--teal-300);
  opacity: 0.9;
}
.contact-card--highlight .contact-card__label{ color: #fff; opacity: 0.85; }
.contact-card__value{ font-family: var(--font-sans); font-weight: 600; font-size: 1.2rem; color: var(--text-on-dark); }
.contact-card__value--email{ font-size: 1rem; overflow-wrap: anywhere; }
.contact-card--highlight .contact-card__value{ color: #fff; }
.contact-card__cta{ font-size: 0.85rem; font-weight: 600; margin-top: 6px; }

@media (min-width: 700px){
  .contact-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px){
  .contact-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact-card{ padding: 26px 22px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background: var(--petrol-900); color: var(--text-on-dark); }
.site-footer__inner{
  padding-block: 70px 50px;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
.brand--footer{ margin-bottom: 4px; }
.site-footer__brand p{ margin-top: 18px; color: var(--text-on-dark-muted); max-width: 32ch; }
.site-footer__social{ display: flex; gap: 14px; margin-top: 22px; }
.site-footer__social a{
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(243,241,236,0.22);
  color: var(--text-on-dark);
  transition: border-color .3s ease, background-color .3s ease, transform .3s var(--ease);
}
.site-footer__social a:hover{ background: var(--gradient-brand); border-color: transparent; transform: translateY(-3px); }
.site-footer__social svg{ width: 18px; height: 18px; }

.site-footer__nav{ display: flex; flex-direction: column; gap: 14px; }
.site-footer__nav a, .site-footer__contact a{ color: var(--text-on-dark-muted); font-size: 0.95rem; transition: color .3s ease; }
.site-footer__nav a:hover, .site-footer__contact a:hover{ color: var(--teal-300); }
.site-footer__contact{ display: flex; flex-direction: column; gap: 14px; }

.site-footer__bottom{ border-top: 1px solid rgba(243,241,236,0.1); }
.site-footer__bottom-inner{
  padding-block: 24px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: 0.8rem; color: var(--text-on-dark-muted);
}

@media (min-width: 700px){
  .site-footer__inner{ grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ==========================================================================
   WHATSAPP — botão flutuante (azul da marca)
   ========================================================================== */
.whatsapp-float{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 250;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 12px 30px -8px rgba(0,97,119,0.55);
  color: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), width .4s var(--ease), padding .4s var(--ease);
  overflow: hidden;
  white-space: nowrap;
}
.whatsapp-float::before{
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--teal-300);
  opacity: 0.55;
  animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse{
  0%{ transform: scale(0.85); opacity: 0.5; }
  70%{ transform: scale(1.35); opacity: 0; }
  100%{ transform: scale(1.35); opacity: 0; }
}
.whatsapp-float svg{ width: 27px; height: 27px; flex-shrink: 0; position: relative; z-index: 1; }
.whatsapp-float__label{
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 600;
  transition: max-width .4s var(--ease), opacity .3s ease, margin .4s var(--ease);
}
.whatsapp-float:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -8px rgba(0,97,119,0.65);
}
@media (min-width: 700px){
  .whatsapp-float{ padding-inline: 20px; width: auto; border-radius: 999px; gap: 10px; }
  .whatsapp-float:hover .whatsapp-float__label{ max-width: 160px; opacity: 1; margin-left: 2px; }
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-float::before{ animation: none; }
}

/* ==========================================================================
   SCROLL REVEAL + IMAGE REVEAL (fallback CSS — enhanced by GSAP when available)
   ========================================================================== */
.has-js .reveal-up{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.reveal-up.is-visible{ opacity: 1; transform: translateY(0); }

.has-js .reveal-img{ overflow: hidden; }
.has-js .reveal-img img{
  transform: scale(1.15);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.reveal-img.is-visible img{ transform: scale(1); }

@media (prefers-reduced-motion: reduce){
  .has-js .reveal-up{ opacity: 1; transform: none; transition: none; }
  .has-js .reveal-img img{ transform: none; transition: none; }
  .star-rating__fill{ transition: none; width: var(--fill, 0%); }
  .reviews-carousel__track{ transition: none; }
}

/* JS-enabled: let GSAP fully own the animation (prevents double-timing conflicts) */
.js-gsap .reveal-up{ transition: none; }
.js-gsap .reveal-img img{ transition: none; }

/* =====================================================================
 * Abertura da marca — mesmo motion do logo do reel de impacto:
 * luz acende → traço neon desenha a pílula e o "m" → a pílula acende
 * com clarão e onda de luz → letras sobem → brilho atravessa → revela o site.
 * Só na home, uma vez por sessão; toque/tecla/rolagem pula.
 * =================================================================== */
.intro{ display: none; }
.intro-on body{ opacity: 1; overflow: hidden; }
.intro-on .intro{
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 9999;
  background: #081218;
  overflow: hidden; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  animation: introSair .75s cubic-bezier(.65,0,.35,1) 3.45s forwards;
}
.intro.is-pulando{ animation: introSair .4s cubic-bezier(.65,0,.35,1) forwards !important; }
.intro__luz, .intro__neon, .intro::after{ position: absolute; inset: 0; pointer-events: none; }
.intro__luz{
  background:
    radial-gradient(75% 60% at 50% -14%, rgba(29,70,82,.9), transparent 72%),
    radial-gradient(42% 32% at 50% 50%, rgba(14,90,107,.42), transparent 72%);
  opacity: 0;
  animation: introFade 1.4s cubic-bezier(.65,0,.35,1) forwards;
}
.intro__neon{
  background:
    radial-gradient(40% 34% at 104% -6%, rgba(46,205,221,.24), transparent 70%),
    radial-gradient(44% 36% at -6% 106%, rgba(46,205,221,.19), transparent 70%);
  opacity: 0;
  animation: introFade 1.3s ease 1.25s forwards, introRespira 3.2s ease-in-out 2.55s infinite alternate;
}
.intro::after{ content: ""; background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.55) 100%); }

.intro__logo{
  position: relative; z-index: 1;
  width: min(80vw, 640px); height: auto; overflow: visible;
  transform: scale(.965);
  animation: introZoom 4.2s cubic-bezier(.22,1,.36,1) forwards;
}
.intro__traco path{
  fill: none; stroke: #2ECDDD; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
  animation: introTraco 1.1s cubic-bezier(.65,0,.35,1) .12s forwards, introApaga .75s ease 1.28s forwards;
}
.intro__pilula{ fill: #F2F2F2; opacity: 0; animation: introFade .16s ease-out 1.2s forwards; }
.intro__clarao{ fill: #fff; opacity: 0; animation: introClarao .8s ease-out 1.22s forwards; }
.intro__onda{
  fill: none; stroke: #2ECDDD; stroke-width: 2;
  opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: introOnda 1s cubic-bezier(.22,1,.36,1) 1.22s forwards;
}
.intro__letras > *{
  fill: #F2F2F2; opacity: 0;
  transform: translateY(22px);
  animation: introLetra .65s cubic-bezier(.16,1,.3,1) calc(1.42s + var(--k) * 45ms) forwards;
}
.intro__brilho{ animation: introBrilho 1s cubic-bezier(.65,0,.35,1) 2.4s forwards; }

@keyframes introFade{ to{ opacity: 1; } }
@keyframes introApaga{ to{ opacity: 0; } }
@keyframes introTraco{ to{ stroke-dashoffset: 0; } }
@keyframes introClarao{ 0%{ opacity: 0; } 15%{ opacity: .9; } 100%{ opacity: 0; } }
@keyframes introOnda{ 0%{ opacity: .75; transform: scale(1); } 100%{ opacity: 0; transform: scale(1.55); } }
@keyframes introLetra{ 40%{ opacity: 1; } 100%{ opacity: 1; transform: none; } }
@keyframes introBrilho{ to{ transform: translateX(1500px); } }
@keyframes introRespira{ to{ opacity: .7; } }
@keyframes introZoom{ to{ transform: scale(1.012); } }
@keyframes introSair{ to{ opacity: 0; visibility: hidden; } }

/* A capa assume quando a abertura sai */
.hero__bg picture{ display: block; height: 100%; }
.intro-on .hero__slides{ transform: scale(1.06); transition: transform 1.8s cubic-bezier(.22,1,.36,1); }
.intro-fim .hero__slides{ transform: none; }

/* Brilho da marca no topo (passa o mouse / logo após a abertura) e no rodapé ao aparecer */
.brand{ position: relative; }
.brand::after{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("../img/logo-topo-branco.svg?v=20261027") left center / contain no-repeat;
          mask: url("../img/logo-topo-branco.svg?v=20261027") left center / contain no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(223,251,255,.95) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 120% 0;
  opacity: 0;
}
.brand--footer::after{
  -webkit-mask-image: url("../img/logo-rodape-branco.svg");
          mask-image: url("../img/logo-rodape-branco.svg");
}
.brand:hover::after, .marca-brilha .site-header .brand::after, .brand--footer.is-lit::after{
  animation: brandBrilho 1.1s cubic-bezier(.65,0,.35,1) forwards;
}
@keyframes brandBrilho{
  0%{ opacity: 1; background-position: 120% 0; }
  100%{ opacity: 1; background-position: -20% 0; }
}
@media (prefers-reduced-motion: reduce){
  .intro-on .intro{ display: none; }
  .brand::after{ display: none; }
}

/* =====================================================================
 * HERO em carrossel — 3 destaques (equipe / Dr. Luiz Miranda / centro cirúrgico).
 * Ocupa exatamente a altura da tela; texto direto sobre a foto (sem box),
 * palavras sobem a cada troca; a nova imagem entra numa cortina com zoom.
 * =================================================================== */
.sr-only{
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hero[aria-roledescription]{
  height: 100vh; height: 100svh; min-height: 520px;
  padding: 0; align-items: stretch;
}
.hero__slides{ position: absolute; inset: 0; background: var(--surface-0); }
.hero__slide{ position: absolute; inset: 0; visibility: hidden; overflow: hidden; }
.hero__slide.is-active, .hero__slide.is-leaving{ visibility: visible; }
.hero__slide.is-leaving{ z-index: 1; }
.hero__slide.is-active{ z-index: 2; }
.has-js .hero__slide.is-active.is-entrando{ animation: heroCortina 1.5s cubic-bezier(.77,0,.18,1) both; }
.has-js .hero__slide.is-active img{ animation: heroZoom 11.5s cubic-bezier(.25,.1,.25,1) both; }
.hero__slide.is-leaving img{ animation: heroSai 1.5s cubic-bezier(.77,0,.18,1) both; }
@keyframes heroCortina{ from{ clip-path: inset(0 0 0 100%); } to{ clip-path: inset(0 0 0 0); } }
@keyframes heroZoom{ from{ transform: scale(1.12); } to{ transform: scale(1); } }
@keyframes heroSai{ from{ transform: scale(1); filter: brightness(1); } to{ transform: scale(1.04) translateX(-3%); filter: brightness(.55); } }
/* linha de luz neon que acompanha a borda da cortina */
.hero__slide.is-entrando::after{
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 3;
  background: #2ECDDD; box-shadow: 0 0 18px 4px rgba(46,205,221,.75);
  animation: heroLuz 1.5s cubic-bezier(.77,0,.18,1) both;
}
@keyframes heroLuz{ from{ left: 100%; opacity: 1; } 85%{ opacity: 1; } to{ left: 0; opacity: 0; } }

.hero__scrim{
  z-index: 3;
  background:
    radial-gradient(40% 46% at 0% 100%, rgba(19,170,186,0.14), transparent 70%),
    linear-gradient(90deg, rgba(6,15,20,0.78) 0%, rgba(6,15,20,0.45) 30%, rgba(6,15,20,0) 55%),
    linear-gradient(0deg, rgba(6,15,20,0.75) 0%, rgba(6,15,20,0) 30%),
    linear-gradient(180deg, rgba(6,15,20,0.55) 0%, rgba(6,15,20,0) 18%);
}
.hero__marca{
  position: absolute; z-index: 3; pointer-events: none;
  left: -8vw; bottom: -14vh; width: min(66vw, 940px); height: auto; overflow: visible;
  fill: none; stroke: rgba(46,205,221,.13); stroke-width: .8;
}
.hero[aria-roledescription] .hero__content{
  position: relative; z-index: 4; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 96px; padding-bottom: clamp(28px, 6vh, 64px);
}
.hero__texto{ max-width: 600px; text-shadow: 0 2px 24px rgba(6,15,20,.55); }
.hero__copies{ display: grid; }
.hero__copy{ grid-area: 1 / 1; }
.has-js .hero__copy{ visibility: hidden; pointer-events: none; }
.has-js .hero__copy.is-active, .has-js .hero__copy.is-leaving{ visibility: visible; }
.hero__copy.is-active{ pointer-events: auto; }
.hero__copy.is-leaving{ opacity: 0; transform: translateY(-14px); transition: opacity .45s ease, transform .45s ease; }

.hero__eyebrow{
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-300);
}
.hero__eyebrow::before{
  content: ""; width: 34px; height: 1px; background: currentColor; box-shadow: 0 0 10px rgba(46,205,221,.9);
  transform-origin: left;
}
.hero__copy .hero__title{
  display: block; max-width: 19ch; margin-block: clamp(10px, 2vh, 18px) clamp(12px, 2.4vh, 22px);
  font-size: clamp(2rem, min(3.4vw, 6.4vh), 3.6rem); line-height: 1.1; letter-spacing: -0.015em;
  color: var(--text-on-dark);
}
.hero__copy .hero__title span{ display: inline; }
.hero__copy .hero__subtitle{
  max-width: 48ch; margin-bottom: clamp(18px, 3.4vh, 32px);
  font-size: clamp(.95rem, .85rem + .3vw, 1.1rem); color: rgba(243,241,236,.82);
}
.hero__copy .hero__actions{ margin-bottom: 0; }

/* palavras sobem por trás de uma máscara, em sequência */
.hero__copy .w{ display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__copy .w > span{ display: inline-block; }
.has-js .hero__copy .w > span{ transform: translateY(112%); }
.has-js .hero__copy .hero__eyebrow,
.has-js .hero__copy .hero__subtitle,
.has-js .hero__copy .hero__actions{ opacity: 0; transform: translateY(18px); }
.has-js .hero__copy .hero__eyebrow::before{ transform: scaleX(0); }
.has-js .hero__copy.is-active .w > span{
  transform: none; transition: transform 1s cubic-bezier(.22,1,.36,1) calc(.55s + var(--i, 0) * 60ms);
}
.has-js .hero__copy.is-active .hero__eyebrow{ opacity: 1; transform: none; transition: opacity .8s ease .35s, transform .8s cubic-bezier(.22,1,.36,1) .35s; }
.has-js .hero__copy.is-active .hero__eyebrow::before{ transform: none; transition: transform .9s cubic-bezier(.22,1,.36,1) .35s; }
.has-js .hero__copy.is-active .hero__subtitle{ opacity: 1; transform: none; transition: opacity .9s ease 1.05s, transform .9s cubic-bezier(.22,1,.36,1) 1.05s; }
.has-js .hero__copy.is-active .hero__actions{ opacity: 1; transform: none; transition: opacity .9s ease 1.25s, transform .9s cubic-bezier(.22,1,.36,1) 1.25s; }
.has-js .hero__copy.is-leaving .w > span,
.has-js .hero__copy.is-leaving .hero__eyebrow,
.has-js .hero__copy.is-leaving .hero__subtitle,
.has-js .hero__copy.is-leaving .hero__actions{ opacity: 1; transform: none; }
.has-js .hero__copy.is-leaving .hero__eyebrow::before{ transform: none; }

/* navegação: rótulos + barra de progresso de 10 s */
.hero__nav{ display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); max-width: 600px; margin-top: clamp(22px, 5vh, 56px); }
.hero__dot{
  flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px;
  padding: 10px 0; background: none; border: 0; cursor: pointer; text-align: left;
  color: rgba(243,241,236,.6); font: 600 .7rem/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase;
  transition: color .3s ease;
}
.hero__dot:hover, .hero__dot.is-active{ color: var(--text-on-dark); }
.hero__dot:focus-visible, .hero__pause:focus-visible{ outline: 2px solid var(--teal-300); outline-offset: 4px; border-radius: 4px; }
.hero__dot-label{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__dot-bar{ position: relative; height: 2px; background: rgba(243,241,236,.2); border-radius: 2px; overflow: hidden; }
.hero__dot-bar i{ position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--teal-300); box-shadow: 0 0 10px rgba(46,205,221,.9); }
.hero__dot.is-done .hero__dot-bar i{ transform: scaleX(1); }
.hero__dot.is-active .hero__dot-bar i{ animation: heroBarra var(--hero-tempo, 10s) linear forwards; }
.hero.is-paused .hero__dot.is-active .hero__dot-bar i{ animation-play-state: paused; }
@keyframes heroBarra{ to{ transform: scaleX(1); } }
.hero__pause{
  flex: none; width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: rgba(6,15,20,.35);
  border: 1px solid rgba(243,241,236,.25); color: var(--text-on-dark);
}
.hero__pause svg{ width: 13px; height: 13px; fill: currentColor; }
.hero__pause .i-play, .hero.is-paused .hero__pause .i-pause{ display: none; }
.hero.is-paused .hero__pause .i-play{ display: block; }

/* celular e tablet em pé: arte vertical, texto embaixo sobre o escuro da foto */
@media (max-width: 900px), (max-aspect-ratio: 4/5){
  .hero[aria-roledescription] .hero__content{ justify-content: flex-end; padding-top: 90px; padding-bottom: 22px; }
  .hero__texto, .hero__nav{ max-width: none; }
  .hero__nav{ margin-top: 18px; padding-right: 64px; }   /* deixa livre o botão flutuante do WhatsApp */
  .hero__copy .hero__title{ font-size: clamp(1.7rem, min(7.4vw, 4.6vh), 2.6rem); max-width: 18ch; }
  .hero__marca{ width: 130vw; left: -35vw; bottom: auto; top: 26vh; }
  .hero__scrim{
    background:
      linear-gradient(0deg, rgba(6,15,20,0.92) 0%, rgba(6,15,20,0.6) 38%, rgba(6,15,20,0) 62%),
      linear-gradient(180deg, rgba(6,15,20,0.5) 0%, rgba(6,15,20,0) 16%);
  }
}
@media (max-width: 480px){
  .hero__copy .hero__subtitle{ font-size: .92rem; line-height: 1.5; }
  .hero__copy .hero__actions{ flex-direction: row; }
  .hero__copy .hero__actions .btn{ width: auto; }
  .hero__copy .hero__actions .btn--outline{ display: none; }   /* no celular fica só a ação principal */
  .hero__dot{ font-size: .6rem; letter-spacing: .08em; }
}
/* telas baixas (notebook pequeno, celular deitado, iPhone SE): tudo cabe sem rolar */
@media (max-height: 700px){
  .hero__copy .hero__subtitle{ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero__nav{ margin-top: 14px; }
}
@media (max-height: 560px){
  .hero__copy .hero__subtitle{ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .has-js .hero__slide.is-active.is-entrando, .hero__slide.is-entrando::after,
  .has-js .hero__slide.is-active img, .hero__slide.is-leaving img{ animation: none; }
  .has-js .hero__copy .w > span, .has-js .hero__copy .hero__eyebrow, .has-js .hero__copy .hero__subtitle,
  .has-js .hero__copy .hero__actions, .has-js .hero__copy .hero__eyebrow::before{ transform: none; opacity: 1; transition: none; }
}

/* =====================================================================
 * SOBRE — luz que segue o cursor e moldura de luz na foto.
 * =================================================================== */
.about-sec{ overflow: hidden; isolation: isolate; }
.about-sec .container{ position: relative; z-index: 1; }
.about-sec__luz{
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(46,205,221,.10), transparent 70%);
  transition: background .2s linear;
}
.about__images{ isolation: isolate; }
.about__frame{
  position: absolute; inset: -14px 14px 14px -14px; z-index: -1;
  border: 1px solid rgba(46,205,221,.35); border-radius: 18px;
  box-shadow: 0 0 28px -6px rgba(46,205,221,.35), inset 0 0 22px -10px rgba(46,205,221,.4);
}
.about__frame::before{                 /* brilho que percorre a moldura */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 78%, #2ECDDD 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: aboutGira 7s linear infinite;
}
@property --ang{ syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes aboutGira{ to{ --ang: 360deg; } }
.credentials-list li{ position: relative; }
.credentials-list li::after{
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, #2ECDDD, transparent); transform: scaleX(0); transform-origin: left;
  transition: transform .9s cubic-bezier(.22,1,.36,1);
}
.credentials-list li:hover::after{ transform: scaleX(1); }
@media (prefers-reduced-motion: reduce){
  .about__frame::before{ animation: none; }
}

/* =====================================================================
 * EXPLORE — o símbolo da marca em linhas ao fundo, ancorado à direita e
 * saindo pela borda; desenha em neon com a rolagem e sobe em parallax.
 * O desenho interno da pílula fica no terço esquerdo dela, então ancorar
 * à direita deixa justamente o símbolo à vista atrás dos cards de vidro.
 * =================================================================== */
.explore-sec{ position: relative; overflow: hidden; isolation: isolate; padding-bottom: calc(clamp(72px, 10vw, 130px) + min(7vw, 110px)); }
.explore-sec .container{ position: relative; z-index: 1; }
.explore-sec__marca{
  position: absolute; z-index: 0; pointer-events: none;
  bottom: clamp(-70px, -4vw, -24px); right: max(-18vw, -280px); width: min(76vw, 1100px);
  transform: translateY(var(--marca-y, 0px));
}
.explore-sec__pilula{ width: 100%; height: auto; overflow: visible; display: block; }
.explore-sec__fill{ fill: rgba(46,205,221,.03); transition: fill 1.2s ease; }
.explore-sec__marca.is-cheia .explore-sec__fill{ fill: rgba(46,205,221,.06); }
.explore-sec__traco{
  fill: none; stroke: #2ECDDD; stroke-width: 1; stroke-linecap: round;
  stroke-dasharray: 1761; stroke-dashoffset: var(--marca-off, 0);
  filter: drop-shadow(0 0 6px rgba(46,205,221,.5));
  opacity: .45;
}
/* brilho suave atrás do símbolo, pra ele "acender" o fundo da seção */
.explore-sec::before{
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  bottom: -30%; right: -8%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(46,205,221,.08), transparent 70%);
}
@media (max-width: 899px){
  /* celular/tablet: símbolo maior, saindo pela direita, mais suave pra não competir com o texto */
  .explore-sec{ padding-bottom: calc(clamp(72px, 10vw, 130px) + 20vw); }
  .explore-sec__marca{ width: 150vw; right: -66vw; bottom: -6vw; }
  .explore-sec__traco{ opacity: .4; stroke-width: 1.3; }
  .explore-sec::before{ width: 120%; right: -40%; bottom: -40%; }
}
@media (prefers-reduced-motion: reduce){
  .explore-sec__traco{ stroke-dashoffset: 0; }
}

/* =====================================================================
 * CONTATO — topo com o Dr. Luiz Miranda recortado sobre o símbolo da marca
 * =================================================================== */
.contact-hero{ padding-bottom: 0; }
.contact-hero__inner{ display: grid; grid-template-columns: 1fr; gap: 28px; align-items: end; position: relative; }
.contact-hero__text{ padding-bottom: clamp(24px, 5vw, 96px); position: relative; z-index: 2; }
.contact-hero__actions{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.contact-hero__figure{
  position: relative; margin: 0; justify-self: center;
  width: min(78vw, 470px); isolation: isolate;
}
.contact-hero__foto{
  position: relative; z-index: 2; display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.45));
  animation: contatoEntra 1.3s cubic-bezier(.22,1,.36,1) .2s both;
}
.contact-hero__halo{
  position: absolute; z-index: 0; left: 50%; top: 30%; width: 120%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(46,205,221,.30) 0%, rgba(0,97,119,.22) 32%, transparent 66%);
  filter: blur(10px);
  animation: contatoHalo 6s ease-in-out infinite alternate;
}
.contact-hero__marca{
  position: absolute; z-index: 1; left: 50%; top: 34%; width: 175%; height: auto; overflow: visible;
  transform: translate(-50%, -50%);
  fill: rgba(242,242,242,.03); stroke: #2ECDDD; stroke-width: .9;
  stroke-dasharray: 1761; stroke-dashoffset: 1761;
  filter: drop-shadow(0 0 8px rgba(46,205,221,.6));
  animation: contatoTraco 2.6s cubic-bezier(.65,0,.35,1) .4s forwards;
}
@keyframes contatoEntra{ from{ opacity: 0; transform: translateY(40px); } }
@keyframes contatoHalo{ to{ opacity: .65; transform: translate(-50%, -50%) scale(1.08); } }
@keyframes contatoTraco{ to{ stroke-dashoffset: 0; } }
@media (min-width: 900px){
  .contact-hero__inner{ grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .contact-hero__figure{ justify-self: end; width: min(36vw, 500px); margin-top: -40px; }
}
@media (max-width: 480px){
  .contact-hero__actions{ flex-direction: column; }
  .contact-hero__actions .btn{ width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce){
  .contact-hero__foto, .contact-hero__halo{ animation: none; }
  .contact-hero__marca{ animation: none; stroke-dashoffset: 0; }
}

/* =====================================================================
 * MAPA de Niterói — OpenStreetMap em tom petróleo + pin com o símbolo
 * =================================================================== */
.map-card{
  position: relative; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(46,205,221,.06);
  background: #0a1a20;
}
.map-card__map{ height: clamp(440px, 62vh, 620px); background: #0a1a20; z-index: 0; }
.map-card__map .leaflet-tile-pane{
  filter: invert(1) hue-rotate(188deg) brightness(.78) contrast(1.08) saturate(.5);
}
.map-card::after{                        /* vinheta e brilho neon nos cantos, por cima dos tiles */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 400;
  background:
    radial-gradient(45% 55% at 100% 0%, rgba(46,205,221,.14), transparent 70%),
    radial-gradient(60% 70% at 50% 50%, transparent 55%, rgba(6,15,20,.55) 100%);
}
.map-card .leaflet-container{ font-family: var(--font-sans); background: #0a1a20; }
.map-card .leaflet-control-zoom{ border: 0; margin: 18px; }
.map-card .leaflet-control-zoom a{
  width: 40px; height: 40px; line-height: 38px; border: 1px solid var(--glass-border);
  background: rgba(10,26,32,.75); color: var(--text-on-dark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.map-card .leaflet-control-zoom a:first-child{ border-radius: 12px 12px 0 0; }
.map-card .leaflet-control-zoom a:last-child{ border-radius: 0 0 12px 12px; border-top: 0; }
.map-card .leaflet-control-attribution{ background: rgba(6,15,20,.7); color: rgba(243,241,236,.55); font-size: 10px; }
.map-card .leaflet-control-attribution a{ color: var(--teal-300); }

.map-pin{ position: relative; width: 64px; height: 64px; }
.map-pin__onda{
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(46,205,221,.8);
  animation: pinOnda 2.6s cubic-bezier(.22,1,.36,1) infinite;
}
.map-pin__onda:nth-child(2){ animation-delay: 1.3s; }
.map-pin__selo{
  position: absolute; left: 50%; top: 50%; width: 46px; height: 26px; transform: translate(-50%, -50%);
  border-radius: 9px; background: #F2F2F2;
  box-shadow: 0 0 0 4px rgba(46,205,221,.25), 0 0 26px rgba(46,205,221,.85);
  display: grid; place-items: center;
}
.map-pin__selo svg{ width: 30px; height: auto; display: block; }
@keyframes pinOnda{ from{ transform: scale(.4); opacity: 1; } to{ transform: scale(2.1); opacity: 0; } }
.map-ref{
  background: rgba(10,26,32,.82) !important; color: var(--text-on-dark) !important;
  border: 1px solid var(--glass-border) !important; border-radius: 999px !important;
  padding: 5px 12px !important; font: 600 .68rem/1 var(--font-sans) !important; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: none !important;
}
.map-ref::before{ display: none; }

.map-card__info{
  position: relative; z-index: 500;
  margin: -70px 16px 16px; padding: 26px 24px;
  border-radius: 22px; background: rgba(10,26,32,.78);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); box-shadow: var(--glass-highlight), 0 24px 60px -24px rgba(0,0,0,.7);
}
.map-card__kicker{
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-300);
  margin-bottom: 18px;
}
.map-card__info .clinic__info{ margin-bottom: 22px; }
.map-card__rotas{ display: flex; gap: 10px; flex-wrap: wrap; }
.map-card__rota{
  flex: 1; min-width: 130px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--text-on-dark);
  border: 1px solid var(--glass-border); background: var(--glass-bg);
  transition: border-color .3s ease, background .3s ease, color .3s ease;
}
.map-card__rota svg{ width: 18px; height: 18px; fill: var(--teal-300); }
.map-card__rota:hover{ border-color: rgba(46,205,221,.6); background: rgba(46,205,221,.1); }
.map-card__noscript{ padding: 20px; }
@media (min-width: 900px){
  .map-card__info{ position: absolute; top: 28px; left: 28px; width: 360px; margin: 0; }
}

/* =====================================================================
 * BOTÕES SUTIS (25/10) — nada de bloco chapado: contorno fino, letra
 * discreta e uma linha que se estende no hover. Vale para o site todo.
 * =================================================================== */
.btn{
  gap: 12px; padding: 12px 22px;
  font-size: .82rem; font-weight: 500; letter-spacing: .06em;
  border-radius: 999px; border: 1px solid rgba(243,241,236,.22);
  background: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: border-color .5s var(--ease), background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::after{
  content: ""; width: 14px; height: 1px; background: currentColor; opacity: .7;
  transition: width .5s var(--ease), opacity .5s var(--ease);
}
.btn:hover{ transform: none; }
.btn:hover::after{ width: 24px; opacity: 1; }
.btn--primary{
  color: var(--text-on-dark);
  background: rgba(46,205,221,.07);
  border-color: rgba(46,205,221,.45);
}
.btn--primary:hover{
  background: rgba(46,205,221,.13); border-color: rgba(46,205,221,.8);
  box-shadow: 0 0 22px -8px rgba(46,205,221,.55);
}
.btn--primary::after{ background: var(--teal-300); }
.btn--outline{ color: rgba(243,241,236,.86); }
.btn--outline:hover{ background: rgba(243,241,236,.05); border-color: rgba(243,241,236,.45); color: var(--text-on-dark); }
.btn--ghost-nav{ padding: 9px 18px; font-size: .78rem; border-width: 1px; }
.btn--ghost-nav::after{ display: none; }

/* WhatsApp flutuante: vidro escuro com ícone turquesa, sem bloco de cor */
.whatsapp-float{
  width: 52px; height: 52px;
  background: rgba(10,26,32,.72); color: var(--teal-300);
  border: 1px solid rgba(46,205,221,.38);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.7);
}
.whatsapp-float::before{ border-width: 1px; opacity: .35; }
.whatsapp-float svg{ width: 22px; height: 22px; }
.whatsapp-float:hover{ transform: none; border-color: rgba(46,205,221,.75); box-shadow: 0 0 24px -8px rgba(46,205,221,.6); }

/* card de destaque do Contato: realce por luz, não por bloco de cor */
.contact-card--highlight{
  background: linear-gradient(160deg, rgba(46,205,221,.10), rgba(46,205,221,.02));
  border-color: rgba(46,205,221,.38); color: var(--text-on-dark);
}
.contact-card--highlight .contact-card__label{ color: var(--teal-300); opacity: 1; }
.contact-card--highlight .contact-card__value{ color: var(--text-on-dark); }
.contact-card--highlight .contact-card__cta{ color: var(--teal-300); }
a.contact-card:hover{ transform: none; }
.contact-card--highlight:hover{ border-color: rgba(46,205,221,.7); }

@media (max-width: 480px){
  .hero__actions .btn, .cta-strip__actions .btn, .contact-hero__actions .btn{ width: auto; }
  .contact-hero__actions{ flex-direction: row; }
}
.social-band__link{
  padding: 12px 24px; font-size: .82rem; font-weight: 500; letter-spacing: .06em;
  background: transparent; border: 1px solid rgba(243,241,236,.28);
  transition: border-color .5s var(--ease), background-color .5s var(--ease);
}
.social-band__link:hover{ transform: none; background: rgba(243,241,236,.05); border-color: rgba(46,205,221,.7); }
.social-band__link svg{ width: 18px; height: 18px; }
.site-footer__social a:hover{ background: transparent; border-color: rgba(46,205,221,.7); color: var(--teal-300); transform: none; }
.site-header__social:hover{ transform: none; }

/* Ícones (25/10): monoline fino com um ponto de luz turquesa como assinatura */
.surgery-card__icon{ color: var(--text-on-dark); }
.surgery-card__icon .ic-ponto{ fill: var(--teal-300); }
.surgery-card__icon path.ic-ponto{ stroke: var(--teal-300); }
.surgery-card__icon svg{ transition: transform .6s var(--ease); }
.surgery-card:hover .surgery-card__icon svg{ transform: scale(1.04); }

/* =====================================================================
 * VIDRO LÍQUIDO (25/10) — referência do usuário: vidro fosco, cantos
 * pouco arredondados, borda clara fina, reflexo no topo, barra de luz
 * embaixo e sombra suave deslocada. Nas cores do Dr. Luiz Miranda (petróleo +
 * luz turquesa-gelo). Vale para botões e caixas do site todo.
 * =================================================================== */
:root{
  --vl-bg: linear-gradient(180deg, rgba(225,246,250,.13) 0%, rgba(225,246,250,.05) 55%, rgba(225,246,250,.08) 100%);
  --vl-bg-hover: linear-gradient(180deg, rgba(225,246,250,.18) 0%, rgba(225,246,250,.08) 55%, rgba(225,246,250,.11) 100%);
  --vl-borda: rgba(225,246,250,.22);
  --vl-reflexo: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(255,255,255,.05), inset 0 0 0 .5px rgba(255,255,255,.04);
  --vl-sombra: 10px 16px 26px -16px rgba(0,0,0,.75), 0 22px 40px -28px rgba(0,0,0,.8);
  --vl-luz: linear-gradient(90deg, transparent, rgba(214,250,255,.95) 50%, transparent);
  --vl-blur: blur(16px) saturate(150%);
}

/* ---------- Botões ---------- */
.btn{
  position: relative; isolation: isolate;
  padding: 13px 28px; border-radius: 12px;
  font-size: .9rem; font-weight: 500; letter-spacing: .01em;
  color: var(--text-on-dark);
  background: var(--vl-bg); border: 1px solid var(--vl-borda);
  -webkit-backdrop-filter: var(--vl-blur); backdrop-filter: var(--vl-blur);
  box-shadow: var(--vl-reflexo), var(--vl-sombra);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.btn::after{                                   /* barra de luz embaixo */
  content: ""; position: absolute; z-index: -1; left: 22%; right: 22%; bottom: -1px; width: auto; height: 1.5px;
  background: var(--vl-luz); border-radius: 2px; opacity: .55;
  box-shadow: 0 0 12px 2px rgba(150,235,245,.35);
  transition: opacity .5s var(--ease), left .5s var(--ease), right .5s var(--ease);
}
.btn:hover{ background: var(--vl-bg-hover); border-color: rgba(225,246,250,.34); }
.btn:hover::after{ width: auto; opacity: .95; left: 14%; right: 14%; }
.btn--primary{ font-weight: 600; background: var(--vl-bg); border-color: rgba(225,246,250,.28); }
.btn--primary::after{ opacity: .85; }
.btn--primary:hover{ box-shadow: var(--vl-reflexo), var(--vl-sombra), 0 10px 28px -14px rgba(46,205,221,.55); }
.btn--outline{ font-weight: 400; color: rgba(243,241,236,.9); }
.btn--ghost-nav{ padding: 9px 18px; border-radius: 10px; font-size: .8rem; }
.btn--ghost-nav::after{ display: block; opacity: .4; }

/* ---------- Caixas ---------- */
.surgery-card, .contact-card, .review-card, .reviews-summary, .result-card,
.map-card__info, .cat-modal__panel, .review-modal__panel, .ambiente-card figcaption{
  background: var(--vl-bg);
  border: 1px solid var(--vl-borda);
  -webkit-backdrop-filter: var(--vl-blur); backdrop-filter: var(--vl-blur);
  box-shadow: var(--vl-reflexo), var(--vl-sombra);
  border-radius: 16px;
}
.surgery-card, .contact-card, .review-card, .reviews-summary, .result-card{ position: relative; isolation: isolate; }
.map-card__info{ isolation: isolate; }
/* o modal de categoria virou vidro escuro: textos e quadro sem foto passam para os tons claros */
.cat-modal__eyebrow{ color: var(--teal-300); }
.cat-modal__panel h3, .cat-item__title{ color: var(--text-on-dark); }
.cat-item__desc{ color: var(--text-on-dark-muted); }
.cat-item__image{ background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); color: rgba(225,246,250,.35); }
.cat-item__image:has(img){ background: rgba(255,255,255,.04); }
.surgery-card:not(.surgery-card--photo)::after, .contact-card::after, .review-card::after, .reviews-summary::after, .map-card__info::after{
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  left: 18%; right: 18%; bottom: -1px; height: 1.5px; border-radius: 2px;
  background: var(--vl-luz); opacity: .45; box-shadow: 0 0 14px 2px rgba(150,235,245,.3);
  transition: opacity .6s var(--ease), left .6s var(--ease), right .6s var(--ease);
}
.surgery-card:hover, a.contact-card:hover, .review-card:hover{
  transform: none; background: var(--vl-bg-hover); border-color: rgba(225,246,250,.32);
  box-shadow: var(--vl-reflexo), var(--vl-sombra);
}
.surgery-card:not(.surgery-card--photo):hover::after, a.contact-card:hover::after, .review-card:hover::after{ opacity: .9; left: 10%; right: 10%; }
.contact-card--highlight{ background: var(--vl-bg-hover); border-color: rgba(225,246,250,.32); }
.contact-card--highlight::after{ opacity: .85; }
.surgery-card--photo{ background: var(--surface-1); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- Botões pequenos (fechar, zoom do mapa, rotas, WhatsApp) ---------- */
.cat-modal__close, .review-modal__close, .map-card .leaflet-control-zoom a, .map-card__rota{
  background: var(--vl-bg) !important; border: 1px solid var(--vl-borda) !important;
  -webkit-backdrop-filter: var(--vl-blur); backdrop-filter: var(--vl-blur);
  box-shadow: var(--vl-reflexo);
}
.map-card__rota{ border-radius: 12px; position: relative; isolation: isolate; }
.map-card__rota::after{
  content: ""; position: absolute; z-index: -1; left: 22%; right: 22%; bottom: -1px; height: 1.5px;
  background: var(--vl-luz); opacity: .55; box-shadow: 0 0 12px 2px rgba(150,235,245,.3);
}
.map-card__rota:hover{ background: var(--vl-bg-hover) !important; }
.map-card .leaflet-control-zoom a:first-child{ border-radius: 10px 10px 0 0; }
.map-card .leaflet-control-zoom a:last-child{ border-radius: 0 0 10px 10px; }
.whatsapp-float{
  background: var(--vl-bg), rgba(10,26,32,.55); border: 1px solid var(--vl-borda);
  box-shadow: var(--vl-reflexo), var(--vl-sombra);
}
.social-band__link, .site-footer__social a{
  background: var(--vl-bg); border: 1px solid var(--vl-borda); box-shadow: var(--vl-reflexo);
  -webkit-backdrop-filter: var(--vl-blur); backdrop-filter: var(--vl-blur);
}
.social-band__link{ border-radius: 12px; }
@media (min-width: 700px){
  .whatsapp-float{ width: auto; min-width: 52px; padding-inline: 14px; }
}

/* Contato sem a foto (25/10): topo volta a ser só texto */
.contact-hero{ padding-bottom: clamp(48px, 7vw, 88px); }
.contact-hero__inner{ grid-template-columns: 1fr !important; }
.contact-hero__text{ padding-bottom: 0; max-width: 760px; }

/* Resultados: grade uniforme, miniaturas recortadas com consistência e ampliação em tamanho real. */
.results-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  align-items: stretch;
  gap: 24px;
}
.result-card{
  width: 100%;
  max-width: none;
  min-width: 0;
  flex: none;
}
.result-card__compare{
  width: 100%;
  aspect-ratio: 8 / 5;
  flex: none;
}
.result-card--stacked .result-card__compare{
  flex-direction: column;
  aspect-ratio: 8 / 5;
}
.result-card--stacked .result-card__side + .result-card__side{
  border-left: none;
  border-top: 1px solid rgba(255,255,255,.18);
}
.result-card__side{
  min-width: 0;
  flex: 1 1 0;
  padding-bottom: 12px;
}
.result-card__side img{ object-fit: cover; }
.result-card__image-link{
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  cursor: zoom-in;
}
.result-card__side::after{ z-index: 1; }
.result-card__side-label{ z-index: 2; }
.results-lightbox{
  position: fixed;
  inset: 0;
  width: min(92vw, 1080px);
  max-width: none;
  max-height: 92vh;
  margin: auto;
  padding: 54px 24px 20px;
  overflow: auto;
  color: #f7f4ee;
  background: rgba(9, 24, 29, .98);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  box-shadow: 0 32px 100px rgba(0,0,0,.55);
}
.results-lightbox[open]{ display: grid; justify-items: center; gap: 12px; }
.results-lightbox::backdrop{ background: rgba(2, 9, 12, .82); backdrop-filter: blur(7px); }
.results-lightbox__comparison{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  width: 100%;
}
.results-lightbox__comparison figure{ min-width: 0; margin: 0; text-align: center; }
.results-lightbox__comparison figcaption{
  margin-bottom: 8px;
  color: var(--teal-300);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.results-lightbox__image{
  display: block;
  width: 100%;
  height: min(64vh, 620px);
  object-fit: contain;
  background: rgba(0,0,0,.18);
  border-radius: 10px;
}
.results-lightbox__close{
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #f7f4ee;
  background: rgba(255,255,255,.08);
  font: inherit;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}
.results-lightbox__caption{ margin: 0; color: rgba(247,244,238,.78); font-size: .88rem; text-align: center; }
@media (max-width: 600px){
  .results-grid{ grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .results-lightbox{ width: 96vw; padding: 50px 12px 16px; border-radius: 14px; }
  .results-lightbox__comparison{ gap: 8px; }
  .results-lightbox__image{ height: min(58vh, 480px); }
  .results-lightbox__comparison figcaption{ font-size: .68rem; }
}
