/* ==========================================================================
   DR. TARCISO LIBERTE — DESIGN SYSTEM V2
   Paleta oficial: Carbon #0B0B0C · Graphite #1A1B1F · Prata #C6C8CC · Gelo #F2F3F5
   Tipografia: Fraunces (display) · Inter (texto) · IBM Plex Mono (técnico)
   ========================================================================== */

/* ---------- 01. TOKENS ---------- */
:root {
  /* Cor */
  --carbon: #0b0b0c;
  --carbon-2: #121316;
  --graphite: #1a1b1f;
  --graphite-2: #23252a;
  --graphite-3: #2e3036;
  --silver: #c6c8cc;
  --silver-2: #d8dadd;
  --silver-3: #e5e6e8;
  --silver-soft: #8d9097;
  --ice: #f2f3f5;
  --ice-2: #f8f8fa;
  --ink: #0b0b0c;
  --muted: #6b6e75;
  --whatsapp: #25d366;
  --whatsapp-dark: #1eb856;

  /* Superfícies translúcidas */
  --glass-dark: rgba(11, 11, 12, 0.6);
  --glass-card: rgba(35, 37, 42, 0.55);
  --line-dark: rgba(198, 200, 204, 0.12);
  --line-dark-strong: rgba(198, 200, 204, 0.22);
  --line-light: rgba(11, 11, 12, 0.1);

  /* Tipografia */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --fs-hero: clamp(3rem, 7.2vw, 5.75rem);
  --fs-h2: clamp(1.75rem, 3.6vw, 2.75rem);
  --fs-h3: clamp(1.125rem, 2vw, 1.375rem);
  --fs-lead: clamp(1rem, 1.5vw, 1.1875rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* Espaçamento / forma */
  --container: 76rem;
  --container-narrow: 52rem;
  --section-py: clamp(4.5rem, 8vw, 7rem);
  --r-sm: 0.75rem;
  --r-md: 1.125rem;
  --r-lg: 1.5rem;
  --r-xl: 2rem;
  --r-pill: 999px;

  /* Movimento */
  --ease-out: cubic-bezier(0.22, 0.9, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.4, 1);
  --dur: 0.35s;
  --dur-slow: 0.7s;

  /* Sombras */
  --shadow-card: 0 1.5rem 3rem -1.75rem rgba(0, 0, 0, 0.55);
  --shadow-lift: 0 2.25rem 3.5rem -2rem rgba(198, 200, 204, 0.28);
  --shadow-light: 0 1rem 2rem -1.25rem rgba(11, 11, 12, 0.18);

  /* Camadas */
  --z-progress: 200;
  --z-topbar: 100;
  --z-menu: 95;
  --z-float: 90;
  --z-splash: 300;
}

/* ---------- 02. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  background: var(--carbon);
  color: var(--ice);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--silver); color: var(--carbon); }

::-webkit-scrollbar { width: 0.625rem; }
::-webkit-scrollbar-track { background: var(--carbon); }
::-webkit-scrollbar-thumb { background: var(--graphite-3); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--silver-soft); }

:focus-visible {
  outline: 2px solid var(--silver);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.25rem);
}
.container-narrow { max-width: var(--container-narrow); }

/* ---------- 03. TIPOGRAFIA / CABEÇALHOS DE SEÇÃO ---------- */
.section { padding-block: var(--section-py); position: relative; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 3.25rem;
  height: 1px;
  background: linear-gradient(90deg, var(--silver), transparent);
  flex-shrink: 0;
}
.eyebrow-center::after {
  content: "";
  width: 3.25rem;
  height: 1px;
  background: linear-gradient(-90deg, var(--silver), transparent);
  flex-shrink: 0;
}
.section-about .eyebrow,
.section-arthroscopy .eyebrow,
.section-process .eyebrow,
.section-faq .eyebrow { color: var(--muted); }
.section-about .eyebrow::before,
.section-arthroscopy .eyebrow::before,
.section-process .eyebrow::before,
.section-faq .eyebrow::before { background: linear-gradient(90deg, var(--ink), transparent); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--silver); }
.section-about .section-title em,
.section-arthroscopy .section-title em,
.section-process .section-title em,
.section-faq .section-title em { color: var(--muted); }

.section-lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--silver-soft);
  text-wrap: pretty;
}
.section-about .section-lead,
.section-arthroscopy .section-lead,
.section-process .section-lead { color: var(--muted); }

/* ---------- 04. BOTÕES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease-out), background-color var(--dur), border-color var(--dur), color var(--dur), box-shadow var(--dur);
  will-change: transform;
  white-space: nowrap;
}
.btn i { font-size: 1.05em; }

.btn-primary {
  background: var(--silver);
  border-color: var(--silver);
  color: var(--carbon);
  box-shadow: 0 0.5rem 1.25rem -0.625rem rgba(198, 200, 204, 0.45);
}
.btn-primary:hover {
  background: var(--ice);
  border-color: var(--ice);
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem -0.875rem rgba(198, 200, 204, 0.55);
}

.btn-ghost {
  background: rgba(198, 200, 204, 0.04);
  border-color: var(--line-dark-strong);
  color: var(--ice);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--silver);
  color: var(--silver);
  transform: translateY(-2px);
  background: rgba(198, 200, 204, 0.08);
}

.btn-lg { padding: 1.0625rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.625rem 1.125rem; font-size: 0.8125rem; }

/* ---------- 05. VIDRO (GLASS) ---------- */
.glass {
  background: var(--glass-dark);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

/* ---------- 06. SPLASH ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: var(--z-splash);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--carbon);
  transition: opacity 0.6s ease, visibility 0.6s;
}
.splash.done { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-inner { text-align: center; color: var(--silver); }
.splash-mark { width: 4.5rem; height: 4.5rem; margin: 0 auto 1rem; }
.splash-mark path {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: draw 1.1s var(--ease-out) forwards;
}
.splash-mark path:nth-child(2) { animation-delay: 0.12s; }
.splash-mark path:nth-child(3) { animation-delay: 0.24s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.splash-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ice);
  animation: fadeUp 0.6s var(--ease-out) 0.3s both;
}
.splash-sub {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver-soft);
  margin-top: 0.25rem;
  animation: fadeUp 0.6s var(--ease-out) 0.42s both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 07. PROGRESSO ---------- */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: var(--z-progress);
  background: transparent;
}
.progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--silver-soft), var(--silver), var(--ice));
}

