/* detalhIUM — identidade em canal/detalhium do machine-studios: Michroma no nome, Space Grotesk no
   texto, nebulosa verde-azulada, "IUM" em amarelo-ouro. */

@font-face { font-family: Michroma; src: url(/fontes/Michroma-Regular.ttf) format('truetype'); font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(/fontes/SpaceGrotesk.ttf) format('truetype'); font-weight: 300 700; font-display: swap; }

:root {
  --fundo: #030b0b;
  --fundo-2: #071615;
  --linha: rgba(160, 255, 225, .14);
  --texto: #f6f6fc;
  --texto-2: #a9bdb9;
  --ouro: #ffc428;
  --verde: #2fe0b0;
  --largura: 1180px;
  --margem: clamp(1.1rem, 5vw, 4rem);
  --titulo: Michroma, 'Space Grotesk', sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fundo); color: var(--texto);
  font: 400 1.0625rem/1.65 'Space Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video, canvas { max-width: 100%; display: block; }
a { color: var(--ouro); text-underline-offset: .2em; }
a:hover { color: #ffe08a; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; font-weight: 600; text-wrap: balance; }
h1, h2 { font-family: var(--titulo); font-weight: 400; letter-spacing: -.01em; }
h2 em, h1 em { font-style: normal; color: var(--ouro); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ouro); color: #111; }

.pular { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ouro); color: #111; padding: .6rem 1rem; }
.pular:focus { left: 0; }
.destaque { color: var(--ouro); text-shadow: 0 0 24px rgba(255, 196, 40, .45); }
.etiqueta { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--verde); margin: 0 0 .9rem; }
.etiqueta a { color: inherit; text-decoration: none; }
.miudo { font-size: .85rem; color: var(--texto-2); }
.centro { text-align: center; }
.numero { font-family: var(--titulo); color: var(--ouro); font-size: .9rem; letter-spacing: .2em; margin: 0 0 1rem; }

.botao {
  display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid var(--ouro);
  background: var(--ouro); color: #120d00; font-weight: 600; text-decoration: none; cursor: pointer;
  font: inherit; font-weight: 600; transition: transform .25s, box-shadow .25s, background .25s;
}
.botao:hover { color: #120d00; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 196, 40, .3); }
.botao.vazado { background: transparent; color: var(--texto); border-color: rgba(255, 255, 255, .35); }
.botao.vazado:hover { color: var(--texto); border-color: var(--ouro); box-shadow: none; }
.botao.pequeno { padding: .45rem 1rem; font-size: .9rem; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--texto-2); cursor: pointer; text-decoration: underline; }

/* ───────── topo e rodapé ───────── */

.topo {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: .9rem var(--margem); transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.rolou .topo, body:not(.pagina-inicio) .topo { background: rgba(3, 11, 11, .78); backdrop-filter: blur(14px); border-color: var(--linha); }
.logo { font-family: var(--titulo); font-size: 1.15rem; color: var(--texto); text-decoration: none; letter-spacing: .02em; }
.logo:hover { color: var(--texto); }
/* no rodapé, o quadrinho e o nome lado a lado (o dono testou o nome embaixo e não gostou) */
.topo .logo, .rodape .logo { display: inline-flex; align-items: center; gap: 1.9rem; }
/* no topo fica só o quadrinho: o nome já aparece grande na página (pedido do dono); no rodapé ficam os dois */
.topo .logo-nome { display: none; }
/* o quadrinho "Dt": o detalhIUM como elemento da tabela periódica */
.selo { flex: none; width: 3.2rem; height: 3.2rem; }
.rodape .selo { width: 4.6rem; height: 4.6rem; }
/* o "d" do nome é a cabeça do beija-flor: o bico sai pra esquerda e o olho fica no miolo da letra */
.bico { position: relative; }
.bico::before {
  content: ''; position: absolute; right: 90%; top: 62%; width: 1.25em; height: .13em; margin-top: -.065em;
  background: var(--ouro); clip-path: polygon(0 45%, 100% 0, 100% 100%);
}
.bico::after { content: ''; position: absolute; left: 44%; top: 62%; width: .11em; height: .11em; margin: -.055em 0 0 -.055em; border-radius: 50%; background: var(--ouro); }
/* o M do nome: quatro linhas finas por metade, no traço da asa do beija-flor; cada metade é uma asa
   que bate duas vezes e descansa, girando em torno do bico do M */
.eme { width: 1.371em; height: .75em; overflow: visible; fill: none; stroke: var(--ouro); stroke-width: max(1px, .017em); stroke-linejoin: round; filter: drop-shadow(0 0 .1em rgba(255, 196, 40, .45)); }
.eme path { vector-effect: non-scaling-stroke; }
.eme-e, .eme-d { transform-box: view-box; transform-origin: 685.5px 750px; }
.marca .eme-e, .logo:hover .eme-e { animation: bater-e 3.4s ease-in-out infinite; }
.marca .eme-d, .logo:hover .eme-d { animation: bater-d 3.4s ease-in-out infinite; }
@keyframes bater-e { 0%, 30%, 100% { transform: none; } 7%, 22% { transform: rotate(7deg) skewY(-3deg); } 14% { transform: rotate(-2deg); } }
@keyframes bater-d { 0%, 30%, 100% { transform: none; } 7%, 22% { transform: rotate(-7deg) skewY(3deg); } 14% { transform: rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .eme-e, .eme-d { animation: none !important; } }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.marca .bico::before { width: min(1.25em, calc(var(--margem) - 6px)); }
.topo nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2rem); }
.topo nav a:not(.botao) { color: var(--texto); text-decoration: none; font-size: .95rem; opacity: .85; }
.topo nav a:not(.botao):hover { opacity: 1; color: var(--ouro); }

