/* ============================================================
   INOVA — Design System (editorial rebuild)
   Intervenção Neurológica, Oncológica e Vascular Avançada
   ============================================================ */

:root {
  /* Brand */
  --navy-900: #0a1526;
  --navy-800: #0f1e3d;
  --navy-700: #1a2c4e;
  --gold-600: #b2914f;
  --gold-500: #c9ae72;
  --gold-300: #ddc999;
  --paper: #f6f3ec;      /* warm off-white, less clinical */
  --paper-2: #efeadf;
  --white: #ffffff;
  --ink: #14192a;
  --ink-soft: #4a5164;
  --line: rgba(20, 25, 42, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-serif: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-label: 'Jost', sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Typography primitives */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.06; letter-spacing: -0.015em; }
.serif { font-family: var(--font-serif); }
.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }

.label {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold-600);
}
.rule { width: 46px; height: 1px; background: var(--gold-500); border: 0; }

.section { padding: clamp(5rem, 11vw, 9.5rem) 0; }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-label); font-weight: 500; font-size: 0.92rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 1rem 2rem; border: 1px solid var(--gold-500); color: var(--ink);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
  cursor: pointer; background: transparent;
}
.btn-fill { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.btn-fill:hover { background: var(--gold-600); border-color: var(--gold-600); }
.btn-ghost:hover { background: var(--gold-500); color: var(--navy-900); }
.btn.on-dark { color: var(--paper); }
.btn.on-dark.btn-fill { color: var(--navy-900); }

.link-arrow {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.82rem; font-weight: 500; color: var(--gold-600);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.link-arrow .a { transition: transform 0.35s var(--ease); }
.link-arrow:hover .a { transform: translateX(6px); }

/* ---------- Brandmark ---------- */
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; display: block; }
.brand .logo-dark { display: none; }
.site-header.scrolled .brand .logo-white { display: none; }
.site-header.scrolled .brand .logo-dark { display: block; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.5rem 0; transition: padding 0.4s var(--ease), background 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(246, 243, 236, 0.92); backdrop-filter: blur(12px);
  border-bottom-color: var(--line); padding: 0.9rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; gap: 2.4rem; align-items: center; }
.nav-links a {
  font-family: var(--font-label); font-size: 0.82rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.14em;
  transition: color 0.25s; position: relative;
}
/* No topo (sobre o vídeo): tudo branco */
.site-header .brand .word,
.site-header .nav-links a:not(.btn) { color: var(--paper); }
.site-header .nav-toggle span { background: var(--paper); }
/* Ao rolar (fundo claro): escurece */
.site-header.scrolled .brand .word { color: var(--navy-800); }
.site-header.scrolled .nav-links a:not(.btn) { color: var(--ink-soft); }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-links a:not(.btn):hover { color: var(--gold-500) !important; }
.nav-links .btn { padding: 0.7rem 1.4rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; z-index: 101; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; margin: 6px 0; transition: 0.35s var(--ease); }

/* ---------- Hero (vídeo de fundo) ---------- */
.hero {
  position: relative; background: var(--navy-800); color: var(--paper);
  min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(9rem, 16vh, 12rem) 0 0; overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: 0.38;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,21,38,0.35) 0%, rgba(10,21,38,0.15) 40%, rgba(10,21,38,0.75) 100%),
    linear-gradient(90deg, rgba(10,21,38,0.65) 0%, rgba(10,21,38,0) 65%);
}
.hero .container { position: relative; z-index: 2; width: min(100% - 3rem, var(--container)); }
.hero-inner { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.hero-copy { max-width: 780px; }
.hero-eyebrow { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 2.2rem; }
.hero-eyebrow .label { color: var(--gold-300); }
.hero-eyebrow .rule { background: var(--gold-500); opacity: 0.6; }
.hero h1 {
  font-family: 'Space Grotesk', var(--font-serif);
  font-size: clamp(3rem, 6.6vw, 5.8rem); color: var(--white);
  font-weight: 600; letter-spacing: -0.035em; line-height: 1.02;
}
.hero h1 em { font-style: normal; color: var(--gold-300); font-weight: 600; }
.hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(246, 243, 236, 0.82);
  max-width: 500px; margin: 2rem 0 2.6rem; line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
/* running credibility line */
.hero-strip {
  border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; gap: 2.5rem 3.5rem; padding: 1.8rem 0 2.4rem;
}
.hero-strip span {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.72rem; color: rgba(246, 243, 236, 0.55); display: flex; align-items: center; gap: 0.7rem;
}
.hero-strip span::before { content: ''; width: 5px; height: 5px; background: var(--gold-500); border-radius: 50%; }

/* ---------- Intro / manifesto ---------- */
.manifesto { background: var(--paper); }
.manifesto-inner { display: grid; grid-template-columns: 0.42fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.manifesto .side { padding-top: 0.6rem; }
.manifesto .side .label { display: block; margin-bottom: 1.4rem; }
.manifesto blockquote {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.6rem, 3.6vw, 2.7rem);
  line-height: 1.28; letter-spacing: -0.01em; color: var(--navy-800);
}
.manifesto blockquote em { font-style: normal; color: var(--gold-600); }
.manifesto .sign { margin-top: 2.4rem; color: var(--ink-soft); font-size: 1.02rem; max-width: 560px; }

/* ---------- Specialties (editorial index) ---------- */
.specialties { background: var(--navy-800); color: var(--paper); }
.specialties .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.5rem; flex-wrap: wrap; }
.specialties .head h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); font-weight: 400; max-width: 620px; }
.specialties .head h2 em { font-style: normal; color: var(--gold-300); }
.spec-list { border-top: 1px solid var(--line-light); }
.spec-row {
  display: grid; grid-template-columns: auto 1.1fr 1.6fr auto; gap: 2rem; align-items: center;
  padding: 2.4rem 0.5rem; border-bottom: 1px solid var(--line-light);
  transition: padding 0.5s var(--ease), background 0.5s; position: relative;
}
.spec-row:hover { padding-left: 1.6rem; background: rgba(255, 255, 255, 0.02); }
.spec-num { font-family: var(--font-serif); font-size: 1.4rem; color: var(--gold-500); font-weight: 400; }
.spec-name { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--white); font-weight: 400; }
.spec-desc { color: rgba(246, 243, 236, 0.62); font-size: 0.98rem; }
.spec-row .go { color: var(--gold-500); opacity: 0; transform: translateX(-8px); transition: 0.4s var(--ease); }
.spec-row:hover .go { opacity: 1; transform: none; }