/* ---------- 08. TOPBAR ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-topbar);
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), background-color var(--dur), box-shadow var(--dur);
}
.topbar.scrolled {
  background: rgba(11, 11, 12, 0.88);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 0.75rem 2.25rem -1.125rem rgba(0, 0, 0, 0.6);
}
body { padding-top: 4.625rem; }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.625rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; flex-shrink: 0; }
.brand-mark {
  width: 2.75rem; height: 2.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: 0.875rem;
  background: rgba(198, 200, 204, 0.05);
  color: var(--silver);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur);
}
.brand:hover .brand-mark { transform: rotate(-6deg); border-color: var(--silver); }
.brand-mark svg { width: 1.625rem; height: 1.625rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ice); }
.brand-spec { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver); }

.topnav-list { display: flex; align-items: center; gap: 2rem; }
.topnav-list a {
  position: relative;
  font-size: 0.90625rem;
  font-weight: 500;
  color: var(--silver-2);
  text-decoration: none;
  padding-block: 0.375rem;
  opacity: 0.85;
  transition: opacity var(--dur), color var(--dur);
}
.topnav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--silver);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.topnav-list a:hover, .topnav-list a.active { opacity: 1; color: var(--ice); }
.topnav-list a:hover::after, .topnav-list a.active::after { transform: scaleX(1); transform-origin: left; }

.topbar-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.menu-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line-dark-strong);
  border-radius: 0.875rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(198, 200, 204, 0.04);
}
.menu-toggle span { width: 1.125rem; height: 1.5px; background: var(--ice); border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 09. MENU MOBILE ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 6rem 1.75rem 3rem;
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.875rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 7vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color var(--dur), padding-left var(--dur);
}
.mobile-menu.open .mobile-link { opacity: 1; transform: none; }
.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.11s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.16s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.21s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.26s; }
.mobile-menu.open .mobile-link:nth-child(6) { transition-delay: 0.31s; }
.mobile-link:hover, .mobile-link:active { color: var(--silver); padding-left: 0.5rem; }
.mobile-index { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--silver-soft); letter-spacing: 0.1em; }
.mobile-cta { align-self: stretch; justify-content: center; }
.mobile-note { text-align: center; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-soft); }

/* ---------- 10. HERO ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem);
  background: linear-gradient(165deg, #262a32 0%, #20242c 38%, #191d24 70%, #121419 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-a {
  width: 34rem; height: 34rem;
  top: -12rem; right: -8rem;
  background: radial-gradient(circle, rgba(198, 200, 204, 0.16), transparent 65%);
}
.glow-b {
  width: 26rem; height: 26rem;
  bottom: -10rem; left: -8rem;
  background: radial-gradient(circle, rgba(125, 132, 148, 0.22), transparent 65%);
}
.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(198, 200, 204, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 200, 204, 0.05) 1px, transparent 1px);
  background-size: 3.75rem 3.75rem;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, black 20%, transparent 75%);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5625rem 1.125rem 0.5625rem 0.875rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  background: rgba(198, 200, 204, 0.06);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.badge-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--whatsapp); animation: pulse 2.2s ease-in-out infinite; flex-shrink: 0; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 0 0 7px rgba(37, 211, 102, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-hero);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ice);
  margin-bottom: 1.125rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .line-inner { display: block; }
.hero-title .line-silver { font-style: italic; color: var(--silver); }

.hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  color: var(--silver-2);
  margin-bottom: 1rem;
  line-height: 1.45;
}
.hero-subtitle em { color: var(--ice); }

.hero-crm {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  color: var(--silver);
  background: rgba(198, 200, 204, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: 0.625rem;
  padding: 0.625rem 0.875rem;
  margin-bottom: 2rem;
}

.hero-pillars { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; margin-bottom: 2.25rem; }
.hero-pillars li {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--ice);
}
.hero-pillars svg { width: 1.25rem; height: 1.25rem; color: var(--silver); flex-shrink: 0; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-bottom: 2.75rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: rgba(18, 19, 22, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.stat { padding: 1.375rem 1rem; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line-dark); }
.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-soft);
  margin-bottom: 0.375rem;
  order: 2;
}
.stat-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 500;
  color: var(--silver);
  line-height: 1.1;
}
.stat-value small { font-size: 0.75rem; font-family: var(--font-mono); color: var(--silver-soft); letter-spacing: 0.06em; }
.stat-text { font-size: clamp(1.25rem, 2.2vw, 1.625rem); }

/* Foto hero */
.hero-visual { position: relative; }
.hero-photo {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 4.7;
  border: 1px solid var(--line-dark-strong);
  background: linear-gradient(170deg, var(--graphite-2), var(--carbon-2));
  box-shadow: var(--shadow-card);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; position: relative; z-index: 1; }
.hero-photo-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  color: var(--silver-soft);
  font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase;
  background: transparent;
  border: 1px dashed rgba(11, 11, 12, 0.15);
}
/* Com foto real carregada, o placeholder some por completo */
.hero-photo img:not(.is-broken) + .hero-photo-fallback,
.photo-frame img:not(.is-broken) + .photo-fallback {
  display: none;
}
.hero-photo-fallback svg { width: 4.5rem; height: 4.5rem; color: var(--silver); opacity: 0.7; }
.hero-photo img:not([src]) + .hero-photo-fallback { display: flex; }

.hero-caption {
  position: absolute;
  left: 1.125rem; right: 1.125rem; bottom: 1.125rem;
  z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.875rem 1.125rem;
  border-radius: var(--r-md);
  box-shadow: 0 1rem 2rem -1rem rgba(0, 0, 0, 0.6);
}
.caption-text { display: flex; flex-direction: column; line-height: 1.35; }
.caption-text strong { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ice); }
.caption-text span { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); }
.caption-mark { width: 2.5rem; height: 2.5rem; color: var(--silver); flex-shrink: 0; }
.caption-mark svg { width: 100%; height: 100%; }

.hero-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ice);
  box-shadow: var(--shadow-card);
  z-index: 2;
}
.hero-chip i { color: var(--silver); }
.chip-a { top: 2rem; left: -1.25rem; animation: floatY 5s ease-in-out infinite; }
.chip-b { bottom: 5.5rem; right: -1rem; animation: floatY 6s ease-in-out 0.8s infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  text-decoration: none;
  color: var(--silver-soft);
  transition: color var(--dur);
}
.hero-scroll:hover { color: var(--silver); }
.scroll-mouse { width: 1.375rem; height: 2.25rem; border: 1.5px solid currentColor; border-radius: var(--r-pill); display: flex; justify-content: center; padding-top: 0.375rem; }
.scroll-wheel { width: 3px; height: 0.5rem; border-radius: 3px; background: currentColor; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(0.625rem); opacity: 0; } 100% { opacity: 0; } }
.scroll-label { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.28em; text-transform: uppercase; }

/* ---------- 11. MARQUEE ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-dark);
  background: var(--carbon);
  padding-block: 1rem;
}
.marquee-track {
  display: flex; align-items: center; gap: 1.5rem;
  width: max-content;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--silver-soft);
  animation: marquee 30s linear infinite;
}
.marquee-track i { font-style: normal; color: var(--graphite-3); font-size: 0.75rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 12. SINTOMAS ---------- */
.section-symptoms { background: var(--graphite); }
.symptoms-band {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  background: rgba(11, 11, 12, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card);
}
.symptoms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.symptom-card {
  position: relative;
  padding: 3.5rem 1.75rem 1.75rem 1.75rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--graphite-2), var(--graphite));
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}
.symptom-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--silver-3), var(--silver), var(--silver-soft));
  opacity: 0.6;
  transition: width var(--dur), opacity var(--dur);
}
.symptom-card:hover { transform: translateY(-6px); border-color: var(--line-dark-strong); box-shadow: var(--shadow-lift); }
.symptom-card:hover::before { width: 5px; opacity: 1; }
.card-num {
  position: absolute; top: 1.375rem; left: 1.5rem;
  font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.18em;
  color: var(--silver);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  padding: 0.25rem 0.625rem;
  background: rgba(198, 200, 204, 0.04);
}
.symptom-card p { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 500; line-height: 1.45; color: var(--ice-2); }
.symptoms-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
}
.symptoms-footer .note { font-size: var(--fs-small); color: var(--silver-soft); max-width: 32rem; }

/* ---------- 13. SOBRE (claro) ---------- */
.section-about { background: var(--ice); color: var(--ink); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; margin-top: 0.5rem; }
.about-photo { position: relative; }
.photo-frame {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  border: 1px solid rgba(11, 11, 12, 0.9);
  background: var(--carbon);
  box-shadow: 0 2rem 4rem -2rem rgba(11, 11, 12, 0.4);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; position: relative; z-index: 1; }
