/* Instituto Hope Namastê — estilo do site. O motor (scene.css / fx.css) não é editado. */

:root {
  --navy: #0E2658;
  --navy-deep: #081A3F;
  --navy-ink: #14223F;
  --cream: #FAF6EE;
  --paper: #F2EBDD;
  --gold: #E8B02E;
  --gold-soft: #F3D488;
  --muted: #56607A;
  --line: rgb(14 38 88 / .14);
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 80px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --fx-ease: var(--ease);
  --fx-radius: var(--radius);
  --fx-gap: clamp(28px, 4vw, 64px);
  --k-tshadow: 0 1px 2px rgb(6 14 34 / .7), 0 3px 14px rgb(6 14 34 / .55), 0 12px 44px rgb(6 14 34 / .5);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--cream); color: var(--navy-ink);
  font: 400 clamp(1rem, .96rem + .2vw, 1.125rem)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: italic; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h2 em, h1 em, .big em { color: var(--gold); font-weight: 500; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--navy); display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow.light { color: var(--gold-soft); }

/* ---------- botões ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font: 600 .95rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; text-shadow: none;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { --bg: var(--navy-deep); }
.btn-gold { --bg: var(--gold); --fg: var(--navy-deep); }
.btn-gold:hover { --bg: var(--gold-soft); }
.btn-ghost { --bg: rgb(255 255 255 / .08); --fg: #fff; border-color: rgb(255 255 255 / .55); backdrop-filter: blur(6px); }
.btn-ghost:hover { --bg: rgb(255 255 255 / .18); }
.btn-small { min-height: 44px; padding: .6rem 1.1rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- topo ---------- */
.top {
  position: fixed; z-index: 50; top: 12px; left: 50%; translate: -50% 0;
  width: min(1180px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgb(250 246 238 / .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgb(14 38 88 / .06), 0 10px 30px -18px rgb(8 26 63 / .35);
  transition: transform .5s var(--ease);
}
.top.is-hidden { transform: translateY(calc(-100% - 20px)); }
.top-brand { display: flex; align-items: center; min-height: 44px; min-width: 44px; }
.top-brand img { width: 108px; height: auto; }
.top-nav { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.top-nav a { font-size: .88rem; font-weight: 500; text-decoration: none; color: var(--navy); position: relative; padding-block: .3rem; }
.top-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.top-nav a:hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .top-nav { display: none; } }

/* =====================================================================
   CAPA: página normal, sem rolagem presa. O anel da logo gira devagar
   em volta de uma foto circular.
   ===================================================================== */
.cover { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: clamp(110px, 16vh, 150px) 0 clamp(48px, 8vh, 90px); background: var(--cream); overflow: hidden; }
.cover-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cover h1 { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem); font-weight: 500; color: var(--navy); max-width: 17ch; }
.cover h1 em { color: var(--gold); }
.cover-lede { margin-top: 1.4rem; max-width: 30rem; font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); color: var(--muted); }
.cover-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.btn-ghost-dark { --bg: transparent; --fg: var(--navy); border-color: rgb(14 38 88 / .35); }
.btn-ghost-dark:hover { --bg: rgb(14 38 88 / .06); border-color: var(--navy); }
.cover-art { position: relative; width: min(100%, 560px); aspect-ratio: 1; justify-self: center; }
.cover-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: ring-idle 140s linear infinite; }
.cover-photo { position: absolute; inset: 21%; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px -30px rgb(8 26 63 / .45); }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* entrada suave ao abrir a página (só opacidade e escala, sem depender da rolagem) */
.cover-photo { animation: cover-in 1.4s var(--ease) both; }
.cover-ring { animation: cover-ring-in 1.6s var(--ease) both, ring-idle 140s linear 1.6s infinite; }
.cover-txt > * { animation: cover-up 1s var(--ease) both; }
.cover-txt > :nth-child(2) { animation-delay: .1s; } .cover-txt > :nth-child(3) { animation-delay: .2s; } .cover-txt > :nth-child(4) { animation-delay: .3s; }
@keyframes cover-in { from { opacity: 0; scale: .92; } }
@keyframes cover-ring-in { from { opacity: 0; scale: 1.06; } }
@keyframes cover-up { from { opacity: 0; translate: 0 16px; } }
@media (max-width: 860px) {
  .cover { min-height: 0; padding-top: 112px; }
  .cover-grid { grid-template-columns: 1fr; }
  .cover-art { order: -1; width: min(78vw, 360px); }
  .cover h1 { max-width: 16ch; }
  .cover-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .cover-ring, .cover-photo, .cover-txt > * { animation: none !important; } }

/* ---------- quem somos ---------- */
.about { padding-block: clamp(96px, 16vh, 180px); }
.statement { font-size: clamp(2rem, 1.1rem + 3.4vw, 4.2rem); font-weight: 500; max-width: 20ch; color: var(--navy); }
.about-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 80px); margin-top: clamp(40px, 7vh, 80px); max-width: 58rem; margin-left: auto; color: var(--muted); }
.about-cols strong { color: var(--navy); font-weight: 600; }
@media (max-width: 720px) { .about-cols { grid-template-columns: 1fr; } }

.ticks { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .7rem; align-items: baseline; color: var(--navy-ink); }
.ticks li::before { content: ""; flex: none; width: .55em; height: .55em; border-radius: 50%; background: var(--gold); transform: translateY(-.05em); }

