/* ============================================================
   Instituto Mussi — estilos
   Paleta: navy #1f2a44 / #1a2338  •  dourado #cb9863
   ============================================================ */

:root {
  --navy: #1f2a44;
  --navy-deep: #1a2338;
  --navy-alt: #203d62;
  --gold: #cb9863;
  --gold-soft: #e2b888;
  --gold-deep: #6d4c2a;
  --blue-50: #f1f4fb;
  --blue-100: #e6ebf5;
  --blue-150: #dde4f2;
  --blue-200: #cdd7eb;
  --ink: #1a2338;
  --muted: #64708a;
  --line: #e7ecf5;
  --white: #ffffff;
  --page: #eef2f9;
  --gold-grad: linear-gradient(106deg, var(--gold) 60%, var(--gold-deep) 105%);
  --hero-grad: radial-gradient(120% 120% at 80% 0%, #eaf0fb 0%, #f4f7fc 45%, #ffffff 100%);
  --shadow-btn: 0 14px 24px -10px rgba(203, 152, 99, 0.6);
  --shadow-card: 0 24px 60px -28px rgba(26, 35, 56, 0.4);
  --shadow-soft: 0 18px 50px -24px rgba(26, 35, 56, 0.22);
  --shadow-float: 0 20px 45px -18px rgba(26, 35, 56, 0.28);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --container: 1320px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 88px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ícones Lucide — tamanho/stroke padrão */
[data-lucide] { width: 20px; height: 20px; stroke-width: 2; vertical-align: middle; }
svg.lucide { display: inline-block; }

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.section { padding: clamp(60px, 9vw, 120px) 0; position: relative; }

.gold { color: var(--gold); }
.muted { color: var(--muted); font-size: 1.05rem; }

/* ---------- Eyebrow / titles ---------- */
.eyebrow {
  display: flex; width: fit-content; align-items: center; gap: 10px;
  color: var(--gold-deep); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em;
  background: rgba(203, 152, 99, .12); border: 1px solid rgba(203, 152, 99, .25);
  padding: 7px 16px 7px 12px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .bar { width: 22px; height: 3px; border-radius: 9px; background: var(--gold); display: inline-block; }
.eyebrow-right { margin-left: auto; }
.eyebrow-center { margin-left: auto; margin-right: auto; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 600; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 28px; max-width: 640px;
}
h2 strong { font-weight: 800; }
.title-right { margin-left: auto; text-align: right; }
.title-center { margin: 0 auto 28px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; color: var(--white);
  padding: 15px 34px; border-radius: 999px; border: none; cursor: pointer;
  position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease);
  will-change: transform; white-space: nowrap;
}
.btn i, .btn [data-lucide] { width: 18px; height: 18px; }
.btn-gold { background: var(--gold-grad); box-shadow: var(--shadow-btn); }
.btn-navy { background: var(--navy); box-shadow: 0 14px 24px -10px rgba(26,35,56,.5); }
.btn-ghost {
  background: transparent; color: var(--navy); border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); background: #fff; }
.btn-sm { padding: 11px 22px; font-size: .95rem; }
.btn::after {
  content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.18);
  transform: translateX(-120%) skewX(-20deg); transition: transform .6s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn-gold:hover { box-shadow: 0 20px 30px -10px rgba(203,152,99,.7); }
.btn-gold:hover::after, .btn-navy:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn-ghost::after { display: none; }
.btn:active { transform: translateY(-1px) scale(.99); }
.btn-right { margin-left: auto; }
.btn-block { width: 100%; }

/* ---------- Decorative blobs ---------- */
.blob { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .5; pointer-events: none; z-index: 0; }
.blob-a { width: 360px; height: 360px; top: 12%; right: 28%; background: radial-gradient(circle at 30% 30%, rgba(203,152,99,.5), transparent 70%); }
.blob-b { width: 300px; height: 300px; bottom: 6%; right: 4%; background: radial-gradient(circle at 50% 50%, rgba(32,61,98,.7), transparent 70%); }
.blob-c { width: 420px; height: 420px; top: -60px; left: -120px; background: radial-gradient(circle at 50% 50%, rgba(203,152,99,.18), transparent 70%); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 16px 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px -18px rgba(26, 35, 56, .35);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.logo { margin-right: auto; }
.logo img { height: 52px; width: auto; transition: transform .35s var(--ease); }
.logo:hover img { transform: scale(1.04); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 38px); }
.nav-link {
  color: var(--navy); font-weight: 600; font-size: .98rem; position: relative; padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--gold-deep); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.header-cta { flex: 0 0 auto; }
.nav-cta-mobile { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 110; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--white);
  padding: calc(var(--header-h) + 18px) 0 60px;
}
.hero-panel {
  position: relative; overflow: hidden;
  margin: 0 clamp(14px, 2.4vw, 34px);
  border-radius: var(--radius-xl);
  background: var(--navy-deep);
  box-shadow: var(--shadow-card);
  padding: clamp(48px, 6vw, 90px) 0;
}
/* fundo: foto do prédio do Instituto */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(26,35,56,.95) 0%, rgba(26,35,56,.82) 44%, rgba(26,35,56,.5) 100%),
    radial-gradient(120% 120% at 88% 8%, rgba(203,152,99,.20), transparent 58%);
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-weight: 600; font-size: .88rem; padding: 8px 16px; border-radius: 999px;
  margin-bottom: 22px; backdrop-filter: blur(6px);
}
.hero-pill [data-lucide] { width: 17px; height: 17px; color: var(--gold-soft); }
.hero-copy h1 {
  font-family: var(--font-display);
  color: #fff; font-weight: 800; font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 22px;
}
.hero-copy h1 .grad {
  background: linear-gradient(100deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-copy p { color: rgba(255,255,255,.82); font-size: 1.06rem; margin-bottom: 30px; max-width: 520px; }

.hero-proof { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero-proof .avatars { display: flex; }
.hero-proof .avatars img {
  width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--navy-deep); margin-left: -12px;
  object-fit: cover;
}
.hero-proof .avatars img:first-child { margin-left: 0; }
.hero-proof p { color: rgba(255,255,255,.8); font-size: .98rem; }
.hero-proof strong { color: #fff; font-weight: 700; }

.hero-stats { display: flex; gap: clamp(20px, 3vw, 44px); }
.hero-stats .stat b {
  display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800; color: #fff; line-height: 1;
}
.hero-stats .stat span { font-size: .85rem; color: rgba(255,255,255,.7); }

/* formulário no hero (substitui a equipe recortada) */
.hero-form-wrap { position: relative; }
.hero-form {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.97); backdrop-filter: blur(6px);
  border-radius: var(--radius-lg); padding: clamp(24px, 2.4vw, 32px);
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 14px;
}
.hero-form h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; color: var(--navy); }
.hero-form-sub { color: var(--muted); font-size: .92rem; margin-top: -8px; }
.hero-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: var(--ink); font-size: .82rem; }
.hero-form input, .hero-form select {
  font-family: inherit; font-size: .98rem; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 12px; background: #f7f9fd; color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.hero-form input:focus, .hero-form select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(203,152,99,.18); background: #fff;
}
.hero-form .btn { margin-top: 6px; }
.hero-form .form-feedback { font-weight: 600; color: #1a7d4b; text-align: center; font-size: .9rem; }

/* badges flutuantes */
.float-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.8); border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow-float);
}
.float-card strong { display: block; font-weight: 700; color: var(--navy); font-size: .98rem; }
.float-card small { color: var(--muted); font-size: .78rem; }
.card-rating { top: -52px; left: -24px; }
.card-rating .ic {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--gold-grad); color: #fff;
}
.card-rating .ic [data-lucide] { width: 22px; height: 22px; fill: #fff; }
.float-badge {
  position: absolute; z-index: 4; bottom: -26px; right: -20px; display: flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-float);
}
.float-badge [data-lucide] { width: 26px; height: 26px; color: var(--gold); }
.float-badge strong { display: block; font-weight: 700; font-size: 1.05rem; }
.float-badge small { color: rgba(255,255,255,.7); font-size: .78rem; }

