/* ==========================================================================
   Clínica Lazúli — design system
   Paleta inspirada no lápis-lazúli: azul profundo com veios dourados.
   Mobile-first. Usado por todas as páginas geradas por src/build.mjs.
   ========================================================================== */

/* Fontes hospedadas no próprio site (subconjunto latino cobre todo o português). */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/eb-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/eb-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --lapis-950: #0a1326;
  --lapis-900: #0f1c38;
  --lapis-800: #16284d;
  --lapis-700: #1e3564;
  --lapis-600: #2b4a85;

  --gold-700: #7d5f25;
  --gold-600: #9c7a3c;
  --gold-500: #c4a061;
  --gold-400: #d6b97f;
  --gold-300: #e6d3a8;

  --ivory: #fbf8f3;
  --sand: #f4ede3;
  --sand-2: #ece2d4;
  --line: #e3d9cb;
  --line-dark: rgba(230, 211, 168, 0.16);

  --ink: #141b2d;
  --ink-2: #3a4356;
  --muted: #5d6678;
  --on-dark: #eef1f7;
  --on-dark-2: #c3cbdb;

  --font-display: 'EB Garamond', Garamond, Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 11vw, 136px);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 28, 56, 0.06), 0 2px 8px rgba(15, 28, 56, 0.05);
  --shadow: 0 10px 30px -12px rgba(15, 28, 56, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(10, 19, 38, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
  --focus: var(--gold-700);

  color-scheme: light;
  interpolate-size: allow-keywords;
}
@media (min-width: 1024px) { :root { --header-h: 84px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (max-width: 1179px) { html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, picture, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
::selection { background: var(--gold-300); color: var(--lapis-950); }
[hidden] { display: none !important; }

/* Foco visível: anel escuro no claro, anel dourado claro nas áreas escuras. */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.hero, .page-hero, .section--dark, .cta-final, .booking-card, .site-footer, .sticky-cta,
.site-header:not(.is-scrolled):not(.is-open) { --focus: var(--gold-400); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--gold-500); color: var(--lapis-950); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.nowrap { white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--ivory { background: var(--ivory); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--lapis-900); color: var(--on-dark); }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.012em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 8vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 5.6vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 3.6vw, 1.6rem); line-height: 1.22; font-weight: 500; }
em { font-style: italic; }
h1 em, h2 em { color: var(--gold-600); }
.hero em, .page-hero em, .section--dark h2 em, .cta-final em { color: var(--gold-400); }

.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 12px;
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.5;
  color: var(--gold-700);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; margin-top: 0.75em; background: currentColor; flex: none; opacity: 0.8; }
.hero .eyebrow, .page-hero .eyebrow, .section--dark .eyebrow, .cta-final .eyebrow { color: var(--gold-400); }
@media (max-width: 479px) { .eyebrow { letter-spacing: 0.15em; gap: 10px; } .eyebrow::before { width: 20px; } }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.25rem); line-height: 1.7; color: var(--ink-2); }
.muted { color: var(--muted); }

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head p { color: var(--ink-2); font-size: 1.075rem; max-width: 62ch; }
.section--dark .section-head p { color: var(--on-dark-2); }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--gold-500); --btn-fg: var(--lapis-950); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border-radius: 999px; border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1.2;
  text-align: center;
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { box-shadow: 0 10px 24px -12px rgba(196, 160, 97, 0.8); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: rgba(238, 241, 247, 0.32); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--lapis-900); --btn-bd: rgba(15, 28, 56, 0.28); }
.btn--dark { --btn-bg: var(--lapis-900); --btn-fg: var(--ivory); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 0.875rem; }
.btn--block { width: 100%; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--gold:hover { --btn-bg: var(--gold-400); box-shadow: 0 16px 30px -14px rgba(196, 160, 97, 0.9); }
  .btn--ghost:hover { --btn-bd: var(--gold-400); --btn-fg: var(--gold-300); }
  .btn--outline:hover { --btn-bd: var(--lapis-900); --btn-bg: var(--lapis-900); --btn-fg: var(--ivory); }
  .btn--dark:hover { --btn-bg: var(--lapis-700); }
}
.btn:active { transform: translateY(0); }
.actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 560px) { .actions { flex-direction: row; flex-wrap: wrap; align-items: center; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px;
  font-weight: 700; font-size: 0.925rem; color: var(--lapis-700);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.3s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
@media (hover: hover) {
  .link-arrow:hover { background-size: 100% 1px; }
  .link-arrow:hover svg { transform: translateX(3px); }
}
.section--dark .link-arrow, .page-hero .link-arrow { color: var(--gold-400); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.3s;
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(10, 19, 38, 0.55), rgba(10, 19, 38, 0));
  transition: opacity 0.4s;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(251, 248, 243, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 0; }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; flex-direction: column; line-height: 1; gap: 4px; }
.brand__name { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.8rem; }
.brand__sub { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.8; white-space: nowrap; }
@media (max-width: 639px) { .brand__sub { display: none; } }
@media (min-width: 1024px) { .site-header .brand__name { font-size: 2rem; } }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; white-space: nowrap; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  transition: background-color 0.3s;
}
.icon-btn svg { width: 22px; height: 22px; }
@media (hover: hover) { .icon-btn:hover { background: rgba(127, 127, 127, 0.14); } }
.menu-toggle { gap: 10px; width: auto; padding: 0 6px 0 14px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
html:not(.js) .menu-toggle { display: none; }
.menu-toggle__bars { position: relative; width: 22px; height: 14px; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform 0.4s var(--ease), opacity 0.3s, top 0.4s var(--ease); }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }
.is-open .menu-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.is-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.is-open .menu-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Navegação desktop (a partir de 1180px) */
.main-nav { display: none; }
@media (min-width: 1180px) {
  .main-nav { display: flex; align-items: center; gap: 2px; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .header-wa { display: none; }
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 10px 12px; border-radius: 8px;
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.01em;
  transition: color 0.25s;
}
@media (min-width: 1180px) and (max-width: 1279px) { .nav-link { padding: 10px 9px; font-size: 0.84rem; } }
.nav-link svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease); opacity: 0.7; }
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-link[aria-current] { color: var(--gold-400); }
.is-scrolled .nav-link:hover, .is-scrolled .nav-item:focus-within > .nav-link, .is-scrolled .nav-link[aria-current] { color: var(--gold-700); }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: -12px;
  min-width: 290px; padding: 12px;
  background: var(--ivory); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
  --focus: var(--gold-700);
}
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item.is-suppressed > .dropdown { opacity: 0; visibility: hidden; }
.dropdown--wide { min-width: 540px; }
.dropdown--wide ul { columns: 2; column-gap: 8px; }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown li { break-inside: avoid; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); transition: background-color 0.2s, color 0.2s; }
.dropdown a:hover, .dropdown a[aria-current='page'] { background: var(--sand); color: var(--lapis-900); }
.dropdown__all { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.dropdown__all a { font-weight: 700; color: var(--gold-700); }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ivory);
  padding: calc(var(--header-h) + 8px) 0 calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.35s;
  --focus: var(--gold-700);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), visibility 0s; }
