/* =========================================================
   Clínica Renum · Landing page
   Paleta e tipografia do Manual de Marca
   ========================================================= */

@font-face {
  font-family: "Tasa Orbiter";
  src: url("../fonts/tasa-orbiter-var.woff2") format("woff2-variations"),
       url("../fonts/tasa-orbiter-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: "Open Sauce"; src: url("../fonts/open-sauce-sans-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sauce"; src: url("../fonts/open-sauce-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Open Sauce"; src: url("../fonts/open-sauce-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Marca */
  --albescent: #FFE9D7;
  --persian: #DA9B65;
  --copper: #B97743;
  --cocoa: #CA6A2D;
  --sienna: #A85A34;
  --fuzzy: #80462A;

  /* Derivados (mesma família de cor) */
  --paper: #FFF8F2;
  --cream: #FFF3E8;
  --line: #EED6C2;
  --line-strong: #E2BC9C;
  --ink: #3E2216;
  --text: #5B3A29;
  --muted: #86624C;

  --f-head: "Tasa Orbiter", "Open Sauce", system-ui, sans-serif;
  --f-body: "Open Sauce", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --section: clamp(80px, 10vw, 140px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 1px 2px rgba(128, 70, 42, .06), 0 12px 32px -12px rgba(128, 70, 42, .18);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--f-head); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }
::selection { background: var(--persian); color: #fff; }
:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--fuzzy); color: #fff; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico--lg { width: 26px; height: 26px; }
.ico--wa { fill: currentColor; stroke: none; }
/* ícone do WhatsApp só nas cores oficiais: branco no fundo escuro, verde no claro */
.btn--primary .ico--wa, .btn--outline:hover .ico--wa { color: #fff; }
.wa-float .ico--wa { color: #005800; }
.btn--light .ico--wa, .btn--outline .ico--wa { color: #25D366; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  font-family: var(--f-body); font-size: 18px; font-weight: 500;
  letter-spacing: 0; color: var(--sienna);
}
.eyebrow::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: currentColor; opacity: .85; flex: none; }
.eyebrow--light { color: var(--persian); }

.h2 { font-size: clamp(32px, 3.7vw, 52px); }
.h3 { font-size: clamp(24px, 2.2vw, 30px); }
.lead { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.6; color: var(--text); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--fuzzy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 70px; padding: 14px 24px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid transparent; border-radius: 18px;
  font-family: var(--f-body); font-size: 16px; font-weight: 600; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--fuzzy); box-shadow: 0 10px 24px -12px rgba(128, 70, 42, .7); }
.btn--primary:hover { --bg: var(--sienna); }
.btn--light { --bg: var(--albescent); --fg: var(--fuzzy); }
.btn--light:hover { --bg: #fff; }
.btn--outline { --bg: transparent; --fg: var(--fuzzy); border-color: var(--line-strong); }
.btn--outline:hover { --bg: var(--fuzzy); --fg: #fff; border-color: var(--fuzzy); }
.btn--lg { min-height: 70px; padding: 16px 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn .ico { width: 20px; height: 20px; }

.pill { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2; }
.pill--line { border: 1.5px solid rgba(255, 233, 215, .45); color: var(--albescent); }
.pill--solid { background: var(--albescent); color: var(--fuzzy); }

/* ---------- Cabeçalho ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: 16px; pointer-events: none; }
.header__bar {
  width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 26px;
  background: rgba(255, 248, 242, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(226, 188, 156, .45);
  border-radius: 999px;
  pointer-events: auto;
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.header.is-scrolled .header__bar { background: rgba(255, 248, 242, .94); box-shadow: var(--shadow); }
.header__logo { display: block; flex: none; }
.header__logo img { width: 132px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: block; padding: 8px 12px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav__list a:hover, .nav__list a.is-active { background: var(--albescent); color: var(--fuzzy); }
.nav__cta { min-height: 70px; padding: 12px 20px; font-size: 15px; }
.header__toggle {
  display: none; width: 48px; height: 48px; place-items: center;
  background: var(--fuzzy); color: #fff; border: 0; border-radius: 50%; cursor: pointer;
}

.drawer {
  position: fixed; inset: 0; z-index: 49;
  display: flex; flex-direction: column; gap: 24px;
  padding: 112px var(--gutter) 32px;
  background: var(--paper) url("../img/pattern-claro.svg") repeat;
  background-size: 72px auto;
  overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer::before { content: ""; position: fixed; inset: 0; background: linear-gradient(180deg, rgba(255, 248, 242, .93), rgba(255, 248, 242, .99) 60%); z-index: -1; }
.drawer ul { display: grid; }
.drawer li a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--f-head); font-size: 19px; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none;
}
.drawer__info { margin: 0; text-align: center; font-size: 15px; color: var(--muted); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding: 12px 12px 0; }
.hero__frame {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: min(max(680px, calc(100svh - 24px)), 960px);
  border-radius: var(--radius-lg);
  background: var(--fuzzy);
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg { z-index: -2; }
.hero__bg img { object-fit: cover; object-position: 50% 38%; }
.hero__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(52, 27, 15, .92) 0%, rgba(62, 34, 22, .78) 30%, rgba(62, 34, 22, .28) 58%, rgba(62, 34, 22, 0) 78%),
    linear-gradient(0deg, rgba(52, 27, 15, .75) 0%, rgba(52, 27, 15, 0) 40%),
    linear-gradient(180deg, rgba(52, 27, 15, .55) 0%, rgba(52, 27, 15, 0) 22%);
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 780px) 1fr; align-items: end; gap: 40px;
  padding: 132px 0 clamp(36px, 4.5vw, 56px);
}
.hero__title { margin-bottom: 24px; color: #fff; font-size: clamp(40px, 4.7vw, 70px); line-height: 1.03; letter-spacing: -.032em; text-wrap: balance; }
.hero__sub { max-width: 600px; margin-bottom: 32px; font-size: clamp(18px, 1.45vw, 20px); line-height: 1.6; color: rgba(255, 243, 232, .88); }
.hero__actions { margin-bottom: 28px; }
.hero .btn--light { box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 500; color: rgba(255, 243, 232, .9); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .ico { width: 18px; height: 18px; color: var(--persian); }

.hero__panel {
  justify-self: end; width: min(100%, 340px);
  padding: 24px;
  background: rgba(62, 34, 22, .42);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 233, 215, .22); border-radius: var(--radius);
  color: #fff;
}
.hero__panel-title { margin-bottom: 16px; font-family: var(--f-head); font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.hero__stats { display: grid; margin: 0; }
.hero__stats div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 233, 215, .18); }
.hero__stats dt { order: 2; font-family: var(--f-head); font-size: 30px; font-weight: 600; line-height: 1; color: var(--albescent); }
.hero__stats dd { margin: 0; font-size: 14px; line-height: 1.35; color: rgba(255, 243, 232, .82); }

/* Hero sem imagem (provisório) */
.hero--noimg .hero__frame { background: var(--fuzzy); }
.hero--noimg .hero__frame::before { display: none; }

/* ---------- Seções ---------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--cream); }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head .h2 { max-width: 640px; }
.section__intro { font-size: clamp(18px, 1.45vw, 20px); max-width: 520px; justify-self: end; }

/* Sobre */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__text .h2 { margin-bottom: 28px; max-width: 600px; }
.about__text p:not(.eyebrow) { max-width: 580px; }
.about__grid { grid-template-columns: 1fr 1fr; }
.about__media { position: relative; margin: 0 0 0 auto; width: 100%; max-width: 560px; }
.about__photo {
  position: relative; overflow: hidden; aspect-ratio: 4 / 4.8;
  border-radius: var(--radius-lg);
  background: var(--fuzzy);
  box-shadow: 0 40px 80px -40px rgba(128, 70, 42, .6);
}
.about__photo picture, .about__photo img { width: 100%; height: 100%; }
.about__photo img { object-fit: cover; object-position: 50% 40%; }
.about__chip {
  position: absolute; left: -40px; bottom: 48px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px 14px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.35; color: var(--muted);
}
.about__chip strong { display: block; font-family: var(--f-head); font-size: 17px; font-weight: 600; color: var(--ink); }
.about__chip-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--fuzzy); }
.about__chip-mark img { width: 22px; }

.mission {
  margin: clamp(56px, 7vw, 96px) 0 0;
  display: grid; grid-template-columns: 220px 1fr; gap: 24px 48px; align-items: baseline;
  padding-top: 40px; border-top: 1px solid var(--line-strong);
}
.mission__label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sienna); }
.mission__text { margin: 0; font-family: var(--f-head); font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; line-height: 1.22; letter-spacing: -.02em; color: var(--fuzzy); text-wrap: balance; }

