/* BlackTower · holding · estilo */

:root {
  --negro: #111214;
  --basalto: #27282A;
  --calcario: #EAE3D5;
  --siena: #BB6444;
  --salvia: #AFBAAF;
  --cinza: #8B8A86;
  --papel: #F2ECE0;
  --fraunces: 'Fraunces', Georgia, serif;
  --jost: 'Jost', 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --solto: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--negro); color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--negro);
  color: var(--calcario);
  font-family: var(--jost);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.travado { overflow: hidden; }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--siena); color: var(--calcario); }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

.titulo, .terreo-nome, .m-linha, .doss-titulo, .elev-nome, .faixa-linha, .pilha-cabeca h2, .cob-titulo, .menu-lista a {
  font-family: var(--fraunces);
  font-weight: 760;
  font-variation-settings: 'SOFT' 100, 'WONK' 0, 'opsz' 72;
  letter-spacing: -.02em;
}

/* ───────────── camadas fixas ───────────── */

#grao {
  position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grao 1s steps(6) infinite;
}
@keyframes grao {
  0% { transform: translate(0, 0); } 20% { transform: translate(-7%, 4%); } 40% { transform: translate(5%, -6%); }
  60% { transform: translate(-3%, 8%); } 80% { transform: translate(8%, 2%); } 100% { transform: translate(0, 0); }
}

#flash { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 50%, #fff8ec, var(--calcario) 60%); }

#cursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; mix-blend-mode: difference; }
#cursor .c-ponto, #cursor .c-anel { position: absolute; left: 0; top: 0; border-radius: 50%; translate: -50% -50%; }
#cursor .c-ponto { width: 6px; height: 6px; background: var(--calcario); }
#cursor .c-anel {
  width: 38px; height: 38px; border: 1px solid var(--calcario);
  display: grid; place-items: center;
  transition: width .45s var(--solto), height .45s var(--solto), background-color .3s, border-color .3s;
}
#cursor .c-anel em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--negro); opacity: 0; transition: opacity .2s; }
#cursor.ativo .c-anel { width: 84px; height: 84px; background: var(--calcario); }
#cursor.ativo .c-anel em { opacity: 1; }
#cursor.oculto { opacity: 0; }
@media (hover: none), (pointer: coarse) { #cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { html.js body, html.js a, html.js button { cursor: none; } }

/* ───────────── entrada ───────────── */

#entrada { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
html:not(.js) #entrada { display: none; }
.ent-metade { position: absolute; top: 0; bottom: 0; width: 50.2%; background: var(--negro); }
.ent-esq { left: 0; }
.ent-dir { right: 0; }
.ent-linha {
  position: absolute; left: 50%; bottom: 0; width: 1px; height: 0; translate: -50% 0;
  background: linear-gradient(to top, var(--siena), var(--calcario));
  box-shadow: 0 0 18px 2px rgba(234, 227, 213, .35);
}
.ent-info { position: absolute; left: 50%; bottom: 36px; translate: -50% 0; display: flex; gap: 12px; align-items: baseline; color: var(--cinza); }
.ent-num { color: var(--calcario); font-size: 13px; min-width: 3.2ch; text-align: right; }

/* ───────────── painel fixo ───────────── */

#hud { position: fixed; inset: 0; z-index: 100; pointer-events: none; mix-blend-mode: difference; color: var(--calcario); }
#hud a, #hud button { pointer-events: auto; }
.hud-marca { position: absolute; left: var(--gutter); top: 22px; display: flex; align-items: center; gap: 12px; font-family: var(--fraunces); font-weight: 760; font-variation-settings: 'SOFT' 100, 'opsz' 72; font-size: 21px; letter-spacing: -.02em; }
.hud-torre { width: 14px; height: 26px; fill: var(--calcario); }
.hud-acoes { position: absolute; right: var(--gutter); top: 22px; display: flex; gap: 10px; }
.hud-som, .hud-menu { height: 38px; padding: 0 16px; border: 1px solid rgba(234, 227, 213, .4); border-radius: 99px; display: flex; align-items: center; gap: 10px; transition: background-color .3s, color .3s; }
.hud-som:hover, .hud-menu:hover { background: var(--calcario); color: var(--negro); }
.hud-som i { display: inline-block; width: 2px; height: 4px; background: currentColor; margin-right: -7px; transition: height .3s; }
.hud-som span { margin-left: 6px; }
.hud-som[aria-pressed="true"] i { animation: barra .9s ease-in-out infinite alternate; }
.hud-som[aria-pressed="true"] i:nth-child(2) { animation-delay: -.3s; }
.hud-som[aria-pressed="true"] i:nth-child(3) { animation-delay: -.6s; }
.hud-som[aria-pressed="true"] i:nth-child(4) { animation-delay: -.15s; }
@keyframes barra { from { height: 3px; } to { height: 12px; } }
.hud-menu b { position: relative; width: 16px; height: 8px; }
.hud-menu b::before, .hud-menu b::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .4s var(--solto), top .4s var(--solto); }
.hud-menu b::before { top: 1px; }
.hud-menu b::after { top: 6px; }
body.menu-aberto .hud-menu b::before { top: 4px; transform: rotate(45deg); }
body.menu-aberto .hud-menu b::after { top: 4px; transform: rotate(-45deg); }

