/* ==========================================================
   Dr. Armando de Abreu | Radiologia e ensino
   Tema claro único (decisão de marca: vivo, presente, atual).
   Destaque único: verde-água do bordado do jaleco.
   Raios: botões, chips e pílulas = 999px; blocos = 20px; itens internos = 12px.
   ========================================================== */

:root {
  --bg: #f5f7f6;
  --surface: #ffffff;
  --tint: #eaf1ee;
  --ink: #13201f;
  --text: #34423f;
  --muted: #5b6966;
  --accent: #0d7a6f;
  --accent-deep: #095c54;
  --accent-soft: #d5ebe5;
  --line: rgba(19, 32, 31, .10);
  --shadow: 0 24px 60px -28px rgba(9, 92, 84, .35);

  --f-display: "Schibsted Grotesk", system-ui, sans-serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(18px, 4vw, 48px);
  --nav-h: 72px;
  --r: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* camadas */
  --z-nav: 50; --z-skip: 60;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--bg); }
html:not(.lenis) { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--ink); }
.ph { font-size: 1.1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -80px; z-index: var(--z-skip); background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ---------- Tipografia ---------- */
.h2, .h3, .hero__title, h4 { font-family: var(--f-display); color: var(--ink); }
.hero__title { font-size: clamp(2.3rem, 3.3vw, 3.25rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; max-width: 20ch; }
.h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 650; text-wrap: balance; }
h4 { font-size: 1.12rem; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
.accent { color: var(--accent); }
.hero__title .accent { display: block; }
@media (min-width: 1100px) { .hero__title .accent { white-space: nowrap; } }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--accent-deep); background: var(--accent-soft); padding: 6px 14px; border-radius: 999px; }
.eyebrow--light { background: rgba(255,255,255,.16); color: #fff; }
.pill { display: inline-block; align-self: flex-start; font-size: .75rem; font-weight: 600; color: var(--accent-deep); background: var(--accent-soft); padding: 4px 11px; border-radius: 999px; white-space: nowrap; }

/* ---------- Botões e links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: .98rem; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(13,122,111,.7); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--accent-deep); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.35); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); transition: gap .3s var(--ease), color .2s; }
.link:hover { gap: 10px; color: var(--accent-deep); }
.link--light { color: #fff; }
.link--light:hover { color: #fff; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); transition: background-color .3s, box-shadow .3s, transform .5s var(--ease); }
.nav.is-scrolled { background: rgba(245,247,246,.86); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { max-width: calc(var(--wrap) + 40px); margin-inline: auto; height: var(--nav-h); padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .9rem; letter-spacing: .02em; }
.brand__name { font-family: var(--f-display); font-weight: 650; color: var(--ink); letter-spacing: -.01em; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 8px 12px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--text); transition: background-color .2s, color .2s; }
.nav__links a:hover, .nav__links a.is-active { background: var(--accent-soft); color: var(--accent-deep); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); font-size: 1.3rem; color: var(--ink); place-items: center; }
.menu { padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.menu a { padding: 14px 0; font-family: var(--f-display); font-size: 1.35rem; font-weight: 650; color: var(--ink); border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { min-height: 100dvh; display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) 0 48px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -15vw; top: -20vh; width: 70vw; height: 80vh; background: radial-gradient(closest-side, rgba(13,122,111,.10), transparent 70%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__sub { font-size: clamp(1.08rem, 1.35vw, 1.25rem); max-width: 46ch; color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__photo { position: relative; justify-self: end; width: 100%; max-width: 500px; }
.hero__panel { position: relative; aspect-ratio: .72; max-height: calc(100dvh - var(--nav-h) - 96px); margin-left: auto; border-radius: var(--r); overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #e9f5f1 0%, #cfe6df 55%, #b9dbd2 100%); box-shadow: var(--shadow); }
.hero__panel img { position: absolute; left: 50%; bottom: -7%; width: 100%; max-width: none; height: auto; transform: translateX(-50%); }
.hero__badge { position: absolute; z-index: 2; left: -28px; bottom: 36px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--surface); border-radius: var(--r-sm); box-shadow: 0 18px 40px -18px rgba(19,32,31,.35); }
.hero__badge .ph { font-size: 1.7rem; color: var(--accent); }
.hero__badge span { display: flex; flex-direction: column; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.hero__badge strong { color: var(--ink); font-size: .95rem; }

/* ---------- Números ---------- */
.facts { padding: 0 0 clamp(64px, 8vw, 110px); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; }
.fact { background: var(--surface); border-radius: var(--r); padding: 26px 24px; border: 1px solid var(--line); }
.fact dt { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 2.8vw, 2.6rem); letter-spacing: -.03em; color: var(--accent); line-height: 1.05; font-variant-numeric: tabular-nums; }
.fact dd { margin: 10px 0 0; color: var(--text); font-size: .98rem; }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 11vw, 150px); text-align: center; }
.manifesto .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.manifesto__icon { font-size: 2.6rem; color: var(--accent); }
.manifesto__quote { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.08; letter-spacing: -.035em; color: var(--ink); max-width: 20ch; text-wrap: balance; }
.manifesto__quote .w { opacity: .18; }
.manifesto__sub { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 48ch; }