@media (min-width: 1180px) { .mobile-menu { display: none; } }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line); }
.mobile-menu__link, .mobile-menu summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; line-height: 1.2; color: var(--ink);
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 18px; height: 18px; color: var(--gold-600); transition: transform 0.35s var(--ease); flex: none; }
.mobile-menu details[open] summary svg { transform: rotate(45deg); }
.mobile-menu details ul { list-style: none; margin: 0; padding: 0 0 18px; display: grid; gap: 2px; }
.mobile-menu details a { display: block; padding: 10px 0 10px 16px; border-left: 1px solid var(--line); font-size: 1rem; color: var(--ink-2); }
.mobile-menu details a[aria-current='page'] { color: var(--gold-700); border-color: var(--gold-500); }
.mobile-menu details a.mobile-menu__all { font-weight: 700; color: var(--lapis-700); }
.mobile-menu__footer { margin-top: 28px; display: grid; gap: 18px; }
.mobile-menu__contact { display: grid; gap: 4px; font-size: 0.925rem; color: var(--muted); }
.mobile-menu__contact a { color: var(--ink); font-weight: 600; padding: 10px 0; }
body.menu-open { overflow: hidden; }

/* ---------- Hero da página inicial ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--lapis-900); color: var(--on-dark);
  padding: calc(var(--header-h) + 36px) 0 clamp(56px, 9vw, 96px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(43, 74, 133, 0.55), transparent 60%),
    radial-gradient(70% 50% at 0% 100%, rgba(196, 160, 97, 0.14), transparent 60%),
    linear-gradient(90deg, rgba(15, 28, 56, 0.96) 0%, rgba(15, 28, 56, 0.82) 45%, rgba(15, 28, 56, 0.55) 100%);
}
.hero__bg::after, .page-hero::after, .grain::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; filter: grayscale(1) contrast(1.05) blur(1.5px);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 80%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 80%);
  transition: opacity 1.6s var(--ease);
}
.hero__video.is-ready { opacity: 0.1; }
.hero__grid { display: grid; gap: 44px; align-items: center; }
.hero__copy { display: grid; gap: 22px; max-width: 640px; }
.hero__title { display: grid; gap: 18px; font-weight: 400; }
.hero__title .eyebrow { font-size: 0.7rem; }
.hero__headline { display: block; font-size: clamp(2.35rem, 9.8vw, 4.6rem); line-height: 1.06; letter-spacing: -0.015em; }
.hero__headline em { display: block; }
.hero__lead { font-size: clamp(1.05rem, 3.6vw, 1.3rem); line-height: 1.6; color: var(--on-dark-2); max-width: 520px; text-wrap: pretty; }
.hero__actions { margin-top: 6px; }
.hero__trust { display: none; }
@media (min-width: 640px) {
  .hero__trust {
    list-style: none; margin: 10px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-dark);
    display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 0.875rem; color: var(--on-dark-2);
  }
  .hero__trust li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
  .hero__trust svg { width: 16px; height: 16px; color: var(--gold-400); }
}

.hero__media { position: relative; width: 100%; max-width: 440px; margin-inline: auto; }
.arch {
  position: relative; border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden; aspect-ratio: 4 / 5; background: var(--lapis-800);
  box-shadow: var(--shadow-lg);
}
.arch picture { display: block; width: 100%; height: 100%; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.arch-frame { position: absolute; inset: -12px 12px 12px -12px; border: 1px solid rgba(214, 185, 127, 0.45); border-radius: 999px 999px var(--radius) var(--radius); pointer-events: none; }
@media (max-width: 639px) { .arch-frame { inset: -8px 8px 8px -8px; } }
.hero__badge {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: calc(100% - 36px); max-width: 360px;
  display: grid; gap: 2px; text-align: center;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(10, 19, 38, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(230, 211, 168, 0.22);
}
.hero__badge strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(0.98rem, 3.6vw, 1.15rem); line-height: 1.3; color: var(--ivory); text-wrap: balance; }
.hero__badge > span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-400); }

@media (min-width: 720px) {
  .hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 36px; }
  .hero__media { max-width: 440px; margin-right: 0; }
  .hero__headline { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
}
@media (min-width: 720px) and (max-width: 1179px) {
  .hero__trust { gap: 10px 20px; font-size: 0.82rem; }
}
@media (min-width: 900px) { .hero__grid { gap: 48px; } }
@media (min-width: 1024px) {
  .hero { min-height: min(100vh, 940px); display: flex; align-items: center; padding-top: calc(var(--header-h) + 48px); }
  .hero > .container { width: 100%; }
  .hero__grid { gap: 64px; }
  .hero__copy { max-width: 700px; }
}

/* ---------- Hero das páginas internas ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--lapis-900); color: var(--on-dark);
  padding: calc(var(--header-h) + 28px) 0 clamp(56px, 8vw, 96px);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(43, 74, 133, 0.6), transparent 60%),
    radial-gradient(50% 70% at 0% 110%, rgba(196, 160, 97, 0.12), transparent 60%),
    linear-gradient(180deg, var(--lapis-900), var(--lapis-950));
}
.page-hero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 64px; } }
.page-hero__inner { display: grid; gap: 20px; max-width: 820px; min-width: 0; }
.page-hero h1 { font-size: clamp(2.2rem, 8.2vw, 4rem); line-height: 1.08; }
.page-hero__lead { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 4vw, 1.6rem); line-height: 1.4; color: var(--gold-300); max-width: 680px; text-wrap: pretty; }
.page-hero__text { color: var(--on-dark-2); font-size: 1.05rem; max-width: 640px; }
.page-hero .actions { margin-top: 8px; }
.page-hero__ornament {
  display: none; position: absolute; right: -120px; top: 40px; width: 420px; height: 520px; z-index: -1;
  border: 1px solid rgba(214, 185, 127, 0.18); border-radius: 999px 999px 0 0; pointer-events: none;
}
.page-hero__ornament::after { content: ''; position: absolute; inset: 28px; border: 1px solid rgba(214, 185, 127, 0.1); border-radius: inherit; }
@media (min-width: 1100px) { .page-hero__ornament { display: block; } }
.page-hero--doctor .hero__media { max-width: 380px; }
@media (min-width: 1024px) { .page-hero--doctor .page-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.credential { font-size: 0.875rem; color: var(--on-dark-2); }
.credential strong { color: var(--ivory); font-weight: 600; }

/* Cartão translúcido no hero (resumo do tratamento / lista da categoria) */
.hero-card {
  display: grid; gap: 16px; padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  min-width: 0;
}
.hero-card h2 { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); }
details.hero-card { gap: 0; }
details.hero-card[open] > summary { margin-bottom: 16px; }
.hero-card summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; min-height: 24px; }
.hero-card summary::-webkit-details-marker { display: none; }
.hero-card summary svg { width: 18px; height: 18px; color: var(--gold-400); transition: transform 0.35s var(--ease); flex: none; }
.hero-card[open] summary svg { transform: rotate(45deg); }
.hero-card .checklist { gap: 10px; }
@media (max-width: 1023px) { details.hero-card { padding: 18px 20px; } }
@media (min-width: 1024px) { .hero-card summary { cursor: default; } .hero-card summary svg { display: none; } }
.hero-card .checklist li { color: var(--on-dark); }
.hero-card .checklist svg { color: var(--gold-400); }
.hero-card__meta { padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: 0.85rem; color: var(--on-dark-2); }
.hero-card__meta strong { color: var(--gold-300); font-weight: 600; }
.hero-card--list { display: none; }
@media (min-width: 1024px) { .hero-card--list { display: grid; } }
.hero-card__links { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 24px; }
.hero-card__links--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-card__links--2 li:nth-last-child(2):nth-child(odd) a { border-bottom: 0; }
.hero-card__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 0.9rem; border-bottom: 1px solid var(--line-dark); font-size: 0.92rem; color: var(--on-dark); transition: color 0.2s; }
.hero-card__links li:last-child a { border-bottom: 0; }
.hero-card__links svg { width: 14px; height: 14px; color: var(--gold-400); flex: none; }
.hero-card__links a:hover { color: var(--gold-300); }