/* ---------- Badges ---------- */
.badge {
  background: var(--gold); border-radius: 14px; padding: 16px 18px; color: var(--navy);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); min-width: 230px;
}
.badge .stars { display: flex; gap: 4px; margin-bottom: 8px; }
.badge .stars svg { width: 30px; height: 30px; fill: var(--navy); }
.badge .big { font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.badge .big span { font-weight: 400; }
.badge .small { font-size: 1.1rem; font-weight: 700; }
.badge-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ico-heart { width: 36px; height: 36px; fill: var(--navy); }
.avatars { display: flex; align-items: center; }
.avatars img, .avatars .more {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--gold);
  margin-left: -14px; object-fit: cover; background: var(--navy);
}
.avatars img:first-child { margin-left: 0; }
.avatars .more { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }

.badge-years { position: absolute; top: 6%; left: 6%; }
.badge-surgeries { position: absolute; bottom: 4%; right: -6%; }

.float-a { animation: float 6s ease-in-out infinite; }
.float-b { animation: float 6s ease-in-out infinite .8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================
   INSTITUTO
   ============================================================ */
.instituto { background: var(--white); }
.instituto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.instituto-visual { position: relative; }
.instituto-photo { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-soft); }
.instituto-photo img { width: 100%; height: 460px; object-fit: cover; }
.anos-badge {
  position: absolute; left: -10px; bottom: 40px; width: 150px; height: 150px; border-radius: 50%;
  background: var(--navy); color: var(--gold); display: flex; flex-direction: column;
  align-items: center; justify-content: center; box-shadow: var(--shadow-card);
  border: 4px solid var(--gold);
}
.anos-badge .num { font-size: 3rem; font-weight: 700; line-height: 1; }
.anos-badge .lbl { font-size: 1.1rem; font-weight: 500; }
.instituto-round {
  position: absolute; right: 24px; bottom: -28px; width: 130px; height: 130px;
  border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-soft);
}
.instituto-round img { width: 100%; height: 100%; object-fit: cover; }
.instituto-copy p { margin-bottom: 18px; color: var(--muted); text-align: right; }
.instituto-copy .btn { margin-top: 12px; }