.rodape { border-top: 1px solid var(--linha); padding: 4rem var(--margem) 1.6rem; background: var(--fundo-2); }
.rodape-topo, .rodape-base { max-width: var(--largura); margin: 0 auto; }
.rodape-topo { display: grid; gap: 2.5rem; }
.rodape-marca .logo { font-size: 1.5rem; }
.rodape-marca p { color: var(--texto-2); margin: .5rem 0 0; max-width: 34ch; }
.rodape-marca .miudo { margin-top: 1rem; }
.rodape-colunas { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 2rem 2.5rem; }
.rodape-colunas div { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.rodape-colunas .etiqueta { margin: 0 0 .3rem; }
.rodape-colunas a, .rodape-colunas .link { color: var(--texto-2); text-decoration: none; }
.rodape-colunas a:hover, .rodape-colunas .link:hover { color: var(--ouro); }
/* redes: o desenho de cada uma num aro de ouro, que acende quando o ponteiro passa */
.rede { display: inline-flex; align-items: center; gap: .7rem; color: var(--texto-2); text-decoration: none; }
.rede svg { flex: none; width: 2.4rem; height: 2.4rem; padding: .46rem; border: 1px solid rgba(255, 196, 40, .4); border-radius: 50%; fill: none; stroke: var(--ouro); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: background .25s, stroke .25s, box-shadow .25s, transform .25s; }
.rede:hover { color: var(--texto); }
.rede:hover svg { background: var(--ouro); stroke: #120d00; box-shadow: 0 0 1.2rem rgba(255, 196, 40, .35); transform: translateY(-2px); }
.rodape-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--linha); }
.rodape-base .miudo { margin: 0; }
@media (min-width: 800px) { .rodape-topo { grid-template-columns: 1.1fr 1.6fr; gap: 4rem; } }

/* ───────── cenas presas à rolagem ───────── */
/* O script grava em --p (0 a 1) quanto da cena já rolou; o CSS move as camadas a partir dele. */

.cena { position: relative; --p: 0; --mx: 0; --my: 0; }
.cena > .fixa { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.heroi { height: 260vh; }
.estrelas { position: absolute; inset: 0; width: 100%; height: 100%; }
.nebulosa {
  position: absolute; inset: -12%; background: url(/img/nebulosa.webp) center / cover no-repeat;
  opacity: calc(.85 - var(--p) * .45);
  transform: translate3d(calc(var(--mx) * -14px), calc(var(--p) * -9vh + var(--my) * -14px), 0) scale(calc(1.05 + var(--p) * .3));
  will-change: transform;
}
.heroi .fixa::after { content: ''; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--fundo)); pointer-events: none; }
/* --v: a chegada do beija-flor. Vai de 0 a 1 nos primeiros 62% da cena e fica: é quando o bico
   entra na flor. A flor mora numa moldura igual à do beija-flor já chegado, então a garganta dela
   fica sempre onde a ponta do bico vai parar (6,3% e 33,7% da imagem do beija-flor). */
.heroi { --v: min(1, calc(var(--p) / .62)); }
.beijaflor, .flor { position: absolute; right: 1vw; top: 50%; width: min(78vh, 54vw); aspect-ratio: 1; will-change: transform; }
.beijaflor {
  transform: translate3d(calc(var(--v) * -21vw + (1 - var(--v)) * 7vw + var(--mx) * 22px), calc(-50% + var(--my) * 22px), 0) scale(calc(1 + var(--v) * .42)) rotate(calc(var(--v) * -5deg));
}
.flor {
  pointer-events: none; opacity: clamp(0, calc((var(--p) - .34) * 7), 1);
  transform: translate3d(calc(-21vw + var(--mx) * 22px), calc(-50% + var(--my) * 22px), 0) scale(1.42) rotate(-5deg);
}
/* a garganta da flor fica em 45% da largura e 60,5% da altura do quadro (640 × 600) */
.flor canvas { position: absolute; width: 44%; height: 41.25%; left: calc(6.3% - .45 * 44% + 1.5%); top: calc(33.7% - .605 * 41.25%); }
/* a flor nasce da nebulosa: começa borrada e apagada, como névoa, e vai ganhando foco e cor */
.flor { --f: clamp(0, calc((var(--p) - .34) * 4.5), 1); }
.flor:not(.flor-frente) canvas { filter: blur(calc((1 - var(--f)) * 16px)) saturate(calc(.35 + var(--f) * .65)) brightness(calc(.7 + var(--f) * .3)); }
/* e fica meio escondida: duas nuvens da cor da nebulosa passam devagar na frente do caule e das pétalas de baixo */
.nevoa { position: absolute; left: -22%; top: 12%; width: 52%; height: 50%; pointer-events: none; opacity: calc(.25 + var(--f) * .75); }
.nevoa::before, .nevoa::after { content: ''; position: absolute; border-radius: 50%; filter: blur(2.2vmin); mix-blend-mode: screen; }
.nevoa::before { left: 0; top: 34%; width: 74%; height: 62%; background: radial-gradient(closest-side, rgba(28, 150, 110, .5), rgba(20, 110, 85, .22) 55%, transparent); animation: nevoa-a 9s ease-in-out infinite; }
.nevoa::after { left: 30%; top: 52%; width: 62%; height: 46%; background: radial-gradient(closest-side, rgba(214, 150, 60, .3), rgba(40, 140, 105, .2) 55%, transparent); animation: nevoa-b 12s ease-in-out infinite; }
@keyframes nevoa-a { 0%, 100% { translate: 0 0; scale: 1; } 50% { translate: 9% -6%; scale: 1.12; } }
@keyframes nevoa-b { 0%, 100% { translate: 0 0; scale: 1.05; } 50% { translate: -10% 5%; scale: .92; } }
/* a mesma flor de novo, por cima do beija-flor, só no miolo: é o que faz a ponta do bico sumir
   dentro da flor em vez de ficar por cima dela */