.photo-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  color: var(--silver-soft);
  font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase;
}
.photo-fallback svg { width: 4rem; height: 4rem; color: var(--silver); opacity: 0.7; }
.about-float {
  position: absolute;
  right: -1rem; bottom: 2rem;
  max-width: 15rem;
  padding: 1.25rem 1.375rem;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  background: rgba(11, 11, 12, 0.78);
}
.about-float strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--silver); line-height: 1.1; }
.about-float span { font-size: var(--fs-small); color: var(--silver-soft); line-height: 1.5; }

.about-title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 500; letter-spacing: -0.015em; }
.about-crm {
  display: inline-block;
  font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.05em;
  color: var(--silver);
  background: var(--carbon);
  border-radius: 0.625rem;
  padding: 0.625rem 0.875rem;
  margin: 1rem 0 1.5rem;
}
.about-text { display: flex; flex-direction: column; gap: 1.125rem; margin-bottom: 2rem; }
.about-text p { color: rgba(11, 11, 12, 0.8); font-size: 1.0625rem; }
.about-text p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.2em; font-weight: 500;
  float: left; line-height: 0.85;
  padding: 0.375rem 0.625rem 0 0;
  color: var(--carbon);
}
.about-text strong { color: var(--ink); }
.about-creds {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem;
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-light);
}
.about-creds li { display: flex; align-items: flex-start; gap: 0.875rem; font-size: 0.9375rem; line-height: 1.55; color: rgba(11, 11, 12, 0.85); }
.about-creds i { font-size: 1.125rem; color: var(--carbon); margin-top: 0.125rem; flex-shrink: 0; }

/* ---------- 14. CONDIÇÕES ---------- */
.section-conditions { background: var(--carbon); overflow: clip; }
.drag-hint {
  display: none;
  align-items: center; gap: 0.5rem;
  margin-top: 1rem;
  font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--silver-soft);
}
.conditions-viewport { margin-top: 0.5rem; }
.conditions-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.condition-card {
  position: relative;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--graphite-2), var(--graphite));
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}
.condition-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--silver-3), var(--silver), var(--silver-2));
  opacity: 0.5;
  transition: opacity var(--dur), height var(--dur);
}
.condition-card:hover { transform: translateY(-6px); border-color: var(--line-dark-strong); box-shadow: var(--shadow-lift); }
.condition-card:hover::before { opacity: 1; height: 4px; }
.cond-icon {
  width: 3rem; height: 3rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: 0.875rem;
  background: rgba(198, 200, 204, 0.06);
  color: var(--silver);
  font-size: 1.375rem;
  margin-bottom: 1.125rem;
  transition: transform var(--dur) var(--ease-out);
}
.condition-card:hover .cond-icon { transform: scale(1.07) rotate(-4deg); }
.condition-card h3 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ice-2); margin-bottom: 0.625rem; }
.condition-card p { font-size: 0.9375rem; color: rgba(242, 243, 245, 0.7); line-height: 1.65; }
.cond-index {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-family: var(--font-display); font-style: italic; font-size: 1rem;
  color: var(--silver-soft); opacity: 0.7;
}
.conditions-progress { display: none; height: 2px; background: var(--graphite-2); border-radius: 2px; margin-top: 1.5rem; overflow: hidden; }
.conditions-progress span { display: block; height: 100%; width: 20%; background: var(--silver); border-radius: 2px; transition: transform 0.15s linear; }

/* ---------- 15. ARTROSCOPIA (claro) ---------- */
.section-arthroscopy { background: var(--ice); color: var(--ink); }
.arthro-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.arthro-visual { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.arthro-rings { position: relative; width: 17.5rem; height: 17.5rem; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(11, 11, 12, 0.14); }
.ring-1 { inset: 0; animation: spin 22s linear infinite; border-top-color: rgba(11, 11, 12, 0.45); }
.ring-2 { inset: 1.875rem; animation: spin 16s linear infinite reverse; border-top-color: rgba(11, 11, 12, 0.32); }
.ring-3 { inset: 3.75rem; animation: spin 12s linear infinite; border-top-color: rgba(11, 11, 12, 0.22); }
@keyframes spin { to { transform: rotate(360deg); } }
.ring-core {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6.25rem; height: 6.25rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--carbon); color: var(--silver);
  font-size: 2rem;
  border-radius: 50%;
  box-shadow: 0 1.5rem 3rem -1.25rem rgba(11, 11, 12, 0.5);
}
.arthro-points { display: flex; flex-direction: column; gap: 0.875rem; }
.arthro-points li { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; font-size: 0.9375rem; color: rgba(11, 11, 12, 0.85); }
.arthro-points i {
  width: 1.625rem; height: 1.625rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--carbon); color: var(--silver);
  border-radius: 50%; font-size: 0.875rem; flex-shrink: 0;
}
.arthro-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.arthro-step {
  padding: 1.625rem;
  border-radius: var(--r-lg);
  background: var(--carbon); color: var(--ice);
  border: 1px solid rgba(11, 11, 12, 0.9);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.arthro-step:hover { transform: translateY(-5px); box-shadow: 0 2rem 3rem -1.5rem rgba(11, 11, 12, 0.55); }
.step-num { display: block; font-family: var(--font-display); font-size: 1.875rem; font-weight: 500; color: var(--silver); line-height: 1; margin-bottom: 0.625rem; opacity: 0.9; }
.arthro-step h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.arthro-step p { font-size: 0.875rem; color: rgba(242, 243, 245, 0.72); line-height: 1.6; }

/* ---------- 16. PILARES ---------- */
.section-pillars { background: var(--graphite); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2.25rem 2rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  background: rgba(11, 11, 12, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}
.pillar-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 200, 204, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--dur);
}
.pillar-card:hover { transform: translateY(-8px); border-color: var(--line-dark-strong); box-shadow: var(--shadow-lift); }
.pillar-card:hover::before { opacity: 1; }
.pillar-icon {
  width: 4rem; height: 4rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-md);
  background: rgba(198, 200, 204, 0.06);
  color: var(--silver);
  font-size: 1.75rem;
  margin-bottom: 1.625rem;
  transition: transform var(--dur) var(--ease-out);
}
.pillar-card:hover .pillar-icon { transform: translateY(-4px) rotate(-4deg); }
.pillar-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--silver); margin-bottom: 1rem;
}
.pillar-tag::before { content: ""; width: 1rem; height: 1px; background: currentColor; opacity: 0.6; }
.pillar-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.015em; color: var(--ice); margin-bottom: 0.875rem; line-height: 1.25; }
.pillar-card > p { font-size: 0.9375rem; color: var(--silver-soft); line-height: 1.65; margin-bottom: 1.375rem; flex: 1; }
.pillar-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pillar-chips span {
  font-size: 0.75rem; font-weight: 500;
  color: var(--silver);
  border: 1px solid var(--line-dark);
  background: rgba(198, 200, 204, 0.05);
  border-radius: var(--r-pill);
  padding: 0.375rem 0.8125rem;
  transition: border-color var(--dur), background-color var(--dur);
}
.pillar-card:hover .pillar-chips span { border-color: var(--line-dark-strong); background: rgba(198, 200, 204, 0.09); }
.pillar-featured {
  background: linear-gradient(160deg, var(--silver) 0%, var(--silver-2) 100%);
  border-color: var(--silver);
}
.pillar-featured .pillar-icon { border-color: rgba(11, 11, 12, 0.25); background: rgba(11, 11, 12, 0.08); color: var(--carbon); }
.pillar-featured .pillar-tag, .pillar-featured h3 { color: var(--carbon); }
.pillar-featured > p { color: rgba(11, 11, 12, 0.72); }
.pillar-featured .pillar-chips span { color: var(--carbon); border-color: rgba(11, 11, 12, 0.25); background: rgba(11, 11, 12, 0.07); }