.breadcrumb { font-size: 0.8rem; color: var(--on-dark-2); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.breadcrumb li + li::before { content: ''; width: 5px; height: 5px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); opacity: 0.6; }
.breadcrumb a { color: var(--on-dark); padding: 6px 0; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb [aria-current='page'] { color: var(--gold-400); }
@media (max-width: 639px) {
  .breadcrumb li:last-child:not(:nth-child(2)) { display: none; }
  .page-hero .breadcrumb + .eyebrow { display: none; }
}

/* ---------- Conteúdo ---------- */
.layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; } }
.article { display: grid; gap: clamp(40px, 6vw, 56px); min-width: 0; }
.prose { display: grid; gap: 18px; max-width: 64ch; }
.prose h2 { font-size: clamp(1.65rem, 4.8vw, 2.25rem); margin-bottom: 4px; }
.prose p { font-size: clamp(1.02rem, 2.4vw, 1.1rem); line-height: 1.8; color: var(--ink-2); text-wrap: pretty; overflow-wrap: break-word; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--ink-2); line-height: 1.6; }
.checklist svg { width: 20px; height: 20px; margin-top: 2px; color: var(--gold-600); }

.pullquote {
  position: relative; padding: 8px 0 8px clamp(22px, 4vw, 34px);
  border-left: 1px solid var(--gold-500);
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.45rem, 4.6vw, 2.1rem); line-height: 1.3; color: var(--lapis-800);
  max-width: 30ch; text-wrap: balance;
}
.pullquote::before { content: '“'; position: absolute; left: clamp(22px, 4vw, 34px); top: -0.55em; font-size: 3.4em; line-height: 1; color: var(--gold-400); opacity: 0.45; }