.flor-frente canvas { -webkit-mask-image: radial-gradient(ellipse 5.5% 5% at 40.5% 61%, #000 50%, transparent 100%); mask-image: radial-gradient(ellipse 5.5% 5% at 40.5% 61%, #000 50%, transparent 100%); }
/* um clarão morno atrás da flor, que cresce com a chegada do beija-flor */
.flor:not(.flor-frente)::before {
  content: ''; position: absolute; left: 7.8%; top: 33.7%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 150, 60, .3), rgba(255, 196, 40, .1) 45%, transparent 72%);
  opacity: var(--v); animation: pulsar-flor 3.2s ease-in-out infinite;
}
@keyframes pulsar-flor { 0%, 100% { scale: 1; } 50% { scale: 1.08; } }
/* pólen: grãos de ouro que se soltam das anteras quando o bico entra na flor */
.polen { position: absolute; left: 17%; top: 20%; width: 13%; height: 11%; opacity: clamp(0, calc((var(--p) - .6) * 8), 1); }
.polen i { position: absolute; left: 50%; top: 60%; width: .32vmin; height: .32vmin; min-width: 2px; min-height: 2px; border-radius: 50%; background: #ffd35a; box-shadow: 0 0 .5vmin rgba(255, 200, 70, .9); opacity: 0; animation: polen 3.6s linear infinite; }
.polen i:nth-child(1) { left: 20%; top: 30%; --dx: 103%; --dy: -60%; animation-delay: -0.00s; animation-duration: 3.0s; }
.polen i:nth-child(2) { left: 49%; top: 47%; --dx: 123%; --dy: -130%; animation-delay: -0.31s; animation-duration: 3.5s; }
.polen i:nth-child(3) { left: 78%; top: 64%; --dx: 78%; --dy: -133%; animation-delay: -0.62s; animation-duration: 4.0s; }
.polen i:nth-child(4) { left: 42%; top: 81%; --dx: 74%; --dy: -210%; animation-delay: -0.93s; animation-duration: 4.5s; }
.polen i:nth-child(5) { left: 71%; top: 43%; --dx: 33%; --dy: -181%; animation-delay: -1.24s; animation-duration: 3.0s; }
.polen i:nth-child(6) { left: 35%; top: 60%; --dx: 7%; --dy: -248%; animation-delay: -1.55s; animation-duration: 3.5s; }
.polen i:nth-child(7) { left: 64%; top: 77%; --dx: -23%; --dy: -192%; animation-delay: -1.86s; animation-duration: 4.0s; }
.polen i:nth-child(8) { left: 28%; top: 39%; --dx: -66%; --dy: -231%; animation-delay: -2.17s; animation-duration: 4.5s; }
.polen i:nth-child(9) { left: 57%; top: 56%; --dx: -78%; --dy: -159%; animation-delay: -2.48s; animation-duration: 3.0s; }
.polen i:nth-child(10) { left: 21%; top: 73%; --dx: -128%; --dy: -162%; animation-delay: -2.79s; animation-duration: 3.5s; }
.polen i:nth-child(11) { left: 50%; top: 35%; --dx: -118%; --dy: -88%; animation-delay: -3.10s; animation-duration: 4.0s; }
.polen i:nth-child(12) { left: 79%; top: 52%; --dx: -164%; --dy: -53%; animation-delay: -3.41s; animation-duration: 4.5s; }
@keyframes polen { 0% { translate: 0 0; opacity: 0; scale: .4; } 12% { opacity: 1; scale: 1; } 70% { opacity: .8; } 100% { translate: calc(var(--dx) * 8) calc(var(--dy) * 8); opacity: 0; scale: .5; } }
@media (prefers-reduced-motion: reduce) { .polen i, .flor::before, .nevoa::before, .nevoa::after { animation: none !important; } }
.beijaflor img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* O script fatia a asa em faixas, do ombro à ponta, e move cada uma com um pequeno atraso: a ponta
   chega depois da raiz, como pena de verdade. Sem script, a asa fica inteira e parada. */
.pairar, .asas { position: absolute; inset: 0; }
.pairar { animation: pairar 3.4s ease-in-out infinite; }
.beijaflor .asa, .beijaflor .corpo { transform-origin: 47% 43.5%; will-change: transform; }
@keyframes pairar { 0%, 100% { transform: translate3d(0, -.7%, 0); } 50% { transform: translate3d(0, .7%, 0); } }
.heroi-texto {
  position: absolute; left: var(--margem); top: 50%; max-width: min(46rem, 52vw); z-index: 2;
  opacity: clamp(0, calc(1 - var(--p) * 3.4), 1);
  transform: translate3d(calc(var(--mx) * 8px), calc(-50% - var(--p) * 22vh), 0);
}
.marca { font-size: clamp(2.6rem, 7.4vw, 6.4rem); margin: 0 0 .25em; letter-spacing: .01em; }
.slogan { font-size: clamp(1.05rem, 1.9vw, 1.5rem); color: var(--texto-2); max-width: 28ch; margin-bottom: 2rem; }
.acoes { display: flex; flex-wrap: wrap; gap: .8rem; }

.leitura {
  position: absolute; z-index: 2; display: grid; gap: .1rem; padding: .9rem 1.1rem; min-width: 11rem;
  border: 1px solid rgba(255, 196, 40, .45); border-radius: 10px; background: rgba(3, 11, 11, .55); backdrop-filter: blur(8px);
  opacity: min(clamp(0, calc((var(--p) - .34) * 7), 1), clamp(0, calc((.97 - var(--p)) * 12), 1));
}
.leitura .rotulo { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--verde); }
.leitura strong { font-family: var(--titulo); font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 2.1rem); color: var(--ouro); }
.leitura span:not(.rotulo) { font-size: .85rem; color: var(--texto-2); }
.leitura-asa { right: 7vw; top: 20vh; transform: translate3d(calc((1 - var(--p)) * 9vw), 0, 0); }
.leitura-coracao { left: 9vw; top: 56vh; transform: translate3d(calc((1 - var(--p)) * -9vw), 0, 0); }
/* o segundo dado do mesmo cartão (metabolismo, junto do coração) vem depois de um fio */
.leitura .rotulo ~ .rotulo { margin-top: .55rem; padding-top: .6rem; border-top: 1px solid rgba(255, 196, 40, .25); }
.heroi-frase {
  position: absolute; inset: auto 0 11vh; text-align: center; z-index: 2; margin: 0;
  font-family: var(--titulo); font-size: clamp(1.1rem, 2.6vw, 2.1rem); line-height: 1.5;
  opacity: clamp(0, calc((var(--p) - .58) * 6), 1);
  transform: translate3d(0, calc((1 - var(--p)) * 5vh), 0);
}
.heroi-frase em { font-style: normal; color: var(--ouro); }
.rolar {
  position: absolute; left: 50%; bottom: 3.5vh; transform: translateX(-50%); z-index: 2; display: grid; justify-items: center; gap: .5rem;
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--texto-2);
  opacity: clamp(0, calc(1 - var(--p) * 10), 1);
}
.rolar span { width: 1px; height: 2.4rem; background: linear-gradient(var(--ouro), transparent); animation: descer 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes descer { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 760px) {
  .beijaflor, .flor { right: auto; left: 50%; top: 31%; width: min(92vw, 52vh); }
  .beijaflor { transform: translate3d(calc(-50% + var(--v) * 14vw + (1 - var(--v)) * 4vw), calc(-50% + var(--v) * 9vh), 0); }
  .flor { transform: translate3d(calc(-50% + 14vw), calc(-50% + 9vh), 0); }
  .heroi-texto { top: auto; bottom: 13vh; max-width: none; right: var(--margem); transform: translate3d(0, calc(var(--p) * -18vh), 0); }
  .leitura { min-width: 0; padding: .5rem .7rem; }
  .leitura strong { font-size: 1.15rem; }
  .leitura span:not(.rotulo) { font-size: .76rem; }
  .leitura-asa { right: 4vw; top: 11vh; }
  .leitura-coracao { left: 4vw; top: 52vh; }
  .leitura-asa { top: 12.5vh; }
  .heroi-frase { bottom: 14vh; padding: 0 var(--margem); }
}

/* manifesto: as palavras acendem com a rolagem */
.manifesto { height: 230vh; background: var(--fundo); }
.manifesto .fixa { display: grid; place-items: center; padding: 0 var(--margem); }
.manifesto-texto { max-width: 22ch; font-size: clamp(1.7rem, 5vw, 4rem); line-height: 1.22; font-weight: 500; margin: 0; max-width: min(100%, 60rem); }
.manifesto .fixa { overflow: hidden; }
.manifesto-texto { position: relative; }
.palavra { display: inline-block; opacity: .13; transform: translateY(.18em); filter: blur(2px); transition: opacity .45s, transform .6s cubic-bezier(.2, .7, .2, 1), filter .45s, color .45s, text-shadow .45s; }
.palavra.acesa { opacity: 1; transform: none; filter: none; }
.palavra.chave.acesa { color: var(--ouro); text-shadow: 0 0 28px rgba(255, 196, 40, .45); }

/* fundo do manifesto: grade de projeto que desliza, um brilho que atravessa e anéis de medição que
   giram; tudo anda com a rolagem (--p) e continua vivo com a página parada */
.manifesto-fundo, .manifesto-fundo span { position: absolute; inset: 0; pointer-events: none; }
.manifesto-fundo .grade {
  inset: -20%;
  background-image: linear-gradient(rgba(47, 224, 176, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 224, 176, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(60rem) rotateX(58deg) translate3d(0, calc(var(--p) * -128px), 0);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 70%);
  animation: deslizar 9s linear infinite;
}
@keyframes deslizar { to { background-position: 0 64px, 0 0; } }
.manifesto-fundo .brilho {
  background: radial-gradient(38rem 26rem at calc(15% + var(--p) * 70%) 55%, rgba(47, 224, 176, .16), transparent 70%), radial-gradient(22rem 16rem at calc(85% - var(--p) * 70%) 30%, rgba(255, 196, 40, .1), transparent 70%);
}
.manifesto-fundo .anel { inset: auto; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(255, 196, 40, .22); translate: -50% -50%; }
.manifesto-fundo .a1 { width: min(120vh, 92vw); aspect-ratio: 1; rotate: calc(var(--p) * 120deg); animation: rodar 80s linear infinite; }
.manifesto-fundo .a2 { width: min(92vh, 70vw); aspect-ratio: 1; border-style: solid; border-color: rgba(47, 224, 176, .14); border-top-color: rgba(255, 196, 40, .5); rotate: calc(var(--p) * -200deg); animation: rodar 46s linear infinite reverse; }
.manifesto-fundo .a3 { width: min(150vh, 118vw); aspect-ratio: 1; border-color: rgba(47, 224, 176, .12); rotate: calc(var(--p) * 60deg); animation: rodar 120s linear infinite; }
@keyframes rodar { to { transform: rotate(360deg); } }

/* seletor de idioma: discreto, só as siglas; a do idioma atual fica em ouro */
.idiomas { display: inline-flex; align-items: center; gap: .55rem; font-size: .68rem; letter-spacing: .12em; }
.idiomas a, .idiomas span { text-decoration: none; color: var(--texto-2); opacity: .7; }
.idiomas a:hover { color: var(--texto); opacity: 1; }
.idiomas span { color: var(--ouro); opacity: 1; }

/* objetos */
.titulo-secao { max-width: var(--largura); margin: 0 auto; padding: 0 var(--margem); }
.titulo-secao h2 { font-size: clamp(1.6rem, 4vw, 3rem); }
.objetos { padding: 14vh 0 6vh; overflow: clip; }
.objeto { max-width: var(--largura); margin: 0 auto; padding: 4vh var(--margem); display: grid; align-items: center; gap: 2rem; }
.vivo { position: relative; width: min(100%, 34rem); aspect-ratio: 1; margin: 0 auto; mix-blend-mode: screen; will-change: transform; --q: 0; --giro: 0deg; }
.vivo img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* cada objeto se mexe do jeito dele: parado ele respira, e a rolagem empurra (publico/js/site.js põe
   --q, de -1 a 1 conforme o objeto atravessa a tela, e --giro, que acumula o quanto a página andou) */

/* náutilo: gira em torno do centro da espiral, bastante, conforme a página rola, e cresce como a
   concha cresce; um facho de luz dá a volta pelas câmaras (só clareia onde a concha é clara) */
.vivo-nautilo img { transform-origin: 50.4% 50%; transform: rotate(calc(var(--q) * -160deg + var(--giro) * .12)) scale(calc(1.02 + var(--q) * -.1)); animation: respirar 5s ease-in-out infinite; }
@keyframes respirar { 50% { scale: 1.04; } }
.farol { position: absolute; inset: 6%; border-radius: 50%; mix-blend-mode: overlay; animation: girar 9s linear infinite;
  background: conic-gradient(from 0deg, rgba(255, 214, 120, 0) 0 250deg, rgba(255, 214, 120, .95) 330deg, rgba(255, 255, 255, 1) 352deg, rgba(255, 214, 120, 0) 360deg);
  -webkit-mask-image: radial-gradient(circle, #000 20%, #000 62%, transparent 72%); mask-image: radial-gradient(circle, #000 20%, #000 62%, transparent 72%); }

/* turbina: a imagem fica inteira, com a luz e a profundidade dela. Por cima das pás gira um leque
   de faixas claras e escuras, em número diferente do das pás: o encontro das duas grades dá a
   impressão forte de giro sem achatar a peça. Um segundo leque, de luz, varre devagar. O leque é
   um círculo achatado e inclinado como o disco das pás na foto. Parado gira devagar; a rolagem
   acelera (--giro). */
.fan { position: absolute; left: 14%; top: 29.1%; width: 39%; height: 39%; transform: rotate(-5deg) scaleX(.615);
  -webkit-mask-image: linear-gradient(to right, transparent 2%, #000 20%); mask-image: linear-gradient(to right, transparent 2%, #000 20%); }
.fan b { position: absolute; inset: 0; transform: rotate(calc(var(--giro) * 1.4)); }
.fan i { position: absolute; inset: 0; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 27%, #000 36% 86%, transparent 98%); mask-image: radial-gradient(circle closest-side, transparent 27%, #000 36% 86%, transparent 98%); }
.fan b:nth-child(1) i { animation: girar 5s linear infinite;
  background: repeating-conic-gradient(rgba(0, 6, 8, .42) 0 5deg, rgba(0, 6, 8, 0) 6.5deg, rgba(185, 240, 232, .2) 9deg, rgba(0, 6, 8, 0) 12deg); }
.fan b:nth-child(2) i { animation: girar 13s linear infinite reverse;
  background: conic-gradient(rgba(170, 235, 225, 0) 0 215deg, rgba(170, 235, 225, .22) 310deg, rgba(255, 255, 255, .34) 348deg, rgba(170, 235, 225, 0) 360deg); }
@keyframes girar { to { rotate: 360deg; } }
.vivo-turbina { scale: calc(1.04 + var(--q) * -.08); }

/* planeta: um satélite dá a volta na Terra (passa por trás e pela frente), a sombra da noite anda
   com a rolagem e a atmosfera pulsa. O disco preto tampa a parte da órbita que fica atrás. */
.vivo-planeta > img { mix-blend-mode: screen; transform-origin: 48.9% 49.6%; transform: rotate(calc(var(--q) * -14deg)); }
.disco { position: absolute; left: 11%; top: 11.7%; width: 75.8%; height: 75.8%; border-radius: 50%; background: #000; }
.noite { position: absolute; left: 11%; top: 11.7%; width: 75.8%; height: 75.8%; border-radius: 50%;
  background: linear-gradient(100deg, transparent calc(30% + var(--q) * 30%), rgba(0, 4, 12, .82) calc(72% + var(--q) * 30%));
  box-shadow: 0 0 3.5rem rgba(90, 170, 255, .28); animation: atmosfera 5s ease-in-out infinite; }
@keyframes atmosfera { 50% { box-shadow: 0 0 5.5rem rgba(90, 170, 255, .5); } }
/* órbita e satélite desenhados (SVG): um conjunto fica atrás do planeta e outro, só a metade de cá, na frente */
.orbita { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.anel-orbita { fill: none; stroke: rgba(255, 196, 40, .5); stroke-width: 2; stroke-dasharray: 3 9; }

/* DNA: a imagem é fatiada atravessada ao eixo da hélice e cada fatia gira um pouco em torno do eixo,
   uma atrás da outra: a torção sobe pela molécula. A hélice está inclinada 21,8° na imagem. */
.helice { position: absolute; inset: 0; transform: rotate(21.8deg); transform-origin: 52% 46%; perspective: 46rem; perspective-origin: 52% 46%; }
.faixa { position: absolute; inset: 0; transform-origin: 52% 46%; will-change: transform;
  clip-path: inset(calc(var(--k) * 6.25% - .12%) 0 calc(93.75% - var(--k) * 6.25% - .12%) 0);
  animation: torcer 5.2s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -.42s); }
.faixa img { transform: rotate(-21.8deg); transform-origin: 52% 46%; }
.faixa:nth-child(1) { --k: 0; } .faixa:nth-child(2) { --k: 1; } .faixa:nth-child(3) { --k: 2; } .faixa:nth-child(4) { --k: 3; } .faixa:nth-child(5) { --k: 4; } .faixa:nth-child(6) { --k: 5; } .faixa:nth-child(7) { --k: 6; } .faixa:nth-child(8) { --k: 7; } .faixa:nth-child(9) { --k: 8; } .faixa:nth-child(10) { --k: 9; } .faixa:nth-child(11) { --k: 10; } .faixa:nth-child(12) { --k: 11; } .faixa:nth-child(13) { --k: 12; } .faixa:nth-child(14) { --k: 13; } .faixa:nth-child(15) { --k: 14; } .faixa:nth-child(16) { --k: 15; }
@keyframes torcer { from { transform: rotateY(-26deg); } to { transform: rotateY(26deg); } }
/* a molécula inteira também vira um pouco de lado e volta: é o que dá o volume */
.vivo-dna .helice { animation: virar 8s ease-in-out infinite alternate; }
@keyframes virar { from { transform: rotate(21.8deg) rotateY(-16deg); } to { transform: rotate(21.8deg) rotateY(16deg); } }
.vivo-dna { perspective: 50rem; }
.objeto-texto h3 { font-family: var(--titulo); font-weight: 400; font-size: clamp(1.5rem, 3.4vw, 2.6rem); }
.objeto-texto p { color: var(--texto-2); font-size: 1.15rem; max-width: 30ch; }
@media (min-width: 800px) {
  .objeto { grid-template-columns: 1.15fr 1fr; min-height: 78vh; }
  .objeto.invertido .vivo { order: 2; }
}

/* trilho "Detalhar é": um carrossel em 3D. A rolagem traz uma ficha por vez pro centro, de frente
   e grande; as vizinhas ficam de lado, menores e apagadas (publico/js/site.js põe em cada ficha
   --d, a distância dela até o centro, e --a, essa distância sem sinal). Sem script ou com menos
   movimento, as fichas ficam em fila, como lista. */
.trilho { height: 380vh; }
.trilho .fixa { display: flex; flex-direction: column; justify-content: center; gap: 3vh; overflow: hidden; }
.trilho .titulo-secao { width: 100%; }
.trilho-faixa { display: flex; gap: clamp(1rem, 3vw, 2.5rem); width: 100%; padding: 0 var(--margem); flex-wrap: wrap; justify-content: center; }
.trilho-pontos { display: none; }
.js .trilho-faixa { display: grid; place-items: center; flex-wrap: nowrap; perspective: 85rem; padding: 2vh 0; }
.js .trilho .ficha {
  grid-area: 1 / 1; width: min(84vw, 31rem); --d: 0; --a: 0;
  transform: translate3d(calc(var(--d) * 74%), 0, calc(var(--a) * -16rem)) rotateY(calc(var(--d) * -34deg)) scale(calc(1 - var(--a) * .1));
  opacity: calc(1 - var(--a) * .6); will-change: transform, opacity; transition: border-color .5s, box-shadow .5s;
}
.js .ficha.acesa { border-color: rgba(255, 196, 40, .5); box-shadow: 0 2rem 5rem rgba(0, 0, 0, .55), 0 0 4rem rgba(255, 196, 40, .1); }
.js .ficha:not(.acesa) .desenho * { animation-play-state: paused; }
.js .trilho-pontos { display: flex; gap: .6rem; justify-content: center; list-style: none; margin: 0; padding: 0; order: 3; }
.trilho-pontos li { width: 2.2rem; height: 3px; border-radius: 2px; background: var(--linha); transition: background .4s, width .4s; }
.trilho-pontos li.ativo { background: var(--ouro); width: 3.6rem; }
.ficha {
  width: min(78vw, 27rem); min-height: 44vh; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--linha); border-radius: 18px;
  background: linear-gradient(160deg, rgba(47, 224, 176, .09), rgba(255, 196, 40, .03) 60%, transparent), var(--fundo-2);
  display: flex; flex-direction: column; justify-content: flex-end;
}
/* desenho de cada ficha, em linha de projeto, sempre se mexendo */
.desenho { width: 100%; height: auto; max-height: 24vh; margin-bottom: auto; overflow: visible; fill: none; stroke: var(--ouro); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.desenho * { transform-box: fill-box; transform-origin: center; }
.desenho .guia, .desenho .regua, .desenho .eixo { stroke: rgba(47, 224, 176, .35); stroke-dasharray: 3 5; }
.desenho .eixo { stroke-dasharray: none; }

.d-abrir .camada { fill: rgba(255, 196, 40, .06); animation: abrir 4.5s ease-in-out infinite alternate; }
.d-abrir .c1 { --anda: -26px; }
.d-abrir .c2 { --anda: 0px; stroke: var(--verde); fill: rgba(47, 224, 176, .08); }
.d-abrir .c3 { --anda: 26px; }
.d-abrir .nucleo { fill: var(--ouro); stroke: none; animation: pulsar 2.2s ease-in-out infinite; }
@keyframes abrir { from { transform: translateY(0); } to { transform: translateY(var(--anda)); } }
@keyframes pulsar { 50% { transform: scale(1.7); opacity: .5; } }

.d-medir .arco { stroke: rgba(47, 224, 176, .5); }
.d-medir .riscos { stroke-width: 9; stroke-dasharray: 1.2 9.2; stroke: rgba(246, 246, 252, .5); }
.d-medir .faixa-ouro { stroke-width: 4; }
.d-medir .ponteiro { transform-box: view-box; transform-origin: 100px 104px; animation: medir 5s cubic-bezier(.5, 0, .3, 1) infinite alternate; }
.d-medir .ponteiro path { stroke-width: 2.2; }
.d-medir .ponteiro circle { fill: var(--ouro); stroke: none; }
@keyframes medir { 0% { transform: rotate(-78deg); } 35% { transform: rotate(8deg); } 55% { transform: rotate(-22deg); } 80% { transform: rotate(62deg); } 100% { transform: rotate(48deg); } }

.d-provar .coluna { fill: rgba(47, 224, 176, .16); stroke: var(--verde); transform-origin: bottom; animation: crescer 4.8s cubic-bezier(.2, .7, .2, 1) infinite alternate; }
.d-provar .b2 { animation-delay: -.5s; } .d-provar .b3 { animation-delay: -1s; } .d-provar .b4 { animation-delay: -1.5s; } .d-provar .b5 { animation-delay: -2s; }
.d-provar .curva { stroke-width: 2; stroke-dasharray: 150; animation: tracar 4.8s ease-in-out infinite alternate; }
.d-provar .ponto { fill: var(--ouro); stroke: none; animation: pulsar 2.2s ease-in-out infinite; }
@keyframes crescer { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes tracar { from { stroke-dashoffset: 150; } to { stroke-dashoffset: 0; } }

.d-entender .dentes { stroke-width: 7; stroke-dasharray: 5 5.68; stroke: rgba(255, 196, 40, .85); }
.d-entender .r2 .dentes { stroke-dasharray: 5 5.47; stroke: rgba(47, 224, 176, .85); }
.d-entender .r3 .dentes { stroke-width: 6; stroke-dasharray: 4.4 4.4; stroke: rgba(246, 246, 252, .6); }
.d-entender .aro, .d-entender .raios { stroke: rgba(255, 196, 40, .5); }
.d-entender .eixo-roda { fill: var(--ouro); stroke: none; }
.d-entender .roda { animation: rodar 14s linear infinite; }
.d-entender .r2 { animation-duration: 8.2s; animation-direction: reverse; }
.d-entender .r3 { animation-duration: 5.8s; }

.ficha h3 { font-family: var(--titulo); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.ficha p:last-child { color: var(--texto-2); margin: 0; }

/* postagens em cartões */
.ultimas { padding: 12vh 0 8vh; }
.grade { max-width: var(--largura); margin: 2.5rem auto; padding: 0 var(--margem); display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.cartao { border: 1px solid var(--linha); border-radius: 16px; overflow: hidden; background: var(--fundo-2); transition: transform .35s, border-color .35s, box-shadow .35s; }
.cartao:hover { transform: translateY(-6px); border-color: rgba(255, 196, 40, .5); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.cartao-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.cartao-link:hover { color: inherit; }
.cartao-capa { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.cartao-capa img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.cartao:hover .cartao-capa img { transform: scale(1.07); }
.capa-vazia { display: grid; place-items: center; height: 100%; font-family: var(--titulo); color: var(--ouro); font-size: 2rem; opacity: .5; }
.cartao-texto { padding: 1.3rem 1.4rem 1.5rem; }
.cartao-texto h3 { font-size: 1.25rem; }
.cartao-texto p { color: var(--texto-2); font-size: .98rem; }
.cartao-texto .miudo { margin: 0; }

/* chamada final */
.chamada { position: relative; overflow: clip; text-align: center; padding: 30vh var(--margem) 22vh; isolation: isolate; }
.chamada-fundo { position: absolute; inset: -25% 0; background: url(/img/nebulosa.webp) center / cover; opacity: .5; z-index: -1; }
/* a nebulosa não começa numa linha: o verde vai clareando aos poucos a partir do fundo da página, em cima e embaixo */
.chamada::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--fundo) 0, rgba(3, 11, 11, .86) 12%, rgba(3, 11, 11, .55) 26%, rgba(3, 11, 11, .2) 42%, rgba(3, 11, 11, 0) 56%, rgba(3, 11, 11, 0) 72%, rgba(3, 11, 11, .5) 88%, var(--fundo) 100%); }
.chamada h2 { font-size: clamp(1.6rem, 4.6vw, 3.4rem); }
.chamada p { color: var(--texto-2); font-size: 1.15rem; margin-bottom: 2rem; }

/* aparecer ao entrar na tela (só com script) */
.js .revelar { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .revelar.visto { opacity: 1; transform: none; }

/* ───────── blog e postagem ───────── */

.cabeca-pagina { max-width: var(--largura); margin: 0 auto; padding: 9rem var(--margem) 1rem; }
.cabeca-pagina h1 { font-size: clamp(1.9rem, 5vw, 3.6rem); }
.cabeca-pagina > p { color: var(--texto-2); font-size: 1.15rem; }
.filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.filtro { padding: .35rem .95rem; border: 1px solid var(--linha); border-radius: 999px; color: var(--texto-2); text-decoration: none; font-size: .9rem; }
.filtro:hover, .filtro.ativo { border-color: var(--ouro); color: var(--ouro); }
.cabeca-pagina + .ultimas { padding-top: 1rem; }

.postagem-cabeca { position: relative; min-height: 72vh; display: grid; align-items: end; overflow: clip; }
.postagem-capa { position: absolute; inset: 0; z-index: -1; }
.postagem-capa img { width: 100%; height: 120%; object-fit: cover; opacity: .5; will-change: transform; }
.postagem-capa::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(3, 11, 11, .35), var(--fundo) 96%); }
.postagem-titulo { max-width: var(--largura); width: 100%; margin: 0 auto; padding: 9rem var(--margem) 2rem; }
.postagem-titulo h1 { font-size: clamp(1.7rem, 4.4vw, 3.3rem); max-width: 22ch; }
.resumo { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--texto-2); max-width: 46rem; }
.aviso-previa { position: fixed; inset: auto 0 0; z-index: 60; margin: 0; padding: .6rem; text-align: center; background: var(--ouro); color: #111; font-weight: 600; }

.postagem-grade { max-width: var(--largura); margin: 0 auto; padding: 2rem var(--margem) 5rem; display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .postagem-grade { grid-template-columns: 15rem minmax(0, 44rem); justify-content: space-between; } }
.indice { font-size: .92rem; align-self: start; }
@media (min-width: 1000px) { .indice { position: sticky; top: 6rem; } }
.indice ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--linha); }
.indice a { display: block; padding: .35rem 0 .35rem 1rem; color: var(--texto-2); text-decoration: none; }
.indice a:hover { color: var(--ouro); }

.texto { font-size: 1.14rem; line-height: 1.75; min-width: 0; }
.texto.solto { max-width: 46rem; margin: 0 auto; padding: 1rem var(--margem) 6rem; }
.texto h2 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); margin-top: 2.6em; scroll-margin-top: 6rem; }
.texto h3 { font-size: 1.25rem; margin-top: 2em; scroll-margin-top: 6rem; }
.texto ul, .texto ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.texto li { margin-bottom: .4em; }
.texto li::marker { color: var(--ouro); }
.texto blockquote { margin: 2em 0; padding: .2rem 0 .2rem 1.4rem; border-left: 3px solid var(--ouro); font-size: 1.3rem; line-height: 1.5; }
.texto blockquote p { margin: 0; }
.texto figure { margin: 2.2em 0; }
.texto figure img, .texto figure video { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--linha); background: #000; }
.texto figcaption { font-size: .88rem; color: var(--texto-2); margin-top: .6rem; }
.texto code { background: rgba(255, 255, 255, .08); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.texto pre { overflow-x: auto; padding: 1rem; background: var(--fundo-2); border-radius: 10px; }
.texto hr { border: 0; border-top: 1px solid var(--linha); margin: 3em 0; }
.texto strong { color: #fff; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--linha); background: #000 url(/img/nebulosa.webp) center / cover; margin: 0 0 2.5rem; display: grid; place-items: center; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-botao { position: relative; display: flex; align-items: center; gap: .8rem; padding: .9rem 1.6rem .9rem 1rem; border-radius: 999px; border: 0; background: var(--ouro); color: #120d00; font: inherit; font-weight: 600; cursor: pointer; }
.tocar { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #120d00; position: relative; }
.tocar::after { content: ''; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%); border: .45rem solid transparent; border-left: .7rem solid var(--ouro); border-right: 0; }
.video .miudo { position: absolute; bottom: .6rem; margin: 0; text-shadow: 0 1px 4px #000; }

/* blocos da postagem: números, resumo, nota, tabela, gráfico */
.numeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; margin: 2.2em 0; }
.numeros div { padding: 1.2rem 1.2rem 1.1rem; border: 1px solid var(--linha); border-radius: 14px; background: linear-gradient(160deg, rgba(255, 196, 40, .08), transparent 70%), var(--fundo-2); }
.numeros strong { display: block; font-family: var(--titulo); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--ouro); line-height: 1.15; }
.numeros span { display: block; margin-top: .5rem; font-size: .92rem; line-height: 1.45; color: var(--texto-2); }

.resumo-caixa, .nota { margin: 2.2em 0; padding: 1.3rem 1.5rem; border-radius: 14px; border: 1px solid var(--linha); background: var(--fundo-2); }
.resumo-caixa { border-left: 3px solid var(--verde); }
.resumo-caixa ul { margin: 0; }
.resumo-caixa li:last-child, .nota p:last-child { margin-bottom: 0; }
.nota { border-left: 3px solid var(--ouro); font-size: 1.05rem; }
.nota-titulo { font-weight: 700; color: var(--ouro); margin-bottom: .5em; }

.perguntas { margin: 2.2em 0; border-top: 1px solid var(--linha); }
.perguntas h3 { margin: 1.4em 0 .4em; font-size: 1.15rem; color: var(--ouro); }
.perguntas p { margin: 0 0 1.2em; padding-bottom: 1.2em; border-bottom: 1px solid var(--linha); }

.tabela { overflow-x: auto; margin: 2em 0; }
.tabela table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tabela th, .tabela td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--linha); }
.tabela th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--verde); font-weight: 600; }

.grafico svg { width: 100%; height: auto; display: block; border: 1px solid var(--linha); border-radius: 12px; background: var(--fundo-2); padding: .4rem; }
.g-grade { stroke: rgba(160, 255, 225, .09); }
.g-eixo { fill: var(--texto-2); font-size: 12px; font-family: 'Space Grotesk', sans-serif; }
.g-limiar { stroke: rgba(255, 255, 255, .28); stroke-dasharray: 4 5; }
.g-linha { fill: none; stroke: #f6f6fc; stroke-width: 1.3; stroke-linejoin: round; }
.g-area-quente { fill: rgba(255, 110, 60, .55); }
.g-area-fria { fill: rgba(70, 150, 255, .45); }
.g-ponto { fill: var(--ouro); stroke: var(--fundo); stroke-width: 2; }
.g-rotulo { fill: var(--texto); font-size: 12.5px; font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
.g-rotulo.g-agora { fill: var(--ouro); }
.g-ponto.g-agora { fill: #ff6e3c; }
@media (max-width: 600px) { .g-eixo { font-size: 16px; } .g-rotulo { font-size: 17px; } }

/* barra de leitura no topo da postagem */
.leitura-barra { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; background: var(--ouro); transform-origin: left; transform: scaleX(var(--lido, 0)); }
.indice a.atual { color: var(--ouro); box-shadow: inset 2px 0 0 var(--ouro); }

/* animação que avança com a rolagem, dentro da postagem */
.rolagem { height: 340vh; margin: 2.5em 0; }
.rolagem > .fixa { top: 5.5rem; height: auto; overflow: visible; }
.rolagem canvas { width: 100%; height: auto; max-height: 58vh; object-fit: contain; aspect-ratio: 16 / 9; border-radius: 12px; border: 1px solid var(--linha); background: #000; }
.passos { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; }
.passos li { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; font-size: 1.1rem; line-height: 1.5; }
.passos li.ativo { opacity: 1; transform: none; }
.barra { height: 2px; background: var(--linha); margin-top: 1rem; }
.barra span { display: block; height: 100%; background: var(--ouro); transform-origin: left; transform: scaleX(var(--p)); }

.fontes { margin-top: 3.5rem; border: 1px solid var(--linha); border-radius: 12px; padding: 1rem 1.3rem; font-size: .95rem; line-height: 1.6; }
.fontes summary { cursor: pointer; font-weight: 600; color: var(--ouro); }
.fontes[open] summary { margin-bottom: 1rem; }
.compartilhar { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; color: var(--texto-2); font-size: .95rem; }

.trilha { font-size: .85rem; color: var(--texto-2); margin-bottom: 1rem; }
.trilha a { color: var(--texto-2); text-decoration: none; }
.trilha a:hover { color: var(--ouro); }
.redes { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }

/* ───────── anúncios e aviso de cookies ───────── */

.anuncio { display: none; }
.anuncio.ativo { display: block; margin: 2.5rem auto; text-align: center; min-height: 100px; max-width: var(--largura); }
.anuncio.ativo::before { content: 'Publicidade'; display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--texto-2); margin-bottom: .4rem; }

.cookies {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 80; max-width: 34rem; margin-left: auto;
  padding: 1.2rem 1.3rem; background: #0b1e1c; border: 1px solid var(--linha); border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.cookies p { font-size: .95rem; margin-bottom: 1rem; }
.cookies div { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookies .botao { flex: 1; text-align: center; padding: .6rem 1rem; background: transparent; color: var(--texto); border-color: rgba(255, 255, 255, .4); }

/* ───────── quem pediu menos movimento vê tudo parado ───────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cena { height: auto !important; --p: .5; }
  .cena > .fixa { position: static; height: auto; min-height: 0; }
  .heroi > .fixa { min-height: 100svh; position: relative; }
  .pairar, .vivo img, .vivo span, .vivo b, .vivo i, .faixa, .helice, .desenho *, .manifesto-fundo span { animation: none !important; }
  .js .trilho-faixa { display: flex; flex-wrap: wrap; perspective: none; }
  .js .trilho .ficha { transform: none; opacity: 1; width: min(78vw, 27rem); }
  .js .trilho-pontos { display: none; }
  .palavra { transform: none; filter: none; }
  .nebulosa, .beijaflor, .heroi-texto, .leitura, .heroi-frase, .trilho-faixa { transform: none; opacity: 1; }
  .beijaflor { top: 12vh; opacity: .9; }
  .heroi-texto { top: 34vh; }
  .heroi-frase, .rolar, .rolar span { display: none; animation: none; }
  .manifesto .fixa { padding-block: 16vh; }
  .palavra { opacity: 1; }
  .trilho .fixa { padding-block: 10vh; }
  .passos li { position: static; grid-area: auto; opacity: 1; transform: none; margin-bottom: .6rem; }
  .js .revelar { opacity: 1; transform: none; }
  * { transition: none !important; }
}

