:root {
  --paper: #f6f7f8;
  --paper-2: #eef1f4;
  --white: #ffffff;
  --ink: #111418;
  --muted: #66717c;
  --line: rgba(17, 20, 24, .11);
  --blue: #6b96c4;
  --blue-deep: #3d668f;
  --navy: #172433;
  --red: #c84747;
  --amber: #d89942;
  --green: #56a976;
  --shadow: 0 24px 70px rgba(24, 39, 55, .12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }

.site-header {
  padding: 18px 0 8px;
  position: relative;
  z-index: 20;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 202px; height: auto; }
.nav-cta {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
}

.availability-wrap { padding: 18px 0 0; }
.availability-card {
  max-width: 830px;
  margin: 0 auto;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 18px 13px;
  box-shadow: 0 12px 36px rgba(29, 45, 60, .06);
}
.availability-title-row { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.4; }
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: 0 0 auto;
  box-shadow: 0 0 0 5px rgba(200,71,71,.10);
  animation: pulse 2s infinite;
}
.progress-meta { display: flex; justify-content: space-between; gap: 16px; margin: 12px 0 7px; color: var(--muted); font-size: 11px; }
.progress-track { height: 8px; background: #e2e5e8; border-radius: 999px; overflow: hidden; }
.progress-fill {
  width: 0; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--red) 0%, var(--amber) 50%, var(--green) 100%);
  transition: width 1.1s cubic-bezier(.22,1,.36,1);
  position: relative;
}
.progress-fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(255,255,255,.35) 45%, transparent 70%);
  transform: translateX(-110%); animation: shimmer 2.6s 1.2s infinite;
}
.progress-fill.is-loaded { width: 90%; }

.hero { padding-top: 54px; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(52px, 7vw, 104px); align-items: center; }
.hero-copy { padding: 24px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue-deep); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow-light { color: #9ebbd8; }
h1, h2, h3 { margin: 0; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 5.6vw, 76px); line-height: .98; max-width: 760px; }
h2 { font-size: clamp(38px, 4.8vw, 62px); line-height: 1.02; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: var(--muted); max-width: 650px; margin: 26px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 32px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  text-decoration: none; font-size: 14px; font-weight: 800; letter-spacing: -.01em;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--navy); box-shadow: 0 14px 32px rgba(23,36,51,.18); }
.button-secondary { color: var(--navy); background: white; border: 1px solid var(--line); }
.button-light { color: var(--navy); background: white; }
.text-link { font-size: 14px; font-weight: 750; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.trust-row span { font-size: 11px; font-weight: 700; color: #5d6873; background: rgba(255,255,255,.78); border: 1px solid var(--line); padding: 8px 11px; border-radius: 999px; }

.hero-media { position: relative; }
.portrait-card { position: relative; border-radius: 46% 46% 28px 28px; overflow: hidden; min-height: 610px; box-shadow: var(--shadow); background: #e6ecf0; }
.portrait-card img { width: 100%; height: 100%; min-height: 610px; object-fit: cover; object-position: 50% 34%; }
.portrait-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,20,29,.48), transparent 32%); pointer-events: none; }
.portrait-caption { position: absolute; z-index: 2; left: 24px; bottom: 22px; color: white; display: grid; gap: 3px; }
.portrait-caption span { font-family: Georgia, serif; font-size: 20px; }
.portrait-caption small { font-size: 11px; opacity: .8; }

