/* Dr. Luciano Vasconcelos — marinho + amarelo do logo */
:root {
  --navy: #0B2149; --deep: #071835; --abyss: #050F24; --surface: #12305F; --line: #27467E;
  --gold: #F5C232; --gold-soft: rgb(245 194 50 / 0.16);
  --ink: #FFFFFF; --text: #E6ECF5; --muted: #B3C1DA;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: 'Marcellus', Georgia, serif;
  --label: 'Montserrat', system-ui, sans-serif;
  --sans: 'Source Sans 3', system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--navy); overflow-x: clip; }
body { font: 400 18px/1.6 var(--sans); color: var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.skip { min-height: 44px; display: inline-flex; align-items: center; position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--navy); padding: 12px 18px; border-radius: 999px; font: 600 15px/1 var(--label); }
.skip:focus { left: 12px; }
em { font-style: normal; color: var(--gold); }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec--band { background: var(--deep); }
.eyebrow { font: 600 12px/1 var(--label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 2px; background: var(--gold); flex: none; }
.h2 { font: 400 clamp(38px, 5.4vw, 72px)/1.04 var(--display); letter-spacing: -0.02em; color: var(--ink); margin: 0 0 28px; max-width: 15ch; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 38ch; margin: 0 0 36px; }

/* pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 15px/1 var(--label); text-decoration: none; transition: transform 220ms var(--ease), background 220ms, box-shadow 220ms; }
.pill svg { width: 20px; height: 20px; }
.pill--gold { background: var(--gold); color: var(--navy); }
.pill--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgb(245 194 50 / 0.6); }
.pill--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.55); }
.pill--ghost:hover { background: rgb(255 255 255 / 0.1); }

/* nav */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; padding: 12px clamp(16px, 4vw, 40px); padding-top: max(12px, env(safe-area-inset-top)); transition: background 300ms var(--ease), box-shadow 300ms; }
.nav.is-solid, .nav.is-open { background: rgb(7 24 53 / 0.9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgb(255 255 255 / 0.07); }
.nav__brand { display: flex; align-items: center; min-height: 48px; }
.nav__brand img { height: 42px; width: auto; }
.nav__links { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; color: var(--text); text-decoration: none; font: 600 14px/1 var(--label); border-radius: 999px; }
.nav__links a:hover { color: var(--gold); }
.nav__wa { display: none !important; }
.nav__cta { min-height: 48px; padding: 0 22px; }
.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.08); color: var(--ink); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 300ms var(--ease), top 300ms var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 27px; }
.nav.is-open .burger span:first-child { top: 23px; transform: rotate(45deg); }
.nav.is-open .burger span:last-child { top: 23px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav { gap: 10px; }
  .nav__brand img { height: 34px; }
  .nav__cta { margin-left: auto; padding: 0 18px; }
  .burger { display: block; }
  .nav__links { position: absolute; top: 0; left: 0; width: 100vw; height: 100svh; z-index: -1; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; padding: 96px 24px 40px; background: var(--abyss); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s 300ms; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__links a { min-height: 60px; font: 400 34px/1 var(--display); padding: 0 8px; border-bottom: 1px solid rgb(255 255 255 / 0.08); border-radius: 0; }
  .nav__wa { display: inline-flex !important; margin-top: 18px; justify-content: center; border: 0 !important; border-radius: 999px !important; background: var(--gold); color: var(--navy) !important; font: 600 16px/1 var(--label) !important; }
}
@media (max-width: 380px) { .nav__brand img { height: 28px; } .nav__cta { padding: 0 14px; font-size: 14px; } }

/* ---------- stage ---------- */
.stage { position: relative; }
.stage__pin { position: relative; min-height: 100svh; overflow: hidden; }
.js .stage__pin { position: sticky; top: 0; height: 100svh; }
.js .hero { height: 360svh; }
.hero .stage__pin { background: radial-gradient(120% 90% at 70% 10%, #143a74 0%, var(--navy) 45%, var(--abyss) 100%); }
.grid { position: absolute; inset: 0; opacity: 0.5; background-image: linear-gradient(rgb(245 194 50 / 0.05) 1px, transparent 1px), linear-gradient(90deg, rgb(245 194 50 / 0.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(80% 70% at 50% 55%, #000 30%, transparent 100%); }

.ecg { position: absolute; left: 0; right: 0; top: 62%; height: 22vh; transform: translateY(-50%); z-index: 2; pointer-events: none; }
.ecg svg { width: 100%; height: 100%; overflow: visible; }
.ecg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ecg__ghost { stroke: rgb(255 255 255 / 0.08); stroke-width: 2; }
.ecg__glow { stroke: rgb(245 194 50 / 0.35); stroke-width: 10; filter: blur(6px); }
.ecg__trace { stroke: var(--gold); stroke-width: 3; }
.ecg__dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgb(245 194 50 / 0.3), 0 0 24px 6px rgb(245 194 50 / 0.7); }

.hero__copy { position: absolute; z-index: 4; left: clamp(20px, 6vw, 96px); right: clamp(20px, 6vw, 96px); top: 15svh; max-width: 900px; }
.hero__title { font: 400 clamp(52px, 8.6vw, 132px)/0.98 var(--display); letter-spacing: -0.03em; color: var(--ink); margin: 0 0 24px; }
.hero__sub { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 36ch; margin: 0 0 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__lines { position: absolute; z-index: 6; left: 0; right: 0; top: 22svh; padding: 0 clamp(20px, 6vw, 96px); text-align: center; pointer-events: none; }
.hero__line { margin: 0; font: 400 clamp(40px, 6.4vw, 96px)/1.02 var(--display); letter-spacing: -0.02em; color: var(--ink); opacity: 0; }
.hero__line--2 { color: var(--muted); }

.portrait { position: absolute; z-index: 8; right: clamp(24px, 6vw, 88px); top: 50%; width: min(36vw, 400px); margin: 0; opacity: 0; will-change: transform, opacity; transform: translate3d(0, calc(-50% + 28px), 0) scale(0.96); }
.portrait__frame { position: relative; z-index: 1; border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--deep); box-shadow: 0 28px 70px -24px rgb(0 0 0 / 0.65); }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.portrait figcaption { margin-top: 14px; }
.portrait figcaption b { display: block; font: 400 clamp(16px, 1.5vw, 22px)/1.25 var(--display); color: var(--ink); }
.portrait figcaption span { display: block; margin-top: 4px; font: 600 11px/1.5 var(--label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

.readout { position: absolute; z-index: 6; left: clamp(16px, 4vw, 40px); right: clamp(16px, 4vw, 40px); bottom: 22px; display: flex; align-items: center; gap: 18px; font: 600 11px/1 var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.readout b { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 600; }
.readout__bar { flex: 1; height: 1px; background: rgb(255 255 255 / 0.15); position: relative; }
.readout__bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.hint { position: absolute; z-index: 6; left: 50%; bottom: 52px; transform: translateX(-50%); margin: 0; padding: 8px 16px; border-radius: 999px; background: rgb(255 255 255 / 0.08); font: 600 11px/1 var(--label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
@media (max-width: 767px) {
  .js .hero { height: 340svh; }
  .hero__copy { top: 13svh; }
  .hero__ctas .pill { flex: 1 1 100%; }
  .ecg { top: 68%; height: 16vh; }
  .hero__lines { top: 16svh; }
  .hero__line { font-size: clamp(32px, 10vw, 44px); }
  .portrait { right: auto; left: 50%; top: auto; bottom: 88px; width: min(68vw, 280px); transform: translate3d(-50%, 28px, 0) scale(0.96); }
  .readout span:last-child { display: none; }
  .hint { display: none; }
}
@media (max-height: 760px) and (min-width: 768px) {
  .hero__copy { top: 13svh; }
  .hero__title { font-size: clamp(48px, 7vw, 100px); }
  .portrait { width: min(32vw, 340px); }
}

/* ---------- sobre ---------- */
.sobre { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.sobre__photo { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
.sobre__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.facts { margin: 0; border-top: 1px solid rgb(255 255 255 / 0.12); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.facts dt { font: 600 11px/1.9 var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .sobre { grid-template-columns: 1fr; } .sobre__photo { aspect-ratio: 4 / 4.4; } .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- atendimento ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.svc { position: relative; padding: 34px 30px; border-radius: 28px; background: var(--surface); }
.svc__n { display: block; font: 400 56px/1 var(--display); color: rgb(245 194 50 / 0.9); margin-bottom: 26px; }
.svc h3 { font: 400 28px/1.1 var(--display); color: var(--ink); margin: 0 0 12px; }
.svc p { color: var(--muted); margin: 0 0 20px; font-size: 17px; }
.svc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc li { position: relative; padding-left: 20px; font-size: 16px; color: var(--text); }
.svc li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.svc--gold { background: var(--abyss); box-shadow: inset 0 0 0 1.5px var(--gold); }
.svc__tag { position: absolute; top: 34px; right: 28px; padding: 7px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); font: 700 10px/1 var(--label); letter-spacing: 0.14em; text-transform: uppercase; }
.chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: var(--gold-soft); color: var(--ink); font: 600 13px/1.2 var(--label); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } }

/* ---------- reel ---------- */
.js .reel { height: 460svh; }
.reel .stage__pin { background: var(--navy); }
.reel__pin { display: flex; align-items: center; }
.reel__intro { flex: none; align-self: stretch; display: flex; flex-direction: column; justify-content: center; width: 36vw; padding: 0 4vw 0 6vw; position: relative; z-index: 2; background: linear-gradient(90deg, var(--navy) 84%, transparent); }
.reel__intro .h2 { max-width: 9ch; }
.reel__lead { color: var(--muted); max-width: 30ch; margin: 0 0 30px; }
.reel__count { display: flex; align-items: center; gap: 10px; font: 600 12px/1 var(--label); letter-spacing: 0.16em; color: var(--muted); margin: 0; }
.reel__count .now { color: var(--gold); }
.reel__count .bar { flex: 1; max-width: 160px; height: 2px; background: rgb(255 255 255 / 0.15); position: relative; }
.reel__count .bar span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.reel__track { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; will-change: transform; }
.card { flex: none; width: clamp(19rem, 27vw, 25rem); min-height: 470px; display: flex; flex-direction: column; padding: 30px 28px; border-radius: 28px; background: var(--surface); transform-origin: bottom; }
.card__region { margin: 0 0 6px; font: 600 11px/1 var(--label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.card__city { margin: 0 0 22px; font: 400 clamp(34px, 3vw, 44px)/1 var(--display); color: var(--ink); }
.card h3 { margin: 0 0 14px; font: 700 18px/1.25 var(--label); color: var(--ink); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; }
.tags li { padding: 7px 11px; border-radius: 999px; background: rgb(255 255 255 / 0.08); font: 600 12px/1 var(--label); color: var(--text); }
.tags .tag--gold { background: var(--gold); color: var(--navy); }
.card address { font-style: normal; color: var(--muted); font-size: 16px; line-height: 1.5; margin: 0 0 22px; }
.card__acts { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.mini { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 999px; background: rgb(255 255 255 / 0.08); color: var(--ink); text-decoration: none; font: 600 14px/1 var(--label); transition: background 200ms; }
.mini:hover { background: rgb(255 255 255 / 0.16); }
.mini--map { background: var(--gold); color: var(--navy); }
.mini--map:hover { background: #ffd34f; }
@media (max-width: 767px) {
  .js .reel { height: 420svh; }
  .reel__pin { flex-direction: column; align-items: stretch; justify-content: center; }
  .reel__intro { width: auto; padding: 76px 20px 0; align-self: auto; background: none; }
  .reel__intro .h2 { font-size: 38px; margin-bottom: 10px; max-width: none; }
  .reel__lead { font-size: 15px; margin-bottom: 14px; }
  .reel__track { margin-top: 18px; padding-left: 20px; gap: 14px; }
  .card { width: 80vw; min-height: 0; padding: 24px 22px; }
  .card__city { font-size: 32px; margin-bottom: 14px; }
  .card address { font-size: 15px; margin-bottom: 16px; }
}
/* no JS / reduced motion: native sideways scroll */
html:not(.js) .reel__pin, .static .reel__pin { flex-direction: column; align-items: stretch; padding: 90px 0 60px; }
html:not(.js) .reel__intro, .static .reel__intro { width: auto; padding: 0 20px 24px; background: none; }
html:not(.js) .reel__track, .static .reel__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 20px; }
html:not(.js) .card, .static .card { scroll-snap-align: start; }
.static .reel { height: auto; } .static .reel .stage__pin { position: relative; height: auto; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { padding-top: 26px; border-top: 3px solid var(--gold); }
.steps span { display: block; font: 400 64px/1 var(--display); color: var(--gold); margin-bottom: 18px; }
.steps h3 { font: 400 28px/1.15 var(--display); color: var(--ink); margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); max-width: 30ch; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- cta ---------- */
.cta { background: var(--abyss); overflow: hidden; padding-bottom: 0; }
.cta__beat { position: absolute; left: 0; right: 0; top: 46%; height: 200px; opacity: 0.18; pointer-events: none; }
.cta__beat svg { width: 100%; height: 100%; }
.cta__beat path { fill: none; stroke: var(--gold); stroke-width: 2; }
.cta__in { position: relative; }
.cta .h2 { max-width: 13ch; }
.cta__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin-top: 40px; }
.bbtn { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 120px; padding: 26px 30px; border-radius: 28px; background: var(--surface); color: var(--ink); text-decoration: none; transition: transform 220ms var(--ease), background 220ms; }
.bbtn span { font: 600 12px/1 var(--label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.bbtn b { font: 400 clamp(24px, 2.6vw, 34px)/1.1 var(--display); overflow-wrap: anywhere; }
.bbtn:hover { transform: translateY(-3px); }
.bbtn--gold { background: var(--gold); color: var(--navy); }
.bbtn--gold span { color: var(--navy); }
@media (max-width: 700px) { .cta__btns { grid-template-columns: 1fr; } }
.wordmark { margin: clamp(70px, 10vw, 130px) 0 0; white-space: nowrap; font: 400 100px/0.85 var(--display); letter-spacing: -0.03em; color: var(--ink); padding: 0 2vw; transform: translateY(0.1em); }
.wordmark span { display: inline-block; }
.wordmark i { font-style: normal; color: var(--gold); }

.foot { background: var(--abyss); color: var(--muted); padding: 36px 0 44px; font-size: 15px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.foot img { width: 52px; height: auto; }
.foot p { margin: 0; }
.foot__reg { font: 600 12px/2 var(--label); letter-spacing: 0.14em; color: var(--text); }
.foot__meta { margin-left: auto !important; }
.foot__credit { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / 0.3); }
.foot__credit:hover { color: var(--gold); border-bottom-color: var(--gold); }

.float-wa { position: fixed; z-index: 40; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #0F7A4F; color: #fff; box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.5); transition: opacity 300ms, transform 300ms var(--ease); }
.float-wa svg { width: 30px; height: 30px; }
.js .float-wa { opacity: 0; transform: translateY(16px); pointer-events: none; }
.js .float-wa.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* reveals: visible without JS */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero { height: auto; }
  .js .hero .stage__pin { position: relative; height: auto; min-height: 100svh; }
  .js .reel { height: auto; } .js .reel .stage__pin { position: relative; height: auto; }
  .pill, .bbtn, .float-wa { transition: none; }
  .portrait { opacity: 1; transform: translate3d(0, -50%, 0) scale(1); }
  .hero__line { opacity: 1; }
  .hero__lines { width: 50%; text-align: left; top: 28svh; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .portrait { transform: translate3d(-50%, 0, 0) scale(1); }
  .hero__lines { width: 100%; text-align: center; top: 12svh; }
}
