/* =========================================================
   Dr. Fellipe Brandão · Ultrassonografia
   ========================================================= */

:root {
  --ink: #0A1628;
  --ink-2: #0F203A;
  --ink-3: #18304F;
  --ivory: #F5F2EC;
  --paper: #FBFAF7;
  --sand: #E9E3D8;
  --text: #0A1628;
  --muted: #56627A;
  --muted-light: #A9B4C6;
  --line: rgba(10, 22, 40, .12);
  --line-light: rgba(245, 242, 236, .14);
  --sonar: #6FD3C7;
  --sonar-deep: #1E7F76;
  --sonar-soft: rgba(111, 211, 199, .14);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.no-js { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; } /* trava a página atrás do menu aberto no celular */
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
em { font-style: italic; }
::selection { background: var(--sonar); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sonar); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(88px, 12vw, 160px) 0; position: relative; }
.section--dark { background: var(--ink); color: var(--ivory); }

/* ---------- Tipografia ---------- */
.h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.015em;
}
.h2 em, .hero__title em, .cta__title em, .statement em { color: var(--sonar-deep); font-weight: 500; }
.section--dark .h2 em, .hero__title em, .cta__title em { color: var(--sonar); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.eyebrow--light { color: var(--muted-light); }
.eyebrow__num {
  display: inline-grid; place-items: center;
  min-width: 34px; height: 24px; padding: 0 8px;
  border: 1px solid currentColor; border-radius: 99px;
  font-size: 11px; letter-spacing: .06em;
}
.eyebrow__line { width: 36px; height: 1px; background: var(--sonar); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--ink); --fg: var(--ivory);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border-radius: 99px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .5s var(--ease), color .4s var(--ease), border-color .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover, var(--ivory));
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--hover-fg, var(--ink)); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--accent { --bg: var(--sonar); --fg: var(--ink); --hover: var(--ivory); --hover-fg: var(--ink); }
.btn--ink { --bg: var(--ink); --fg: var(--ivory); --hover: var(--sonar); --hover-fg: var(--ink); }
.btn--ghost-light { --bg: transparent; --fg: var(--ivory); --hover: var(--ivory); --hover-fg: var(--ink); border-color: var(--line-light); }