.section-heading { max-width: 850px; margin-bottom: 46px; }
.section-heading.narrow { max-width: 820px; }
.section-heading p, .case-intro p { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 720px; }
.method-section { background: white; border-radius: 42px 42px 0 0; }
.method-grid { display: grid; grid-template-columns: minmax(300px,.82fr) minmax(360px,1.18fr); gap: 64px; align-items: center; }
.video-card { background: #111; border-radius: var(--radius-md); padding: 8px; box-shadow: var(--shadow); overflow: hidden; }
.video-card video { width: 100%; border-radius: calc(var(--radius-md) - 7px); aspect-ratio: 9/16; object-fit: cover; background: #111; }
.video-label { color: rgba(255,255,255,.8); font-size: 11px; font-weight: 700; padding: 7px 8px 13px; display: flex; gap: 7px; align-items: center; }
.video-dot { width: 6px; height: 6px; background: #78b789; border-radius: 50%; }
.process-list { display: grid; border-top: 1px solid var(--line); }
.process-item { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.process-item > span { color: var(--blue-deep); font-size: 11px; font-weight: 800; padding-top: 4px; }
.process-item h3 { font-size: 21px; font-weight: 750; margin-bottom: 6px; }
.process-item p { color: var(--muted); margin: 0; line-height: 1.65; font-size: 15px; }

.goals-section { background: linear-gradient(180deg,#fff 0%,var(--paper) 100%); }
.goal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.goal-card { min-height: 290px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); display: flex; flex-direction: column; }
.goal-index { color: var(--blue-deep); font-size: 11px; font-weight: 800; }
.goal-card h3 { font-family: Georgia, serif; font-size: 30px; font-weight: 400; margin: auto 0 14px; }
.goal-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.center-action { text-align: center; margin-top: 30px; }

.case-section { background: var(--navy); color: white; }
.case-intro { max-width: 850px; margin-bottom: 70px; }
.case-intro p { color: rgba(255,255,255,.66); }
.case-story { display: grid; grid-template-columns: .78fr 1fr; gap: 70px; align-items: center; margin: 0 0 90px; }
.case-copy { max-width: 490px; }
.story-number { display: inline-block; font-size: 11px; font-weight: 800; color: #9ebbd8; margin-bottom: 18px; }
.case-copy h3, .gallery-head h3 { font-family: Georgia, serif; font-size: clamp(30px,3.2vw,46px); font-weight: 400; line-height: 1.05; }
.case-copy p { color: rgba(255,255,255,.66); line-height: 1.7; font-size: 16px; }
.video-card-dark { box-shadow: 0 28px 70px rgba(0,0,0,.25); background: #0b1118; }
.case-gallery-block { margin: 10px 0 100px; }
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.gallery-head p { margin: 0 0 5px; color: rgba(255,255,255,.55); font-size: 12px; }
.case-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.case-gallery figure { margin: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; overflow: hidden; }
.case-gallery img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.case-gallery figcaption { padding: 12px 14px; font-size: 11px; color: rgba(255,255,255,.64); }
.medical-note { color: rgba(255,255,255,.44); font-size: 11px; line-height: 1.6; max-width: 700px; margin: 15px 0 0; }
.patient-story { margin-bottom: 0; }

.proof-section { background: #eaf0f5; }
.proof-grid { display: grid; grid-template-columns: 1fr .66fr; gap: 90px; align-items: center; }
.proof-copy h2 { max-width: 700px; }
.proof-copy p { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 620px; margin: 24px 0; }


/* Slider de jornadas — V4 */
.journey-slider { position: relative; outline: none; }
.journey-topbar { margin-bottom: 30px; }
.journey-topbar .eyebrow { margin-bottom: 0; }
.journey-track { position: relative; }
.journey-slide[hidden] { display: none !important; }
.journey-slide.is-active { animation: journeyIn .42s cubic-bezier(.22,1,.36,1); }
.journey-badge {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px;
  padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.64);
  border: 1px solid rgba(17,20,24,.08); color: var(--blue-deep);
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.journey-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.journey-media { position: relative; }

/* Os controles ficam sempre sob o vídeo: coluna direita no desktop, largura total no mobile. */
.journey-controls-wrap {
  display: grid;
  grid-template-columns: 1fr .66fr;
  gap: 90px;
  margin-top: 18px;
}
.journey-controls {
  grid-column: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 52px minmax(0,1fr) 52px;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(17,20,24,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 14px 38px rgba(24,39,55,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.journey-arrow {
  width: 48px; height: 48px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--navy); color: #fff; cursor: pointer;
  box-shadow: 0 8px 22px rgba(23,36,51,.16);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  touch-action: manipulation;
  position: relative;
  z-index: 2;
}
.journey-arrow span { display: block; font: 400 22px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; transform: translateY(-1px); }
.journey-arrow:hover { transform: translateY(-2px); background: var(--blue-deep); box-shadow: 0 12px 28px rgba(23,36,51,.22); }
.journey-arrow:active { transform: scale(.96); }
.journey-arrow:focus-visible { outline: 3px solid rgba(61,102,143,.28); outline-offset: 3px; }
.journey-status { min-width: 0; text-align: center; display: grid; justify-items: center; gap: 2px; }
.journey-status-kicker {
  color: #83909b; font-size: 9px; line-height: 1; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.journey-status-name {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--navy); font-family: Georgia, "Times New Roman", serif;
  font-size: 18px; font-weight: 400; line-height: 1.2;
}
.journey-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; color: #7f8a94; font-size: 10px; font-variant-numeric: tabular-nums; }
.journey-dots { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0; }
.journey-dot {
  width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(23,36,51,.18); cursor: pointer;
  transition: width .25s ease, background .25s ease, transform .2s ease;
  touch-action: manipulation;
}
.journey-dot:hover { transform: scale(1.2); }
.journey-dot.is-active { width: 18px; background: var(--blue-deep); }
.journey-dot:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; }
@keyframes journeyIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

.doctor-section { background: white; }
.doctor-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.doctor-visual { position: relative; }
.doctor-visual > img:first-child { width: 100%; border-radius: 26px; aspect-ratio: 1/1.08; object-fit: cover; object-position: 50% 30%; }
.doctor-seal { position: absolute; width: 155px; right: -24px; bottom: -34px; filter: drop-shadow(0 14px 24px rgba(30,45,60,.12)); }
.doctor-copy p { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 650px; }
.doctor-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 30px 0; }
.doctor-meta div { padding: 14px 0; border-top: 1px solid var(--line); }
.doctor-meta strong, .doctor-meta span { display: block; }
.doctor-meta strong { font-size: 13px; }
.doctor-meta span { color: var(--muted); font-size: 11px; margin-top: 4px; }

.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 750; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; top: 18px; font-size: 26px; font-weight: 300; color: var(--blue-deep); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: -4px 0 24px; max-width: 680px; color: var(--muted); line-height: 1.7; font-size: 14px; }

.contact-section { background: var(--paper); padding-top: 30px; }
.contact-card { position: relative; overflow: hidden; text-align: center; color: white; background: var(--navy); padding: 82px 30px; border-radius: 30px; box-shadow: var(--shadow); }
.contact-card h2 { max-width: 820px; margin: 0 auto; }
.contact-card p { color: rgba(255,255,255,.67); max-width: 610px; margin: 22px auto 30px; font-size: 17px; line-height: 1.6; }
.contact-card small { display: block; margin-top: 16px; color: rgba(255,255,255,.48); }
.contact-seal { position: absolute; width: 330px; opacity: .065; right: -75px; top: -75px; filter: brightness(0) invert(1); }

.site-footer { padding: 34px 0 110px; }
.footer-row { border-top: 1px solid var(--line); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-row img { width: 150px; }
.footer-row p { margin: 0; color: var(--muted); font-size: 11px; }

.mobile-sticky { display: none; }
.toast {
  position: fixed; z-index: 100; left: 50%; bottom: 92px; transform: translate(-50%,20px); opacity: 0; pointer-events: none;
  color: white; background: #151a20; padding: 11px 15px; border-radius: 999px; font-size: 12px; box-shadow: 0 14px 36px rgba(0,0,0,.2);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%,0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes pulse { 0%,100% { box-shadow: 0 0 0 5px rgba(200,71,71,.10);} 50% { box-shadow: 0 0 0 8px rgba(200,71,71,.04);} }
@keyframes shimmer { to { transform: translateX(110%); } }

@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .hero-grid, .method-grid, .case-story, .proof-grid, .doctor-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 34px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-media { max-width: 620px; margin: 0 auto; width: 100%; }
  .portrait-card, .portrait-card img { min-height: 0; }
  .portrait-card { aspect-ratio: 4/5; }
  .portrait-card img { height: 100%; }
  .method-grid { gap: 48px; }
  .video-card { max-width: 520px; margin-inline: auto; width: 100%; }
  .goal-grid { grid-template-columns: 1fr; }
  .goal-card { min-height: 220px; }
  .case-story { gap: 34px; margin-bottom: 76px; }
  .case-copy { max-width: 720px; }
  .case-gallery { grid-template-columns: repeat(3, minmax(280px, 72vw)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: -18px; scrollbar-width: none; }
  .case-gallery::-webkit-scrollbar { display: none; }
  .case-gallery figure { scroll-snap-align: start; }
  .gallery-head { align-items: start; }
  .proof-grid, .doctor-grid { gap: 50px; }
  .doctor-visual { max-width: 620px; }
  .doctor-seal { right: 10px; bottom: -24px; }
  .faq-grid { gap: 10px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 66px 0; }
  .site-header { padding-top: 12px; }
  .brand img { width: 156px; }
  .nav-cta { display: none; }
  .availability-wrap { padding-top: 10px; }
  .availability-card { padding: 13px 14px 12px; border-radius: 15px; }
  .availability-title-row { align-items: flex-start; font-size: 12.5px; }
  .progress-meta { font-size: 10px; }
  .hero { padding-top: 38px; }
  h1 { font-size: clamp(42px, 13vw, 57px); }
  h2 { font-size: clamp(36px, 10.8vw, 48px); }
  .hero-lead { font-size: 16px; line-height: 1.6; }
  .hero-actions { display: grid; justify-items: center; }
  .button { min-height: 54px; width: 100%; max-width: 390px; }
  .trust-row { gap: 6px; }
  .trust-row span { font-size: 10px; }
  .portrait-card { border-radius: 44% 44% 22px 22px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading p, .case-intro p { font-size: 16px; }
  .method-section { border-radius: 28px 28px 0 0; }
  .process-item { grid-template-columns: 36px 1fr; gap: 10px; padding: 20px 0; }
  .goal-card { min-height: 210px; padding: 22px; }
  .case-section { padding-bottom: 76px; }
  .case-intro { margin-bottom: 48px; }
  .case-story { margin-bottom: 66px; }
  .gallery-head { display: block; }
  .gallery-head p { margin-top: 12px; }
  .case-gallery-block { margin-bottom: 74px; }
  .case-gallery { grid-template-columns: repeat(3, 78vw); gap: 10px; }
  .doctor-meta { grid-template-columns: 1fr; }
  .doctor-meta div { padding: 11px 0; }
  .contact-card { padding: 62px 22px; border-radius: 24px; }
  .footer-row { display: grid; justify-items: center; text-align: center; }
  .site-footer { padding-bottom: 112px; }
  .mobile-sticky {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; z-index: 80; bottom: 10px; left: 10px; right: 10px;
    padding: 10px 10px 10px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px;
    color: white; background: rgba(19,30,42,.94); backdrop-filter: blur(16px); box-shadow: 0 18px 46px rgba(0,0,0,.22);
  }
  .mobile-sticky div { display: grid; gap: 2px; }
  .mobile-sticky small { font-size: 9px; color: rgba(255,255,255,.55); }
  .mobile-sticky strong { font-size: 12px; }
  .mobile-sticky a { text-decoration: none; color: var(--navy); background: white; border-radius: 12px; padding: 12px 16px; font-size: 12px; font-weight: 800; }
}


@media (max-width: 900px) {
  .journey-controls-wrap { grid-template-columns: 1fr; gap: 0; }
  .journey-controls { grid-column: 1; width: min(100%, 520px); margin-inline: auto; }
}

@media (max-width: 640px) {
  .journey-topbar { margin-bottom: 24px; }
  .journey-badge { margin-bottom: 14px; }
  .journey-controls-wrap { margin-top: 14px; }
  .journey-controls {
    grid-template-columns: 46px minmax(0,1fr) 46px;
    gap: 10px; padding: 8px 9px; border-radius: 22px;
  }
  .journey-arrow { width: 44px; height: 44px; }
  .journey-arrow span { font-size: 20px; }
  .journey-status-name { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* V3 — Clínica, Google e localização */
.clinic-section {
  background: #f8fafb;
  border-top: 1px solid rgba(17,20,24,.06);
}
.clinic-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(42px, 7vw, 100px);
  align-items: end;
  margin-bottom: 42px;
}
.clinic-heading h2 { max-width: 760px; }
.clinic-heading > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  max-width: 540px;
}
.clinic-gallery {
  display: grid;
  grid-template-columns: 1.38fr .82fr;
  grid-template-rows: minmax(240px, 1fr) auto;
  gap: 14px;
  margin-bottom: 82px;
}
.clinic-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #dde4e8;
  box-shadow: 0 22px 60px rgba(23,36,51,.08);
}
.clinic-photo-main { grid-row: 1 / 3; min-height: 620px; }
.clinic-photo-side { min-height: 400px; }
.clinic-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.clinic-photo:hover img { transform: scale(1.018); }
.clinic-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,25,35,.52), transparent 38%);
  pointer-events: none;
}
.clinic-photo figcaption {
  position: absolute; z-index: 2; left: 18px; bottom: 16px;
  color: rgba(255,255,255,.88); font-size: 11px; font-weight: 650;
}
.google-rating-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 24px 26px 25px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  min-height: 192px;
  box-shadow: 0 16px 46px rgba(23,36,51,.06);
}
.google-kicker {
  color: var(--blue-deep); font-size: 10px; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
.rating-line { display: flex; align-items: baseline; gap: 14px; margin: 10px 0 4px; }
.rating-line strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px; line-height: 1; font-weight: 400; letter-spacing: -.04em;
}
.stars { color: #e7a72d; letter-spacing: .08em; font-size: 17px; }
.google-rating-card p { margin: 4px 0 20px; color: var(--muted); font-size: 13px; }
.google-rating-card .text-link { margin-top: auto; }
.location-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
}
.location-copy h3 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -.035em;
}
.location-copy address {
  font-style: normal;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.location-contact {
  display: grid; gap: 4px;
  padding: 20px 0 0;
}
.location-contact a { font-weight: 800; text-decoration: none; font-size: 16px; }
.location-contact span { color: var(--muted); font-size: 10px; }
.location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #e5eaed;
  box-shadow: var(--shadow);
  height: 470px;
}
.google-map-embed {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .clinic-heading, .location-grid { grid-template-columns: 1fr; }
  .clinic-heading { gap: 18px; }
  .clinic-heading > p { max-width: 760px; }
  .clinic-gallery { margin-bottom: 66px; }
  .location-grid { gap: 34px; }
}

@media (max-width: 640px) {
  .clinic-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
    margin-bottom: 54px;
  }
  .clinic-photo-main, .clinic-photo-side { grid-row: auto; min-height: 0; }
  .clinic-photo-main { aspect-ratio: 4/3; }
  .clinic-photo-side { aspect-ratio: 4/3; }
  .clinic-photo { border-radius: 18px; }
  .google-rating-card { min-height: 0; padding: 20px; border-radius: 18px; }
  .rating-line strong { font-size: 42px; }
  .location-actions { display: grid; align-items: stretch; gap: 17px; }
  .location-actions .text-link { justify-self: center; }
  .map-card { height: 340px; border-radius: 20px; }
}


/* V9 — Google Maps Embed responsivo */
@media (max-width: 900px) {
  .map-card { height: 390px; }
}

@media (max-width: 640px) {
  .map-card {
    width: 100%;
    height: 320px;
    min-height: 320px;
    border-radius: 20px;
  }
  .google-map-embed {
    width: 100%;
    height: 320px;
  }
}

@media (max-width: 390px) {
  .map-card,
  .google-map-embed {
    height: 290px;
    min-height: 290px;
  }
}

/* V12 — correções de proporção mantendo a composição visual estável da V9. */
.brand img,
.footer-row img {
  object-fit: contain;
  display: block;
}
.brand img { width: 168px; max-height: 92px; }
.footer-row img { width: 132px; max-height: 96px; }
.portrait-card picture { display: block; width: 100%; height: 100%; }
.portrait-card picture > img { display: block; }

/* Evita que mídias ou conteúdo externo forcem a largura da página. */
img, video, iframe, picture { max-width: 100%; }
.page-shell, main, section { min-width: 0; }

@media (max-width: 640px) {
  .brand img { width: 142px; max-height: 78px; }
  .footer-row img { width: 122px; max-height: 90px; }
}

/* =========================================================
   V13 — Responsividade fluida e proporções de mídia
   Base visual V9/V12, com colunas de mídia limitadas por viewport.
   ========================================================= */

:root {
  --container: 1180px;
  --section-fluid: clamp(64px, 6.6vw, 96px);
  --gap-fluid: clamp(34px, 5.5vw, 82px);
  --video-desktop: clamp(310px, 27vw, 380px);
  --video-method: clamp(300px, 25vw, 350px);
  --video-proof: clamp(300px, 25vw, 360px);
}

.container {
  width: min(calc(100% - clamp(28px, 5vw, 72px)), var(--container));
}
.section { padding-block: var(--section-fluid); }

/* Hero: mantém a foto importante sem deixar a mídia dominar a dobra. */
.hero-grid {
  grid-template-columns: minmax(0, 1fr) clamp(350px, 34vw, 470px);
  gap: clamp(44px, 6vw, 92px);
}
.portrait-card {
  min-height: 0;
  aspect-ratio: 4 / 5;
}
.portrait-card img {
  min-height: 0;
  height: 100%;
}

/* Método: vídeo vertical tem largura própria em vez de herdar uma fração enorme. */
.method-grid {
  grid-template-columns: var(--video-method) minmax(0, 1fr);
  gap: var(--gap-fluid);
  justify-content: space-between;
}
.method-grid > .video-card {
  width: 100%;
  max-width: var(--video-method);
  justify-self: start;
}

/* Case Adri: mantém o texto dominante e limita a escala do vídeo vertical. */
.case-story {
  grid-template-columns: minmax(0, 1fr) var(--video-desktop);
  gap: var(--gap-fluid);
  justify-content: space-between;
}
.case-story > .video-card {
  width: 100%;
  max-width: var(--video-desktop);
  justify-self: end;
}
.case-copy { max-width: 600px; }

/* Outras jornadas: mesma lógica visual dos cases principais. */
.proof-grid {
  grid-template-columns: minmax(0, 1fr) var(--video-proof);
  gap: var(--gap-fluid);
  justify-content: space-between;
}
.journey-media {
  width: 100%;
  max-width: var(--video-proof);
  justify-self: end;
}
.journey-media .video-card { width: 100%; }
.journey-controls-wrap {
  grid-template-columns: minmax(0, 1fr) var(--video-proof);
  gap: var(--gap-fluid);
}
.journey-controls {
  width: 100%;
  max-width: var(--video-proof);
  justify-self: end;
}

/* Conteúdo institucional também ganha limites fluidos. */
.doctor-grid {
  grid-template-columns: clamp(330px, 39vw, 500px) minmax(0, 1fr);
  gap: var(--gap-fluid);
}
.doctor-visual { max-width: 500px; }

.clinic-heading {
  grid-template-columns: minmax(0, 1.08fr) minmax(290px, .72fr);
  gap: clamp(34px, 5vw, 76px);
}
.clinic-gallery {
  grid-template-columns: minmax(0, 1.32fr) minmax(280px, .68fr);
  gap: clamp(10px, 1.2vw, 16px);
}
.clinic-photo-main { min-height: clamp(500px, 49vw, 620px); }
.clinic-photo-side { min-height: clamp(300px, 31vw, 400px); }
.location-grid {
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: var(--gap-fluid);
}
.map-card { height: clamp(390px, 37vw, 470px); }

/* Cards deixam de depender tanto de alturas fixas. */
.goal-card { min-height: clamp(225px, 20vw, 290px); }
.contact-card { padding-block: clamp(58px, 6vw, 82px); }

/* Footer compacto e imagem sempre nítida na escala de exibição. */
.footer-row {
  gap: clamp(18px, 4vw, 48px);
}
.footer-row img,
.brand img {
  height: auto;
  image-rendering: auto;
}

/* Desktops menores / notebooks: reduz mídia antes de quebrar para uma coluna. */
@media (max-width: 1180px) and (min-width: 901px) {
  :root {
    --video-desktop: clamp(300px, 29vw, 350px);
    --video-method: clamp(290px, 27vw, 330px);
    --video-proof: clamp(290px, 27vw, 335px);
  }
  .hero-grid { grid-template-columns: minmax(0, 1fr) clamp(340px, 36vw, 430px); }
  h1 { font-size: clamp(44px, 5.25vw, 66px); }
  h2 { font-size: clamp(36px, 4.3vw, 54px); }
}

/* Tablets: uma coluna, mas a mídia continua com largura controlada. */
@media (max-width: 900px) {
  :root {
    --section-fluid: clamp(58px, 9vw, 76px);
  }
  .hero-grid,
  .method-grid,
  .case-story,
  .proof-grid,
  .doctor-grid,
  .faq-grid,
  .clinic-heading,
  .location-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media { max-width: 520px; }
  .method-grid > .video-card,
  .case-story > .video-card,
  .journey-media,
  .journey-media .video-card {
    width: min(100%, 410px);
    max-width: 410px;
    margin-inline: auto;
    justify-self: center;
  }
  .case-story > .video-card { justify-self: center; }
  .proof-grid { gap: 38px; }
  .journey-controls-wrap { grid-template-columns: 1fr; gap: 0; }
  .journey-controls {
    grid-column: 1;
    width: min(100%, 410px);
    max-width: 410px;
    margin-inline: auto;
    justify-self: center;
  }
  .doctor-visual { width: min(100%, 560px); margin-inline: auto; }
  .clinic-gallery { grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); }
  .clinic-photo-main { min-height: clamp(430px, 60vw, 560px); }
  .clinic-photo-side { min-height: clamp(260px, 40vw, 360px); }
  .map-card { height: clamp(350px, 52vw, 410px); }
}

/* Mobile: vídeos verticais não ultrapassam uma largura confortável. */
@media (max-width: 640px) {
  :root {
    --section-fluid: clamp(54px, 15vw, 68px);
  }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding-top: 32px; }
  .hero-grid { gap: 30px; }
  .hero-media { max-width: min(100%, 390px); }
  .portrait-card { aspect-ratio: 4 / 5; }

  .method-grid > .video-card,
  .case-story > .video-card,
  .journey-media,
  .journey-media .video-card {
    width: min(100%, 340px);
    max-width: 340px;
  }
  .journey-controls {
    width: min(100%, 340px);
    max-width: 340px;
  }

  .case-story { gap: 28px; margin-bottom: 58px; }
  .case-intro { margin-bottom: 42px; }
  .case-gallery-block { margin-bottom: 62px; }
  .case-gallery { grid-template-columns: repeat(3, min(78vw, 320px)); }

  .clinic-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .clinic-photo-main,
  .clinic-photo-side {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .location-grid { gap: 30px; }
  .map-card { height: clamp(290px, 82vw, 330px); min-height: 0; }
  .google-map-embed { height: 100%; }

  .footer-row {
    gap: 14px;
    padding-top: 18px;
  }
  .footer-row img { width: 116px; max-height: none; }
}

/* Telefones pequenos: reduz largura dos vídeos e títulos sem esmagar margens. */
@media (max-width: 420px) {
  .method-grid > .video-card,
  .case-story > .video-card,
  .journey-media,
  .journey-media .video-card,
  .journey-controls {
    width: min(100%, 320px);
    max-width: 320px;
  }
  h1 { font-size: clamp(40px, 12.5vw, 50px); }
  h2 { font-size: clamp(34px, 10.5vw, 43px); }
}

/* Telas desktop baixas: evita vídeos gigantes verticalmente em notebooks 13". */
@media (min-width: 901px) and (max-height: 760px) {
  :root {
    --video-desktop: min(330px, 25vw);
    --video-method: min(315px, 24vw);
    --video-proof: min(320px, 24vw);
  }
  .section { padding-block: clamp(58px, 6vw, 78px); }
}

/* =========================================================
   V14 — correções cirúrgicas de mídia, contraste e proporção
   - imagens fornecidas pelo cliente, sem sobreposição gráfica
   - proporções naturais para evitar distorção / Lighthouse
   - mantém a responsividade consolidada da V13
   ========================================================= */

/* Contraste: pequenos textos que estavam próximos do limite WCAG. */
.mobile-sticky small { color: rgba(255,255,255,.74); }
.contact-card small { color: rgba(255,255,255,.72); }
.medical-note { color: rgba(255,255,255,.68); }
.case-intro p,
.case-copy p { color: rgba(255,255,255,.74); }
.case-gallery figcaption { color: rgba(255,255,255,.76); }

/* Hero usa a proporção real da foto (1365 x 2048 ≈ 2:3). */
.portrait-card {
  aspect-ratio: 1365 / 2048;
  min-height: 0;
}
.portrait-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 34%;
}

/* Remove o selo decorativo sobre a foto: ele não faz parte da imagem original. */
.doctor-seal { display: none !important; }

/* A foto institucional passa a respeitar a proporção natural 3:2. */
.doctor-visual > img:first-child {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 26px;
}

/* Galeria da clínica: mantém a composição, mas sem esticar os arquivos. */
.clinic-photo {
  min-height: 0 !important;
  align-self: start;
}
.clinic-photo-main,
.clinic-photo-side {
  aspect-ratio: 1837 / 1225;
  min-height: 0 !important;
}
.clinic-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1837 / 1225;
  object-fit: cover;
}

