/* Alfa Agency · identidade «Horizonte» (decidida a 2026-11-08).
   Regras: fundo negro azul; um destaque laranja por ecrã; o horizonte uma vez por página;
   o azul nunca sozinho; sem violeta, magenta nem verde-água. */

@font-face { font-family: 'Sora'; src: url(/fonts/sora-latin.woff2) format('woff2'); font-weight: 100 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; src: url(/fonts/sora-latin-ext.woff2) format('woff2'); font-weight: 100 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4; }

:root {
  --negro: #05070f; --luz: #eaf2ff; --prata: #8a94a6; --brasa: #ff8a1f; --chama: #2f7cff;
  --texto-2: #b9c3d9;
  --fundo-claro: #f4f8ff; --linha: #d5e2f6; --suave: #5b6579; --nota: #465063;
  --vidro: rgba(16,24,46,.82); --vidro-linha: rgba(234,242,255,.18);
  --margem: clamp(20px, 5vw, 48px);
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--negro); color: var(--luz); font-family: 'Sora', -apple-system, system-ui, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: #fff; font-weight: 700; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 750; letter-spacing: -.038em; line-height: 1.08; }
h2 { font-size: clamp(27px, 3.6vw, 42px); }
h3 { font-size: clamp(19px, 2vw, 22px); letter-spacing: -.02em; line-height: 1.25; }

.largura { width: min(1120px, 100% - 2 * var(--margem)); margin-inline: auto; }
.estreita { max-width: 720px; }
.largura.estreita { max-width: none; }
.largura.estreita > * { max-width: 720px; }
.clara > .largura > h2 { margin-bottom: 30px; }
.saltar { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--negro); padding: 10px 16px; border-radius: 10px; z-index: 50; }
.saltar:focus { left: 8px; }