/* ---------- 17. PROCESSO (claro) ---------- */
.section-process { background: var(--ice); color: var(--ink); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.process-card {
  position: relative;
  padding: 2.125rem 1.875rem;
  border: 1px solid rgba(11, 11, 12, 0.07);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #ffffff, var(--ice-2));
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}
.process-card::after {
  content: "";
  position: absolute; right: -2.5rem; top: -2.5rem;
  width: 7.5rem; height: 7.5rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 11, 12, 0.08), transparent 70%);
  transition: transform var(--dur) var(--ease-out);
}
.process-card:hover { transform: translateY(-6px); border-color: rgba(11, 11, 12, 0.16); box-shadow: 0 1.75rem 3rem -1.5rem rgba(11, 11, 12, 0.25); }
.process-card:hover::after { transform: scale(1.25); }
.process-num {
  position: absolute; top: 1.25rem; right: 1.375rem;
  font-family: var(--font-display); font-style: italic; font-size: 1rem;
  color: rgba(11, 11, 12, 0.3);
}
.process-icon {
  width: 3.375rem; height: 3.375rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--carbon); color: var(--silver);
  font-size: 1.375rem;
  border-radius: 50%;
  margin-bottom: 1.125rem;
  box-shadow: 0 0.75rem 1.5rem -0.875rem rgba(11, 11, 12, 0.5);
  transition: transform var(--dur) var(--ease-out);
}
.process-card:hover .process-icon { transform: scale(1.07) rotate(-5deg); }
.process-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.process-card p { font-size: 0.9375rem; color: rgba(11, 11, 12, 0.7); line-height: 1.65; }

/* ---------- 18. FAQ (claro) ---------- */
.section-faq { background: var(--ice); color: var(--ink); padding-top: 0; }
.faq-list { display: flex; flex-direction: column; gap: 0.875rem; }
.faq-item {
  border: 1px solid rgba(11, 11, 12, 0.1);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 0.5rem 1.25rem -1rem rgba(11, 11, 12, 0.08);
  overflow: hidden;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.faq-item:hover { border-color: rgba(11, 11, 12, 0.22); }
.faq-item[open] { border-color: var(--carbon); box-shadow: 0 1.375rem 2.5rem -1.375rem rgba(11, 11, 12, 0.2); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.375rem 1.5rem;
  font-weight: 600; font-size: 0.96875rem; line-height: 1.45;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 2rem; height: 2rem; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(11, 11, 12, 0.2);
  border-radius: 50%;
  font-size: 1rem;
  transition: transform var(--dur) var(--ease-out), background-color var(--dur), color var(--dur);
}
.faq-item[open] .faq-icon { transform: rotate(135deg); background: var(--carbon); color: var(--ice); border-color: var(--carbon); }
.faq-item > p { padding: 0 1.5rem 1.5rem; font-size: 0.9375rem; color: rgba(11, 11, 12, 0.75); line-height: 1.7; }

/* ---------- 19. LOCAIS ---------- */
.section-locations { background: var(--graphite); }
.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.location-card {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  background: rgba(11, 11, 12, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2rem;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}
.location-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(198, 200, 204, 0.45), transparent);
  opacity: 0;
  transition: opacity var(--dur);
}
.location-card:hover { transform: translateY(-6px); border-color: var(--line-dark-strong); box-shadow: var(--shadow-lift); }
.location-card:hover::before { opacity: 1; }
.location-head { display: flex; align-items: flex-start; gap: 1.125rem; margin-bottom: 1.5rem; }
.location-icon {
  width: 3.375rem; height: 3.375rem; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: 0.875rem;
  background: rgba(198, 200, 204, 0.06);
  color: var(--silver);
  font-size: 1.5rem;
  transition: transform var(--dur) var(--ease-out);
}
.location-card:hover .location-icon { transform: translateY(-3px) rotate(-4deg); }
.location-head h3 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 500; margin-bottom: 0.25rem; }
.location-address { font-size: 0.9375rem; color: var(--silver-soft); }
.location-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); }
.location-hours {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.06em;
  color: var(--silver);
  background: rgba(198, 200, 204, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  padding: 0.4375rem 0.875rem;
}
.location-map-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--silver);
  text-decoration: none;
  padding: 0.625rem 1.125rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  transition: background-color var(--dur), color var(--dur), border-color var(--dur);
}
.location-map-link:hover { background: var(--silver); color: var(--carbon); border-color: var(--silver); }

/* ---------- 20. CTA FINAL ---------- */
.section-final { background: var(--carbon); }
.final-card {
  position: relative;
  max-width: 47.5rem;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(46, 48, 54, 0.9), transparent 65%),
    linear-gradient(180deg, rgba(26, 27, 31, 0.7), rgba(11, 11, 12, 0.5));
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.final-card::before {
  content: "";
  position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 200, 204, 0.55), transparent);
}
.final-card .section-title { margin-inline: auto; }
.final-card .section-lead { margin: 0 auto 2rem; max-width: 34rem; }
.final-ctas { display: flex; justify-content: center; gap: 0.875rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.final-note { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.08em; color: var(--silver-soft); }

/* ---------- 21. FOOTER (claro) ---------- */
.footer { background: var(--ice); color: var(--ink); padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; border-top: 1px solid rgba(11, 11, 12, 0.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer .brand-name { color: var(--ink); }
.footer .brand-spec { color: var(--muted); }
.footer .brand-mark { border-color: rgba(11, 11, 12, 0.2); background: rgba(11, 11, 12, 0.04); color: var(--ink); }
.footer-desc { font-size: 0.9375rem; color: rgba(11, 11, 12, 0.7); margin: 1.125rem 0; max-width: 22rem; line-height: 1.65; }
.footer-crm { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.05em; color: var(--muted); }
.footer h3 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.25rem; color: var(--ink); }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { font-size: 0.9375rem; color: rgba(11, 11, 12, 0.7); text-decoration: none; transition: color var(--dur), padding-left var(--dur); }
.footer-nav a:hover { color: var(--ink); padding-left: 0.25rem; }
.footer-contact ul { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.25rem; }
.footer-contact li { display: flex; flex-direction: column; gap: 0.125rem; }
.footer-contact strong { font-size: var(--fs-small); font-weight: 600; }
.footer-contact a { color: rgba(11, 11, 12, 0.7); text-decoration: none; font-size: 0.9375rem; transition: color var(--dur); overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--ink); }
.footer .btn-ghost { border-color: rgba(11, 11, 12, 0.25); color: var(--ink); background: transparent; }
.footer .btn-ghost:hover { background: var(--carbon); border-color: var(--carbon); color: var(--ice); }
.footer-book p { font-size: 0.9375rem; color: rgba(11, 11, 12, 0.7); margin-bottom: 1rem; line-height: 1.6; }
.pill {
  display: inline-block;
  font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.06em;
  color: var(--silver);
  background: var(--carbon);
  border-radius: var(--r-pill);
  padding: 0.5rem 1rem;
}
.footer-base { border-top: 1px solid rgba(11, 11, 12, 0.1); padding-top: 1.75rem; text-align: center; }
.footer-disclaimer { font-size: var(--fs-small); color: rgba(11, 11, 12, 0.6); margin-bottom: 0.5rem; max-width: 48rem; margin-inline: auto; }
.footer-copy { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.03em; color: rgba(11, 11, 12, 0.6); }

/* ---------- 22. FLUTUANTES ---------- */
.to-top {
  position: fixed;
  right: 1.5rem; bottom: 1.5rem;
  z-index: var(--z-float);
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--ice);
  background: rgba(35, 37, 42, 0.8);
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden;
  transform: translateY(1rem);
  transition: opacity var(--dur), visibility var(--dur), transform var(--dur), background-color var(--dur);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--silver); color: var(--carbon); }