/* ---------- Approach split ---------- */
.approach { background: var(--paper); }
.approach-inner { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.approach .label { display: block; margin-bottom: 1.6rem; }
.approach h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); color: var(--navy-800); font-weight: 400; margin-bottom: 1.8rem; }
.approach h2 em { font-style: normal; color: var(--gold-600); }
.approach p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 1.2rem; max-width: 520px; }
.approach-figure { aspect-ratio: 4/5; background: var(--navy-800); display: grid; place-items: center; position: relative; overflow: hidden; }
.approach-figure::after { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(246,243,236,0.35); pointer-events: none; z-index: 2; }
.approach-figure .stent { width: 58%; }
.approach-figure .stent-img { width: 44%; height: auto; }
.approach-figure .approach-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ---------- Team ---------- */
.team { background: var(--paper-2); }
.team .head { max-width: 640px; margin-bottom: 3.8rem; }
.team .head .label { display: block; margin-bottom: 1.4rem; }
.team .head h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); color: var(--navy-800); font-weight: 400; }
.team .head h2 em { font-style: normal; color: var(--gold-600); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.doctor { background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; }
.doctor-photo { background: var(--navy-800); position: relative; display: grid; place-items: center; min-height: 280px; overflow: hidden; }
.doctor-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.doctor-photo::after { content: ''; position: absolute; inset: 14px; border: 1px solid var(--line-light); z-index: 2; pointer-events: none; }
.doctor-photo .ph { color: rgba(221, 201, 153, 0.45); }
.doctor-photo .ph svg { width: 52px; height: 52px; stroke: currentColor; fill: none; stroke-width: 1; }
.doctor-info { padding: 2.4rem 2.2rem; display: flex; flex-direction: column; }
.doctor-info h3 { font-size: 1.7rem; color: var(--navy-800); font-weight: 400; }
.doctor-info .role { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.76rem; color: var(--gold-600); margin: 0.7rem 0 1.4rem; }
.doctor-info .creds { margin-top: 0.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1.2rem; }
.doctor-info .creds b { font-family: var(--font-label); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink); }
.doctor-info .creds b span { display: block; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 400; }