/* ---------- Trajetória ---------- */
.journey { background: var(--tint); overflow: hidden; }
.journey__pin { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: clamp(32px, 4vw, 56px); padding: calc(var(--nav-h) + 24px) 0 48px; }
.journey__head { display: flex; flex-direction: column; gap: 16px; }
.journey__track { display: flex; gap: 20px; width: max-content; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-right: var(--gutter); }
.step { width: clamp(280px, 30vw, 380px); flex: none; background: var(--surface); border-radius: var(--r); padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); }
.step__year { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 3.4vw, 3rem); letter-spacing: -.04em; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.step p { color: var(--text); font-size: .98rem; }
.step--now { background: var(--accent); border-color: var(--accent); }
.step--now .step__year, .step--now h3, .step--now p { color: #fff; }
.step h3 { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.25; color: var(--ink); letter-spacing: -.01em; font-weight: 650; }
.journey__bar { height: 3px; border-radius: 3px; background: rgba(13,122,111,.15); overflow: hidden; }
.journey__bar span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Seções ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--tint { background: var(--tint); }
.head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }

/* Ensino: bento */
.bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.tile { border-radius: var(--r); padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.tile__icon { font-size: 2rem; color: var(--accent); }
.tile--program { grid-row: span 2; }
.tile--program .link { margin-top: auto; }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checks .ph { color: #fff; background: var(--accent); border-radius: 50%; padding: 4px; font-size: .8rem; margin-top: 3px; }
.tile--video { position: relative; padding: 0; overflow: hidden; min-height: 280px; justify-content: flex-end; border: 0; background: var(--accent-deep); color: #fff; }
.tile--video img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: 80% 70%; opacity: .55; transition: transform .8s var(--ease), opacity .4s; }
.tile--video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,92,84,.95) 10%, rgba(9,92,84,.25) 70%); }
.tile--video:hover img { transform: scale(1.05); opacity: .7; }
.tile__play { position: absolute; top: 24px; right: 24px; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--accent-deep); display: grid; place-items: center; font-size: 1.5rem; transition: transform .4s var(--ease); }
.tile--video:hover .tile__play { transform: scale(1.08); }
.tile__cap { position: relative; z-index: 1; padding: 28px; display: flex; flex-direction: column; gap: 6px; font-family: var(--f-display); font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 650; line-height: 1.2; letter-spacing: -.01em; }
.tile__cap strong { font-family: var(--f-body); font-size: .82rem; font-weight: 600; opacity: .85; letter-spacing: .02em; }
.tile--accent { background: var(--accent-soft); border-color: transparent; }
.tile--accent p { font-size: 1.08rem; color: var(--ink); }