.note {
  display: grid; gap: 6px; padding: 18px 20px; max-width: 72ch;
  background: var(--sand); border-radius: var(--radius-sm);
  font-size: 0.875rem; line-height: 1.6; color: var(--muted);
}
.note strong { color: var(--ink-2); }

/* Coluna lateral */
.aside { display: grid; gap: 20px; }
@media (min-width: 1024px) { .aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.booking-card {
  display: none; gap: 18px; padding: 28px;
  background: var(--lapis-900); color: var(--on-dark);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden; isolation: isolate;
}
@media (min-width: 1024px) { .booking-card { display: grid; } }
.booking-card::before { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 160, 97, 0.25), transparent 70%); z-index: -1; }
.booking-card h2 { font-size: 1.6rem; line-height: 1.2; }
.booking-card p { color: var(--on-dark-2); font-size: 0.95rem; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 0.9rem; }
.info-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.info-list svg { width: 18px; height: 18px; margin-top: 2px; color: var(--gold-400); }
.info-list a { justify-self: start; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.3s var(--ease), color 0.2s; }
.info-list a:hover { background-size: 100% 1px; }
.booking-card .info-list { padding-top: 18px; border-top: 1px solid var(--line-dark); color: var(--on-dark-2); }

.mini-team { display: grid; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.mini-team h2 { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-700); }
.mini-team a { display: grid; gap: 2px; padding: 10px 12px; margin-inline: -12px; border-radius: 10px; transition: background-color 0.2s; }
.mini-team a:hover { background: var(--sand); }
.mini-team strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; line-height: 1.2; color: var(--lapis-900); }
.mini-team span { font-size: 0.82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); min-width: 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: grid; grid-template-columns: 1fr 32px; gap: 20px; align-items: center;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 3.2vw, 1.4rem); line-height: 1.3; color: var(--lapis-900);
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .faq__item summary:hover { color: var(--gold-700); } }
.faq__icon { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); transition: background-color 0.3s, border-color 0.3s; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--gold-700); transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--lapis-900); border-color: var(--lapis-900); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--gold-400); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 52px 24px 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.8; overflow-wrap: break-word; }
.faq__answer p { max-width: 64ch; }
.faq__answer a { color: var(--lapis-700); border-bottom: 1px solid currentColor; }
@supports selector(::details-content) {
  .faq__item::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; }
}
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.faq-wrap .section-head { margin-bottom: 0; }
@media (min-width: 1024px) {
  .faq-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
  .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
  .faq-wrap h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); }
}

