/* ==========================================================================
   Odonto Excellence Santa Cruz — estilos
   Mobile first · Manrope · vermelho institucional como destaque
   ========================================================================== */

:root {
  --red: #db1f26;
  --red-deep: #b8151c;
  --ink: #141414;
  --graphite: #1c1d1f;
  --graphite-2: #26272a;
  --line-dark: rgba(255, 255, 255, 0.14);
  --text: #1a1a1a;
  --muted: #5c5e63;
  --muted-light: #b4b6bb;
  --line: #e4e2de;
  --soft: #f5f4f1;
  --white: #ffffff;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1320px;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --section-y: clamp(5rem, 11vw, 9.5rem);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 2px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
section[id] { scroll-margin-top: var(--header-h); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 200;
  padding: 0.75rem 1rem; background: var(--ink); color: var(--white);
  transform: translateY(-200%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; color: var(--white); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  min-height: 54px; padding: 0 1.6rem;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.005em;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn .icon--arrow { transition: transform 0.3s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 1.1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-deep); color: var(--white); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn--ghost:hover { color: var(--white); border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--red); color: var(--white); }
.btn--whatsapp { background: #1e8e4a; color: var(--white); }
.btn--whatsapp:hover { background: #18763d; color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light .icon { color: var(--red); }
.btn--light:hover { background: var(--ink); color: var(--white); }
.btn--light:hover .icon { color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.9375rem; font-weight: 600; color: var(--ink);
  position: relative; padding-bottom: 0.35rem;
  background: linear-gradient(var(--red), var(--red)) left bottom / 100% 1px no-repeat;
  transition: color 0.25s var(--ease), background-size 0.35s var(--ease);
}
.link-arrow::after { content: ""; position: absolute; inset: -0.5rem 0 -0.25rem; }
.link-arrow .icon { color: var(--red); transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Cabeçalhos de seção ---------- */
.section { padding-block: var(--section-y); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--graphite); color: var(--white); }

.kicker {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.kicker--light { color: var(--muted-light); }

.section-title {
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem);
  line-height: 1.06; font-weight: 700; letter-spacing: -0.035em;
  text-wrap: balance; max-width: 17ch;
}
.section-title--md { max-width: 20ch; }
.section-lead {
  font-size: 1.0625rem; color: var(--muted); max-width: 42ch; text-wrap: pretty;
}
.section--dark .section-lead { color: var(--muted-light); }

.section-head { margin-bottom: clamp(3rem, 7vw, 5rem); }
.section-head .section-lead { margin-top: 1.5rem; }

@media (min-width: 960px) {
  .section-head--split {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 4rem; align-items: end;
  }
  .section-head--split .kicker { grid-column: 1 / -1; }
  .section-head--split .section-lead { margin-top: 0; justify-self: end; }
}

/* ---------- Placeholders de imagem ---------- */
.media {
  position: relative; overflow: hidden;
  background-color: #ebe9e5;
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(0, 0, 0, 0.035) 14px 15px);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.js .media img { opacity: 0; transition: opacity 0.6s var(--ease); }
.js .media img.is-loaded { opacity: 1; }
.media--dark { background-color: #2b2c2f; background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, 0.035) 14px 15px); }
.media.is-empty img { visibility: hidden; }
.media.is-empty::after {
  content: attr(data-placeholder) "\A" attr(data-file);
  white-space: pre; text-align: center;
  position: absolute; inset: 0; display: grid; place-content: center;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 2;
  color: #8a8c90;
}
.media--dark.is-empty::after { color: #7b7d82; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: var(--white);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header__inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.site-header__logo { position: relative; display: block; width: 150px; flex: none; }
.site-header__logo-img { width: 100%; transition: opacity 0.3s var(--ease); }
.site-header__logo-img--dark { position: absolute; inset: 0; opacity: 0; }
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.site-header.is-scrolled .site-header__logo-img--light, .site-header.menu-open .site-header__logo-img--light { opacity: 0; }
.site-header.is-scrolled .site-header__logo-img--dark, .site-header.menu-open .site-header__logo-img--dark { opacity: 1; }
.site-header.menu-open { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }

.main-nav { display: none; margin-left: auto; }
.main-nav__list { display: flex; gap: 2rem; }
.main-nav__link {
  position: relative; font-size: 0.875rem; font-weight: 500; padding-block: 0.5rem;
}
.main-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.main-nav__link:hover { color: inherit; }
.main-nav__link:hover::after, .main-nav__link.is-current::after { transform: scaleX(1); }
.site-header__cta { display: none; }

.menu-toggle {
  margin-left: auto; width: 48px; height: 48px;
  display: grid; place-content: center; gap: 7px;
}
.menu-toggle__bar { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; background: var(--white); color: var(--ink);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  overflow-y: auto;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; }
.mobile-menu__inner { display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; padding-block: 1.5rem 2rem; }
.mobile-menu__link {
  display: flex; align-items: baseline; gap: 1rem;
  padding-block: 0.9rem; border-bottom: 1px solid var(--line);
  font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em;
}
.mobile-menu__link span { font-size: 0.75rem; font-weight: 700; color: var(--red); letter-spacing: 0.1em; }
.mobile-menu__footer { display: grid; gap: 1rem; margin-top: 2.5rem; }
.mobile-menu__meta { font-size: 0.875rem; color: var(--muted); }

@media (min-width: 1080px) {
  :root { --header-h: 84px; }
  .site-header__logo { width: 168px; }
  .main-nav, .site-header__cta { display: flex; }
  .menu-toggle, .mobile-menu { display: none; }
}
@media (min-width: 1240px) { .main-nav__list { gap: 2.5rem; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); background: var(--ink);
  padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3.5rem, 9vw, 7.5rem);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { object-position: 72% 30%; }
.hero__media.is-empty { background-color: #1f2022; background-image: radial-gradient(ellipse at 75% 30%, #34363a 0%, transparent 60%); }
.hero__media.is-empty::after { place-content: start end; padding: calc(var(--header-h) + 2rem) var(--gutter); text-align: right; color: #6f7176; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(14, 14, 15, 0.7) 0%, rgba(14, 14, 15, 0.12) 45%, rgba(14, 14, 15, 0.25) 100%),
    linear-gradient(to right, rgba(14, 14, 15, 0.75), rgba(14, 14, 15, 0.35) 50%, transparent 75%);
}
.hero__content { position: relative; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.85rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero__eyebrow::before { content: ""; width: 3px; height: 1.4em; background: var(--red); }
.hero__title {
  font-size: clamp(1.75rem, 1rem + 2.3vw, 3rem);
  line-height: 1.02; font-weight: 700; letter-spacing: -0.04em;
  max-width: 15em; max-width: 14.5ch; text-wrap: balance;
}
@media (min-width: 720px) { .hero__title { max-width: 16ch; } }
@media (min-width: 1080px) { .hero__title { max-width: 18ch; } }
.hero__text {
  margin-top: 1.75rem; max-width: 38rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}
.hero__actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2.5rem; }
@media (min-width: 560px) { .hero__actions { flex-direction: row; } }
/* Mobile: texto compacto na base (até ~45% da tela) para não cobrir o rosto */
@media (max-width: 559px) {
  .hero { padding-bottom: 1.75rem; }
  .hero__media img { object-position: calc(72% - 100px) 30%; }
  .hero__overlay {
    background: linear-gradient(to bottom,
      rgba(14, 14, 15, 0.7) 0, rgba(14, 14, 15, 0) 150px,
      rgba(14, 14, 15, 0) 42%, rgba(14, 14, 15, 0.6) 62%, rgba(14, 14, 15, 0.9) 100%);
  }
  .hero__eyebrow { margin-bottom: 0.9rem; font-size: 0.6875rem; letter-spacing: 0.12em; }
  .hero__title { max-width: none; }
  .hero__text { display: none; }
  .hero__actions { margin-top: 1.25rem; gap: 0.6rem; align-items: flex-start; }
}
@media (max-width: 559px) and (max-height: 700px) { .hero__actions .btn--ghost { display: none; } }
@media (max-width: 559px) and (max-height: 600px) { .hero__eyebrow { display: none; } }


/* ---------- Atributos (transição) ---------- */
.highlights { position: relative; z-index: 2; background: var(--white); }
.highlights__list { display: grid; grid-template-columns: minmax(0, 1fr); }
.highlights__item { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.highlights__index { font-size: 0.75rem; font-weight: 700; color: var(--red); letter-spacing: 0.1em; }
.highlights__title { margin-top: 0.75rem; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.highlights__text { margin-top: 0.4rem; font-size: 0.9375rem; color: var(--muted); }

@media (min-width: 640px) {
  .highlights__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}
@media (min-width: 1080px) {
  .highlights { background: transparent; margin-top: -5.5rem; }
  .highlights .container { padding-right: 0; max-width: calc(var(--container) + (100vw - var(--container)) / 2); margin-right: 0; }
  .highlights__list {
    grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0;
    background: var(--white); padding: 2.75rem var(--gutter) 2.75rem clamp(2rem, 3vw, 3rem);
  }
  .highlights__item { border-bottom: 0; padding: 0 2.25rem; border-left: 1px solid var(--line); }
  .highlights__item:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- 02 · Necessidades ---------- */
.needs { padding-top: clamp(3rem, 5.5vw, 5rem); }
.needs__list { border-top: 1px solid var(--line); }
.needs__trigger {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 1.25rem; align-items: center; gap: 0.5rem;
  min-height: 76px; padding-block: 1.25rem; text-align: left;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease);
}
.needs__num { font-size: 0.8125rem; font-weight: 700; color: var(--red); letter-spacing: 0.06em; }
.needs__label { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.needs__icon { position: relative; width: 14px; height: 14px; justify-self: end; }
.needs__icon::before, .needs__icon::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor;
  transition: transform 0.3s var(--ease);
}
.needs__icon::after { transform: rotate(90deg); }
.needs__trigger[aria-expanded="true"] .needs__icon::after { transform: rotate(0); }
.needs__trigger::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.needs__trigger[aria-expanded="true"]::before { transform: scaleX(1); }

.needs__panel {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows 0.45s var(--ease), visibility 0.45s;
}
.needs__panel.is-open { grid-template-rows: 1fr; visibility: visible; }
.needs__panel-inner { overflow: hidden; min-height: 0; }
.needs__media { aspect-ratio: 16 / 10; margin-top: 1.25rem; }
.needs__body { padding: 1.5rem 0 2.25rem; display: grid; gap: 1rem; justify-items: start; }
.needs__tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.needs__text { font-size: 1.0625rem; color: var(--muted); max-width: 46ch; }

@media (min-width: 960px) {
  .needs__list {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: repeat(5, auto) 1fr;
    column-gap: clamp(3rem, 6vw, 6rem); border-top: 0;
  }
  .needs__trigger { grid-column: 1; min-height: 96px; color: var(--muted); }
  .needs__trigger:first-of-type { border-top: 1px solid var(--line); }
  .needs__trigger:hover, .needs__trigger[aria-expanded="true"] { color: var(--ink); }
  .needs__trigger .needs__icon { opacity: 0; }
  .needs__trigger::after {
    content: ""; justify-self: end; grid-column: 3; grid-row: 1;
    width: 18px; height: 1.5px; background: var(--red);
    transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
  }
  .needs__trigger[aria-expanded="true"]::after { transform: scaleX(1); }
  .needs__panel {
    grid-column: 2; grid-row: 1 / -1; align-self: start;
    grid-template-rows: 1fr; opacity: 0; transform: translateY(12px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
  }
  .needs__panel.is-open { opacity: 1; transform: none; }
  .needs__media { aspect-ratio: 4 / 3; margin-top: 0; }
  .needs__body { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 2rem; padding: 1.75rem 0 0; }
  .needs__tag { grid-column: 1 / -1; }
}

/* ---------- 03 · A Clínica ---------- */
.clinic { padding-top: 0; }
.clinic__grid { display: grid; gap: 3rem; }
/* Vídeo institucional (vertical 9:16) */
.clinic-video { display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3rem); background: var(--graphite); }
.clinic-video__frame { position: relative; width: 100%; max-width: 300px; aspect-ratio: 9 / 16; overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.clinic-video__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.clinic-video__play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--red); color: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.clinic-video__play svg { width: 30px; height: 30px; margin-left: 4px; }
.clinic-video__play:hover { background: var(--red-deep); transform: scale(1.06); }
.clinic-video__play:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.clinic-video.is-playing .clinic-video__play { opacity: 0; pointer-events: none; }
html:not(.js) .clinic-video__play { display: none; }

@media (max-width: 959px) { .clinic__visual { order: 2; } }
.clinic__caption {
  margin-top: 1rem; display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.8125rem; color: var(--muted);
}
.clinic__caption::before { content: ""; width: 3px; height: 1rem; background: var(--red); }
.clinic__lead { margin-top: 1.75rem; font-size: 1.0625rem; color: var(--muted); max-width: 52ch; text-wrap: pretty; }
.clinic__facts {
  display: grid; grid-template-columns: minmax(0, 1fr); margin: 2.75rem 0 2.75rem;
  border-top: 1px solid var(--line);
}
.clinic__fact { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.2rem; }
.clinic__fact dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.clinic__fact dd { font-size: 0.9375rem; color: var(--muted); }

@media (min-width: 640px) {
  .clinic__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}
@media (min-width: 960px) {
  .clinic__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(3rem, 7vw, 7rem); align-items: stretch; }
  .clinic__visual { margin-left: calc(var(--gutter) * -1); display: flex; flex-direction: column; }
  .clinic__media { flex: 1; }
  .clinic-video__frame { max-width: none; width: auto; height: clamp(480px, 72vh, 680px); }
  .clinic__caption { padding-left: var(--gutter); }
}
@media (min-width: 1400px) {
  .clinic__visual { margin-left: calc((100vw - var(--container)) / -2 - var(--gutter)); }
  .clinic__caption { padding-left: calc((100vw - var(--container)) / 2 + var(--gutter)); }
}

/* ---------- 04 · Tratamentos ---------- */
.treatments__grid { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line-dark); }
.treatment-card {
  position: relative;
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.5rem;
  padding: 2rem 0; border-bottom: 1px solid var(--line-dark);
  transition: background-color 0.35s var(--ease);
}
.treatment-card::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.treatment-card:hover::before { transform: scaleX(1); }
.treatment-card__num { font-size: 0.8125rem; font-weight: 700; color: var(--red); letter-spacing: 0.06em; padding-top: 0.45rem; }
.treatment-card__title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.treatment-card__text { margin-top: 0.6rem; color: var(--muted-light); max-width: 40ch; }
.treatment-card__note {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light);
  margin-bottom: 0.75rem;
}

@media (min-width: 960px) {
  .treatments__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: repeat(3, auto);
    column-gap: clamp(3rem, 6vw, 6rem); border-top: 0;
  }
  .treatment-card { grid-column: 2; grid-template-columns: 4rem minmax(0, 1fr); padding: 2.25rem 0; }
  .treatment-card:nth-child(2) { border-top: 1px solid var(--line-dark); }
  .treatment-card:hover { background: rgba(255, 255, 255, 0.02); }
  .treatment-card--featured {
    grid-column: 1; grid-row: 1 / span 3;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 2.5rem; background: var(--graphite-2); border: 0;
    min-height: 100%;
  }
  .treatment-card--featured::before { top: 0; width: 3px; height: 100%; transform: none; }
  .treatment-card--featured:hover { background: #2c2d31; }
  .treatment-card--featured .treatment-card__num {
    font-size: clamp(6rem, 10vw, 9.5rem); line-height: 0.85; letter-spacing: -0.06em; font-weight: 700;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3); padding: 0;
  }
  .treatment-card--featured .treatment-card__title { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); margin-top: 3rem; }
  .treatment-card--featured .treatment-card__text { font-size: 1.0625rem; }
}

/* ---------- 05 · Equipe ---------- */
.team__grid { display: grid; gap: 3.5rem; }
.team-card { display: grid; align-content: start; }
.team-card__photo { aspect-ratio: 4 / 5; }
.team-card__body { padding-top: 1.75rem; }
.team-card__name { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.team-card__role { margin-top: 0.4rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.team-card__areas { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.team-card__areas li {
  padding: 0.35rem 0.7rem; border: 1px solid #d6d4cf; border-radius: var(--radius);
  font-size: 0.8125rem; font-weight: 600; background: var(--white);
}
.team-card__bio { margin-top: 1.25rem; font-size: 0.9375rem; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.team-support {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: clamp(3.5rem, 7vw, 5rem);
}
.team-support__photo {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
}
.team-support__photo img { object-position: 50% 28%; }
.team-support__content {
  display: grid;
  align-content: center;
}
.team-support__people {
  display: grid;
  gap: 1.75rem;
}
.team-support__person {
  position: relative;
  padding-left: 1.6rem;
}
.team-support__person::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.15rem;
  width: 2px;
  background: var(--red);
}
.team-support__name {
  font-size: clamp(1.35rem, 1.15rem + 0.5vw, 1.6rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.team-support__text {
  margin-top: 0.65rem;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.75;
  color: #182033;
  text-wrap: pretty;
}

@media (min-width: 640px) and (max-width: 899px) {
  .team-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 2rem; align-items: start; }
  .team-card__body { padding-top: 0; }
}
@media (min-width: 900px) {
  .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.75rem, 3vw, 3rem); }
  .team-support {
    grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.4fr);
    align-items: center;
  }
  .team-support__photo { aspect-ratio: 1.28 / 1; }
}

/* ---------- 06 · Jornada ---------- */
.patient-journey__steps { position: relative; display: grid; gap: 0; padding-left: 2.5rem; }
.patient-journey__steps::before, .patient-journey__steps::after {
  content: ""; position: absolute; left: 5px; top: 0.5rem; bottom: 0.5rem; width: 1px; background: var(--line);
}
.patient-journey__steps::after { background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform 1.8s var(--ease); }
.patient-journey__steps.is-visible::after { transform: scaleY(1); }
.patient-journey__step { position: relative; padding-bottom: 2.75rem; }
.patient-journey__step:last-child { padding-bottom: 0; }
.patient-journey__step::before {
  content: ""; position: absolute; left: calc(-2.5rem + 1px); top: 0.4rem;
  width: 9px; height: 9px; background: var(--white); border: 1.5px solid #c9c7c2;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
  transition-delay: calc(var(--i) * 300ms + 200ms);
}
.patient-journey__steps.is-visible .patient-journey__step::before { background: var(--red); border-color: var(--red); }
.patient-journey__num { font-size: 0.8125rem; font-weight: 700; color: var(--red); letter-spacing: 0.06em; }
.patient-journey__title { margin-top: 0.4rem; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.patient-journey__text { margin-top: 0.4rem; color: var(--muted); max-width: 30ch; }

.js .patient-journey__step > * { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i) * 300ms); }
.js .patient-journey__steps.is-visible .patient-journey__step > * { opacity: 1; transform: none; }

@media (min-width: 960px) {
  .patient-journey__steps { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 2rem; padding-left: 0; padding-top: 2.75rem; }
  .patient-journey__steps::before, .patient-journey__steps::after { left: 0; right: 0; top: 4px; bottom: auto; width: auto; height: 1px; }
  .patient-journey__steps::after { transform: scaleX(0); transform-origin: left; }
  .patient-journey__steps.is-visible::after { transform: scaleX(1); }
  .patient-journey__step { padding-bottom: 0; }
  .patient-journey__step::before { left: 0; top: -2.75rem; }
  .patient-journey__title { font-size: 1.5rem; margin-top: 1rem; }
}

/* ---------- 07 · Estrutura ---------- */
.structure .section-head { margin-bottom: 0; }
.structure > .container { padding-bottom: clamp(3rem, 7vw, 5rem); }
.structure__gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 0.75rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter); padding-bottom: 1rem;
  scrollbar-width: thin; scrollbar-color: #4a4b4f transparent;
}
.structure__item { scroll-snap-align: start; }
.structure__item .media { aspect-ratio: 3 / 4; }
.structure__item figcaption {
  margin-top: 0.85rem; display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light);
}
.structure__item figcaption::before { content: ""; width: 1.25rem; height: 1px; background: var(--red); }
.structure__item img { transition: transform 1.2s var(--ease); }
.structure__item:hover img { transform: scale(1.03); }

@media (min-width: 760px) {
  .structure__gallery {
    max-width: var(--container); margin-inline: auto; box-sizing: border-box;
    grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; padding-bottom: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem;
  }
}
@media (min-width: 1080px) {
  .structure__gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .structure__item:nth-child(even) { margin-top: 3rem; }
}

/* ---------- 09 · FAQ ---------- */
.faq__grid { display: grid; gap: 3rem; }
.faq__intro .section-lead { margin-top: 1.5rem; }
.faq__list { border-top: 1px solid #d9d7d2; }
.faq__item { border-bottom: 1px solid #d9d7d2; }
.faq__question button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  min-height: 72px; padding-block: 1.35rem; text-align: left;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.4;
  transition: color 0.25s var(--ease);
}
.faq__question button:hover { color: var(--red); }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; color: var(--red); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__question button[aria-expanded="true"] .faq__icon::after { transform: rotate(0); }
.faq__answer { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.4s var(--ease), visibility 0.4s; }
.faq__answer > div { overflow: hidden; min-height: 0; }
.faq__answer.is-open { grid-template-rows: 1fr; visibility: visible; }
.faq__answer p { padding-bottom: 1.5rem; color: var(--muted); max-width: 60ch; }

@media (min-width: 960px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(3rem, 8vw, 8rem); align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- 10 · Contato ---------- */
.contact__grid { display: grid; gap: 3rem; }
.contact__address { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.6; }
.contact__block { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.contact__phone {
  min-height: 44px; display: inline-flex; align-items: center; gap: 0.6rem; font-size: clamp(1.875rem, 1.3rem + 2.4vw, 2.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1;
  background: linear-gradient(var(--red), var(--red)) left bottom / 0 2px no-repeat; padding-bottom: 0.2rem;
  transition: background-size 0.4s var(--ease), color 0.25s;
}
.contact__phone:hover { background-size: 100% 2px; color: var(--ink); }
.contact__phone-icon { width: 0.85em; height: 0.85em; color: #25d366; }
.contact__hours { display: grid; gap: 0.4rem; max-width: 22rem; }
.contact__hours div { display: flex; justify-content: space-between; gap: 1rem; }
.contact__hours dt { color: var(--muted); }
.contact__hours dd { font-weight: 600; }
.contact__social { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; min-height: 44px; }

.contact__map { display: grid; gap: 1rem; align-content: start; }
.contact__map-frame { position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.contact__map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter 0.5s var(--ease); }
.contact__map-frame:hover iframe { filter: none; }
.contact__directions { justify-self: start; }

@media (min-width: 960px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .contact__map { position: sticky; top: calc(var(--header-h) + 2rem); }
  .contact__map-frame { aspect-ratio: 7 / 6; }
}

/* ---------- CTA final ---------- */
.final-cta {
  color: var(--white); padding-block: clamp(5rem, 11vw, 9rem);
  background:
    linear-gradient(rgba(14, 14, 15, 0.78), rgba(14, 14, 15, 0.78)),
    url("../assets/chamada-final-900.webp") 70% center / cover no-repeat,
    var(--ink);
}
@media (min-width: 960px) {
  .final-cta {
    background:
      linear-gradient(to right, rgba(14, 14, 15, 0.94) 0%, rgba(14, 14, 15, 0.85) 32%, rgba(14, 14, 15, 0.35) 58%, rgba(14, 14, 15, 0) 78%),
      url("../assets/chamada-final.webp") right center / cover no-repeat,
      var(--ink);
  }
}
.final-cta__inner { display: grid; gap: 1.75rem; }
.final-cta__title { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem); line-height: 1.06; font-weight: 700; letter-spacing: -0.035em; max-width: 16ch; text-wrap: balance; }
.final-cta__side { display: grid; gap: 2rem; justify-items: start; }
.final-cta__text { font-size: 1.0625rem; max-width: 42ch; color: rgba(255, 255, 255, 0.92); }
@media (max-width: 639px) {
  .final-cta__inner { justify-items: center; text-align: center; }
  .final-cta__side { justify-items: center; }
}


/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); font-size: 0.9375rem; padding-top: clamp(4rem, 8vw, 6rem); }
.site-footer a:hover { color: var(--white); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3.5rem; }
.site-footer__brand img { width: 170px; }
.site-footer__brand p { margin-top: 1.25rem; }
.site-footer__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.site-footer__col ul { display: grid; gap: 0.15rem; }
.site-footer__col li { display: flex; align-items: center; min-height: 40px; }
.site-footer__col a { display: flex; align-items: center; min-height: 44px; }
.site-footer__bottom {
  display: grid; gap: 0.75rem; padding-block: 1.75rem 6rem;
  border-top: 1px solid var(--line-dark); font-size: 0.8125rem;
}
.site-footer__tech { color: var(--white); }
.site-footer__tech > span { color: var(--muted-light); margin-right: 0.5rem; }
.site-footer__tech strong { font-weight: inherit; }
.site-footer__tech em { font-style: normal; }
.site-footer__legal { display: grid; gap: 0.25rem; }
.site-footer__credit { color: #8a8c91; }
@media (min-width: 1080px) { .site-footer__legal { justify-items: end; text-align: right; } }
@media (max-width: 639px) {
  .site-footer__grid, .site-footer__bottom { text-align: center; justify-items: center; }
  .site-footer__brand img { margin-inline: auto; }
  .site-footer__col li, .site-footer__col a { justify-content: center; }
  .site-footer__legal { justify-items: center; }
  .site-footer__tech { display: grid; gap: 0.2rem; }
  .site-footer__tech > span { margin: 0 0 0.2rem; }
  .site-footer__tech em span { display: none; }
}

@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) {
  .site-footer__grid { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.5fr)); column-gap: 3rem; }
  .site-footer__bottom { grid-template-columns: auto auto; justify-content: space-between; padding-bottom: 1.75rem; padding-right: calc(var(--gutter) + 5rem); }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: calc(clamp(1rem, 2.5vw, 2rem) + env(safe-area-inset-bottom)); z-index: 90;
  width: 60px; height: 60px; display: grid; place-items: center;
  background: #25d366; color: var(--white); border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { color: var(--white); background: #1ebe5b; transform: scale(1.06); }
.wa-float:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

body.menu-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .patient-journey__step > * { opacity: 1; transform: none; }
}