/* ---------- como funciona ---------- */
.how { background: var(--navy); color: #DDE3F0; padding-block: clamp(96px, 14vh, 170px); }
.how-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.how-head { position: sticky; top: 120px; }
.how h2 { font-size: clamp(2.2rem, 1.3rem + 3vw, 4rem); color: #fff; font-weight: 500; }
.how h2 em { color: var(--gold); }
.how-lede { margin-top: 1.6rem; color: #BFC7DB; max-width: 30rem; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--gold), rgb(232 176 46 / .1)); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: clamp(16px, 2.4vw, 32px); padding-block: clamp(20px, 3.4vh, 36px); }
.s-n { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); border: 1px solid rgb(232 176 46 / .6); font: 500 .85rem/1 var(--sans); letter-spacing: .08em; color: var(--gold); }
.step h3 { font-size: clamp(1.45rem, 1.15rem + .9vw, 2rem); font-weight: 500; color: #fff; margin: .6rem 0 .6rem; }
.step p { color: #BFC7DB; max-width: 34rem; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } .how-head { position: static; } }

/* ---------- filme da sala (o texto segue o quadro mostrado: --vt vem do app.js) ---------- */
.film { --vt: var(--k-p, 0); background: var(--navy-deep); color: #fff; }
.film .k-stage { background-color: var(--navy-deep); }
.film .shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 50% 45%, transparent 35%, rgb(8 18 42 / .55) 100%), linear-gradient(180deg, transparent 50%, rgb(8 18 42 / .55)); }
.film .k-band { color: #fff; text-shadow: var(--k-tshadow); }
.film .k-band::before { content: ""; position: absolute; z-index: -1; inset: -40% -25%; pointer-events: none; background: radial-gradient(closest-side, rgb(8 18 42 / .6), transparent); opacity: var(--k, 1); }
.film .eyebrow { text-shadow: none; }
.film-t { font-size: clamp(2.2rem, 1.2rem + 3.8vw, 4.8rem); font-weight: 500; }
.film-t em { color: var(--gold-soft); }
.film-t span { display: block; }
/* cena 1: a câmera gira para a direita pela sala, o título fica preso à parede e desliza para a esquerda */
.ft-a { transform: translateX(calc(var(--vt) * -22vw)); }
.ft-b { transform: translateX(calc(var(--vt) * -14vw)); }
/* cena 2: a câmera avança pelo corredor, a frase se aproxima junto */
.film .f2 { left: 50%; right: auto; translate: -50% 0; width: min(90vw, 44rem); text-align: center; bottom: 38vh; }
.ft-push { display: inline-block; transform: scale(calc(.92 + clamp(0, (var(--vt) - .36) / .26, 1) * .14)); transform-origin: 50% 60%; }
.film-m { font: 500 clamp(1.5rem, 1.05rem + 1.8vw, 2.5rem)/1.2 var(--serif); }
.film-s { margin-top: .9rem; max-width: 34rem; color: #E2E7F2; }
.film .f3 { bottom: clamp(48px, 10vh, 120px); }
.film .k-ring { --k-ring-color: var(--gold-soft); }
@media (max-width: 720px) {
  .ft-a, .ft-b { transform: translateX(calc(var(--vt) * -8vw)); }
  .film .f2 { bottom: 30vh; }
}
.k-static.film .k-stage { background: var(--navy-deep) var(--k-poster) center / cover no-repeat; }
.k-static.film .f2 { left: auto; translate: none; width: auto; text-align: left; bottom: auto; }
.k-static.film .ft-a, .k-static.film .ft-b, .k-static.film .ft-push { transform: none; }

/* ---------- hospitais ---------- */
.hospitals { padding-block: clamp(96px, 16vh, 180px); }
.hospitals h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.8rem); font-weight: 500; max-width: 20ch; color: var(--navy); }
.lede { margin-top: 1.4rem; max-width: 40rem; color: var(--muted); }
.hosp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(56px, 10vh, 110px); }
.hosp-rev .ba { order: 2; }
.hosp-n { font: 500 .8rem/1 var(--sans); letter-spacing: .2em; color: var(--gold); }
.hosp h3 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); font-weight: 500; color: var(--navy); margin: .7rem 0 1rem; }
.hosp-txt > p { color: var(--muted); max-width: 32rem; }
.hint { margin-top: 1rem; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy) !important; opacity: .65; }
.mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 1.6rem; max-width: 26rem; }
.mini img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.mini img:only-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.hosp-fig { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.hosp-fig img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .hosp { grid-template-columns: 1fr; } .hosp-rev .ba { order: 0; } }

/* antes/depois: arrastar (o input range cobre toda a imagem, acessível por teclado) */
.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper); touch-action: pan-y; box-shadow: 0 30px 60px -36px rgb(8 26 63 / .5); }
.ba img, .ba-before { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba img { object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before img { filter: saturate(.75); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba-handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; translate: -1px 0; pointer-events: none; box-shadow: 0 0 0 1px rgb(8 26 63 / .15); }
.ba-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); font: 600 1rem/1 var(--sans); letter-spacing: .1em; box-shadow: 0 6px 20px -6px rgb(8 26 63 / .45); }
.ba-range:focus-visible ~ .ba-handle::after { outline: 2px solid var(--gold); outline-offset: 3px; }
.ba-tag { position: absolute; z-index: 2; top: 14px; padding: .35rem .7rem; border-radius: 999px; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: rgb(8 26 63 / .72); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
.ba-tag-l { left: 14px; } .ba-tag-r { right: 14px; background: rgb(232 176 46 / .92); color: var(--navy-deep); }

/* ---------- impacto ---------- */
.impact { background: var(--navy); color: #DDE3F0; padding-block: clamp(96px, 14vh, 160px); }
.impact h2 { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 4.2rem); color: #fff; font-weight: 500; max-width: 18ch; }
.impact h2 em { color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(48px, 8vh, 88px) 0 0; border-top: 1px solid rgb(255 255 255 / .16); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .8rem; padding: 28px clamp(12px, 2vw, 28px) 8px 0; border-right: 1px solid rgb(255 255 255 / .12); }
.stat + .stat { padding-left: clamp(12px, 2vw, 28px); }
.stat:last-child { border-right: 0; }
.stat dd { margin: 0; font: 500 clamp(3rem, 2rem + 3.4vw, 5.6rem)/1 var(--serif); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat dt { color: #BFC7DB; font-size: .98rem; max-width: 18rem; }
.source { margin-top: 2.4rem; font-size: .82rem; color: #8F9AB5; max-width: 44rem; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / .12); padding-left: 0 !important; padding-bottom: 24px; }
  .stat:nth-child(odd) { padding-right: 20px; }
}
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }

/* ---------- ações (rail) ---------- */
.actions-sec { padding-top: clamp(96px, 16vh, 170px); background: var(--cream); }
.acoes-head h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.8rem); font-weight: 500; max-width: 18ch; color: var(--navy); }
.rail .fx-rail-track { align-items: flex-end; }
.rail .item { margin: 0; width: clamp(240px, 26vw, 380px); }
.rail .item-wide { width: clamp(320px, 42vw, 620px); }
.rail .item img, .rail .item video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--paper); display: block; }
.rail .item-wide img { aspect-ratio: 4 / 3; }
.rail .item-video video { aspect-ratio: 9 / 16; }
.rail figcaption { margin-top: .8rem; font-size: .92rem; color: var(--muted); max-width: 30ch; }

