/* =========================================================
   VIGÍLIA · estilo
   1 Tokens  2 Base  3 Camadas de luz  4 Topo  5 Botões e rótulos
   6 Sala  7 Em sintonia  8 Índice  9 Sobre  10 Contato  11 Ficha  12 Movimento
   ========================================================= */

/* ---------- 1. Tokens ---------- */
@property --amb { syntax: '<color>'; inherits: true; initial-value: #FFB24A; }

:root {
  --fundo: #0A0B0E; --sup: #12141A; --sup2: #1A1D25;
  --txt: #F3EFE7; --txt2: #A8A69F; --txt3: #8A8B91;
  --linha: rgba(243, 239, 231, 0.10); --linha-f: rgba(243, 239, 231, 0.22);
  --sinal: #FFB24A; --online: #7FE0B8;
  --amb: #FFB24A;

  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --m: clamp(20px, 5vw, 72px);
  --gut: 24px;
  --entre: clamp(96px, 14vw, 200px);
  --topo-h: 64px;
  --sala-h: max(100vh, 680px);
  --sala-h: max(100svh, 680px);

  --saida: cubic-bezier(.16, 1, .3, 1);
  --io: cubic-bezier(.65, 0, .35, 1);

  --sombra-painel: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35), 0 32px 80px rgba(0, 0, 0, .45);
  --brilho-topo: inset 0 1px 0 rgba(255, 255, 255, .14);
  --grao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  transition: --amb 700ms cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #2A2D36 transparent; }
html.ficha-aberta { overflow: hidden; }
body {
  margin: 0; background: var(--fundo); color: var(--txt);
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #2A2D36; border-radius: 99px; border: 2px solid var(--fundo); }
::-webkit-scrollbar-track { background: transparent; }
::selection { background: var(--sinal); color: #1A1206; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
em { font-style: italic; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--sinal); outline-offset: 4px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.cont { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--m); }

.pular {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  padding: 12px 18px; border-radius: 999px; font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(180deg, #FFC46E, #FFB24A 55%, #F09A2E); color: #1A1206;
}
.pular:focus { top: 12px; }

/* ---------- 3. Camadas de luz ---------- */
.luz, .vinheta, .grao { position: fixed; inset: 0; pointer-events: none; }
.luz {
  z-index: 0; opacity: 1;
  background:
    radial-gradient(70% 58% at 50% 60%, color-mix(in srgb, var(--amb) 46%, transparent) 0%, color-mix(in srgb, var(--amb) 14%, transparent) 55%, transparent 78%),
    radial-gradient(70% 38% at 50% -8%, rgba(243, 239, 231, .07), transparent 70%);
  transition: opacity 700ms var(--saida);
}
body.fora-sala .luz { opacity: .5; }
.vinheta { z-index: 1; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55) 100%); }
.grao { z-index: 90; background-image: var(--grao); background-size: 240px; opacity: .06; mix-blend-mode: overlay; }

#pagina { position: relative; z-index: 2; }

/* ---------- 4. Topo ---------- */
.topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--topo-h);
  border-bottom: 1px solid transparent;
  transition: background-color 250ms var(--saida), border-color 250ms var(--saida), backdrop-filter 250ms var(--saida);
}
.topo.rolou {
  background: rgba(18, 20, 26, .62); border-bottom-color: var(--linha);
  -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
}
.topo .cont { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marca { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.375rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.marca .curto { display: none; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); }
.nav a { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--txt2); padding: 14px 0; transition: color 320ms var(--saida); }
.nav a:hover { color: var(--txt); transition-duration: 180ms; }
.nav a { position: relative; } .nav a::before { content: ""; position: absolute; inset: 0 -4px; }
.marca { position: relative; } .marca::before { content: ""; position: absolute; inset: -12px -8px; }
.idioma { display: inline-flex; border: 1px solid var(--linha-f); border-radius: 999px; padding: 2px; }
.idioma button {
  position: relative; min-width: 38px; height: 28px; border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--txt2);
  transition: background-color 320ms var(--saida), color 320ms var(--saida);
}
.idioma button::before { content: ""; position: absolute; inset: -8px -4px; }
.idioma button[aria-pressed="true"] { background: var(--txt); color: #121317; }
.idioma button:not([aria-pressed="true"]):hover { color: var(--txt); transition-duration: 180ms; }

/* ---------- 5. Botões, rótulos, ponto ---------- */
.rotulo { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--txt2); }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--sinal); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  transition: transform 320ms var(--saida), box-shadow 320ms var(--saida), background-color 320ms var(--saida), border-color 320ms var(--saida), filter 320ms var(--saida);
}
.btn:hover { transition-duration: 180ms; }
.btn-p {
  color: #1A1206;
  background: linear-gradient(180deg, #FFC46E 0%, #FFB24A 55%, #F09A2E 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(240, 154, 46, .28);
}
.btn-p:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 1px 2px rgba(0, 0, 0, .4), 0 16px 36px rgba(240, 154, 46, .38); }
.btn-p:active { transform: translateY(0); }
.btn-s { border: 1px solid var(--linha-f); color: var(--txt); background: rgba(243, 239, 231, .02); box-shadow: var(--brilho-topo); }
.btn-s:hover { background: rgba(243, 239, 231, .08); border-color: rgba(243, 239, 231, .4); transform: translateY(-1px); }
.btn .seta { transition: transform 320ms var(--saida); }
.btn:hover .seta { transform: translate(3px, -3px); transition-duration: 180ms; }