/* clicável — botão pulsante + mãozinha animada */
.doctor { cursor: pointer; }
.doctor:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.doctor-cta {
  position: relative; display: inline-flex; align-items: center; margin-top: 1.5rem;
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.74rem; font-weight: 500; color: var(--navy-900);
  background: var(--gold-500); padding: 0.6rem 1.15rem; border-radius: 100px;
  box-shadow: 0 0 0 0 rgba(201, 174, 114, 0.55); animation: ctaPulse 2.2s var(--ease) infinite;
  transition: background 0.3s;
}
.doctor:hover .doctor-cta { background: var(--gold-600); }
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(201, 174, 114, 0.55); }
  60%  { box-shadow: 0 0 0 12px rgba(201, 174, 114, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 174, 114, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .doctor-cta { animation: none; }
}

/* ---------- Modal de perfil ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; visibility: hidden; opacity: 0; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 21, 38, 0.72); backdrop-filter: blur(6px); }
.modal-card {
  position: relative; z-index: 2; background: var(--paper); width: min(920px, 100%);
  max-height: 88vh; overflow: hidden; display: grid; grid-template-columns: 42% 1fr;
  box-shadow: 0 40px 100px rgba(10, 21, 38, 0.45);
  transform: translateY(24px) scale(0.98); transition: transform 0.5s var(--ease);
}
.modal.open .modal-card { transform: none; }
.modal-photo { position: relative; background: var(--navy-800); min-height: 100%; }
.modal-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.modal-body { padding: clamp(2rem, 4vw, 3.2rem); overflow-y: auto; max-height: 88vh; }
.modal-body .label { display: block; margin-bottom: 1rem; }
.modal-body h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy-800); font-weight: 400; line-height: 1.1; }
.modal-role { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--gold-600); margin: 0.7rem 0 1.3rem; }
.modal-creds { display: flex; flex-wrap: wrap; gap: 0.9rem; padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.modal-creds b { font-family: var(--font-label); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.03em; color: var(--ink); }
.modal-creds b span { display: block; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 400; margin-top: 2px; }
.modal-bio p { color: var(--ink-soft); font-size: 1rem; line-height: 1.75; margin-bottom: 1rem; }
.modal-bio p:last-child { margin-bottom: 0; }
.modal-bio em { color: var(--gold-600); font-style: normal; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 3; width: 42px; height: 42px;
  border: 1px solid var(--line); background: var(--paper); color: var(--navy-800);
  font-size: 1.6rem; line-height: 1; cursor: pointer; border-radius: 50%;
  display: grid; place-items: center; transition: background 0.3s, color 0.3s, transform 0.3s;
}
.modal-close:hover { background: var(--navy-800); color: var(--paper); transform: rotate(90deg); }
body.modal-open { overflow: hidden; }
@media (max-width: 720px) {
  .modal-card { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .modal-photo { height: 260px; min-height: 260px; }
  .modal-body { max-height: none; }
}

/* ---------- Procedures ---------- */
.procedures { background: var(--paper); }
.procedures .head { max-width: 640px; margin-bottom: 3.6rem; }
.procedures .head .label { display: block; margin-bottom: 1.4rem; }
.procedures .head h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); color: var(--navy-800); font-weight: 400; }
.proc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.proc-col h4 {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem;
  color: var(--gold-600); padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.4rem;
}
.proc-col ul { list-style: none; }
.proc-col li { font-size: 1.02rem; color: var(--ink); padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.proc-col li:last-child { border-bottom: 0; }

/* ---------- Hospitals ---------- */
.hospitals { background: var(--navy-800); color: var(--paper); }
.hospitals .head { max-width: 640px; margin-bottom: 3rem; }
.hospitals .head .label { display: block; margin-bottom: 1.4rem; color: var(--gold-300); }
.hospitals .head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--white); font-weight: 400; }
.hospitals .head h2 em { font-style: normal; color: var(--gold-300); }
.hosp-note {
  margin-top: 1.5rem; font-size: 0.95rem; color: rgba(246, 243, 236, 0.62);
  display: flex; align-items: center; gap: 0.6rem;
}
.hosp-note svg { width: 20px; height: 20px; stroke: var(--gold-500); flex-shrink: 0; }
.hosp-list { border-top: 1px solid var(--line-light); }
.hosp-list .row {
  display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem 0.3rem;
  border-bottom: 1px solid var(--line-light); transition: padding 0.4s var(--ease), background 0.4s;
}
.hosp-list .row:hover { padding-left: 1rem; background: rgba(255, 255, 255, 0.02); }
.hosp-list .row .n { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--gold-500); width: 2rem; flex-shrink: 0; }
.hosp-list .row .name { font-family: var(--font-serif); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--white); font-weight: 400; flex: 1; transition: color 0.3s; }
.hosp-list .row:hover .name { color: var(--gold-300); }
.hosp-list .route {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.72rem; color: var(--gold-500); white-space: nowrap; flex-shrink: 0;
  opacity: 0; transform: translateX(-8px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.hosp-list .row:hover .route { opacity: 1; transform: none; }
@media (hover: none) { .hosp-list .route { opacity: 0.75; transform: none; } }

/* ---------- Convênios ---------- */
.convenios { background: var(--paper); padding-top: 0; }
.conv-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: var(--paper); border: 1px solid var(--line-light);
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3.5rem);
  display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.5rem);
  position: relative; overflow: hidden;
}
.conv-card::after {
  content: ''; position: absolute; right: -10%; top: -40%; width: 40%; height: 180%;
  background: radial-gradient(circle, rgba(201,174,114,0.12), transparent 65%); pointer-events: none;
}
.conv-icon { flex-shrink: 0; width: 60px; height: 60px; border: 1px solid rgba(201,174,114,0.4); border-radius: 50%; display: grid; place-items: center; }
.conv-icon svg { width: 30px; height: 30px; stroke: var(--gold-300); }
.conv-text { flex: 1; }
.conv-text .label { display: block; margin-bottom: 0.7rem; color: var(--gold-300); }
.conv-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--white); font-weight: 400; }
.conv-text p { color: rgba(246, 243, 236, 0.72); margin-top: 0.8rem; font-size: 1rem; max-width: 560px; line-height: 1.7; }
.conv-btn { flex-shrink: 0; }
@media (max-width: 820px) {
  .conv-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .conv-btn { width: 100%; justify-content: center; }
}

