:root {
  --bg: #F4F4F0;
  --bg-tint: #EAF3F4;
  --surface: #FFFFFF;
  --ink: #111318;
  --muted: #565B66;
  --line: rgba(17, 19, 24, .09);
  --violet: #500573;
  --lilac: #8B6CF0;
  --blue: #00779B;
  --teal: #00C9B7;
  --brand: linear-gradient(100deg, #500573 0%, #2B5AA8 42%, #00779B 68%, #00C9B7 100%);
  --fluid: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.175, .885, .32, 1.275);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Inter', system-ui, sans-serif; font-size: 17px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h2 { font-size: clamp(2.2rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
h3 { font-size: 1.35rem; line-height: 1.15; letter-spacing: -.025em; font-weight: 700; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet); color: #fff; }

.sprite { position: absolute; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 136px); }
.section-tint { background: var(--bg-tint); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow, .tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); font-weight: 500; }
.eyebrow { margin-bottom: 20px; }
.muted { color: var(--muted); font-size: 1.1rem; }
.fine { color: var(--muted); font-size: .82rem; margin-top: 28px; max-width: 72ch; }
.glass { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .7); }
.grad-text { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Botões */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: transform .3s var(--spring), background .3s, color .3s, border-color .3s, box-shadow .3s; white-space: nowrap; }
.pill:hover { transform: scale(1.03); }
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { background: var(--blue); }
.pill-line { border: 1px solid rgba(17, 19, 24, .22); }
.pill-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill-white { background: #fff; color: var(--ink); }
.pill-ghost { border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.pill-ghost:hover { background: #fff; color: var(--ink); }

.beam { position: relative; display: inline-flex; padding: 2px; border-radius: 999px; overflow: hidden; background: rgba(0, 119, 155, .25); isolation: isolate; transition: transform .3s var(--spring), box-shadow .3s; }
.beam:hover { transform: scale(1.03); box-shadow: 0 16px 44px -12px rgba(0, 119, 155, .55); }
.beam-spin { position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; margin: -320px 0 0 -320px; background: conic-gradient(from 0deg, transparent 0 300deg, #00E0CC 345deg, #fff 360deg); animation: spin 3s linear infinite; }
.beam-in { position: relative; display: flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem; white-space: nowrap; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Navegação */
.nav-wrap { position: fixed; inset: 16px 0 auto; z-index: 50; display: flex; justify-content: center; padding-inline: 16px; }
.nav { width: min(1120px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 8px 8px 20px; border-radius: 999px; box-shadow: 0 10px 40px -14px rgba(17, 19, 24, .22); border-color: rgba(17, 19, 24, .06); }
.brand img { width: 138px; }
.nav nav { display: flex; gap: 32px; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav nav a { transition: color .25s; }
.nav nav a:hover { color: var(--ink); }
.nav .pill { padding: 12px 22px; font-size: .85rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(128px, 16vh, 168px); text-align: center; }
.grid-tech { position: absolute; inset: 0; pointer-events: none; background-size: 44px 44px; background-image: linear-gradient(to right, rgba(0, 0, 0, .035) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, .035) 1px, transparent 1px); -webkit-mask-image: radial-gradient(ellipse at 50% 22%, #000 10%, transparent 68%); mask-image: radial-gradient(ellipse at 50% 22%, #000 10%, transparent 68%); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; animation: float 9s ease-in-out infinite; }
.blob-a { width: 620px; height: 620px; top: -8%; right: -6%; background: rgba(139, 108, 240, .32); }
.blob-b { width: 560px; height: 560px; top: 12%; left: -10%; background: rgba(0, 224, 204, .26); animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-26px); } }
.hero-copy { position: relative; z-index: 2; width: min(1100px, 100% - 40px); margin-inline: auto; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .7); font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.ping { position: relative; width: 8px; height: 8px; }
.ping i { position: absolute; inset: 0; border-radius: 50%; background: var(--teal); }
.ping i:first-child { animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { to { transform: scale(2.6); opacity: 0; } }
h1 { font-size: clamp(3.2rem, min(9vw, 13.5vh), 8.6rem); line-height: .94; letter-spacing: -.06em; font-weight: 800; margin-bottom: 30px; }
.mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.mask > span { display: inline-block; padding-right: .04em; }
.js .mask > span { transform: translateY(112%) rotate(2deg); opacity: 0; transform-origin: top left; transition: transform 1.3s var(--fluid), opacity 1.3s var(--fluid); }
.js .ready .mask > span, .ready .mask > span { transform: none; opacity: 1; }
.mask:nth-child(2) > span { transition-delay: .09s; }
.mask:nth-child(3) > span { transition-delay: .18s; }
.lead { max-width: 620px; margin: 0 auto 36px; font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); font-weight: 400; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.stage { position: relative; z-index: 2; width: min(1240px, 100% - 40px); margin: clamp(56px, 7vw, 88px) auto 0; display: grid; grid-template-columns: 1fr 2.5fr 1fr; align-items: end; gap: 20px; perspective: 1400px; }
.stage figure { overflow: hidden; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(40, 30, 110, .38); }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage-main { position: relative; aspect-ratio: 3 / 2; overflow: visible !important; transform: rotateX(var(--tilt, 12deg)); transform-origin: bottom; transition: transform .15s linear; }
.stage-main img { border-radius: 28px; }
.stage-side { aspect-ratio: 3 / 4; }
.stage-left { transform: translateY(var(--lift, 44px)) rotate(-4deg); margin-right: -46px; z-index: 3; }
.stage-right { transform: translateY(var(--lift, 44px)) rotate(4deg); margin-left: -46px; z-index: 3; }
.stage-left, .stage-right { transition: transform .15s linear; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: .86rem; font-weight: 600; box-shadow: 0 14px 34px -14px rgba(17, 19, 24, .4); animation: float 7s ease-in-out infinite; white-space: nowrap; }
.chip .ico { color: var(--blue); }
.chip-a { top: 7%; left: 7%; }
.chip-b { bottom: 8%; right: 7%; animation-delay: -3s; }

.marquee { position: relative; z-index: 4; margin-top: clamp(72px, 8vw, 104px); border-block: 1px solid var(--line); background: rgba(255, 255, 255, .8); padding: 16px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: slide 34s linear infinite; }
.marquee-track span { font-family: var(--mono); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Glow card */
.glow { position: relative; overflow: hidden; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); border-radius: 24px; transition: transform .45s var(--fluid), box-shadow .45s var(--fluid), border-color .4s; }
.glow:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -18px rgba(0, 119, 155, .3); border-color: rgba(0, 119, 155, .28); }
.glow::after { content: ''; position: absolute; width: 560px; height: 560px; left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(0, 224, 204, .2), transparent 62%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.glow:hover::after { opacity: 1; }

/* Convênios */
.plans-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.plans-head h2 { margin-bottom: 22px; }
.logos { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logos-track { display: flex; width: max-content; animation: slide 42s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos-set { display: flex; flex: none; align-items: center; gap: 14px; padding: 0 7px 0 7px; margin: 0; list-style: none; }
.logos-set li { display: grid; place-items: center; flex: none; width: 176px; height: 88px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.logos-set img { display: block; width: auto; height: auto; max-width: 100%; max-height: 54px; }
.logo-word { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink, #111318); }
.plan-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--blue); }
.plans .fine { margin-inline: auto; text-align: center; }

/* Cuidados */
.split-head { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 48px; margin-bottom: 56px; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: auto; gap: 18px; }
.card { border-radius: 24px; position: relative; overflow: hidden; display: block; }
.card h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin: 10px 0; }
.card p { color: var(--muted); font-size: 1rem; }
.card-photo { grid-column: span 7; min-height: 330px; }
.card-tall { grid-column: span 5; grid-row: span 2; min-height: 620px; }
.card-tall img { object-position: 50% 0; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--fluid); }
.card-photo:hover img { transform: scale(1.05); }
.card-photo .glass { background: rgba(255, 255, 255, .86); }
.card-body { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 20px 22px; border-radius: 18px; }
.card-text { grid-column: span 7; padding: 30px; min-height: 220px; display: flex; flex-direction: column; align-items: flex-start; }
.card-text .plan-cta { margin-top: auto; padding-top: 22px; }
.card-wide .tag { width: 100%; }
.card-wide h3 { margin: 0; }
.card-wide .plan-cta { margin: 0 0 0 auto; padding: 0; }
.card-wide { grid-column: span 12; min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 28px; background: linear-gradient(110deg, rgba(139, 108, 240, .14), rgba(0, 224, 204, .16)), #fff; }

/* Clínica */
.clinic { position: relative; overflow: hidden; padding-bottom: 0; }
.watermark { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); font-size: clamp(5rem, 19vw, 18rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(0, 119, 155, .15); white-space: nowrap; pointer-events: none; }
.clinic-grid { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-top: clamp(24px, 6vw, 80px); }
.clinic-copy h2 { margin-bottom: 22px; font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.points { margin-top: 28px; display: grid; gap: 12px; }
.points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.points .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #fff; background: var(--brand); }
.clinic-photos { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: center; }
.clinic-photos figure { overflow: hidden; border-radius: 24px; box-shadow: 0 30px 60px -28px rgba(17, 19, 24, .35); }
.clinic-photos figure:first-child { aspect-ratio: 4 / 5; }
.clinic-photos figure:last-child { aspect-ratio: 1; transform: translateY(40px); }
.clinic-photos img { width: 100%; height: 100%; object-fit: cover; }
.strip { margin-top: clamp(80px, 9vw, 120px); overflow: hidden; }
.strip-track { display: flex; gap: 16px; width: max-content; animation: slide 60s linear infinite; }
.strip-track img { height: clamp(220px, 26vw, 340px); width: auto; border-radius: 20px; object-fit: cover; }

/* Passos */
.center-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { padding: 30px; }
.step-n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 44px; }
.steps h3 { margin-bottom: 10px; font-size: 1.5rem; }
.steps p { color: var(--muted); }

/* Dúvidas */
.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 88px); }
.faq-head h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin-bottom: 28px; }
.faq { display: grid; gap: 10px; align-content: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 18px 40px -22px rgba(0, 119, 155, .45); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--blue); transition: transform .35s var(--fluid); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq p { padding: 0 22px 22px; color: var(--muted); font-size: 1rem; }

/* CTA */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 68px); border-radius: 36px; color: #fff; background: linear-gradient(120deg, #6B4DE0 0%, #1F7FC4 50%, #00BFAE 100%); }
.cta-ring { position: absolute; width: 560px; height: 560px; left: -180px; bottom: -280px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .12); overflow: hidden; }
.cta-ring::after { content: ''; position: absolute; inset: 50% 0 0; background: rgba(255, 255, 255, .1); }
.cta-copy { position: relative; }
.cta h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); margin-bottom: 22px; }
.on-color { color: #fff; opacity: .9; }
.cta address { font-style: normal; display: flex; align-items: center; gap: 9px; margin-bottom: 28px; font-weight: 500; }
.cta .actions { justify-content: flex-start; }
.phone { display: inline-block; margin-top: 22px; font-family: var(--mono); font-size: 1rem; font-weight: 500; }
.cta-photo { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 5 / 4; box-shadow: 0 30px 60px -24px rgba(10, 20, 70, .55); }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Rodapé */
.footer { padding-bottom: 48px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 36px; border-top: 1px solid var(--line); }
.footer-top img { width: 170px; }
.footer-top p, .footer-top a { color: var(--muted); font-size: .95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; color: var(--muted); font-size: .8rem; }
.privacy-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Modal */
dialog { width: min(620px, 100% - 32px); border: 0; border-radius: 24px; padding: 0; color: var(--ink); box-shadow: 0 40px 100px -20px rgba(17, 19, 24, .5); }
dialog::backdrop { background: rgba(244, 244, 240, .75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dialog-content { position: relative; padding: 36px; display: grid; gap: 14px; font-size: .98rem; color: var(--muted); }
.dialog-content h2 { font-size: 1.9rem; color: var(--ink); padding-right: 40px; }
.close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.3rem; cursor: pointer; }
.text-link { color: var(--blue); font-weight: 600; text-decoration: underline; }

.mobile-contact { display: none; }

/* Movimento */
.js .enter { opacity: 0; transform: translateY(26px); filter: blur(12px); transition: opacity 1.1s var(--fluid), transform 1.1s var(--fluid), filter 1.1s var(--fluid); }
.ready .enter { opacity: 1 !important; transform: none !important; filter: none !important; }
.d2 { transition-delay: .25s !important; }
.d3 { transition-delay: .38s !important; }
.d4 { transition-delay: .5s !important; }
.js .reveal { opacity: 0; translate: 0 30px; filter: blur(12px); transition: opacity 1.1s var(--fluid), translate 1.1s var(--fluid), filter 1.1s var(--fluid), transform .45s var(--fluid), box-shadow .45s var(--fluid), border-color .4s; }
.js .reveal.in { opacity: 1; translate: 0 0; filter: none; }

/* Tablet */
@media (max-width: 960px) {
  .nav nav { display: none; }
  .split-head, .clinic-grid, .faq-grid, .cta { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .card-photo, .card-tall, .card-text, .card-wide { grid-column: auto; grid-row: auto; }
  .card-photo { min-height: 420px; }
}

/* Celular: conteúdo centralizado; dúvidas e cartões de lista à esquerda */
@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { width: min(1280px, 100% - 32px); }
  .nav { padding: 6px 6px 6px 14px; }
  .brand img { width: 112px; }
  .nav .pill { display: none; }
  .nav { justify-content: center; padding: 8px 14px; width: auto; }
  .hero { padding-top: 104px; }
  .actions { flex-direction: column; align-items: stretch; }
  .beam, .beam-in, .actions .pill { justify-content: center; width: 100%; }
  .stage { grid-template-columns: 1fr 1fr; gap: 12px; width: calc(100% - 32px); }
  .stage-main { grid-column: 1 / -1; order: -1; transform: none; }
  .stage figure, .stage-main img { border-radius: 20px; }
  .stage-left, .stage-right { margin: 0; transform: none; }
  .chip { font-size: .76rem; padding: 8px 12px; }
  .chip-a { top: 10px; left: 10px; }
  .chip-b { bottom: 10px; right: 10px; }
  .section, .split-head, .clinic-copy, .faq-head, .cta-copy { text-align: center; }
  .split-head { gap: 16px; }
  .logos-set { gap: 10px; padding: 0 5px; }
  .logos-set li { width: 132px; height: 72px; padding: 12px 14px; }
  .logos-set img { max-height: 44px; }
  .logo-word { font-size: 1rem; }
  .card-text { align-items: center; justify-content: center; }
  .card-wide { flex-direction: column; }
  .card-wide .plan-cta { margin: 10px 0 0; }
  .card-body { text-align: center; }
  .points { justify-items: center; }
  .points li { text-align: left; }
  .clinic-photos { grid-template-columns: 1fr 1fr; }
  .clinic-photos figure:last-child { transform: none; }
  .clinic-photos figure:first-child, .clinic-photos figure:last-child { aspect-ratio: 4 / 5; }
  .steps li { text-align: center; }
  .step-n { margin: 0 auto 20px; }
  .faq { text-align: left; }
  .cta { padding: 28px 22px; border-radius: 26px; }
  .cta address { justify-content: center; text-align: left; }
  .cta .actions { justify-content: center; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .mobile-contact { display: inline-flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; box-shadow: 0 14px 34px -10px rgba(17, 19, 24, .55); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .enter, .js .reveal, .js .mask > span { opacity: 1; transform: none; translate: 0 0; filter: none; }
  .logos { -webkit-mask-image: none; mask-image: none; }
  .logos-track { width: auto; }
  .logos-set { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; }
  .logos-set[aria-hidden] { display: none; }
}