.hud-regua { position: absolute; left: calc(var(--gutter) - 4px); top: 22vh; bottom: 22vh; width: 140px; transition: opacity .4s; }
body.menu-aberto .hud-regua { opacity: 0; }
.regua-trilho {
  position: absolute; left: 0; top: 0; bottom: 0; width: 10px;
  background:
    linear-gradient(currentColor, currentColor) left / 1px 100% no-repeat,
    repeating-linear-gradient(to bottom, rgba(234, 227, 213, .55) 0 1px, transparent 1px 10px) left / 6px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--calcario) 0 1px, transparent 1px 50px) left / 10px 100% no-repeat;
  opacity: .5;
}
.regua-marca { position: absolute; left: 0; top: 100%; display: flex; flex-direction: column; gap: 3px; padding-left: 20px; translate: 0 -50%; }
.regua-marca::before { content: ''; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: var(--calcario); }
.regua-alt { font-size: 13px; }
.regua-andar { font-size: 10px; opacity: .6; }
.hud-rodape { position: absolute; right: var(--gutter); bottom: 22px; display: flex; gap: 10px; opacity: .75; }
.hud-sep { opacity: .4; }

/* ───────────── menu ───────────── */

#menu { position: fixed; inset: 0; z-index: 95; pointer-events: none; color: var(--basalto); }
.menu-fundo { position: absolute; inset: 0; background: var(--calcario); clip-path: circle(0 at calc(100% - 80px) 40px); transition: clip-path .9s cubic-bezier(.76, 0, .24, 1); }
body.menu-aberto #menu { pointer-events: auto; }
body.menu-aberto .menu-fundo { clip-path: circle(150% at calc(100% - 80px) 40px); }
.menu-lista { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; translate: 0 -46%; list-style: none; columns: 2; column-gap: 6vw; }
.menu-lista li { break-inside: avoid; overflow: hidden; }
.menu-lista a { display: flex; align-items: baseline; gap: 18px; font-size: clamp(30px, 4.2vw, 64px); line-height: 1.12; padding: 2px 0; transform: translateY(110%); transition: transform .8s var(--solto), color .3s, opacity .3s; }
.menu-lista a span { color: var(--siena); font-size: 12px; }
body.menu-aberto .menu-lista a { transform: none; }
.menu-lista li:nth-child(1) a { transition-delay: .18s; } .menu-lista li:nth-child(2) a { transition-delay: .22s; }
.menu-lista li:nth-child(3) a { transition-delay: .26s; } .menu-lista li:nth-child(4) a { transition-delay: .30s; }
.menu-lista li:nth-child(5) a { transition-delay: .34s; } .menu-lista li:nth-child(6) a { transition-delay: .38s; }
.menu-lista li:nth-child(7) a { transition-delay: .42s; } .menu-lista li:nth-child(8) a { transition-delay: .46s; }
.menu-lista li:nth-child(9) a { transition-delay: .50s; } .menu-lista li:nth-child(10) a { transition-delay: .54s; }
.menu-lista li:nth-child(11) a { transition-delay: .58s; }
body:not(.menu-aberto) .menu-lista a { transition-delay: 0s; transition-duration: .4s; }
.menu-lista:hover a { opacity: .3; }
.menu-lista a:hover { opacity: 1; transform: translateX(14px); font-style: italic; }
.menu-pe { position: absolute; left: var(--gutter); bottom: 26px; opacity: 0; transition: opacity .4s; }
body.menu-aberto .menu-pe { opacity: .6; transition-delay: .6s; }

/* ───────────── cenas ───────────── */