.wa-float {
  position: fixed;
  left: 1.5rem; bottom: 1.5rem;
  z-index: var(--z-float);
  width: 3.5rem; height: 3.5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.625rem;
  color: #fff;
  background: var(--whatsapp);
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 0.5rem 1.75rem -0.375rem rgba(37, 211, 102, 0.55);
  transition: transform var(--dur) var(--ease-spring), background-color var(--dur);
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); background: var(--whatsapp-dark); }
.wa-tip {
  position: absolute; left: calc(100% + 0.75rem); top: 50%;
  transform: translateY(-50%) translateX(-6px);
  font-size: var(--fs-small); font-weight: 500;
  color: var(--ice); white-space: nowrap;
  background: var(--graphite-2);
  border: 1px solid var(--line-dark);
  border-radius: 0.625rem;
  padding: 0.5rem 0.875rem;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur), transform var(--dur);
}
.wa-float:hover .wa-tip { opacity: 1; transform: translateY(-50%); }

/* ---------- 23. REVEALS / ANIMAÇÕES DE ENTRADA ---------- */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal { transform: translateY(2.5rem); }
.reveal-left { transform: translateX(-2.5rem); }
.reveal-right { transform: translateX(2.5rem); }
.reveal-scale { transform: scale(0.96) translateY(1.25rem); }
.reveal.in, .reveal-left.in, .reveal-right.in, .reveal-scale.in { opacity: 1; transform: none; }

/* Hero sempre visível por padrão; o GSAP anima a entrada com .from() (à prova de falhas) */
.no-js [data-hero], .no-gsap [data-hero].hero-fallback { opacity: 1; }

/* ---------- 24. TILT ---------- */
.tilt { transform-style: preserve-3d; }

/* ==========================================================================
   24B. TEMA CLARO (hero + final) · WORDMARKS · ECG · EXTRAS
   ========================================================================== */

/* Hero claro — respira modernidade, texto em tinta */
.hero {
  color-scheme: light;
  color: var(--ink);
  background:
    radial-gradient(55% 40% at 88% 6%, rgba(198, 200, 204, 0.55), transparent 65%),
    radial-gradient(45% 38% at 4% 94%, rgba(141, 144, 151, 0.2), transparent 65%),
    linear-gradient(180deg, #fbfbfa 0%, #f2f3f5 58%, #e9ebef 100%);
}
.glow-a {
  width: 36rem; height: 36rem;
  top: -14rem; right: -10rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 65%);
}
.glow-b {
  width: 28rem; height: 28rem;
  bottom: -12rem; left: -10rem;
  background: radial-gradient(circle, rgba(141, 144, 151, 0.3), transparent 65%);
}
.hero-grid-pattern {
  background-image:
    linear-gradient(rgba(11, 11, 12, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 11, 12, 0.06) 1px, transparent 1px);
}

.hero-badge {
  color: var(--graphite-2);
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(11, 11, 12, 0.14);
}
.hero-title { color: var(--ink); }
.hero-title .line-silver { color: var(--graphite-2); }
.hero-subtitle { color: #3d4148; }
.hero-subtitle em { color: var(--ink); }
.hero-crm {
  color: var(--graphite-2);
  background: #fff;
  border-color: rgba(11, 11, 12, 0.12);
}
.hero-pillars li { color: var(--ink); }
.hero-pillars svg { color: var(--ink); }

.hero .btn-primary {
  background: var(--carbon);
  border-color: var(--carbon);
  color: var(--ice);
  box-shadow: 0 0.75rem 1.75rem -0.75rem rgba(11, 11, 12, 0.55);
}
.hero .btn-primary:hover {
  background: var(--graphite-2);
  border-color: var(--graphite-2);
  box-shadow: 0 1.1rem 2.25rem -0.875rem rgba(11, 11, 12, 0.6);
}
.hero .btn-ghost {
  color: var(--ink);
  border-color: rgba(11, 11, 12, 0.28);
  background: rgba(255, 255, 255, 0.55);
}
.hero .btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
}

.hero-stats {
  border-color: rgba(11, 11, 12, 0.1);
  background: rgba(255, 255, 255, 0.6);
}
.stat + .stat { border-left-color: rgba(11, 11, 12, 0.1); }
.stat-label { color: var(--muted); }
.stat-value { color: var(--ink); }
.stat-value small { color: var(--muted); }

.hero-chip {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(11, 11, 12, 0.1);
}
.hero-chip i { color: var(--ink); }
.hero-scroll { color: rgba(11, 11, 12, 0.5); }
.hero-scroll:hover { color: var(--ink); }

/* Linha de ECG animada no hero */
.ecg {
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  width: 100%; height: 7.5rem;
  opacity: 0.55;
  pointer-events: none;
}
.ecg path {
  fill: none;
  stroke: #a2a8b1;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Wordmarks gigantes com parallax */
.section-about, .section-conditions { overflow: clip; }
.wordmark {
  position: absolute;
  top: 1.5rem;
  left: -1%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(4.5rem, 15vw, 12rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(198, 200, 204, 0.16);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section-about .wordmark { -webkit-text-stroke-color: rgba(11, 11, 12, 0.12); }
.section-about .container, .section-conditions .container { position: relative; z-index: 1; }

/* Marquee controlado via GSAP (desliga o CSS) */
.marquee-track.js-marquee { animation: none; }

/* Anel de progresso no voltar-ao-topo */
.to-top .ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.to-top .ring circle {
  fill: none;
  stroke: var(--silver);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.to-top i { position: relative; z-index: 1; }

/* Seção final clara com cartão escuro em destaque */
.section-final { background: var(--ice-2); }
.section-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 35% at 50% 0%, rgba(198, 200, 204, 0.35), transparent 70%);
  pointer-events: none;
}
.section-final .container { position: relative; }

/* Pulso no núcleo da artroscopia */
.ring-core::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(11, 11, 12, 0.35);
  animation: corePulse 2.6s ease-out infinite;
}
@keyframes corePulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Robustez sem-JS */
html:not(.js) .splash { display: none !important; }
html:not(.js) [data-hero] { opacity: 1 !important; }
html:not(.js) .reveal,
html:not(.js) .reveal-left,
html:not(.js) .reveal-right,
html:not(.js) .reveal-scale { opacity: 1 !important; transform: none !important; }

@media (max-width: 53.75rem) {
  .wordmark { font-size: 24vw; top: 0.75rem; }
  .ecg { height: 4.5rem; opacity: 0.35; }
}

/* ==========================================================================
   24C. ACENTOS DISCRETOS — verde-petróleo médico (sem mudar a identidade)
   ========================================================================== */
:root {
  --accent: #0e7a5c;
  --accent-deep: #0a5a44;
  --accent-bright: #25b47f;
  --accent-mist: rgba(14, 122, 92, 0.1);
}

::selection { background: rgba(37, 180, 127, 0.32); }
.progress-fill { background: linear-gradient(90deg, var(--silver-soft), var(--silver) 55%, var(--accent-bright)); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-bright); }
:focus-visible { outline-color: var(--accent-bright); }

/* Detalhes vivos: separadores, pontos e sublinhados */
.marquee-track i { color: var(--accent-bright); }
.eyebrow::after {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--accent-bright);
  flex-shrink: 0;
}
.section-about .eyebrow::after,
.section-arthroscopy .eyebrow::after,
.section-process .eyebrow::after,
.section-faq .eyebrow::after { background: var(--accent); }
.topnav-list a::after { background: linear-gradient(90deg, var(--accent-bright), var(--silver)); }

