:root {
  --ink: #0b0b0d;
  --blue: #1f3fd6;
  --navy: #13204a;
  --text: #0b0b0d;
  --muted: #55555c;
  --curve: clamp(60px, 11vw, 160px);
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #fbfbfa; color: var(--text); font-family: var(--sans); font-weight: 300; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px clamp(20px, 4vw, 56px); color: var(--text); transition: color .4s; }
.header[data-theme="dark"] .brand { color: #fff; }
.header[data-theme="dark"] .brand small { color: rgba(255,255,255,.7); }
.header[data-theme="dark"] .brand__mark { background: #fff; color: var(--navy); }
.brand { display: flex; align-items: center; gap: 12px; color: #12151c; text-decoration: none; transition: color .4s; }
.brand__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif); font-style: italic; font-size: 20px; transition: background .4s, color .4s; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.brand small { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #5a6070; transition: color .4s; }
.nav { display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid rgba(19,32,74,.08); backdrop-filter: blur(10px); }
.nav a { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: #2a2f3a; text-decoration: none; transition: background .2s; }
.nav a:hover { background: #eef1f8; }
.header[data-theme="dark"] .nav { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.header[data-theme="dark"] .nav a { color: #fff; }
.header[data-theme="dark"] .nav a:hover { background: rgba(255,255,255,.14); }

.pill { display: inline-flex; align-items: center; text-decoration: none; font-weight: 500; font-size: 14px; border-radius: 999px; transition: background .25s, color .25s; }
.pill:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.pill--white { padding: 11px 20px; background: #fff; color: var(--navy); border: 1px solid rgba(19,32,74,.14); box-shadow: 0 1px 2px rgba(19,32,74,.06); }
.pill--white:hover { background: var(--navy); color: #fff; }
.pill--navy { gap: 18px; padding: 6px 6px 6px 26px; background: var(--navy); color: #fff; font-size: 15px; box-shadow: 0 10px 30px -10px rgba(31,63,214,.6); }
.pill--navy i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); font-style: normal; font-size: 18px; transition: transform .3s; }
.pill--navy:hover { background: var(--blue); }
.pill--navy:hover i { transform: translateX(4px); }

/* camadas empilhadas: cada seção cobre a anterior */
.layer { position: sticky; top: 0; min-height: 100vh; min-height: 100dvh; }
.about { margin-top: var(--curve); }
.modalities { margin-top: calc(var(--curve) + 40vh); }
.gallery { margin-top: calc(var(--curve) + 40vh); }
.place { margin-top: calc(var(--curve) + 30vh); }
.curve { position: absolute; left: 0; width: 100%; height: var(--curve); bottom: 100%; fill: currentColor; display: block; }

.hero { overflow: hidden; background: #fbfbfa; font-family: var(--sans); color: #12151c; }
.hero__bg i { position: absolute; pointer-events: none; }
.hero__dots { inset: 0; background-image: radial-gradient(circle, rgba(19,32,74,.16) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 45%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 80% 70% at 30% 45%, #000 20%, transparent 80%); }
.hero__glow--a { right: -10%; top: 5%; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; border-radius: 50%; background: radial-gradient(circle, rgba(66,100,230,.22) 0%, rgba(66,100,230,.08) 40%, transparent 68%); }
.hero__glow--b { left: -15%; bottom: -30%; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(120,170,225,.18) 0%, transparent 65%); }
.hero__grain { inset: 0; opacity: .35; mix-blend-mode: multiply; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero__stage { position: absolute; right: 0; top: 0; bottom: 0; width: 67%; overflow: hidden; pointer-events: none; }
.hero__photo[hidden] { display: none; }
.hero__photo { position: absolute; right: 0; bottom: 0; width: 100%; height: auto; max-width: none; display: block; -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, #000 84%, transparent 100%); }
.hero__inner { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; padding: 112px clamp(20px, 4vw, 56px) 36px; display: flex; flex-direction: column; }
.hero__text { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 640px; padding: 26px 0 0; }
.hero__badge { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-size: 13px; line-height: 1.35; color: #4a5060; }
.hero__badge-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(19,32,74,.2); }
.hero__badge-dot i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.hero h1 { margin: 0; font-weight: 400; font-size: clamp(44px, min(6.4vw, 10.2vh), 96px); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 em { font-family: var(--serif); font-style: italic; letter-spacing: -.01em; color: #1f3fd1; }
.hero__lead { margin: 26px 0 0; max-width: 460px; font-size: 18px; line-height: 1.55; color: #3d4350; text-wrap: pretty; }
.hero__cta { display: flex; align-items: center; gap: 24px; margin-top: 34px; flex-wrap: wrap; }
.hero__free { display: flex; align-items: center; gap: 12px; }
.hero__free span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.hero__free b { font-size: 14px; font-weight: 600; }
.hero__free small { font-size: 12px; color: #5a6070; }
.hero__avatars { display: flex; }
.hero__avatars i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fbfbfa; background: #c9d3ea; }
.hero__avatars i + i { margin-left: -10px; background: #8fa2d4; }
.hero__avatars i + i + i { background: var(--navy); }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.stats { display: flex; gap: 14px; flex-wrap: wrap; margin: 0; padding: 0; }
.stat { width: 190px; padding: 18px 18px 16px; border-radius: 16px; background: rgba(255,255,255,.72); border: 1px solid rgba(19,32,74,.1); backdrop-filter: blur(12px); display: flex; flex-direction: column; gap: 22px; position: relative; }
.stat::after { content: ''; position: absolute; top: 18px; right: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.stat dd { margin: 0; font-variant-numeric: tabular-nums; font-size: 40px; letter-spacing: -.03em; line-height: 1; }
.stat dt { font-size: 13px; color: #4a5060; }
.hero__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; margin-left: auto; }
.hero__prof { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.82); border: 1px solid rgba(19,32,74,.1); backdrop-filter: blur(10px); }
.hero__prof small { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #5a6070; }
.hero__prof b { font-size: 14px; font-weight: 600; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid rgba(19,32,74,.1); font-size: 13px; font-weight: 500; color: var(--navy); }

.about { background: var(--navy); color: #fff; display: flex; align-items: center; }
.about .curve { color: var(--navy); }
.about__inner { width: 100%; max-width: 1240px; margin-inline: auto; padding: calc(var(--curve) * .5) clamp(24px, 6vw, 96px) 6vh; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(32px, 7vw, 120px); }
.kicker { margin: 0 0 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.about h2 { margin: 0 0 32px; font-weight: 400; font-size: clamp(52px, 8vw, 120px); line-height: .95; letter-spacing: -.035em; }
.about h2 em { color: #9db4ff; }
.about__text p:not(.kicker) { margin: 0 0 18px; max-width: 44ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: rgba(255,255,255,.85); }
.about .stats { margin-top: 36px; }
.about .stat { background: #c9d3ea; border-color: transparent; box-shadow: 0 20px 40px -24px rgba(0,0,0,.5); backdrop-filter: none; color: var(--navy); }
.about .stat::after { background: var(--navy); }
.about .stat dt { color: rgba(19,32,74,.72); }
.about__video { position: relative; margin: 0; width: min(34vw, calc(76vh * 9 / 16), 420px); aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: #0b1330; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); }
.about__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__sound { position: absolute; left: 14px; bottom: 14px; padding: 9px 16px; border: 0; border-radius: 999px; background: rgba(11,19,48,.72); color: #fff; font: 500 13px var(--sans); backdrop-filter: blur(8px); cursor: pointer; }
.about__sound:hover { background: rgba(11,19,48,.9); }
.about__sound:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 860px) { .about__inner { grid-template-columns: 1fr; } .about__video { width: min(72vw, 360px); justify-self: center; } }
.gallery { background: #fff; color: var(--ink); }
.gallery .curve { color: #fff; }
.gallery__inner { padding: calc(var(--curve) * .5) clamp(20px, 5vw, 64px) 12vh; max-width: 1200px; margin-inline: auto; }
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 22px); }
.gallery__grid li { overflow: hidden; border-radius: 6px; aspect-ratio: 4/5; background: #e6e6e6; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1099px) { .nav { display: none; } .header { justify-content: space-between; } }
@media (max-width: 999px) {
  .hero__stage { position: relative; inset: auto; width: auto; height: min(80vw, 460px); margin: 0 0 -24px; order: 2; }
  .hero__photo { height: 100%; right: 50%; transform: translateX(50%); }
  .hero { position: relative; display: flex; flex-direction: column; }
  .hero__inner { min-height: 0; }
  .hero__side { align-items: flex-start; margin-left: 0; }
  .chips { justify-content: flex-start; }
}
@media (max-width: 560px) { .brand small { display: none; } .stat { width: calc(50% - 7px); } .hero__lead { font-size: 16px; } }
.gallery__grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .pill, .pill i { transition: none; } }

.contact { margin-top: calc(var(--curve) + 30vh); background: #c9d3ea; color: var(--navy); display: flex; align-items: center; }
.contact .curve { color: #c9d3ea; }
.contact__inner { width: 100%; max-width: 1240px; margin-inline: auto; padding: calc(var(--curve) * .5) clamp(24px, 6vw, 96px) 4vh; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.contact__main .kicker { color: var(--navy); }
.contact h2 { margin: 0 0 24px; font-weight: 400; font-size: clamp(52px, 7.4vw, 112px); line-height: .95; letter-spacing: -.04em; }
.contact h2 em { color: #1f3fd1; }
.contact__lead { margin: 0 0 32px; max-width: 38ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: rgba(19,32,74,.8); }
.contact__rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(19,32,74,.22); }
.row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'label go' 'value go'; align-items: center; row-gap: 8px; padding: clamp(20px, 3vh, 30px) 0; border-top: 1px solid rgba(19,32,74,.22); color: var(--navy); text-decoration: none; transition: padding .35s cubic-bezier(.22,1,.36,1); }
.row:hover { padding-left: 14px; }
.row__label { grid-area: label; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(19,32,74,.62); }
.row__value { grid-area: value; display: flex; flex-direction: column; gap: 4px; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; line-height: 1.2; }
.row__value--inline { flex-direction: row; align-items: center; gap: 12px; }
.row__value svg { flex: none; }
.row__value--big { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.row__value small { font-size: 15px; letter-spacing: 0; color: rgba(19,32,74,.7); }
.row__go { grid-area: go; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(19,32,74,.3); font-size: 18px; transition: background .3s, color .3s, transform .3s; }
.row:hover .row__go { background: var(--navy); color: #fff; transform: translateX(-4px); }
.row:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.contact__foot { grid-column: 1 / -1; margin: clamp(8px, 3vh, 32px) 0 0; font-size: 13px; color: rgba(19,32,74,.6); }
@media (max-width: 860px) { .contact__inner { grid-template-columns: 1fr; } }
.modalities { background: #8fa2d4; color: var(--navy); display: flex; align-items: center; }
.modalities .curve { color: #8fa2d4; }
.modalities__inner { width: 100%; max-width: 1240px; margin-inline: auto; padding: calc(var(--curve) * .5) clamp(24px, 6vw, 96px) 5vh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(32px, 6vw, 96px); }
.modalities h2 { margin: 0 0 28px; font-weight: 400; font-size: clamp(42px, 5.6vw, 84px); line-height: 1; letter-spacing: -.035em; }
.modalities h2 em { color: #fff; }
.modalities__intro p:not(.kicker) { margin: 0; max-width: 40ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: rgba(19,32,74,.85); }
.modalities .kicker { margin-top: 4px; color: var(--navy); }
.modalities .pill--navy { margin-top: 32px; }
.modalities__list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 10px; }
.mod { display: flex; align-items: center; gap: 18px; min-height: 76px; padding: 10px 20px; border-radius: 16px; background: rgba(255,255,255,.62); border: 1px solid rgba(19,32,74,.1); transition: background .25s, transform .25s; }
.mod:hover { background: #fff; transform: translateX(-4px); }
.mod__idx { font-family: var(--mono); font-size: 12px; color: rgba(19,32,74,.55); }
.mod__txt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.mod__hours { margin-top: 3px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: #1f3fd1; }
.modalities__note { margin: 14px 4px 0; font-size: 13px; color: rgba(19,32,74,.7); }
.mod small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(19,32,74,.65); }
.mod b { font-weight: 500; font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -.02em; }
@media (max-width: 860px) { .modalities__inner { grid-template-columns: 1fr; } }


.place { background: var(--navy); color: #fff; display: flex; align-items: center; }
.place .curve { color: var(--navy); }
.place__inner { width: 100%; max-width: 1240px; margin-inline: auto; padding: calc(var(--curve) * .5) clamp(24px, 6vw, 96px) 5vh; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.place h2 { margin: 0 0 28px; font-weight: 400; font-size: clamp(42px, 5.6vw, 84px); line-height: 1; letter-spacing: -.035em; }
.place h2 em { color: #9db4ff; }
.place__address { display: flex; flex-direction: column; gap: 4px; margin: 0 0 32px; font-style: normal; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: rgba(255,255,255,.85); }
.place__address b { margin-bottom: 6px; font-weight: 600; letter-spacing: .06em; color: #fff; }
.place__map { position: relative; height: min(66vh, 560px); border-radius: 24px; overflow: hidden; background: #dfe5f4; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.14); }
.place__map .leaflet-container { width: 100%; height: 100%; font-family: var(--sans); background: #dfe5f4; }
.place__map a { color: var(--navy); }
.pin { position: absolute; left: -24px; top: -64px; width: 48px; height: 64px; pointer-events: none; }
.pin__svg { display: block; width: 48px; height: 64px; filter: drop-shadow(0 8px 10px rgba(19,32,74,.35)); }
.pin__pulse { position: absolute; left: 50%; bottom: -5px; width: 30px; height: 10px; margin-left: -15px; border-radius: 50%; background: rgba(31,63,214,.4); animation: pinPulse 2.2s ease-out infinite; }
@keyframes pinPulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.pin__label { position: absolute; left: 56px; top: 6px; display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; white-space: nowrap; border-radius: 10px; background: #fff; color: var(--navy); box-shadow: 0 10px 24px -10px rgba(19,32,74,.5); }
.pin__label b { font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.pin__label small { font-size: 11px; color: rgba(19,32,74,.7); }
@media (max-width: 860px) { .place__inner { grid-template-columns: 1fr; } .place__map { height: 56vh; } }
@media (prefers-reduced-motion: reduce) { .pin__pulse { animation: none; } }

html.is-loading { overflow: hidden; }
.loader { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 4vw, 56px); background: var(--navy); color: #fff; font-family: var(--sans); animation: loaderGiveUp 0s 8s forwards; }
.loader__brand { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .75; }
.loader__count { margin: 0; display: flex; align-items: flex-start; font-size: clamp(96px, 22vw, 320px); line-height: .85; letter-spacing: -.05em; font-weight: 400; font-variant-numeric: tabular-nums; }
.loader__num { display: inline-flex; }
.loader__digit { display: block; width: .6em; height: .85em; overflow: hidden; }
.loader__strip { display: block; will-change: transform; }
.loader__strip i { display: block; height: .85em; font-style: normal; line-height: .85; text-align: center; }
.loader__count sup { margin: .06em 0 0 .04em; font-family: var(--serif); font-style: italic; font-size: .32em; letter-spacing: 0; color: #9db4ff; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.14); }
.loader__bar i { display: block; height: 100%; background: #9db4ff; transform: scaleX(0); transform-origin: left; }
@keyframes loaderGiveUp { to { opacity: 0; visibility: hidden; pointer-events: none; } }