/* Diferenciais */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature {
  padding: clamp(28px, 3.2vw, 44px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.feature__media {
  position: relative; overflow: hidden; aspect-ratio: 16 / 7; margin-bottom: 28px; border-radius: calc(var(--radius) - 6px);
  background:
    url("../img/renum-simbolo-traco.svg") center / auto 38% no-repeat,
    radial-gradient(120% 80% at 50% 0%, #FFF3E8 0%, rgba(255, 243, 232, 0) 60%),
    linear-gradient(170deg, #FBE2CD 0%, #F3CFB1 100%);
}
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature--dark .feature__media { background: url("../img/renum-digital-escuro.svg") center / auto 50% no-repeat, linear-gradient(170deg, #6E3A22 0%, #5A2F1B 100%); }
.feature__head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--albescent); color: var(--sienna); }
.feature__icon .ico { width: 24px; height: 24px; }
.feature__title { font-size: clamp(22px, 2vw, 27px); }
.feature__list { display: grid; gap: 16px; }
.feature__list li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.55; }
.feature__list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--albescent); box-shadow: inset 0 0 0 4px var(--persian);
}
.feature--dark { background: var(--fuzzy); border-color: var(--fuzzy); color: rgba(255, 233, 215, .86); }
.feature--dark .feature__title, .feature--dark strong { color: #fff; }
.feature--dark .feature__icon { background: rgba(255, 233, 215, .12); color: var(--albescent); }
.feature--dark .feature__list li::before { background: transparent; box-shadow: inset 0 0 0 4px var(--persian); }

/* Você pode escolher + passos */
#diferenciais { padding-bottom: calc(80px + clamp(70px, 8vw, 120px)); }
.switch { padding-top: 0; }
.switch > .container { position: relative; z-index: 1; margin-top: calc(-1 * clamp(70px, 8vw, 120px)); }
.switch { padding-bottom: clamp(72px, 8vw, 120px); }
.switch + .section { padding-top: 0; }
.switch__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 5vw, 80px); align-items: center;
  padding: clamp(36px, 5.5vw, 80px);
  background: var(--fuzzy); border-radius: var(--radius-lg);
  color: rgba(255, 233, 215, .86);
}
.switch__visual { position: relative; align-self: stretch; min-height: 560px; margin: calc(-1 * clamp(36px, 5.5vw, 80px) + 14px) calc(-1 * clamp(36px, 5.5vw, 80px) + 14px) calc(-1 * clamp(36px, 5.5vw, 80px) + 14px) 0; }
.switch__photo, .switch__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.switch__photo { border-radius: calc(var(--radius-lg) - 12px); overflow: hidden; }
.switch__photo img { object-fit: cover; object-position: 50% 40%; }
.switch__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(58, 31, 18, 0) 35%, rgba(58, 31, 18, .55) 100%); }
.switch .h2 { max-width: 600px; margin-bottom: 24px; color: #fff; }
.switch__lead { max-width: 560px; margin-bottom: 36px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: rgba(255, 233, 215, .86); }

.perks { position: absolute; left: -64px; bottom: 32px; z-index: 1; display: grid; gap: 12px; width: min(380px, 100%); }
.perk:nth-child(2) { margin-left: 28px; }
.perk:nth-child(3) { margin-left: 56px; }
.perk {
  display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; align-items: center;
  padding: 18px 22px 18px 18px;
  background: rgba(70, 37, 21, .62);
  border: 1px solid rgba(255, 233, 215, .22); border-radius: 20px;
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 18px 40px -18px rgba(30, 14, 6, .6);
}
.perk__icon { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--albescent); color: var(--fuzzy); }
.perk__icon .ico { width: 24px; height: 24px; }
.perk__title { font-family: var(--f-head); font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: #fff; }
.perk__text { margin-top: 4px; font-size: 15px; line-height: 1.45; color: rgba(255, 233, 215, .72); }

.steps__head { margin: clamp(64px, 8vw, 104px) 0 32px; }
.steps-card { margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 3.6vw, 52px); background: #eed6c22e; border: 1px solid #eed6c24d; border-radius: var(--radius-lg); }
.steps-card .steps__head { margin: 0 0 clamp(28px, 3vw, 40px); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.steps { --p: 1; }
.steps::before, .steps::after {
  content: ""; position: absolute; top: 27px; left: 28px; right: calc((100% - 96px) / 5 - 28px); height: 2px; border-radius: 2px;
}
.steps::before { background: var(--line); }
.steps::after {
  background: linear-gradient(90deg, var(--line-strong) 0%, var(--persian) 55%, var(--fuzzy) 100%);
  clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0);
}
.step { position: relative; }
.step__dot {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line-strong); color: var(--sienna);
}
.step__dot .ico { width: 24px; height: 24px; }
.step:nth-child(2) .step__dot { border-color: #E7B98F; }
.step:nth-child(3) .step__dot { border-color: var(--persian); }
.step:nth-child(4) .step__dot { border-color: var(--copper); }
.step:last-child .step__dot { background: var(--fuzzy); border-color: var(--fuzzy); color: var(--albescent); box-shadow: 0 0 0 6px rgba(128, 70, 42, .12); }
.step__dot { transition: border-color .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.steps.is-anim .step:not(.is-on) .step__dot { border-color: var(--line); color: var(--line-strong); background: var(--paper); box-shadow: none; }
.steps.is-anim .step .step__num, .steps.is-anim .step .step__name, .steps.is-anim .step p { transition: opacity .4s var(--ease); }
.steps.is-anim .step:not(.is-on) .step__num, .steps.is-anim .step:not(.is-on) .step__name, .steps.is-anim .step:not(.is-on) p { opacity: .45; }
.step__num { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--persian); }
.step__name { margin-bottom: 8px; font-size: 20px; line-height: 1.25; }
.step p { font-size: 16px; line-height: 1.55; color: var(--text); padding-right: 8px; }

/* Corpo clínico */
.doctors { display: flex; gap: 20px; align-items: flex-start; }
.doctor { flex: 1 1 0; min-width: 0; transition: flex-grow .55s var(--ease); }
.doctor--lead { flex-grow: 1.35; }
@media (hover: hover) and (min-width: 1025px) {
  /* só reage quando o mouse está em um card (no vão entre eles não mexe) */
  .doctors:has(.doctor:hover) .doctor { flex-grow: 1; }
  .doctors:has(.doctor:hover) .doctor:hover { flex-grow: 1.35; }
  /* nome com altura fixa de 2 linhas: o card cresce sem empurrar o "Ver formação" */
  .doctor__name { min-height: 57px; } /* 2 linhas do nome maior (22px): todos os "Ver formação" na mesma altura */
  .doctor:hover .doctor__role { background: var(--fuzzy); color: var(--albescent); }
  .doctors:has(.doctor:hover) .doctor--lead:not(:hover) .doctor__role { background: rgba(255, 248, 242, .92); color: var(--fuzzy); }
}
.doctor__photo {
  position: relative; overflow: hidden; margin-bottom: 20px;
  height: clamp(260px, 21vw, 300px); border-radius: var(--radius);
  background:
    url("../img/renum-simbolo-traco.svg") center 44% / 34% auto no-repeat,
    radial-gradient(120% 80% at 50% 0%, #FFF3E8 0%, rgba(255, 243, 232, 0) 60%),
    linear-gradient(170deg, #FBE2CD 0%, #F3CFB1 100%);
}
.doctor__photo { background-size: auto 34%, auto, auto; transition: background-size .55s var(--ease); }
.doctor__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.doctor__role {
  transition: background-color .3s, color .3s;
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 248, 242, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--fuzzy);
}
.doctor--lead .doctor__role { background: var(--fuzzy); color: var(--albescent); }
.doctor__name { margin-bottom: 6px; font-size: 19px; line-height: 1.28; letter-spacing: -.012em; }
.doctor--lead .doctor__name { font-size: 22px; }
.doctor__reg { font-size: 15px; color: var(--muted); }

.staff {
  display: grid; grid-template-columns: auto 1fr; gap: 20px 56px; align-items: center;
  margin-top: clamp(48px, 6vw, 72px); padding: 28px 36px;
  background: var(--albescent); border-radius: var(--radius);
}
.staff__label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sienna); }
.staff__list { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 16px 40px; }
.staff__item { display: flex; align-items: center; gap: 14px; font-size: 17px; line-height: 1.35; color: var(--text); }
.staff__num { width: 44px; flex: none; text-align: center; font-family: var(--f-head); font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--sienna); }
.staff__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--paper); color: var(--sienna); }
.staff__icon .ico { width: 22px; height: 22px; }