/* marca escrita */
.wm { font-size: 24px; font-weight: 300; letter-spacing: -.045em; white-space: nowrap; color: #fff; text-decoration: none; text-shadow: 0 0 22px rgba(234,242,255,.35); }
.wm b { font-weight: 800; }
.wm-pequena { font-size: 22px; margin-bottom: .6em; }
.pd { display: inline-block; width: .15em; height: .15em; margin-left: .05em; border-radius: 50%; background: var(--brasa); box-shadow: 0 0 .12em var(--brasa), 0 0 .45em rgba(255,138,31,.75); }

/* topo */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(5,7,15,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 -1px 0 rgba(234,242,255,.1); }
.topo-linha { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.topo nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); font-size: 15px; }
.topo nav a { color: var(--texto-2); text-decoration: none; padding: 6px 0; white-space: nowrap; }
.topo nav a:hover, .topo nav a[aria-current] { color: #fff; }
.topo nav a.pilula { color: var(--luz); padding: 9px 18px; font-size: 15px; }

/* botão e pílula */
.botao { display: inline-block; padding: 15px 26px; border-radius: 14px; background: var(--brasa); color: var(--negro); font-weight: 700; letter-spacing: -.01em; text-decoration: none; box-shadow: 0 0 26px rgba(255,138,31,.5); }
.botao:hover { box-shadow: 0 0 38px rgba(255,138,31,.75); }
.pilula { display: inline-block; font-weight: 600; letter-spacing: -.01em; padding: 14px 24px; border-radius: 999px; color: var(--luz); text-decoration: none; background: rgba(234,242,255,.06); box-shadow: inset 0 0 0 1.5px rgba(234,242,255,.38); }
.pilula:hover { background: rgba(234,242,255,.12); }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.nota { font-size: 14px; color: var(--prata); margin: 14px 0 0; }

/* secções */
.seccao { padding: clamp(60px, 9vw, 112px) 0; position: relative; }
.escura { background: radial-gradient(120% 90% at 50% 45%, #0e1528 0%, #080b17 55%, #04060c 100%); }
.clara { background: radial-gradient(120% 90% at 50% 42%, #ffffff 0%, #f4f8ff 45%, #eaf2ff 75%, #dde8f8 100%); color: var(--negro); }
.clara h1, .clara h2, .clara h3 { color: var(--negro); }
.clara .apoio, .clara figcaption, .clara .etiqueta { color: var(--suave); }
.rotulo { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-2); margin: 0 0 14px; }
.clara .rotulo { color: var(--nota); }
.apoio { font-size: clamp(17px, 1.7vw, 20px); color: var(--texto-2); max-width: 640px; margin-top: 18px; }
.cabeca { margin-bottom: clamp(30px, 5vw, 54px); }

/* abertura, com o mapa do Algarve */
.abertura { position: relative; overflow: hidden; padding: clamp(34px, 7svh, 84px) 0 clamp(44px, 8svh, 96px); }
.abertura h1 { font-size: clamp(32px, 3.5vw, 45px); text-shadow: 0 0 18px rgba(234,242,255,.3); }
.abertura .apoio { margin-top: 12px; }
.abertura .acoes { margin-top: 24px; }
.abertura-grelha { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.mapa-caixa { margin: 0 calc(var(--margem) * -.75) 0 0; }
.mapa { display: none; aspect-ratio: 2.02 / 1; }
.com-mapa .mapa { display: block; }
.mapa canvas { display: block; width: 100%; height: 100%; }
.mapa-caixa figcaption { text-align: center; margin-top: 6px; }
.abertura-simples { padding: clamp(56px, 8vw, 96px) 0 clamp(30px, 4vw, 48px); }
.botao-luz { background: #fff; box-shadow: 0 0 26px rgba(234,242,255,.35); }
.botao-luz:hover { box-shadow: 0 0 40px rgba(234,242,255,.6); }

/* o horizonte: só no convite final, uma vez por página */
.fecho { --alt: clamp(110px, 20vw, 230px); position: relative; overflow: hidden; background: var(--negro); padding: clamp(64px, 9vw, 110px) 0 calc(var(--alt) + 70px); }
.fecho .largura { position: relative; z-index: 2; }
.fecho .largura > * { max-width: 720px; }
.hz { --d: clamp(1000px, 180vw, 2800px); position: absolute; left: 50%; bottom: calc(var(--d) * -1 + var(--alt)); width: var(--d); height: var(--d); margin-left: calc(var(--d) / -2); z-index: 1; pointer-events: none; }
.hz .g { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 270deg, #2f7cff, #7fb0ff 20%, #ffb547 30%, #ff8a1f 40%, #2f7cff 60%); filter: blur(calc(var(--d) * .032)); opacity: .8; }
.hz .a { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 270deg, #2f7cff, #9cc2ff 20%, #ffd9a3 30%, #ff8a1f 40%, #2f7cff 60%);
  -webkit-mask: radial-gradient(closest-side, transparent 99.3%, #000 99.65%); mask: radial-gradient(closest-side, transparent 99.3%, #000 99.65%); }
.hz .i { position: absolute; inset: calc(var(--d) * .0032); border-radius: 50%; background: radial-gradient(closest-side, #0c1428 80%, #05070f); }

/* hoje e depois: o esquema */
.cena { --t: 1; padding: clamp(60px, 9vw, 112px) 0; }
.cena-grelha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.cena-texto + .cena-texto { margin-top: 44px; }
.cena-texto h2 { margin-bottom: 16px; }
.cena-texto p { color: var(--texto-2); max-width: 520px; }
.falas { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.falas li { font-size: 14.5px; font-weight: 600; padding: 8px 14px; border-radius: 14px 14px 14px 4px; color: var(--luz); background: rgba(234,242,255,.07); box-shadow: inset 0 0 0 1px var(--vidro-linha); }
.falas-resposta li { border-radius: 14px 14px 4px 14px; background: rgba(234,242,255,.14); box-shadow: inset 0 0 0 1px rgba(234,242,255,.4); color: #fff; }
.cena-desenho svg { display: block; width: 100%; height: auto; max-height: 62svh; overflow: visible; }
.cena svg text { fill: var(--texto-2); font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.ligacoes line { stroke: rgba(234,242,255,.22); stroke-width: 1.5; }
.ligacao-dono { stroke: rgba(234,242,255,.3); stroke-width: 1.5; stroke-dasharray: 3 7; opacity: var(--t); }
.no circle { fill: #0e1528; stroke: rgba(234,242,255,.45); stroke-width: 1.5; }
.no-dono { transform: translate(calc(var(--t) * 240px), calc(var(--t) * -188px)); }
.no-dono circle { fill: #101a33; stroke: #fff; stroke-width: 2; filter: drop-shadow(0 0 calc((1 - var(--t)) * 16px) rgba(234,242,255,.55)); }
.cena svg .no-dono text { fill: #fff; font-size: 15px; font-weight: 700; }
.cena svg .dono-sub { fill: var(--texto-2); font-size: 12.5px; font-weight: 500; opacity: var(--t); }
.nucleo { opacity: var(--t); transform-origin: 320px 250px; transform: scale(calc(.6 + var(--t) * .4)); }
.nucleo circle { fill: #eaf2ff; filter: drop-shadow(0 0 22px rgba(234,242,255,.6)); }
.cena svg .nucleo-ia { fill: var(--negro); font-size: 27px; font-weight: 800; letter-spacing: -.04em; }
.cena svg .nucleo-sub { fill: var(--nota); font-size: 11px; font-weight: 600; }
.fila { opacity: calc(1 - var(--t)); transform-origin: 320px 250px; }
.fila circle { fill: var(--luz); opacity: .75; }
.pulso { fill: #fff; filter: drop-shadow(0 0 6px rgba(234,242,255,.9)); }

/* grelhas e cartões */
.grelha { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.vidro { background: var(--vidro); border-radius: 22px; padding: clamp(22px, 3vw, 30px); box-shadow: inset 0 0 0 1px var(--vidro-linha), 0 40px 90px -40px rgba(0,0,0,.85); }
.vidro p { color: var(--texto-2); margin: 10px 0 0; }
.vidro p.fala { color: var(--luz); font-size: 19px; line-height: 1.45; margin: 0; }
.passos { list-style: none; margin: 0; padding: 0; counter-reset: passo; position: relative; }
.passos::before, .passos::after { content: ''; position: absolute; left: 16px; top: 18px; bottom: 30px; width: 2px; border-radius: 2px; background: rgba(234,242,255,.16); }
.passos::after { display: none; background: var(--luz); box-shadow: 0 0 14px rgba(234,242,255,.6); transform-origin: 50% 0; scale: 1 var(--p, 0); }
.passos li { counter-increment: passo; display: grid; grid-template-columns: 34px 1fr; gap: 20px; align-items: start; padding: 14px 0 22px; position: relative; z-index: 1; }
.passos li::before { content: counter(passo); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px;
  color: var(--texto-2); background: var(--negro); box-shadow: inset 0 0 0 1.5px rgba(234,242,255,.3); transition: color .5s, box-shadow .5s; }
.passos h3 { margin: 4px 0 6px; }
.dia { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 6px 0 0; }
.dia + h3 { margin-top: 2px; }
.passos-ponto { display: none; }
.passos p { color: var(--texto-2); margin: 0; }

/* facto */
.facto { font-size: clamp(26px, 3.8vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; color: #fff; max-width: 900px; margin: 0; text-wrap: balance; }
.fonte { font-size: 14px; color: var(--prata); margin: 16px 0 34px; }

/* imagens de trabalhos */
.moldura { margin: 0; }
.moldura img { width: 100%; border-radius: 14px; box-shadow: 0 0 0 1px rgba(234,242,255,.3), 0 30px 70px -30px rgba(0,0,0,.8); }
.clara .moldura img { box-shadow: 0 0 0 1px var(--linha), 0 30px 60px -34px rgba(5,7,15,.45); }
figcaption { font-size: 14px; color: var(--prata); margin-top: 12px; }
figcaption strong { display: block; font-size: 17px; font-weight: 650; color: #fff; margin-bottom: 2px; }
.clara figcaption strong { color: var(--negro); }
.trabalho { padding: clamp(34px, 5vw, 56px) 0; border-top: 1px solid var(--linha); }
.trabalho:first-of-type { border-top: 0; padding-top: 0; }
.trabalho-texto { max-width: 720px; margin-bottom: 26px; }
.etiqueta { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linha); margin: 10px 0 0; }
.lista { margin: 14px 0 0; padding-left: 1.15em; }
.lista li { margin-bottom: 6px; }
.clara .lista { color: var(--nota); }
.grupo { margin-top: clamp(50px, 8vw, 90px); }
.grupo > h2 { margin-bottom: 28px; }
.so-texto { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.so-texto > div { padding: 24px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--linha); }

/* perguntas */
.perguntas { max-width: 820px; }
details { border-top: 1px solid rgba(234,242,255,.14); }
details:last-of-type { border-bottom: 1px solid rgba(234,242,255,.14); }
summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; font-weight: 600; font-size: 18px; color: #fff; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 300; color: var(--prata); }
details[open] summary::after { content: '−'; }
details p { color: var(--texto-2); max-width: 680px; }
details p:last-child { margin-bottom: 22px; }

/* texto corrido (privacidade) */
.texto h2 { font-size: 22px; margin: 38px 0 10px; }
.texto p, .texto li { color: var(--texto-2); }
.texto ul { padding-left: 1.15em; }
.aviso { padding: 16px 20px; border-radius: 14px; background: rgba(234,242,255,.06); box-shadow: inset 0 0 0 1px var(--vidro-linha); color: var(--luz); }

/* contacto */
.contactos { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.contactos li { display: grid; gap: 2px; }
.contactos span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--prata); font-weight: 600; }
.contactos a, .contactos b { font-size: clamp(20px, 2.6vw, 26px); font-weight: 650; color: #fff; }

/* rodapé */
.rodape { border-top: 1px solid rgba(234,242,255,.1); padding: 54px 0 30px; font-size: 15px; color: var(--texto-2); }
.rodape-grelha { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.rodape p { margin: 0 0 6px; }
.rodape-grelha > div:first-child p:last-child { max-width: 300px; }
.rodape-fim { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(234,242,255,.08); font-size: 13px; color: var(--prata); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .topo-linha { gap: 4px 20px; padding: 12px 0 8px; }
  .topo nav { display: contents; }
  .topo .wm { order: 1; }
  .topo nav a.pilula { order: 2; margin-left: auto; padding: 8px 16px; font-size: 14px; }
  .topo-linha::after { content: ''; order: 3; flex-basis: 100%; height: 0; }
  .topo nav a:not(.pilula) { order: 4; font-size: 14px; }
}

/* frase que roda, barras e fita (funcionam paradas, sem JavaScript) */
.roda { font-size: clamp(20px, 2.4vw, 27px); font-weight: 600; letter-spacing: -.02em; color: var(--texto-2); margin: 16px 0 0; min-height: 1.6em; }
.roda-palavra { display: inline-block; color: #fff; }
.barras { max-width: 640px; margin: 0 0 40px; }
.barra { display: grid; grid-template-columns: 130px 1fr 78px; align-items: center; gap: 14px; margin-top: 12px; font-size: 15px; color: var(--texto-2); }
.barra-trilho { height: 10px; border-radius: 99px; background: rgba(234,242,255,.1); overflow: hidden; }
.barra-trilho i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: 99px; background: var(--prata); transform-origin: 0 50%; }
.b-pt { --v: .577; background: #fff !important; box-shadow: 0 0 16px rgba(234,242,255,.7); }
.b-ue { --v: 1; }
.barra-valor { text-align: right; font-variant-numeric: tabular-nums; }
.barra-valor b { font-size: 19px; font-weight: 700; color: #fff; }
.fita { overflow-x: auto; padding: 6px var(--margem) 22px; scroll-snap-type: x proximity; }
.fita-linha { display: flex; width: max-content; }
.fita-linha .moldura { flex: 0 0 min(78vw, 430px); margin-right: 24px; scroll-snap-align: center; }
.vidro { transition: translate .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.vidro:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px rgba(234,242,255,.42), 0 0 40px rgba(234,242,255,.08), 0 40px 90px -40px rgba(0,0,0,.85); }
.botao, .pilula { transition: box-shadow .3s, background .3s, translate .3s cubic-bezier(.2,.7,.2,1); }
.botao:hover, .pilula:hover { translate: 0 -2px; }

/* ---------- movimento ----------
   «.js» é posto pelo js.js antes de a página se desenhar. «.movimento» é posto pelo movimento.js.
   Com «reduzir movimento» ligado, ou sem JavaScript, nenhuma destas regras se aplica. */
.js :is(.cabeca, .vidro, .passos li, .moldura, .trabalho-texto, .facto, .fonte, .barras, .so-texto > div, details,
  .seccao > .largura.estreita > :not(.passos, .cabeca), .abertura-texto > :not(h1), .mapa-caixa, .abertura-simples .largura > :not(h1),
  .grupo > h2, .clara > .largura > h2, .seccao > .largura > .acoes, .fecho .largura > *):not(.visto) { opacity: 0; }
.movimento .visto { animation: entrar .85s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 85ms); }
.movimento .fita-linha .moldura.visto, .movimento .fita-linha .moldura { animation: none; opacity: 1; }
@keyframes entrar { from { opacity: 0; translate: 0 28px; filter: blur(7px); } }

.js h1 { visibility: hidden; }
.js h1.partido { visibility: visible; }
.movimento .pal { display: inline-block; opacity: 0; translate: 0 .35em; filter: blur(10px); animation: materializar .95s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes materializar { to { opacity: 1; translate: 0 0; filter: blur(0); } }

.movimento .roda-palavra { transition: opacity .35s, translate .35s, filter .35s; }
.movimento .roda-palavra.sai { opacity: 0; translate: 0 .4em; filter: blur(6px); }

/* o esquema fica preso ao ecrã enquanto se desce: primeiro «hoje», depois «depois» */
.movimento .cena { padding: 0; height: 250vh; }
.movimento .cena-fixa { position: sticky; top: 68px; height: calc(100svh - 68px); display: grid; align-items: center; overflow: hidden; }
.movimento .cena-textos { display: grid; }
.movimento .cena-texto { grid-area: 1 / 1; margin: 0; transition: opacity .5s, translate .5s cubic-bezier(.2,.7,.2,1), filter .5s; }
.movimento .cena-texto:not(.ativo) { opacity: 0; translate: 0 18px; filter: blur(6px); pointer-events: none; }
.movimento .fila { animation: girar 16s linear infinite; }
@keyframes girar { to { rotate: 360deg; } }
.movimento .falas li { animation: fala 4.5s ease-in-out infinite; }
.movimento .falas li:nth-child(2) { animation-delay: 1.5s; }
.movimento .falas li:nth-child(3) { animation-delay: 3s; }
.movimento .falas-resposta li { animation: none; }
@keyframes fala { 0%, 100% { translate: 0 0; } 12% { translate: 0 -4px; box-shadow: inset 0 0 0 1px rgba(234,242,255,.6); } 24% { translate: 0 0; } }

/* a linha dos três meses: enche com o scroll, com o ponto laranja à frente */
.movimento .passos::after { display: block; }
.movimento .passos li.visto::before { color: #fff; box-shadow: inset 0 0 0 1.5px #fff, 0 0 18px rgba(234,242,255,.4); }
.movimento .passos-ponto { display: block; position: absolute; left: 11px; top: calc(12px + var(--p, 0) * (100% - 48px)); width: 12px; height: 12px; border-radius: 50%; z-index: 2;
  background: var(--brasa); box-shadow: 0 0 6px var(--brasa), 0 0 18px rgba(255,138,31,.8); }

.js .barras:not(.visto) .barra-trilho i { scale: 0 1; }
.movimento .barras .barra-trilho i { transition: scale 1.5s cubic-bezier(.2,.7,.2,1) .25s; }

.movimento .fita { overflow: hidden; padding-inline: 0; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.movimento .fita-linha { animation: passar 75s linear infinite; }
.movimento .fita:hover .fita-linha { animation-play-state: paused; }
@keyframes passar { to { transform: translateX(-50%); } }

/* o horizonte nasce quando o convite chega ao ecrã */
.js .fecho:not(.aceso) .hz { opacity: 0; }
.movimento .fecho.aceso .hz { animation: nascer 2.8s cubic-bezier(.16,.8,.2,1) both; }
.movimento .fecho.aceso .hz .g { animation: respirar 7s ease-in-out 2.8s infinite alternate; }
@keyframes nascer { from { transform: translateY(var(--alt)); opacity: 0; } }
@keyframes respirar { from { opacity: .8; } to { opacity: .55; } }

.progresso { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 30; background: var(--luz); box-shadow: 0 0 10px rgba(234,242,255,.8); transform-origin: 0 50%; scale: var(--p, 0) 1; pointer-events: none; }

@media (max-width: 860px) {
  .abertura-grelha { grid-template-columns: 1fr; }
  .mapa-caixa { margin-right: 0; }
  .cena-grelha { grid-template-columns: 1fr; gap: 14px; }
  .movimento .cena-fixa { top: 96px; height: calc(100svh - 96px); display: block; padding: 20px 0 14px; }
  .movimento .cena-grelha { height: 100%; display: flex; flex-direction: column; }
  .movimento .cena-desenho { flex: 1; min-height: 0; }
  .movimento .cena-desenho svg { height: 100%; max-height: none; }
  .cena-desenho svg { max-height: 44svh; }
  .cena-texto h2 { font-size: 25px; margin-bottom: 10px; }
  .cena-texto p { font-size: 15px; line-height: 1.5; }
  .falas { margin-top: 12px; gap: 6px; }
  .falas li { font-size: 13px; padding: 6px 11px; }
}
@media (max-width: 560px) { .acoes .botao, .acoes .pilula { width: 100%; text-align: center; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .topo, .hz { display: none; } body { background: #fff; color: #000; } }
