/* ==========================================================================
   Bolder v3 · homepage com corpo (referência: navegação e ritmo da Ownitt)
   Paleta: preto, creme, branco; vermelho-alaranjado só em detalhes.
   Tipografia proposta: títulos condensados pesados + serifa itálica nos destaques.
   ========================================================================== */
:root {
  --titulo: 'Archivo', 'Arial Narrow', sans-serif;
  --serifa: 'Instrument Serif', Georgia, serif;
}
.t-caps { font-family: var(--titulo); font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: .9; }
.t-serifa { font-family: var(--serifa); font-weight: 400; font-style: italic; letter-spacing: -.01em; line-height: 1; }
.t-serifa.reto { font-style: normal; }
.laranja { color: var(--rec); }
.rotulo { font-family: var(--titulo); font-stretch: 75%; font-weight: 500; font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--paper-3); }

/* Ligações com seta num círculo (substituem os botões em pílula) */
.ir { display: inline-flex; align-items: center; gap: 14px; font-family: var(--titulo); font-stretch: 75%; font-weight: 600; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--paper); min-height: 44px; }
.ir i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); font-style: normal; font-size: 1rem; letter-spacing: 0; transition: background-color .4s var(--expo), color .4s, border-color .4s, transform .5s var(--expo); }
.ir:hover i { background: var(--rec); border-color: var(--rec); color: #fff; transform: rotate(-45deg); }

/* Cabeçalho mínimo: logótipo e MENU */
.topo .nav, .topo .topo__cta { display: none !important; }
.topo::before { background: none; }
.botao-menu { gap: 12px; font-family: var(--titulo); font-stretch: 75%; font-size: .7rem; letter-spacing: .3em; }
.botao-menu i { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(243,240,234,.35); background: rgba(0,0,0,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.botao-menu i::before, .botao-menu i::after { left: 14px; right: 14px; }
.botao-menu i::before { top: 19px; } .botao-menu i::after { top: 26px; }
html.menu-aberto .botao-menu i::before, html.menu-aberto .botao-menu i::after { top: 22px; }
.topo.sobre-claro { color: #0b0b0b; }
.topo.sobre-claro .marca img { filter: invert(1); }
.topo.sobre-claro .botao-menu i { border-color: rgba(11,11,11,.3); background: rgba(242,237,228,.4); }

/* Cursor próprio (só rato) */
.cursor-ponto, .cursor-anel { position: fixed; z-index: 9999; left: 0; top: 0; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
.cursor-ponto { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor-anel { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255,255,255,.8); transition: width .35s var(--expo), height .35s var(--expo), margin .35s var(--expo), background-color .3s; display: grid; place-items: center; }
.cursor-anel span { font-family: var(--titulo); font-stretch: 75%; font-size: .55rem; letter-spacing: .2em; color: #000; opacity: 0; }
html.cursor-grande .cursor-anel { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: #fff; }
html.cursor-grande .cursor-anel span { opacity: 1; }
@media (pointer: fine) { html.tem-cursor, html.tem-cursor a, html.tem-cursor button { cursor: none; } }
@media not (pointer: fine) { .cursor-ponto, .cursor-anel { display: none; } }

/* Cortina: entrada e mudança de página */
.cortina { position: fixed; inset: 0; z-index: 9000; background: #0b0b0b; display: grid; place-items: center; transform: translateY(0); transition: transform 1s var(--expo); pointer-events: none; }
.cortina__marca { font-family: var(--titulo); font-stretch: 62%; font-weight: 800; font-size: clamp(4rem, 16vw, 14rem); color: var(--creme); letter-spacing: -.01em; overflow: hidden; }
.cortina__marca span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--expo); }
.cortina__marca span.ponto { color: var(--rec); transition-delay: .12s; }
html.entrou .cortina__marca span { transform: none; }
html.revelada .cortina { transform: translateY(-101%); }
html.a-sair .cortina { transform: translateY(0); transition-duration: .55s; }
html.a-sair .cortina__marca span { transform: none; }
@media (prefers-reduced-motion: reduce) { .cortina { display: none; } }

/* ---------- 1 · Abertura ---------- */
.ab { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #000; color: var(--creme); }
.ab video, .ab > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ab::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.15) 65%), linear-gradient(to top, rgba(0,0,0,.6), transparent 40%); }
.ab__texto { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 18px; max-width: 1100px; }
.ab__titulo { font-size: clamp(2.4rem, 6.4vw, 6.4rem); }
.ab__titulo .t-serifa { display: block; font-size: 1.06em; text-transform: none; color: var(--rec); margin-top: .06em; }
.ab__roda { font-family: var(--serifa); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.5rem); color: rgba(243,240,234,.75); display: flex; gap: .35em; align-items: baseline; flex-wrap: wrap; }
.roda { position: relative; display: inline-grid; overflow: hidden; height: 1.25em; vertical-align: bottom; }
.roda span { grid-area: 1 / 1; color: var(--creme); font-style: normal; font-family: var(--titulo); font-stretch: 75%; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; transform: translateY(110%); transition: transform .7s var(--expo); white-space: nowrap; }
.roda span.on { transform: none; }
.roda span.sai { transform: translateY(-110%); }
.ab__deslizar { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; }
.ab__deslizar i { width: 1px; height: 44px; background: linear-gradient(var(--creme), transparent); transform-origin: top; animation: desce 2.2s var(--ease) infinite; }

/* ---------- 2 · Showreel que cresce ---------- */
.reel { position: relative; height: 160svh; background: var(--cor, #b9b4ad); transition: background-color .2s linear; }
.reel__pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.reel__frase { position: absolute; left: 0; right: 0; text-align: center; font-size: clamp(1.4rem, 3vw, 2.6rem); color: #0b0b0b; }
.reel__frase .t-serifa { text-transform: none; font-size: 1.12em; }
.reel__frase--cima { top: 16svh; opacity: calc(1 - var(--p, 0) * 3); }
.reel__frase--baixo { bottom: 12svh; font-size: clamp(2.4rem, 6vw, 5.6rem); opacity: calc(1 - var(--p, 0) * 2.4); }
.reel__cartao { position: relative; width: calc(28vw + var(--p, 0) * 60vw); aspect-ratio: 16 / 9; max-height: calc(30svh + var(--p, 0) * 58svh); border-radius: calc(12px - var(--p, 0) * 6px); overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.reel__cartao video, .reel__cartao img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__botoes { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; opacity: calc((var(--p, 0) - .5) * 3); }
.reel__botoes button { font-family: var(--titulo); font-stretch: 75%; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 8px 14px; background: rgba(0,0,0,.35); backdrop-filter: blur(6px); }

/* ---------- 3 · Manifesto ---------- */
.mani { position: relative; height: 420svh; background: #0b0b0b; color: var(--creme); }
.mani__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.mani__ponto { position: absolute; left: 50%; top: 50%; width: min(70vw, 760px); aspect-ratio: 1; margin: calc(min(70vw, 760px) / -2) 0 0 calc(min(70vw, 760px) / -2); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2a1410, #160a08 60%, #0b0b0b 70%); transform: scale(calc(.6 + var(--p, 0) * .7)); opacity: .9; }
.mani__linha { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 28px; opacity: 0; transition: opacity .6s var(--ease); }
.mani__linha.on { opacity: 1; }
.mani__caps { font-size: clamp(1.6rem, 3.4vw, 3.2rem); max-width: 16ch; }
.mani__linha:nth-child(even) .mani__caps { justify-self: end; text-align: right; }
.mani__serifa { font-size: clamp(2.6rem, 6.4vw, 6.6rem); color: var(--rec); max-width: 18ch; justify-self: center; text-align: center; }
.mani__linha .mani__caps, .mani__linha .mani__serifa { transform: translateY(30px); opacity: 0; transition: transform 1s var(--expo), opacity .8s var(--ease); }
.mani__linha.on .mani__caps { transform: none; opacity: 1; }
.mani__linha.on .mani__serifa { transform: none; opacity: 1; transition-delay: .25s; }
.mani__def { position: relative; background: var(--creme); color: #0b0b0b; padding: clamp(80px, 14vh, 160px) var(--gutter); display: grid; justify-items: center; text-align: center; gap: 18px; }
.mani__def .marca-grande { font-family: var(--titulo); font-stretch: 62%; font-weight: 800; font-size: clamp(5rem, 18vw, 16rem); line-height: .82; letter-spacing: -.01em; }
.mani__def .marca-grande .ponto { color: var(--rec); }
.mani__def .t-serifa { font-size: clamp(1.4rem, 2.6vw, 2.4rem); max-width: 30ch; }
.mani__def .rotulo { color: rgba(11,11,11,.5); }

/* ---------- 4 · Pergunta sobre letras gigantes com imagem ---------- */
.pergunta { position: relative; height: 100svh; min-height: 520px; display: grid; place-items: center; overflow: hidden; background: #000; }
.pergunta__letras { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--titulo); font-stretch: 62%; font-weight: 900; font-size: 38vw; line-height: .8; letter-spacing: -.02em; color: transparent; background-image: var(--img); background-size: cover; background-position: center calc(50% + var(--p, 0) * 20%); -webkit-background-clip: text; background-clip: text; filter: grayscale(1) contrast(1.1); opacity: .9; }
.pergunta__frase { position: relative; z-index: 2; text-align: center; font-size: clamp(2.2rem, 5.6vw, 5.4rem); color: #fff; max-width: 16ch; text-shadow: 0 10px 40px rgba(0,0,0,.6); }
.pergunta__frase .laranja { font-style: normal; }

/* ---------- 5 · Trabalhos em sequência (preso) ---------- */
.casos { position: relative; height: calc(var(--n, 6) * 60svh + 100svh); background: #0b0b0b; color: var(--creme); }
.casos__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.casos__topo { position: absolute; z-index: 3; left: var(--gutter); right: calc(var(--gutter) + 40px); top: calc(var(--topo-h) + 16px); display: flex; justify-content: space-between; }
.caso { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 72px); align-items: center; padding: calc(var(--topo-h) + 40px) calc(var(--gutter) + 50px) 40px var(--gutter); opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
.caso.on { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
.caso__texto { display: grid; gap: 18px; align-content: center; }
.caso__tags { color: var(--rec); }
.caso__titulo { font-size: clamp(2.6rem, 5vw, 5rem); }
.caso__linha { font-family: var(--serifa); font-size: clamp(1.05rem, 1.25vw, 1.25rem); color: rgba(243,240,234,.75); max-width: 38ch; line-height: 1.4; }
.caso__media { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #000; transform: translateY(40px) scale(.96); transition: transform 1.1s var(--expo); }
.caso.on .caso__media { transform: none; }
.caso__media img, .caso__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.caso__media--vertical { aspect-ratio: 9 / 13; max-height: 72svh; justify-self: center; width: auto; height: 72svh; }
.caso__num { position: absolute; right: calc(var(--gutter) + 40px); bottom: -2vw; font-family: var(--titulo); font-stretch: 62%; font-weight: 800; font-size: 22vw; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(243,240,234,.12); pointer-events: none; }
.casos__indice { position: absolute; z-index: 3; right: 18px; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; justify-items: end; }
.casos__indice button { font-family: var(--titulo); font-stretch: 75%; font-size: .62rem; letter-spacing: .2em; color: rgba(243,240,234,.35); min-height: 22px; padding: 0 2px; }
.casos__indice button[aria-current="true"] { color: var(--creme); }
.casos__indice button[aria-current="true"]::before { content: "— "; color: var(--rec); }
.casos__fim { position: absolute; z-index: 3; left: var(--gutter); bottom: 22px; }

/* ---------- 6 · Muro de nomes ---------- */
.muro { background: #0b0b0b; color: var(--creme); padding: clamp(40px, 8vh, 100px) 0; overflow: hidden; display: grid; gap: 4px; }
.muro__fita { display: flex; gap: 40px; width: max-content; font-size: clamp(2rem, 4.6vw, 4.4rem); white-space: nowrap; animation: fita 50s linear infinite; }
.muro__fita:nth-child(2) { animation-direction: reverse; animation-duration: 64s; }
.muro__fita span { display: inline-flex; align-items: center; gap: 40px; }
.muro__fita span::after { content: "•"; color: var(--rec); font-size: .5em; }
.muro__fita a:hover { color: var(--rec); }
.muro__rodape { padding: 30px var(--gutter) 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }

/* ---------- 7 · Serviços com revelação ---------- */
.servs { background: #0b0b0b; color: var(--creme); padding: clamp(80px, 12vh, 140px) var(--gutter); position: relative; }
.servs__cab { display: grid; gap: 14px; margin-bottom: 40px; max-width: 900px; }
.servs__cab .t-serifa { font-size: clamp(1.8rem, 3.4vw, 3rem); }
.serv { display: grid; grid-template-columns: 3em 1fr; align-items: center; border-top: 1px solid rgba(243,240,234,.12); padding: 10px 0; position: relative; }
.serv:last-of-type { border-bottom: 1px solid rgba(243,240,234,.12); }
.serv__n { color: var(--rec); font-family: var(--titulo); font-stretch: 75%; font-size: .7rem; letter-spacing: .2em; }
.serv__nome { font-size: clamp(2.6rem, 7vw, 7.2rem); color: transparent; -webkit-text-stroke: 1px rgba(243,240,234,.55); transition: color .45s var(--ease), -webkit-text-stroke-color .45s; }
.serv:hover .serv__nome, .serv:focus-within .serv__nome { color: var(--creme); -webkit-text-stroke-color: var(--creme); }
.serv__mais { grid-column: 2; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 24px; align-items: start; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .7s var(--expo), opacity .5s, padding .7s var(--expo); }
.serv:hover .serv__mais, .serv:focus-within .serv__mais { max-height: 240px; opacity: 1; padding: 6px 0 18px; }
.serv__mais p { font-family: var(--serifa); font-size: 1.2rem; color: rgba(243,240,234,.8); line-height: 1.4; }
.serv__mais ul { display: flex; flex-wrap: wrap; gap: 6px; align-content: start; }
.serv__mais li { font-family: var(--titulo); font-stretch: 75%; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; border: 1px solid rgba(243,240,234,.2); border-radius: 999px; padding: 6px 10px; }
.serv__img { position: fixed; z-index: 50; left: 0; top: 0; width: 300px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .3s, transform .5s var(--expo); }
.serv__img.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.serv__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .serv__mais { max-height: none; opacity: 1; grid-template-columns: 1fr; padding: 4px 0 16px; } .serv__nome { color: var(--creme); -webkit-text-stroke: 0; } .serv__img { display: none; } }

/* ---------- 8 · Clientes em lista ---------- */
.clientes { background: var(--creme); color: #0b0b0b; padding: clamp(80px, 14vh, 160px) var(--gutter); text-align: center; display: grid; gap: 30px; justify-items: center; }
.clientes__lista { display: grid; gap: 2px; font-family: var(--serifa); font-size: clamp(1.4rem, 2.6vw, 2.4rem); line-height: 1.15; mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); max-height: 52svh; overflow: hidden; }
.clientes__rolo { display: grid; gap: 4px; animation: sobe 26s linear infinite; }
@keyframes sobe { to { transform: translateY(-50%); } }
.clientes__fim { font-family: var(--serifa); font-style: italic; font-size: clamp(1.8rem, 3.4vw, 3rem); }
.clientes__fim mark { background: var(--rec); color: #fff; padding: 0 .15em; font-style: italic; }

/* ---------- 9 · O Provador (CTA) ---------- */
.provador { position: relative; height: 92svh; min-height: 520px; overflow: hidden; background: var(--creme); }
.provador video, .provador > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.provador__texto { position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; max-width: 360px; color: #0b0b0b; }
.provador__texto .rotulo { color: var(--rec); }
.provador__texto .t-caps { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.provador__texto .t-serifa { font-size: clamp(1.2rem, 1.8vw, 1.7rem); }
.provador__cta { position: absolute; z-index: 2; right: var(--gutter); top: 50%; transform: translateY(-50%); }
.provador__cta .ir { color: #0b0b0b; background: rgba(242,237,228,.85); padding: 6px 6px 6px 18px; border-radius: 999px; backdrop-filter: blur(6px); }
.provador__cta .ir i { border-color: rgba(11,11,11,.25); }
@media (max-width: 899px) { .provador__texto { top: auto; bottom: calc(var(--barra-h) + 90px); transform: none; } .provador__cta { top: auto; bottom: calc(var(--barra-h) + 30px); transform: none; left: var(--gutter); right: auto; } }

/* ---------- 10 · Diário ---------- */
.diario { background: #0b0b0b; color: var(--creme); padding: clamp(70px, 10vh, 120px) var(--gutter); }
.diario__cab { display: flex; justify-content: space-between; align-items: end; margin-bottom: 30px; gap: 20px; flex-wrap: wrap; }
.diario__cab .t-caps { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.diario__grelha { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.artigo { display: grid; gap: 12px; }
.artigo figure { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
.artigo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--expo); }
.artigo:hover img { transform: scale(1.05); }
.artigo .t-serifa { font-size: 1.5rem; font-style: normal; line-height: 1.15; }

/* ---------- Rodapé que se revela ---------- */
.revela-rodape { position: relative; z-index: 0; }
.rodape-v3 { position: sticky; bottom: 0; z-index: -1; background: var(--creme); color: #0b0b0b; min-height: 100svh; display: grid; grid-template-rows: 1fr auto auto; padding: calc(var(--topo-h) + 30px) var(--gutter) calc(24px + var(--barra-h)); gap: 30px; }
.rodape-v3__topo { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-content: start; }
.rodape-v3__carta .t-serifa { font-size: clamp(2rem, 3.6vw, 3.4rem); font-style: normal; }
.rodape-v3__carta .t-serifa em { font-style: italic; }
.rodape-v3__form { display: flex; gap: 10px; margin-top: 20px; max-width: 460px; border-bottom: 1px solid rgba(11,11,11,.3); }
.rodape-v3__form input { flex: 1; background: none; border: 0; font: inherit; font-family: var(--serifa); font-style: italic; font-size: 1.2rem; padding: 10px 0; color: #0b0b0b; }
.rodape-v3__form input:focus { outline: none; }
.rodape-v3__contactos { display: grid; gap: 8px; justify-items: end; text-align: right; }
.rodape-v3__contactos .t-caps { font-size: 1.6rem; }
.rodape-v3__contactos a:hover { color: var(--rec); }
.rodape-v3__marca { font-family: var(--titulo); font-stretch: 62%; font-weight: 800; font-size: 25vw; line-height: .78; text-align: center; letter-spacing: -.01em; }
.rodape-v3__marca span { color: var(--rec); }
.rodape-v3__base { display: flex; justify-content: space-between; gap: 12px 30px; flex-wrap: wrap; border-top: 1px solid rgba(11,11,11,.15); padding-top: 14px; font-family: var(--titulo); font-stretch: 75%; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; }
.rodape-v3__base nav { display: flex; gap: 18px; flex-wrap: wrap; }
.rodape-v3__base a:hover { color: var(--rec); }
@media (max-width: 899px) { .rodape-v3__topo { grid-template-columns: 1fr; } .rodape-v3__contactos { justify-items: start; text-align: left; } .caso { grid-template-columns: 1fr; padding-top: calc(var(--topo-h) + 70px); align-content: start; } .caso__media--vertical { height: 44svh; } .casos__indice { display: none; } .reel__cartao { width: calc(70vw + var(--p, 0) * 30vw); } }
@media (prefers-reduced-motion: reduce) { .reel, .mani, .casos { height: auto; } .reel__pin, .mani__pin, .casos__pin { position: relative; height: auto; } }
@media (prefers-reduced-motion: reduce) {
  .mani__linha { position: relative; top: auto; transform: none; opacity: 1; padding: 40px var(--gutter); }
  .mani__linha .mani__caps, .mani__linha .mani__serifa { opacity: 1; transform: none; }
  .caso { position: relative; opacity: 1; visibility: visible; }
}
/* Acertos */
.topo.topo--esconde { transform: none; }
.serv__img { left: -999px; top: -999px; }
.provador__texto { top: calc(var(--topo-h) + 28px); transform: none; max-width: 520px; }
.provador__texto .t-caps { font-size: clamp(2.2rem, 3.8vw, 3.8rem); }
.provador__cta { top: auto; bottom: 40px; transform: none; }
@media (max-width: 899px) { .provador__texto { top: calc(var(--topo-h) + 20px); bottom: auto; } .provador > img { object-position: 50% 70%; } }
@media (max-width: 899px) { .casos__topo p:last-child { display: none; } .servs__cab .t-serifa { font-size: 1.6rem; } }

/* ==========================================================================
   v3b · abertura com o logótipo a encher, tipografia cinética, zoom pelas letras
   ========================================================================== */
:root { --mao: 'Permanent Marker', 'Marker Felt', cursive; }
.t-mao { font-family: var(--mao); font-weight: 400; letter-spacing: .01em; }

/* Abertura: logótipo em contorno que enche de baixo para cima */
.cortina { display: grid; place-items: center; }
.cortina__logo { position: relative; font-family: var(--titulo); font-stretch: 62%; font-weight: 800; font-size: clamp(5rem, 19vw, 17rem); line-height: .85; letter-spacing: -.01em; }
.cortina__base { color: transparent; -webkit-text-stroke: 1.5px rgba(242,237,228,.32); }
.cortina__cheio { position: absolute; inset: 0; color: var(--creme); clip-path: inset(calc((1 - var(--carga, 0)) * 100%) 0 0 0); }
.cortina__cheio b { color: var(--rec); font-weight: inherit; }
.cortina__pct { position: absolute; left: 50%; bottom: 8vh; transform: translateX(-50%); font-family: var(--titulo); font-stretch: 75%; font-size: .72rem; letter-spacing: .4em; color: rgba(242,237,228,.5); font-variant-numeric: tabular-nums; }
.cortina__marca { display: none; }

/* Tipografia cinética (manifesto e «como») */
.cine { position: relative; height: calc(var(--n, 4) * var(--passo, 85svh) + 100svh); background: #0b0806; color: var(--creme); }
.cine__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.cine__fundo { position: absolute; inset: -10%; background:
  radial-gradient(40% 50% at 30% 30%, rgba(196,112,40,.22), transparent 70%),
  radial-gradient(35% 45% at 75% 65%, rgba(255,74,46,.12), transparent 70%),
  radial-gradient(60% 60% at 50% 120%, rgba(120,60,20,.25), transparent 70%);
  filter: blur(20px); transform: translate3d(calc(var(--p, 0) * -4%), calc(var(--p, 0) * 3%), 0); }
.cena { position: absolute; inset: 0; display: grid; justify-items: center; align-content: center; gap: clamp(8px, 1.6vh, 18px); padding: calc(var(--topo-h) + 10px) var(--gutter) 70px; text-align: center; pointer-events: none; visibility: hidden; }
.cena.viva { visibility: visible; }
.cena__peq { font-family: var(--titulo); font-stretch: 100%; font-weight: 500; font-size: clamp(1rem, 1.5vw, 1.35rem); letter-spacing: .01em; color: rgba(242,237,228,.85); text-transform: lowercase; }
.cena__grande { font-family: var(--titulo); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(3.4rem, 11vw, 11rem); line-height: .86; letter-spacing: -.01em; will-change: transform, filter, opacity; }
.cena--media .cena__grande { font-size: clamp(2.8rem, 7.4vw, 7.6rem); }
.cena__grande.laranja { color: var(--rec); }
.cena__mao { font-family: var(--mao); color: var(--rec); font-size: clamp(1.6rem, 3.2vw, 3rem); transform: rotate(-3deg); clip-path: inset(-20% calc(100% - var(--m, 0) * 100%) -20% -5%); }
.cena__media { width: min(62vw, 980px); aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(242,237,228,.08); will-change: transform, opacity; }
.cena__media.vertical { width: auto; height: 46svh; aspect-ratio: 9 / 16; }
.cena__media img, .cena__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cine__marcas { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 6px; }
.cine__marcas i { width: 18px; height: 2px; background: rgba(242,237,228,.18); transition: background-color .3s, width .4s var(--expo); }
.cine__marcas i.on { background: var(--rec); width: 34px; }
.cine__rotulo { position: absolute; left: var(--gutter); top: calc(var(--topo-h) + 16px); }
@media (max-width: 899px) { .cena__media { width: 88vw; } .cena__media.vertical { height: 40svh; } }
@media (prefers-reduced-motion: reduce) {
  .cine { height: auto; } .cine__pin { position: relative; height: auto; }
  .cena { position: relative; visibility: visible; padding: 60px var(--gutter); }
  .cena__mao { clip-path: none; }
}

/* Separadores: a câmara entra pelas letras cheias de vídeo */
.zoom { position: relative; height: 240svh; background: #000; }
.zoom__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.zoom__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zoom__mascara { position: absolute; inset: 0; display: grid; place-items: center; background: #000; color: #fff; mix-blend-mode: multiply; opacity: var(--mo, 1); }
.zoom__mascara span { font-family: var(--titulo); font-stretch: 62%; font-weight: 900; font-size: 34vw; line-height: .8; margin-top: -8svh; letter-spacing: -.02em; transform: scale(var(--z, 1)); transform-origin: var(--orig, 50% 55%); will-change: transform; }
.zoom__frase { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 11svh; text-align: center; font-family: var(--serifa); font-weight: 400; font-size: clamp(1.9rem, 4vw, 4rem); line-height: 1.04; color: #fff; text-shadow: 0 10px 50px rgba(0,0,0,.7); }
.zoom__frase .pal { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.3em); transition: opacity .5s var(--ease), filter .6s var(--ease), transform .8s var(--expo); }
.zoom__frase .pal.on { opacity: 1; filter: none; transform: none; }
.zoom__frase .laranja { font-family: var(--mao); }
.zoom__rotulo { position: absolute; z-index: 2; left: var(--gutter); top: calc(var(--topo-h) + 16px); color: rgba(255,255,255,.6); }

/* Serviços: o nome enche-se com o scroll e as linhas entram em escada */
.serv__nome { background-image: linear-gradient(90deg, var(--creme) calc(var(--f, 0) * 100%), transparent calc(var(--f, 0) * 100%)); -webkit-background-clip: text; background-clip: text; }
.serv { opacity: 0; transform: translateX(60px); transition: opacity .8s var(--ease), transform 1.1s var(--expo); transition-delay: calc(var(--k, 0) * 90ms); }
.serv.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .serv { opacity: 1; transform: none; } }
/* As linhas dos serviços entram da direita: não podem alargar a página */
.servs { overflow-x: clip; }
@media (max-width: 899px) { .zoom__mascara span { font-size: 46vw; } .zoom__frase { bottom: 16svh; } }

/* ==========================================================================
   Régie: multicâmara em que o scroll faz os cortes (ideia da apresentação Eventos)
   ========================================================================== */
.regie { position: relative; height: 290svh; background: #070707; color: var(--creme); }
.regie__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 14px 22px; padding: calc(var(--topo-h) + 18px) var(--gutter) 22px; }
.regie__cab { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.regie__titulo { font-family: var(--titulo); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, min(4.2vw, 7.5svh), 4.8rem); line-height: .86; }
.regie__titulo span { display: block; font-family: var(--serifa); font-style: italic; text-transform: none; font-weight: 400; font-size: .62em; color: rgba(242,237,228,.75); }
.regie__lead { max-width: 34ch; font-size: .95rem; line-height: 1.45; color: rgba(242,237,228,.7); }
.mon { position: relative; background: #000; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(242,237,228,.1); }
.mon video, .mon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mon__rot { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.mon__rot b { font-weight: 500; padding: 3px 7px; border-radius: 3px; background: rgba(0,0,0,.6); }
.regie__pgm { align-self: center; justify-self: center; aspect-ratio: 16 / 9; height: auto; width: min(100%, calc((100svh - var(--topo-h) - 250px) * 16 / 9)); }
.regie__pgm .tally { background: var(--rec); color: #fff; }
.regie__pgm .tc { position: absolute; right: 10px; top: 10px; font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 3px; background: rgba(0,0,0,.65); font-variant-numeric: tabular-nums; }
.regie__pgm .cam { position: absolute; left: 10px; bottom: 10px; font-family: var(--titulo); font-stretch: 75%; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; background: rgba(0,0,0,.6); padding: 6px 10px; border-radius: 4px; }
.regie__pgm .flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.regie__pgm .flash.on { animation: regie-flash .28s ease-out; }
@keyframes regie-flash { from { opacity: .22; } to { opacity: 0; } }
.regie__multi { align-self: center; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.regie__multi button { all: unset; cursor: pointer; position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #000; box-shadow: 0 0 0 2px transparent; transition: box-shadow .2s, filter .3s; filter: saturate(.55) brightness(.7); }
.regie__multi button img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 4s linear; }
.regie__multi button:hover img, .regie__multi button.no-ar img { transform: scale(1.12); }
.regie__multi button span { position: absolute; left: 6px; bottom: 5px; right: 6px; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.regie__multi button.no-ar { box-shadow: 0 0 0 2px var(--rec); filter: none; }
.regie__multi button.no-ar::after { content: 'PGM'; position: absolute; right: 6px; top: 5px; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; padding: 2px 5px; border-radius: 2px; background: var(--rec); color: #fff; }
.regie__multi button.previa { box-shadow: 0 0 0 2px rgba(242,237,228,.7); filter: saturate(.8) brightness(.9); }
.regie__multi button.previa::after { content: 'PVW'; position: absolute; right: 6px; top: 5px; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; padding: 2px 5px; border-radius: 2px; background: var(--creme); color: #0b0b0b; }
.regie__multi button:focus-visible { outline: 2px solid var(--creme); outline-offset: 2px; }
.regie__pe { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; border-top: 1px solid rgba(242,237,228,.12); padding-top: 12px; }
.regie__nums { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.regie__nums div { display: flex; align-items: baseline; gap: 8px; }
.regie__nums b { font-family: var(--titulo); font-stretch: 62%; font-weight: 900; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1; }
.regie__nums span { font-size: .78rem; color: rgba(242,237,228,.6); max-width: 16ch; line-height: 1.2; }
.regie__saidas { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(242,237,228,.55); }
.regie__saidas i { font-style: normal; padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(242,237,228,.2); color: var(--creme); }
.regie__saidas i::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--rec); margin-right: 6px; vertical-align: 1px; animation: regie-pisca 1.6s infinite; }
@keyframes regie-pisca { 50% { opacity: .25; } }
.regie__dica { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(242,237,228,.45); }
@media (max-width: 899px) {
  .regie { height: 280svh; }
  .regie__pin { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; align-content: center; gap: 12px; }
  .regie__lead, .regie__dica { display: none; }
  .regie__multi { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .regie__multi button span { display: none; }
  .regie__nums { gap: 6px 18px; } .regie__nums span { font-size: .7rem; }
  .regie__saidas { display: none; }
}
@media (prefers-reduced-motion: reduce) { .regie { height: auto; } .regie__pin { position: relative; height: auto; } }

/* Serviços sem imagem a seguir o rato (confundia). O enchimento cobre também acentos e cedilhas,
   que ficam fora da caixa da linha com line-height curto */
.serv__img { display: none !important; }
.serv__nome { display: inline-block; padding: .16em .04em .12em 0; margin: -.16em -.04em -.12em 0; }
/* Cabeçalho: véu escuro quando a página já rolou, para o texto não passar por baixo do logótipo */
.topo.topo--rolou::before { background: linear-gradient(to bottom, rgba(7,7,7,.92) 0%, rgba(7,7,7,.6) 55%, rgba(7,7,7,0)); opacity: 1; }
.topo.topo--rolou.sobre-claro::before { background: linear-gradient(to bottom, rgba(242,237,228,.92) 0%, rgba(242,237,228,.6) 55%, rgba(242,237,228,0)); }

/* Régie com o plano de câmaras 3D (da apresentação Eventos) por cima do multiview */
.regie__lado { align-self: stretch; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.regie__plano { position: relative; flex: 1; min-height: 0; border-radius: 6px; overflow: hidden; background: radial-gradient(80% 70% at 50% 60%, #15130f, #070707); box-shadow: 0 0 0 1px rgba(242,237,228,.1); }
.regie__plano canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; }
.regie__plano canvas:active { cursor: grabbing; }
.plano__hud { position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(242,237,228,.7); pointer-events: none; }
.plano__rec { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); animation: regie-pisca 1.6s infinite; }
.plano__desc { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; font-size: .8rem; line-height: 1.35; color: rgba(242,237,228,.8); pointer-events: none; text-shadow: 0 1px 8px #000; }
.plano__cam { all: unset; position: absolute; z-index: 3; transform: translate(-50%, -120%); cursor: pointer; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; padding: 2px 5px; border-radius: 3px; background: rgba(7,7,7,.8); color: var(--creme); box-shadow: 0 0 0 1px rgba(255,74,46,.6); transition: background-color .2s, color .2s; }
.plano__cam.on, .plano__cam:hover { background: var(--rec); color: #fff; }
.plano__cam:focus-visible { outline: 2px solid var(--creme); outline-offset: 2px; }
.regie__plano.sem-3d::after { content: 'O modelo 3D não carregou.'; position: absolute; inset: 0; display: grid; place-items: center; font-size: .8rem; color: rgba(242,237,228,.5); }
.regie__lado .regie__multi { align-self: auto; grid-template-columns: repeat(4, 1fr); gap: 6px; }
@media (max-width: 899px) {
  .regie__lado { gap: 6px; }
  .regie__plano { flex: none; aspect-ratio: 16 / 10; }
  .plano__desc { display: none; }
}

/* Telemóvel: na régie escolhe-se a câmara no plano 3D; o multiview sai para caber no ecrã */
@media (max-width: 899px) { .regie__lado .regie__multi { display: none; } .regie__plano { aspect-ratio: 4 / 3; } }

/* Clientes em logótipos: duas filas a deslizar em sentidos opostos (os PNG são brancos; aqui ficam a preto) */
.logos-v3 { justify-self: stretch; overflow: hidden; margin-inline: calc(var(--gutter) * -1); display: grid; gap: clamp(26px, 4vw, 48px); padding-block: 10px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos-v3__fila { display: flex; width: max-content; }
.logos-v3__rolo { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(48px, 7vw, 110px); padding-right: clamp(48px, 7vw, 110px); animation: logos-anda 38s linear infinite; }
.logos-v3__fila--inversa .logos-v3__rolo { animation-direction: reverse; animation-duration: 32s; }
.logos-v3:hover .logos-v3__rolo { animation-play-state: paused; }
@keyframes logos-anda { to { transform: translateX(-100%); } }
.cli { flex: none; display: grid; place-items: center; height: clamp(34px, 4.2vw, 58px); }
.cli img { height: 70%; width: auto; max-width: clamp(110px, 12vw, 180px); object-fit: contain; filter: brightness(0); opacity: .82; transition: opacity .3s; }
.cli--alto img { height: 100%; }
.cli:hover img { opacity: 1; }
.cli--nome { font-family: var(--titulo); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2.4rem); letter-spacing: .01em; color: #0b0b0b; opacity: .82; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .logos-v3 { width: auto; margin: 0; mask-image: none; -webkit-mask-image: none; }
  .logos-v3__fila { width: auto; justify-content: center; }
  .logos-v3__rolo { animation: none; flex-wrap: wrap; justify-content: center; padding: 0; gap: 28px 48px; }
  .logos-v3__rolo[aria-hidden] { display: none; }
}
/* Alturas fixas: em percentagem não pegam dentro da grelha e os logótipos altos cresciam */
.cli { display: flex; align-items: center; height: clamp(40px, 4.6vw, 64px); }
.cli img { height: clamp(24px, 2.6vw, 38px); max-width: clamp(110px, 12vw, 170px); }
.cli--alto img { height: clamp(36px, 3.9vw, 56px); }
.cli--nome { font-size: clamp(1.15rem, 1.9vw, 1.8rem); }
/* SIC: o logótipo é um render 3D; a preto chapado vira mancha. Usa-se a versão em tons invertidos */
.cli--tons img { filter: none; opacity: .9; height: clamp(28px, 3vw, 44px); }
/* Católica: selo e três linhas de texto; precisa de mais altura para se ler */
.cli--largo img { height: clamp(40px, 4.2vw, 60px); max-width: clamp(150px, 15vw, 210px); }
/* Católica ao mesmo peso dos outros (estava maior) */
.cli--largo img { height: clamp(28px, 3vw, 42px); max-width: clamp(110px, 11vw, 150px); }
.cli img[src*="mycamp"] { height: clamp(20px, 2.1vw, 30px); }
.cli img[src*="continente"] { height: clamp(32px, 3.5vw, 50px); }

/* ==========================================================================
   Nota sobre a IA (subtil) e destaque da produção híbrida (Aurea)
   ========================================================================== */
.nota-ia { background: #0b0806; color: var(--creme); padding: clamp(60px, 10vh, 110px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 20px 40px; border-top: 1px solid rgba(242,237,228,.08); }
.nota-ia .rotulo { color: rgba(242,237,228,.5); }
.nota-ia__corpo { max-width: 62ch; display: grid; gap: 16px; justify-items: start; }
.nota-ia h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1; font-weight: 400; }
.nota-ia p:not(.rotulo) { color: rgba(242,237,228,.72); font-size: 1.02rem; line-height: 1.55; }
@media (max-width: 899px) { .nota-ia { grid-template-columns: 1fr; } }

.hib { background: var(--creme); color: #0b0b0b; padding: clamp(80px, 13vh, 150px) 0 0; }
.hib__cab { padding: 0 var(--gutter); display: grid; gap: 18px; max-width: 1100px; }
.hib__cab .rotulo { color: rgba(11,11,11,.5); }
.hib__titulo { font-family: var(--titulo); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.8rem, 7vw, 7.4rem); line-height: .86; }
.hib__titulo span { display: block; font-family: var(--serifa); font-style: italic; font-weight: 400; text-transform: none; font-size: .62em; color: var(--rec); line-height: 1.05; }
.hib__lead { max-width: 56ch; font-size: 1.05rem; line-height: 1.55; color: rgba(11,11,11,.72); }

.antes-depois { position: relative; margin: clamp(40px, 6vh, 70px) var(--gutter) 0; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; user-select: none; touch-action: pan-y; }
.antes-depois video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.antes-depois__estudio { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.antes-depois__controlo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.antes-depois__pega { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--x); width: 2px; background: var(--creme); transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 20px rgba(0,0,0,.4); }
.antes-depois__pega i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--creme); color: #0b0b0b; display: grid; place-items: center; font-style: normal; font-size: 18px; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.antes-depois__controlo:focus-visible + .antes-depois__pega i { outline: 2px solid var(--rec); outline-offset: 3px; }
.antes-depois__rot { position: absolute; z-index: 2; top: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; background: rgba(11,11,11,.6); color: var(--creme); pointer-events: none; }
.antes-depois__rot--esq { left: 14px; } .antes-depois__rot--dir { right: 14px; }

.camadas { position: relative; height: 190svh; margin-top: clamp(60px, 9vh, 110px); background: #0b0806; color: var(--creme); }
.camadas__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; perspective: 1600px; perspective-origin: 50% 40%; }
.camadas__rot { position: absolute; left: var(--gutter); top: calc(var(--topo-h) + 16px); color: rgba(242,237,228,.5); }
.camadas__palco { position: absolute; inset: 0; transform-style: preserve-3d; }
.camada { position: absolute; left: 50%; top: 50%; width: min(58vw, 860px); aspect-ratio: 16 / 9; margin: 0; transform-style: preserve-3d; will-change: transform, opacity; }
.camada video { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; box-shadow: 0 0 0 1px rgba(242,237,228,.18), 0 30px 80px rgba(0,0,0,.55); background: #000; }
.camada figcaption { position: absolute; left: calc(100% + 18px); top: 0; width: 220px; display: grid; gap: 4px; opacity: var(--leg, 0); transition: opacity .3s; }
.camada figcaption b { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .14em; color: var(--rec); }
.camada figcaption span { font-family: var(--titulo); font-stretch: 75%; font-weight: 700; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; }
.camada figcaption small { font-size: .82rem; line-height: 1.35; color: rgba(242,237,228,.65); }
@media (max-width: 899px) {
  .camadas { height: 200svh; }
  .camada { width: 82vw; }
  .camada figcaption { left: 0; top: calc(100% + 8px); width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .camadas { height: auto; } .camadas__pin { position: relative; height: auto; perspective: none; padding: 80px var(--gutter); }
  .camadas__palco { position: relative; display: grid; gap: 50px; }
  .camada { position: relative; left: auto; top: auto; width: 100%; } .camada figcaption { position: relative; left: 0; width: auto; opacity: 1; margin-top: 8px; }
}

/* Camadas em vista isométrica, com a legenda à esquerda */
.camada figcaption { display: none; }
.camadas__legenda { position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; width: min(28vw, 320px); opacity: 0; }
.camadas__legenda li { display: grid; gap: 3px; opacity: .38; transition: opacity .35s, transform .5s var(--expo); }
.camadas__legenda li.on { opacity: 1; transform: translateX(10px); }
.camadas__legenda b { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .14em; color: var(--rec); }
.camadas__legenda span { font-family: var(--titulo); font-stretch: 75%; font-weight: 700; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .02em; }
.camadas__legenda small { font-size: .84rem; line-height: 1.35; color: rgba(242,237,228,.65); }
.camada { width: min(46vw, 720px); }
@media (max-width: 899px) {
  .camada { width: 74vw; }
  .camadas__legenda { top: auto; bottom: 70px; transform: none; width: auto; right: var(--gutter); gap: 0; }
  .camadas__legenda li { display: none; } .camadas__legenda li.on { display: grid; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .camadas__legenda { position: relative; opacity: 1; transform: none; left: 0; margin-bottom: 30px; } .camadas__legenda li { opacity: 1; } }
.camada { width: min(40vw, 640px); }
@media (max-width: 899px) { .camada { width: 70vw; } }

/* Camadas com imagem parada; a escolhida sai da pilha */
.camada { cursor: pointer; }
.camada img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; box-shadow: 0 0 0 1px rgba(242,237,228,.18), 0 30px 80px rgba(0,0,0,.55); background: #000; }
.camada.camada--foco img { box-shadow: 0 0 0 2px var(--rec), 0 40px 100px rgba(0,0,0,.6); }
.camadas__legenda button { all: unset; cursor: pointer; display: grid; gap: 3px; }
.camadas__legenda button:focus-visible { outline: 2px solid var(--rec); outline-offset: 4px; }

/* Provador em vídeo */
.provador__som { all: unset; cursor: pointer; position: absolute; z-index: 2; right: var(--gutter); top: calc(var(--topo-h) + 28px); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #0b0b0b; background: rgba(242,237,228,.85); padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(6px); }
.provador__som:hover, .provador__som[aria-pressed="true"] { background: var(--rec); color: #fff; }
.provador__som:focus-visible { outline: 2px solid var(--rec); outline-offset: 3px; }
@media (max-width: 899px) { .provador__video { object-position: 50% 50%; } }
.provador__ficha { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(11,11,11,.6); border-top: 1px solid rgba(11,11,11,.2); padding-top: 8px; margin-top: 4px; }
.provador__ficha::first-letter { color: var(--rec); }
/* Texto do Provador legível por cima do vídeo */
.provador__texto { background: rgba(242,237,228,.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 16px 20px 14px; border-radius: 10px; max-width: 460px; }
@media (max-width: 899px) { .provador__texto { right: var(--gutter); padding: 12px 14px; } .provador__som { top: auto; bottom: calc(var(--barra-h) + 96px); } }

/* Diário: fotogramas nossos, a preto e branco quente, que ganham cor ao passar por cima */
.artigo { gap: 14px; align-content: start; }
.artigo figure { position: relative; margin: 0; aspect-ratio: 4 / 5; background: #000; }
.artigo img { filter: grayscale(1) contrast(1.05) brightness(.82) sepia(.18); transition: transform 1.2s var(--expo), filter .6s var(--ease); }
.artigo:hover img, .artigo:focus-visible img { filter: none; transform: scale(1.04); }
.artigo figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,.55), transparent 35%, transparent 70%, rgba(11,11,11,.5)); pointer-events: none; }
.artigo__n { position: absolute; z-index: 1; left: 14px; top: 12px; font-family: var(--titulo); font-stretch: 62%; font-weight: 900; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; color: var(--creme); }
.artigo__cat { position: absolute; z-index: 1; right: 12px; top: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--rec); color: #fff; }
.artigo__titulo { font-size: clamp(1.35rem, 1.9vw, 1.7rem); font-style: normal; line-height: 1.15; }
.artigo__ler { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(242,237,228,.55); transition: color .3s; }
.artigo__ler i { font-style: normal; display: inline-block; transition: transform .4s var(--expo); }
.artigo:hover .artigo__ler { color: var(--rec); } .artigo:hover .artigo__ler i { transform: translateX(6px); }
.diario .artigo > .rotulo { display: none; }
@media (max-width: 899px) { .artigo figure { aspect-ratio: 4 / 3; } }

/* «Como»: a câmara RED monta-se com o scroll ao lado da palavra */
.como-red { position: relative; height: 150svh; background: #000; color: var(--creme); }
.como-red__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); align-items: center; padding: 0 0 0 var(--gutter); }
.como-red__rot { position: absolute; left: var(--gutter); top: calc(var(--topo-h) + 16px); color: rgba(242,237,228,.5); }
.como-red__texto { position: relative; z-index: 2; display: grid; gap: clamp(14px, 2vh, 26px); }
.como-red__palavra { font-family: var(--titulo); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(6rem, 17vw, 19rem); line-height: .8; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(242,237,228,.4);
  background-image: linear-gradient(0deg, var(--creme) calc(var(--f, 0) * 100%), transparent calc(var(--f, 0) * 100%)); -webkit-background-clip: text; background-clip: text; padding-top: .06em; }
.como-red__palavra span { -webkit-text-stroke-color: rgba(255,74,46,.6); background-image: linear-gradient(0deg, var(--rec) calc(var(--f, 0) * 100%), transparent calc(var(--f, 0) * 100%)); -webkit-background-clip: text; background-clip: text; }
.como-red__frase { font-family: var(--serifa); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.8rem); line-height: 1.1; max-width: 16ch; }
.como-red__frase .pal { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.3em); transition: opacity .5s var(--ease), filter .6s var(--ease), transform .8s var(--expo); }
.como-red__frase .pal.on { opacity: 1; filter: none; transform: none; }
.como-red__frase .laranja { font-family: var(--mao); color: var(--rec); }
.como-red__camara { position: relative; height: 100svh; display: grid; place-items: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 100%); mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 100%); }
.como-red__camara video { width: 118%; max-width: none; height: auto; display: block; }
@media (max-width: 899px) {
  .como-red { height: 170svh; }
  .como-red__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: center; padding: calc(var(--topo-h) + 50px) var(--gutter) 0; }
  .como-red__camara { height: auto; -webkit-mask-image: none; mask-image: none; }
  .como-red__camara video { width: 130%; margin-left: -15%; }
}
@media (prefers-reduced-motion: reduce) { .como-red { height: auto; } .como-red__pin { position: relative; height: auto; padding-block: 80px; } .como-red__frase .pal { opacity: 1; filter: none; transform: none; } .como-red__palavra { color: var(--creme); } }

/* «Como» sobre creme: palavra gigante atrás, câmara recortada ao centro, pergunta por baixo */
.como-red { background: var(--creme); color: #0b0b0b; }
.como-red__pin { display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr auto; place-items: center; padding: calc(var(--topo-h) + 20px) var(--gutter) clamp(30px, 6vh, 60px); }
.como-red__rot { color: rgba(11,11,11,.5); }
.como-red__palavra { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 0; white-space: nowrap; margin: 0;
  font-size: clamp(9rem, 34vw, 34rem); -webkit-text-stroke: 2px rgba(11,11,11,.18);
  background-image: linear-gradient(0deg, #0b0b0b calc(var(--f, 0) * 100%), transparent calc(var(--f, 0) * 100%)); }
.como-red__palavra span { -webkit-text-stroke-color: rgba(255,74,46,.45); }
.como-red__camara { position: relative; z-index: 2; grid-row: 1; width: min(78vw, 1100px); height: auto; filter: drop-shadow(0 34px 34px rgba(11,11,11,.28)); }
.como-red__frase { position: relative; z-index: 2; grid-row: 2; text-align: center; max-width: none; font-size: clamp(1.5rem, 2.6vw, 2.6rem); }
@media (max-width: 899px) {
  .como-red__pin { padding: calc(var(--topo-h) + 40px) var(--gutter) 40px; }
  .como-red__palavra { font-size: 38vw; top: 40%; }
  .como-red__camara { width: 112vw; }
}
.como-red__camara { display: block; height: auto; -webkit-mask-image: none; mask-image: none; }
.como-red__palavra { -webkit-text-stroke: 2px rgba(11,11,11,.32); }
.como-red__palavra span { -webkit-text-stroke-color: rgba(255,74,46,.7); }
@media (prefers-reduced-motion: reduce) { .como-red__palavra { color: transparent; background-image: none; } }
/* Menu com as personagens: as imagens são claras (ciclorama creme), por isso o texto do separador activo
   fica escuro e sobe para o topo, longe das caras; a etiqueta de baixo também escurece */
@media (min-width: 900px) {
  .painel { place-items: start center; padding-top: calc(var(--topo-h) + 36px); }
  .painel.ativo { color: #0b0b0b; }
  .painel__img::after { background: linear-gradient(to bottom, rgba(242,237,228,.55), transparent 22%, transparent 82%, rgba(242,237,228,.6)); }
  .painel__sub { color: #0b0b0b; }
}

/* Separador com os três de ombros encolhidos: a foto abre a cena e dá lugar às letras cheias de vídeo */
.zoom__foto { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: var(--fo, 1); transform: scale(var(--fz, 1)); will-change: opacity, transform; }
.zoom.com-foto .zoom__frase { color: color-mix(in srgb, #0b0b0b calc(var(--fo, 1) * 100%), #fff); text-shadow: 0 10px 50px rgba(0,0,0, calc((1 - var(--fo, 1)) * .7)); }
.zoom.com-foto .zoom__rotulo { color: color-mix(in srgb, rgba(11,11,11,.55) calc(var(--fo, 1) * 100%), rgba(255,255,255,.6)); }

/* «O que fazemos, exactamente?»: os três sem saber, a pergunta entra por cima */
.tres { position: relative; height: 170svh; background: var(--creme); color: #0b0b0b; }
.tres__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.tres__foto, .tres__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(var(--tz, 1)); will-change: transform; }
.tres__video { opacity: 0; transition: opacity .6s var(--ease); }
.tres__video.pronto { opacity: 1; }
.tres__rotulo { position: absolute; z-index: 2; left: var(--gutter); top: calc(var(--topo-h) + 16px); color: rgba(11,11,11,.5); }
.tres__frase { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 9svh; text-align: center; font-family: var(--serifa); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 4.4rem); line-height: 1.04; }
.tres__frase .pal { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.3em); transition: opacity .5s var(--ease), filter .6s var(--ease), transform .8s var(--expo); }
.tres__frase .pal.on { opacity: 1; filter: none; transform: none; }
.tres__frase .laranja { font-family: var(--mao); color: var(--rec); }
@media (max-width: 899px) { .tres__foto, .tres__video { object-position: 50% 50%; } .tres__frase { bottom: calc(var(--barra-h) + 24px); } }
@media (prefers-reduced-motion: reduce) { .tres { height: auto; } .tres__pin { position: relative; height: 80svh; } .tres__frase .pal { opacity: 1; filter: none; transform: none; } }
.tres__pin::after { content: ""; position: absolute; inset: auto 0 0 0; height: 42%; z-index: 1; background: linear-gradient(to top, rgba(242,237,228,.92), rgba(242,237,228,.6) 45%, transparent); pointer-events: none; }

/* Frase em destaque ao centro; imagem desfocada que foca quando a frase se desfaz */
.tres { height: 170svh; }
.tres__pin::after { display: none; }
.tres__foto, .tres__video { filter: blur(var(--tb, 18px)); }
.tres__pin::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(242,237,228, calc(var(--fo, 1) * .35)); pointer-events: none; }
.tres__frase { top: 50%; bottom: auto; transform: translateY(-50%) scale(var(--fs, 1)); filter: blur(var(--fb, 0px)); opacity: var(--fo, 1);
  font-size: clamp(2.8rem, 7.2vw, 8rem); line-height: .98; max-width: 14ch; margin: 0 auto; letter-spacing: -.01em; }
@media (max-width: 899px) { .tres__frase { bottom: auto; font-size: clamp(2.4rem, 11vw, 4rem); } }

/* Abertura com os três provadores: vídeo inteiro, sem escurecer; título numa faixa creme em baixo */
.ab--abertura { background: var(--creme); color: #0b0b0b; }
.ab--abertura video { opacity: 1; object-position: 50% 45%; }
.ab--abertura::after { content: ''; position: absolute; inset: auto 0 0 0; height: 38%; z-index: 1; background: linear-gradient(to top, rgba(242,237,228,.96), rgba(242,237,228,.75) 45%, transparent); pointer-events: none; }
.ab--abertura .ab__texto { top: auto; bottom: clamp(56px, 9vh, 96px); transform: none; gap: 10px; }
.ab--abertura .ab__texto .rotulo { color: rgba(11,11,11,.55) !important; }
.ab--abertura .ab__titulo { font-size: clamp(2rem, 4.6vw, 4.8rem); color: #0b0b0b; }
.ab--abertura .ab__roda { color: rgba(11,11,11,.65); }
.ab--abertura .roda span { color: #0b0b0b; }
.ab--abertura .ab__deslizar { color: rgba(11,11,11,.5) !important; }
.ab--abertura .ab__deslizar i { background: linear-gradient(#0b0b0b, transparent); }
@media (max-width: 899px) { .ab--abertura video { object-position: 50% 50%; } .ab--abertura .ab__texto { bottom: calc(var(--barra-h) + 40px); } }
/* Abertura limpa: só a animação «Produtora de…»; o título fica na página mas só para leitores de ecrã e Google */
.ab--abertura .ab__titulo, .ab--abertura .ab__texto > .rotulo { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ab--abertura::after { height: 16%; background: linear-gradient(to top, rgba(242,237,228,.85), transparent); }
.ab--abertura .ab__texto { bottom: clamp(26px, 4.5vh, 44px); }
.ab--abertura .ab__roda { font-size: clamp(1.15rem, 1.5vw, 1.45rem); }
.ab--abertura .ab__deslizar { display: none; }
@media (max-width: 899px) { .ab--abertura .ab__texto { bottom: calc(var(--barra-h) + 18px); } }
/* Sem fade em baixo: o chão creme do ciclorama chega para o texto se ler */
.ab--abertura::after { display: none; }
.ab--abertura .ab__texto { left: var(--gutter); right: auto; }
.ab--abertura .ab__roda { background: rgba(242,237,228,.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 8px 16px 9px; border-radius: 999px; width: max-content; }
/* Sem forma: só um halo creme suave nas letras para se lerem quando os três passam por baixo */
.ab--abertura .ab__roda { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; border-radius: 0; text-shadow: 0 0 3px rgba(242,237,228,.95), 0 0 14px rgba(242,237,228,.9), 0 0 28px rgba(242,237,228,.7); }
/* Texto que inverte com o que está por baixo: escuro sobre o creme, claro sobre as letras pretas */
.ab--abertura .ab__texto { mix-blend-mode: difference; }
.ab--abertura .ab__roda, .ab--abertura .roda span { color: #fff; text-shadow: none; }
/* Cabeçalho por cima da abertura: tal como a frase, inverte a cor com o vídeo (só no topo da homepage e com o menu fechado) */
body:has(.ab--abertura) .topo:not(.topo--rolou) { mix-blend-mode: difference; }
body:has(.ab--abertura) .topo:not(.topo--rolou), body:has(.ab--abertura) .topo.sobre-claro:not(.topo--rolou) { color: #fff; }
body:has(.ab--abertura) .topo:not(.topo--rolou) .marca img { filter: none !important; }
body:has(.ab--abertura) .topo:not(.topo--rolou) .botao-menu i { border-color: rgba(255,255,255,.55); background: transparent; }
html.menu-aberto body .topo { mix-blend-mode: normal; }
html.menu-aberto body .topo { mix-blend-mode: normal !important; }

/* Loading: logótipo completo (símbolo + «bolder.») no tom escuro do cabeçalho, sobre creme, a encher de baixo para cima */
.cortina { background: var(--creme); }
.cortina__logo { font-family: var(--sans); font-stretch: 100%; font-weight: 600; letter-spacing: -.045em; font-size: clamp(3.2rem, 9vw, 8.4rem); line-height: 1; }
.cortina__base, .cortina__cheio { display: inline-flex; align-items: center; gap: .32em; }
.cortina__base { color: rgba(13,18,27,.12); -webkit-text-stroke: 0; }
.cortina__cheio { color: #0d121b; }
.cortina__icone { display: inline-block; width: .96em; height: .96em; background: currentColor; -webkit-mask: url(/assets/logo-icon.png) center / contain no-repeat; mask: url(/assets/logo-icon.png) center / contain no-repeat; }
.cortina__pct { color: rgba(13,18,27,.45); }
.cortina__logo { display: grid; }
.cortina__base, .cortina__cheio { grid-area: 1 / 1; position: static; inset: auto; }

/* Loading sem a versão clara por trás (fazia de sombra); a subida da cortina também mais lenta */
.cortina__base { visibility: hidden; }
.cortina { transition: transform 1.4s cubic-bezier(.7, 0, .2, 1); }
/* Creme quente do ciclorama dos vídeos, para o loading passar para a abertura sem salto de cor */
:root { --creme-ciclo: #f2e4d1; }
.cortina { background: var(--creme-ciclo); }
.ab--abertura { background: var(--creme-ciclo); }
/* Loading com textura: luz irregular do ciclorama e grão de película animado */
.cortina { background:
  radial-gradient(120% 90% at 50% 42%, rgba(255,246,232,.55), transparent 60%),
  radial-gradient(90% 70% at 15% 100%, rgba(196,160,120,.22), transparent 70%),
  radial-gradient(80% 60% at 100% 0%, rgba(190,150,115,.16), transparent 70%),
  var(--creme-ciclo); }
.cortina::before { content: ''; position: absolute; inset: -60px; z-index: 3; pointer-events: none; background: url(/assets/grao.png) repeat; background-size: 320px; mix-blend-mode: multiply; opacity: .22; animation: grao .9s steps(6) infinite; }
.cortina::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 0 180px rgba(120,85,50,.18); }
@keyframes grao { 0% { transform: translate(0, 0); } 17% { transform: translate(-22px, 14px); } 34% { transform: translate(18px, -26px); } 51% { transform: translate(-30px, -8px); } 68% { transform: translate(26px, 22px); } 85% { transform: translate(-12px, 30px); } 100% { transform: translate(8px, -18px); } }
@media (prefers-reduced-motion: reduce) { .cortina::before { animation: none; } }
.cortina::before { mix-blend-mode: soft-light; opacity: .55; }
.cortina::after { box-shadow: inset 0 0 200px rgba(150,105,60,.14); }
/* Textura parada (o Gonçalo não quer o grão a mexer) */
.cortina::before { animation: none; inset: 0; }

/* ==========================================================================
   Do manifesto ao fim da parte de IA: mesmo creme quente do ciclorama, texto no tom escuro do logótipo,
   laranja nos acentos e o mesmo grão parado do loading (pedido do Gonçalo: «os tons perdem-se»)
   ========================================================================== */
:root { --tinta: #0d121b; }
.cine, .nota-ia, .camadas { background: var(--creme-ciclo); color: var(--tinta); }
.cine__fundo { filter: none; background:
  radial-gradient(60% 55% at 30% 35%, rgba(255,246,232,.75), transparent 70%),
  radial-gradient(50% 50% at 78% 70%, rgba(214,170,120,.22), transparent 70%),
  radial-gradient(70% 60% at 50% 120%, rgba(190,140,95,.2), transparent 70%); }
.cine__pin::after, .nota-ia::after, .camadas__pin::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: url(/assets/grao.png) repeat; background-size: 320px; mix-blend-mode: soft-light; opacity: .55; }
.nota-ia { position: relative; border-top: 0; }
.cine__rotulo, .nota-ia .rotulo, .camadas__rot { color: rgba(13,18,27,.5) !important; }
.cena__peq { color: rgba(13,18,27,.72); }
.cena__grande { color: var(--tinta); }
.cena__grande.laranja { color: var(--rec); }
.cena__media { box-shadow: 0 34px 70px rgba(80,55,30,.28), 0 0 0 1px rgba(13,18,27,.08); }
.cine__marcas i { background: rgba(13,18,27,.16); }
.cine__marcas i.on { background: var(--rec); }
.nota-ia h2 { color: var(--tinta); }
.nota-ia p:not(.rotulo) { color: rgba(13,18,27,.72); }
.nota-ia .ir { color: var(--tinta); }
.camadas__legenda span { color: var(--tinta); }
.camadas__legenda small { color: rgba(13,18,27,.6); }
.camada img { box-shadow: 0 0 0 1px rgba(13,18,27,.1), 0 30px 70px rgba(80,55,30,.3); }
.camada.camada--foco img { box-shadow: 0 0 0 2px var(--rec), 0 40px 90px rgba(80,55,30,.35); }
.hib { background: var(--creme-ciclo); }
/* Gradientes a desaparecer para o próprio creme (não para preto transparente) e grão mais leve nas cenas */
.cine__fundo { inset: 0; transform: none; background:
  radial-gradient(60% 55% at 30% 35%, rgba(255,246,232,.7), rgba(242,228,209,0) 70%),
  radial-gradient(50% 50% at 78% 70%, rgba(222,186,140,.22), rgba(242,228,209,0) 70%),
  radial-gradient(70% 60% at 50% 115%, rgba(205,160,115,.18), rgba(242,228,209,0) 70%); }
.cine__pin::after, .camadas__pin::after, .nota-ia::after { opacity: .38; }
/* Grão único, fino e leve, igual em todo o lado (o anterior estava intenso e acinzentava o creme) */
.cortina::before, .cine__pin::after, .camadas__pin::after, .nota-ia::after { background-image: url(/assets/grao-fino.png); background-size: 320px; mix-blend-mode: soft-light; opacity: .5; }
/* O bloco preso cria o seu próprio contexto de mistura: precisa de fundo próprio para o grão se misturar com o creme */
.cine__pin, .camadas__pin { background: var(--creme-ciclo); }
/* RED: mesmo creme quente e grão das outras secções (o grão fica por baixo da câmara e das letras) */
.como-red, .como-red__pin { background: var(--creme-ciclo); }
.como-red__pin::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
  radial-gradient(60% 55% at 50% 45%, rgba(255,246,232,.7), rgba(242,228,209,0) 70%),
  radial-gradient(70% 60% at 50% 115%, rgba(205,160,115,.18), rgba(242,228,209,0) 70%); }
.como-red__pin::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: url(/assets/grao-fino.png) repeat; background-size: 320px; mix-blend-mode: soft-light; opacity: .5; }
.como-red__palavra { z-index: 1; }
.como-red__camara, .como-red__frase, .como-red__rot { z-index: 2; }
.como-red__frase { color: var(--tinta); }
/* «Isto é a Bolder.»: creme quente do ciclorama (do bege mais escuro ao creme) com o mesmo grão */
.reel__pin { background: var(--cor, var(--creme-ciclo)); }
.reel__pin::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: url(/assets/grao-fino.png) repeat; background-size: 320px; mix-blend-mode: soft-light; opacity: .5; }
.reel__frase { color: var(--tinta); }
.reel__cartao { box-shadow: 0 40px 90px rgba(80,55,30,.3); }
/* ==========================================================================
   Parte final no mesmo tom: escuros em preto quente com texto creme do ciclorama;
   claros no creme quente com texto no tom do logótipo; o mesmo grão parado em todos
   ========================================================================== */
:root { --noite: #16120e; }
.regie, .servs, .diario { --creme: #f2e4d1; background: var(--noite); color: var(--creme); }
.regie__pin { background: var(--noite); }
.servs .rotulo, .diario .rotulo { color: rgba(242,228,209,.5); }
.clientes, .provador, .rodape-v3 { --creme: #f2e4d1; background: var(--creme-ciclo); color: var(--tinta); }
.clientes .cli--nome, .clientes__fim, .rodape-v3__marca, .rodape-v3 .t-caps, .rodape-v3 a { color: var(--tinta); }
.rodape-v3__marca span { color: var(--rec); }
.clientes .cli img { filter: brightness(0) sepia(.35) hue-rotate(185deg) saturate(1.4); }
.clientes .cli--tons img { filter: sepia(.25); }
.servs, .diario, .clientes { position: relative; }
.regie__pin::after, .servs::after, .diario::after, .clientes::after, .provador::after, .rodape-v3::after {
  content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: url(/assets/grao-fino.png) repeat; background-size: 320px; mix-blend-mode: soft-light; opacity: .5; }
.serv__img, .cursor-anel, .cursor-ponto { z-index: 60; }

/* Showreel: botão de som lateral, sem ecrã inteiro */
.reel__botoes { display: none; }
.reel__cartao { cursor: pointer; }
.reel__som { all: unset; position: absolute; z-index: 3; right: 16px; top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 8px; padding: 14px 10px; border-radius: 999px;
  background: rgba(22,18,14,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #f2e4d1; cursor: pointer; opacity: calc((var(--p, 0) - .35) * 3); transition: background-color .3s; }
.reel__som span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.reel__som i { width: 16px; height: 12px; background: currentColor; -webkit-mask: linear-gradient(#000 0 0) 0 100%/3px 40% no-repeat, linear-gradient(#000 0 0) 6px 100%/3px 100% no-repeat, linear-gradient(#000 0 0) 12px 100%/3px 65% no-repeat; mask: linear-gradient(#000 0 0) 0 100%/3px 40% no-repeat, linear-gradient(#000 0 0) 6px 100%/3px 100% no-repeat, linear-gradient(#000 0 0) 12px 100%/3px 65% no-repeat; opacity: .5; }
.reel__som.ligado { background: var(--rec); color: #fff; }
.reel__som.ligado i { opacity: 1; animation: eq .9s ease-in-out infinite alternate; }
@keyframes eq { to { transform: scaleY(.55); } }
.reel__som:focus-visible { outline: 2px solid var(--rec); outline-offset: 3px; }
/* O grão fica só no fundo, por baixo do showreel e das frases */
.reel__pin::after { z-index: 0; }
.reel__cartao, .reel__frase { z-index: 2; }
/* Grão só nos fundos: nunca por cima de vídeos, imagens ou texto */
.cine__pin::after, .camadas__pin::after, .regie__pin::after, .servs::after, .diario::after, .clientes::after, .nota-ia::after { z-index: 0; }
.cena { z-index: 1; }
.camadas__palco { z-index: 1; }
.regie__pin > *, .servs > *, .diario > *, .clientes > *, .nota-ia > * { position: relative; z-index: 1; }
.provador::after { display: none; }

/* Vários vídeos por slide e teaser no fim do «Como fazemos» */
.cena__medias { display: grid; gap: clamp(8px, 1vw, 16px); width: min(86vw, 1320px); will-change: transform, opacity; }
.cena__medias--2 { grid-template-columns: repeat(2, 1fr); width: min(76vw, 1120px); }
.cena__medias--3 { grid-template-columns: repeat(3, 1fr); }
.cena__medias .cena__media { width: 100%; will-change: auto; }
@media (min-width: 900px) {
  .cena--teaser { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(32px, 5vw, 90px); justify-items: end; text-align: right; align-items: center; align-content: center; padding-left: 10vw; padding-right: 10vw; }
  .cena--teaser .cena__peq { grid-column: 1; align-self: end; }
  .cena--teaser .cena__grande { grid-column: 1; }
  .cena--teaser .cena__mao { grid-column: 1; align-self: start; }
  .cena--teaser .cena__media.vertical { grid-column: 2; grid-row: 1 / span 3; height: 76svh; justify-self: start; }
}
@media (max-width: 899px) {
  .cena__medias { width: 88vw; }
  .cena__medias--3 { grid-template-columns: repeat(2, 1fr); }
  .cena__medias--3 .cena__media:first-child { grid-column: 1 / -1; }
  .cena__medias--2 { width: 88vw; }
  .cena__medias--2 .cena__media { aspect-ratio: 4 / 5; }
  .cena--teaser .cena__media.vertical { height: 50svh; }
}
/* Montagem dos provadores por baixo de «o mundo não precisa de…» (o grão fica por baixo do vídeo) */
.cine__video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.cine__rotulo, .cine__marcas { z-index: 2; }
.cine.sob-video .cena__peq { color: rgba(242,228,209,.9); }
.cine.sob-video .cena__grande { color: var(--creme-ciclo); }
.cine.sob-video .cine__rotulo { color: rgba(242,228,209,.6) !important; opacity: var(--esc, 1); }
.cine.sob-video .cine__marcas i { background: rgba(242,228,209,.25); }
.cine.sob-video .cine__marcas i.on { background: var(--rec); }
@media (prefers-reduced-motion: reduce) { .cine__video { display: none; } }
@media (min-width: 900px) { .cena--teaser { grid-template-rows: 1fr auto 1fr; } }

/* Botão de som do teaser, por cima do vídeo */
.cena__media { position: relative; }
.cena__som { z-index: 3; opacity: 1; pointer-events: auto; }

/* Trabalhos a cheio, com os títulos por cima do vídeo */
.caso { grid-template-columns: minmax(0, 1fr); align-content: end; align-items: end; gap: 0; padding: calc(var(--topo-h) + 40px) calc(var(--gutter) + 50px) clamp(92px, 13svh, 130px) var(--gutter); }
.caso::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(8,7,6,.88), rgba(8,7,6,.46) 38%, rgba(8,7,6,0) 68%), linear-gradient(to bottom, rgba(8,7,6,.55), rgba(8,7,6,0) 24%); }
.caso__texto { position: relative; z-index: 2; gap: 12px; max-width: min(72vw, 1040px); }
.caso__titulo { font-size: clamp(3rem, 7.4vw, 8.4rem); line-height: .92; }
.caso__linha { color: rgba(243,240,234,.92); }
.caso__num { display: none; }
.caso__media { position: absolute; inset: 0; z-index: 0; aspect-ratio: auto; border-radius: 0; transform: scale(1.05); }
.caso__media img, .caso__media video { transform: scale(var(--corte, 1)); }
.caso__fundo { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #0b0b0b; }
.caso__fundo video { position: absolute; left: -12%; top: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(40px) brightness(.62) saturate(1.1); }
@media (min-width: 900px) {
  .caso--vertical .caso__texto { max-width: 50vw; }
  .caso__media--vertical { inset: auto; left: 58%; top: 9svh; height: 82svh; width: auto; max-height: none; aspect-ratio: 9 / 16; border-radius: 10px; z-index: 2; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
}
@media (max-width: 899px) {
  .caso { padding-top: calc(var(--topo-h) + 40px); align-content: end; padding-bottom: calc(var(--barra-h, 64px) + 84px); padding-right: var(--gutter); }
  .caso__texto { max-width: none; }
  .caso__titulo { font-size: clamp(2.6rem, 13vw, 4.4rem); }
  .caso__fundo { display: none; }
  .caso__media--vertical { height: auto; width: auto; max-height: none; aspect-ratio: auto; justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { .caso { min-height: 100svh; } }

/* Nos slides, o vídeo fica por cima da imagem fixa (antes era empurrado para fora da moldura) */
.cena__media video { position: absolute; inset: 0; z-index: 1; }

/* Botão de som do teaser fora da janela do vídeo */
.cena__som { position: static; transform: none; background: rgba(13,18,27,.08); color: var(--tinta); -webkit-backdrop-filter: none; backdrop-filter: none; }
.cena__som.ligado { background: var(--rec); color: #fff; }
@media (min-width: 900px) {
  .cena--teaser { grid-template-columns: minmax(0, 1fr) auto auto; }
  .cena--teaser .cena__som { grid-column: 3; grid-row: 1 / span 3; align-self: center; justify-self: start; margin-left: calc(14px - clamp(32px, 5vw, 90px)); }
}
@media (max-width: 899px) {
  .cena__som { grid-auto-flow: column; align-items: center; gap: 10px; padding: 10px 18px; }
  .cena__som span { writing-mode: horizontal-tb; transform: none; }
}

/* Botão de som nos trabalhos a cheio */
.caso__som { z-index: 3; top: auto; transform: none; right: calc(var(--gutter) + 50px); bottom: clamp(92px, 13svh, 130px); opacity: 1; grid-auto-flow: column; align-items: center; gap: 10px; padding: 10px 18px; }
.caso__som span { writing-mode: horizontal-tb; transform: none; }
@media (min-width: 900px) {
  .caso--vertical .caso__som { right: auto; bottom: auto; left: calc(58% + 82svh * 9 / 16 + 14px); top: 50%; transform: translateY(-50%); grid-auto-flow: row; justify-items: center; gap: 8px; padding: 14px 10px; }
  .caso--vertical .caso__som span { writing-mode: vertical-rl; transform: rotate(180deg); }
}
@media (max-width: 899px) { .caso__som { right: var(--gutter); bottom: calc(var(--barra-h, 64px) + 84px); } }

/* Formulário: os rádios escondidos não podem alargar a página */
.tipos input[type="radio"] { width: 1px; height: 1px; padding: 0; margin: 0; }

/* Vídeo 16:9 com som nas cenas: botão por baixo da janela */
.cena--som .cena__som { grid-auto-flow: column; align-items: center; gap: 10px; padding: 10px 18px; margin-top: 14px; }
.cena--som .cena__som span { writing-mode: horizontal-tb; transform: none; }

/* Cursor próprio sempre por cima do menu; nas janelas modais volta o cursor do sistema */
.cursor-ponto, .cursor-anel { z-index: 9999; }
html.tem-cursor dialog, html.tem-cursor dialog * { cursor: auto; }
/* Voltar ao topo */
.topo__subir { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; color: inherit; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .3s; }
.topo__subir i { font-style: normal; font-size: .95rem; }
.topo__subir.on { opacity: 1; pointer-events: auto; }
html.menu-aberto .topo__subir { opacity: 0; pointer-events: none; }
.rodape-v3__subir { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: inherit; min-height: 44px; }

/* Abertura nunca cortada e sem margens: o vídeo tem o logótipo no fim, por isso a secção assume a proporção do vídeo */
.ab--abertura { height: auto; min-height: 0; overflow: visible; }
.ab--abertura > video { position: relative; inset: auto; display: block; width: 100%; height: auto; object-fit: fill; }
@media (max-width: 899px) {
  .ab--abertura { padding-top: var(--topo-h); }
  .ab--abertura .ab__texto { position: static; padding: 12px var(--gutter) 16px; }
}

/* Rodapé: só a linha final; o logótipo e os contactos vivem na secção Vamos falar */
.rodape-v3 { position: relative; z-index: auto; min-height: 0; display: block; padding: 0 var(--gutter) calc(14px + var(--barra-h, 0px)); }
@media (min-width: 900px) { .rodape-v3 { padding-bottom: 14px; } }
.rodape-v3__base { align-items: center; }

/* Revisão da home, 2026-11-08 */
/* Cabeçalho: falar connosco sempre à vista em computador */
.topo .topo__falar { display: none; }
@media (min-width: 900px) {
  .topo .topo__falar { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; margin-right: 18px; font-family: var(--titulo); font-stretch: 75%; font-weight: 600; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: inherit; }
  .topo__falar i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); transition: transform .4s var(--expo); }
  .topo__falar:hover i { transform: scale(1.7); }
}
/* Área de cliente: sempre à vista em computador; no telemóvel está no menu */
.topo .topo__cliente { display: none; }
@media (min-width: 900px) {
  .topo .topo__cliente { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; margin-right: 6px; border: 1px solid currentColor; border-radius: 999px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: inherit; opacity: .7; transition: opacity .2s; }
  .topo .topo__cliente:hover, .topo .topo__cliente:focus-visible { opacity: 1; }
}
/* Entrada curta: sem logótipo nem contador */
.cortina--curta { transition-duration: .4s; }
.cortina--curta .cortina__logo, .cortina--curta .cortina__pct { display: none; }
html.a-sair .cortina { transition-duration: .28s; }
.cortina:not(.cortina--curta) { transition-duration: .55s; }
/* Serviços: texto certo para rato ou toque, oito linhas sem alongar */
.so-toque { display: none; }
@media not (pointer: fine) { .so-rato { display: none; } .so-toque { display: inline; } }
.serv__nome { font-size: clamp(2.2rem, 5vw, 5.2rem); }
@media (max-width: 899px) { .serv__mais ul { display: none; } .topo.topo--solido { background: var(--noite); } .topo.topo--solido::before { opacity: 0; } }
/* Logótipos: as entidades públicas ficam atrás das marcas */
.clientes .cli--publica img { opacity: .5; transform: scale(.86); }
.cli img[src*="hospital-luz"], .cli img[src*="gold-energy"] { height: clamp(40px, 4.3vw, 62px); }
.cli img[src*="riberalves"] { height: clamp(32px, 3.5vw, 50px); max-width: clamp(130px, 14vw, 200px); }
.cli img[src*="24kitchen"] { height: clamp(28px, 3vw, 44px); }
/* Prémios */
.premios { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px clamp(40px, 7vw, 110px); }
.premios li { display: grid; gap: 2px; justify-items: center; }
.premios b { font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1; color: var(--rec); }
.premios span { font-size: clamp(1.05rem, 1.5vw, 1.4rem); }
/* Toque de pelo menos 44 px nas ligações de baixo */
@media (max-width: 899px) {
  .rodape-v3__base a, .rodape-v3__base button, .rodape a, .menu__redes a, .menu__contactos a { display: inline-flex; align-items: center; min-height: 44px; }
  .rodape-v3__base nav { gap: 0 18px; }
}

/* Cortina: logótipo centrado no que se vê do ecrã, mesmo com as barras do browser do telemóvel */
.cortina__logo { position: absolute; left: 50vw; top: 50vh; top: 50dvh; width: max-content; transform: translate(-50%, -50%); }
.cortina__pct { left: 50vw; }
/* Provador no telemóvel: texto em cima, vídeo inteiro por baixo, sem nada a tapar a cara */
@media (max-width: 899px) {
  .provador { display: flex; flex-direction: column; height: auto; min-height: 0; padding-top: calc(var(--topo-h) + 14px); }
  .provador__texto { position: relative; order: 1; top: auto; left: auto; right: auto; bottom: auto; transform: none; max-width: none; padding: 0 var(--gutter) 18px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; }
  .provador .provador__video { position: relative; order: 2; inset: auto; height: auto; aspect-ratio: 4 / 5; object-position: 50% 50%; }
  .provador__cta { position: relative; order: 3; top: auto; left: auto; right: auto; bottom: auto; transform: none; padding: 14px var(--gutter) 22px; }
  .provador__som { top: auto; bottom: 106px; }
}

/* ---------- Porta para o AI Studio, na abertura (fora do bloco que inverte as cores) ---------- */
.ab__ia { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(26px, 4.5vh, 44px); display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 8px 0 26px; border-radius: 999px; background: var(--rec); color: #fff; font-family: var(--titulo); font-stretch: 75%; font-weight: 700; font-size: .92rem; letter-spacing: .2em; text-transform: uppercase; box-shadow: 0 14px 40px rgba(11,11,11,.28); transition: transform .4s var(--expo); }
.ab__ia span { font-weight: 500; opacity: .85; }
.ab__ia b { font-weight: 800; }
.ab__ia i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #0b0b0b; font-style: normal; font-size: 1.05rem; letter-spacing: 0; transition: transform .4s var(--expo); }
.ab__ia:hover { transform: translateY(-2px); }
.ab__ia:hover i, .ab__ia:focus-visible i { transform: rotate(-45deg); }
.ab__ia:focus-visible { outline: 2px solid #0b0b0b; outline-offset: 3px; }
@media (max-width: 899px) {
  .ab--abertura { padding-bottom: 20px; }
  .ab__ia { position: relative; right: auto; bottom: auto; display: inline-flex; width: max-content; max-width: calc(100% - 2 * var(--gutter)); margin: 2px 0 0 var(--gutter); min-height: 46px; padding: 0 5px 0 18px; font-size: .68rem; letter-spacing: .14em; gap: 9px; box-shadow: none; }
  .ab__ia i { width: 36px; height: 36px; font-size: .95rem; }
}
.hib__mais { display: flex; justify-content: center; padding: clamp(22px, 4vh, 36px) var(--gutter) clamp(52px, 9vh, 96px); }
.hib__mais .ir { color: var(--tinta); }
.nota-ia__accoes, .serv-painel__accoes { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }

/* ---------- Índice das secções da home ---------- */
.secs { position: fixed; z-index: 72; left: 0; top: 50%; transform: translateY(-50%); color: #fff; mix-blend-mode: difference; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; transition: opacity .35s; }
.secs__botao { display: none; }
.secs__lista { list-style: none; margin: 0; padding: 8px 0; border-radius: 0 10px 10px 0; transition: background-color .25s; }
.secs__lista a { display: flex; align-items: center; height: 24px; padding: 0 14px 0 12px; color: inherit; }
.secs__lista i { flex: none; width: 10px; height: 1px; background: currentColor; opacity: .5; transition: width .35s var(--expo), opacity .25s; }
.secs__lista a.on i { width: 22px; height: 2px; opacity: 1; }
.secs__lista span { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width .3s var(--expo), opacity .2s, margin .3s var(--expo); }
.secs__rotulo { position: absolute; left: 12px; top: 100%; margin-top: 12px; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; opacity: .7; transition: opacity .2s; }
.secs:hover, .secs:focus-within { mix-blend-mode: normal; color: var(--creme); }
.secs:hover .secs__lista, .secs:focus-within .secs__lista { background: rgba(11,11,11,.82); }
.secs:hover .secs__lista span, .secs:focus-within .secs__lista span { max-width: 110px; opacity: 1; margin-left: 12px; }
.secs:hover .secs__lista a:hover i { opacity: 1; width: 22px; }
.secs:hover .secs__rotulo, .secs:focus-within .secs__rotulo { opacity: 0; }
.secs__lista a:focus-visible { outline: 1px solid var(--rec); outline-offset: -2px; }
.secs--fora, html.menu-aberto .secs { opacity: 0; visibility: hidden; pointer-events: none; }

/* Telemóvel e ecrãs tácteis: o nome da secção no cabeçalho, com a lista por baixo */
@media (max-width: 899px), (hover: none) {
  .secs { top: 0; left: 50%; transform: translateX(-50%); height: var(--topo-h); display: flex; align-items: center; }
  .secs__rotulo { display: none; }
  .secs__botao { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 999px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
  .secs__botao i { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
  .secs__botao:focus-visible { outline: 1px solid var(--rec); }
  .secs__lista { display: none; position: absolute; top: calc(100% - 4px); left: 50%; transform: translateX(-50%); width: 200px; padding: 6px; border-radius: 12px; background: rgba(11,11,11,.94); }
  .secs__lista a { height: 44px; padding: 0 14px; border-radius: 8px; }
  .secs__lista i { display: none; }
  .secs__lista span, .secs:hover .secs__lista span, .secs:focus-within .secs__lista span { max-width: none; opacity: 1; margin: 0; }
  .secs__lista a.on { color: var(--rec); }
  .secs:hover, .secs:focus-within { mix-blend-mode: difference; color: #fff; }
  .secs:hover .secs__lista, .secs:focus-within .secs__lista { background: rgba(11,11,11,.94); }
  .secs.aberto { mix-blend-mode: normal; color: var(--creme); }
  .secs.aberto .secs__botao { background: rgba(11,11,11,.94); }
  .secs.aberto .secs__botao i { transform: translateY(2px) rotate(225deg); }
  .secs.aberto .secs__lista { display: block; }
}
@media (max-width: 899px), (hover: none) {
  body:has(.secs) .topo__subir { display: none !important; }
  .secs.aberto { z-index: 85; }
}

/* Índice: uma onda discreta percorre os traços de 8 em 8 segundos, para dar pelo menu */
@keyframes secs-onda { 0%, 7%, 100% { transform: scaleX(1); opacity: .5; } 3% { transform: scaleX(2.4); opacity: 1; } }
@media (min-width: 900px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .secs__lista i { transform-origin: left center; animation: secs-onda 8s var(--ease, ease-in-out) infinite; animation-delay: calc(2.2s + var(--i, 0) * 80ms); }
  .secs__lista a.on i, .secs:hover .secs__lista i, .secs:focus-within .secs__lista i { animation: none; }
}
.hib__mais .ir { color: var(--creme); background: #0b0b0b; padding: 5px 5px 5px 18px; border-radius: 999px; gap: 10px; font-size: .66rem; letter-spacing: .18em; }
.hib__mais .ir i { width: 34px; height: 34px; font-size: .9rem; background: var(--rec); border-color: var(--rec); color: #fff; }

/* Idioma */
.lingua { display: inline-flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: inherit; }
.lingua a, .lingua b { display: inline-flex; align-items: center; min-height: 44px; padding: 0 5px; font-weight: 400; color: inherit; }
.lingua a { opacity: .55; transition: opacity .2s; }
.lingua a:hover, .lingua a:focus-visible { opacity: 1; }
.lingua b { font-weight: 500; }
.topo .lingua { display: none; }
@media (min-width: 900px) { .topo .lingua { display: inline-flex; margin-right: 10px; } }
/* No telemóvel o menu cobre o ecrã todo: o palco não roda, para o conteúdo não alargar a página por trás */
@media (max-width: 899px) { html.menu-aberto .palco { transform: none !important; } html.menu-aberto, html.menu-aberto body { overflow: hidden; } }

/* Showreel no telemóvel: uma só frase e o vídeo a crescer com o scroll até encher o ecrã entre o cabeçalho e a barra de baixo */
@media (max-width: 899px) {
  .reel { height: 150svh; }
  .reel__pin { box-sizing: border-box; padding: var(--topo-h) 0 var(--barra-h); }
  .reel__frase--baixo { display: none; }
  .reel__frase--cima { top: calc((100svh + var(--topo-h) - var(--barra-h)) / 2 - 25.3vw - 3.4rem); font-size: clamp(1.9rem, 8.4vw, 2.7rem); line-height: 1; opacity: calc(1 - var(--p, 0) * 4); }
  .reel__cartao { width: calc(90vw + var(--p, 0) * 10vw); height: calc(50.6vw + var(--p, 0) * (100svh - var(--topo-h) - var(--barra-h) - 50.6vw)); aspect-ratio: auto; max-height: none; border-radius: calc(10px - var(--p, 0) * 10px); box-shadow: 0 18px 44px rgba(80,55,30,.25); }
  .reel__cartao .reel__som { opacity: 1; }
  /* Sem espaço vazio por baixo do topo: frase e vídeo encostados ao cabeçalho, o vídeo cresce para baixo até encher o ecrã */
  .reel__pin { place-items: start center; }
  .reel__frase--cima { top: calc(var(--topo-h) + 18px); }
  .reel__cartao { margin-top: calc((1 - var(--p, 0)) * (18px + clamp(1.9rem, 8.4vw, 2.7rem) + 22px)); }
}

/* Batentes de leitura no telemóvel */
.batente { display: none; }
@media (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y proximity; }
  .batente { display: block; position: absolute; left: 0; width: 1px; height: 1px; top: calc((100% - 100svh) * var(--f) + var(--topo-h)); pointer-events: none; scroll-snap-align: start; scroll-snap-stop: always; }
}

/* Índice das secções: legível sobre qualquer fundo e a dar sinal durante o scroll */
@keyframes secs-onda { 0%, 7%, 100% { transform: scaleX(1); opacity: .62; } 3% { transform: scaleX(2.2); opacity: 1; } }
@keyframes secs-pulso { 0% { box-shadow: 0 0 0 0 rgba(255,74,46,.7); } 100% { box-shadow: 0 0 0 11px rgba(255,74,46,0); } }
.secs, .secs:hover, .secs:focus-within { mix-blend-mode: normal; color: var(--creme); }
@media (min-width: 900px) {
  /* Só linhas, à direita e ao centro; a palavra da secção aparece durante o scroll */
  .secs { left: auto; right: 0; top: 50%; transform: translateY(-50%); font-size: 12px; filter: drop-shadow(0 0 3px rgba(0,0,0,.55)); transition: opacity .35s, color .3s; }
  .secs--claro { color: #0b0b0b; filter: none; }
  .secs:hover, .secs:focus-within { color: var(--creme); filter: none; }
  .secs__rotulo { display: none; }
  .secs__lista { border-radius: 10px 0 0 10px; }
  .secs { pointer-events: none; }
  .secs__lista a { pointer-events: auto; width: max-content; margin-left: auto; flex-direction: row-reverse; height: 24px; padding: 0 10px 0 8px; }
  .secs__lista i { width: calc(min(28px, var(--gutter) - 23px) * .55); height: 2px; opacity: .7; transform-origin: right center; }
  .secs__lista a.on i, .secs:hover .secs__lista a:hover i { width: min(28px, var(--gutter) - 23px); height: 3px; opacity: 1; background: var(--rec); }
  .casos__indice { right: auto; left: 18px; justify-items: start; }
  .secs__lista a.on { font-weight: 500; }
  .secs:hover .secs__lista span, .secs:focus-within .secs__lista span, .secs__lista a.on span { max-width: 110px; opacity: 1; margin: 0 12px 0 0; }
}
@media (max-width: 899px) {
  .secs.aberto .secs__botao { background: none; }
  .secs__botao { position: relative; isolation: isolate; font-size: 11px; }
  .secs__botao::before { content: ''; position: absolute; z-index: -1; inset: 6px 0; border-radius: 999px; background: rgba(11,11,11,.8); border: 1px solid rgba(242,228,209,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .secs__atual::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--rec); vertical-align: 1px; }
}
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  .secs--todas .secs__botao::before, .secs--uma .secs__botao::before { animation: secs-pulso 1.3s ease-out 2; }
}