/* Instalações */
.place { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.place__text .h2 { margin-bottom: 28px; max-width: 560px; }
.place__text .lead { max-width: 520px; }
.place__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.place__media { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--line); }
.place__media picture, .place__media img { width: 100%; height: 100%; }
.place__media img { object-fit: cover; object-position: 50% 45%; }
.place__media figcaption {
  position: absolute; left: 20px; bottom: 20px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 248, 242, .92); color: var(--fuzzy); font-size: 14px; font-weight: 600;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 80px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.stat { display: flex; align-items: center; gap: 20px; padding: 32px clamp(24px, 3vw, 40px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { min-width: 1.3ch; font-family: var(--f-head); font-size: clamp(52px, 5.4vw, 76px); font-weight: 600; line-height: 1; letter-spacing: -.04em; color: var(--sienna); }
.stat__label { max-width: 220px; font-size: 17px; line-height: 1.4; color: var(--text); }

/* Linha de cuidado */
.care { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.care__head { position: sticky; top: 120px; }
.care__head .h2 { max-width: 460px; }
.care__list { border-top: 1px solid var(--line-strong); }
.care__list li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line-strong); }
.care__num { font-family: var(--f-head); font-size: 16px; font-weight: 600; color: var(--persian); padding-top: 4px; }
.care__list h3 { margin-bottom: 6px; font-size: clamp(21px, 1.9vw, 25px); }
.care__list p { color: var(--text); }

/* Convênios */
.plans {
  display: grid; grid-template-columns: 1.1fr auto auto; gap: 24px 40px; align-items: center;
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(28px, 3.4vw, 44px);
  background: #fffcf9; border: 1px solid #eed6c2b5; border-radius: var(--radius-lg);
}
.plans__text .h3 { margin-bottom: 8px; }
.plans__text p { color: var(--text); }
.plans__logos { display: flex; flex-wrap: wrap; gap: 12px; }
.plans__logo { display: grid; place-items: center; min-width: 200px; height: 88px; padding: 0 28px; background: #00995D; border-radius: var(--radius-sm); }
.plans__logo img { width: 150px; }
.btn--wa { --bg: #eafff2; --fg: #005800; min-height: 70px; border-radius: 18px; border-color: rgba(0, 88, 0, .28); padding: 16px 30px; font-size: 17px; }
.btn--wa:hover { --bg: #fff; border-color: rgba(0, 88, 0, .5); }
.btn--wa .ico--wa { color: #005800; width: 22px; height: 22px; }

/* FAQ */
.faq { display: block; }
.faq__head { text-align: center; margin-bottom: clamp(36px, 4vw, 56px); }
.faq__head .h2 { margin: 0; }
.faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
.qa { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; transition: border-color .25s, background-color .25s; }
.qa[open] { background: #fff; border-color: var(--line-strong); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; cursor: pointer; list-style: none;
  font-family: var(--f-head); font-size: clamp(18px, 1.5vw, 20px); font-weight: 600; line-height: 1.35; color: var(--ink); letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--albescent); color: var(--fuzzy); transition: transform .3s var(--ease), background-color .25s; }
.qa__icon .ico { width: 18px; height: 18px; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--fuzzy); color: #fff; }
.qa__a { padding: 0 24px 24px; max-width: 680px; }

/* CTA final */
.cta { padding-top: 0; }
#duvidas { padding-bottom: calc(clamp(48px, 5vw, 72px) + clamp(70px, 8vw, 120px)); }
.cta .container { position: relative; z-index: 1; margin-top: calc(-1 * clamp(70px, 8vw, 120px)); }
.cta__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 640px) 1fr; align-items: center;
  min-height: 440px;
  padding: clamp(36px, 4.2vw, 60px) clamp(28px, 6vw, 88px);
  background: radial-gradient(42% 70% at 78% 60%, #FBE4D2 0%, rgba(251, 228, 210, 0) 70%), #fffcf9;
  border: 1px solid #eed6c2b5;
  border-radius: var(--radius-lg);
}
.cta__mark {
  position: absolute; z-index: -1; pointer-events: none;
  right: -4%; top: 50%; width: clamp(300px, 34vw, 470px); transform: translateY(-50%) rotate(-8deg);
}
.cta__phone {
  position: absolute; right: clamp(24px, 12vw, 180px); bottom: 0; z-index: 1;
  top: auto; bottom: 0; width: clamp(260px, 24vw, 340px); height: auto; pointer-events: none;
}
.cta__mark { opacity: .35; }
.cta__notif {
  position: absolute; z-index: 2; top: 46%; right: clamp(0px, 9vw, 130px);
  display: flex; gap: 14px; align-items: flex-start;
  width: clamp(320px, 32vw, 440px); padding: 16px 20px 16px 16px;
  background: rgba(70, 40, 25, .62); color: #fff;
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 22px;
}
.cta__notif-avatar { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--fuzzy); }
.cta__notif-avatar img { width: 20px; }
.cta__notif-body { display: grid; gap: 4px; min-width: 0; }
.cta__notif-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.cta__notif-top strong { color: #fff; font-family: var(--f-head); font-size: 17px; font-weight: 600; }
.cta__notif-top small { font-size: 13px; color: rgba(255, 255, 255, .7); }
.cta__notif-text { font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.cta .h2 { max-width: 600px; margin-bottom: 20px; }
.cta .lead { max-width: 560px; margin-bottom: 36px; }
.cta .btn { justify-self: start; }

/* Rodapé */
.footer { position: relative; isolation: isolate; padding: clamp(64px, 8vw, 104px) 0 32px; background: var(--fuzzy); color: rgba(255, 233, 215, .86); }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/pattern-escuro.svg") repeat; background-size: 84px auto; opacity: .55; -webkit-mask-image: linear-gradient(180deg, transparent, #000); mask-image: linear-gradient(180deg, transparent, #000); }
.footer__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 88px); align-items: stretch; }
.footer__map { position: relative; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; background: var(--sienna); }
.footer__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.35) saturate(.75) contrast(.98); }
.footer__route {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  background: var(--fuzzy); color: #fff; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: var(--shadow);
}
.footer__route:hover { background: var(--sienna); }
.footer__route .ico { width: 18px; height: 18px; }
.footer__info { display: flex; flex-direction: column; align-items: flex-start; }
.footer__logo { width: 168px; margin-bottom: 14px; }
.footer__tag { margin-bottom: 36px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--persian); }
.footer__contacts { display: grid; gap: 18px; margin-bottom: 36px; }
.footer__contacts li { display: flex; gap: 14px; font-size: 17px; line-height: 1.5; }
.footer__contacts .ico { margin-top: 2px; color: var(--persian); }
.footer__contacts a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 233, 215, .35); transition: border-color .2s; }
.footer__contacts a:hover { border-color: #fff; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid rgba(255, 233, 215, .16);
  font-size: 14px; color: rgba(255, 233, 215, .66);
}
.footer__legal p { margin: 0; }
.footer__legal a { color: inherit; text-underline-offset: 3px; }
.footer__legal a:hover { color: #fff; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: transparent; text-decoration: none;
  border: 0;
  box-shadow: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background-color .2s;
}
.wa-float img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .22)); }
.wa-float:hover { background: transparent; transform: translateY(-2px); }
.wa-float.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* ---------- Animação de entrada ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js [data-rise] { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js [data-rise] { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .plans { grid-template-columns: 1fr auto; }
  .plans .btn { grid-column: 1 / -1; justify-self: start; }
  .nav__list a { padding: 8px 9px; font-size: 14px; }
  .nav { gap: 16px; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .header__toggle { display: grid; }
  .header__bar { padding: 8px 8px 8px 22px; }
  .about__grid, .place, .care, .faq, .switch__card { grid-template-columns: 1fr; }
  .switch__visual { margin: 0; min-height: 520px; }
  .perks { left: 24px; }
  .care__head { position: static; }
  .section__head { grid-template-columns: 1fr; }
  .section__intro { justify-self: start; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__info { order: -1; }
  .hero__frame { display: block; min-height: 0; background: #3A1F12; }
  .hero__bg { position: relative; inset: auto; display: block; height: clamp(380px, 62vw, 560px); }
  .hero__bg img { object-position: 50% 42%; }
  .hero__frame::before { inset: 0 0 auto; height: clamp(380px, 62vw, 560px); z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(58, 31, 18, .9) 0%, rgba(58, 31, 18, 0) 34%, rgba(58, 31, 18, 0) 62%, #3A1F12 100%); }
  .hero__inner { position: relative; z-index: 1; grid-template-columns: 1fr; margin-top: -80px; padding-top: 0; }
  .hero__panel { justify-self: start; width: 100%; max-width: 560px; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero__stats div { flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; gap: 6px; }
  .doctors {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px;
    scrollbar-width: none;
  }
  .doctors::-webkit-scrollbar { display: none; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before, .steps::after { top: var(--lt, 28px); left: 27px; right: auto; width: 2px; height: var(--lh, 0px); }
  .steps::after { background: linear-gradient(180deg, var(--line-strong) 0%, var(--persian) 55%, var(--fuzzy) 100%); clip-path: inset(0 0 calc((1 - var(--p)) * 100%) 0); }
  .step { padding-left: 76px; min-height: 56px; }
  .step__dot { position: absolute; left: 0; top: 0; margin: 0; }
  .doctor { flex: 0 0 clamp(220px, 38vw, 300px); scroll-snap-align: start; }
  .doctor__photo { height: auto; aspect-ratio: 3 / 4; }
  .staff { grid-template-columns: 1fr; }
  .staff__list { grid-template-columns: repeat(3, 1fr); justify-content: start; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { padding: 8px 8px 0; }
  .hero__frame { border-radius: 28px; }
  .hero__bg, .hero__frame::before { height: 380px; }
  .hero__inner { margin-top: -72px; padding-bottom: 24px; gap: 28px; width: calc(100% - 40px); }
  .hero__title { font-size: clamp(32px, 8vw, 46px); }
  .hero__actions .btn { width: 100%; }
  .hero__facts { flex-direction: column; gap: 10px; }
  .hero__panel { padding: 18px; }
  .hero__panel-title { font-size: 16px; }
  .hero__stats dt { font-size: 26px; }
  .hero__stats dd { font-size: 13px; }
  .btn--lg { min-height: 70px; padding: 14px 18px; font-size: 16px; }
  .btn { padding-inline: 18px; font-size: 15.5px; }
  .cta__card { min-height: 0; padding-bottom: 200px; }
  .cta__mark { top: auto; bottom: -70px; right: -40px; width: 260px; transform: rotate(-8deg); }
  .cta__card { padding-bottom: 0; grid-template-columns: 1fr; }
  .cta__card { min-height: 0; }
  .cta__phone { position: relative; right: auto; top: auto; justify-self: center; width: min(300px, 82%); height: auto; max-width: none; margin-top: 36px; }
  .cta__notif { top: auto; bottom: 40px; left: 12px; right: 12px; width: auto; padding: 12px 14px 12px 12px; gap: 10px; }
  .cta__notif-avatar { width: 40px; height: 40px; border-radius: 11px; }
  .cta__notif-top strong { font-size: 15px; }
  .cta__notif-text { font-size: 13px; }
  .switch__card { padding: 32px 22px 22px; border-radius: 28px; }
  .switch__visual { min-height: 0; margin: 0 -8px -8px; padding-top: 240px; }
  .perks { position: relative; left: auto; bottom: auto; width: auto; padding: 0 12px 12px; }
  .perk:nth-child(2), .perk:nth-child(3) { margin-left: 0; }
  .perk { padding: 16px; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .perk__icon { width: 44px; height: 44px; border-radius: 14px; }
  .doctor, .doctor--lead { flex-basis: 72%; }
  .doctor__name, .doctor--lead .doctor__name { font-size: 18px; }
  .staff { padding: 24px; }
  .staff__list { grid-template-columns: 1fr; gap: 16px; }
  .plans { grid-template-columns: 1fr; }
  .plans .btn { width: 100%; white-space: normal; }
  .qa summary { padding: 18px 18px; }
  .qa__a { padding: 0 18px 20px; }
  .faq__list { grid-template-columns: 1fr; }
  .switch .btn { width: 100%; }
  .features { grid-template-columns: 1fr; }
  .care__list li { grid-template-columns: 44px 1fr; gap: 8px; }
  .stat__num { min-width: 64px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding: 24px; }
  .mission { grid-template-columns: 1fr; gap: 12px; }
  .feature__list li { font-size: 16px; }
  .cta .btn { width: 100%; }
  .footer__info .btn { width: 100%; }
  .footer__map { min-height: 300px; }
  .footer__legal { flex-direction: column; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (max-width: 420px) {
  .btn--lg { gap: 8px; font-size: 14.5px; }
  .btn, .btn--lg { padding-inline: 14px; font-size: 15px; }
}

/* (hero sem imagem: tablet e celular) */
@media (max-width: 1024px) {
  .hero--noimg .hero__frame { background: var(--fuzzy); }
  .hero--noimg .hero__inner { margin-top: 0; padding-top: 136px; }
  .about__media { margin: 0 auto; }
  .about__chip { left: 16px; bottom: 20px; }
}

.nav__cta { border-radius: 999px; }

/* destaques no texto */
.hero__sub strong, .switch__lead strong { color: #fff; font-weight: 600; }
.lead strong, .about__text p strong, .qa__a strong { color: var(--fuzzy); font-weight: 600; }

/* seções de fundo creme como blocos arredondados */
.section--tint { border-radius: 20px; }
#duvidas { padding-top: clamp(64px, 7vw, 96px); }

@media (max-width: 760px) { .place__gallery { gap: 10px; } .place__media figcaption { left: 10px; bottom: 10px; font-size: 12px; padding: 6px 10px; } }
@media (max-width: 760px) {
  .about__photo { aspect-ratio: 4 / 5; } .about__photo img { object-position: 50% 45%; }
  .about__media { margin-bottom: 28px; } .about__chip { bottom: -28px; }
}
@media (max-width: 760px) {
  .switch__visual { padding-top: 150px; }
  .perks { gap: 8px; padding: 0 10px 10px; }
  .perk { grid-template-columns: 36px 1fr; column-gap: 12px; padding: 12px 14px; border-radius: 16px; }
  .perk__icon { width: 36px; height: 36px; border-radius: 11px; }
  .perk__icon .ico { width: 18px; height: 18px; }
  .perk__title { font-size: 16px; }
  .perk__text { font-size: 13px; margin-top: 2px; }
}
@media (max-width: 760px) { .btn--wa { font-size: 15px; padding-inline: 14px; gap: 8px; } .btn--wa .ico--wa { width: 24px; height: 24px; } }

/* barra de rolagem na paleta da marca */
html { scrollbar-color: var(--copper) var(--cream); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--copper); border-radius: 999px; border: 2px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--sienna); }
@media (max-width: 760px) {
  .cta__card { padding-inline: 20px; }
  .cta .btn--wa { gap: 8px; padding-inline: 12px; font-size: 14.5px; white-space: nowrap; }
  .cta .btn--wa .ico--wa { width: 22px; height: 22px; }
  .cta__phone { margin-top: 28px; margin-bottom: -40px; width: min(270px, 76%); }
  .cta__notif { left: 20px; right: 20px; bottom: 28px; padding: 10px 12px 10px 10px; gap: 10px; border-radius: 16px; }
  .cta__notif-avatar { width: 34px; height: 34px; border-radius: 10px; }
  .cta__notif-avatar img { width: 15px; }
  .cta__notif-top strong { font-size: 14px; }
  .cta__notif-top small { font-size: 11px; }
  .cta__notif-text { font-size: 12.5px; line-height: 1.35; }
}
@media (max-width: 380px) { .cta .btn--wa { white-space: normal; } }

/* Mini bio dos médicos (abre e fecha) */
.doctor__bio { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.doctor__bio summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; color: var(--sienna); }
.doctor__bio summary::-webkit-details-marker { display: none; }
.doctor__bio summary::after { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line-strong); font-size: 15px; line-height: 1; transition: transform .3s var(--ease); }
.doctor__bio[open] summary::after { transform: rotate(45deg); }
.doctor__bio summary:hover { color: var(--fuzzy); }
.doctor__bio p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.doctor__bio strong { font-weight: 600; color: var(--ink); }

/* Foto ainda não enviada: silhueta de retrato + aviso "Foto em breve" */
.doctor__photo--soon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%23D9A988'%3E%3Ccircle cx='100' cy='72' r='38'/%3E%3Cpath d='M22 200c0-48 35-80 78-80s78 32 78 80z'/%3E%3C/g%3E%3C/svg%3E") center bottom / auto 70% no-repeat,
    radial-gradient(120% 80% at 50% 0%, #FFF3E8 0%, rgba(255, 243, 232, 0) 60%),
    linear-gradient(170deg, #FBE2CD 0%, #F3CFB1 100%);
}
.doctor__photo--soon::before {
  content: "Foto em breve";
  position: absolute; top: 14px; right: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 248, 242, .7); border: 1px dashed var(--line-strong);
  font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--sienna);
}

/* Hero com foto (desktop): texto à esquerda, foto da equipe num card horizontal à direita
   (5:4 mostra o letreiro inteiro e os três médicos), números num card que encosta na base da foto */
@media (min-width: 1025px) {
  .hero--split .hero__frame {
    --hero-photo-left: calc(var(--hero-edge) + 620px);
    --hero-photo-right: calc((var(--hero-edge) + 16px) / 2);
    --hero-edge: max(40px, calc((100% - 1280px) / 2));
    --hero-mid: calc(50% + 34px);
    align-items: center;
    background: var(--fuzzy);
  }
  .hero--split .hero__frame::before { display: none; }
  .hero--split .hero__bg {
    inset: 124px var(--hero-photo-right) 48px var(--hero-photo-left);
    width: auto; height: auto;
    border-radius: var(--radius-lg); overflow: hidden; z-index: 0;
    box-shadow: 0 40px 80px -40px rgba(20, 8, 2, .55);
  }
  .hero--split .hero__bg img { object-position: 50% 50%; }
  .hero--split .hero__inner { position: static; grid-template-columns: minmax(0, 580px) 1fr; padding: 128px 0 72px; }
  .hero--split .hero__text { position: relative; z-index: 1; }
  .hero--split .hero__title { font-size: clamp(40px, 3.9vw, 58px); }
  .hero--split .hero__panel {
    position: absolute; z-index: 2;
    top: auto; bottom: 76px;
    left: calc(var(--hero-photo-left) + 28px); right: calc(var(--hero-photo-right) + 28px); width: auto; max-width: 720px; margin-inline: auto;
    display: block; padding: 16px 22px;
    background: rgba(62, 34, 22, .72);
  }
  .hero--split .hero__panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero--split .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .hero--split .hero__stats div { min-width: 0; flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; gap: 4px; padding: 0 0 0 16px; border-top: 0; border-left: 1px solid rgba(255, 233, 215, .22); }
  .hero--split .hero__stats div:first-child { padding-left: 0; border-left: 0; }
  .hero--split .hero__stats dt { font-size: 28px; }
  .hero--split .hero__stats dd { font-size: 13px; line-height: 1.3; }
}

/* Hero com a foto da equipe no tablet/celular: mesma linha do desktop.
   Marrom da marca, foto nítida num card abaixo do menu, números encostados na base da foto, texto embaixo.
   (.hero__inner vira display: contents para o painel e o texto se ordenarem junto com a foto) */
@media (max-width: 1024px) {
  .hero--split .hero__frame { display: flex; flex-direction: column; align-items: stretch; background: var(--fuzzy); padding-top: 104px; }
  .hero--split .hero__frame::before { display: none; }
  .hero--split .hero__bg {
    order: 0; position: relative; inset: auto; display: block; height: auto;
    width: auto; margin: 0 16px; aspect-ratio: 4 / 3;
    border-radius: 24px; overflow: hidden;
  }
  .hero--split .hero__bg img { object-position: 50% 50%; }
  .hero--split .hero__inner { display: contents; }
  .hero--split .hero__panel {
    order: 1; position: relative; z-index: 1;
    align-self: center; width: calc(100% - 64px); max-width: 640px; margin: -46px 0 0;
    padding: 14px 18px; background: rgba(62, 34, 22, .78);
  }
  .hero--split .hero__panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero--split .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hero--split .hero__stats div { min-width: 0; padding: 0 0 0 12px; border-top: 0; border-left: 1px solid rgba(255, 233, 215, .22); }
  .hero--split .hero__stats div:first-child { padding-left: 0; border-left: 0; }
  .hero--split .hero__text { order: 2; width: min(1280px, calc(100% - 2 * var(--gutter, 40px))); margin: 36px auto 0; padding-bottom: 40px; }
}
@media (max-width: 760px) {
  .hero--split .hero__frame { padding-top: 84px; }
  .hero--split .hero__bg { margin: 0 10px; aspect-ratio: 1 / 1; border-radius: 20px; }
  .hero--split .hero__bg img { object-position: 50% 50%; }
  .hero--split .hero__panel { width: calc(100% - 40px); margin-top: -40px; padding: 12px 14px; }
  .hero--split .hero__stats dt { font-size: 22px; }
  .hero--split .hero__stats dd { font-size: 11.5px; line-height: 1.25; }
  .hero--split .hero__text { width: calc(100% - 40px); margin-top: 28px; padding-bottom: 28px; }
}

/* Retrato recortado (PNG/WebP transparente): o fundo é o mesmo degradê creme pêssego dos cards */
.doctor__photo--cut {
  background:
    radial-gradient(120% 80% at 50% 0%, #FFF3E8 0%, rgba(255, 243, 232, 0) 60%),
    linear-gradient(170deg, #FBE2CD 0%, #F3CFB1 100%);
}
.doctor__photo--cut img { object-fit: cover; object-position: 50% 12%; }
@media (max-width: 760px) { .hero__sub { font-size: 16px; } }

/* Lenis (rolagem suave): regras da biblioteca, sem bloquear o mapa do rodapé */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Hero (desktop largo): uma digital grande do símbolo, em traço, sangrando pela borda esquerda.
   Cabe só na margem lateral (não encosta no texto), por isso só aparece a partir de 1600px. */
@media (min-width: 1600px) {
  .hero--split .hero__frame::before {
    display: block; content: ""; position: absolute; z-index: -1; pointer-events: none;
    inset: auto; top: 0; left: 0;
    width: calc((var(--hero-edge) - 40px) / .55); aspect-ratio: 316 / 424;
    transform: translate(-45%, -14%);
    background: url("../img/renum-simbolo-traco.svg") center / contain no-repeat;
    opacity: .04;
  }
}
/* Retrato com enquadramento mais fechado (Dra. Mariana): reduz a escala para a cabeça ficar na mesma proporção dos outros */
.doctor__photo--cut img.doctor__img--tight { object-position: 50% 0; transform: scale(.82); transform-origin: 50% 100%; }

/* Hero no celular: faixa dos números dentro do quadrado da foto + foto mais aproximada (sem o vão da rua) */
@media (max-width: 1024px) {
  .hero--split .hero__bg img { transform: scale(1.18); transform-origin: 64% 55%; }
}
@media (max-width: 760px) {
  /* foto e faixa na mesma célula do grid: a faixa encosta na base da foto, por dentro */
  .hero--split .hero__frame { display: grid; grid-template-columns: 1fr; align-items: start; }
  .hero--split .hero__bg { grid-row: 1; grid-column: 1; }
  .hero--split .hero__panel { grid-row: 1; grid-column: 1; align-self: end; justify-self: stretch; position: relative; z-index: 2; width: auto; max-width: none; margin: 0 20px 10px; }
  .hero--split .hero__text { grid-row: 2; }
}
.stat-short { display: none; }
@media (max-width: 760px) {
  .hero--split .stat-long { display: none; }
  .hero--split .stat-short { display: inline; }
  .hero--split .hero__panel { padding: 10px 14px; }
  .hero--split .hero__stats dt { font-size: 22px; }
  .hero--split .hero__stats dd { font-size: 12px; line-height: 1.25; }
}

/* Corpo clínico: as 5 fotos com o topo da cabeça na mesma linha.
   Os arquivos já vêm alinhados (topo da cabeça a 8% da altura); aqui ancoramos pelo topo
   e deixamos os 5 cards com a mesma largura no estado normal (o hover continua ampliando o card). */
.doctor__photo--cut img { object-position: 50% 0; }
.doctor--lead { flex-grow: 1; }
@media (hover: hover) and (min-width: 1025px) {
  .doctors:has(.doctor:hover) .doctor--lead:not(:hover) { flex-grow: 1; }
}

/* ===== Hero com FUNDO COMPLETO (arte do Jean: médicos + letreiro + degradê marrom) =====
   A foto em card fica oculta; a caixa dela continua existindo só para posicionar a faixa dos números. */
.hero--full .hero__frame {
  background: #6D381F url("../img/hero-fundo-desktop.jpg?v=4") center / cover no-repeat;
}
.hero--full .hero__frame::before { display: none !important; }
.hero--full .hero__bg { visibility: hidden; box-shadow: none; }
@media (max-width: 1024px) {
  .hero--full .hero__frame {
    background: #53250F url("../img/hero-fundo-mobile.jpg?v=4") top center / 100% auto no-repeat;
  }
}
@media (min-width: 761px) and (max-width: 1024px) {
  .hero--full .hero__bg { aspect-ratio: 1 / 1; }
}

/* Hero (desktop): base do texto e base da faixa dos números na mesma linha;
   legendas da faixa sem quebra desnecessária */
@media (min-width: 1025px) {
  /* texto centralizado na área abaixo do menu; a faixa acompanha a base do texto (--hero-gap vem do main.js) */
  .hero--split .hero__frame { align-items: center; }
  .hero--split .hero__inner { padding: 96px 0 0; }
  .hero--full .hero__panel { bottom: var(--hero-gap, 76px); }
  /* 3 colunas iguais: os divisores ficam equidistantes e as legendas quebram de forma equilibrada */
  .hero--split .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; align-items: start; }
  .hero--split .hero__stats dd { white-space: normal; text-wrap: balance; }
}

/* Linha do tempo: etapas ainda não alcançadas ficam só um pouco mais claras (legíveis) */
.steps.is-anim .step:not(.is-on) .step__num, .steps.is-anim .step:not(.is-on) .step__name, .steps.is-anim .step:not(.is-on) p { opacity: .72; }

/* "Ver formação": área de toque maior, sem mudar o visual */
.doctor__bio summary { min-height: 36px; padding: 4px 0; }

/* Dica de arrastar no carrossel do corpo clínico (só onde ele rola de lado) */
.doctors__hint { display: none; }
@media (max-width: 1024px) {
  .doctors__hint { display: flex; align-items: center; gap: 6px; margin: -8px 0 14px; font-size: 14px; color: var(--muted); }
  .doctors__hint span { color: var(--copper); animation: hint-nudge 1.6s var(--ease) infinite; }
}
@keyframes hint-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .doctors__hint span { animation: none; } }

/* ===== TESTE: menu em "aba" encaixada na moldura do hero (desktop, só no topo da página) =====
   Para voltar à pílula flutuante, é só tirar a classe nav--aba do <header>. */
@media (min-width: 1025px) {
  .header.nav--aba { transition: padding-top .3s var(--ease); }
  .header.nav--aba:not(.is-scrolled) { padding-top: 0; }
  .header.nav--aba:not(.is-scrolled) .header__bar {
    position: relative;
    background: var(--paper);
    -webkit-backdrop-filter: none; backdrop-filter: none;
    border: 0; border-radius: 0 0 32px 32px;
    padding: 22px 16px 14px 36px;
  }
  /* cantos côncavos que "derretem" a aba na borda de cima da moldura */
  .header.nav--aba:not(.is-scrolled) .header__bar::before,
  .header.nav--aba:not(.is-scrolled) .header__bar::after {
    content: ""; position: absolute; top: 12px; width: 32px; height: 32px; pointer-events: none;
  }
  .header.nav--aba:not(.is-scrolled) .header__bar::before { left: -32px; background: radial-gradient(circle at 0 100%, transparent 31.5px, var(--paper) 32px); }
  .header.nav--aba:not(.is-scrolled) .header__bar::after { right: -32px; background: radial-gradient(circle at 100% 100%, transparent 31.5px, var(--paper) 32px); }
  /* logo separado dos links por uma linha fina */
  .header.nav--aba .header__logo { padding-right: 26px; border-right: 1px solid var(--line); }
  /* botão com o círculo da seta */
  .header.nav--aba .nav__cta { gap: 10px; padding-right: 10px; }
  .header.nav--aba .nav__cta::after {
    content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 243, 232, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF3E8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / 15px no-repeat;
    transition: transform .25s var(--ease);
  }
  .header.nav--aba .nav__cta:hover::after { transform: rotate(45deg); }
}
@media (max-width: 760px) {
  .eyebrow { font-size: 16px; gap: 10px; margin-bottom: 16px; }
  .eyebrow::before { width: 4px; height: 18px; }
}
/* hero de fundo completo: a foto antiga não aparece nem é baixada */
.hero--full .hero__bg img, .hero--full .hero__bg source { display: none; }

/* Hero no celular (fundo completo): sem a faixa dos números; o texto sobe logo depois dos médicos */
@media (max-width: 760px) {
  .hero--full .hero__panel { display: none; }
  .hero--full .hero__bg { aspect-ratio: auto; height: calc((100vw - 16px) * .845 - 96px); }
  .hero--full .hero__text { margin-top: 12px; }
}

/* "Você pode escolher" no celular: foto horizontal em cima e as 3 caixas embaixo (sem sobrepor) */
@media (max-width: 760px) {
  .switch__visual { padding-top: 0; margin: 0 -8px -8px; }
  .switch__photo { position: relative; inset: auto; display: block; height: auto; aspect-ratio: 16 / 10; }
  .switch__photo::after { background: linear-gradient(180deg, rgba(58, 31, 18, 0) 55%, rgba(58, 31, 18, .35) 100%); }
  .perks { position: static; width: auto; gap: 8px; padding: 10px 2px 2px; }
  .perk { background: rgba(255, 233, 215, .07); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Sem palavras viúvas: linhas equilibradas em todos os textos (desktop e celular) */
h1, h2, h3, h4, p, li, dd, dt, blockquote, figcaption, summary, .btn, .perk, .step p, .qa p, .doctor__bio p { text-wrap: balance; }