/* ============================================================
   ESPECIALIDADES
   ============================================================ */
.especialidades { background: var(--blue-50); }
.esp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px;
}
.esp-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  cursor: default; display: flex; flex-direction: column;
}
.esp-card .esp-img {
  height: 168px; border-radius: 18px; overflow: hidden; margin-bottom: 16px; position: relative;
}
.esp-card .esp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.esp-card h3 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 8px; transition: color .35s var(--ease);
}
.esp-card h3::after {
  content: ""; width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto;
  background: var(--blue-50) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23cb9863' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h12M13 6l6 6-6 6'/></svg>") center/18px no-repeat;
  transition: background-color .35s var(--ease), transform .35s var(--ease);
}
.esp-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: var(--gold); }
.esp-card:hover h3 { color: var(--gold-deep); }
.esp-card:hover h3::after { background-color: var(--gold); transform: translateX(3px); }
.esp-card:hover .esp-img img { transform: scale(1.08); }

/* ============================================================
   DOUTORES
   ============================================================ */
.doutores { background: var(--white); }
.dr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.dr-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.dr-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: var(--gold); }
.dr-img { height: 300px; border-radius: 18px; overflow: hidden; margin-bottom: 18px; }
.dr-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.dr-card:hover .dr-img img { transform: scale(1.05); }
.dr-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.dr-card p { font-size: .9rem; color: var(--muted); }
.dr-actions { display: flex; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.dr-actions a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 42px; border-radius: 12px; font-size: .85rem; font-weight: 600;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.dr-actions [data-lucide] { width: 17px; height: 17px; }
.dr-actions .act-phone { background: var(--blue-50); color: var(--navy); }
.dr-actions .act-phone:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.dr-actions .act-wpp { background: var(--gold-grad); color: #fff; box-shadow: var(--shadow-btn); }
.dr-actions .act-wpp:hover { transform: translateY(-2px); }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.depoimentos { background: var(--blue-50); overflow: hidden; }
.carousel { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.car-viewport { overflow: hidden; flex: 1; padding: 10px 4px; }
.car-track { display: flex; gap: 26px; transition: transform .6s var(--ease); }
.dep-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-soft);
  flex: 0 0 calc((100% - 52px) / 3); min-width: 0;
}
.dep-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dep-head img { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; }
.dep-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 2px; }
.dep-head strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.dep-card p { font-style: italic; color: var(--muted); font-size: .98rem; }
.car-btn {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line);
  background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-soft);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.car-btn svg { width: 24px; height: 24px; }
.car-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: scale(1.08); }
.car-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.car-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(31,42,68,.18);
  cursor: pointer; transition: .3s var(--ease);
}
.car-dots button.active { background: var(--gold); width: 28px; border-radius: 6px; }

/* ============================================================
   QUALIDADE
   ============================================================ */
.qualidade { background: var(--white); }
.qualidade-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.qualidade-copy h2 { max-width: 560px; }
.check-list { margin: 10px 0 26px; display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; align-items: center; gap: 15px; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.check {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-grad);
  display: grid; place-items: center; box-shadow: var(--shadow-btn);
}
.check::after {
  content: ""; width: 9px; height: 16px;
  border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px);
}
.qualidade-copy .muted { margin-bottom: 26px; }