/* ---------- Cards de procedimento ---------- */
.card-grid { display: grid; gap: 16px; }
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .card-grid > .cta-tile:nth-child(2n + 1) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .card-grid > .cta-tile:nth-child(2n + 1) { grid-column: auto; }
  .card-grid > .cta-tile:nth-child(3n + 1) { grid-column: 1 / -1; }
  .card-grid > .cta-tile:nth-child(3n + 2) { grid-column: span 2; }
}
.proc-card {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px;
  padding: 28px 26px 24px; min-height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.proc-card--plain { grid-template-rows: auto 1fr auto; }
@media (hover: hover) { .proc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-400); } }
.proc-card__num { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--gold-700); }
.proc-card h3 { font-size: 1.45rem; color: var(--lapis-900); }
.proc-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.proc-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.proc-card .link-arrow { margin-top: 8px; }
.section--sand .proc-card { background: var(--ivory); }
.cta-tile {
  display: grid; gap: 14px; align-content: center; justify-items: start;
  padding: 30px 28px; border-radius: var(--radius);
  background: var(--lapis-900); color: var(--on-dark);
  --focus: var(--gold-400);
}
.cta-tile h3 { font-size: 1.6rem; color: var(--ivory); }
.cta-tile p { color: var(--on-dark-2); font-size: 0.95rem; max-width: 52ch; }