.circ { position: relative; width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--linha-f); background: rgba(243, 239, 231, .03); box-shadow: var(--brilho-topo); transition: background-color 320ms var(--saida), border-color 320ms var(--saida), transform 320ms var(--saida); }
.circ:hover { background: rgba(243, 239, 231, .1); border-color: rgba(243, 239, 231, .4); transition-duration: 180ms; }
.circ svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.ponto { position: relative; flex: none; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--online); }
.ponto::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulso 2.4s var(--saida) infinite; }
.st-em-desenvolvimento .ponto, .st-em-breve .ponto { background: var(--sinal); }
@keyframes pulso { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.8); opacity: 0; } }
.st { display: inline-flex; align-items: center; gap: 8px; }

/* Títulos de seção */
.cab { margin-bottom: clamp(40px, 6vw, 72px); }
.cab .rotulo { margin-bottom: 20px; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1; letter-spacing: -.015em; text-wrap: balance; }
.cab .sub { margin-top: 20px; max-width: 52ch; color: var(--txt2); }
.secao { padding-top: var(--entre); }

/* Moldura de tela (capa, foto, ficha) */
.moldura {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--linha); box-shadow: var(--brilho-topo), var(--sombra-painel);
  background: color-mix(in srgb, var(--c, #3a3d46) 38%, var(--fundo));
}
.moldura > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.moldura::after, .tela::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 38%),
    radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(0, 0, 0, .25) 100%);
  box-shadow: var(--brilho-topo);
}

/* ---------- 6. Sala ---------- */
.sala { position: relative; height: var(--sala-h); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 34fr 0fr 52fr 0fr 14fr; overflow: clip; }

.sala-titulo { grid-row: 1; position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; padding-top: var(--topo-h); padding-bottom: 20px; min-height: 0; }
.sala-meta { display: block; margin-bottom: 14px; }
.h-proj { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, min(9vw, 11.5vh), 9.5rem); line-height: .92; letter-spacing: -.02em; text-wrap: balance; }
.h-proj .l { display: inline-block; vertical-align: top; overflow: hidden; padding: .1em .04em .14em; margin: -.1em -.04em -.14em; }
.h-proj .li { display: block; will-change: transform; }
.sala-desc { flex: none; margin-top: 16px; max-width: 56ch; text-wrap: balance; color: var(--txt2); font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-height: 640px) { .sala-desc { display: none; } }
@media (max-width: 420px) { .sala-desc { font-size: .84375rem; line-height: 1.45; } }

