/* Fernando Freitas — site v3 (protótipo local)
   Uma estrutura, duas peles trocadas por html[data-skin]:
     fff   = Pele A, protótipo do Gemini (logo FFF, mono em caixa alta, roxo #5408FF)
     storm = Pele B, identidade "Tempestade" do LinkedIn (Knockout, grafite, amarelo #FFD21F)
   Ordem do arquivo: fontes · tokens das peles · base · cabeçalho · hero · seções · works · ai lab · info · player. */

/* ---------- Fontes ----------
   Knockout está instalada neste Mac: aqui entra por local(). Para publicar precisa de licença de webfont;
   sem ela, cai em Big Shoulders Display (Google Fonts). */
@font-face { font-family: "Knockout 68"; src: local("Knockout-HTF68-FullFeatherwt"), local("Knockout HTF68-FullFeatherwt"); font-display: swap; }
@font-face { font-family: "Knockout 50"; src: local("Knockout-HTF50-Welterweight"), local("Knockout HTF50-Welterweight"); font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --pad: clamp(16px, 2.6vw, 36px);
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head: 72px;
}
/* Pele A: a cor de destaque troca a cada filme da abertura: azul, amarelo, vermelho. */
html[data-skin="fff"][data-tone="1"] { --accent: #FFD21F; --on-accent: #0b0b0b; }
html[data-skin="fff"][data-tone="2"] { --accent: #FF2A1C; --on-accent: #ffffff; }
html[data-skin="fff"][data-tone="3"] { --accent: #00D7FF; --on-accent: #0b0b0b; }
html[data-skin="fff"][data-tone="4"] { --accent: #FF6EC4; --on-accent: #0b0b0b; }
html[data-skin="fff"][data-tone="5"] { --accent: #FF8A00; --on-accent: #0b0b0b; }
html[data-skin="fff"][data-tone="6"] { --accent: #B4FF3B; --on-accent: #0b0b0b; }
html[data-skin="fff"] {
  --bg: #020202; --bg2: #0c0c0f; --fg: #ffffff;
  --muted: rgba(255, 255, 255, .68); --dim: rgba(255, 255, 255, .45);
  --line: rgba(255, 255, 255, .17);
  --accent: #5408FF; --on-accent: #ffffff;
  --focus: #ffffff;
  --info-bg: var(--accent); --info-fg: var(--on-accent);
  --f-display: "OCR A Std", "ocr-a-std", "Space Mono", "PT Mono", ui-monospace, Menlo, monospace;
  --f-label: var(--f-display);
  --f-body: var(--f-display);
}
html[data-skin="storm"] {
  --bg: #0C0D10; --bg2: #15171C; --fg: #F3EEE4;
  --muted: #A8A296; --dim: #6B675F;
  --line: rgba(243, 238, 228, .14);
  --accent: #FFD21F; --on-accent: #0C0D10;
  --focus: #FFD21F;
  --info-bg: #15171C; --info-fg: #F3EEE4;
  --f-display: "Knockout 68", "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-label: "Knockout 50", "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; font-weight: inherit; font-size: inherit; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; border-radius: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: var(--r); text-decoration: none; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; text-transform: uppercase; line-height: 1; text-decoration: none; transition: opacity .15s, background .15s, color .15s, box-shadow .15s; }
[data-skin="fff"] .btn { padding: 9px 12px; border-radius: var(--r); font-size: 12px; letter-spacing: .04em; }
[data-skin="fff"] .btn-solid { background: var(--accent); color: var(--on-accent); }
[data-skin="fff"] .btn-ghost { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); }
[data-skin="fff"] .btn:hover { opacity: .84; }
[data-skin="storm"] .btn { padding: 12px 17px 10px; border-radius: 3px; font-family: var(--f-label); font-size: 16px; letter-spacing: .14em; }
[data-skin="storm"] .btn-solid { background: var(--accent); color: var(--on-accent); }
[data-skin="storm"] .btn-solid:hover { background: var(--fg); }
[data-skin="storm"] .btn-ghost { box-shadow: inset 0 0 0 1px rgba(243, 238, 228, .42); color: var(--fg); }
[data-skin="storm"] .btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }

/* Etiqueta curta acima dos títulos */
[data-skin="fff"] .tag { display: inline-block; background: var(--accent); color: var(--on-accent); padding: 4px 8px; border-radius: var(--r); font-size: 11px; line-height: 1.2; text-transform: uppercase; letter-spacing: .04em; }
[data-skin="storm"] .tag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-label); font-size: 15px; line-height: 1.1; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
[data-skin="storm"] .tag::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--accent); }

/* Avisos que só existem no protótipo */
.proto, .proto-note { font: 11px/1.45 ui-monospace, Menlo, monospace; letter-spacing: 0; text-transform: none; color: var(--muted); border: 1px dashed var(--dim); padding: 7px 10px; border-radius: 3px; }

/* ---------- Cabeçalho ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto auto; grid-template-areas: "brand . nav skin";
  align-items: start; column-gap: 16px;
  padding: 22px var(--pad) 16px; color: #fff;
  transition: padding .25s var(--ease);
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .25s; }
.top.is-solid { padding-block: 12px 10px; }
.top.is-solid::before { opacity: .96; }

.brand { grid-area: brand; display: block; text-decoration: none; color: inherit; min-width: 0; }
.brand-fff, .brand-storm { display: none; }
[data-skin="fff"] .brand-fff { display: grid; gap: 7px; }
[data-skin="storm"] .brand-storm { display: block; }

.fff-logo { display: block; width: 150px; aspect-ratio: 340 / 140; height: auto; transition: width .25s var(--ease); }
.brand-sub { font-size: 11px; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.top.is-solid .fff-logo { width: 88px; }
.top.is-solid .brand-sub { display: none; }

/* Assinatura Tempestade: mesma proporção do banner do LinkedIn (gen.py) */
.lockup { --lw: 300px; display: grid; gap: calc(var(--lw) * .034); width: var(--lw); transition: width .25s var(--ease); }
.lockup svg { display: block; width: 100%; height: auto; overflow: visible; }
.lockup-name text { font-family: var(--f-display); font-size: 176px; fill: var(--fg); }
.lockup-sig text { font-family: var(--f-label); font-size: 37px; fill: var(--muted); }
.lockup .slash { fill: var(--accent); }
.top .lockup-sig text { fill: #cdc7ba; }
.top.is-solid .lockup { --lw: 176px; }
.top.is-solid .lockup-sig { display: none; }

.nav { grid-area: nav; display: flex; gap: 6px; align-items: center; }
.nav a { display: block; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
[data-skin="fff"] .nav a { padding: 7px 11px; border-radius: var(--r); font-size: 12px; line-height: 1; letter-spacing: .04em; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
[data-skin="fff"] .nav a:hover { opacity: .82; }
[data-skin="fff"] .nav a.is-active { background: var(--accent); color: var(--on-accent); text-shadow: none; }
[data-skin="storm"] .nav { gap: 24px; margin-right: 6px; }
[data-skin="storm"] .nav a { font-family: var(--f-label); font-size: 17px; line-height: 1; letter-spacing: .15em; padding: 7px 0 5px; border-bottom: 2px solid transparent; color: var(--fg); text-shadow: 0 1px 10px rgba(0, 0, 0, .55); transition: color .15s, border-color .15s; }
[data-skin="storm"] .nav a:hover { color: var(--accent); }
[data-skin="storm"] .nav a.is-active { border-bottom-color: var(--accent); }

/* Troca de pele: controle do protótipo, neutro nas duas peles */
.skin { grid-area: skin; display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px dashed rgba(255, 255, 255, .5); border-radius: 6px; background: rgba(0, 0, 0, .5); font: 11px/1 ui-monospace, Menlo, monospace; text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.skin-label { padding: 0 5px 0 5px; opacity: .78; }
.skin button { min-width: 26px; height: 22px; border-radius: 3px; text-align: center; }
.skin button:hover { background: rgba(255, 255, 255, .18); }
.skin button[aria-pressed="true"] { background: #fff; color: #000; }

/* ---------- Hero: filme em tela cheia ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; background: #000; overflow: hidden; color: #fff; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(2, 2, 2, .74) 0%, rgba(2, 2, 2, 0) 30%, rgba(2, 2, 2, 0) 54%, rgba(2, 2, 2, .9) 100%); }
.hero-hud { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px 32px; flex-wrap: wrap; }
/* Legendas do filme da abertura: acima do título, seguem o idioma do site */
.hero-sub { flex: 0 0 100%; margin: 0 0 6px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; pointer-events: none; }
.hero-sub[hidden] { display: none; }
.hero-sub span { max-width: min(100%, 900px); padding: 0 10px; font-family: "Rockwell Extra Bold", "Rockwell", "Roboto Slab", "Clarendon", Georgia, "Times New Roman", serif; font-weight: 800; font-size: clamp(17px, 1.9vw, 27px); line-height: 1.22; letter-spacing: .01em; color: #f6b21b; text-wrap: balance;
  text-shadow: -1.5px -1.5px 0 #2a1500, 1.5px -1.5px 0 #2a1500, -1.5px 1.5px 0 #2a1500, 1.5px 1.5px 0 #2a1500, 0 -2px 0 #2a1500, 0 2px 0 #2a1500, -2px 0 0 #2a1500, 2px 0 0 #2a1500, 0 3px 10px rgba(0, 0, 0, .65); }   /* 20/11: no estilo da legenda do filme da Avon, amarela com contorno */
.hero-sub .hero-sub-lang { font-family: inherit; font-weight: 700; font-size: clamp(11px, .95vw, 13px); letter-spacing: .12em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .9); }
.hero-sub .hero-sub-orig { color: #fff; }
.hero-now { min-width: 0; max-width: min(100%, 940px); }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }

[data-skin="fff"] .hero-title { margin-top: 9px; font-size: clamp(18px, 2.2vw, 28px); font-weight: 700; line-height: 1.15; text-transform: uppercase; letter-spacing: -.01em; }
[data-skin="fff"] .hero-credit { margin-top: 5px; font-size: 12px; line-height: 1.5; text-transform: uppercase; color: rgba(255, 255, 255, .84); }

[data-skin="storm"] .hero-hud { bottom: 76px; }
[data-skin="storm"] .hero-title { margin-top: 12px; font-family: var(--f-display); font-size: clamp(60px, 9.4vw, 148px); line-height: .84; text-transform: uppercase; color: var(--fg); }
[data-skin="storm"] .hero-credit { margin-top: 14px; font-family: var(--f-label); font-size: clamp(13px, 1.15vw, 17px); line-height: 1.35; letter-spacing: .12em; text-transform: uppercase; color: #cdc7ba; }

/* Régua da timeline + agulha (só na pele B) */
.hero-ruler { display: none; }
[data-skin="storm"] .hero-ruler {
  display: block; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 46px;
  border-top: 1px solid rgba(243, 238, 228, .3);
  background:
    repeating-linear-gradient(90deg, rgba(243, 238, 228, .55) 0 1.5px, transparent 1.5px 120px) 0 0 / 100% 13px no-repeat,
    repeating-linear-gradient(90deg, rgba(243, 238, 228, .28) 0 1.5px, transparent 1.5px 24px) 0 0 / 100% 7px no-repeat,
    rgba(12, 13, 16, .6);
}
.needle { position: absolute; top: -20px; left: calc(var(--p, 0) * 100%); width: 26px; height: 66px; transform: translateX(-50%); fill: var(--accent); overflow: visible; filter: drop-shadow(0 0 7px rgba(255, 210, 31, .55)); }
.needle-line { stroke: var(--accent); stroke-width: 2.2; stroke-linejoin: miter; stroke-miterlimit: 8; }

/* ---------- Seções ---------- */
.sec { position: relative; scroll-margin-top: var(--head); }
.sec-head { display: grid; gap: 14px; padding: clamp(56px, 9vw, 120px) var(--pad) clamp(22px, 3vw, 38px); }
.sec-head p { max-width: 66ch; }

[data-skin="fff"] .sec-head h2 { font-size: clamp(40px, 8vw, 112px); font-weight: 700; line-height: .92; letter-spacing: -.02em; text-transform: uppercase; }
[data-skin="fff"] .sec-head p { font-size: 12px; line-height: 1.65; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

[data-skin="storm"] .sec-head { gap: 16px; }
[data-skin="storm"] .sec-head h2 { font-family: var(--f-display); font-size: clamp(92px, 16vw, 250px); line-height: .78; text-transform: uppercase; }
[data-skin="storm"] .sec-head p { font-family: var(--f-label); font-size: clamp(14px, 1.2vw, 17px); line-height: 1.45; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
[data-skin="storm"] .sec-head::after {
  content: ""; height: 13px; margin-top: 6px; border-top: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, rgba(243, 238, 228, .4) 0 1.5px, transparent 1.5px 120px) 0 0 / 100% 13px no-repeat,
    repeating-linear-gradient(90deg, rgba(243, 238, 228, .2) 0 1.5px, transparent 1.5px 24px) 0 0 / 100% 7px no-repeat;
}

/* ---------- Prêmios ---------- */
.awards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 var(--pad) clamp(28px, 4vw, 52px); background: var(--line); border: 1px solid var(--line); }
@media (min-width: 720px) { .awards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .awards { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.awards li { background: var(--bg); }
.awards button { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; width: 100%; height: 100%; padding: 14px; transition: background .15s, color .15s; }
.awards span { display: block; }

[data-skin="fff"] .aw-name { background: var(--accent); color: var(--on-accent); padding: 4px 7px; border-radius: var(--r); font-size: 11px; line-height: 1.2; text-transform: uppercase; letter-spacing: .03em; }
[data-skin="fff"] .aw-cat { font-size: 12px; line-height: 1.4; text-transform: uppercase; }
[data-skin="fff"] .aw-proj { font-size: 11px; line-height: 1.4; text-transform: uppercase; color: var(--muted); }
[data-skin="fff"] .awards button:hover { background: var(--accent); }
[data-skin="fff"] .awards button:hover .aw-name { background: var(--on-accent); color: var(--accent); }
[data-skin="fff"] .awards button:hover .aw-proj { color: var(--on-accent); }

[data-skin="storm"] .awards button { padding: 18px 16px 16px; gap: 8px; }
[data-skin="storm"] .aw-name { font-family: var(--f-label); font-size: 15px; line-height: 1.1; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
[data-skin="storm"] .aw-cat { font-family: var(--f-display); font-size: clamp(23px, 1.9vw, 28px); line-height: .96; text-transform: uppercase; }
[data-skin="storm"] .aw-proj { font-size: 13px; line-height: 1.35; color: var(--muted); }
[data-skin="storm"] .awards button:hover { background: var(--bg2); }

/* ---------- Works: grade de capas ---------- */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.grid-sec { grid-column: 1 / -1; margin-top: clamp(28px, 4vw, 48px); padding: 0 0 10px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.grid-sec:first-child { margin-top: 0; }
@media (min-width: 680px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; width: 100%; height: 100%; }
.card span { display: block; }
.card-img { position: relative; aspect-ratio: 808 / 632; overflow: hidden; background: #000; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-img img, .card:focus-visible .card-img img { transform: scale(1.022); }
.card-play { position: absolute; top: 12px; right: 12px; opacity: 0; transition: opacity .2s; text-transform: uppercase; line-height: 1; }
.card:hover .card-play, .card:focus-visible .card-play { opacity: 1; }
.card-cap { display: grid; gap: 7px; align-content: start; justify-items: start; flex: 1; padding: 14px 16px 24px; }

[data-skin="fff"] .card { background: var(--bg); }
[data-skin="fff"] .card-cap { transition: background .15s; }
[data-skin="fff"] .card-title { font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .01em; text-transform: uppercase; }
[data-skin="fff"] .card-n { display: inline; font-weight: 400; }
[data-skin="fff"] .card-n::after { content: "\00a0·\00a0"; }
[data-skin="fff"] .card-meta { font-size: 11px; line-height: 1.55; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
[data-skin="fff"] .card-award { background: var(--accent); color: var(--on-accent); padding: 4px 7px; border-radius: var(--r); font-size: 11px; line-height: 1.25; text-transform: uppercase; }
[data-skin="fff"] .card-play { background: var(--accent); color: var(--on-accent); padding: 6px 9px; border-radius: var(--r); font-size: 11px; letter-spacing: .04em; }
[data-skin="fff"] .card:hover .card-cap, [data-skin="fff"] .card:focus-visible .card-cap { background: var(--accent); }
[data-skin="fff"] .card:hover .card-meta, [data-skin="fff"] .card:focus-visible .card-meta { color: var(--on-accent); }
[data-skin="fff"] .card:hover .card-award, [data-skin="fff"] .card:focus-visible .card-award { background: var(--on-accent); color: var(--accent); }

[data-skin="storm"] .card { background: var(--bg2); }
[data-skin="storm"] .card-cap { position: relative; gap: 8px; padding: 18px 18px 28px; }
[data-skin="storm"] .card-cap::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
[data-skin="storm"] .card:hover .card-cap::before, [data-skin="storm"] .card:focus-visible .card-cap::before { transform: scaleX(1); }
[data-skin="storm"] .card-title { font-family: var(--f-display); font-size: clamp(28px, 2.5vw, 38px); line-height: .92; text-transform: uppercase; }
[data-skin="storm"] .card-n { margin-bottom: 8px; font-family: var(--f-label); font-size: 14px; line-height: 1; letter-spacing: .16em; color: var(--dim); }
[data-skin="storm"] .card-meta { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
[data-skin="storm"] .card-award { font-family: var(--f-label); font-size: 14.5px; line-height: 1.2; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }
[data-skin="storm"] .card-play { background: var(--accent); color: var(--on-accent); padding: 8px 10px 6px; border-radius: 3px; font-family: var(--f-label); font-size: 14px; letter-spacing: .14em; }

/* ---------- AI Lab ---------- */
.lab { display: grid; gap: clamp(20px, 3.4vw, 56px); align-items: center; padding: clamp(22px, 3.4vw, 48px) var(--pad); border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .lab { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .lab--flip .lab-media { order: 2; }
}
.lab-media { display: block; width: 100%; overflow: hidden; }
.lab-media--loop { position: relative; background: #000; }
.lab-ab { position: absolute; inset: auto 0 0 0; display: grid; grid-template-columns: 1fr 1fr; pointer-events: none; }
.lab-ab span { padding: 22px 12px 10px; font-family: var(--f-label); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-align: left; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.72), transparent); }
.lab-ab span + span { color: var(--accent); }
[data-skin="fff"] .lab-ab span + span { color: #fff; }
.lab-media--loop video { width: 100%; height: auto; max-height: 78vh; aspect-ratio: 800 / 720; object-fit: contain; margin: 0 auto; }
.lab-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #000; }
.lab-fig { position: relative; display: block; overflow: hidden; aspect-ratio: 9 / 8; background: #000; }
.lab-fig--wide { aspect-ratio: 16 / 9; }
.lab-fig--main { grid-column: 1 / -1; }
.lab-fig video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.lab-fig:hover video { transform: scale(1.02); }
.lab-fig:not(.lab-fig--main) .lab-ab span { padding: 16px 8px 7px; font-size: 10px; }
.lab-ab--one { grid-template-columns: 1fr; }
.lab-text { display: grid; gap: 15px; justify-items: start; max-width: 62ch; }
.lab-boards { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.lab-boards button { width: 88px; aspect-ratio: 1632 / 960; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s; }
.lab-boards button:hover { box-shadow: 0 0 0 2px var(--accent); }
.lab-boards img { width: 100%; height: 100%; object-fit: cover; }

[data-skin="fff"] .lab-text h3 { font-size: clamp(20px, 2.5vw, 34px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; }
[data-skin="fff"] .lab-text p { font-size: 12.5px; line-height: 1.7; letter-spacing: .02em; text-transform: uppercase; }
[data-skin="fff"] .lab-text .fine { font-size: 11px; color: var(--muted); }

[data-skin="storm"] .lab-text h3 { font-family: var(--f-display); font-size: clamp(46px, 5.4vw, 84px); line-height: .86; text-transform: uppercase; }
[data-skin="storm"] .lab-text p { font-size: 16.5px; line-height: 1.6; }
[data-skin="storm"] .lab-text .fine { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Info ---------- */
.info { --focus: var(--info-fg); display: flex; flex-direction: column; gap: clamp(30px, 4.4vw, 60px); min-height: 78vh; margin-top: clamp(40px, 6vw, 90px); padding: clamp(56px, 8vw, 104px) var(--pad) clamp(44px, 6vw, 76px); background: var(--info-bg); color: var(--info-fg); }
.info-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.info-mark .fff-logo { width: clamp(170px, 20vw, 260px); }
.info-mark .lockup { --lw: clamp(280px, 46vw, 640px); }
[data-skin="fff"] .info-mark .lockup, [data-skin="storm"] .info-mark .fff-logo { display: none; }
.info-grid { display: grid; gap: clamp(30px, 4.4vw, 72px); }
@media (min-width: 900px) { .info-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; } }
.about { display: grid; gap: 20px; justify-items: start; }
.about-text { display: grid; gap: 1.05em; max-width: 66ch; }
.about-text[hidden] { display: none; }
.lang { display: flex; gap: 6px; }
.contact { display: grid; }
.contact a { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; text-decoration: none; transition: background .15s, color .15s; }
.contact span:last-child { text-align: right; overflow-wrap: anywhere; }

[data-skin="fff"] .chip { background: var(--on-accent); color: var(--accent); padding: 7px 12px; border-radius: var(--r); font-size: 12px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
[data-skin="fff"] .about-text p { font-size: clamp(12.5px, 1.05vw, 15px); line-height: 1.62; text-transform: uppercase; }
[data-skin="fff"] .about-text .lead { font-size: clamp(16px, 1.55vw, 22px); line-height: 1.45; }
[data-skin="fff"] .lang button { padding: 7px 11px; border-radius: var(--r); font-size: 12px; line-height: 1; text-transform: uppercase; letter-spacing: .04em; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
[data-skin="fff"] .lang button[aria-pressed="true"] { background: var(--on-accent); color: var(--accent); box-shadow: none; }
[data-skin="fff"] .contact { gap: 8px; font-size: 13px; text-transform: uppercase; }
[data-skin="fff"] .contact a { padding: 10px 12px; border-radius: var(--r); border-bottom: 1px solid rgba(255, 255, 255, .26); }
[data-skin="fff"] .contact a:hover { background: rgba(255, 255, 255, .16); }
[data-skin="fff"] .contact .hi a { background: var(--on-accent); color: var(--accent); font-weight: 700; border-bottom-color: transparent; }
[data-skin="fff"] .contact .hi a:hover { opacity: .88; }

[data-skin="storm"] .chip { font-family: var(--f-label); font-size: 16px; line-height: 1.1; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
[data-skin="storm"] .about-text p { font-size: 17px; line-height: 1.62; }
[data-skin="storm"] .about-text .lead { font-size: clamp(21px, 2.1vw, 30px); line-height: 1.3; font-weight: 500; }
[data-skin="storm"] .about-text a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
[data-skin="storm"] .about-text a:hover { color: var(--accent); }
[data-skin="storm"] .lang { gap: 22px; }
[data-skin="storm"] .lang button { font-family: var(--f-label); font-size: 16px; line-height: 1; letter-spacing: .15em; text-transform: uppercase; padding: 6px 0 4px; border-bottom: 2px solid transparent; color: var(--muted); }
[data-skin="storm"] .lang button[aria-pressed="true"] { color: var(--fg); border-bottom-color: var(--accent); }
[data-skin="storm"] .contact { border-top: 1px solid var(--line); }
[data-skin="storm"] .contact a { padding: 17px 0 14px; border-bottom: 1px solid var(--line); font-family: var(--f-label); text-transform: uppercase; }
[data-skin="storm"] .contact span:first-child { font-size: 14.5px; letter-spacing: .16em; color: var(--muted); }
[data-skin="storm"] .contact span:last-child { font-size: clamp(18px, 1.6vw, 22px); letter-spacing: .07em; }
[data-skin="storm"] .contact a:hover span:last-child, [data-skin="storm"] .contact .hi span:last-child { color: var(--accent); }

/* ---------- Rodapé ---------- */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px var(--pad) 28px; background: var(--bg); color: var(--muted); font-size: 11px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
[data-skin="storm"] .foot > span:first-child { font-family: var(--f-label); font-size: 14px; letter-spacing: .15em; }

/* ---------- Player ---------- */
.player { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--fg); overflow: auto; overscroll-behavior: contain; }
.player::backdrop { background: var(--bg); }
.player-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px var(--pad); background: var(--bg); border-bottom: 1px solid var(--line); }
.player-nav { display: flex; gap: 6px; }
.player-body { display: grid; gap: clamp(18px, 2.6vw, 40px); padding: clamp(14px, 2vw, 28px) var(--pad) 56px; }
@media (min-width: 1000px) {
  .player-body { grid-template-columns: minmax(0, 1fr) minmax(300px, 410px); align-items: start; }
  .player-stage { position: sticky; top: 78px; }
}
.stage { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100dvh - 150px); background: #000; overflow: hidden; }
.stage > * { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stage img, .stage video { object-fit: contain; }
.stage-link { display: grid; place-items: center; }
.stage-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.stage-link .btn { position: relative; }
.player-stage .proto { margin-top: 10px; }
.player-stage .proto[hidden] { display: none; }
.player-info { display: grid; gap: 14px; align-content: start; justify-items: start; min-width: 0; }
.player-info > * { max-width: 100%; }
.p-award:empty, .p-meta:empty, .p-list:empty, .p-links:empty { display: none; }
.p-list { display: grid; gap: 2px; width: 100%; }
.p-list button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; align-items: baseline; width: 100%; padding: 10px 11px; transition: background .15s, color .15s; }
.p-list span { display: block; }
.pl-sub { grid-column: 1; }
.pl-dur { grid-column: 2; grid-row: 1; }
.p-desc { display: grid; gap: 1em; }
.p-links { display: flex; gap: 8px; flex-wrap: wrap; }

[data-skin="fff"] .player-count { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
[data-skin="fff"] .p-kind { background: var(--accent); color: var(--on-accent); padding: 4px 8px; border-radius: var(--r); font-size: 11px; line-height: 1.2; text-transform: uppercase; }
[data-skin="fff"] .player-info h2 { font-size: clamp(18px, 1.7vw, 24px); font-weight: 700; line-height: 1.25; text-transform: uppercase; }
[data-skin="fff"] .p-meta { font-size: 11px; line-height: 1.6; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
[data-skin="fff"] .p-award { box-shadow: inset 0 0 0 1px var(--fg); padding: 5px 8px; border-radius: var(--r); font-size: 11px; line-height: 1.25; text-transform: uppercase; }
[data-skin="fff"] .p-list { border: 1px solid var(--line); border-radius: var(--r); padding: 2px; }
[data-skin="fff"] .p-list button { border-radius: 3px; font-size: 12px; line-height: 1.4; text-transform: uppercase; }
[data-skin="fff"] .pl-sub, [data-skin="fff"] .pl-dur { font-size: 11px; color: var(--muted); }
[data-skin="fff"] .p-list button:hover { background: var(--bg2); }
[data-skin="fff"] .p-list button[aria-current="true"] { background: var(--accent); color: var(--on-accent); }
[data-skin="fff"] .p-list button[aria-current="true"] .pl-sub, [data-skin="fff"] .p-list button[aria-current="true"] .pl-dur { color: rgba(255, 255, 255, .86); }
[data-skin="fff"] .p-desc p { font-size: 12.5px; line-height: 1.7; letter-spacing: .02em; text-transform: uppercase; }
[data-skin="fff"] .p-credits { font-size: 11px; line-height: 1.6; text-transform: uppercase; color: var(--muted); }

[data-skin="storm"] .player-count { font-family: var(--f-label); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
[data-skin="storm"] .p-kind { font-family: var(--f-label); font-size: 15px; line-height: 1.1; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
[data-skin="storm"] .player-info h2 { font-family: var(--f-display); font-size: clamp(38px, 3.5vw, 56px); line-height: .88; text-transform: uppercase; }
[data-skin="storm"] .p-meta { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
[data-skin="storm"] .p-award { font-family: var(--f-label); font-size: 15px; line-height: 1.2; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }
[data-skin="storm"] .p-list { border-top: 1px solid var(--line); gap: 0; }
[data-skin="storm"] .p-list button { padding: 12px 0 11px 12px; border-bottom: 1px solid var(--line); box-shadow: inset 2px 0 0 transparent; font-size: 15px; font-weight: 500; line-height: 1.3; }
[data-skin="storm"] .pl-sub { font-size: 13px; font-weight: 400; color: var(--muted); }
[data-skin="storm"] .pl-dur { font-family: var(--f-label); font-size: 14px; letter-spacing: .1em; color: var(--muted); }
[data-skin="storm"] .p-list button:hover { background: var(--bg2); }
[data-skin="storm"] .p-list button[aria-current="true"] { box-shadow: inset 2px 0 0 var(--accent); color: var(--accent); }
[data-skin="storm"] .p-desc p { font-size: 16px; line-height: 1.6; }
[data-skin="storm"] .p-credits { font-size: 13px; line-height: 1.55; color: var(--muted); }

/* ---------- Celular ---------- */
@media (max-width: 720px) {
  :root { --head: 104px; }
  .top { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand skin" "nav nav"; row-gap: 12px; padding: 14px var(--pad) 10px; }
  .top.is-solid { padding-block: 10px 8px; row-gap: 8px; }
  .nav { justify-content: space-between; }
  [data-skin="fff"] .nav { margin-inline: -6px; }
  [data-skin="storm"] .nav { margin-right: 0; gap: 12px; }
  [data-skin="storm"] .nav a { font-size: 16px; }
  .fff-logo { width: 112px; }
  .top.is-solid .fff-logo { width: 72px; }
  .brand-sub { font-size: 9.5px; letter-spacing: .1em; }
  .lockup { --lw: 216px; }
  .top.is-solid .lockup { --lw: 150px; }
  .hero-hud { bottom: 22px; }
  [data-skin="storm"] .hero-hud { bottom: 68px; }
  .hero-actions { width: 100%; }
  .player-bar { padding-block: 10px; }
  .stage { max-height: none; }
}
@media (hover: none) { .card-play { opacity: 1; } }

/* ---------- Comerciais e clipes, um por um ---------- */
.selects { padding: 44px var(--pad) 0; }
.selects-title { margin: 0 0 14px; font-family: var(--f-label); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
[data-skin="fff"] .selects-title { color: var(--fg); }
.selects-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
@media (min-width: 760px) { .selects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .selects-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { display: block; width: 100%; text-align: left; }
.tile span { display: block; }
.tile-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; margin-bottom: 8px; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-label { font-family: var(--f-label); font-size: 14px; line-height: 1.25; text-transform: uppercase; letter-spacing: .03em; color: var(--fg); }
.tile-sub { margin-top: 3px; font-size: 12px; line-height: 1.35; opacity: .6; }

/* ---------- HQ: páginas com marca d'água, rolagem lateral ---------- */
.stage-pages { display: flex; gap: 4px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; -webkit-user-select: none; user-select: none; }
.stage .stage-pages img { position: static; flex: 0 0 auto; width: auto; height: 100%; scroll-snap-align: start; -webkit-user-drag: none; pointer-events: none; }

/* ---------- Prévias em vídeo sobre a capa ---------- */
.card-img .prev, .tile-img .prev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; pointer-events: none; }
.card-img .prev.is-on, .tile-img .prev.is-on { opacity: 1; }

.btn[hidden] { display: none; }

/* ---------- Aviso de cookies (js/analytics.js) e "Cookie settings" no rodapé ---------- */
.foot-link { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.foot-link:hover { color: var(--fg); }
.foot-link[hidden] { display: none; }
.consent { position: fixed; z-index: 60; left: var(--pad); bottom: var(--pad); width: min(440px, calc(100vw - 2 * var(--pad))); max-height: calc(100vh - 2 * var(--pad)); overflow: auto; padding: 16px 18px; background: var(--bg2); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 10px 40px rgba(0, 0, 0, .55); font: 13px/1.5 var(--f-body); }
.consent p { margin: 0 0 10px; }
.consent a { color: inherit; }
.consent details { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.consent summary { cursor: pointer; color: var(--fg); margin-bottom: 6px; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent-actions .btn { flex: 1; }

/* Abertura: assinatura em macro (assets/intro/marca_16x9.mp4 ou _9x16.mp4) em tela cheia, só na entrada pela página inicial.
   Termina num glitch e corta seco para o site (.is-cut); pular com clique some em fade (.is-out). */
.intro { display: none; }
html.intro-on .intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #111113; cursor: pointer; opacity: 1; visibility: visible; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
html.intro-on .intro.is-out { opacity: 0; visibility: hidden; }
.intro-v { display: block; width: 100vw; height: 100vh; height: 100dvh; object-fit: cover; background: #111113; }
html.intro-on .intro.is-cut { opacity: 0; visibility: hidden; transition: none; }
.foot-links { display: inline-flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* Som (19/11): o navegador barrou o som; o botão pisca de leve até o primeiro gesto do visitante */
#heroSound.is-waiting{animation:ffSoundWait 1.6s ease-in-out infinite}
@keyframes ffSoundWait{0%,100%{opacity:1}50%{opacity:.55}}
@media (prefers-reduced-motion: reduce){#heroSound.is-waiting{animation:none}}

/* Porta da abertura (19/11): só aparece quando o navegador barra o som. Tela toda clicável. */
.intro-gate[hidden] { display: none; }
.intro-gate { position: absolute; left: 50%; bottom: 14vh; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 1rem 2.2rem; border: 2px solid currentColor; border-radius: 0; background: rgba(17,17,19,.55); color: #F6C81C; font: 800 clamp(1.6rem, 4vw, 2.6rem)/1 'Big Shoulders Display', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; animation: ffGate 1.8s ease-in-out infinite; }
.intro-gate-s { font: 700 .8rem/1 'Space Mono', ui-monospace, monospace; letter-spacing: .14em; color: #EAE5DA; }
.intro-gate:focus-visible { outline: 3px solid #EAE5DA; outline-offset: 4px; }
@keyframes ffGate { 0%,100% { opacity: 1 } 50% { opacity: .7 } }
@media (prefers-reduced-motion: reduce) { .intro-gate { animation: none; } }
.sound-gate { position: fixed; inset: 0; z-index: 210; background: rgba(17,17,19,.72); cursor: pointer; }

/* HQ (19/11): páginas no idioma do visitante + troca EN / ES / FR por cima do leitor */
.stage .stage-pages-wrap .stage-pages { position: absolute; inset: 0; }
.hq-langs { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; gap: 4px; padding: 4px; background: rgba(0,0,0,.6); border-radius: var(--r, 4px); }
.stage .hq-langs { width: auto; height: auto; inset: 10px 10px auto auto; }
.hq-langs button { padding: 6px 10px; font: 600 11px/1 'Space Mono', ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: #EAE5DA; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 3px; cursor: pointer; }
.hq-langs button[aria-pressed="true"] { background: #F6C81C; color: #111113; border-color: #F6C81C; }
.hq-langs button:focus-visible { outline: 2px solid #F6C81C; outline-offset: 2px; }

/* Apps & System (19/11) */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; margin: 0 var(--pad); background: var(--line); border: 1px solid var(--line); }
.app-card { display: grid; gap: 12px; align-content: start; justify-items: start; padding: clamp(20px, 2.6vw, 34px); background: var(--bg, #0b0b0b); }
.app-card h3 { margin: 0; }
.app-card .btn { margin-top: 6px; }
.app-card--live { box-shadow: inset 0 3px 0 var(--accent); }
.lab.system { grid-template-columns: 1fr; margin-top: clamp(22px, 3vw, 40px); }
.sys-list { display: grid; gap: 8px; margin: 4px 0; padding: 0; list-style: none; }
.sys-list li { padding-left: 14px; border-left: 2px solid var(--accent); line-height: 1.5; }
.sys-list b { display: inline-block; min-width: 72px; margin-right: 8px; font-family: var(--f-label); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* Abertura esperando o primeiro clique (som barrado pelo navegador): uma linha discreta, sem botão. */
.intro-hint { display: none; }
html.intro-on .intro.is-waiting .intro-hint { display: block; position: absolute; left: 0; right: 0; bottom: 12vh; margin: 0; text-align: center; color: #EAE5DA; font: 700 .8rem/1 'Space Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; opacity: 0; animation: ffHint .6s ease .5s forwards, ffGate 1.8s ease-in-out 1.1s infinite; pointer-events: none; }
@keyframes ffHint { to { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { html.intro-on .intro.is-waiting .intro-hint { animation: ffHint .01s linear forwards; } }

/* ---------- 20/11: faixa de logos ao lado do FFF (pedido dele: "em frente o fff no canto, logos de grandes marcas e agências") ---------- */
.top { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "brand logos nav skin"; }
/* 20/11: logo parado em cima do "Corte Seco · AI Director", ao lado do FFF; corte seco a cada 10 quadros (24 fps).
   Posição medida no JS (--cl-x/--cl-y/--cl-h/--cl-w) a partir do logo FFF e do subtítulo. */
.clients { position: absolute; left: var(--cl-x, 180px); top: var(--cl-y, 20px); height: var(--cl-h, 46px); width: var(--cl-w, 115px); margin: 0; pointer-events: none; }
.clients-slot { position: relative; width: 100%; height: 100%; }
.clients-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left bottom; opacity: 0; filter: drop-shadow(0 1px 6px rgba(0,0,0,.45)); }
.clients-slot img.on { opacity: .92; }
.brand-skill { color: #F6C81C; }
[data-skin="storm"] .clients { display: none; }
@media (max-width: 720px) {
  .top { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand logos skin" "nav nav nav"; }
}

/* 20/11: HQ em tela cheia */
.hq-langs .hq-fs { border-color: #F6C81C; color: #F6C81C; }
.stage-pages-wrap:fullscreen, .stage-pages-wrap:-webkit-full-screen { background: #000; width: 100vw; height: 100vh; }
.stage-pages-wrap:fullscreen .stage-pages, .stage-pages-wrap:-webkit-full-screen .stage-pages { position: absolute; inset: 0; height: 100%; }
.stage-pages-wrap:fullscreen .stage-pages img, .stage-pages-wrap:-webkit-full-screen .stage-pages img { height: 100%; width: auto; }
.stage-pages-wrap.is-full { position: fixed !important; inset: 0 !important; z-index: 9999; background: #000; width: 100vw !important; height: 100vh !important; height: 100dvh !important; }
.stage-pages-wrap.is-full .stage-pages { position: absolute; inset: 0; }
.stage-pages-wrap.is-full .stage-pages img { height: 100%; width: auto; }

/* 20/11: Folle de Toi — 4 planos verticais lado a lado */
.lab-stack--4 { grid-template-columns: repeat(4, 1fr); }
.lab-fig--tall { aspect-ratio: 3 / 4; }
@media (max-width: 720px) { .lab-stack--4 { grid-template-columns: 1fr 1fr; } }

/* 20/11: louros dos festivais (Xondaro) na abertura, um por vez, em corte seco. */
.hero-laurels { position: relative; width: clamp(150px, 17vw, 230px); aspect-ratio: 640 / 430; margin: 0 0 6px -8px; pointer-events: none; }
.hero-laurels[hidden] { display: none; }
.hero-laurels img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; filter: drop-shadow(0 1px 8px rgba(0,0,0,.6)); }
.hero-laurels img.on { opacity: 1; }

.p-laurels { position: relative; width: min(220px, 60%); aspect-ratio: 640 / 430; margin: 12px 0 4px -8px; }
.p-laurels[hidden] { display: none; }
.p-laurels img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.p-laurels img.on { opacity: 1; }

/* 20/11: idioma do site todo, no menu. */
.nav-lang { display: flex; gap: 2px; align-items: center; margin-left: 8px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .35); }
.nav-lang button { font: inherit; font-size: 11px; line-height: 1; letter-spacing: .06em; padding: 6px 5px; color: inherit; opacity: .6; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); background: none; border: 0; cursor: pointer; }
.nav-lang button:hover { opacity: .9; }
.nav-lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
@media (max-width: 720px) {
  [data-skin="fff"] .nav { margin-inline: 0; gap: 0; }
  [data-skin="fff"] .nav a { padding: 7px 6px; font-size: 11px; letter-spacing: .02em; }
  [data-skin="storm"] .nav { gap: 8px; }
  [data-skin="storm"] .nav a { font-size: 14px; letter-spacing: .08em; }
  .nav-lang { margin-left: 2px; padding-left: 5px; gap: 0; }
  .nav-lang button { padding: 6px 3px; font-size: 10.5px; letter-spacing: .02em; }
}

/* 20/11: HQ em seção própria, por último antes das infos */
.hq { padding-top: clamp(40px, 6vw, 90px); }

/* 20/11: Apps & System em duas frentes — os apps juntos, a IA/sistema junto */
.apps-two { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .apps-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.app-item { display: grid; gap: 10px; justify-items: start; width: 100%; }
.app-item + .app-item { padding-top: 18px; border-top: 1px solid var(--line); }
.app-card--live { gap: 18px; }