/* ---------- Áreas de cuidado (home e profissionais) ---------- */
.spec-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .spec-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) {
  .spec-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  @supports (grid-template-rows: subgrid) {
    .spec-grid { grid-template-rows: auto; }
    .spec-card { grid-row: span 5; grid-template-rows: subgrid; }
  }
}
.spec-card {
  display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 16px;
  padding: clamp(28px, 4vw, 38px); border-radius: var(--radius-lg);
  background: var(--ivory); border: 1px solid var(--line);
  transition: box-shadow 0.45s var(--ease);
}
@media (hover: hover) { .spec-card:hover { box-shadow: var(--shadow); } }
.spec-card__num { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--gold-700); }
.spec-card__num svg { width: 40px; height: 40px; color: var(--lapis-600); opacity: 0.85; }
.spec-card h3 { font-size: clamp(1.6rem, 4.6vw, 1.9rem); font-weight: 400; color: var(--lapis-900); }
.spec-card h3 a:hover { color: var(--gold-700); }
.spec-card > p { color: var(--muted); }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; align-content: start; }
.link-list li { border-top: 1px solid var(--line); }
.link-list a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 0.9rem; font-weight: 600; line-height: 1.3; color: var(--ink-2); transition: color 0.2s; }
.link-list a:hover { color: var(--gold-700); }
@media (min-width: 1024px) { .link-list a { min-height: 44px; font-size: 0.875rem; } }
.spec-card > .link-arrow { justify-self: start; }
.also { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center; color: var(--muted); font-size: 0.925rem; text-align: center; }
.also strong { color: var(--ink-2); }