/* ---------- Contact ---------- */
.contact { background: var(--paper); text-align: left; }
.contact-inner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; }
.contact .label { display: block; margin-bottom: 1.6rem; }
.contact h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); color: var(--navy-800); font-weight: 400; letter-spacing: -0.02em; }
.contact h2 em { font-style: normal; color: var(--gold-600); }
.contact p { color: var(--ink-soft); margin: 1.4rem 0 0; max-width: 460px; font-size: 1.08rem; }
.contact-actions { display: flex; flex-direction: column; gap: 1rem; }

/* ---------- Instagram ---------- */
.instagram { background: var(--paper-2); }
.ig-intro { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.ig-intro .label { display: block; margin-bottom: 1.2rem; }
.ig-intro h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); color: var(--navy-800); font-weight: 400; }
.ig-intro h2 em { font-style: normal; color: var(--gold-600); }
.ig-intro p { color: var(--ink-soft); margin-top: 1rem; font-size: 1.05rem; }
.ig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.ig-col { background: var(--white); border: 1px solid var(--line); padding: 1.6rem; }
.ig-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.ig-handle { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-label); font-size: 0.92rem; letter-spacing: 0.02em; color: var(--navy-800); font-weight: 500; }
.ig-handle svg { width: 22px; height: 22px; stroke: var(--gold-600); flex-shrink: 0; }
.ig-follow {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.72rem; font-weight: 500; color: var(--navy-900);
  background: var(--gold-500); padding: 0.5rem 1.1rem; border-radius: 100px; transition: background 0.3s;
}
.ig-follow:hover { background: var(--gold-600); }
.ig-embed { min-height: 300px; }
.ig-placeholder {
  min-height: 300px; display: grid; place-items: center; text-align: center;
  border: 1.5px dashed var(--line); color: var(--ink-soft); font-size: 0.95rem; padding: 2rem;
  border-radius: 4px;
}
@media (max-width: 760px) { .ig-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(246, 243, 236, 0.66); padding: 5rem 0 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-light); }
.footer-about { max-width: 320px; font-size: 0.96rem; margin-top: 1.6rem; line-height: 1.7; }
.footer-col h5 { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; color: var(--gold-300); margin-bottom: 1.4rem; }
.footer-col a, .footer-col p { display: block; font-size: 0.95rem; margin-bottom: 0.75rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom { padding-top: 2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; color: rgba(246, 243, 236, 0.4); }
.cfm-note { font-size: 0.76rem; color: rgba(246, 243, 236, 0.4); max-width: 680px; margin-top: 1.4rem; line-height: 1.7; }
.footer-credit {
  margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
}
.footer-credit span { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.66rem; color: rgba(246, 243, 236, 0.45); }
.footer-credit img { height: 30px; width: auto; opacity: 0.8; transition: opacity 0.3s; }
.footer-credit a:hover img { opacity: 1; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; background: var(--navy-800);
  border: 1px solid var(--gold-500); display: grid; place-items: center;
  transition: transform 0.35s var(--ease), background 0.35s;
}
.wa-float:hover { transform: translateY(-3px); background: var(--navy-700); }
.wa-float svg { width: 26px; height: 26px; fill: var(--gold-300); }

/* ---------- Reveal (entrada com cascata) ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-figure { display: none; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .approach-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .approach-figure { max-width: 360px; }
  .team-grid, .proc-cols { grid-template-columns: 1fr; gap: 2rem; }
  .spec-row { grid-template-columns: auto 1fr auto; }
  .spec-desc { display: none; }
  .contact-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 680px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: var(--navy-800);
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 2.5rem; transform: translateX(100%); transition: transform 0.45s var(--ease); gap: 1.8rem;
  }
  .nav-links.open { transform: none; }
  .nav-links a { color: var(--paper); font-size: 1rem; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .doctor { grid-template-columns: 1fr; }
  .doctor-photo { aspect-ratio: 4 / 5; min-height: 0; }
  .doctor-photo img { object-position: center 18%; }
  .hosp-list .row .name { min-width: 0; }
  .hosp-list .route { opacity: 1; transform: none; }
}