.qualidade-visual { position: relative; height: 480px; }
.q-photo { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.q-photo img { width: 100%; height: 100%; object-fit: cover; }
.q-photo-1 { width: 58%; height: 100%; right: 0; top: 0; z-index: 2; }
.q-photo-2 { width: 46%; height: 70%; left: 0; bottom: 0; z-index: 3; }
.q-strip {
  position: absolute; right: -16px; top: 12%; width: 70px; height: 76%; border-radius: 14px;
  background: var(--gold); z-index: 1;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden;
  margin: clamp(40px, 6vw, 80px) clamp(14px, 2.4vw, 34px);
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--navy-deep) 0%, #26344f 100%);
}
.cta-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cta-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.cta-bg-fade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,35,56,.92) 0%, rgba(26,35,56,.74) 38%, rgba(26,35,56,.42) 72%, rgba(26,35,56,.55) 100%);
}
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.cta-copy h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); max-width: 700px; }
.cta-copy p { color: #fff; font-weight: 600; font-size: 1.3rem; margin-bottom: 30px; }
.cta-badges { display: flex; flex-direction: column; gap: 24px; align-items: flex-end; }
.badge-cta { position: static; background: rgba(203,152,99,.94); width: 100%; max-width: 420px; }

/* ============================================================
   CONTATO
   ============================================================ */
.contato { background: var(--blue-50); }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contato-copy h2 { color: var(--ink); max-width: 560px; }
.map { border-radius: var(--radius-lg); overflow: hidden; margin-top: 30px; box-shadow: var(--shadow-soft); }
.map img { width: 100%; height: 280px; object-fit: cover; }
.contato-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-soft);
}
.contato-form label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.contato-form input, .contato-form textarea {
  font-family: inherit; font-size: 1rem; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #f7f9fd; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); resize: vertical;
}
.contato-form input:focus, .contato-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(203,152,99,.18); background: #fff;
}
.form-feedback { font-weight: 600; color: #1a7d4b; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); padding: 74px 0 28px; color: #fff; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.4fr; gap: 44px; align-items: start;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { height: 80px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.68); max-width: 330px; margin-bottom: 22px; font-size: .95rem; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.socials a svg { width: 22px; height: 22px; fill: #fff; }
.socials a:hover { background: var(--gold); transform: translateY(-3px); }

.footer-col h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 18px; color: #fff; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li, .footer-col a { color: rgba(255,255,255,.7); font-size: .95rem; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-contact li, .footer-contact a { display: flex; align-items: center; gap: 10px; }
.footer-contact [data-lucide] { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; }

.footer-map {
  height: 100%; min-height: 200px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow-card);
}
.footer-map iframe { width: 100%; height: 100%; min-height: 200px; border: 0; display: block; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-top: 24px;
}
.copyright { color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color .3s var(--ease); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 62px; height: 62px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0,0,0,.5);
  transition: transform .3s var(--ease); animation: pulse 2.4s infinite;
}
.whatsapp-float svg { width: 34px; height: 34px; fill: #fff; }
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .esp-grid { grid-template-columns: repeat(2, 1fr); }
  .dr-grid { grid-template-columns: repeat(2, 1fr); }
  .dep-card { flex: 0 0 calc((100% - 26px) / 2); }
}

@media (max-width: 880px) {
  :root { --header-h: 76px; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); flex-direction: column; justify-content: center;
    gap: 28px; background: rgba(26,35,56,.98); backdrop-filter: blur(10px); transform: translateX(100%);
    transition: transform .4s var(--ease); padding: 40px;
  }
  .nav.open { transform: translateX(0); }
  .nav .nav-link { color: #fff; font-size: 1.15rem; }
  .nav .nav-link:hover, .nav .nav-link.active { color: var(--gold); }
  .nav-cta-mobile {
    display: inline-flex; margin-top: 8px; background: var(--gold-grad); color: #fff;
    padding: 12px 26px; border-radius: 999px;
  }
  .nav-cta-mobile::after { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .logo img { height: 46px; }

  .hero { padding-top: calc(var(--header-h) + 10px); }
  .hero-grid, .instituto-grid, .qualidade-grid, .cta-grid, .contato-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-map { grid-column: 1 / -1; min-height: 220px; }
  .hero-grid { align-items: start; }
  .hero-form-wrap { margin-top: 40px; }
  .card-rating { left: 0; top: -20px; }
  .float-badge { right: 0; bottom: -20px; }
  .hero-stats { flex-wrap: wrap; gap: 18px 28px; }
  .badge-surgeries { right: 0; }
  .instituto-copy p, .instituto-copy .btn, .title-right { text-align: left; margin-left: 0; }
  .instituto-copy .eyebrow, .doutores .eyebrow { justify-content: flex-start; flex-direction: row; }
  .instituto-photo img { height: 360px; }
  .qualidade-visual { height: 380px; }
  .cta-badges { align-items: stretch; }
  .badge-cta { max-width: none; }
  .cta-bg-img { width: 100%; opacity: .45; }
  .cta-bg-fade { background: rgba(26,35,56,.82); }
  .dep-card { flex: 0 0 100%; }
}

@media (max-width: 560px) {
  .esp-grid { grid-template-columns: 1fr; }
  .dr-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-rating p strong { font-size: 1.4rem; }
  .badge { min-width: 200px; }
  .anos-badge { width: 110px; height: 110px; }
  .anos-badge .num { font-size: 2.2rem; }
  .car-btn { width: 46px; height: 46px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}