/* ---------- Carregamento ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--ink);
}
.loader__inner { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.loader__logo { width: 76px; opacity: 0; animation: fadeUp .9s var(--ease) .1s forwards; }
.loader__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--sonar);
  opacity: 0; animation: ping 1.6s var(--ease) infinite;
}
.loader__ring:nth-child(2) { animation-delay: .5s; }
.loader__bar {
  position: absolute; left: 50%; bottom: 18%;
  width: 120px; height: 1px; margin-left: -60px;
  background: var(--line-light); overflow: hidden;
}
.loader__bar::after {
  content: ""; position: absolute; inset: 0; background: var(--sonar);
  transform-origin: left; animation: load 1.2s var(--ease) forwards;
}
.loader-off .loader { display: none; }
html.is-loading { overflow: hidden; }

@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Barra de progresso ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--sonar); transform-origin: left; transform: scaleX(0); }

/* ---------- Menu ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  width: min(calc(100% - 28px), 1320px);
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 18px;
  border-radius: 99px;
  color: var(--ivory);
  border: 1px solid transparent;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s, box-shadow .5s, transform .6s var(--ease);
}
.nav.is-solid {
  background: rgba(251, 250, 247, .78);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 10px 40px -18px rgba(10, 22, 40, .35);
}
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.nav__logo { position: relative; width: 40px; height: 33px; }
.nav__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s; }
.nav__logo-dark { opacity: 0; }
.nav.is-solid .nav__logo-dark { opacity: 1; }
.nav.is-solid .nav__logo-light { opacity: 0; }
.nav__name { display: flex; flex-direction: column; line-height: 1.15; }
.nav__name strong { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .01em; }
.nav__name small { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative; padding: 10px 14px; border-radius: 99px;
  font-size: 14px; font-weight: 500; text-decoration: none; opacity: .8;
  transition: opacity .3s, background .3s;
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; background: rgba(127, 140, 160, .14); }
.nav .nav__cta { --bg: var(--sonar); --fg: var(--ink); --hover: var(--ink); --hover-fg: var(--ivory); }
.nav__toggle {
  display: none; position: relative;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer;
}
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 26px; }
.menu-open .nav__toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 100px var(--gutter) 40px;
  background: var(--ink); color: var(--ivory);
  clip-path: circle(0 at calc(100% - 46px) 46px);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; }
.menu-open .nav { color: var(--ivory); background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .nav .nav__logo-dark { opacity: 0; }
.menu-open .nav .nav__logo-light { opacity: 1; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line-light);
  font-family: var(--serif); font-size: clamp(36px, 9vw, 56px); line-height: 1.1;
  text-decoration: none;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.menu__links a span { font-family: var(--mono); font-size: 12px; color: var(--sonar); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .15s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .2s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .25s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .3s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .35s; }
.menu-open .menu__links a:nth-child(6) { transition-delay: .4s; }
.menu__insta { font-family: var(--mono); font-size: 13px; color: var(--sonar); text-decoration: none; }

/* ---------- Abertura ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: clamp(32px, 5vw, 80px);
  padding: 112px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 76px;
  background: var(--ink); color: var(--ivory);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__glow {
  position: absolute; right: -10%; top: 10%;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(111, 211, 199, .16), rgba(111, 211, 199, 0));
}
.hero__ring {
  position: absolute; right: 18%; top: 50%;
  width: 640px; height: 640px; margin: -320px -320px 0 0;
  border-radius: 50%; border: 1px solid rgba(111, 211, 199, .16);
  animation: ripple 7.5s linear infinite;
}
.hero__ring:nth-child(3) { animation-delay: -2.5s; }
.hero__ring:nth-child(4) { animation-delay: -5s; }
@keyframes ripple { 0% { transform: scale(.35); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }

.hero__content { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(46px, min(6.2vw, 10.5vh), 100px);
  line-height: .98; letter-spacing: -.02em;
  margin-bottom: 24px;
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .wi { display: inline-block; }
.hero__lead { max-width: 520px; font-size: clamp(17px, 1.4vw, 19px); color: var(--muted-light); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  margin: 0; padding-top: 22px; border-top: 1px solid var(--line-light); max-width: 560px;
}
.hero__stats div { padding-right: clamp(20px, 3vw, 44px); margin-right: clamp(20px, 3vw, 44px); border-right: 1px solid var(--line-light); }
.hero__stats div:last-child { border: 0; margin: 0; padding: 0; }
.hero__stats dt { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1; color: var(--ivory); }
.hero__stats dd { margin: 6px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }

.hero__visual { position: relative; z-index: 1; display: flex; justify-content: center; }
.scan { position: relative; width: min(100%, 500px); aspect-ratio: 739 / 916; }
.scan__frame { position: absolute; inset: 0; clip-path: url(#fanClip); background: var(--ink-2); }
.scan__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 30%; }
.scan__beam {
  position: absolute; left: 50%; top: 3%;
  width: 34%; height: 110%; margin-left: -17%;
  transform-origin: 50% 0;
  background: linear-gradient(90deg, rgba(111, 211, 199, 0), rgba(111, 211, 199, .22) 50%, rgba(111, 211, 199, 0));
  mix-blend-mode: screen;
  animation: sweep 5.5s ease-in-out infinite alternate;
}
@keyframes sweep { from { transform: rotate(-26deg); } to { transform: rotate(26deg); } }
.scan__outline { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.scan__outline path { fill: none; stroke: var(--sonar); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .55; }
.scan__meta {
  position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 4px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--muted-light);
}
.scan__meta--tl { left: -4%; top: -6%; }
.scan__meta--tr { right: -4%; top: -6%; text-align: right; align-items: flex-end; }
.scan__live { display: inline-flex; align-items: center; gap: 6px; color: var(--sonar); }
.scan__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--sonar); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.scan__depth {
  position: absolute; right: -9%; top: 12%; height: 56%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-left: 12px;
  font-family: var(--mono); font-size: 10px; color: var(--muted-light);
  background: repeating-linear-gradient(to bottom, var(--muted-light) 0 1px, transparent 1px 12px) left / 6px 100% no-repeat;
  opacity: .7;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 2;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-light); text-decoration: none;
}
.hero__scroll i { position: relative; width: 1px; height: 44px; background: var(--line-light); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--sonar); animation: drip 2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- Faixa ---------- */
.marquee {
  overflow: hidden; background: var(--sonar); color: var(--ink);
  padding: 22px 0; border-block: 1px solid rgba(10, 22, 40, .15);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); line-height: 1; white-space: nowrap; padding: 0 26px; }