.anel {
  grid-row: 3; position: relative; z-index: 1; min-height: 0;
  --band: calc(var(--sala-h) * .52);
  --ar: 16 / 9;
  --h: calc(var(--band) * .97);
  --pt: calc(var(--band) * .012);
  --w: min(calc(var(--h) * 16 / 9), 54vw, 1000px);
  --gap: clamp(14px, 2.4vw, 36px);
  transition: transform 600ms var(--io);
}
html.ficha-aberta .anel { transform: scale(1.04); }
.halo {
  position: absolute; z-index: 0; left: 50%; top: var(--pt); width: var(--w); aspect-ratio: var(--ar); transform: translateX(-50%);
  border-radius: 14px; pointer-events: none;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--amb) 45%, transparent), 0 0 120px 10px color-mix(in srgb, var(--amb) 48%, transparent), 0 0 280px 40px color-mix(in srgb, var(--amb) 22%, transparent);
}
.halo::after {
  content: ""; position: absolute; left: -8%; right: -8%; top: 100%; height: 36%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--amb) 42%, transparent), transparent);
  filter: blur(18px); opacity: .9;
}
.trilho {
  position: relative; z-index: 1; height: calc(100% + var(--sala-h) * .09); margin: 0;
  display: flex; align-items: flex-start; gap: var(--gap);
  padding: var(--pt) calc(50% - var(--w) / 2) 0;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.trilho::-webkit-scrollbar { display: none; }
.trilho.arrastando { scroll-snap-type: none; cursor: grabbing; }
.trilho.arrastando * { cursor: grabbing !important; }

.slide { --d: 1; flex: none; width: var(--w); scroll-snap-align: center; scroll-snap-stop: always; }
.slide.foco { --d: 0; }
.tela {
  position: relative; display: block; width: 100%; aspect-ratio: var(--ar); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--linha); box-shadow: var(--brilho-topo), var(--sombra-painel);
  background: color-mix(in srgb, var(--c) 38%, var(--fundo));
  transform: scale(calc(1 - .14 * var(--d)));
  -webkit-box-reflect: below 8px linear-gradient(to bottom, transparent 76%, rgba(255, 255, 255, .18));
  cursor: pointer; touch-action: pan-x pan-y;
}
.slide.foco .tela { cursor: zoom-in; }
.tela-m {
  position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: color-mix(in srgb, var(--c) 38%, var(--fundo));
  filter: brightness(calc(1 - .62 * var(--d))) saturate(calc(1 - .3 * var(--d)));
}
.tela-m img, .tela-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tela-m img { opacity: 1; transition: opacity 400ms var(--saida); }
html.js .tela-m img.pre { opacity: 0; }
.tela-v { opacity: 0; transition: opacity 300ms var(--saida); }
.tela-v.on { opacity: 1; }

.sala-tele { grid-row: 5; position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 0; padding-bottom: 8px; }
.tele-info { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.tele-n { display: inline-block; min-width: 7.5ch; color: var(--txt); }
.tele-sep { color: var(--txt3); }
.tele-ano { min-width: 4ch; }
.regua { flex: 1; display: flex; gap: 6px; max-width: 280px; margin-inline: auto; }
.regua i { flex: 1; height: 2px; border-radius: 2px; background: var(--linha-f); transition: background-color 500ms var(--saida), transform 500ms var(--saida); transform-origin: left; }
.regua i.on { background: var(--sinal); }
.tele-acoes { display: flex; align-items: center; gap: 12px; }
.btn-play[hidden] { display: none; }

@media (max-width: 720px) {
  .anel { --ar: 1 / 1.06; --pt: calc(var(--band) * .07); --w: min(calc(100vw - 2 * var(--m)), 420px); }
  .sala-tele { flex-wrap: wrap; align-content: center; gap: 10px 12px; }
  .tele-info { flex: 0 0 100%; }
  .regua { display: none; }
  .tele-acoes { flex: 0 0 100%; }
  .tele-acoes .btn-p { flex: 1; padding: 0 16px; }
  .tele-acoes .btn-play { flex: none; }
  .circ { width: 44px; height: 44px; }
  .btn { min-height: 44px; }
}

/* ---------- 7. Em sintonia ---------- */
.sint-grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); }
.sint {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--linha); box-shadow: var(--brilho-topo), var(--sombra-painel);
  background: var(--sup);
  display: flex; flex-direction: column; justify-content: space-between; padding: 18px 18px 16px;
}
.sint::before {
  content: ""; position: absolute; inset: -40%; z-index: -2; background-image: var(--grao); background-size: 200px; opacity: .3; mix-blend-mode: screen;
  filter: brightness(.55) contrast(1.1);
  animation: deriva 46s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}
.sint::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 38%),
    radial-gradient(90% 70% at 12% 110%, rgba(255, 178, 74, .10), transparent 70%),
    radial-gradient(120% 120% at 50% 50%, transparent 50%, rgba(0, 0, 0, .35) 100%);
}
@keyframes deriva { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-9%, -7%, 0); } }
.sint-tipo { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--txt2); }
.sint-nome { font-family: var(--serif); font-size: clamp(1.375rem, 2.2vw, 2rem); line-height: 1; letter-spacing: -.01em; text-wrap: balance; margin-top: auto; padding-top: 12px; }
.sint-st { margin-top: 12px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--txt2); }