.cena { position: relative; }
.cena.fixa { height: calc(var(--altura) * 1vh); height: calc(var(--altura) * 1svh); }
.palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* 1. térreo */
#terreo { height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 60%, #1d1e20, var(--negro) 70%); }
#veios { position: absolute; inset: 0; width: 100%; height: 100%; }
.terreo-luz { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, rgba(10, 10, 11, .75) 100%); }
.terreo-miolo { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--gutter); }
.terreo-torre { height: clamp(84px, 13vh, 136px); aspect-ratio: 150 / 286; width: auto; overflow: visible; margin-bottom: clamp(18px, 3vh, 34px); }
.terreo-torre path { fill: rgba(234, 227, 213, 0); stroke: var(--calcario); stroke-width: 2.4; vector-effect: non-scaling-stroke; transition: fill 1.4s var(--solto); }
.terreo-torre.cheia path { fill: rgba(234, 227, 213, 1); }
.terreo-sobre { color: var(--siena); letter-spacing: .5em; margin-bottom: 4px; overflow: hidden; }
.terreo-nome { font-size: clamp(64px, 15.5vw, 250px); line-height: .92; white-space: nowrap; }
.terreo-nome .l { display: inline-block; will-change: transform; }
.terreo-frase { margin-top: clamp(14px, 2.4vh, 28px); font-weight: 300; font-size: clamp(16px, 1.55vw, 22px); letter-spacing: .02em; color: rgba(234, 227, 213, .82); overflow: hidden; }
.terreo-sobre span, .terreo-frase span { display: inline-block; }
html.js .terreo-sobre span, html.js .terreo-frase span { transform: translateY(105%); }
.terreo-dica { position: absolute; bottom: 30px; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 14px; color: rgba(234, 227, 213, .65); }
.terreo-dica i { width: 1px; height: 54px; background: linear-gradient(var(--calcario), transparent); transform-origin: top; animation: desce 2.2s var(--solto) infinite; }
@keyframes desce { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.terreo-cantos { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 30px; display: flex; justify-content: space-between; color: rgba(234, 227, 213, .4); pointer-events: none; }
.terreo-cantos span:first-child { padding-left: 0; }
html.js .terreo-dica, html.js .terreo-cantos { opacity: 0; }

/* 2. manifesto */
#manifesto .palco { background: #0c0c0d; }
.manif-fundo { position: absolute; inset: -4%; will-change: transform; }
.manif-fundo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.42) contrast(1.1) saturate(.8); }
.manif-torre-css {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(12, 12, 13, 0) 50%, rgba(12, 12, 13, .9)),
    radial-gradient(ellipse 30% 70% at 50% 0%, rgba(140, 135, 128, .35), transparent 70%),
    linear-gradient(90deg, transparent calc(50% - 7vw), #070708 calc(50% - 7vw), #18191b 50%, #0b0b0c calc(50% + 7vw), transparent calc(50% + 7vw)),
    linear-gradient(#3a3b3f, #1a1b1d 60%, #0c0c0d);
}
.manif-torre-css::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 18%; width: 2px; translate: -50% 0; background: linear-gradient(transparent, var(--siena) 30%, #f0a070 70%, var(--siena)); box-shadow: 0 0 22px 4px rgba(187, 100, 68, .55); }
.manif-fundo img + .manif-torre-css { display: none; }
.manif-fundo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(12, 12, 13, .25), rgba(12, 12, 13, .85)); }
.manif-textos { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter); }
.m-grupo { grid-area: 1 / 1; text-align: center; }
.m-linha { font-size: clamp(42px, 8vw, 132px); line-height: 1.02; }
.m-linha { opacity: 0; transform: translateY(40px); filter: blur(14px); will-change: transform, opacity, filter; }
.m-nao span { color: rgba(234, 227, 213, .5); font-weight: 300; font-style: italic; }
.m-nao em { position: relative; font-style: normal; }
.m-nao em::after { content: ''; position: absolute; left: -4%; right: -4%; top: 54%; height: .08em; background: var(--siena); transform-origin: left; transform: scaleX(var(--risca, 0)); box-shadow: 0 0 20px rgba(187, 100, 68, .6); }
.m-sim { font-size: clamp(46px, 9.4vw, 158px); }
.m-fim span { color: var(--siena); font-style: italic; }
.manif-contador { position: absolute; right: var(--gutter); bottom: 60px; color: rgba(234, 227, 213, .5); }
.manif-contador span { color: var(--calcario); }