/* ---------- Intro + pilares ---------- */
.intro-grid { display: grid; gap: 36px; }
@media (min-width: 1024px) { .intro-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; align-items: end; } }
.intro-grid--top { align-items: start; }
.intro-grid h2 { font-size: clamp(2.2rem, 6.8vw, 3.8rem); }
.pillars { display: grid; gap: 1px; margin-top: clamp(48px, 7vw, 80px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pillar { display: grid; gap: 10px; align-content: start; padding: clamp(24px, 3.5vw, 36px); background: var(--ivory); }
.pillar svg { width: 30px; height: 30px; color: var(--gold-600); margin-bottom: 6px; }
.pillar h3 { font-size: 1.35rem; color: var(--lapis-900); }
.pillar p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Profissionais ---------- */
.team-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1024px) { .team-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; } }
.team-photo { position: relative; max-width: 500px; width: 100%; margin-inline: auto; }
.team-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.team-photo::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(214, 185, 127, 0.4); border-radius: var(--radius-lg); z-index: 0; }
.team-photo--hide-sm { display: none; }
@media (min-width: 1024px) { .team-photo--hide-sm { display: block; } }
@media (max-width: 639px) { .team-photo::before { inset: 10px -10px -10px 10px; } }
.team-copy { display: grid; gap: 22px; }
.doctor-list { display: grid; gap: 16px; margin-top: 8px; }
.doctor-card {
  display: grid; gap: 10px; padding: 24px;
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, background-color 0.3s;
}
.doctor-card:hover { border-color: rgba(214, 185, 127, 0.5); }
.doctor-card h3 { font-size: 1.65rem; font-weight: 400; color: var(--ivory); }
.doctor-card__role { text-wrap: balance; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); }
.doctor-card p { color: var(--on-dark-2); font-size: 0.95rem; }
.doctor-card__links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 6px; }
.section--dark .doctor-card { --focus: var(--gold-400); }
.section--ivory .doctor-card, .section--sand .doctor-card { background: #fff; border-color: var(--line); }
.section--ivory .doctor-card h3, .section--sand .doctor-card h3 { color: var(--lapis-900); }
.section--ivory .doctor-card p, .section--sand .doctor-card p { color: var(--muted); }
.section--ivory .doctor-card__role, .section--sand .doctor-card__role { color: var(--gold-700); }
.doctor-strip { display: grid; gap: 16px; }
@media (min-width: 800px) {
  .doctor-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .doctor-strip:has(> :only-child) { grid-template-columns: minmax(0, 640px); }
  @supports (grid-template-rows: subgrid) {
    .doctor-strip { grid-template-rows: auto; }
    .doctor-strip .doctor-card { grid-row: span 4; grid-template-rows: subgrid; }
  }
}

.facts { display: grid; border-top: 1px solid var(--line); }
.facts div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .facts div { grid-template-columns: 200px 1fr; gap: 20px; } }
.facts dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-700); padding-top: 3px; }
.facts dd { color: var(--ink); font-weight: 500; }
.pub { display: grid; gap: 8px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pub h3 { font-size: 1.25rem; color: var(--lapis-900); }
.pub h3 a:hover { color: var(--gold-700); }
.pub p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Passos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.step { position: relative; display: grid; gap: 12px; align-content: start; padding: 30px 28px; border-radius: var(--radius-lg); background: var(--ivory); border: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--gold-600); }
.step h3 { font-size: 1.45rem; color: var(--lapis-900); }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Carrossel (galeria e depoimentos) ---------- */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 360px); gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 24px; margin-inline: calc(var(--gutter) * -1);
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: none; gap: 10px; }
@media (min-width: 900px) {
  .carousel__nav { display: flex; }
  .carousel__track { grid-auto-columns: calc((100% - 32px) / 3); margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
}
.carousel__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--lapis-900);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, opacity 0.25s;
}
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn:hover:not(:disabled) { background: var(--lapis-900); color: var(--ivory); border-color: var(--lapis-900); }
.carousel__btn:disabled { opacity: 0.35; cursor: default; }
.carousel-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(32px, 5vw, 48px); }
.carousel-head .section-head { margin-bottom: 0; }

.gallery-item { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: linear-gradient(110deg, var(--sand-2) 30%, var(--sand) 50%, var(--sand-2) 70%) 0 0 / 300% 100%; animation: shimmer 1.8s linear infinite; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
@media (hover: hover) { .gallery-item:hover img { transform: scale(1.04); } }
@keyframes shimmer { to { background-position: -150% 0; } }

.testimonial {
  display: grid; grid-template-rows: auto 1fr auto; gap: 18px;
  padding: 30px 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.stars { display: flex; gap: 3px; color: var(--gold-500); }
.stars svg { width: 16px; height: 16px; }
.testimonial blockquote { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.testimonial figcaption { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; color: var(--lapis-700); }

/* ---------- CTA final ---------- */
.cta-final { position: relative; overflow: hidden; isolation: isolate; background: var(--lapis-900); color: var(--on-dark); }
.cta-final::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(43, 74, 133, 0.6), transparent 60%),
    radial-gradient(40% 60% at 10% 90%, rgba(196, 160, 97, 0.16), transparent 60%);
}
.cta-final__inner { display: grid; gap: 22px; max-width: 760px; }
.cta-final h2 { font-size: clamp(2rem, 6.4vw, 3.4rem); }
.cta-final p { color: var(--on-dark-2); font-size: 1.075rem; line-height: 1.75; max-width: 60ch; }
.cta-final__sign { display: grid; gap: 2px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 0.9rem; color: var(--on-dark-2); }
.cta-final__sign strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--ivory); text-wrap: balance; }
.cta-final__sign em { font-family: var(--font-display); font-size: 1.1rem; }
.cta-final .actions { margin-top: 6px; }
.cta-ornament { display: none; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 460px; border: 1px solid rgba(214, 185, 127, 0.16); border-radius: 999px 999px 0 0; z-index: -1; }
@media (min-width: 1100px) { .cta-ornament { display: block; } }