/* ---------- 8. Índice ---------- */
.indice { border-top: 1px solid var(--linha); }
.linha-i { border-bottom: 1px solid var(--linha); }
.linha-a {
  display: grid; align-items: baseline; column-gap: var(--gut); padding: 22px 0;
  grid-template-columns: 48px minmax(0, 1fr) 200px 56px 168px 20px;
  transition: transform 320ms var(--saida), opacity 320ms var(--saida);
}
a.linha-a:hover, a.linha-a:focus-visible { transform: translateX(12px); transition-duration: 180ms; }
a.linha-a:focus-visible { outline-offset: -2px; border-radius: 8px; }
.indice:has(a.linha-a:is(:hover, :focus-visible)) .linha-a:not(:hover):not(:focus-visible) { opacity: .42; }
.i-n { font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--txt3); font-variant-numeric: tabular-nums; }
.i-nome { font-family: var(--serif); font-size: clamp(1.625rem, 2.7vw, 2.5rem); line-height: 1.05; letter-spacing: -.01em; }
.i-tipo, .i-ano, .i-st { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--txt2); font-variant-numeric: tabular-nums; }
.i-st { justify-self: start; }
.i-seta { color: var(--txt2); transition: transform 320ms var(--saida), color 320ms var(--saida); }
a.linha-a:hover .i-seta { color: var(--sinal); transform: translate(3px, -3px); transition-duration: 180ms; }
a.linha-a:hover .i-nome { color: #fff; }
a.linha-a:hover .i-n { color: var(--c); }
.indice .ponto::after { display: none; }

@media (max-width: 900px) {
  .linha-a { grid-template-columns: 36px minmax(0, 1fr) 20px; grid-template-areas: "n nome seta" ". meta meta"; row-gap: 8px; padding: 20px 0; }
  .i-n { grid-area: n; } .i-nome { grid-area: nome; } .i-seta { grid-area: seta; }
  .i-tipo, .i-ano, .i-st { grid-row: 2; }
  .linha-a { grid-template-areas: "n nome seta" ". tipo tipo" ; }
  .i-tipo { grid-area: tipo; display: block; }
  .i-ano, .i-st { display: none; }
  .i-tipo::after { content: none; }
  .linha-a .meta-m { display: flex; }
}
.meta-m { display: none; grid-area: meta; gap: 10px; align-items: center; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--txt2); }
@media (max-width: 900px) {
  .linha-a { grid-template-areas: "n nome seta" ". meta meta"; }
  .i-tipo { display: none; }
  .meta-m { display: flex; flex-wrap: wrap; }
}