.marquee b {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid var(--ink); position: relative;
}
.marquee b::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__photo { position: relative; margin: 0; }
.about__photo-inner { position: relative; overflow: hidden; border-radius: 240px 240px var(--radius) var(--radius); aspect-ratio: 4 / 5; background: var(--sand); }
.about__photo-inner img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 10%; margin-top: -9%; }
.about__badge {
  position: absolute; right: -6%; bottom: 10%;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px 14px 16px; border-radius: 99px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 24px 50px -24px rgba(10, 22, 40, .35);
}
.about__badge img { width: 42px; }
.about__badge span { display: flex; flex-direction: column; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); line-height: 1.4; }
.about__badge strong { font-family: var(--sans); font-size: 15px; letter-spacing: 0; color: var(--ink); }

.statement {
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.12; letter-spacing: -.01em;
  margin-bottom: 36px;
}
.statement .sw { transition: none; }
.about__body { display: grid; gap: 16px; max-width: 560px; color: var(--muted); }
.about__body strong { color: var(--ink); font-weight: 600; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); }
.pillar { padding: 36px 32px 8px 0; position: relative; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar__num { font-family: var(--mono); font-size: 12px; color: var(--sonar-deep); }
.pillar h3 { font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); margin: 12px 0 10px; }
.pillar p { color: var(--muted); max-width: 320px; }

/* ---------- Exames ---------- */
.exams { overflow: hidden; }
.exams::before {
  content: ""; position: absolute; left: -20%; top: -10%;
  width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(111, 211, 199, .09), transparent);
  pointer-events: none;
}
.exams__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.exams__intro { position: sticky; top: 120px; }
.exams__lead { color: var(--muted-light); margin: 24px 0 36px; max-width: 420px; }
.exams__sample { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 739 / 610; max-width: 440px; border: 1px solid var(--line-light); }
.exams__sample img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) contrast(1.05); }
.exams__sample::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, .6)); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  padding: 10px 18px; border-radius: 99px;
  border: 1px solid var(--line-light); background: transparent; color: var(--muted-light);
  font: 500 14px/1 var(--sans); cursor: pointer;
  transition: background .35s var(--ease), color .35s, border-color .35s;
}
.filter:hover { color: var(--ivory); border-color: rgba(245, 242, 236, .35); }
.filter.is-active { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 220px; padding: 26px 26px 24px;
  border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid var(--line-light);
  transition: border-color .4s, transform .6s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(111, 211, 199, .16), transparent 60%);
  transition: opacity .4s;
}
.card:hover { border-color: rgba(111, 211, 199, .45); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card__num { font-family: var(--mono); font-size: 12px; color: var(--sonar); }
.card h3 { font-family: var(--serif); font-size: 30px; line-height: 1.05; }
.card p { color: var(--muted-light); font-size: 15px; line-height: 1.55; }
.tag {
  margin-top: auto; align-self: flex-start;
  padding: 6px 12px; border-radius: 99px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--sonar-soft); color: var(--sonar);
}
.tag--free { background: rgba(245, 242, 236, .07); color: var(--muted-light); }
.card.is-hidden { display: none; }

/* ---------- Preparo ---------- */
.prep { background: var(--paper); position: relative; overflow: hidden; }
.prep__pin { padding: 88px 0 36px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.prep .h2 { font-size: clamp(40px, 4.8vw, 66px); }
.prep__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.prep__side p { color: var(--muted); max-width: 420px; }
.prep__progress { display: flex; align-items: center; gap: 16px; margin-top: 24px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.prep__progress i { flex: 1; max-width: 240px; height: 1px; background: var(--line); position: relative; }
.prep__progress b { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(.2); }
.prep__viewport { overflow: hidden; }
.prep__track {
  display: flex; gap: 18px; width: max-content;
  padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.step {
  position: relative; flex: 0 0 auto;
  width: clamp(290px, 30vw, 400px); min-height: min(400px, 48vh);
  display: flex; flex-direction: column;
  padding: 32px; border-radius: var(--radius);
  background: var(--ivory); border: 1px solid var(--line);
}
.step__index { position: absolute; top: 28px; right: 30px; font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--sand); }
.step__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); margin-bottom: auto; }
.step__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-family: var(--serif); font-size: 40px; line-height: 1; margin: 48px 0 10px; }
.step__for { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--sonar-deep); margin-bottom: 14px; line-height: 1.6; }
.step p:last-child { color: var(--muted); font-size: 16px; }
.step--accent { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.step--accent .step__index { color: var(--ink-3); }
.step--accent .step__icon { background: var(--ink-2); border-color: var(--line-light); }
.step--accent .step__icon svg { stroke: var(--sonar); }
.step--accent .step__for { color: var(--sonar); }
.step--accent p:last-child { color: var(--muted-light); }
.prep__note { margin-top: 32px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.prep__note::before { content: "i"; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font: 600 11px/1 var(--mono); }

/* ---------- Atualização ---------- */
.update { overflow: hidden; }
.update__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.update__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.update__lead { color: var(--muted-light); max-width: 440px; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: start; }
.gallery__item { margin: 0; }
.gallery__item--a { grid-column: 1 / span 5; }
.gallery__item--b { grid-column: 6 / span 3; margin-top: 18%; }
.gallery__item--c { grid-column: 9 / span 4; margin-top: 6%; }
.gallery__img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--ink-2); }
.gallery__item--b .gallery__img { aspect-ratio: 3 / 4.4; }
.gallery__img img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; }
.gallery figcaption { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }

/* ---------- Onde atendo ---------- */
.where__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.where__lead { color: var(--muted); margin-top: 24px; max-width: 580px; }
.clinic__label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

/* agenda geral */
.agenda {
  position: relative; overflow: hidden;
  padding: clamp(24px, 3.5vw, 40px); margin-bottom: 18px;
  border-radius: var(--radius); background: var(--ink); color: var(--ivory);
}
.agenda__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 22px; }
.agenda__head .clinic__label { color: var(--muted-light); margin: 0; }
.agenda__head a { font-family: var(--mono); font-size: 12px; color: var(--sonar); text-decoration: none; }
.agenda__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.agenda__item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 8px; align-items: center;
  padding: 16px; border-radius: 18px;
  background: var(--ink-2); border: 1px solid var(--line-light);
  transition: border-color .4s, transform .6s var(--ease);
}
.agenda__item:hover { border-color: rgba(111, 211, 199, .45); transform: translateY(-3px); }
.agenda__date {
  grid-row: span 2;
  width: 66px; height: 66px; border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  background: var(--sonar); color: var(--ink); text-decoration: none;
}
.agenda__date b { font-family: var(--serif); font-size: 32px; font-weight: 600; }
.agenda__date span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
.agenda__info strong { display: block; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.1; }
.agenda__info span { display: block; font-size: 13px; color: var(--muted-light); line-height: 1.4; margin-top: 2px; }
.agenda__cta { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--sonar); text-decoration: none; }
.agenda__cta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.agenda__cta:hover svg { transform: translateX(4px); }
.agenda__empty { display: none; color: var(--muted-light); }
.agenda.is-empty .agenda__list { display: none; }
.agenda.is-empty .agenda__empty { display: block; }