/* ---------- Localização ---------- */
.location { display: grid; gap: 28px; }
@media (min-width: 1024px) { .location { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; align-items: stretch; } }
.location__card { display: grid; gap: 22px; align-content: start; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.location__card .info-list { color: var(--ink-2); font-size: 0.97rem; gap: 0; }
.location__card .info-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.location__card .info-list svg { color: var(--gold-600); }
.location__card .info-list a:hover { color: var(--lapis-700); }
.location__card .actions .btn { flex: 1 1 auto; }
@media (max-width: 379px) { .location__card { padding-inline: 20px; } .location__card .btn { padding-inline: 18px; } }
.info-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .info-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 56px; align-items: stretch; } .info-grid .map { height: 100%; } }
.facts a { color: var(--lapis-700); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.3s var(--ease); }
.facts a:hover { background-size: 100% 1px; }
.map { min-height: 320px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sand-2); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--lapis-950); color: var(--on-dark-2); padding: clamp(64px, 9vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: 0.92rem; border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 720px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1180px) {
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; }
  .footer-brand { grid-column: auto; }
}
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand .brand__name { font-size: 2.2rem; color: var(--ivory); }
.footer-brand p { max-width: 340px; }
.site-footer h2 { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; line-height: 1.5; text-transform: uppercase; color: var(--gold-400); margin-bottom: 12px; text-wrap: balance; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; }
.footer-links a { display: inline-block; padding: 6px 0; transition: color 0.2s; }
.footer-links li:not(:has(a)) { padding: 6px 0; }
.footer-links a:hover { color: var(--gold-300); }
.footer-links + h2 { margin-top: 26px; }
@media (max-width: 719px) { .footer-links--procs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; line-height: 1.35; } }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--on-dark); transition: border-color 0.2s, color 0.2s; }
.social a:hover { border-color: var(--gold-400); color: var(--gold-300); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { display: grid; gap: 10px; padding-top: 28px; font-size: 0.8rem; text-align: center; color: #95a0b6; }
.footer-bottom strong { color: var(--on-dark); font-weight: 600; }
.footer-bottom a:hover { color: var(--gold-300); }

/* ---------- CTA fixo no celular/tablet + WhatsApp flutuante ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; gap: 10px; align-items: center; justify-content: center;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 19, 38, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border-top: 1px solid var(--line-dark);
  transform: translateY(110%); visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.sticky-cta.is-visible { transform: none; visibility: visible; transition: transform 0.45s var(--ease), visibility 0s; }
.sticky-cta .btn { flex: 1 1 auto; min-height: 48px; }
.sticky-cta .icon-btn { flex: none; width: 48px; height: 48px; border: 1px solid rgba(238, 241, 247, 0.28); color: var(--on-dark); }
@media (min-width: 640px) { .sticky-cta { padding-inline: var(--gutter); } .sticky-cta .btn { flex: 0 1 420px; } }
@media (min-width: 1180px) { .sticky-cta { display: none; } }
@media (min-width: 1024px) { body:has(.booking-card) .sticky-cta { display: none; } }

.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.6);
  transition: transform 0.35s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
@media (hover: hover) { .wa-float:hover { transform: scale(1.07); } }
@media (min-width: 1440px) { .wa-float { display: inline-flex; } }

/* ---------- Animações ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in, .reveal-off .reveal { opacity: 1; transform: none; }
.hero .reveal-up { animation: rise 0.7s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; align-items: center; }
.notfound .page-hero__inner { max-width: 640px; }
.notfound__code { font-family: var(--font-display); font-style: italic; font-size: clamp(5rem, 22vw, 9rem); line-height: 0.9; color: var(--gold-400); }
.notfound__links { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 32px; }
@media (max-width: 379px) { .notfound__links { grid-template-columns: 1fr; } }

/* ---------- Toque: áreas mínimas de 44px ---------- */
@media (pointer: coarse) {
  .link-arrow { min-height: 44px; }
  .breadcrumb a { display: inline-block; padding: 11px 0; }
  .doctor-card__links { gap: 0 22px; }
}