/* Carreira */
.series { margin-bottom: clamp(56px, 7vw, 96px); }
.series__head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; margin-bottom: 24px; }
.series__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.ep { scroll-snap-align: start; background: var(--surface); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.ep:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ep__n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); font-family: var(--f-display); font-weight: 700; margin-bottom: 6px; }
.ep p { color: var(--muted); font-size: .95rem; }
.ep .pill { margin-top: auto; }
.routine { margin-bottom: clamp(56px, 7vw, 96px); }
.routine > .h3 { margin-bottom: 28px; }
.routine__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); }
.routine__row li { padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.routine__row li + li { border-left: 1px solid var(--line); }
.routine__row .ph { font-size: 1.8rem; color: var(--accent); }
.routine__row h4 { font-size: 1.3rem; }
.routine__row p { color: var(--muted); font-size: .95rem; }
.small-note { margin-top: 14px; font-size: .92rem; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: clamp(56px, 7vw, 96px); }
.duo__card { background: var(--surface); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.duo__card--accent { background: var(--accent); border-color: var(--accent); }
.duo__card--accent .h3, .duo__card--accent li { color: #fff; }
.list li { position: relative; padding: 10px 0 10px 34px; }
.list li::before { position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: "Phosphor"; font-size: .75rem; }
.list--minus li::before { content: "\e32a"; background: var(--tint); color: var(--muted); }
.list--plus li::before { content: "\e182"; background: rgba(255,255,255,.2); color: #fff; }
.before { margin-bottom: clamp(56px, 7vw, 96px); }
.before > .h3 { margin-bottom: 24px; max-width: 24ch; }
.before__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 40px; }
.before__grid li { padding: 18px 0; border-top: 2px solid var(--accent-soft); display: flex; flex-direction: column; gap: 6px; }
.before__grid p { color: var(--muted); }

.assess { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 52px); background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); margin-bottom: clamp(56px, 7vw, 96px); box-shadow: var(--shadow); }
.assess__intro { display: flex; flex-direction: column; gap: 14px; }
.assess__meta { font-size: .9rem; font-weight: 600; color: var(--accent-deep); }
.assess__box { background: var(--tint); border-radius: var(--r-sm); padding: clamp(20px, 3vw, 32px); min-height: 340px; display: flex; }
.assess__q, .assess__result { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.assess__count { font-size: .85rem; font-weight: 600; color: var(--accent-deep); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(13,122,111,.2); transition: background-color .3s, transform .3s var(--ease); }
.dots i.is-on { background: var(--accent); transform: scale(1.15); }
.assess__text { font-family: var(--f-display); font-weight: 650; font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.25; color: var(--ink); letter-spacing: -.01em; min-height: 3.8em; }
.assess__opts { display: grid; gap: 10px; margin-top: auto; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1.5px solid transparent; font-weight: 600; color: var(--ink); text-align: left; transition: border-color .2s, transform .3s var(--ease); }
.opt .ph { color: var(--accent); }
.opt:hover { border-color: var(--accent); transform: translateX(4px); }
.assess__result .btn { margin-top: auto; align-self: flex-start; }
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq__head { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 100px; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.qa { background: var(--surface); border-radius: var(--r-sm); border: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--f-display); font-weight: 650; font-size: 1.08rem; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ph { flex: none; color: var(--accent); transition: transform .35s var(--ease); }
.qa[open] summary .ph { transform: rotate(45deg); }
.qa p { padding: 0 22px 22px; color: var(--text); }

/* Acervo */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; color: var(--text); transition: all .25s; }
.tabs button:hover { border-color: var(--accent); color: var(--accent-deep); }
.tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.panel { background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); padding: clamp(22px, 3.5vw, 44px); }
.panel__intro { max-width: 70ch; margin-bottom: 28px; }
.atlas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area { border-radius: var(--r-sm); padding: 24px 22px; min-height: 250px; display: flex; flex-direction: column; gap: 10px; }
.area .ph { font-size: 2rem; margin-bottom: auto; }
.area p { font-size: .94rem; }
.area--1 { background: var(--accent); color: #fff; }
.area--1 h4, .area--1 .ph { color: #fff; }
.area--1 .pill { background: rgba(255,255,255,.2); color: #fff; }
.area--2 { background: var(--accent-soft); }
.area--3 { background: var(--tint); }
.area--4 { background: #13201f; color: #d9e4e1; }
.area--4 h4, .area--4 .ph { color: #fff; }
.area--4 .pill { background: rgba(255,255,255,.14); color: #fff; }
.area--2 .ph, .area--3 .ph { color: var(--accent); }
.note { margin-top: 24px; font-size: .95rem; color: var(--muted); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.flow li { padding: 20px; border-radius: var(--r-sm); background: var(--tint); display: flex; flex-direction: column; gap: 6px; }
.flow span { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
.flow p { color: var(--muted); font-size: .92rem; }
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.mini { padding: 22px; border-radius: var(--r-sm); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.mini small { font-size: .8rem; font-weight: 600; color: var(--accent-deep); }
.mini--link { background: var(--accent-soft); border-color: transparent; transition: transform .35s var(--ease); }
.mini--link:hover { transform: translateY(-3px); }
.mini .link, .mini .pill { margin-top: auto; }
.course { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.course__main, .course__next { border-radius: var(--r-sm); padding: 26px; }
.course__main { background: var(--tint); }
.course small { font-size: .82rem; font-weight: 600; color: var(--accent-deep); }
.course__main h4 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin: 8px 0 16px; }
.modules { counter-reset: m; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.modules li { counter-increment: m; display: flex; gap: 10px; font-size: .95rem; color: var(--ink); }
.modules li::before { content: counter(m); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); color: var(--accent-deep); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.course__next { border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.course__next div { display: flex; flex-direction: column; gap: 4px; }

/* Quiz */
.quiz { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: var(--r); background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 100%); color: #e8f4f1; }
.quiz__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.quiz .h2 { color: #fff; }
.quiz__box { background: var(--surface); color: var(--text); border-radius: var(--r-sm); padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.quiz__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: .85rem; font-weight: 600; color: var(--accent-deep); }
.quiz__q { font-family: var(--f-display); font-weight: 650; font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.25; color: var(--ink); margin-bottom: 20px; letter-spacing: -.01em; }
.quiz__opts { display: grid; gap: 10px; }
.qopt { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 10px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); text-align: left; color: var(--ink); transition: border-color .2s, background-color .2s, transform .3s var(--ease); }
.qopt:hover:not([disabled]) { border-color: var(--accent); transform: translateX(4px); }
.qopt b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--accent-deep); font-size: .85rem; }
.qopt[disabled] { cursor: default; }
.qopt.is-right { border-color: var(--accent); background: var(--accent-soft); }
.qopt.is-right b { background: var(--accent); color: #fff; }
.qopt.is-wrong { border-color: #c2553f; background: #fbeae6; }
.qopt.is-wrong b { background: #c2553f; color: #fff; }
.qopt.is-faded { opacity: .45; }
.quiz__fb { margin-top: 16px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--tint); font-size: .96rem; }
.quiz__fb strong { display: block; color: var(--ink); margin-bottom: 4px; }
[data-quiz-next] { margin-top: 20px; }
.quiz__end { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.quiz__score { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -.04em; color: var(--accent); line-height: 1; }

/* Publicações */
.pubs { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pubs__book { position: sticky; top: 110px; display: flex; justify-content: center; }
.book { width: min(100%, 320px); aspect-ratio: 3 / 4; border-radius: 6px 16px 16px 6px; padding: 32px 28px; background: linear-gradient(155deg, #0f8c80 0%, var(--accent-deep) 100%); color: #fff; display: flex; flex-direction: column; box-shadow: 24px 30px 60px -28px rgba(9,92,84,.6), inset 10px 0 0 rgba(0,0,0,.12); transform: rotate(-3deg); transition: transform .6s var(--ease); }
.book:hover { transform: rotate(0); }
.book__top, .book__author { font-size: .8rem; font-weight: 600; opacity: .85; }
.book__title { margin-top: auto; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: .95; }
.book__sub { font-family: var(--f-display); font-size: 1.2rem; margin-top: 6px; }
.book__author { margin-top: 20px; }
.pubs__body { display: flex; flex-direction: column; gap: 18px; }
.papers { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.paper { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: start; padding: 20px 22px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .35s var(--ease); }
a.paper:hover { border-color: var(--accent); transform: translateX(4px); }
.paper__y { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; color: var(--accent); letter-spacing: -.02em; }
.paper__t { font-family: var(--f-display); font-weight: 650; color: var(--ink); line-height: 1.3; font-size: 1.05rem; }
.paper__t small { display: block; margin-top: 6px; font-family: var(--f-body); font-weight: 400; font-size: .88rem; color: var(--muted); }
.paper .ph { color: var(--accent); margin-top: 4px; }
.paper--book { background: var(--accent-soft); border-color: transparent; }

/* Contato */
.cta { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 24px; border-radius: var(--r); background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 100%); color: #e8f4f1; overflow: hidden; padding: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px) 0; }
.cta__body { display: flex; flex-direction: column; gap: 18px; padding-bottom: clamp(28px, 5vw, 64px); }
.cta .h2 { color: #fff; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 8px; }
.cta__photo { align-self: end; }
.cta__photo img { width: 100%; max-width: 340px; margin-left: auto; }

/* Rodapé */
.foot { padding: 36px 0 48px; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: .92rem; }
.foot strong { color: var(--ink); font-family: var(--f-display); }
.foot__disc { margin-left: auto; color: var(--muted); max-width: 52ch; }

/* ---------- Estados de animação (só com JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .a-in { opacity: 0; transform: translateY(22px); }
.js .hero__panel { clip-path: inset(100% 0 0 0 round 20px); }
.js .hero__badge { opacity: 0; transform: translateY(16px); }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .atlas { grid-template-columns: repeat(2, 1fr); }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .routine__row { grid-template-columns: repeat(2, 1fr); }
  .routine__row li:nth-child(3) { border-left: 0; }
  .routine__row li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 16px); }
  .hero__grid, .bento, .duo, .assess, .faq, .quiz, .pubs, .course, .cta { grid-template-columns: 1fr; }
  .hero__photo { justify-self: stretch; max-width: none; }
  .hero__panel { max-height: none; aspect-ratio: 1 / 1.05; }
  .hero__panel img { width: 86%; bottom: -4%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .hero__badge { left: 12px; bottom: 12px; }
  .tile--program { grid-row: auto; }
  .journey__pin { min-height: 0; padding-top: 72px; }
  .journey__track { flex-direction: column; width: auto; padding-inline: var(--gutter); }
  .step { width: auto; }
  .journey__bar { display: none; }
  .faq__head, .pubs__book { position: static; }
  .before__grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .modules { grid-template-columns: 1fr; }
  .cta { padding-bottom: 0; }
  .cta__photo img { max-width: 260px; margin: 0 auto; }
  .foot__disc { margin-left: 0; }
}
@media (max-width: 520px) {
  .facts__grid, .atlas, .routine__row, .flow { grid-template-columns: 1fr; }
  .routine__row li + li { border-left: 0; border-top: 1px solid var(--line); }
  .hero__cta .btn { flex: 1 1 100%; }
  .paper { grid-template-columns: 1fr auto; }
  .paper__y { grid-column: 1 / -1; }
  .brand__name { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .js .reveal, .js .a-in, .js .hero__badge { opacity: 1; transform: none; }
  .js .hero__panel { clip-path: none; }
  .manifesto__quote .w { opacity: 1; }
}

/* ==========================================================
   Radiografias e movimento
   ========================================================== */
.hero__panel { z-index: 1; }
.hero__films { position: absolute; inset: 0; pointer-events: none; }
.film { position: absolute; background: #050807; border-radius: 12px; box-shadow: 0 24px 50px -24px rgba(9,40,37,.55); border: 6px solid #0c1413; }
.film--a { width: 42%; left: -4%; top: 30%; transform: rotate(-9deg); }
.film--b { width: 50%; right: -14%; top: -7%; transform: rotate(8deg); }

/* Cena de leitura */
.reading { background: var(--bg); }
.reading__pin { min-height: 100dvh; display: grid; grid-template-columns: 1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: calc(var(--nav-h) + 16px); padding-bottom: 32px; }
.reading__text { display: flex; flex-direction: column; gap: 14px; }
.reading__line { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 4.3vw, 4rem); line-height: 1.05; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.reading__line--2 { color: var(--accent); }
.reading__sub { margin-top: 18px; font-size: clamp(1.05rem, 1.35vw, 1.22rem); max-width: 44ch; }
.lightbox { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lightbox__film { position: relative; width: min(100%, calc((100dvh - var(--nav-h) - 110px) * 1100 / 1359)); aspect-ratio: 1100 / 1359; border-radius: var(--r); overflow: hidden; background: #050807; box-shadow: 0 0 0 10px #dfeee9, 0 40px 90px -40px rgba(9,92,84,.65); }
.lightbox__img, .lightbox__blur { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.lightbox__blur { filter: blur(14px) brightness(.5) contrast(.8); transform: scale(1.06); opacity: 0; }
.lightbox__scan { position: absolute; left: 0; right: 0; top: -25%; height: 22%; background: linear-gradient(180deg, transparent, rgba(95,224,207,.28) 50%, transparent); opacity: 0; }
.lightbox__marks { position: absolute; inset: 0; width: 100%; height: 100%; }
.lightbox__marks circle, .lightbox__marks path { fill: none; stroke: #6fe3d3; stroke-width: 5; stroke-linecap: round; }
.lightbox__marks text { fill: #fff; font-family: var(--f-display); font-weight: 650; font-size: 46px; paint-order: stroke; stroke: rgba(5,8,7,.75); stroke-width: 8px; }
.lightbox figcaption { font-size: .85rem; color: var(--muted); }

/* Faixa de filmes */
.filmstrip { width: 100vw; margin: 0 0 36px calc(50% - 50vw); background: #0c1413; padding: 30px 0; position: relative; overflow: hidden; }
.filmstrip::before, .filmstrip::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(255,255,255,.22) 14px 26px); border-radius: 2px; }
.filmstrip::before { top: 10px; } .filmstrip::after { bottom: 10px; }
.filmstrip__track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.filmstrip__track img { height: 200px; width: auto; border-radius: 4px; opacity: .92; }

/* Atlas com imagens */
.area { background: var(--surface); border: 1px solid var(--line); padding: 12px 12px 22px; gap: 8px; min-height: 0; }
.area h4, .area p, .area .pill { margin-inline: 8px; }
.area p { color: var(--muted); }
.area__img { aspect-ratio: 4 / 3.4; border-radius: 10px; overflow: hidden; background: #050807; margin-bottom: 8px; }
.area__img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.area:hover .area__img img { transform: scale(1.07); filter: brightness(1.15); }

/* Trajetória: miniatura */
.step__rx { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 10px; background: #050807; margin-bottom: 4px; }

/* Quiz: filme */
.quiz__film { margin-top: 10px; width: 190px; display: flex; flex-direction: column; gap: 8px; transform: rotate(-4deg); }
.quiz__film img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; border: 5px solid rgba(255,255,255,.9); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); background: #050807; }
.quiz__film figcaption { font-size: .8rem; color: #cfe7e1; transform: rotate(4deg); }

/* Créditos */
.credits { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.credits summary { cursor: pointer; font-weight: 600; color: var(--accent-deep); }
.credits p { margin: 10px 0 6px; }
.credits ul { display: grid; gap: 4px; }
.credits a { color: var(--accent); text-decoration: underline; }

.js .reading__line { opacity: .18; }
.js .reading__sub { opacity: 0; transform: translateY(16px); }
.js .lightbox__marks .mk { opacity: 0; }

@media (max-width: 860px) {
  .reading__pin { grid-template-columns: 1fr; min-height: 0; padding-top: 64px; padding-bottom: 72px; }
  .lightbox__film { width: min(100%, 440px); }
  .film--a { width: 34%; left: -4%; top: -6%; }
  .film--b { width: 36%; right: -4%; top: -8%; }
  .filmstrip__track img { height: 140px; }
  .quiz__film { display: none; }
  .hero__panel { z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reading__line, .js .reading__sub, .js .lightbox__marks .mk { opacity: 1; transform: none; }
}

/* ==========================================================
   Refinamento: mais elegante e mais detalhado
   Regra de forma: blocos 14px, itens internos 10px, botões 8px, etiquetas pílula.
   ========================================================== */
:root {
  --r: 14px; --r-sm: 10px; --r-btn: 8px;
  --line: rgba(19, 32, 31, .08);
  --shadow: 0 30px 70px -42px rgba(9, 60, 55, .32);
  --teal-deep: #0c5a53;
  --z-progress: 70; --z-ambient: -1;
}
.h2, .hero__title, .reading__line, .manifesto__quote { font-weight: 600; letter-spacing: -.04em; }
.h3 { font-weight: 600; }

/* Botões mais sóbrios */
.btn { border-radius: var(--r-btn); }
.btn--primary { box-shadow: none; }
.btn--primary:hover { transform: none; }
.btn--ghost:hover, .btn--light:hover { transform: none; }
.btn:active { transform: scale(.98); }
.btn .ph { transition: transform .45s var(--ease); }
.btn:hover .ph-arrow-down { transform: translateY(3px); }
.tabs button { border-radius: var(--r-btn); }
.opt { border-radius: var(--r-btn); }

/* Links com sublinhado desenhado */
.link { position: relative; }
.link::after { content: ""; position: absolute; left: 0; right: 1.3em; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Barra de progresso de leitura */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: var(--z-progress); pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* Luz ambiente, lenta, atrás do conteúdo */
.ambient { position: fixed; inset: 0; z-index: var(--z-ambient); pointer-events: none; overflow: hidden; }
.ambient i { position: absolute; width: 46vw; height: 46vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(13,122,111,.09), transparent 70%); animation: drift 26s ease-in-out infinite alternate; }
.ambient i:first-child { left: -10vw; top: 10vh; }
.ambient i:last-child { right: -12vw; top: 45vh; animation-duration: 32s; animation-direction: alternate-reverse; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(8vw,-6vh,0) scale(1.15); } }
body { background: transparent; }
html { background: var(--bg); }

/* Títulos que sobem de uma máscara */
.h2 .rise-wrap { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.h2 .rise { display: block; }
.js .h2.reveal { opacity: 1; transform: none; }
.js .h2 .rise { transform: translateY(105%); }
/* Linha fina que se desenha acima de cada cabeçalho */
.rule { display: block; width: 100%; max-width: 120px; height: 1px; background: var(--accent); transform-origin: 0 50%; }
.js .rule { transform: scaleX(0); }

/* Hero: detalhes */
.hero__panel img { will-change: transform; }
.hero__badge { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -6px; } }

/* Números com traço */
.fact { position: relative; overflow: hidden; transition: box-shadow .3s; }
.fact::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; transition: transform 1.4s var(--ease); }
.fact.is-in { --p: 1; }
.fact:hover { box-shadow: var(--shadow); }

/* Cartões: elevação discreta */
.step, .tile, .ep, .mini, .area, .paper, .duo__card { transition: box-shadow .35s var(--ease), transform .45s var(--ease), border-color .3s; }
.step:hover, .tile:hover, .area:hover, .duo__card:hover { box-shadow: var(--shadow); }

/* Atlas: varredura sobre a imagem ao passar o mouse */
.area__img { position: relative; }
@keyframes sweep { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(350%); } }

/* FAQ sem caixas, apenas linhas */
.faq__list { gap: 0; border-top: 1px solid var(--line); }
.qa { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.qa summary { padding: 22px 0; }
.qa p { padding: 0 0 24px; max-width: 62ch; }
.qa__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); transition: background-color .3s, border-color .3s; }
.qa__icon .ph { position: absolute; transition: opacity .25s, transform .35s var(--ease); }
.qa__icon .ph-minus { opacity: 0; transform: rotate(-90deg); }
.qa[open] .qa__icon { background: var(--accent); border-color: var(--accent); color: #fff; }
.qa[open] .qa__icon .ph-plus { opacity: 0; transform: rotate(90deg); }
.qa[open] .qa__icon .ph-minus { opacity: 1; transform: none; }
.qa summary .ph { transform: none; }

/* Blocos verdes com textura (quiz e contato) */
.tex { position: relative; isolation: isolate; overflow: hidden; background: var(--teal-deep) !important; border-radius: var(--r); }
.tex::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(rgba(255,255,255,.075) 1px, transparent 1.3px),
    radial-gradient(60% 80% at 12% 0%, rgba(255,255,255,.10), transparent 70%),
    radial-gradient(50% 70% at 100% 100%, rgba(0,0,0,.18), transparent 70%);
  background-size: 18px 18px, 100% 100%, 100% 100%; }
.tex::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.tex__rx { position: absolute; z-index: -1; pointer-events: none; background-repeat: no-repeat; background-size: contain; mix-blend-mode: screen; opacity: .13; filter: grayscale(1) contrast(1.2);
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 100%); mask-image: radial-gradient(closest-side, #000 40%, transparent 100%); }
.tex__rx--cta { left: -4%; top: -20%; width: 46%; height: 150%; background-image: url("../img/rx/joelho-perfil.webp"); background-position: center; }
.tex__rx--quiz { right: -6%; bottom: -30%; width: 52%; height: 140%; background-image: url("../img/rx/quadril.webp"); background-position: center; opacity: .1; }
.cta, .quiz { box-shadow: 0 50px 90px -60px rgba(9,60,55,.6); }

/* Contato: retrato com ombros e braços, apoiado na base do bloco */
.cta { grid-template-columns: 1.15fr .85fr; align-items: end; }
.cta__photo { align-self: stretch; display: flex; align-items: flex-end; justify-content: center; position: relative; }
.cta__photo::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 70%; border-radius: 50% 50% 0 0; background: radial-gradient(closest-side, rgba(255,255,255,.16), transparent 75%); }
.cta__photo img { position: relative; width: 100%; max-width: 470px; margin: 0 auto; }

/* Retratos com grão sutil para integrar ao fundo */
.hero__panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Livro com leve inclinação ao cursor */
.book { will-change: transform; transform-style: preserve-3d; }

@media (max-width: 860px) {
  .cta { grid-template-columns: 1fr; }
  .cta__photo img { max-width: 340px; }
  .tex__rx--cta { width: 90%; left: 5%; }
  .ambient i { width: 90vw; height: 90vw; }
}
@media (prefers-reduced-motion: reduce) {
  .js .h2 .rise, .js .rule { transform: none; }
  .ambient i, .hero__badge { animation: none; }
}

/* ==========================================================
   Luz de negatoscópio: varredura + foco de luz nas radiografias
   ========================================================== */
.scan { position: relative; overflow: hidden; isolation: isolate; display: block; }
.scan img { display: block; transition: filter .5s var(--ease), transform .9s var(--ease); }
/* faixa de varredura com linha central brilhante */
.scan::after { content: ""; position: absolute; left: -5%; right: -5%; top: 0; height: 46%; z-index: 3; pointer-events: none; mix-blend-mode: screen; opacity: 0; transform: translateY(-110%);
  background:
    linear-gradient(180deg, transparent 49.2%, rgba(210,255,248,.85) 50%, transparent 50.8%),
    linear-gradient(180deg, transparent 0%, rgba(111,227,211,0) 18%, rgba(140,236,224,.34) 50%, rgba(111,227,211,0) 82%, transparent 100%); }
.scan.is-scanning::after { animation: scanSweep 1.5s cubic-bezier(.45,.05,.25,1) forwards; }
@keyframes scanSweep { 0% { opacity: 1; transform: translateY(-110%); } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(260%); } }
/* brilho que acende a imagem enquanto a luz passa */
.scan.is-scanning img { animation: scanGlow 1.5s ease-out; }
@keyframes scanGlow { 0% { filter: brightness(1); } 45% { filter: brightness(1.28) contrast(1.06); } 100% { filter: brightness(1); } }
/* foco de luz que segue o cursor */
.scan::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(circle 150px at var(--mx, 50%) var(--my, 50%), rgba(175,255,242,.34), rgba(111,227,211,.10) 45%, transparent 72%); }
@media (hover: hover) and (pointer: fine) {
  .scan:hover::before { opacity: 1; }
  .scan:hover img { filter: brightness(1.1) contrast(1.05); }
}
/* borda que acende como um negatoscópio */
.area__img, .frame, .step__rxwrap, .quiz__filmimg { transition: box-shadow .45s var(--ease); }
.area:hover .area__img, .frame:hover, .step:hover .step__rxwrap { box-shadow: 0 0 0 1px rgba(111,227,211,.55), 0 0 34px -6px rgba(111,227,211,.55); }

/* ajustes dos novos invólucros */
.film { overflow: hidden; }
.film img { width: 100%; height: auto; border-radius: 6px; }
.frame { flex: none; border-radius: 4px; }
.frame img { height: 200px; width: auto; opacity: .92; }
.step__rxwrap { border-radius: 10px; margin-bottom: 4px; }
.step__rx { margin-bottom: 0; }
.quiz__filmimg { border-radius: 10px; }
.lightbox__marks { z-index: 4; }
.lightbox__scan { z-index: 3; }

/* varredura lenta e periódica nos blocos verdes */
.tex__scanline { position: absolute; left: 0; right: 0; top: 0; height: 34%; z-index: -1; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(160,240,228,.10) 50%, transparent 100%), linear-gradient(180deg, transparent 49.6%, rgba(210,255,248,.28) 50%, transparent 50.4%);
  animation: texSweep 9s cubic-bezier(.45,.05,.25,1) infinite; }
.quiz .tex__scanline { animation-delay: 3s; }
@keyframes texSweep { 0% { opacity: 0; transform: translateY(-100%); } 4% { opacity: 1; } 34% { opacity: 1; transform: translateY(300%); } 36%, 100% { opacity: 0; transform: translateY(300%); } }

@media (max-width: 860px) { .frame img { height: 140px; } }
@media (prefers-reduced-motion: reduce) {
  .scan::after, .scan::before, .tex__scanline { display: none; }
  .scan.is-scanning img { animation: none; }
}

/* ---------- Logomarca ---------- */
.brand__logo { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.brand__logo img { width: 100%; height: 100%; object-fit: contain; }
.brand:hover .brand__logo img { filter: brightness(1.12); }
.foot__brand { display: flex; flex-direction: column; gap: 8px; }
.foot__logo { width: 190px; height: auto; }
.foot__brand p { font-size: .85rem; color: var(--muted); }
.cta__seal { width: 84px; height: 84px; margin-bottom: 4px; }
@media (max-width: 860px) { .brand__logo { width: 40px; height: 40px; } .foot__logo { width: 160px; } }