/* ---------- sede ---------- */
.hq { padding-block: clamp(96px, 16vh, 170px); background: var(--paper); }
.hq-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hq-main { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.hq-main img { width: 100%; height: 100%; object-fit: cover; }
.hq h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); font-weight: 500; color: var(--navy); margin-bottom: 1.2rem; }
.hq-txt > p { color: var(--muted); }
.hq address { font-style: normal; margin-top: 1.4rem; padding-left: 1rem; border-left: 2px solid var(--gold); color: var(--navy); font-weight: 500; }
.hq-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.8rem; }
.hq-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
@media (max-width: 860px) { .hq-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: .6rem; }
.contact-list a { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; color: #fff; text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--gold-soft); }
.ci { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(232 176 46 / .55); color: var(--gold); font-size: .8rem; font-weight: 700; }

/* ---------- palavras da logo ---------- */
.words-band { padding-block: clamp(28px, 6vh, 56px); border-block: 1px solid var(--line); background: var(--paper); }
.words-band [data-fx~="marquee"] { --fx-gap: clamp(22px, 3vw, 48px); }
.words-band .fx-marquee-track, .words-band [data-fx~="marquee"]:not(:has(.fx-marquee-track)) { align-items: center; }
.words-band span { font: italic 500 clamp(2.2rem, 1.4rem + 3.4vw, 4.8rem)/1.1 var(--serif); color: var(--navy); white-space: nowrap; }
.heart { display: inline-block; width: .9em; height: .8em; flex: none; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 21'%3E%3Cpath d='M12 21 10.3 19.4C4.2 13.9 0 10.1 0 5.5 0 2.4 2.4 0 5.5 0 7.2 0 8.9.8 10 2.1L12 4.2 14 2.1C15.1.8 16.8 0 18.5 0 21.6 0 24 2.4 24 5.5c0 4.6-4.2 8.4-10.3 13.9Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 21'%3E%3Cpath d='M12 21 10.3 19.4C4.2 13.9 0 10.1 0 5.5 0 2.4 2.4 0 5.5 0 7.2 0 8.9.8 10 2.1L12 4.2 14 2.1C15.1.8 16.8 0 18.5 0 21.6 0 24 2.4 24 5.5c0 4.6-4.2 8.4-10.3 13.9Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.words-band .heart { font-size: clamp(1.2rem, 1rem + 1vw, 2rem); }

/* ---------- faça parte ---------- */
.join { background: var(--navy); color: #DDE3F0; padding-block: clamp(96px, 14vh, 160px); }
.join-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.join h2 { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.8rem); color: #fff; font-weight: 500; margin-bottom: 1.4rem; }
.join h2 .gold { color: var(--gold); font-style: italic; }
.join-intro > p { max-width: 34rem; color: #BFC7DB; }
.care-note { display: flex; align-items: center; gap: .7rem; margin-top: 1.6rem !important; font-size: .98rem; }
.care-note .heart { width: 1.1em; height: 1em; }
.care-note a { color: var(--gold-soft); text-underline-offset: 3px; }

.form {
  background: var(--cream); color: var(--navy-ink); border-radius: calc(var(--radius) + 6px);
  padding: clamp(22px, 3.4vw, 44px); display: grid; gap: 18px;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / .5);
}
.chips { border: 0; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font: 500 clamp(1.3rem, 1.1rem + .6vw, 1.6rem)/1.2 var(--serif); color: var(--navy); margin-bottom: 14px; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: .62rem 1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--navy); background: #fff; transition: background-color .25s, color .25s, border-color .25s; }
.chips label:hover span { border-color: var(--navy); }
.chips input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy-ink);
  padding: .8rem 1rem; border-radius: 12px; border: 1px solid rgb(14 38 88 / .22); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(232 176 46 / .35); }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: .95rem; font-weight: 500; }
.form-status.ok { color: #1E6B3A; }
.form-status.err { color: #B3261E; }
.fine { font-size: .8rem; color: var(--muted); }
.form.is-sent .chips, .form.is-sent .field, .form.is-sent .field-row, .form.is-sent button, .form.is-sent .fine { display: none; }
.form.is-sent .form-status { font: 500 clamp(1.4rem, 1.1rem + 1vw, 2rem)/1.3 var(--serif); color: var(--navy); padding-block: 2rem; }
@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; } }

