@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #0c262e;
  --ink-soft: #33505a;
  --muted: #5d7278;
  --line: #dde6e8;
  --line-strong: #c3d1d4;
  --surface: #f1f6f6;
  --paper: #fbfcfc;
  --accent: #1a93ab;
  --accent-ink: #0b6173;
  --accent-soft: #e3f0f2;
  --star: #f5b83d;
  --night: #0a1d23;
  --on-night: #e6eff0;
  --on-accent-muted: #c5dce0;
  --accent-line: rgb(255 255 255 / 0.16);
  --cta: #e3582e;
  --cta-strong: #c94a23;
  --whatsapp: #1a8544;
  --whatsapp-strong: #146c37;
  --danger: #a8321f;

  --font-display: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --font-text: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --container: 82.5rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --header-h: 5.4625rem;
  --wave: clamp(2.25rem, 5vw, 4.5rem);
  --section: clamp(5rem, 10vw, 9.5rem);
  --radius: 0.375rem;
  --radius-pill: 62.4375rem;
  --radius-card: 1rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow: 0 1.5rem 3.75rem -1.75rem rgb(12 38 46 / 0.35);
}

@media (max-width: 1023px) {
  :root { --header-h: 4.6rem; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  font-size: 90%;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

@media (min-width: 1024px) {
  html { font-size: 80%; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

:where(body:not(.admin-body)) :is(h1, h2, h3) { color: var(--accent-ink); }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
address { font-style: normal; }
strong { font-family: var(--font-display); font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 0.1875rem;
  border-radius: 2px;
}

::selection { background: var(--accent-soft); color: var(--ink); }

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

.narrow { max-width: 51.25rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1.125rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.icon.icon-badge { width: 2.5rem; height: 2.5rem; padding: 0.625rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3.25rem;
  padding: 0 1.6em;
  border: 1px solid var(--accent-ink);
  border-radius: var(--radius-pill);
  background: var(--accent-ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.975rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.button .icon { width: 1.15em; height: 1.15em; transition: transform 0.45s var(--ease); }
.button:hover { background: var(--ink); border-color: var(--ink); }
.button:hover .icon:last-child { transform: translateX(0.1875rem); }
.button:active { transform: scale(0.98); }
.button[disabled] { opacity: 0.6; cursor: progress; }

.button-small { min-height: 2.625rem; padding: 0 1.2em; font-size: 0.9rem; }

.button-light { background: #fff; border-color: #fff; color: var(--ink); }
.button-light:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--ink); }

.button-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.button-outline:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

.button-cta { background: var(--cta); border-color: var(--cta); color: #fff; }
.button-cta:hover { background: var(--cta-strong); border-color: var(--cta-strong); color: #fff; }

.button-whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.button-whatsapp:hover { background: var(--whatsapp-strong); border-color: var(--whatsapp-strong); color: #fff; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding-bottom: 0.1875rem;
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}

.text-link:hover { background-size: 100% 1px; }
.text-link .icon { width: 1.1em; height: 1.1em; transition: transform 0.45s var(--ease); }
.text-link:hover .icon { transform: translateX(0.1875rem); }

.eyebrow {
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.notice-bar {
  padding: 0.625rem var(--gutter);
  background: var(--notice-bg, var(--accent-ink));
  color: var(--notice-ink, #fff);
  font-size: 0.9rem;
  text-align: center;
}

.notice-bar a { color: inherit; text-decoration: underline; text-underline-offset: 0.18em; }
.notice-bar .texto-branco { color: #fff; }
.notice-bar .texto-marca { color: var(--accent-ink); }
.notice-bar .texto-destaque { color: var(--cta-strong); }
.notice-bar .texto-suave { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgb(251 252 252 / 0.88);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(1rem) saturate(1.4);
  backdrop-filter: blur(1rem) saturate(1.4);
  color: var(--ink);
  view-transition-name: site-header;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 100%;
}

.brand img { width: auto; height: 3.45rem; }

.primary-nav { display: flex; gap: clamp(1.125rem, 2.2vw, 2.125rem); }

.primary-nav a {
  position: relative;
  padding-block: 0.5rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.primary-nav a:hover,
.primary-nav a[aria-current] { color: var(--ink); }

.primary-nav a:hover::after,
.primary-nav a[aria-current]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1.25rem; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.header-phone .icon { width: 1rem; height: 1rem; color: var(--accent-ink); }

.menu-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.625rem;
  border: 0;
  background: none;
}

.menu-toggle span {
  position: absolute;
  left: 0.6875rem;
  width: 1.375rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.5s var(--ease-drawer);
}

.menu-toggle span:first-child { top: 1.0625rem; }
.menu-toggle span:last-child { top: 1.5625rem; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(0.25rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-0.25rem) rotate(-45deg); }

.menu-panel {
  position: fixed;
  top: var(--header-h);
  right: 0;
  left: 0;
  z-index: 40;
  display: grid;
  gap: 1.25rem;
  max-height: calc(100svh - var(--header-h));
  padding: 0.5rem var(--gutter) max(1.25rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow-y: auto;
  overscroll-behavior: contain;
}

body::after {
  content: "";
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 39;
  background: rgb(12 38 46 / 0.32);
  opacity: 0;
  visibility: hidden;
}

body.menu-open::after { opacity: 1; visibility: visible; }

.menu-panel-nav { display: grid; }

.menu-panel-nav a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.menu-panel-nav a[aria-current] { color: var(--accent-ink); }
.menu-panel-foot { display: grid; gap: 0.75rem; }
.menu-panel-foot .button { width: 100%; min-height: 3rem; }

.menu-panel-phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
}

.menu-panel-phone {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 1rem;
  gap: 0.75rem;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.3s var(--ease);
}

.menu-panel-phone:nth-child(even) { border-left: 1px solid var(--line); }
.menu-panel-phone:nth-child(n + 3) { border-top: 1px solid var(--line); }
.menu-panel-phone:last-child:nth-child(odd) { grid-column: 1 / -1; }
.menu-panel-phone .icon:first-child { width: 2.25rem; height: 2.25rem; padding: 0.5625rem; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--accent-ink); }
.menu-panel-phone span { display: grid; font-family: var(--font-display); font-size: 1rem; font-weight: 500; line-height: 1.3; font-variant-numeric: tabular-nums; }
.menu-panel-phone small { color: var(--muted); font-family: var(--font-text); font-size: 0.8125rem; font-weight: 400; line-height: 1.35; }
.menu-panel-phone .icon:last-child { width: 1rem; height: 1rem; color: var(--muted); transition: transform 0.4s var(--ease), color 0.4s var(--ease); }
.menu-panel-phone:active { background: var(--accent-soft); }
.menu-panel-phone:is(:hover, :active) .icon:last-child { color: var(--accent-ink); transform: translateX(0.1875rem); }

body.menu-open { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .menu-panel {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.36s cubic-bezier(0.4, 0, 0.2, 1) 0.04s;
  }

  .menu-panel.is-open {
    clip-path: inset(0 0 -4rem 0);
    transition: clip-path 0.6s var(--ease-drawer);
  }

  .menu-panel-nav a,
  .menu-panel-foot {
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity 0.14s ease, transform 0.3s ease;
  }

  .is-open :is(.menu-panel-nav a, .menu-panel-foot) {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease var(--delay, 0s), transform 0.6s var(--ease-drawer) var(--delay, 0s);
  }

  .menu-panel-nav a:nth-child(1) { --delay: 0.05s; }
  .menu-panel-nav a:nth-child(2) { --delay: 0.075s; }
  .menu-panel-nav a:nth-child(3) { --delay: 0.1s; }
  .menu-panel-nav a:nth-child(4) { --delay: 0.125s; }
  .menu-panel-nav a:nth-child(5) { --delay: 0.15s; }
  .menu-panel-nav a:nth-child(6) { --delay: 0.175s; }
  .menu-panel-nav a:nth-child(7) { --delay: 0.2s; }
  .menu-panel-nav a:nth-child(8) { --delay: 0.225s; }
  .menu-panel-foot { --delay: 0.26s; }

  body::after { transition: opacity 0.36s ease 0.04s, visibility 0s 0.4s; }
  body.menu-open::after { transition: opacity 0.5s ease; }
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(35rem, min(100svh - var(--header-h), 45.83vw), 68.75rem);
  overflow: hidden;
  background: var(--surface);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, rgb(0 0 0 / 0.84) 79%, rgb(0 0 0 / 0.5) 86%, rgb(0 0 0 / 0.16) 93%, transparent);
  mask-image: linear-gradient(180deg, #000 72%, rgb(0 0 0 / 0.84) 79%, rgb(0 0 0 / 0.5) 86%, rgb(0 0 0 / 0.16) 93%, transparent);
}

.hero-photo img {
  --crop-default: 100% 20%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 20%;
}

.hero-content { padding-block: clamp(3rem, 8vh, 6rem); }

.hero h1 {
  max-width: 70rem;
  margin-top: 1.25rem;
  font-size: clamp(2.15rem, 4.6vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 36em;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

@media (min-width: 1024px) {
  .hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(241 246 246 / 0.5), rgb(241 246 246 / 0.4) 40%, rgb(241 246 246 / 0) 55%);
  }
  .hero h1 { max-width: 11em; }
  .hero-lead { max-width: 31em; }
  .hero .button-outline { background: rgb(251 252 252 / 0.6); border-color: rgb(251 252 252 / 0.9); }
  .hero .button-outline:hover { background: var(--paper); border-color: var(--ink); }
}

@media (prefers-reduced-motion: no-preference) {
  [data-hero-item] { animation: rise 0.6s var(--ease) both; }
  [data-hero-item]:nth-child(1) { animation-delay: 0.05s; }
  [data-hero-item]:nth-child(2) { animation-delay: 0.1s; }
  [data-hero-item]:nth-child(3) { animation-delay: 0.15s; }
  [data-hero-item]:nth-child(4) { animation-delay: 0.2s; }
  .hero-photo { animation: photo-in 0.5s var(--ease) both; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: none; }
}

@keyframes photo-in {
  from { opacity: 0; }
}

.facts {
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4rem, 8vw, 7.5rem);
  background: var(--surface);
}

.hero + .facts { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

.facts-title { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(var(--facts, 4), minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.fact {
  position: relative;
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-content: start;
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2.4vw, 2.25rem) 0;
}

.fact:first-child { padding-left: 0; }
.fact:last-child { padding-right: 0; }
.fact + .fact { border-left: 1px solid var(--line-strong); }

a.fact::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--accent-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

a.fact:hover::before { transform: none; }

.fact-number {
  display: block;
  color: var(--accent-ink);
  font-size: clamp(3rem, 5.6vw, 5.25rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: lining-nums proportional-nums;
}

.fact-plus { position: relative; top: -0.42em; margin-right: 0.04em; color: var(--accent-ink); font-size: 0.58em; }
.fact-number small { font-size: 0.38em; letter-spacing: -0.01em; }

.fact-label {
  max-width: 21ch;
  margin-top: 1.125rem;
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.45;
}

.fact-detail {
  margin: 0;
  padding: 1.75rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.fact-go {
  position: absolute;
  top: clamp(1.75rem, 3vw, 2.75rem);
  right: clamp(1.25rem, 2.4vw, 2.25rem);
  color: var(--muted);
  transition: transform 0.45s var(--ease), color 0.35s var(--ease);
}

.fact:last-child .fact-go { right: 0; }
a.fact:hover .fact-go { color: var(--accent-ink); transform: translate(0.1875rem, -0.1875rem); }

.fact-timeline {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.fact-timeline i {
  position: relative;
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

.fact-timeline i::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(26 147 171 / 0.15), var(--accent-ink));
  transform-origin: left;
  transition: transform 1.6s var(--ease) 0.25s;
}

.fact-timeline i::after {
  content: "";
  position: absolute;
  top: -0.1875rem;
  right: -0.1875rem;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--accent-ink);
  box-shadow: 0 0 0 0.25rem rgb(11 97 115 / 0.14);
  transition: opacity 0.6s var(--ease) 1.3s;
}

.fact-timeline span:last-child { color: var(--ink); }

.fact-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.625rem; }
.fact-rating strong { color: var(--ink); }

.fact-team { display: grid; justify-items: start; gap: 0.875rem; }
.fact-faces { display: flex; }

.fact-faces span {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  overflow: hidden;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--line);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(0.3s + var(--n, 0) * 90ms);
}

.fact-faces span + span { margin-left: -0.625rem; }
.fact-faces span:nth-child(2) { --n: 1; }
.fact-faces span:nth-child(3) { --n: 2; }
.fact-faces span:nth-child(4) { --n: 3; }
.fact-faces span:nth-child(5) { --n: 4; }
.fact-faces span:nth-child(n + 6) { --n: 5; }
.fact-faces img { position: absolute; top: -10%; left: -45%; width: 190%; max-width: none; }

.fact-places { display: grid; align-content: start; gap: 0.5rem; list-style: none; color: var(--ink); }
.fact-places li { display: flex; align-items: flex-start; gap: 0.625rem; }
.fact-places .icon { flex-shrink: 0; width: 1rem; height: 1rem; margin-top: 0.1em; color: var(--accent-ink); }

.js .fact:not(.is-visible) .fact-timeline i::before { transform: scaleX(0); }
.js .fact:not(.is-visible) .fact-timeline i::after { opacity: 0; }
.js .fact:not(.is-visible) .fact-faces span { opacity: 0; transform: translateX(-0.5rem); }
.js .fact-rating .stars-fill { transition: clip-path 1.6s var(--ease) 0.3s; }
.js .fact:not(.is-visible) .fact-rating .stars-fill { clip-path: inset(0 100% 0 0); }

.section { padding-block: var(--section); }
.section:not(.journey, .reviews, .units-section, .info-band, .related) + .section:not(.journey, .reviews, .units-section, .info-band, .related) { padding-top: 0; }
.section-tight { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-flush { padding-top: 0; }

.section-head { max-width: 47.5rem; margin-bottom: clamp(2.25rem, 5vw, 4rem); }

.section-head h2,
.principles-title {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.05;
}

.section-head p {
  max-width: 52ch;
  margin-top: 1.125rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.section-head-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  max-width: none;
}

.page-intro h1,
.exam-preview h3,
.exam-rows-text strong,
.exam-row-text strong {
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 16 6 6;
}

.exam-mark {
  display: inline-block;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: currentColor;
  color: var(--accent);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.exam-explorer {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.exam-tabs {
  display: inline-flex;
  gap: 0.25rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
}

.exam-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  padding: 0 1.375rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.exam-tabs button span { color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; transition: color 0.35s var(--ease); }
.exam-tabs button:hover { color: var(--accent-ink); }
.exam-tabs button[aria-selected="true"] { background: var(--accent-ink); color: #fff; }
.exam-tabs button[aria-selected="true"] span { color: rgb(255 255 255 / 0.72); }

.exam-panel + .exam-panel { margin-top: 2.5rem; }
.exam-panel-title { margin-bottom: 0.75rem; color: var(--muted); font-size: 1rem; letter-spacing: -0.01em; }
.js .exam-panel-title { display: none; }
.js .exam-panel + .exam-panel { margin-top: 0; }

.exam-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }

.exam-rows a {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 1.25rem;
  gap: 1rem;
  align-items: center;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line);
}

.exam-rows a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--accent-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.exam-rows-num {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease);
}

.exam-rows-text strong {
  display: block;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  transition: color 0.3s var(--ease), transform 0.5s var(--ease);
}

.exam-rows-text span { display: none; }
.exam-rows .icon { color: var(--line-strong); transition: color 0.3s var(--ease), transform 0.45s var(--ease); }

.exam-rows a:hover::after { transform: none; }
.exam-rows a:hover strong,
.exam-rows a:hover .icon { color: var(--accent-ink); }
.exam-rows a:hover .icon { transform: translateX(0.25rem); }

@media (min-width: 1024px) {
  .exam-rows a.is-active::after { transform: none; }
  .exam-rows a.is-active strong,
  .exam-rows a.is-active .exam-rows-num,
  .exam-rows a.is-active .icon { color: var(--accent-ink); }
  .exam-rows a.is-active strong { transform: translateX(0.375rem); }
  .exam-rows a.is-active .icon { transform: translateX(0.25rem); }
}

@media (prefers-reduced-motion: no-preference) {
  .js .exam-rows li { animation: rise 0.7s var(--ease) both; animation-delay: calc(var(--n) * 35ms); }
}

.exam-stage {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: grid;
}

.exam-preview {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  grid-area: 1 / 1;
  min-height: clamp(28.75rem, 40vw, 35rem);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--accent-ink);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s 0.5s;
}

.exam-preview.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.exam-preview :focus-visible { outline-color: #fff; }

.exam-preview::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  z-index: -1;
  width: 21.25rem;
  height: 21.25rem;
  background: currentColor;
  opacity: 0.07;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
  transform: scale(1.1) rotate(-6deg);
  transition: transform 1.4s var(--ease);
}

.exam-preview.is-active::after { transform: none; }

.exam-preview .exam-mark { width: 4rem; height: 4rem; color: #fff; }
.exam-preview-body { margin-top: auto; }
.exam-preview-body > * { transform: translateY(0.875rem); transition: transform 0.8s var(--ease); }
.exam-preview.is-active .exam-preview-body > * { transform: none; }
.exam-preview-kind { color: rgb(255 255 255 / 0.78); font-size: 0.9rem; }
.exam-preview h3 { margin-top: 0.625rem; color: #fff; font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.exam-preview h3 + p { max-width: 38ch; margin-top: 1rem; color: rgb(255 255 255 / 0.82); }
.exam-preview-actions { display: flex; flex-wrap: wrap; gap: 0.625rem; }

.structure-head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-areas: "eyebrow eyebrow" "title intro";
  gap: 1.125rem clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.structure-head .eyebrow { grid-area: eyebrow; }
.structure-head h2 { grid-area: title; font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.05; }
.structure-intro { grid-area: intro; }
.structure-intro p { max-width: 46ch; color: var(--muted); font-size: 1.125rem; }
.structure-intro .text-link { margin-top: 1.375rem; }

.structure-path {
  --gap: clamp(0.75rem, 1.6vw, 1.5rem);
  --photo-h: clamp(23.75rem, 40vw, 37.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr) minmax(0, 1fr);
  gap: var(--gap);
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.structure-photo {
  height: var(--photo-h);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface);
}

.structure-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.structure-photo-wide img { object-position: 58% 50%; }
.structure-step:hover .structure-photo img { transform: scale(1.04); }

.structure-caption { position: relative; margin-top: 1.75rem; padding-top: 1.625rem; }

.structure-caption::before {
  content: "";
  position: absolute;
  top: 0;
  right: calc(var(--gap) * -1);
  left: 0;
  height: 1px;
  background: var(--line-strong);
  transform-origin: left;
  transition: transform 1.2s var(--ease) 0.2s;
}

.structure-step:last-child .structure-caption::before { right: 0; }

.structure-caption::after {
  content: "";
  position: absolute;
  top: -0.25rem;
  left: 0;
  width: 0.5625rem;
  height: 0.5625rem;
  border-radius: 50%;
  background: var(--accent-ink);
  box-shadow: 0 0 0 0.3125rem var(--paper);
}

.structure-caption span {
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.structure-caption h3 { margin-top: 0.375rem; font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.structure-caption p { max-width: 36ch; margin-top: 0.5rem; color: var(--muted); font-size: 0.975rem; }

.js .structure-step:not(.is-visible) .structure-caption::before { transform: scaleX(0); }

.journey { background: var(--surface); }

.journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(3rem, 6vw, 6.5rem);
}

.journey-head { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
.journey-head h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.05; }
.journey-head p { max-width: 38ch; margin: 1.125rem 0 2rem; color: var(--muted); font-size: 1.125rem; }

.journey-steps {
  --pad: clamp(1.5rem, 2.6vw, 2rem);
  --badge: 2.875rem;
  --badge-top: calc(var(--pad) + 1.375rem - var(--badge) / 2);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.journey-steps li {
  position: relative;
  padding: 0 0 clamp(1.25rem, 2.4vw, 1.75rem) calc(var(--badge) + 1.875rem);
  counter-increment: step;
}

.journey-steps li:last-child { padding-bottom: 0; }

.journey-steps li::before {
  content: counter(step);
  position: absolute;
  top: var(--badge-top);
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--badge);
  height: var(--badge);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 500;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.journey-steps li.is-reached::before {
  border-color: var(--accent-ink);
  background: var(--accent-ink);
  color: #fff;
  box-shadow: 0 0 0 0.375rem var(--accent-soft);
}

.journey-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--badge-top) + var(--badge) + 0.25rem);
  bottom: calc((var(--badge-top) - 0.25rem) * -1);
  left: calc(var(--badge) / 2 - 0.5px);
  width: 1px;
  background: var(--accent-ink);
  transform-origin: top;
}

.journey-card {
  padding: var(--pad);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.journey-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
}

.journey-card-head h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }

.journey-card-head .icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6875rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.journey-card p { max-width: 52ch; margin-top: 0.75rem; color: var(--muted); }

.journey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.375rem;
  padding-top: 1.375rem;
  border-top: 1px solid var(--line);
}

.journey-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.journey-actions a:hover { border-color: var(--ink); background: var(--surface); }
.journey-phone span { color: var(--muted); }
.journey-actions .icon { width: 1rem; height: 1rem; color: var(--accent-ink); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .journey-steps li:not(:last-child)::after {
      animation: grow linear both;
      animation-timeline: view();
      animation-range: entry 60% cover 70%;
    }
  }
}

@keyframes grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.team-rail {
  display: flex;
  gap: 0.75rem;
  width: min(var(--container), 100% - 2 * var(--gutter));
  height: clamp(30rem, 40vw, 35rem);
  margin-inline: auto;
}

.doctor {
  --pad: clamp(1.25rem, 2vw, 1.75rem);
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface);
  color: #fff;
}

.doctor.is-open { flex-grow: 2.6; }

.doctor::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgb(7 22 27 / 0) 25%, rgb(7 22 27 / 0.55) 55%, rgb(7 22 27 / 0.94) 100%);
  opacity: 0;
}

.doctor.is-open::before { opacity: 1; }

.doctor-photo { position: absolute; inset: 0; }

.doctor-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(7 22 27 / 0) 55%, rgb(7 22 27 / 0.7) 100%);
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.doctor-short {
  position: absolute;
  right: var(--pad);
  bottom: var(--pad);
  left: var(--pad);
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.doctor.is-open .doctor-short { opacity: 0; transform: translateY(0.5rem); }

.doctor-info {
  position: absolute;
  bottom: var(--pad);
  left: var(--pad);
  z-index: 2;
  width: min(27vw, 25rem);
  opacity: 0;
  transform: translateY(1rem);
}

.doctor.is-open .doctor-info { opacity: 1; transform: none; }

.doctor-meta { display: block; color: rgb(255 255 255 / 0.75); font-size: 0.85rem; }
.doctor h3 { margin-top: 0.375rem; color: #fff; font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.15; }

.doctor-bio {
  display: -webkit-box;
  margin-top: 0.75rem;
  overflow: hidden;
  color: rgb(255 255 255 / 0.82);
  font-size: 0.9rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}

.doctor-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
}

.doctor-more .icon { width: 1.1em; height: 1.1em; }

@media (min-width: 1024px) {
  .doctor { transition: flex-grow 0.9s var(--ease-in-out); }

  .js .doctor[data-reveal] {
    transition: opacity 1s var(--ease), transform 1.1s var(--ease), flex-grow 0.9s var(--ease-in-out);
    transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s;
  }

  .doctor::before { transition: opacity 0.7s var(--ease-in-out); }
  .doctor-photo img { transition: transform 1.1s var(--ease-in-out); }
  .doctor:hover .doctor-photo img { transform: scale(1.03); }

  .doctor-short { transition: opacity 0.4s var(--ease-in-out) 0.45s, transform 0.5s var(--ease-in-out) 0.45s; }
  .doctor.is-open .doctor-short { transition-duration: 0.25s, 0.35s; transition-delay: 0s; }

  .doctor-info { transition: opacity 0.25s var(--ease-in-out), transform 0.35s var(--ease-in-out); }
  .doctor.is-open .doctor-info { transition-duration: 0.6s, 0.7s; transition-delay: 0.35s; }

  .doctor-more .icon { transition: transform 0.45s var(--ease-in-out); }
  .doctor:hover .doctor-more .icon { transform: translateX(0.1875rem); }
}

.reviews { background: var(--surface); }

.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(3rem, 6vw, 6.5rem);
}

.reviews-summary { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
.reviews-summary h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.05; }
.reviews-summary > p { max-width: 36ch; margin-top: 1.125rem; color: var(--muted); font-size: 1.125rem; }

.reviews-score {
  display: flex;
  align-items: center;
  gap: 1.375rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-block: 1.75rem;
  border-block: 1px solid var(--line-strong);
}

.reviews-rating {
  color: var(--accent-ink);
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-variant-numeric: lining-nums;
}

.reviews-score p { margin-top: 0.625rem; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.reviews-score [data-count] { color: var(--ink); font-variant-numeric: tabular-nums; }

.reviews-actions { display: grid; grid-template-columns: max-content; gap: 0.75rem; margin-top: 2rem; }

.stars { position: relative; display: inline-flex; color: var(--line-strong); }
.stars > span { display: flex; gap: 2px; }
.stars .icon { width: 1rem; height: 1rem; fill: currentColor; }
.stars-fill { position: absolute; inset: 0; color: var(--star); clip-path: inset(0 calc(100% - var(--score)) 0 0); }
.reviews-meter .icon { width: 1.375rem; height: 1.375rem; }

.js .reviews-summary .stars-fill { transition: clip-path 1.6s var(--ease) 0.3s; }
.js .reviews-summary:not(.is-visible) .stars-fill { clip-path: inset(0 100% 0 0); }

.reviews-wall {
  --gap: clamp(1rem, 1.6vw, 1.5rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}

.reviews-column { display: grid; gap: var(--gap); }
.reviews-column:last-child { margin-top: clamp(2.5rem, 5vw, 4.5rem); }

.review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: clamp(1.375rem, 2.2vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.review blockquote { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.review blockquote p { text-wrap: wrap; }
.review blockquote p + p { margin-top: 0.8em; }
.review blockquote > :first-child::before { content: "\201C"; }
.review blockquote > :last-child::after { content: "\201D"; }

.review figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.review-avatar {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 500;
}

.review figcaption strong { display: block; color: var(--ink); font-size: 0.975rem; line-height: 1.3; }
.review figcaption small { display: block; color: var(--muted); font-size: 0.8125rem; }

@supports (animation-timeline: view()) {
  @media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .reviews-column:last-child {
      animation: reviews-drift linear both;
      animation-timeline: view();
      animation-range: cover;
    }
  }
}

@keyframes reviews-drift {
  from { transform: translateY(3rem); }
  to { transform: translateY(-3rem); }
}

.carousel-controls {
  --dot: color-mix(in srgb, var(--muted) 80%, var(--paper));
  --dot-fill: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel-dots { display: flex; }

.carousel-dots button {
  --dot-box: max(1.5rem, 24px);
  --dot-side: calc((var(--dot-box) - 0.5rem) / 2);
  position: relative;
  width: var(--dot-box);
  height: 2rem;
  padding: 0;
  border: 0;
  background: none;
  transition: width 0.5s var(--ease);
}

.carousel-dots button::before,
.carousel-dots button::after {
  content: "";
  position: absolute;
  inset: 0.75rem var(--dot-side);
  border-radius: var(--radius-pill);
  background: var(--dot);
}

.carousel-dots button::after { background: var(--dot-fill); clip-path: inset(0 100% 0 0 round 0.25rem); }
.carousel-dots [aria-current="true"] { width: calc(2.125rem + 2 * var(--dot-side)); }
.carousel-dots [aria-current="true"]::after { clip-path: inset(0 0 0 0 round 0.25rem); }
.carousel-controls.is-playing [aria-current="true"]::after { animation: carousel-progress var(--duration) linear both; }
.carousel-controls.is-paused [aria-current="true"]::after { animation-play-state: paused; }

@keyframes carousel-progress {
  from { clip-path: inset(0 100% 0 0 round 0.25rem); }
  to { clip-path: inset(0 0 0 0 round 0.25rem); }
}


.units-section { background: var(--surface); }
.reviews + .units-section { padding-top: 0; }
.units-section + .insurers { border-top: 0; }

.units-grid {
  --units-gap: clamp(1rem, 2vw, 1.75rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--units-gap);
}

.unit-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.unit-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--night);
}

.unit-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(7 22 27 / 0) 45%, rgb(7 22 27 / 0.8) 100%);
  pointer-events: none;
}

.unit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.unit-card:hover .unit-photo img { transform: scale(1.03); }

.unit-card:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
.unit-card:last-child:nth-child(odd) .unit-photo { flex: 0 0 calc((100% - var(--units-gap)) / 2); }

.unit-title {
  position: absolute;
  right: clamp(1.5rem, 2.6vw, 2rem);
  bottom: clamp(1.25rem, 2.4vw, 1.75rem);
  left: clamp(1.5rem, 2.6vw, 2rem);
  z-index: 1;
  color: #fff;
}

.unit-title span { color: rgb(255 255 255 / 0.78); font-size: 0.9rem; }
.unit-title h3 { margin-top: 0.25rem; color: #fff; font-size: clamp(1.5rem, 2.2vw, 2rem); }

.unit-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 2.6vw, 2rem);
}

.unit-info { display: grid; gap: 0.875rem; margin: 0; }
.unit-info div { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.875rem; align-items: start; }
.unit-info dt .icon { width: 1.25rem; height: 1.25rem; margin-top: 0.1875rem; color: var(--accent-ink); }
.unit-info dd { margin: 0; color: var(--ink-soft); }

.unit-info dd a {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease);
}

.unit-info dd a:hover { color: var(--accent-ink); }

.unit-routes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.unit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  margin-top: 1.375rem;
}

.insurers { padding-block: var(--section); border-top: 1px solid var(--line); overflow: hidden; }

.insurers-head { display: grid; gap: 1rem; justify-items: start; max-width: 47.5rem; }
.insurers-head h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.05; }
.insurers-head p { max-width: 52ch; color: var(--muted); font-size: 1.125rem; }