/* clínicas */
.clinics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.clinic {
  display: flex; flex-direction: column; gap: 24px;
  padding: clamp(26px, 3.4vw, 40px); border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  scroll-margin-top: 100px;
  transition: border-color .4s, box-shadow .5s var(--ease);
}
.clinic:hover { border-color: rgba(30, 127, 118, .35); box-shadow: 0 30px 60px -40px rgba(10, 22, 40, .35); }
.chip { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--sonar-soft); color: var(--sonar-deep); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.clinic h3 { font-family: var(--serif); font-size: clamp(38px, 3.8vw, 52px); line-height: 1; margin: 16px 0 6px; letter-spacing: .01em; }
.clinic__desc { color: var(--muted); }
.dates { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.dates[hidden], .dates li[hidden] { display: none; }
.dates li { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--line); }
.dates li b { font-family: var(--serif); font-size: 30px; line-height: 1; font-weight: 600; }
.dates li span { font-size: 13px; color: var(--muted); line-height: 1.3; }
.clinic__contacts { list-style: none; margin: 0 0 auto; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.clinic__contacts li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.clinic__contacts svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--sonar-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.clinic__contacts a { white-space: nowrap; text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.clinic__contacts a:hover { background-size: 100% 1px; }
.clinic__cta { align-self: flex-start; }

.insta {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 24px 32px;
  margin-top: 18px; padding: clamp(26px, 3.4vw, 40px); border-radius: var(--radius);
  background: var(--ink); color: var(--ivory);
}
.insta__text { flex: 1; }
.insta .btn { flex-shrink: 0; }
.insta__rings { position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; z-index: -1; }
.insta__rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(111, 211, 199, .25); animation: ripple 6s linear infinite; }
.insta__rings span:nth-child(2) { animation-delay: -2s; }
.insta__rings span:nth-child(3) { animation-delay: -4s; }
.insta__icon { width: 48px; height: 48px; flex-shrink: 0; fill: none; stroke: var(--sonar); stroke-width: 1.4; }
.insta h3 { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; margin-bottom: 6px; }
.insta p { color: var(--muted-light); max-width: 620px; }

/* ---------- Dúvidas ---------- */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head > p:last-child { color: var(--muted); margin-top: 24px; max-width: 360px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2;
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--sonar-deep); }
.qa summary i { position: relative; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { background: var(--ink); border-color: var(--ink); color: var(--ivory); transform: rotate(180deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa.is-closing summary i { background: transparent; border-color: var(--line); color: inherit; transform: none; }
.qa.is-closing summary i::after { transform: rotate(90deg); }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 64px 28px 0; color: var(--muted); }
.qa__body a { color: var(--sonar-deep); }

/* ---------- Chamada final ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 15vw, 200px) 0; text-align: center; }
.cta__rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.cta__rings span { position: absolute; left: -45vmax; top: -45vmax; width: 90vmax; height: 90vmax; border-radius: 50%; border: 1px solid rgba(111, 211, 199, .14); animation: ripple 9s linear infinite; }
.cta__rings span:nth-child(2) { animation-delay: -2.25s; }
.cta__rings span:nth-child(3) { animation-delay: -4.5s; }
.cta__rings span:nth-child(4) { animation-delay: -6.75s; }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__logo { width: 84px; margin-bottom: 36px; }
.cta__title { font-family: var(--serif); font-size: clamp(44px, 7vw, 104px); line-height: 1; letter-spacing: -.02em; max-width: 1000px; margin-bottom: 44px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: var(--muted-light); border-top: 1px solid var(--line-light); padding: 64px 0 32px; font-size: 15px; }
.footer__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__brand img { width: 52px; }
.footer__brand div { display: flex; flex-direction: column; line-height: 1.5; }
.footer__brand strong { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ivory); }
.footer__brand span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.footer__nav a, .footer__insta { text-decoration: none; transition: color .3s; }
.footer__nav a:hover, .footer__insta:hover { color: var(--sonar); }
.footer__insta { display: inline-flex; align-items: center; gap: 10px; color: var(--ivory); }
.footer__insta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 28px; font-size: 13px; }

/* ---------- Botão flutuante ---------- */
.float-cta {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 99px;
  background: var(--sonar); color: var(--ink);
  font: 600 14px/1 var(--sans); text-decoration: none;
  box-shadow: 0 18px 40px -16px rgba(10, 22, 40, .55);
  transform: translateY(140%); opacity: 0;
  transition: transform .6s var(--ease), opacity .4s;
}
.float-cta.is-visible { transform: none; opacity: 1; }
.float-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav__cta { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 104px; padding-bottom: 80px; gap: 32px; }
  .hero__visual { order: -1; }
  .scan { width: min(60%, 320px); }
  .hero__ring { right: 50%; top: 28%; }
  .hero__actions { margin-bottom: 40px; }
  .hero__scroll { display: none; }
  .about__grid, .exams__grid, .faq__grid, .clinics, .prep__head, .update__head { grid-template-columns: minmax(0, 1fr); }
  .insta { flex-direction: column; align-items: flex-start; }
  .about__photo { max-width: 460px; }
  .about__badge { right: 12px; }
  .exams__intro, .faq__head { position: static; }
  .exams__sample { display: none; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .prep__pin { min-height: 0; }
  .prep__track { flex-direction: column; width: 100%; }
  .step { width: 100%; min-height: 0; }
  .step__icon { margin-bottom: 0; }
  .step h3 { margin-top: 28px; }
  .prep__progress { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item--a { grid-column: 1 / -1; }
  .gallery__item--b, .gallery__item--c { grid-column: auto; margin-top: 0; }
  .gallery__item--a .gallery__img { aspect-ratio: 4 / 3.6; }
}

@media (max-width: 600px) {
  .nav { top: 10px; padding-left: 12px; }
  .nav__name small { display: none; }
  .scan__meta, .scan__depth { display: none; }
  .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__stats div { padding-right: 12px; margin-right: 12px; }
  .hero__stats dt { font-size: 24px; }
  .hero__stats dd { font-size: 10px; letter-spacing: .08em; }
  .about__badge { right: 8px; bottom: 6%; padding: 10px 16px 10px 12px; }
  .about__badge img { width: 34px; }
  .card { padding: 22px; }
  .card h3 { font-size: 27px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .qa__body p { padding-right: 0; }
  .float-cta span { display: none; }
  .float-cta { width: 52px; padding: 0; justify-content: center; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__ring, .cta__rings, .insta__rings, .scan__beam { display: none; }
  .js .loader { display: none; }
}