/* Logo: deixa o navegador preservar a razão intrínseca real. */
.brand img,
.footer-row img {
  height: auto !important;
  object-fit: contain;
}

/* No mobile, evita crop agressivo das fotos horizontais. */
@media (max-width: 640px) {
  .clinic-photo-main,
  .clinic-photo-side {
    aspect-ratio: 3 / 2;
  }
  .clinic-photo img { aspect-ratio: 3 / 2; }
  .doctor-visual { max-width: 100%; }
}

/* =========================================================
   CASE ADRI — RELATO DA PACIENTE
   Corrige proporção, largura e responsividade somente do 03
   ========================================================= */

.case-story.patient-story {
  width: min(100%, 980px);
  margin: 72px auto 0;

  display: grid;
  grid-template-columns:
    minmax(0, 560px)
    clamp(280px, 24vw, 340px);

  justify-content: center;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

/* Texto */
.case-story.patient-story .case-copy {
  width: 100%;
  max-width: 560px;
}

.case-story.patient-story .case-copy h3 {
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.06;
  margin-bottom: 20px;
}

.case-story.patient-story .case-copy p {
  max-width: 520px;
}

/* Vídeo */
.case-story.patient-story > .video-card {
  width: 100%;
  max-width: 340px;
  justify-self: center;
  margin: 0;
}

.case-story.patient-story > .video-card video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}


/* TABLET */
@media (max-width: 900px) {
  .case-story.patient-story {
    width: min(100%, 680px);
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 54px auto 0;
  }

  .case-story.patient-story .case-copy {
    max-width: 600px;
    margin-inline: auto;
  }

  .case-story.patient-story > .video-card {
    width: min(100%, 360px);
    max-width: 360px;
    margin-inline: auto;
  }
}


/* MOBILE */
@media (max-width: 640px) {
  .case-story.patient-story {
    width: 100%;
    gap: 26px;
    margin: 44px auto 0;
  }

  .case-story.patient-story .case-copy h3 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .case-story.patient-story > .video-card {
    width: min(100%, 330px);
    max-width: 330px;
  }
}


/* MOBILE PEQUENO */
@media (max-width: 390px) {
  .case-story.patient-story > .video-card {
    width: min(100%, 300px);
    max-width: 300px;
  }
}

/* V14.1 — estrutura corrigida: cores voltam a seguir o contexto natural de cada seção. */