/* Hero com sussurro de verde + ECG em tom médico */
.hero {
  background:
    radial-gradient(38% 30% at 10% 16%, rgba(20, 150, 115, 0.12), transparent 65%),
    radial-gradient(55% 40% at 88% 6%, rgba(198, 200, 204, 0.55), transparent 65%),
    radial-gradient(45% 38% at 4% 94%, rgba(141, 144, 151, 0.2), transparent 65%),
    linear-gradient(180deg, #fbfbfa 0%, #f2f3f5 58%, #e9ebef 100%);
}
.ecg path { stroke: var(--accent); }

/* Ícones ganham vida no hover */
.condition-card:hover .cond-icon,
.pillar-card:hover .pillar-icon,
.location-card:hover .location-icon {
  border-color: rgba(37, 180, 127, 0.55);
  color: var(--accent-bright);
  background: rgba(37, 180, 127, 0.08);
}
.pillar-featured:hover .pillar-icon {
  border-color: rgba(11, 11, 12, 0.4);
  color: var(--accent-deep);
  background: rgba(11, 11, 12, 0.08);
}
.process-card:hover .process-icon { background: var(--accent); color: #fff; }
.pillar-card:hover .pillar-chips span { border-color: rgba(37, 180, 127, 0.45); }

/* Linhas de destaque com toque de verde no hover */
.condition-card:hover::before {
  background: linear-gradient(90deg, var(--accent-bright), var(--silver), var(--accent-bright));
}
.pillar-card:hover::before {
  background: linear-gradient(90deg, transparent, rgba(37, 180, 127, 0.5), transparent);
}

/* Numeração e marcadores em acento */
.step-num { color: var(--accent-bright); }
.process-num { color: var(--accent); }
.about-creds i { color: var(--accent); }
.arthro-points i { background: var(--accent); color: #fff; }

/* FAQ aberto com acento */
.faq-item[open] { border-color: rgba(14, 122, 92, 0.55); }
.faq-item[open] .faq-icon { background: var(--accent); border-color: var(--accent); }

/* Rodapé e flutuantes */
.footer-nav a:hover { color: var(--accent-deep); }
.footer-contact a:hover { color: var(--accent-deep); }
.to-top:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Wordmark da seção clara com nuance verde */
.section-about .wordmark { -webkit-text-stroke-color: rgba(14, 122, 92, 0.22); }

/* Brilho suave no cartão final */
.final-card::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%; bottom: -40%;
  height: 70%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(37, 180, 127, 0.14), transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   24D. TAMANHOS DE FONTE VIA CMS (vazio = tamanho original)
   ========================================================================== */
.hero-title { font-size: var(--fs-hero-title, var(--fs-hero)); }
.hero-subtitle { font-size: var(--fs-hero-subtitle, clamp(1.125rem, 2.2vw, 1.5rem)); }
.section-title { font-size: var(--fs-section-title, var(--fs-h2)); }
.section-lead { font-size: var(--fs-section-lead, var(--fs-lead)); }
.condition-card h3 { font-size: var(--fs-card-title, 1.375rem); }
.pillar-card h3 { font-size: var(--fs-card-title, 1.5rem); }
.process-card h3 { font-size: var(--fs-card-title, 1.25rem); }
.arthro-step h3 { font-size: var(--fs-card-title, 1.125rem); }
.symptom-card p { font-size: var(--fs-card-title, 1.1875rem); }
.condition-card p { font-size: var(--fs-card-text, 0.9375rem); }
.pillar-card > p { font-size: var(--fs-card-text, 0.9375rem); }
.process-card p { font-size: var(--fs-card-text, 0.9375rem); }
.arthro-step p { font-size: var(--fs-card-text, 0.875rem); }
.faq-item summary { font-size: var(--fs-faq-q, 0.96875rem); }
.final-card .section-title { font-size: var(--fs-final-title, var(--fs-h2)); }

@media (max-width: 37.5rem) {
  .hero-title { font-size: var(--fs-hero-title-m, var(--fs-hero)); }
  .hero-subtitle { font-size: var(--fs-hero-subtitle-m, clamp(1.125rem, 2.2vw, 1.5rem)); }
  .section-title { font-size: var(--fs-section-title-m, var(--fs-h2)); }
  .section-lead { font-size: var(--fs-section-lead-m, var(--fs-lead)); }
  .condition-card h3 { font-size: var(--fs-card-title-m, 1.375rem); }
  .pillar-card h3 { font-size: var(--fs-card-title-m, 1.5rem); }
  .process-card h3 { font-size: var(--fs-card-title-m, 1.25rem); }
  .arthro-step h3 { font-size: var(--fs-card-title-m, 1.125rem); }
  .symptom-card p { font-size: var(--fs-card-title-m, 1.1875rem); }
  .condition-card p { font-size: var(--fs-card-text-m, 0.9375rem); }
  .pillar-card > p { font-size: var(--fs-card-text-m, 0.9375rem); }
  .process-card p { font-size: var(--fs-card-text-m, 0.9375rem); }
  .arthro-step p { font-size: var(--fs-card-text-m, 0.875rem); }
  .faq-item summary { font-size: var(--fs-faq-q-m, 0.96875rem); }
  .final-card .section-title { font-size: var(--fs-final-title-m, var(--fs-h2)); }
}

/* ==========================================================================
   24E. LOGOTIPO VIA CMS (tamanho ajustável desktop/mobile)
   ========================================================================== */
.brand-mark {
  width: var(--logo-size, 2.75rem);
  height: var(--logo-size, 2.75rem);
}
.brand-mark img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}
/* Com logotipo aplicado: sem caixa, sem fundo, sem nome ao lado */
.brand-mark.has-logo {
  border-color: transparent;
  background: transparent;
  padding: 0;
}
.brand-mark.has-logo img {
  width: 100%;
  height: auto;
}
.brand:hover .brand-mark.has-logo {
  border-color: transparent;
  transform: none;
}
/* Blindagem: com logo, nunca há moldura — topo e rodapé */
.topbar .brand-mark.has-logo,
.footer .brand-mark.has-logo {
  border: none;
  background: none;
  padding: 0;
  box-shadow: none;
  height: auto;
}
@media (max-width: 37.5rem) {
  .brand-mark {
    width: var(--logo-size-m, var(--logo-size, 2.375rem));
    height: var(--logo-size-m, var(--logo-size, 2.375rem));
  }
}

/* ==========================================================================
   24F. HERO CUTOUT — só a imagem, grande, fixa e encostada embaixo
   ========================================================================== */
.hero { padding-bottom: 0; }
.hero-layout { align-items: stretch; }
.hero-copy { align-self: center; padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.hero-visual { display: flex; align-items: stretch; justify-content: center; }
.hero-photo {
  position: relative;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  aspect-ratio: auto;
  align-self: stretch;
  width: 100%;
  min-height: var(--hero-photo-h, 34rem);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}
.hero-photo img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
  object-position: bottom center;
  -webkit-mask-image:
    linear-gradient(to bottom, black 74%, transparent 99%),
    linear-gradient(to right, transparent 0, black 24%),
    linear-gradient(to left, transparent 0, black 10%),
    linear-gradient(to top, transparent 0, black 14%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, black 74%, transparent 99%),
    linear-gradient(to right, transparent 0, black 24%),
    linear-gradient(to left, transparent 0, black 10%),
    linear-gradient(to top, transparent 0, black 14%);
  mask-composite: intersect;
}
.hero-photo img.is-broken,
.photo-frame img.is-broken {
  display: none;
}
.hero-photo-fallback {
  border-radius: var(--r-xl);
}
@media (max-width: 53.75rem) {
  .hero-layout { align-items: center; }
  .hero-copy { padding-bottom: 2rem; }
  .hero-photo { align-self: center; min-height: 0; height: var(--hero-photo-h-m, 27rem); max-width: 30rem; }
}

/* ==========================================================================
   24G. HERO COM FUNDO (imagem + overlay + tema escuro adaptativo)
   ========================================================================== */
.hero-bg-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.hero.has-bg .hero-bg-photo { opacity: 1; }
.hero-bg-veil {
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.55);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.hero.has-bg .hero-bg-veil { opacity: var(--hero-veil, 0.55); }
.hero[data-theme="dark"] .hero-bg-veil { background: rgba(11, 11, 12, 0.6); }

/* Tema escuro: todos os textos e componentes se adaptam */
.hero[data-theme="dark"] {
  color-scheme: dark;
  color: var(--ice);
  background:
    radial-gradient(55% 40% at 88% 6%, rgba(198, 200, 204, 0.14), transparent 65%),
    radial-gradient(45% 38% at 4% 94%, rgba(125, 132, 148, 0.2), transparent 65%),
    linear-gradient(165deg, #262a32 0%, #20242c 38%, #191d24 70%, #121419 100%);
}
.hero[data-theme="dark"] .hero-grid-pattern {
  background-image:
    linear-gradient(rgba(198, 200, 204, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 200, 204, 0.05) 1px, transparent 1px);
}
.hero[data-theme="dark"] .hero-badge {
  color: var(--silver);
  background: rgba(198, 200, 204, 0.06);
  border-color: rgba(198, 200, 204, 0.14);
}
.hero[data-theme="dark"] .hero-title { color: var(--ice); }
.hero[data-theme="dark"] .hero-title .line-silver { color: var(--silver); }
.hero[data-theme="dark"] .hero-subtitle { color: var(--silver-2); }
.hero[data-theme="dark"] .hero-subtitle em { color: var(--ice); }
.hero[data-theme="dark"] .hero-crm {
  color: var(--silver);
  background: rgba(198, 200, 204, 0.05);
  border-color: var(--line-dark);
}
.hero[data-theme="dark"] .hero-pillars li { color: var(--ice); }
.hero[data-theme="dark"] .hero-pillars svg { color: var(--silver); }
.hero[data-theme="dark"] .btn-primary {
  background: var(--silver);
  border-color: var(--silver);
  color: var(--carbon);
}
.hero[data-theme="dark"] .btn-primary:hover {
  background: var(--ice);
  border-color: var(--ice);
}
.hero[data-theme="dark"] .btn-ghost {
  color: var(--ice);
  border-color: var(--line-dark-strong);
  background: rgba(198, 200, 204, 0.04);
}
.hero[data-theme="dark"] .hero-stats {
  border-color: var(--line-dark);
  background: rgba(18, 19, 22, 0.5);
}
.hero[data-theme="dark"] .stat + .stat { border-left-color: var(--line-dark); }
.hero[data-theme="dark"] .stat-label { color: var(--silver-soft); }
.hero[data-theme="dark"] .stat-value { color: var(--silver); }
.hero[data-theme="dark"] .stat-value small { color: var(--silver-soft); }
.hero[data-theme="dark"] .hero-chip {
  color: var(--ice);
  background: rgba(11, 11, 12, 0.6);
  border-color: var(--line-dark);
}
.hero[data-theme="dark"] .hero-chip i { color: var(--silver); }
.hero[data-theme="dark"] .hero-scroll { color: var(--silver-soft); }
.hero[data-theme="dark"] .hero-photo-fallback {
  color: var(--silver-soft);
  border-color: rgba(198, 200, 204, 0.15);
}

/* ==========================================================================
   24H. ANTI-ESTOURO — foto alta nunca alarga a coluna nem corta textos
   ========================================================================== */
.hero-layout > *,
.hero-copy,
.hero-visual,
.hero-photo,
.hero-photo img {
  min-width: 0;
}
.hero-visual { overflow: clip; }
.hero-photo { max-width: 100%; }
.hero-photo img { max-width: 100%; }
.hero-copy { overflow-wrap: break-word; }

/* ==========================================================================
   24I. MAPA INCORPORADO NOS LOCAIS
   ========================================================================== */
.location-map-embed {
  margin: 0 0 1.25rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--graphite-2);
}
.location-map-embed iframe {
  width: 100%;
  height: 15rem;
  border: 0;
  display: block;
}

/* ==========================================================================
   24J. HOVERS PREMIUM · WHATSAPP NOVO · FOTO ARTROSCOPIA
   ========================================================================== */
/* Linha de acento que varre a base do card no hover */
.symptom-card::after,
.condition-card::after,
.pillar-card::after,
.location-card::after,
.process-card::before,
.arthro-step::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out);
  pointer-events: none;
}
.symptom-card:hover::after,
.condition-card:hover::after,
.pillar-card:hover::after,
.location-card:hover::after,
.process-card:hover::before,
.arthro-step:hover::before {
  transform: scaleX(1);
}
.arthro-step { position: relative; }
/* Detalhes que acendem junto */
.symptom-card:hover .card-num { border-color: var(--accent-bright); color: var(--accent-bright); }
.condition-card:hover .cond-index { color: var(--accent-bright); opacity: 1; }
.process-card:hover .process-num { color: var(--accent-deep); }
.arthro-step:hover .step-num { color: #fff; }
.location-card:hover .location-hours { border-color: rgba(37, 180, 127, 0.45); color: var(--accent-bright); }

/* Botão WhatsApp flutuante — pílula premium à direita */
a.wa-float {
  position: fixed;
  left: auto;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: var(--z-float);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  width: auto;
  height: auto;
  padding: 0.9375rem 1.375rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2be07a 0%, #12a150 100%);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0.75rem 2rem -0.5rem rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
a.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 1.1rem 2.5rem -0.5rem rgba(37, 211, 102, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
a.wa-float i { font-size: 1.375rem; }
a.wa-float .wa-tip {
  position: static;
  transform: none;
  opacity: 1;
  pointer-events: auto;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
@media (max-width: 37.5rem) {
  a.wa-float { right: 1rem; bottom: 1rem; padding: 0.875rem; border-radius: 50%; }
  a.wa-float .wa-tip { display: none; }
}

/* Foto do procedimento na artroscopia */
.arthro-photo {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(11, 11, 12, 0.85);
  background: var(--carbon);
  box-shadow: 0 2rem 4rem -2rem rgba(11, 11, 12, 0.45);
}
.arthro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform 0.6s var(--ease-out);
}
.arthro-photo:hover img { transform: scale(1.045); }
.arthro-photo img.is-broken { display: none; }
.arthro-photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--silver-soft);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.arthro-photo-fallback i { font-size: 2.5rem; color: var(--silver); }
.arthro-photo img:not(.is-broken) + .arthro-photo-fallback { display: none; }

/* ==========================================================================
   24K. RODAPÉ ESCURO + CTA FINAL CHAMATIVO
   ========================================================================== */
.footer[data-theme="dark"] {
  background: linear-gradient(180deg, #101114, var(--carbon));
  color: var(--ice);
  border-top-color: rgba(198, 200, 204, 0.1);
}
.footer[data-theme="dark"] .brand-name { color: var(--ice); }
.footer[data-theme="dark"] .brand-spec { color: var(--silver); }
.footer[data-theme="dark"] .brand-mark:not(.has-logo) {
  border-color: var(--line-dark-strong);
  background: rgba(198, 200, 204, 0.05);
  color: var(--silver);
}
.footer[data-theme="dark"] .footer-desc { color: rgba(242, 243, 245, 0.66); }
.footer[data-theme="dark"] .footer-crm { color: var(--silver-soft); }
.footer[data-theme="dark"] h3 { color: var(--ice); }
.footer[data-theme="dark"] .footer-nav a { color: rgba(242, 243, 245, 0.66); }
.footer[data-theme="dark"] .footer-nav a:hover { color: var(--silver); }
.footer[data-theme="dark"] .footer-contact strong { color: var(--ice); }
.footer[data-theme="dark"] .footer-contact a { color: rgba(242, 243, 245, 0.66); }
.footer[data-theme="dark"] .footer-contact a:hover { color: var(--silver); }
.footer[data-theme="dark"] .btn-ghost {
  border-color: var(--line-dark-strong);
  color: var(--ice);
  background: transparent;
}
.footer[data-theme="dark"] .btn-ghost:hover {
  background: var(--silver);
  border-color: var(--silver);
  color: var(--carbon);
}
.footer[data-theme="dark"] .footer-book p { color: rgba(242, 243, 245, 0.66); }
.footer[data-theme="dark"] .pill { background: var(--silver); color: var(--carbon); }
.footer[data-theme="dark"] .footer-base { border-top-color: var(--line-dark); }
.footer[data-theme="dark"] .footer-disclaimer { color: var(--silver-soft); }
.footer[data-theme="dark"] .footer-copy { color: var(--silver-soft); }

/* CTA final — painel de impacto com aurora animada */
.final-card {
  max-width: 56rem;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 6vw, 4rem);
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(46, 48, 54, 0.95), transparent 70%),
    radial-gradient(42% 38% at 10% 92%, rgba(37, 180, 127, 0.16), transparent 70%),
    radial-gradient(42% 38% at 90% 92%, rgba(198, 200, 204, 0.1), transparent 70%),
    linear-gradient(180deg, #17181c, #0b0b0c);
  border-color: rgba(198, 200, 204, 0.2);
  box-shadow:
    0 3rem 6rem -2.5rem rgba(0, 0, 0, 0.7),
    0 0 90px -30px rgba(37, 180, 127, 0.28);
}
.final-card::after {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(198, 200, 204, 0.07) 40deg, transparent 80deg, transparent 180deg, rgba(37, 180, 127, 0.08) 220deg, transparent 260deg);
  animation: finalSpin 16s linear infinite;
  pointer-events: none;
}
@keyframes finalSpin { to { transform: rotate(360deg); } }
.final-card > * { position: relative; z-index: 1; }
.final-card .section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.final-ctas .btn-lg {
  font-size: 1.0625rem;
  padding: 1.125rem 2.5rem;
  box-shadow: 0 1rem 2.5rem -0.75rem rgba(198, 200, 204, 0.5);
}
.final-ctas .btn-primary { position: relative; }
.final-ctas .btn-primary::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 1.5px solid rgba(198, 200, 204, 0.5);
  animation: btnPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes btnPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.12); opacity: 0; }
}
.final-note {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.final-note span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--silver);
  border: 1px solid var(--line-dark);
  background: rgba(198, 200, 204, 0.05);
  padding: 0.4375rem 0.875rem;
  border-radius: 999px;
}
.final-note span::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--accent-bright);
}