/* ---------- 9. Sobre ---------- */
.sobre-grade { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); row-gap: 48px; align-items: start; }
.sobre-foto { grid-column: 1 / 5; }
.sobre-foto .moldura { aspect-ratio: 4 / 5; }
.sobre-foto img { object-position: 50% 18%; }
.sobre-texto { grid-column: 6 / 13; }
.lead { font-family: var(--serif); font-size: clamp(1.375rem, 2vw, 1.875rem); line-height: 1.25; color: #D8D4CB; letter-spacing: -.01em; text-wrap: balance; margin: 28px 0 28px; }
.sobre-texto p.c { max-width: 62ch; color: var(--txt2); }
.sobre-texto p.c + p.c { margin-top: 16px; }
.traj { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--linha); }
.traj li { padding: 20px 16px 0 0; }
.traj li + li { padding-left: 20px; border-left: 1px solid var(--linha); }
.traj b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.traj span { display: block; margin-top: 10px; }
.formacao { margin-top: 48px; }
.formacao li { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 20px; padding: 16px 0; border-top: 1px solid var(--linha); }
.formacao li:last-child { border-bottom: 1px solid var(--linha); }
.formacao .curso { font-weight: 500; }
@media (max-width: 900px) {
  .sobre-foto { grid-column: 1 / 8; }
  .sobre-texto { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .sobre-foto { grid-column: 1 / -1; }
  .traj li { padding-right: 8px; } .traj li + li { padding-left: 14px; }
}

/* ---------- 10. Contato ---------- */
.contato { position: relative; }
.contato::before {
  content: ""; position: absolute; left: 50%; top: 30%; width: min(900px, 100%); aspect-ratio: 2 / 1; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--sinal) 12%, transparent), transparent);
}
.h-contato { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 9vw, 9.5rem); line-height: .92; letter-spacing: -.02em; text-wrap: balance; max-width: 12ch; }
.contato .rotulo { margin-bottom: 28px; }
.contato-sub { margin-top: 28px; max-width: 46ch; color: var(--txt2); }
.contato-botoes { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; }
.contato-botoes .btn { min-height: 56px; padding: 0 30px; }
.rodape { margin-top: var(--entre); border-top: 1px solid var(--linha); padding: 28px 0 40px; color: var(--txt2); }
.rodape .cont { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (max-width: 560px) {
  .contato-botoes { flex-direction: column; }
  .contato-botoes .btn { width: 100%; justify-content: space-between; }
}

/* ---------- 11. Ficha ---------- */
.ficha-wrap { position: fixed; inset: 0; z-index: 80; }
.ficha-wrap[hidden] { display: none; }
.scrim { position: absolute; inset: 0; background: rgba(5, 6, 8, .5); opacity: 0; transition: opacity 450ms var(--saida); }
.ficha {
  position: absolute; top: 16px; right: 16px; bottom: 16px; width: min(520px, calc(100vw - 32px)); overflow: auto; overscroll-behavior: contain;
  border-radius: 20px; padding: 28px 28px 32px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--amb) 9%, transparent), transparent 45%), rgba(18, 20, 26, .62);
  -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--linha); box-shadow: var(--brilho-topo), var(--sombra-painel);
  opacity: 0; transform: translateX(24px);
  transition: opacity 450ms var(--saida), transform 450ms var(--saida);
  scrollbar-width: thin;
}
.ficha-wrap.on .scrim { opacity: 1; }
.ficha-wrap.on .ficha { opacity: 1; transform: none; }
.ficha-topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.ficha-fechar { position: relative; flex: none; width: 44px; height: 44px; }
.ficha-capa { aspect-ratio: 16 / 10; margin-bottom: 28px; }
.ficha h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 3.6vw, 3.25rem); line-height: .98; letter-spacing: -.015em; text-wrap: balance; }
.ficha-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; }
.ficha-txt { margin-top: 24px; }
.ficha-txt p { color: #D8D4CB; max-width: 62ch; }
.ficha-txt p + p { margin-top: 14px; }
.ficha-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ficha-stack { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--linha); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips li { padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--txt); background: rgba(243, 239, 231, .06); border: 1px solid var(--linha); }
@media (max-width: 720px) {
  .ficha { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 78vh; height: 78dvh; border-radius: 20px 20px 0 0; padding: 20px 20px 36px; transform: translateY(40px); }
}