/* ---------- rodapé ---------- */
.foot { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-deep); color: #AEB7CE; padding-top: clamp(72px, 11vh, 120px); border-top: 1px solid rgb(232 176 46 / .25); }
.foot-ring { position: absolute; z-index: -1; right: -12vw; top: 50%; width: min(820px, 70vw); translate: 0 -50%; opacity: .06; pointer-events: none; animation: ring-idle 240s linear infinite; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); padding-bottom: clamp(48px, 8vh, 80px); }
.foot-brand img { width: 150px; height: auto; }
.foot-tag { margin-top: 1.4rem; font: 500 clamp(1.4rem, 1.1rem + 1vw, 2rem)/1.2 var(--serif); color: #fff; max-width: 16ch; }
.foot-tag em { color: var(--gold-soft); }
.foot-about { margin-top: 1rem; max-width: 32ch; font-size: .92rem; line-height: 1.6; }
.foot-cta { margin-top: 1.6rem; }
.foot-col h2 { font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin: .6rem 0 1.3rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.foot-col a { display: inline-flex; align-items: center; gap: .6rem; min-height: 36px; color: #E2E7F2; text-decoration: none; font-size: .95rem; transition: color .25s var(--ease); }
.foot-col a:hover { color: var(--gold-soft); }
.foot-col nav a[aria-current="page"], .foot-col a[aria-current="page"] { color: var(--gold-soft); }
.fi { flex: none; color: var(--gold-soft); }
.foot-care { margin-top: 1.2rem; display: flex; align-items: center; gap: .5rem; font-size: .88rem; }
.foot-care a { color: var(--gold-soft) !important; text-decoration: underline; text-underline-offset: 3px; min-height: 0 !important; }
.foot-care .heart { width: 1em; height: .9em; }
.foot-where { gap: .9rem !important; }
.foot-where li { font-size: .88rem; line-height: 1.45; }
.foot-where b { display: block; color: #E2E7F2; font-weight: 600; font-size: .92rem; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding: 22px 0 26px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .8rem; color: #8F9AB5; }
.foot-words { font: italic 400 .9rem/1.4 var(--serif); color: #8F9AB5; }
@media (max-width: 1020px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } .foot-ring { right: -40vw; width: 110vw; } }
@media (prefers-reduced-motion: reduce) { .foot-ring { animation: none; } }

/* =====================================================================
   COMPARATIVO: sem a sala x com a Hope (abas)
   ===================================================================== */
.compare { padding-block: clamp(96px, 16vh, 180px); background: var(--cream); }
.compare h2 { font-size: clamp(2rem, 1.1rem + 3.2vw, 4rem); font-weight: 500; max-width: 20ch; color: var(--navy); }
.cmp { --sem: #6B7280; --sem-bg: #ECEBE8; margin-top: clamp(40px, 7vh, 72px); }
.cmp-tabs { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); max-width: 100%; }
.cmp-tabs button { position: relative; z-index: 1; min-height: 48px; padding: .7rem clamp(.9rem, 2vw, 1.6rem); border: 0; border-radius: 999px; background: none; font: 600 clamp(.82rem, .78rem + .2vw, .95rem)/1.2 var(--sans); color: var(--muted); cursor: pointer; transition: color .4s var(--ease); }
.cmp-tabs button[aria-selected="true"] { color: #fff; }
.cmp-pill { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--sem); transition: transform .55s var(--ease), background-color .55s var(--ease); }
.cmp[data-mode="com"] .cmp-pill { transform: translateX(100%); background: var(--navy); }
.cmp-list { list-style: none; margin: clamp(28px, 5vh, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.cmp-list li { position: relative; display: grid; align-content: start; padding: 22px 22px 26px; border-radius: var(--radius); background: var(--sem-bg); border: 1px solid transparent; transition: background-color .6s var(--ease), border-color .6s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.cmp[data-mode="com"] .cmp-list li { background: #fff; border-color: rgb(232 176 46 / .45); box-shadow: 0 18px 40px -30px rgb(8 26 63 / .45); }
.cmp-n { font: 500 .78rem/1 var(--sans); letter-spacing: .18em; color: var(--sem); transition: color .5s; }
.cmp[data-mode="com"] .cmp-n { color: var(--gold); }
.cmp-list h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); font-weight: 500; color: var(--navy); margin: .7rem 0 .6rem; }
.cmp-list p { grid-area: 4 / 1; font-size: .98rem; transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.cmp-list .sem { color: #4B5160; }
.cmp-list .com { color: var(--navy-ink); }
.cmp[data-mode="sem"] .com, .cmp[data-mode="com"] .sem { opacity: 0; transform: translateY(8px); visibility: hidden; }
.cmp[data-mode="sem"] .sem, .cmp[data-mode="com"] .com { visibility: visible; }
.cmp-list .sem::before, .cmp-list .com::before { display: block; margin-bottom: .35rem; font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.cmp-list .sem::before { content: "Sem acolhimento"; color: var(--sem); }
.cmp-list .com::before { content: "Com a Hope"; color: #9A6B00; }
.cmp-hint { margin-top: 1.4rem; }
.cmp-hint button { min-height: 44px; border: 0; background: none; padding: 0; font: 600 1rem/1 var(--sans); color: var(--navy); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.cmp[data-mode="com"] .cmp-hint { visibility: hidden; }
.cmp:not([data-ready]) .sem, .cmp:not([data-ready]) .com { opacity: 1; transform: none; visibility: visible; }
.cmp:not([data-ready]) .cmp-list p { grid-area: auto; }
.cmp:not([data-ready]) .cmp-tabs, .cmp:not([data-ready]) .cmp-hint { display: none; }
@media (prefers-reduced-motion: reduce) { .cmp-list li, .cmp-list p, .cmp-pill { transition: none; } }
@media (max-width: 560px) { .cmp-tabs { display: grid; width: 100%; } }

.for-hosp { margin-top: clamp(40px, 7vh, 72px); padding: clamp(24px, 4vw, 48px); border-radius: calc(var(--radius) + 6px); background: var(--navy); color: #DDE3F0; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 1.6rem 3rem; align-items: start; }
.for-hosp h3 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); font-weight: 500; color: #fff; }
.for-hosp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; grid-row: span 2; }
.for-hosp li { padding-left: 1.2rem; border-left: 2px solid var(--gold); }
.for-hosp strong { color: #fff; font-weight: 600; }
.for-hosp .btn { --bg: var(--gold); --fg: var(--navy-deep); justify-self: start; }
.for-hosp .btn:hover { --bg: var(--gold-soft); }
@media (max-width: 820px) { .for-hosp { grid-template-columns: 1fr; } .for-hosp ul { grid-row: auto; } }

/* =====================================================================
   GRÁFICOS: série única; texto em tokens de texto, nunca na cor da barra
   ===================================================================== */
.chart-t { font: 500 clamp(1.3rem, 1.1rem + .7vw, 1.75rem)/1.2 var(--serif); color: #fff; margin: 0 0 1.4rem; }
.chart-t span { display: block; margin-top: .35rem; font: 400 .85rem/1.4 var(--sans); color: #AEB7CE; }
.survey { margin: clamp(56px, 9vh, 96px) 0 0; max-width: 56rem; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: end; }
.bar-l { color: #DDE3F0; font-size: .95rem; }
.bar-v { font: 500 1.15rem/1 var(--sans); color: #fff; font-variant-numeric: tabular-nums; }
.bar { grid-column: 1 / -1; position: relative; height: 10px; border-radius: 4px; background: rgb(255 255 255 / .1); overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 1%); border-radius: 0 4px 4px 0; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.survey.is-in .bar::after { transform: scaleX(1); }
.bars li:nth-child(2) .bar::after { transition-delay: .1s; }
.bars li:nth-child(3) .bar::after { transition-delay: .2s; }
.bars li:nth-child(4) .bar::after { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .bar::after { transform: none; transition: none; } }

.monthly { margin-top: clamp(56px, 9vh, 96px); }
.monthly[hidden] { display: none; }
.mchart { display: flex; align-items: flex-end; gap: clamp(4px, 1vw, 12px); height: 220px; padding-top: 28px; border-bottom: 1px solid rgb(255 255 255 / .2); }
.mcol { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.mcol i { display: block; width: min(100%, 44px); height: calc(var(--h) * 1%); min-height: 2px; border-radius: 4px 4px 0 0; background: var(--gold); }
.mcol b { font: 600 .78rem/1 var(--sans); color: #fff; font-variant-numeric: tabular-nums; }
.mcol:hover i { background: var(--gold-soft); }
.mlabels { display: flex; gap: clamp(4px, 1vw, 12px); margin-top: 8px; }
.mlabels span { flex: 1 1 0; min-width: 0; text-align: center; font-size: .72rem; color: #AEB7CE; }

/* =====================================================================
   PARCERIAS: hospitais e apoiadores
   ===================================================================== */
.audiences { padding-block: clamp(96px, 16vh, 180px); background: var(--cream); }
.audiences h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.8rem); font-weight: 500; max-width: 20ch; color: var(--navy); }
.aud-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 7vh, 72px); }
.aud { display: flex; flex-direction: column; gap: 1rem; padding: clamp(24px, 3.4vw, 44px); border-radius: calc(var(--radius) + 6px); background: #fff; border: 1px solid var(--line); }
.aud-k { font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #9A6B00; }
.aud h3 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.4rem); font-weight: 500; color: var(--navy); }
.aud > p { color: var(--muted); }
.aud .ticks { margin-bottom: .8rem; }
.aud .btn { margin-top: auto; align-self: flex-start; }
.aud-dark { background: var(--navy); border-color: transparent; color: #DDE3F0; }
.aud-dark .aud-k { color: var(--gold); }
.aud-dark h3 { color: #fff; }
.aud-dark > p, .aud-dark .ticks li { color: #C9D0E2; }
@media (max-width: 860px) { .aud-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   VÁRIAS PÁGINAS: menu, cabeçalho de página, caminhos, convite final
   ===================================================================== */
.top-act { display: flex; align-items: center; gap: 8px; }
.top-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.top-nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--gold); height: 2px; }
.top-nav-cta { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--navy); cursor: pointer; place-items: center; }
.menu-ico, .menu-ico::before, .menu-ico::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease), opacity .2s; }
.menu-ico { position: relative; }
.menu-ico::before, .menu-ico::after { content: ""; position: absolute; left: 0; }
.menu-ico::before { top: -6px; } .menu-ico::after { top: 6px; }
.top.is-open .menu-ico { background: transparent; }
.top.is-open .menu-ico::before { transform: translateY(6px) rotate(45deg); }
.top.is-open .menu-ico::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .top-act .btn-small { display: none; }
  .top { border-radius: 26px; flex-wrap: wrap; }
  .top-nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 0; padding: 6px 4px 10px; }
  .top.is-open .top-nav { display: flex; }
  .top-nav a { font-size: 1.05rem; padding: .85rem .4rem; border-top: 1px solid var(--line); }
  .top-nav a::after { display: none; }
  .top-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 3px 0 0 var(--gold); padding-left: .9rem; }
  .top-nav-cta { display: block; margin-top: .6rem; text-align: center; border-radius: 999px; background: var(--gold); color: var(--navy-deep) !important; font-weight: 700; border-top: 0 !important; }
}

.more { font-weight: 600; color: var(--navy); text-underline-offset: 4px; white-space: nowrap; }
.more.light { color: var(--gold-soft); }

.page-hero { padding: clamp(130px, 20vh, 200px) 0 clamp(64px, 10vh, 110px); background: var(--cream); }
.page-hero h1 { font-size: clamp(2.3rem, 1.2rem + 4vw, 5rem); font-weight: 500; color: var(--navy); max-width: 18ch; }
.page-hero h1 em { color: var(--gold); }
.page-hero .lede { font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); max-width: 40rem; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ph-fig { margin: 0; }
.ph-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
          mask-composite: intersect; animation: breathe 18s ease-in-out infinite alternate; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }
/* páginas cujo primeiro bloco é uma seção comum: espaço para o menu fixo */
.page-comparativo .compare, .page-impacto #impacto, .page-parcerias .audiences { padding-top: clamp(130px, 20vh, 200px); }
.page-comparativo .compare h1, .page-parcerias .audiences h1 { font-size: clamp(2.3rem, 1.2rem + 4vw, 5rem); font-weight: 500; max-width: 18ch; color: var(--navy); }
.page-impacto #impacto h1 { font-size: clamp(2.3rem, 1.2rem + 4vw, 5rem); color: #fff; font-weight: 500; max-width: 18ch; }
.page-impacto #impacto h1 em, .page-comparativo .compare h1 em, .page-parcerias .audiences h1 em { color: var(--gold); }
.page-hospitais .hospitals { padding-top: clamp(40px, 8vh, 90px); }

.paths { padding-bottom: clamp(96px, 14vh, 160px); }
.path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.path { display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: var(--navy-ink); }
.path figure { margin: 0 0 .8rem; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.path img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.path:hover img, .path:focus-visible img { transform: scale(1.06); }
.path-k { font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #9A6B00; }
.path-t { font: 500 clamp(1.25rem, 1.05rem + .6vw, 1.6rem)/1.2 var(--serif); color: var(--navy); }
.path-go { margin-top: auto; padding-top: .4rem; font-weight: 600; font-size: .92rem; color: var(--navy); }
@media (max-width: 960px) { .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .path-grid { grid-template-columns: 1fr; } .path figure { aspect-ratio: 16 / 10; } }

.impact-strip .stats { margin-top: clamp(40px, 6vh, 64px); }

.cta-band { background: var(--navy-deep); color: #DDE3F0; padding-block: clamp(80px, 12vh, 140px); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 2rem 4rem; align-items: end; }
.cta-band h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.6rem); font-weight: 500; color: #fff; max-width: 20ch; }
.cta-band h2 em { color: var(--gold-soft); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } .cta-actions .btn { flex: 1 1 100%; } }

/* =====================================================================
   REEL: imagens separadas que se fundem como um vídeo, com bordas
   transparentes que se dissolvem no fundo. app.js publica --d (distância
   do quadro atual) em cada item; sem JS ou com movimento reduzido, viram
   uma lista simples.
   ===================================================================== */
.reel { position: relative; }
.reel-light { background: var(--cream); }
.reel-dark { background: var(--navy-deep); color: #fff; }
.reel-dark h2 { color: #fff; }
.reel-dark h2 em { color: var(--gold-soft); }
.reel-head { padding-top: clamp(96px, 14vh, 160px); }
.reel-head h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.8rem); font-weight: 500; max-width: 20ch; }
.reel-light .reel-head h2 { color: var(--navy); }
.reel-track { position: relative; height: calc(var(--n) * 55vh + 100vh); }
.reel-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.reel-item { --d: 9; position: absolute; inset: 0; margin: 0; display: grid; place-items: center; pointer-events: none;
  opacity: clamp(0, 1.15 - max(var(--d), -1 * var(--d)) * 1.3, 1); }
.reel-item > img, .reel-item > video {
  width: auto; height: auto; max-width: min(78vw, 1080px); max-height: 74vh; object-fit: contain; border-radius: 4px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
          mask-composite: intersect;
  transform: translateY(calc(var(--d) * -7vh)) scale(calc(1.06 - var(--d) * .05));
  will-change: transform, opacity;
}
.reel-item.is-on > img, .reel-item.is-on > video { animation: breathe 14s ease-in-out infinite alternate; }
@keyframes breathe { from { scale: 1; } to { scale: 1.045; } }
.reel-item figcaption {
  position: absolute; left: clamp(20px, 6vw, 96px); bottom: clamp(36px, 8vh, 88px); max-width: 30rem;
  font: 500 clamp(1.3rem, 1rem + 1.2vw, 2.1rem)/1.2 var(--serif);
  transform: translateY(calc(var(--d) * 28px)); opacity: clamp(0, 1 - max(var(--d), -1 * var(--d)) * 2.2, 1);
}
.reel-light figcaption { color: var(--navy); }
.reel-dark figcaption { color: #fff; text-shadow: 0 2px 18px rgb(0 0 0 / .45); }
.reel-k { display: block; margin-bottom: .5rem; font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.reel-light .reel-k { color: #9A6B00; }
.reel-progress { position: absolute; right: clamp(20px, 6vw, 96px); bottom: clamp(44px, 9vh, 96px); width: 120px; height: 2px; background: currentColor; opacity: .25; }
.reel-progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--rp, 0)); opacity: 1; }
.reel-light .reel-progress { color: var(--navy); }
@media (max-width: 720px) {
  .reel-item > img, .reel-item > video { max-width: 92vw; max-height: 62vh;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
          mask-composite: intersect; }
  .reel-item { place-items: start center; padding-top: 12vh; }
  .reel-item figcaption { right: 20px; bottom: 14vh; }
  .reel-progress { bottom: 9vh; right: 20px; }
}
/* sem JS ou movimento reduzido: as imagens ficam em sequência normal, ainda com as bordas transparentes */
.reel:not([data-reel-on]) .reel-track { height: auto; }
.reel:not([data-reel-on]) .reel-stage { position: relative; height: auto; overflow: visible; display: grid; gap: 48px; padding: 48px 0 96px; }
.reel:not([data-reel-on]) .reel-item { position: relative; opacity: 1; pointer-events: auto; gap: 1rem; padding: 0; }
.reel:not([data-reel-on]) .reel-item > img, .reel:not([data-reel-on]) .reel-item > video { transform: none; animation: none; }
.reel:not([data-reel-on]) .reel-item figcaption { position: static; transform: none; opacity: 1; text-align: center; padding-inline: 20px; }
.reel:not([data-reel-on]) .reel-progress { display: none; }
@media (prefers-reduced-motion: reduce) { .ph-fig img, .reel-item > img, .reel-item > video { animation: none !important; } }

/* ---------- onde estamos: os três hospitais ---------- */
.where { list-style: none; margin: 0 0 clamp(24px, 4vh, 48px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.where-card { position: relative; display: flex; flex-direction: column; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--navy); color: #fff; box-shadow: 0 24px 50px -34px rgb(8 26 63 / .55); }
.where-card > img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.4s var(--ease); }
.where-card:hover > img { transform: scale(1.04); }
.where-txt { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; padding: clamp(18px, 2.2vw, 28px); background: var(--navy); }
.where-k { font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.where-card h3 { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); font-weight: 500; color: #fff; margin: .6rem 0 .5rem; }
.where-card p { color: #C9D0E2; font-size: .92rem; }
.where-txt a { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; padding-top: .6rem; color: #fff; font-weight: 600; font-size: .9rem; text-underline-offset: 4px; }
.credit { position: absolute; top: 10px; right: 12px; z-index: 2; padding: .2rem .5rem; border-radius: 999px; background: rgb(8 26 63 / .55); font-size: .64rem; color: #fff; }
.credit a { color: inherit; }
@media (max-width: 860px) { .where { grid-template-columns: 1fr; } }
.where-sec { background: var(--cream); padding-bottom: clamp(64px, 10vh, 110px); }
.page-hospitais .page-hero { padding-bottom: clamp(32px, 5vh, 56px); }

/* ---------- impacto: mais conteúdo ---------- */
.imp-lede { margin-top: 1.6rem; max-width: 44rem; color: #C9D0E2; font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); }
.includes { padding-block: clamp(96px, 14vh, 160px); background: var(--cream); }
.includes h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.8rem); font-weight: 500; max-width: 20ch; color: var(--navy); }
.inc-grid { list-style: none; margin: clamp(40px, 7vh, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; }
.inc-grid li { background: var(--cream); padding: clamp(22px, 2.6vw, 36px); transition: background-color .4s var(--ease); }
.inc-grid li:hover { background: #fff; }
.inc-n { font: italic 500 1.05rem/1 var(--serif); color: #9A6B00; }
.inc-grid h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); font-weight: 500; color: var(--navy); margin: .8rem 0 .5rem; }
.inc-grid p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .inc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .inc-grid { grid-template-columns: 1fr; } }

.voices { padding-top: clamp(96px, 14vh, 160px); }
.voices-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.big-num { font: 500 clamp(5rem, 3rem + 8vw, 10rem)/.9 var(--serif); color: var(--gold); letter-spacing: -.03em; margin: .4rem 0 1rem; font-variant-numeric: tabular-nums; }
.voices h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); font-weight: 500; color: #fff; max-width: 22ch; }
.voices h2 em { color: var(--gold-soft); }
.voices .survey { margin-top: 0; }
.voices .source { margin-top: 1.6rem; }
.voices-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(56px, 9vh, 96px); }
.vlink { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 72px; padding: 1rem 1.4rem; border-radius: var(--radius); border: 1px solid rgb(255 255 255 / .18); color: #fff; text-decoration: none; font: 500 clamp(1.05rem, .95rem + .4vw, 1.35rem)/1.2 var(--serif); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.vlink:hover { background: rgb(255 255 255 / .06); border-color: var(--gold); }
.vlink b { color: var(--gold); font-family: var(--sans); }
@media (max-width: 860px) { .voices-grid, .voices-links { grid-template-columns: 1fr; } }

/* ---------- ações pontuais ---------- */
.gifts { background: var(--cream); padding-bottom: clamp(24px, 4vh, 48px); }
.gift-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.gift { padding: clamp(24px, 3vw, 40px); border-radius: calc(var(--radius) + 4px); background: #fff; border: 1px solid var(--line); }
.gift-n { font: italic 500 1.05rem/1 var(--serif); color: #9A6B00; }
.gift h3 { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.6rem); font-weight: 500; color: var(--navy); margin: .7rem 0 .6rem; }
.gift p { color: var(--muted); }
@media (max-width: 860px) { .gift-grid { grid-template-columns: 1fr; } }

/* ---------- sobre: por que a Hope existe ---------- */
.why { background: var(--paper); color: var(--navy-ink); padding-block: clamp(96px, 14vh, 170px); }
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why-head { position: sticky; top: 120px; }
.why h2 { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.9rem); font-weight: 500; color: var(--navy); max-width: 16ch; }
.why h2 em { color: var(--gold); }
.why-text { display: grid; gap: 1.2rem; font-size: clamp(1.02rem, .96rem + .25vw, 1.15rem); color: var(--muted); }
.why-text strong { color: var(--navy); font-weight: 700; }
.why-cards { list-style: none; margin: clamp(56px, 9vh, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.why-cards li { padding: clamp(22px, 2.8vw, 36px); border-radius: calc(var(--radius) + 4px); background: #fff; border: 1px solid var(--line); }
.why-k { font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #9A6B00; }
.why-cards h3 { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); font-weight: 500; color: var(--navy); margin: .8rem 0 .6rem; }
.why-cards p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .why-grid, .why-cards { grid-template-columns: 1fr; } .why-head { position: static; } }

/* ---------- sobre: valores ---------- */
.values { background: var(--paper); padding-block: clamp(96px, 14vh, 160px); }
.values h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.6rem); font-weight: 500; max-width: 22ch; color: var(--navy); }
.val-grid { margin: clamp(40px, 7vh, 72px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.val-grid > div { padding: 26px 22px 26px 0; border-bottom: 1px solid var(--line); }
.val-grid dt { font: italic 500 clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem)/1.1 var(--serif); color: var(--navy); }
.val-grid dt::after { content: ""; display: inline-block; width: .45em; height: .4em; margin-left: .4em; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 21'%3E%3Cpath d='M12 21 10.3 19.4C4.2 13.9 0 10.1 0 5.5 0 2.4 2.4 0 5.5 0 7.2 0 8.9.8 10 2.1L12 4.2 14 2.1C15.1.8 16.8 0 18.5 0 21.6 0 24 2.4 24 5.5c0 4.6-4.2 8.4-10.3 13.9Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 21'%3E%3Cpath d='M12 21 10.3 19.4C4.2 13.9 0 10.1 0 5.5 0 2.4 2.4 0 5.5 0 7.2 0 8.9.8 10 2.1L12 4.2 14 2.1C15.1.8 16.8 0 18.5 0 21.6 0 24 2.4 24 5.5c0 4.6-4.2 8.4-10.3 13.9Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.val-grid dd { margin: .6rem 0 0; color: var(--muted); font-size: .98rem; max-width: 30ch; }

/* ---------- hospitais: serviços ---------- */
.services { background: var(--cream); padding-block: clamp(96px, 14vh, 160px); }
.services h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.8rem); font-weight: 500; max-width: 20ch; color: var(--navy); }
.serv-grid { list-style: none; margin: clamp(40px, 7vh, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.serv-grid li { padding: clamp(22px, 2.6vw, 34px); border-radius: calc(var(--radius) + 4px); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.serv-grid li:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgb(8 26 63 / .4); }
.serv-n { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold-soft); font: 600 .8rem/1 var(--sans); letter-spacing: .06em; }
.serv-grid h3 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); font-weight: 500; color: var(--navy); margin: 1rem 0 .6rem; }
.serv-grid p { color: var(--muted); font-size: .97rem; }
.serv-note { margin-top: 2rem; max-width: 48rem; padding-left: 1rem; border-left: 2px solid var(--gold); color: var(--navy); font-weight: 500; }
@media (max-width: 960px) { .serv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .serv-grid { grid-template-columns: 1fr; } }
.hosp-meta { font-size: .82rem !important; letter-spacing: .06em; text-transform: uppercase; color: #9A6B00 !important; margin-bottom: .8rem; }

/* ---------- hospitais: como a Hope chega a um novo hospital ---------- */
.newhosp { background: var(--navy); color: #DDE3F0; padding-block: clamp(96px, 14vh, 160px); }
.newhosp-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.newhosp h2 { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.8rem); font-weight: 500; color: #fff; max-width: 14ch; }
.newhosp h2 em { color: var(--gold); }
.newhosp-lede { margin: 1.4rem 0 2rem; color: #C9D0E2; max-width: 30rem; }
.nh-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.nh-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px; border-radius: var(--radius); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.nh-steps span { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-deep); font: 700 1rem/1 var(--sans); }
.nh-steps h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); font-weight: 500; color: #fff; margin: .3rem 0 .4rem; }
.nh-steps p { color: #BFC7DB; font-size: .96rem; }
@media (max-width: 900px) { .newhosp-grid { grid-template-columns: 1fr; } }

@keyframes ring-idle { to { transform: rotate(1turn); } }

.intro-p { margin-top: 1.6rem; max-width: 40rem; color: var(--muted); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.page-hero-text + .where-sec, .page-hero-text + .gifts { padding-top: clamp(24px, 4vh, 48px); }

/* ---------- principal atividade, autorização do apoiador ---------- */
.main-act { margin-bottom: 1rem; color: var(--navy); }
.consent { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .88rem; line-height: 1.5; color: var(--navy-ink); cursor: pointer; }
.consent[hidden] { display: none; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--navy); }
.consent a { color: var(--navy); text-underline-offset: 3px; }

/* ---------- galeria (até 12 imagens) ---------- */
.gallery { background: var(--cream); padding-block: clamp(72px, 11vh, 130px); }
.gallery h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.6rem); font-weight: 500; color: var(--navy); max-width: 18ch; }
.gal-grid { list-style: none; margin: clamp(32px, 5vh, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.gal-item figure { margin: 0; }
.gal-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--paper); transition: transform 1s var(--ease); }
.gal-item:hover img { transform: scale(1.03); }
.gal-item figcaption { margin-top: .6rem; font-size: .88rem; color: var(--muted); }
.gal-note { margin-top: 2rem; max-width: 40rem; font-size: .9rem; color: var(--muted); }
.gal-note a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 900px) { .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- expansão ---------- */
.needs { background: var(--cream); padding-block: clamp(48px, 8vh, 96px) clamp(80px, 12vh, 140px); }
.needs h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.6rem); font-weight: 500; color: var(--navy); max-width: 18ch; }
.needs-grid { list-style: none; margin: clamp(32px, 5vh, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.needs-grid li { padding: clamp(22px, 2.8vw, 36px); border-radius: calc(var(--radius) + 4px); background: #fff; border: 1px solid var(--line); }
.need-n { font: italic 500 1.05rem/1 var(--serif); color: #9A6B00; }
.needs-grid h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 500; color: var(--navy); margin: .7rem 0 .5rem; }
.needs-grid p { color: var(--muted); }
@media (max-width: 860px) { .needs-grid { grid-template-columns: 1fr; } }

/* ---------- guia de autorização de imagem ---------- */
.guide { background: var(--cream); padding-bottom: clamp(48px, 8vh, 90px); }
.guide-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.guide-grid li { padding: clamp(20px, 2.4vw, 30px); border-radius: calc(var(--radius) + 2px); background: #fff; border: 1px solid var(--line); }
.gd-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--gold-soft); font: 600 .85rem/1 var(--sans); }
.guide-grid h3 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.55rem); font-weight: 500; color: var(--navy); margin: .9rem 0 .5rem; }
.guide-grid p { color: var(--muted); font-size: .96rem; }
.terms { background: var(--paper); padding-block: clamp(72px, 11vh, 130px); }
.terms h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.4rem); font-weight: 500; color: var(--navy); }
.term { margin-top: 1.4rem; padding: clamp(22px, 3vw, 40px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); max-width: 52rem; }
.term:first-of-type { margin-top: 2rem; }
.term header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.term h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); font-weight: 500; color: var(--navy); }
.term p { margin-top: .8rem; color: var(--navy-ink); font-size: .95rem; line-height: 1.8; }
.term .sign { margin-top: 2rem; }

/* ---------- depoimentos ---------- */
.testi { background: var(--paper); color: var(--navy-ink); padding-block: clamp(80px, 12vh, 140px); }
.testi h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); font-weight: 500; color: var(--navy); max-width: 22ch; }
.testi h2 em { color: var(--gold); }
.testi-lede { margin-top: 1.2rem; max-width: 44rem; color: var(--muted); font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); }
.testi-grid { margin-top: clamp(40px, 7vh, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(16px, 2.2vw, 26px); }
.testi-card { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 34px); border-radius: calc(var(--radius) + 4px); background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 36px -28px rgb(8 26 63 / .25); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgb(8 26 63 / .35); }
.testi-head { display: flex; align-items: center; gap: 16px; margin-bottom: 1.2rem; }
.testi-avatar { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2.5px solid var(--gold); box-shadow: 0 6px 18px -4px rgb(8 26 63 / .25); }
.testi-meta { min-width: 0; }
.testi-name { font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + .3vw, 1.35rem); font-weight: 600; color: var(--navy); margin: 0; line-height: 1.2; }
.testi-role { font-family: var(--sans); font-size: .84rem; font-weight: 600; color: #8C6A18; margin-top: 4px; letter-spacing: .01em; }
.testi-quote { margin: 0; display: flex; flex-direction: column; flex: 1; }
.testi-quote p { color: var(--navy-ink); font-size: clamp(.95rem, .9rem + .2vw, 1.02rem); line-height: 1.7; font-style: normal; }
.testi-note { margin-top: clamp(32px, 5vh, 48px); font-size: .88rem; color: var(--muted); }
.testi-note a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.testi-note a:hover { color: #8C6A18; }

@media print {
  .top, .foot, .skip, .page-hero, .guide, .terms h2, .terms .lede, .term button, .cta-band, .testi { display: none !important; }
  body { background: #fff; }
  .terms { background: #fff; padding: 0; }
  .term { display: none; border: 0; padding: 0; max-width: none; }
  .term.is-printing { display: block; }
  .term p { font-size: 12pt; }
  [data-k-in] { opacity: 1 !important; transform: none !important; }
}