/* 3. dossiê */
#dossie { background: var(--calcario); color: var(--basalto); padding: clamp(110px, 18vh, 200px) var(--gutter); overflow: hidden; }
#dossie::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(39, 40, 42, .04) 0 1px, transparent 1px 34px); pointer-events: none; }
.doss-folha {
  position: relative; max-width: 1040px; margin: 0 auto; padding: clamp(28px, 5vw, 72px);
  background: var(--papel); border: 1px solid rgba(39, 40, 42, .12);
  box-shadow: 0 40px 80px -30px rgba(39, 40, 42, .35), 0 2px 0 rgba(39, 40, 42, .05);
  transform: rotate(-.6deg);
}
.doss-folha.treme { animation: treme .5s cubic-bezier(.36, .07, .19, .97); }
@keyframes treme {
  10%, 90% { transform: rotate(-.6deg) translate(-2px, 1px); } 20%, 80% { transform: rotate(-.2deg) translate(5px, -3px); }
  30%, 50%, 70% { transform: rotate(-1.2deg) translate(-8px, 4px); } 40%, 60% { transform: rotate(0deg) translate(8px, -2px); }
}
.doss-topo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-bottom: 18px; border-bottom: 1px dashed rgba(39, 40, 42, .35); color: rgba(39, 40, 42, .7); }
.doss-liberados { color: var(--siena); }
.doss-titulo { font-size: clamp(40px, 6.4vw, 96px); line-height: 1; margin: clamp(26px, 4vw, 48px) 0 clamp(20px, 3vw, 36px); }
.doss-texto p { font-family: var(--fraunces); font-weight: 380; font-variation-settings: 'SOFT' 50, 'opsz' 36; font-size: clamp(23px, 2.9vw, 42px); line-height: 1.38; letter-spacing: -.01em; }
.doss-texto p + p { margin-top: .3em; }
.tarja {
  font-weight: inherit; position: relative; color: transparent; padding: 0 .12em; margin: 0 -.04em;
  background: linear-gradient(#1B1C1E, #1B1C1E) no-repeat right center / 100% 82%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .7s var(--solto), color .2s;
  cursor: pointer;
}
.tarja:hover { background-image: linear-gradient(#2c2d30, #2c2d30); }
.tarja.aberta { background-size: 0% 82%; color: var(--siena); font-style: italic; }
.doss-dica { margin-top: 30px; color: rgba(39, 40, 42, .55); }
.doss-final { margin-top: 26px; font-family: var(--fraunces); font-style: italic; font-size: clamp(20px, 2.2vw, 30px); color: var(--siena); opacity: 0; transform: translateY(14px); transition: opacity .8s, transform .8s var(--solto); }
.doss-folha.completo .doss-final { opacity: 1; transform: none; }
.doss-folha.completo .doss-dica { opacity: 0; }
.doss-carimbo {
  position: absolute; right: clamp(16px, 6vw, 80px); top: clamp(70px, 9vw, 120px);
  padding: 10px 22px; border: 5px solid var(--siena); border-radius: 6px; color: var(--siena);
  font-family: var(--mono); font-weight: 500; font-size: clamp(18px, 2.6vw, 34px); letter-spacing: .12em;
  transform: rotate(-14deg) scale(3); opacity: 0; mix-blend-mode: multiply; pointer-events: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 2.2'/%3E%3C/filter%3E%3Crect width='300' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 2.2'/%3E%3C/filter%3E%3Crect width='300' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.doss-carimbo.batido { animation: carimbo .42s cubic-bezier(.5, 0, .75, 0) forwards; }
@keyframes carimbo { 0% { opacity: 0; transform: rotate(-24deg) scale(3); } 70% { opacity: .95; } 100% { opacity: .9; transform: rotate(-14deg) scale(1); } }
.doss-assina { margin-top: 34px; text-align: right; color: rgba(39, 40, 42, .6); }

/* 4. porta */
#porta .palco { background: #050505; }
.porta-zoom { position: absolute; inset: 0; transform-origin: 50% 52%; will-change: transform; }
.porta-zoom img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.porta-css {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 140px),
    linear-gradient(90deg, #0a0a0b, #19191b 30%, #1d1e20 50%, #19191b 70%, #0a0a0b);
}
.porta-fresta { position: absolute; left: 50%; top: 18%; height: 56%; width: 6px; translate: -50% 0; background: linear-gradient(#fff4dc, #ffd9a0); border-radius: 2px; box-shadow: 0 0 30px 8px rgba(255, 210, 150, .55), 0 0 120px 40px rgba(187, 100, 68, .35); }
.porta-chao { position: absolute; left: 50%; top: 74%; width: 60vw; height: 26%; translate: -50% 0; background: linear-gradient(rgba(255, 220, 170, .55), transparent 85%); clip-path: polygon(49.6% 0, 50.4% 0, 70% 100%, 30% 100%); filter: blur(6px); }
.porta-brilho { position: absolute; inset: 0; pointer-events: none; opacity: var(--brilho, 0); background: radial-gradient(ellipse 30% 60% at 50% 52%, rgba(255, 236, 205, .9), rgba(255, 200, 140, .25) 50%, transparent 75%); mix-blend-mode: screen; }
.porta-textos { position: absolute; left: 0; right: 0; bottom: 14vh; text-align: center; padding: 0 var(--gutter); }
.p-linha { font-family: var(--fraunces); font-variation-settings: 'SOFT' 100, 'opsz' 72; opacity: 0; transform: translateY(30px); }
.p-1 { font-weight: 340; font-style: italic; font-size: clamp(22px, 2.8vw, 40px); color: rgba(234, 227, 213, .85); }
.p-2 { font-weight: 760; font-size: clamp(54px, 10vw, 170px); line-height: 1; margin-top: 8px; letter-spacing: -.02em; }

/* 5. elevador */
#elevador .palco { background: #080809; }
.elev-andares, .andar { position: absolute; inset: 0; }
.andar { opacity: 0; overflow: hidden; }
.andar.atual { opacity: 1; }
.andar img, .andar-css { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--kb, 1.12)); will-change: transform; }
.andar img { filter: contrast(1.05) saturate(.9); }
.andar-css { background: #0e0e0f; }
.a1 { background:
  radial-gradient(ellipse 18% 60% at 50% 0%, rgba(255, 214, 160, .55), transparent 70%),
  linear-gradient(to top, rgba(14, 14, 15, .2), transparent 30%),
  repeating-linear-gradient(90deg, #0a0a0b 0 6%, #1f2022 6% 9%, #2a2b2d 9% 10%, #0a0a0b 10% 16.6%),
  #0e0e0f; }
.a2 { background:
  radial-gradient(circle at 34% 58%, transparent 15%, #0e0e0f 15.3%, transparent 15.6%),
  repeating-conic-gradient(from 0deg at 34% 58%, #3a3027 0 5deg, #0e0e0f 5deg 10deg),
  #0e0e0f;
  -webkit-mask-image: radial-gradient(circle at 34% 58%, #000 0 30%, transparent 30.3%), radial-gradient(circle at 68% 36%, #000 0 20%, transparent 20.3%);
  mask-image: radial-gradient(circle at 34% 58%, #000 0 30%, transparent 30.3%), radial-gradient(circle at 68% 36%, #000 0 20%, transparent 20.3%); }
.a3 { background:
  radial-gradient(ellipse 9% 16% at 26% 70%, rgba(234, 227, 213, .5), transparent 70%),
  radial-gradient(ellipse 7% 24% at 52% 64%, rgba(234, 227, 213, .55), transparent 70%),
  radial-gradient(ellipse 12% 10% at 76% 74%, rgba(234, 227, 213, .45), transparent 70%),
  radial-gradient(ellipse 40% 50% at 50% 0%, rgba(255, 214, 160, .18), transparent 70%),
  linear-gradient(#141415, #0b0b0c); }
.a4 { background:
  radial-gradient(ellipse 6% 10% at 50% 78%, rgba(175, 186, 175, .8), transparent 70%),
  linear-gradient(90deg, transparent 46%, rgba(255, 220, 170, .22) 49%, rgba(255, 220, 170, .32) 50%, rgba(255, 220, 170, .22) 51%, transparent 54%),
  radial-gradient(ellipse 40% 30% at 50% 82%, rgba(255, 210, 150, .18), transparent 70%),
  #0b0b0c; }
.a5 { background:
  radial-gradient(circle at 50% 74%, rgba(255, 180, 120, .9) 0 .25%, transparent .5%) 0 0 / 7% 9%,
  linear-gradient(to bottom, #0b0b0c 0 10%, transparent 10% 90%, #0b0b0c 90%),
  linear-gradient(90deg, #0b0b0c 0 12%, transparent 12% 88%, #0b0b0c 88%),
  linear-gradient(#2c2c31, #6a4a3c 55%, var(--siena) 68%, #3a2a24 70%, #17130f); }
.andar img + .andar-css, .andar-css:has(+ img) { display: none; }
.elev-sombra { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(8, 8, 9, .92), rgba(8, 8, 9, .2) 45%, rgba(8, 8, 9, .35)); }
.elev-texto { position: absolute; left: var(--gutter); bottom: clamp(60px, 11vh, 120px); max-width: min(760px, 70vw); padding-left: clamp(0px, 7vw, 120px); }
.elev-nome { font-size: clamp(54px, 10vw, 170px); line-height: .95; }
.elev-frase { margin-top: 14px; font-weight: 300; font-size: clamp(17px, 1.7vw, 26px); color: rgba(234, 227, 213, .85); max-width: 26ch; }
.elev-texto.troca .elev-nome, .elev-texto.troca .elev-frase { animation: entraTexto 1.1s var(--solto) both; }
.elev-texto.troca .elev-frase { animation-delay: .12s; }
@keyframes entraTexto { from { opacity: 0; transform: translateY(40px); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
.elev-porta {
  position: absolute; top: 0; bottom: 0; width: 50.3%; will-change: transform;
  background:
    linear-gradient(to bottom, transparent 33.2%, rgba(0, 0, 0, .5) 33.2% 33.4%, rgba(255, 255, 255, .05) 33.4% 33.6%, transparent 33.6% 66.4%, rgba(0, 0, 0, .5) 66.4% 66.6%, rgba(255, 255, 255, .05) 66.6% 66.8%, transparent 66.8%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, #17181a, #2a2b2e 45%, #1e1f21);
}
.elev-esq { left: 0; box-shadow: inset -30px 0 40px -20px rgba(0, 0, 0, .7); transform: translateX(calc(var(--abre, 0) * -101%)); }
.elev-dir { right: 0; box-shadow: inset -30px 0 40px -20px rgba(0, 0, 0, .7); transform: translateX(calc(var(--abre, 0) * 101%)) scaleX(-1); }
.elev-porta { overflow: hidden; }
.emblema { position: absolute; top: 50%; right: 0; height: min(62vh, 76vw); aspect-ratio: 150 / 286; width: auto; translate: 50% -50%; fill: rgba(255, 255, 255, .035); stroke: rgba(255, 255, 255, .09); stroke-width: 1px; filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .6)) drop-shadow(0 1px 0 rgba(255, 255, 255, .05)); }
.elev-dir .emblema { transform: scaleX(-1); }
.elev-porta i { position: absolute; right: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(transparent, var(--siena) 20%, #e8915f 50%, var(--siena) 80%, transparent); box-shadow: 0 0 16px 2px rgba(187, 100, 68, .5); opacity: var(--costura, 1); }
.elev-visor {
  position: absolute; left: 50%; top: 20px; translate: -50% 0; z-index: 3;
  display: flex; align-items: center; gap: 12px; padding: 10px 18px;
  background: #050505; border: 1px solid #2c2c2e; border-radius: 6px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, .9), 0 10px 30px rgba(0, 0, 0, .5);
  color: #ff9a62; text-shadow: 0 0 10px rgba(255, 140, 80, .8);
  font-family: var(--mono); font-weight: 500;
}
.elev-seta { font-size: 13px; transition: opacity .3s; }
.elev-visor.parado .elev-seta { opacity: .25; }
.elev-num { display: flex; font-size: 34px; line-height: 1; height: 1em; overflow: hidden; }
.dig { position: relative; display: block; width: .62em; height: 1em; overflow: hidden; }
.dig i { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; font-style: normal; transform: translateY(calc(var(--n, 0) * -10%)); transition: transform .5s var(--solto); }
.dig i span { height: 1em; display: block; text-align: center; }
.elev-botoes { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; z-index: 3; display: grid; gap: 12px; padding: 16px 12px; background: rgba(10, 10, 11, .55); border: 1px solid rgba(234, 227, 213, .12); border-radius: 40px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.elev-botoes button {
  width: 48px; height: 48px; border-radius: 50%; font-family: var(--mono); font-size: 12px; letter-spacing: .05em;
  border: 1px solid rgba(234, 227, 213, .3); background: radial-gradient(circle at 40% 35%, #2e2f32, #141516);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 3px 8px rgba(0, 0, 0, .5);
  transition: color .3s, border-color .3s, box-shadow .3s, transform .2s;
}
.elev-botoes button:hover { border-color: var(--calcario); transform: scale(1.06); }
.elev-botoes button.aceso { color: #ffb184; border-color: var(--siena); box-shadow: inset 0 0 12px rgba(187, 100, 68, .6), 0 0 16px rgba(187, 100, 68, .55); text-shadow: 0 0 8px rgba(255, 140, 80, .9); }

/* 6. faixa */
#faixa { padding: clamp(70px, 12vh, 140px) 0; background: var(--negro); overflow: hidden; border-top: 1px solid rgba(234, 227, 213, .08); border-bottom: 1px solid rgba(234, 227, 213, .08); }
.faixa-linha { font-size: clamp(56px, 10vw, 168px); line-height: 1.08; white-space: nowrap; font-style: italic; font-weight: 600; }
.faixa-trilho { display: inline-flex; align-items: center; gap: .32em; padding-right: .32em; will-change: transform; }
.faixa-trilho b { font-size: .32em; color: var(--siena); font-style: normal; }
.vazado { color: transparent; -webkit-text-stroke: 1.5px var(--calcario); }
.faixa-volta { font-style: normal; font-weight: 300; color: var(--salvia); }
.faixa-volta .vazado { -webkit-text-stroke-color: var(--salvia); }

/* 7. pilha */
#pilha .palco { background: radial-gradient(ellipse 70% 60% at 50% 100%, #2a2522, #151617 60%, var(--negro)); }
.pilha-cabeca { position: absolute; left: var(--gutter); top: clamp(90px, 16vh, 150px); max-width: 640px; padding-left: clamp(0px, 7vw, 120px); z-index: 2; }
.pilha-cabeca h2 { font-size: clamp(44px, 6.4vw, 104px); line-height: .98; }
.pilha-cabeca p { margin-top: 18px; font-weight: 300; font-size: clamp(16px, 1.5vw, 21px); color: rgba(234, 227, 213, .78); max-width: 30ch; }
.pilha-monte { position: absolute; left: 50%; bottom: 13vh; width: 0; height: 0; }
.pilha-chao { position: absolute; left: 50%; bottom: calc(13vh - 28px); width: min(620px, 80vw); height: 60px; translate: -50% 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .6), transparent 70%); }
.pedra { position: absolute; left: 0; bottom: 0; will-change: transform; }
.pedra svg { display: block; overflow: visible; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .45)); transition: transform .5s var(--solto); }
.pedra:hover svg { transform: translateY(-6px) rotate(-1deg); }
.pedra-rotulo { position: absolute; top: 50%; white-space: nowrap; display: flex; align-items: center; gap: 12px; translate: 0 -50%; opacity: var(--ro, 0); pointer-events: none; }
.pedra-rotulo::before { content: ''; width: clamp(30px, 5vw, 80px); height: 1px; background: rgba(234, 227, 213, .45); order: var(--ordem, 0); }
.pedra-rotulo.dir { left: calc(100% + 14px); }
.pedra-rotulo.esq { right: calc(100% + 14px); flex-direction: row-reverse; text-align: right; }
.pedra-rotulo strong { display: block; font-family: var(--fraunces); font-weight: 700; font-variation-settings: 'SOFT' 100, 'opsz' 48; font-size: clamp(17px, 1.6vw, 24px); letter-spacing: -.01em; }
.pedra-rotulo small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(234, 227, 213, .55); margin-top: 3px; }
.pedra-rotulo strong.oculto { color: transparent; border-radius: 2px; padding: 0 .1em; background: repeating-linear-gradient(-45deg, rgba(234, 227, 213, .8) 0 5px, rgba(234, 227, 213, .25) 5px 10px); }
.pedra.sua { cursor: pointer; }
.pedra.sua svg { filter: none; animation: flutua 3.2s ease-in-out infinite; }
.pedra.sua .pedra-rotulo strong { color: var(--siena); font-style: italic; }
@keyframes flutua { 50% { transform: translateY(-12px); } }

/* 8. cobertura */
#cobertura { min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 0; }
.cob-ceu { position: absolute; inset: -12% 0 0 0; will-change: transform; }
.cob-ceu img, .cob-css { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cob-css { background:
  radial-gradient(circle at 50% 62%, #fff3dc 0 2.5%, rgba(255, 220, 170, .7) 4%, rgba(255, 190, 130, .25) 14%, transparent 34%),
  linear-gradient(#1c1d22 0%, #3b3536 28%, #8a6553 48%, #dca37a 59%, #f1d9b6 62%, #e7ddcd 66%, #bdb6aa 78%, #7f7b75 100%); }
.cob-ceu img + .cob-css { display: none; }
.cob-ceu::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(17, 18, 20, .85), rgba(17, 18, 20, .5) 42%, rgba(17, 18, 20, .08) 66%, rgba(17, 18, 20, .55)); }
#nuvens { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60%; pointer-events: none; }
.cob-sol { position: absolute; left: var(--sx, 50%); top: var(--sy, 60%); width: 70vmax; height: 70vmax; translate: -50% -50%; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 220, 170, .28), transparent 60%); mix-blend-mode: screen; }
.cob-miolo { position: relative; z-index: 2; max-width: 1320px; padding-left: clamp(0px, 7vw, 120px); padding-bottom: 22vh; }
.cob-miolo::before { content: ''; position: absolute; inset: -20% -10% -10% -30%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 60% 55% at 30% 55%, rgba(17, 18, 20, .6), transparent 75%); }
.cob-alt { color: var(--siena); margin-bottom: 18px; }
.cob-titulo { font-size: clamp(46px, 7.4vw, 128px); line-height: .98; }
.cob-titulo .l { display: inline-block; }
.palavra { display: inline-block; white-space: nowrap; }
.cob-sub { text-shadow: 0 1px 18px rgba(17, 18, 20, .7); margin-top: 22px; font-weight: 300; font-size: clamp(17px, 1.6vw, 23px); max-width: 36ch; color: rgba(234, 227, 213, .88); }
.botao {
  margin-top: 36px; display: inline-flex; align-items: center; gap: 18px; height: 64px; padding: 0 30px;
  border-radius: 99px; background: var(--calcario); color: var(--basalto);
  font-family: var(--jost); font-weight: 500; font-size: 17px; letter-spacing: .02em;
  position: relative; overflow: hidden; will-change: transform;
}
.botao::before { content: ''; position: absolute; inset: 0; background: var(--siena); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--solto); }
.botao:hover::before { transform: none; }
.botao:hover { color: var(--calcario); }
.botao span, .botao i { position: relative; font-style: normal; transition: transform .5s var(--solto); }
.botao:hover i { transform: translateX(6px); }
.rodape { position: relative; z-index: 2; margin: 0 calc(var(--gutter) * -1); padding: 22px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; border-top: 1px solid rgba(234, 227, 213, .18); background: rgba(17, 18, 20, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; color: rgba(234, 227, 213, .8); }
.rodape-torre { width: 12px; height: 22px; fill: var(--calcario); }
.rodape .mono { opacity: .6; }
.rodape-cookies { transition: opacity .3s; }
.rodape-cookies:hover { opacity: 1 !important; }
.rodape-credito { display: flex; align-items: center; gap: 14px; }
.hh-assina { display: flex; align-items: center; gap: 9px; transform-origin: left center; transition: transform .45s var(--solto); }
.hh-assina img { height: auto; }
.hh-simbolo { width: 26px; }
.hh-palavra { width: 117px; }
.hh-assina:hover, .hh-assina:focus-visible { transform: scale(1.14); }
.hh-assina:focus-visible { outline: 1px solid var(--siena); outline-offset: 6px; }
@media (min-width: 761px) { .rodape { padding-right: 320px; } .rodape-credito { margin-left: auto; } }

/* ───────────── celular ───────────── */

@media (max-width: 760px) {
  .hud-regua { display: none; }
  .hud-marca span { display: none; }
  .hud-som span { display: none; }
  .hud-rodape { left: var(--gutter); right: auto; bottom: 16px; }
  .menu-lista { columns: 1; top: 52%; }
  .menu-lista a { font-size: clamp(26px, 8vw, 40px); }
  .terreo-cantos { display: none; }
  .terreo-nome { font-size: 17vw; }
  .elev-texto { left: var(--gutter); right: var(--gutter); bottom: 120px; max-width: none; padding-left: 0; }
  .elev-botoes { top: auto; bottom: 26px; right: 50%; translate: 50% 0; grid-auto-flow: column; padding: 8px; gap: 6px; }
  .elev-botoes button { width: 42px; height: 42px; font-size: 11px; }
  .elev-visor { top: 76px; }
  .pilha-cabeca { top: 86px; padding-left: 0; right: var(--gutter); }
  .pilha-monte { bottom: 9vh; }
  .pilha-chao { bottom: calc(9vh - 28px); }
  .pedra-rotulo::before { width: 14px; }
  .pedra-rotulo { white-space: normal; width: 40vw; gap: 8px; }
  .pedra-rotulo strong { font-size: 15px; line-height: 1.1; }
  .pedra-rotulo small { font-size: 9px; }
  .cob-miolo { padding-left: 0; }
  .rodape { padding-bottom: 46px; }
  .manif-contador { bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  #grao { animation: none; }
  .terreo-dica i { animation: none; }
}