/* ---------- 12. Movimento ---------- */
@media (max-width: 720px) {
  .marca .longo { display: none; } .marca .curto { display: inline; }
  .nav { gap: 12px; } .nav a { letter-spacing: .1em; font-size: 11px; }
  .sint-grade { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sint { padding: 14px 14px 12px; }
}
@media (max-width: 1100px) and (min-width: 721px) { .sint-grade { grid-template-columns: repeat(2, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root { transition-duration: 200ms; }
  .ponto::after, .sint::before { animation: none; }
  .ficha, .scrim, .anel { transition-duration: 200ms; }
  .ficha { transform: none; }
  html.ficha-aberta .anel { transform: none; }
  .btn-p:hover, .btn-s:hover, a.linha-a:hover { transform: none; }
}

/* ---------- 13. Sala em WebGL, abertura, cursor, lanterna, prévia ---------- */
.gl-canvas { position: absolute; left: 0; top: 0; z-index: 0; width: 100%; height: calc(100% + var(--sala-h) * .09); display: block; touch-action: pan-y; opacity: 0; transition: opacity 400ms var(--saida); }
html.gl .gl-canvas { opacity: 1; }
.anel { touch-action: pan-y; }
#gl-video { position: fixed; left: 0; bottom: 0; width: 2px; height: 2px; overflow: hidden; opacity: .01; pointer-events: none; }
#gl-video video { width: 2px; height: 2px; }
html.gl-esp .trilho { opacity: 0; }
html.gl .trilho { display: block; height: 100%; padding: 0; overflow: visible; scroll-snap-type: none; pointer-events: none; }
html.gl .slide { position: absolute; left: 50%; top: var(--pt); width: var(--w); margin-left: calc(var(--w) / -2); visibility: hidden; scroll-snap-align: none; }
html.gl .slide.foco { visibility: visible; }
html.gl .slide.foco .tela { pointer-events: auto; background: none; border-color: transparent; box-shadow: none; -webkit-box-reflect: none; transform: none; cursor: zoom-in; }
html.gl .tela-m, html.gl .tela::after { display: none; }
html.gl .slide.foco .tela:focus-visible { outline-offset: 6px; border-radius: 14px; }
html.gl .anel.arrastando, html.gl .anel.arrastando * { cursor: grabbing; }
html.gl .halo { transition: none; }

/* Abertura: fio de luz, telas acendendo */
#abertura { display: none; }
html.abre #abertura { display: block; position: fixed; inset: 0; z-index: 300; background: #000; pointer-events: none; }
#abertura .fio { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; transform: scaleX(0); transform-origin: 50% 50%;
  background: linear-gradient(90deg, transparent, #FFC46E 18%, #FFB24A 50%, #FFC46E 82%, transparent); box-shadow: 0 0 28px 3px rgba(255, 178, 74, .65); }
#abertura.corre .fio { transform: scaleX(1); transition: transform 400ms var(--io); }
#abertura.some { opacity: 0; transition: opacity 350ms var(--saida); }
#abertura.some .fio { opacity: 0; transition: opacity 200ms var(--saida); }
html.abrindo .h-proj .li { transform: translateY(112%); }
html.abrindo:not(.gl) .slide { opacity: 0; }
html.acesas .slide { opacity: 1; transition: opacity 500ms var(--saida) calc(var(--k, 0) * 110ms); }

/* Cursor (ponteiro fino) */
.cur { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; display: none; will-change: transform; }
html.cur-on .cur { display: block; }
html.cur-on:not(.cur-txt), html.cur-on:not(.cur-txt) * { cursor: none !important; }
.cur-dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #F3EFE7; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); transition: opacity 180ms var(--saida), transform 320ms var(--saida); }
.cur-ring { position: absolute; left: 0; top: 0; width: 36px; height: 36px; transform: translate(-50%, -50%); border-radius: 18px; border: 1px solid rgba(243, 239, 231, .55);
  display: grid; place-items: center; font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #121317; white-space: nowrap; background: rgba(243, 239, 231, 0);
  transition: width 320ms var(--saida), height 320ms var(--saida), background-color 320ms var(--saida), border-color 320ms var(--saida), opacity 320ms var(--saida); }
.cur-ring span { opacity: 0; transition: opacity 180ms var(--saida); }
.cur-ring.pill { width: 72px; height: 36px; background: #F3EFE7; border-color: transparent; transition-duration: 180ms; }
.cur-ring.pill span { opacity: 1; transition-delay: 90ms; }
.cur-ring.link { width: 56px; height: 56px; border-radius: 28px; background: rgba(243, 239, 231, .10); transition-duration: 180ms; }
.cur-ring.pill ~ .cur-dot, .cur-dot.some { opacity: 0; }
html.cur-txt .cur { opacity: 0; }

/* Lanterna e brilho de borda nos cartões */
.lanterna { position: fixed; inset: 0; z-index: 61; pointer-events: none; opacity: 0; mix-blend-mode: screen; transition: opacity 320ms var(--saida);
  background: radial-gradient(240px circle at var(--mx, -999px) var(--my, -999px), color-mix(in srgb, var(--amb) 10%, transparent), transparent 100%); }
html.cur-on .lanterna { opacity: 1; }
.sint .bd { position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1px; pointer-events: none; opacity: var(--lo, 0);
  background: radial-gradient(180px circle at var(--lx, 50%) var(--ly, 50%), color-mix(in srgb, var(--amb) 90%, #fff), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }

/* Prévia do índice: a capa segue o cursor */
.previa { position: fixed; left: 0; top: 0; z-index: 80; width: 220px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; pointer-events: none; opacity: 0; will-change: transform;
  border: 1px solid var(--linha-f); box-shadow: var(--sombra-painel); background: color-mix(in srgb, var(--c, #3a3d46) 38%, var(--fundo)); transition: opacity 320ms var(--saida); }
.previa.on { opacity: 1; transition-duration: 180ms; }
.previa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 400ms var(--saida); }
.previa img.ok { opacity: 1; }
@media (hover: none), (pointer: coarse) { .previa, .cur, .lanterna { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  #abertura { display: none !important; }
  .cur-ring, .cur-dot, .previa { transition-duration: 1ms; }
  .gl-canvas { transition-duration: 200ms; }
}