.marquee {
  --logo-gap: clamp(3rem, 6vw, 5.5rem);
  display: flex;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee 64s linear infinite;
}

.marquee-track li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5.25rem;
  padding-inline: calc(var(--logo-gap) / 2);
  transition: opacity 0.45s var(--ease-in-out);
}

.marquee-track img { width: calc(var(--w) * var(--logo-scale, 1)); max-width: none; height: auto; }
.marquee.is-pointing li:not(.is-active) { opacity: 0.5; }

@keyframes marquee {
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: 100%; padding: 0 var(--gutter); animation: none; }
  .marquee-track[aria-hidden] { display: none; }
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 7vw, 7.5rem);
}

.faq-intro h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.05; }
.faq-intro p { margin: 1.125rem 0 1.5rem; color: var(--muted); font-size: 1.125rem; }

.accordion { border-top: 1px solid var(--line); }
.faq-home .tabs { margin-bottom: 1.5rem; }
.faq-home .accordion:not([hidden]) + .accordion { margin-top: 2.5rem; }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-ink); }

.faq-toggle { position: relative; flex-shrink: 0; width: 1.25rem; height: 1.25rem; color: var(--cta); }

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.5s var(--ease);
}

.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open]:not(.is-closing) .faq-toggle::after { transform: rotate(0deg); }