/* ==========================================================================
   25. RESPONSIVO — TABLET (≤1024px)
   ========================================================================== */
@media (max-width: 64rem) {
  .topnav-list { gap: 1.25rem; }
  .topnav-list a { font-size: 0.84375rem; }

  .hero-layout { grid-template-columns: 1fr 0.95fr; gap: 2.5rem; }
  .chip-a { left: -0.5rem; }
  .chip-b { right: -0.5rem; }

  .conditions-track { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ==========================================================================
   26. RESPONSIVO — TABLET PEQUENO / MOBILE GRANDE (≤860px)
   ========================================================================== */
@media (max-width: 53.75rem) {
  .topnav-list { display: none; }
  .menu-toggle { display: inline-flex; }

  .hero { padding-top: 2.5rem; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 30rem; margin-inline: auto; width: 100%; }
  .hero-photo { aspect-ratio: 4 / 4.2; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-scroll { display: none; }

  .symptoms-grid { grid-template-columns: 1fr; }
  .symptoms-footer { flex-direction: column; align-items: stretch; text-align: center; }
  .symptoms-footer .btn { justify-content: center; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 28rem; margin-inline: auto; width: 100%; }
  .about-float { right: 0.75rem; }

  /* Condições: carrossel por arraste */
  .drag-hint { display: inline-flex; }
  .conditions-viewport {
    margin-inline: calc(-1 * clamp(1.25rem, 4vw, 2.25rem));
    padding-inline: clamp(1.25rem, 4vw, 2.25rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
  }
  .conditions-viewport::-webkit-scrollbar { display: none; }
  .conditions-viewport.dragging { cursor: grabbing; scroll-snap-type: none; }
  .conditions-track {
    display: flex; gap: 1rem;
    width: max-content;
  }
  .condition-card { width: min(20rem, 78vw); flex-shrink: 0; scroll-snap-align: start; }
  .conditions-progress { display: block; }

  .arthro-grid { grid-template-columns: 1fr; }
  .arthro-rings { width: 14rem; height: 14rem; }

  .pillars-grid { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; }
  .process-grid { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; }

  .locations-grid { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   27. RESPONSIVO — MOBILE (≤600px)
   ========================================================================== */
@media (max-width: 37.5rem) {
  body { padding-top: 4.25rem; }
  .topbar-inner { height: 4.25rem; gap: 0.75rem; }
  .brand-name { font-size: 0.9375rem; }
  .brand-mark { width: var(--logo-size-m, var(--logo-size, 2.375rem)); height: var(--logo-size-m, var(--logo-size, 2.375rem)); border-radius: 0.75rem; }
  .brand-spec { font-size: 0.5625rem; }
  .topbar-cta span { display: none; }
  .topbar-cta { padding: 0.625rem; border-radius: 0.875rem; }
  .topbar-cta i { font-size: 1.125rem; margin: 0; }

  .hero-badge { font-size: 0.625rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(2) { border-left: 1px solid var(--line-dark); }
  .stat:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line-dark); }
  .chip-a { top: 1rem; left: 0.5rem; font-size: 0.75rem; }
  .chip-b { bottom: 4.5rem; right: 0.5rem; font-size: 0.75rem; }

  .hero-photo { aspect-ratio: 4 / 4.6; }
  .hero-caption { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 0.75rem 0.875rem; }

  .about-creds { grid-template-columns: 1fr; }
  .about-float { max-width: 12rem; padding: 1rem; }
  .about-float strong { font-size: 1.25rem; }

  .arthro-steps { grid-template-columns: 1fr; }
  .arthro-rings { width: 12rem; height: 12rem; }
  .ring-core { width: 5rem; height: 5rem; font-size: 1.625rem; }

  .location-foot { flex-direction: column; align-items: stretch; }
  .location-map-link { justify-content: center; }

  .final-ctas .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-desc { max-width: none; }

  .to-top { right: 1rem; bottom: 1rem; width: 2.75rem; height: 2.75rem; }
  .wa-float { left: 1rem; bottom: 1rem; width: 3.25rem; height: 3.25rem; }
  .wa-tip { display: none; }
}

/* ==========================================================================
   28. ACESSIBILIDADE — MOVIMENTO REDUZIDO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, [data-hero] { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .splash { display: none; }
}