.faq-answer { overflow: hidden; }
.faq-answer p { max-width: 62ch; padding: 0 2.75rem 1.625rem 0; color: var(--muted); }

main:has(+ .site-footer) > :last-child:not(.closing) { margin-bottom: var(--wave); }

.closing {
  padding-block: clamp(3.5rem, 8vw, 7.5rem) calc(clamp(3.5rem, 8vw, 7.5rem) + var(--wave));
  background: var(--surface);
}

:is(.related, .info-band) + .closing { padding-top: 0; }

.closing-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.25rem clamp(2rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.75rem, 4vw, 3.5rem);
}

.closing-head h2 { font-size: clamp(2.2rem, 4.2vw, 3.75rem); line-height: 1.02; }
.closing-intro { display: grid; justify-items: start; gap: 1rem; }
.closing-intro > p:first-child { max-width: 40ch; color: var(--muted); font-size: 1.0625rem; }

.closing-context {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  padding: 0.375rem 1rem 0.375rem 0.375rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.closing-context .icon { width: 1.75rem; height: 1.75rem; padding: 0.375rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.closing-context strong { color: var(--ink); }

.closing-board {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.closing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.closing-card-body {
  display: grid;
  justify-items: start;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.closing-card-head { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.875rem; align-items: center; }
.closing-card-head > .icon { width: 2.75rem; height: 2.75rem; padding: 0.6875rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.closing-card-title,
.closing .contact-form h3 { font-size: clamp(1.25rem, 1.5vw, 1.375rem); letter-spacing: -0.02em; }
.closing-number { margin-top: 2px; color: var(--ink-soft); font-size: 0.9375rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.closing-cta { margin-top: clamp(1.25rem, 2.2vw, 1.5rem); }

.closing-message-label { margin-top: clamp(1.375rem, 2.4vw, 1.75rem); color: var(--ink-soft); font-size: 0.9375rem; }

.closing-message {
  position: relative;
  max-width: 46ch;
  margin: 0.625rem 0 0 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0 0.75rem 0.75rem 0.75rem;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

.closing-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: -0.5rem;
  width: 0.5rem;
  height: 0.75rem;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.closing-message[data-typing] {
  clip-path: inset(0 0 0 -0.5rem round 0 var(--radius) var(--radius) var(--radius));
  transform-origin: 0 0;
  transition: clip-path 0.55s var(--ease), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.closing-message[data-typing="on"] {
  clip-path: inset(0 calc(100% - 3.625rem) calc(100% - 3rem) -0.5rem round 0 var(--radius) var(--radius) var(--radius));
  transform: scale(0.96);
}

.closing-message-text { display: block; transition: opacity 0.35s var(--ease) 0.2s; }
[data-typing="on"] .closing-message-text { opacity: 0; transition: none; }

.closing-typing {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  display: flex;
  gap: 0.25rem;
  align-items: center;
  height: 1.5rem;
  color: var(--muted);
  transition: opacity 0.2s var(--ease);
}

[data-typing="off"] .closing-typing { opacity: 0; }
.closing-typing i { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: currentColor; animation: typing 1.2s ease-in-out infinite; }
.closing-typing i:nth-child(2) { animation-delay: 0.15s; }
.closing-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.45; transform: none; }
  30% { opacity: 1; transform: translateY(-0.25rem); }
}

.closing-phones { width: 100%; margin-top: clamp(2rem, 3.4vw, 2.5rem); }
.closing-phones h3 { font-size: 1rem; letter-spacing: -0.01em; }
.closing-phones ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 1.5rem; margin: 0.875rem 0 0; padding: 0; list-style: none; }
.closing-phones li { position: relative; padding: 1rem 0 0.25rem; border-top: 1px solid var(--line); }

.closing-phone { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.875rem; align-items: center; color: var(--ink); }

.closing-phone::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--accent-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.closing-phone .icon { width: 2.5rem; height: 2.5rem; padding: 0.625rem; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-ink); transition: border-color 0.35s var(--ease); }
.closing-phone > span { display: grid; font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; line-height: 1.3; font-variant-numeric: tabular-nums; }
.closing-phone small { color: var(--ink-soft); font-family: var(--font-text); font-size: 0.9375rem; font-weight: 400; line-height: 1.4; }
.closing-phone:hover::before { transform: none; }
.closing-phone:hover .icon { border-color: var(--accent-ink); }
.closing-address { margin-top: 0.25rem; padding-left: 3.375rem; color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }

.closing .contact-form {
  --i: 2;
  align-content: start;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.closing .contact-form.is-sent { align-content: center; }

.contact-form {
  container-type: inline-size;
  display: grid;
  gap: 1.125rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--radius-card);
  background: var(--accent-ink);
  color: #fff;
}

.contact-form :focus-visible { outline-color: #fff; }

.contact-form h3 { color: #fff; font-size: clamp(1.5rem, 2.2vw, 1.85rem); }
.contact-form h3 + p { margin-top: -0.5rem; color: var(--on-accent-muted); }

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

@container (max-width: 25rem) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
}

.field {
  display: grid;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
}

.optional { color: var(--muted); font-family: var(--font-text); font-weight: 400; }

.field input,
.field select,
.search-field input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.625rem;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 400;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.75rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%235d7278' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1.125rem center;
}

.field input:focus,
.field select:focus,
.search-field input:focus {
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 0.1875rem rgb(11 97 115 / 0.16);
  outline: none;
}

.contact-form .field { color: #fff; }
.contact-form .optional { color: var(--on-accent-muted); }

.contact-form .field input:focus,
.contact-form .field select:focus { border-color: #fff; box-shadow: 0 0 0 0.1875rem rgb(255 255 255 / 0.4); }

.field input:user-invalid,
.field [aria-invalid="true"] { border-color: var(--danger); }
.field input:user-invalid:focus,
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 0.1875rem rgb(168 50 31 / 0.14); }

.checkbox-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--on-accent-muted);
  font-size: 0.925rem;
  line-height: 1.5;
}

.checkbox-label input { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin: 1px 0 0; accent-color: var(--cta); }
.checkbox-label a { color: #fff; text-decoration: underline; text-underline-offset: 0.1875rem; }
.contact-form > .button { justify-self: stretch; }
.form-note { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--on-accent-muted); font-size: 0.85rem; }
.form-note .icon { width: 1rem; height: 1rem; margin-top: 0.15em; }
.form-status:empty { display: none; }
.form-status { padding: 0.875rem 1rem; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent-ink); font-size: 0.95rem; }
.form-status.error { background: #fbeae7; color: var(--danger); }
.honey { position: absolute; left: -624.9375rem; width: 1px; height: 1px; overflow: hidden; }

.contact-form.is-sent > :not(.form-success) { display: none; }

.form-success { display: grid; justify-items: start; gap: 0.875rem; padding-block: clamp(0.75rem, 3vw, 2.5rem); }

.form-success-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
}

.form-success-icon .icon { width: 1.625rem; height: 1.625rem; }
.form-success h3 { color: #fff; font-size: clamp(1.5rem, 2.2vw, 1.85rem); outline: none; }
.form-success p { max-width: 44ch; color: var(--on-accent-muted); }
.form-success-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.625rem; }
.form-success .text-link { padding: 0 0 0.1875rem; border: 0; color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .contact-form.is-sent .form-success > * { animation: rise 0.7s var(--ease) both; }
  .contact-form.is-sent .form-success > :nth-child(2) { animation-delay: 0.06s; }
  .contact-form.is-sent .form-success > :nth-child(3) { animation-delay: 0.12s; }
  .contact-form.is-sent .form-success > :nth-child(4) { animation-delay: 0.18s; }
}

.page-intro {
  padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(3.5rem, 7vw, 6.5rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: clamp(2.5rem, 6vw, 5.5rem);
  color: var(--muted);
  font-size: 0.875rem;
}

.breadcrumb .icon { width: 0.875rem; height: 0.875rem; color: var(--line-strong); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink-soft); }

.page-intro .eyebrow { margin-bottom: 1.25rem; }

.page-intro h1 {
  max-width: 22ch;
  font-size: clamp(2.3rem, 4.6vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.page-lead {
  max-width: 50ch;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

.page-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.page-intro .page-note { width: fit-content; margin-top: 1.75rem; }

.page-intro-article { padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.page-intro-article .container,
.article-column,
.article-banner { width: min(64rem, 100% - 2 * var(--gutter)); }
.page-intro-article .breadcrumb { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.page-intro-article h1 { max-width: none; font-size: clamp(2.1rem, 4vw, 3.4rem); }

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.article-avatar { display: grid; flex-shrink: 0; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--accent-soft); }
.article-avatar img { width: 1.75rem; height: 1.75rem; }
.article-byline-text { display: grid; flex: 1 1 15rem; gap: 0.125rem; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.article-byline-text p + p { margin-top: 0; }
.article-byline-text strong { color: var(--ink); }

.article-banner { margin: 0 auto clamp(2rem, 4vw, 3rem); }
.article-banner-image { aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--radius-card); background: var(--surface); }
.article-banner-image img { width: 100%; height: 100%; object-fit: cover; }
.article-banner figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.85rem; line-height: 1.5; }

.page-intro-center { padding-bottom: clamp(2rem, 4vw, 3rem); text-align: center; }
.page-intro-center .breadcrumb { justify-content: center; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.page-intro-center h1,
.page-intro-center .page-lead { margin-inline: auto; }
.faq-page .tabs { justify-content: center; }
.faq-page .inline-note { width: fit-content; margin-inline: auto; }

.page-intro .container { position: relative; }

.page-intro-mark {
  position: absolute;
  right: 0;
  bottom: -0.75rem;
  width: clamp(10rem, 20vw, 18.75rem);
  height: clamp(10rem, 20vw, 18.75rem);
}

@media (max-width: 1023px) {
  .page-intro-mark { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .page-intro .container > * { animation: rise 1s var(--ease) both; }
  .page-intro .container > :nth-child(2) { animation-delay: 0.08s; }
  .page-intro .container > :nth-child(3) { animation-delay: 0.16s; }
  .page-intro .container > :nth-child(4) { animation-delay: 0.24s; }
  .page-intro .container > :nth-child(5) { animation-delay: 0.32s; }
}

.prose { color: var(--ink-soft); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.1875rem; transition: text-decoration-color 0.3s var(--ease); }
.prose a:hover { text-decoration-color: transparent; }
.prose p,
.prose ul { max-width: 68ch; }
.prose ul { margin: 1em 0 0; padding-left: 1.2em; }
.prose ul + p { margin-top: 1em; }
.prose li + li { margin-top: 0.3em; }
.prose li::marker { color: var(--accent); }
.prose h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 1.125rem; }
.prose h3 { font-size: 1.15rem; margin: 1.75rem 0 0.625rem; letter-spacing: -0.015em; }

.prose ol { max-width: 68ch; margin: 1em 0 0; padding-left: 1.4em; }
.prose ol + p { margin-top: 1em; }
.prose li > ul, .prose li > ol { margin-top: 0.3em; }
.prose u { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.prose .texto-pequeno { font-size: 0.875em; }
.prose .texto-grande { font-size: 1.25em; line-height: 1.45; }
.prose .texto-marca { color: var(--accent-ink); }
.prose .texto-destaque { color: var(--cta-strong); }
.prose .texto-suave { color: var(--muted); }
.prose-lead { color: var(--ink); font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.3; letter-spacing: -0.02em; }

.inline-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  max-width: 51.25rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.inline-note .icon { margin-top: 2px; color: var(--accent-ink); }

.empty-state { max-width: 42.5rem; }
.empty-state h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.empty-state p { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }

.gallery { min-width: 0; }

.gallery-rail {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-radius: var(--radius-card);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-rail::-webkit-scrollbar { display: none; }

.gallery-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
  scroll-snap-align: start;
}

.gallery-clinic .gallery-slide { aspect-ratio: 16 / 9; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }

.gallery-slide figcaption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: calc(100% - 2rem);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  background: rgb(7 22 27 / 0.62);
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.3;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.gallery-slide figcaption .icon { width: 1rem; height: 1rem; }
.gallery .carousel-controls { margin-top: 0.875rem; }

.gallery-thumbs {
  --per-row: 5;
  display: flex;
  gap: 0.625rem;
  margin-top: 0.5rem;
  padding: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumbs button {
  flex: 0 0 calc((100% - (var(--per-row) - 1) * 0.625rem) / var(--per-row));
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0.75rem;
  background: var(--surface);
  opacity: 0.55;
  transition: opacity 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.gallery-thumbs button:hover { opacity: 0.85; }
.gallery-thumbs button[aria-current] { opacity: 1; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent-ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-clinic .gallery-thumbs { --per-row: 7; }

.story {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.story-year {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 10rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.story-year span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0;
}

.principles-title { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.principles { border-top: 1px solid var(--line); }

.principles article {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1rem, 6vw, 6rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-bottom: 1px solid var(--line);
}

.principles h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.principles p { max-width: 54ch; color: var(--muted); font-size: 1.075rem; }

.catalog-tools {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.search-field { position: relative; flex: 1 1 20rem; max-width: 35rem; }
.search-field .icon { position: absolute; top: 50%; left: 1rem; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.search-field input { padding-left: 3rem; }
.search-field input::placeholder { color: var(--muted); }

.filter-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.filter-group button,
.tabs a,
.tabs button {
  min-height: 2.75rem;
  padding: 0 1.125rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 500;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.tabs a { display: inline-flex; align-items: center; }
.tabs button { color: inherit; cursor: pointer; }
.filter-group button:hover,
.tabs :is(a, button):hover { border-color: var(--accent-ink); color: var(--accent-ink); }

.filter-group button[aria-pressed="true"],
.tabs a[aria-current],
.tabs button[aria-selected="true"] { border-color: var(--accent-ink); background: var(--accent-ink); color: #fff; }

.result-count { margin: 1.25rem 0 0.5rem; color: var(--muted); font-size: 0.9rem; }

.exam-group { margin-top: 2.25rem; }
.exam-group-title { margin-bottom: 0.75rem; color: var(--accent-ink); font-size: 1rem; letter-spacing: -0.01em; }

.exam-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.exam-row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 1.25rem;
  gap: 1.25rem;
  align-items: center;
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.45s var(--ease);
}

.exam-row .exam-mark { width: 2.5rem; height: 2.5rem; }
.exam-row-text strong { display: block; font-size: 1.1rem; letter-spacing: -0.015em; }

.exam-row-text span {
  display: -webkit-box;
  margin-top: 0.25rem;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.exam-row-arrow { width: 1.25rem; height: 1.25rem; color: var(--line-strong); transition: transform 0.45s var(--ease), color 0.3s var(--ease); }
.exam-row:hover { padding-left: 0.5rem; }
.exam-row:hover strong { color: var(--accent-ink); }
.exam-row:hover .exam-row-arrow { color: var(--accent-ink); transform: translateX(0.25rem); }

.search-empty { padding: 3rem 0; }
.search-empty h3 { font-size: 1.5rem; }
.search-empty p { margin: 0.625rem 0 1.25rem; color: var(--muted); }

.insurers-catalog .catalog-tools { position: static; }
.insurers-catalog .result-count { margin: 0 0 0 auto; }

.insurer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.75rem, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.insurer {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 11.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.insurer-logo { display: grid; place-items: center; padding: 1.5rem 1.25rem; }
.insurer-logo img { width: var(--w); max-width: 100%; height: auto; }

.insurer-name {
  display: grid;
  place-items: center;
  min-height: calc(2.7em + 1.5rem);
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
  text-align: center;
}

.insurers-empty { display: grid; justify-items: start; gap: 0.25rem; }

.insurers-empty-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-ink);
}

.insurers-empty p { max-width: 52ch; }

.coverage-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }

.coverage-list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.875rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  line-height: 1.5;
}

.coverage-list li span { padding-top: 0.25rem; }
.coverage-list .icon { width: 2rem; height: 2rem; padding: 0.5rem; border-radius: 50%; background: var(--paper); color: var(--accent-ink); }

.exam-block,
.info-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  column-gap: clamp(2.5rem, 7vw, 7.5rem);
  align-items: start;
}

.exam-about { padding-top: clamp(1.75rem, 3.5vw, 2.75rem); border-top: 1px solid var(--line); }

.exam-block-head,
.info-band-head { display: flex; align-items: center; gap: 1rem; }

.exam-block h2,
.info-band h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; }

.exam-block-link { margin-top: 1.25rem; }

.exam-topic + .exam-topic {
  margin-top: clamp(1.5rem, 2.6vw, 2rem);
  padding-top: clamp(1.5rem, 2.6vw, 2rem);
  border-top: 1px solid var(--line);
}

.exam-topic h3 { margin-bottom: 0.625rem; font-size: clamp(1.15rem, 1.5vw, 1.3rem); letter-spacing: -0.015em; }

.exam-block .accordion { border-top: 0; }
.exam-block .faq-item:first-child summary { padding-top: 0; }

.info-band { background: var(--surface); }
.info-band-prep { background: var(--accent-soft); }
.info-band-prep .icon-badge { background: var(--paper); }

.info-band-grid { grid-template-rows: auto 1fr; grid-template-areas: "head body" "action body"; }
.info-band-head { grid-area: head; }
.info-band-body { grid-area: body; }
.info-band-action { grid-area: action; display: grid; justify-items: start; gap: 1rem; margin-top: 1.75rem; }

.prep-text > p:first-child {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.prep-detail { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line-strong); }
.prep-detail h3 { margin-top: 0; }

.band-note {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0.625rem;
  max-width: 36ch;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.5;
}

.band-note .icon { width: 1rem; height: 1rem; margin-top: 2px; color: var(--accent-ink); }
.info-band-body .band-note { max-width: none; margin-top: 1.25rem; }

.related { background: var(--surface); }
.related .section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.related .exam-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related .exam-list,
.related .exam-row { border-color: var(--line-strong); }

.physician {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.physician-photo {
  max-width: 25rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface);
}

.physician-photo img { width: 100%; height: 100%; object-fit: cover; }
.physician-specialty { color: var(--accent-ink); font-size: 0.95rem; }
.physician h2 { margin-top: 0.5rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.physician-crm { margin-top: 0.625rem; color: var(--ink-soft); font-family: var(--font-display); font-weight: 500; }
.physician-body p:last-child { max-width: 58ch; margin-top: 1.25rem; color: var(--muted); font-size: 1.075rem; }

.unit-features { display: grid; gap: clamp(4rem, 8vw, 8rem); }

.unit-feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: center;
}

.unit-feature:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.unit-feature:nth-child(even) .unit-feature-media { order: 2; }

.unit-feature-media { min-width: 0; }

.unit-feature h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.unit-details { margin: 1.75rem 0 0; border-top: 1px solid var(--line); }

.unit-details div {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line);
}

.unit-details dt { display: contents; }
.unit-details dt .icon { grid-row: span 2; }
.unit-details dt span { align-self: end; color: var(--muted); font-size: 0.875rem; }
.unit-details dd { margin: 2px 0 0; }
.unit-details a { font-family: var(--font-display); font-weight: 500; }
.unit-feature .unit-actions { column-gap: 0.75rem; margin-top: 2rem; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.channel {
  display: grid;
  gap: 0.375rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.channel-primary {
  gap: 0.625rem;
  padding: 2rem;
  border: 0;
  border-radius: var(--radius-card);
  background: var(--accent-ink);
  color: #fff;
  transition: transform 0.6s var(--ease);
}

.channel-primary:hover { transform: translateY(-0.1875rem); }
.channel-label { display: flex; gap: 0.5rem; align-items: center; color: var(--muted); font-size: 0.925rem; }
.channel-primary .channel-label { color: rgb(255 255 255 / 0.78); }
.channel-primary strong { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.channel-cta { display: inline-flex; gap: 0.5rem; align-items: center; font-family: var(--font-display); font-weight: 500; }
.channel-phone { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.channel address { color: var(--muted); }
.local-form-note { margin-top: 1.25rem; color: var(--muted); font-size: 0.875rem; }

.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }

.article-meta { color: var(--muted); font-size: 0.9rem; }

.home-articles { border-top: 1px solid var(--line); }
.article-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
  transition: opacity 0.45s ease-in-out;
}

.article-card-cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.article-card-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-card-body {
  display: grid;
  flex: 1;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.75rem;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
}

.article-card :is(h2, h3) { font-size: clamp(1.3rem, 1.7vw, 1.5rem); line-height: 1.2; }
.article-card-body > p:not(.article-meta) { color: var(--muted); font-size: 0.975rem; line-height: 1.55; }
.article-card .text-link { justify-self: start; margin-top: 0.25rem; }

@media (hover: hover) {
  :is(.article-cards, .article-rail):has(.article-card:hover) .article-card:not(:hover) { opacity: 0.45; }
}

.article-rail {
  --gap: clamp(1rem, 2vw, 1.5rem);
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.article-rail::-webkit-scrollbar { display: none; }
.article-rail .article-card { flex: 0 0 calc((100% - 2 * var(--gap)) / 3); scroll-snap-align: start; }
.article-body h2 { margin: 2.5rem 0 0.75rem; font-size: clamp(1.4rem, 2.1vw, 1.75rem); line-height: 1.2; }
.article-body h3 { margin: 1.75rem 0 0.5rem; }
.article-body > :first-child { margin-top: 0; }
.article-body p,
.article-body ul { max-width: none; }

.article-footer { display: grid; justify-items: start; gap: 1.75rem; margin-top: clamp(2.25rem, 4vw, 3rem); }
.article-disclaimer { color: var(--muted); font-size: 0.8125rem; line-height: 1.5; }
.article-footer-share { display: grid; gap: 0.5rem; }
.article-footer-share > p { color: var(--muted); font-size: 0.8125rem; }

.article-byline-share { display: grid; justify-items: end; gap: 0.5rem; }
.article-byline-share > p { color: var(--muted); font-size: 0.8125rem; }
.share { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; }

.share-button {
  --network: var(--accent-ink);
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: color-mix(in srgb, var(--muted) 55%, var(--paper));
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.share-button .icon { width: 1.125rem; height: 1.125rem; }
.share-button:hover { border-color: var(--network); color: var(--network); }
.share-whatsapp { --network: #25d366; }
.share-instagram { --network: #e4405f; }
.share-facebook { --network: #1877f2; }
.share-status:empty { display: none; }

.share-status {
  position: absolute;
  z-index: 2;
  top: calc(100% + 0.5rem);
  right: 0;
  left: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--accent-ink);
  font-size: 0.85rem;
  line-height: 1.35;
}

.blog-catalog .catalog-tools { position: static; }
.blog-catalog .article-cards { margin-top: 0.75rem; }
.select-field { position: relative; }
.select-field .icon { position: absolute; top: 50%; left: 1rem; width: 1.05rem; height: 1.05rem; color: var(--muted); transform: translateY(-50%); pointer-events: none; }

.select-field select {
  min-height: 2.75rem;
  padding: 0 2.75rem 0 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%235d7278' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1.125rem center;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
}

.select-field select:focus-visible { border-color: var(--accent-ink); }

.legal-layout {
  display: grid;
  grid-template-columns: minmax(13.75rem, 3fr) minmax(0, 8fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.legal-aside { position: sticky; top: calc(var(--header-h) + 2.5rem); display: grid; gap: 1.75rem; }

@media (min-width: 1024px) {
  .legal-aside { max-height: calc(100svh - var(--header-h) - 4rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
.legal-toc { position: relative; }
.legal-toc .eyebrow { margin-bottom: 1rem; }
.legal-toc ol { display: grid; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line-strong); }

.legal-toc a {
  display: grid;
  grid-template-columns: 1.875rem minmax(0, 1fr);
  padding: 0.5625rem 0 0.5625rem 1.125rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: color 0.3s var(--ease);
}

.legal-toc a span { color: var(--line-strong); font-family: var(--font-display); font-size: 0.8125rem; line-height: 1.75; font-variant-numeric: tabular-nums; transition: color 0.3s var(--ease); }
.legal-toc a:hover,
.legal-toc a[aria-current] { color: var(--ink); }
.legal-toc a[aria-current] span { color: var(--accent-ink); }

.legal-toc-marker {
  position: absolute;
  top: 0;
  left: -0.5px;
  width: 2px;
  height: var(--marker-height, 0);
  border-radius: 2px;
  background: var(--accent-ink);
  transform: translateY(var(--marker-top, 0));
  transition: transform 0.6s var(--ease), height 0.6s var(--ease);
}

.legal-note { display: flex; align-items: flex-start; gap: 0.625rem; padding: 0.875rem 1rem; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink-soft); font-size: 0.875rem; line-height: 1.5; }
.legal-note .icon { width: 1.125rem; height: 1.125rem; margin-top: 1px; color: var(--accent-ink); }

.legal-body { max-width: 45rem; }
.legal-section { padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.legal-section:first-child { padding-top: 0; border-top: 0; }
.legal-number { display: block; margin-bottom: 0.625rem; color: var(--accent-ink); font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.legal-section h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; }
.legal-section .prose { margin-top: 1rem; }
.legal-intro { padding-bottom: clamp(2rem, 4vw, 3rem); }
.legal-signature { padding-top: clamp(1.75rem, 3vw, 2.25rem); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }

.site-footer {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0 2rem;
  background: var(--accent-ink);
  color: var(--on-accent-muted);
  font-size: 0.95rem;
}

.site-footer :focus-visible { outline-color: #fff; }

.footer-wave {
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: var(--wave);
  fill: var(--accent-ink);
  pointer-events: none;
}

.footer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.75rem 3rem;
  padding-bottom: clamp(2.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--accent-line);
}

.footer-brand img { width: auto; height: 4.0625rem; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 34ch; margin-top: 1.125rem; }

.footer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--accent-line);
}

.footer-title { margin-bottom: 1.125rem; color: var(--on-accent-muted); font-size: 0.72rem; letter-spacing: 0.16em; }

.footer-list { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }

.footer-link { color: var(--on-night); transition: color 0.3s var(--ease); }
.footer-link:hover { color: #fff; }
.footer-link .icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.15em; }
.footer-link .icon:first-child { margin-right: 0.375rem; }
.footer-link .icon:last-child { margin-left: 0.25rem; }
.footer-link .footer-out { width: 0.8em; height: 0.8em; vertical-align: 0; color: var(--on-accent-muted); transition: transform 0.4s var(--ease), color 0.3s var(--ease); }
.footer-link:hover .footer-out { color: #fff; transform: translate(2px, -2px); }
.footer-link-strong { font-family: var(--font-display); font-weight: 500; }
.footer-link-strong .icon { transition: transform 0.4s var(--ease); }
.footer-link-strong:hover .icon { transform: translateX(0.1875rem); }

.footer-contacts {
  display: grid;
  gap: 0.875rem;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--accent-line);
}

.footer-contacts dt { font-size: 0.8rem; }
.footer-contacts dd { margin: 2px 0 0; }

.footer-contacts a,
.footer-unit > a:not(.footer-link) {
  color: var(--on-night);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease);
}

.footer-contacts a:hover,
.footer-unit > a:not(.footer-link):hover { color: #fff; }

.footer-unit { display: grid; justify-items: start; gap: 0.25rem; }
.footer-unit + .footer-unit { margin-top: 1.375rem; }
.footer-unit strong { color: #fff; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-unit .footer-link { margin-top: 0.25rem; font-size: 0.875rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-top: 1.75rem;
  font-size: 0.85rem;
}

.footer-legal { display: grid; gap: 0.5rem; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-cnpj { margin-left: 0.5rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.footer-legal a,
.footer-legal button { transition: color 0.3s var(--ease); }
.footer-legal a:hover,
.footer-legal button:hover { color: #fff; }
.footer-legal button { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; }

.credit { display: inline-flex; align-items: center; gap: 0.625rem; color: var(--on-accent-muted); transition: color 0.3s var(--ease); }
.credit b { color: var(--on-night); font-family: var(--font-display); font-weight: 500; transition: color 0.3s var(--ease); }
.credit-mark { flex: none; width: 1.375rem; height: 1.375rem; opacity: 0.55; transition: opacity 0.3s var(--ease); }
.credit-sep { width: 1px; height: 0.75rem; background: currentColor; opacity: 0.45; }
.credit:hover { color: var(--on-night); }
.credit:hover b { color: #fff; }
.credit:hover .credit-mark { opacity: 1; }

.floating-whatsapp {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: max(clamp(1rem, 2vw, 1.75rem), env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  align-items: center;
  height: 3.5rem;
  border-radius: var(--radius-pill);
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 1rem 2.5rem -1rem rgb(12 38 46 / 0.6);
  transition: opacity 0.4s var(--ease), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-whatsapp-label {
  display: flex;
  justify-content: flex-end;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: width 0.6s var(--ease-drawer), opacity 0.15s var(--ease);
}

.floating-whatsapp-label span { display: block; padding-left: 1.375rem; font-family: var(--font-display); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.floating-whatsapp .icon { flex: none; width: 1.625rem; height: 1.625rem; margin-inline: 0.9375rem; }

.floating-whatsapp:is(:focus-visible, .is-open) .floating-whatsapp-label {
  width: var(--label-width, 12em);
  opacity: 1;
  transition: width 0.6s var(--ease-drawer), opacity 0.35s var(--ease) 0.1s;
}

@media (hover: hover) {
  .floating-whatsapp:hover .floating-whatsapp-label {
    width: var(--label-width, 12em);
    opacity: 1;
    transition: width 0.6s var(--ease-drawer), opacity 0.35s var(--ease) 0.1s;
  }
}

.hero-in-view .floating-whatsapp,
.menu-open .floating-whatsapp {
  opacity: 0;
  transform: translateY(1rem) scale(0.6);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.4, 0, 1, 1);
}

@media (max-width: 1179px) {
  .cookies-open .floating-whatsapp {
    opacity: 0;
    transform: translateY(1rem) scale(0.6);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.4, 0, 1, 1);
  }
}

.floating-whatsapp::before,
.floating-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--whatsapp);
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .floating-whatsapp::before,
  .floating-whatsapp::after { animation: whatsapp-pulse 2.4s cubic-bezier(0.2, 0.6, 0.4, 1) infinite; }
  .floating-whatsapp::after { animation-delay: 1.2s; }
  .floating-whatsapp:is(:hover, :focus-visible, .is-open)::before,
  .floating-whatsapp:is(:hover, :focus-visible, .is-open)::after { animation: none; }
}

@keyframes whatsapp-pulse {
  0% { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.7); }
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  left: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.875rem 1.5rem;
  width: min(58.75rem, 100% - 2.5rem);
  margin-inline: auto;
  padding: 1rem 1rem 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  background: rgb(251 252 252 / 0.94);
  -webkit-backdrop-filter: blur(1rem) saturate(1.4);
  backdrop-filter: blur(1rem) saturate(1.4);
  box-shadow: 0 1.5rem 3.75rem -1.5rem rgb(12 38 46 / 0.4);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.cookie-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.cookie-icon .icon { width: 1.25rem; height: 1.25rem; }
.cookie-banner p { color: var(--muted); }
.cookie-banner strong { color: var(--ink); }
.cookie-banner a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 0.1875rem; }
.cookie-actions { display: flex; gap: 0.5rem; }

@media (prefers-reduced-motion: no-preference) {
  .cookie-banner { opacity: 0; transform: translateY(1.75rem) scale(0.98); transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.4, 0, 1, 1); }
  .cookie-banner.is-visible { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.8s var(--ease-drawer); }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: 0.25s var(--ease) both fade-out; }
  ::view-transition-new(root) { animation: 0.45s var(--ease) both fade-in; }
}

@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

@media (max-width: 1179px) {
  .header-phone { display: none; }
  .unit-feature .unit-actions .button { flex: 1 1 auto; }
  .closing-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .primary-nav { display: none; }
  .menu-toggle { display: block; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .legal-aside { position: static; }
  .legal-toc-marker { display: none; }
  .hero { display: block; min-height: 0; }
  .hero-photo {
    position: relative;
    display: block;
    width: 100%;
    max-height: 75svh;
    aspect-ratio: 1640 / 1140;
    -webkit-mask-image: linear-gradient(180deg, #000 68%, rgb(0 0 0 / 0.84) 76%, rgb(0 0 0 / 0.5) 84%, rgb(0 0 0 / 0.16) 92%, transparent);
    mask-image: linear-gradient(180deg, #000 68%, rgb(0 0 0 / 0.84) 76%, rgb(0 0 0 / 0.5) 84%, rgb(0 0 0 / 0.16) 92%, transparent);
  }
  .hero-photo img { --crop-default: 50% 0; object-position: 50% 0; }
  .hero-content { margin-top: -6vw; padding-block: 0 clamp(2.5rem, 7vw, 4rem); }
  .header-actions .button-small { min-height: 2.75rem; }
  .brand img { height: 2.875rem; }
  .header-actions { gap: 0.75rem; }

  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding-bottom: 2.25rem; }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact:nth-child(even) { padding-right: 0; }
  .fact:nth-child(even) .fact-go { right: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line-strong); }

  .exam-explorer { grid-template-columns: minmax(0, 1fr); }
  .exam-stage { display: none; }
  .exam-rows a { align-items: start; }
  .exam-rows-num { padding-top: 0.35em; }
  .exam-rows .icon { margin-top: 0.2em; }

  .exam-rows-text span {
    display: -webkit-box;
    margin-top: 0.25rem;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .structure-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eyebrow" "title" "intro"; }
  .structure-intro { margin-top: 0.375rem; }
  .article-cards { grid-template-columns: minmax(0, 1fr); }
  .article-rail .article-card { flex-basis: calc((100% - var(--gap)) / 2); }
  .journey-grid { grid-template-columns: minmax(0, 1fr); }
  .journey-head { position: static; }

  .closing-head,
  .closing-board { grid-template-columns: minmax(0, 1fr); }

  .structure-path {
    --photo-h: min(100vw, 30rem);
    grid-template-columns: repeat(3, min(78vw, 23.75rem));
    width: auto;
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .structure-path::-webkit-scrollbar { display: none; }
  .structure-step { scroll-snap-align: start; }
  .js .structure-step { opacity: 1; transform: none; }
  .js .doctor[data-reveal] { opacity: 1; transform: none; }

  .team-rail {
    display: flex;
    gap: 0.875rem;
    width: auto;
    height: auto;
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .team-rail::-webkit-scrollbar { display: none; }
  .doctor,
  .doctor.is-open { flex: 0 0 min(42vw, 18.75rem); overflow: visible; border-radius: 0; background: none; color: var(--ink); scroll-snap-align: start; }
  .doctor::before,
  .doctor-photo::after,
  .doctor-short { display: none; }
  .doctor-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-card); background: var(--surface); }

  .doctor-info,
  .doctor.is-open .doctor-info { position: static; width: auto; margin-top: 1.125rem; opacity: 1; transform: none; }

  .doctor-meta,
  .doctor-bio { color: var(--muted); }
  .doctor h3 { color: var(--ink); font-size: 1.1rem; }
  .doctor-bio { display: block; }
  .doctor-more { color: var(--accent-ink); }

  .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .reviews-summary { position: static; }
  .reviews-grid { row-gap: 0; }
  .reviews-wall { margin-top: clamp(3rem, 6vw, 6.5rem); }
  .reviews-actions { grid-template-columns: repeat(2, max-content); }

  .exam-block,
  .info-band-grid { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
  .info-band-grid { grid-template-rows: none; grid-template-areas: "head" "body" "action"; }
  .info-band-action { margin-top: 0.5rem; }
  .related .exam-list { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body { font-size: 1rem; }
  .article-banner-image { aspect-ratio: 16 / 9; }
  .article-rail .article-card { flex-basis: 86%; }
  .gallery-clinic .gallery-slide { aspect-ratio: 4 / 3; }
  .gallery-clinic .gallery-thumbs { --per-row: 4.5; }
  .header-actions .button-small { display: none; }
  .menu-panel-phones { grid-template-columns: minmax(0, 1fr); }
  .menu-panel-phone + .menu-panel-phone { border-top: 1px solid var(--line); border-left: 0; }

  .hero-photo { aspect-ratio: 860 / 823; }
  .hero-content { margin-top: -8vw; }
  .hero-actions .button { flex: 1 1 100%; }

  .exam-tabs { display: flex; }
  .exam-tabs button { flex: 1; padding: 0 0.75rem; }
  .exam-rows a { grid-template-columns: 2rem minmax(0, 1fr) 1.25rem; gap: 0.75rem; }

  .faq-layout,
  .contact-layout,
  .story,
  .physician,
  .unit-feature { grid-template-columns: minmax(0, 1fr); }

  .journey-steps { --badge: 2.25rem; --pad: 1.25rem; }
  .journey-steps li { padding-left: 0; }
  .journey-steps li::before { top: calc(var(--pad) + 0.3125rem); left: calc(var(--pad) + 1px); font-size: 0.9rem; }
  .journey-steps li:not(:last-child)::after { display: none; }
  .journey-card-head { padding-left: calc(var(--badge) + 0.75rem); }
  .journey-actions a { width: 100%; min-height: 3rem; border-radius: 0.75rem; white-space: normal; }
  .journey-phone { display: grid; line-height: 1.35; }

  .doctor,
  .doctor.is-open { flex-basis: 72vw; }

  .reviews-actions { grid-template-columns: minmax(0, 1fr); }

  .closing-head { gap: 0.875rem; margin-bottom: 0.25rem; }
  .closing-board { gap: 0; }
  .closing-card { border: 0; border-radius: 0; background: none; }
  .closing-card-body { padding: 1.5rem 0 2rem; }
  .closing .contact-form { padding: 1.75rem 1.25rem; }
  .closing-cta { justify-self: stretch; }

  .reviews-wall {
    display: flex;
    gap: 0.75rem;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    align-items: stretch;
    scrollbar-width: none;
  }

  .reviews-wall::-webkit-scrollbar { display: none; }
  .reviews-column { display: contents; }
  .review { flex: 0 0 min(84vw, 22.5rem); scroll-snap-align: start; }
  .js .review[data-reveal] { opacity: 1; transform: none; }

  .units-grid,
  .exam-list,
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .unit-card:last-child:nth-child(odd) { flex-direction: column; }
  .unit-card:last-child:nth-child(odd) .unit-photo { flex: none; }

  .principles article { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }

  .physician { align-items: start; }
  .physician-photo { max-width: 16.25rem; }

  .unit-feature:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .unit-feature:nth-child(even) .unit-feature-media { order: 0; }
  .page-intro-exam .page-actions .button { flex: 1 1 100%; }
  .info-band-action { justify-items: stretch; }
  .info-band-action .button { white-space: normal; text-align: center; }
  .band-note { max-width: none; }

  .catalog-tools { position: static; padding: 0.75rem 0; }
  .search-field { flex-basis: 100%; }
  .filter-group { flex-wrap: nowrap; gap: 0.375rem; }
  .filter-group button { min-height: 2.5rem; padding: 0 0.875rem; font-size: 0.875rem; }

  .marquee { --logo-scale: 0.8; }
  .marquee-track li { height: 4.25rem; }
  .insurer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; }
  .insurer { min-height: 9.375rem; }
  .insurer-logo { padding: 1.25rem 1rem; }

  .footer-head { align-items: flex-start; }
  .footer-grid { gap: 2.25rem 1.25rem; }
  .footer-grid > :nth-child(n + 3) { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cookie-banner { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 0.875rem; bottom: max(0.75rem, env(safe-area-inset-bottom)); width: calc(100% - 1.5rem); padding: 1rem; font-size: 0.875rem; }
  .cookie-icon { width: 2.25rem; height: 2.25rem; }
  .cookie-actions { grid-column: 1 / -1; }
  .cookie-actions .button { flex: 1; }
}

@media (max-width: 1023px) and (orientation: landscape) and (max-height: 500px) {
  .hero-photo { max-height: none; aspect-ratio: 2400 / 1100; }
}

img[data-crop] {
  --crop: var(--crop-m);
  --zoom: var(--zoom-m);
  object-position: var(--crop, var(--crop-default, 50% 50%));
  transform: scale(var(--zoom, 1));
  transform-origin: var(--crop, var(--crop-default, 50% 50%));
}

@media (min-width: 768px) {
  img[data-crop] { --crop: var(--crop-t); --zoom: var(--zoom-t); }
}

@media (min-width: 1024px) {
  img[data-crop] { --crop: var(--crop-d); --zoom: var(--zoom-d); }
}

@media (max-width: 1023px) and (orientation: landscape) and (max-height: 500px) {
  .hero-photo img[data-crop] { --crop: var(--crop-d); --zoom: var(--zoom-d); }
}
