/* Páginas internas da Flyah (soluções por perfil, portfólio, sobre).
   Mesmo idioma visual da Home: fundo preto, verde #93C514, títulos em Barlow Condensed 800,
   rótulos em caixa alta espaçada. Gerado junto com tools/paginas.py. */
:root {
  --verde: #93C514;
  --cinza: #8C8C8C;
  --cinza-claro: #B8B8B8;
  --linha: #2A2A2A;
  --linha-forte: #3A3A3A;
  --pad: clamp(20px, 3.4vw, 56px);
  --largura: 1560px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: #000; color: #fff; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: #000; color: #fff; font-family: 'Barlow', system-ui, sans-serif; font-size:clamp(16px,1.171vw,21px); line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }
.fx-pular { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--verde); color: #000; padding: 12px 18px; font-weight: 600; }
.fx-pular:focus { left: 12px; top: 12px; }

/* ---------- cabeçalho (igual ao da Home) ---------- */
.fx-hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 120; border-bottom: 1px solid transparent; transition: background-color .45s cubic-bezier(.4,0,.2,1), border-color .45s; }
.fx-hdr[data-stuck] { background-color: rgba(0,0,0,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: #1a1a1a; }
.fx-hdr-in { max-width: var(--largura); margin: 0 auto; padding: 20px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fx-logo { line-height: 0; flex: 0 0 auto; }
.fx-logo img { width: clamp(104px, 9vw, 132px); height: auto; }
.fx-nav { display: flex; align-items: center; gap: clamp(22px, 2.4vw, 40px); }
.fx-nav > a, .fx-dd > a { font-size:clamp(13px,0.952vw,17px); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cinza-claro); transition: color .3s; }
.fx-nav > a:hover, .fx-dd > a:hover, .fx-nav a[aria-current="page"] { color: #fff; }
.fx-nav > a.fx-btn { color: #000; }
.fx-dd { position: relative; }
.fx-dd > a::after { content: ''; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-right: 1.3px solid var(--verde); border-bottom: 1.3px solid var(--verde); transform: translateY(-3px) rotate(45deg); }
.fx-dd-menu { position: absolute; top: 100%; left: -20px; padding-top: 18px; display: none; }
.fx-dd-menu > div { min-width: 300px; background: rgba(12,12,12,.5); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); border: 1px solid rgba(255,255,255,.08); border-top-color: rgba(147,197,20,.6); box-shadow: 0 24px 48px -28px rgba(0,0,0,.7); padding: 8px 0; display: flex; flex-direction: column; }
.fx-dd-menu a { padding: 11px 20px; font-size:clamp(13px,0.952vw,17px); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cinza-claro); transition: color .3s, background-color .3s; }
.fx-dd-menu a:hover, .fx-dd-menu a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.05); }
.fx-dd-menu a span { color: var(--verde); margin-right: 6px; }
.fx-dd:hover .fx-dd-menu, .fx-dd:focus-within .fx-dd-menu { display: block; }
.fx-burger { display: none; width: 48px; height: 48px; background: none; border: 0; padding: 13px; cursor: pointer; align-content: center; gap: 7px; }
.fx-burger span { display: block; height: 1.5px; background: #fff; }
.fx-prog { height: 2px; background: rgba(255,255,255,.06); }
.fx-prog > div { height: 100%; background: var(--verde); transform: scaleX(0); transform-origin: 0 50%; }

.fx-menu { position: fixed; inset: 0; z-index: 130; background: #000; display: none; flex-direction: column; padding: 20px clamp(20px,6vw,48px) 44px; overflow-y: auto; }
.fx-menu[data-aberto] { display: flex; }
.fx-menu-topo { display: flex; align-items: center; justify-content: space-between; }
.fx-menu-topo img { width: 118px; height: auto; }
.fx-menu-fechar { width: 48px; height: 48px; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; line-height: 1; }
.fx-menu nav { margin: auto 0; padding: 28px 0; display: flex; flex-direction: column; gap: 2px; }
.fx-menu nav > a { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(36px, 10.5vw, 60px); font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; line-height: 1.08; padding: 4px 0; }
.fx-menu nav > a[aria-current="page"] { color: var(--verde); }
.fx-menu-sub { display: flex; flex-direction: column; gap: 4px; padding: 4px 0 12px 2px; }
.fx-menu-sub a { font-size:clamp(14px,1.025vw,18px); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cinza-claro); padding: 6px 0; }
.fx-menu-sub a span { color: var(--verde); margin-right: 6px; }
.fx-menu-sub a[aria-current="page"] { color: #fff; }
.fx-menu .fx-btn { text-align: center; padding: 19px; font-size:clamp(14px,1.025vw,18px); }

@media (max-width: 900px) {
  .fx-nav { display: none; }
  .fx-burger { display: grid; }
}

/* ---------- peças comuns ---------- */
.fx-wrap { max-width: var(--largura); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.fx-rot { margin: 0; font-size:clamp(12px,0.878vw,16px); font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--verde); }
.fx-rot-cinza { color: var(--cinza); }
.fx-h1, .fx-h2, .fx-h3 { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; line-height: .9; }
.fx-h1 { font-size: clamp(42px, 6.6vw, 108px); max-width: 17ch; text-wrap: balance; }
.fx-h2 { font-size: clamp(34px, 4.6vw, 72px); max-width: 20ch; text-wrap: balance; }
.fx-h3 { font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.02em; line-height: .95; }
.fx-verde { color: var(--verde); }
.fx-lead { margin: 0; font-size:clamp(16px,1.25vw,25px); line-height: 1.65; color: var(--cinza-claro); max-width: 58ch; }
.fx-txt { margin: 0; font-size:clamp(16px,1.1vw,22px); line-height: 1.65; color: var(--cinza-claro); max-width: 62ch; }
.fx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--verde); color: #000; padding: 12px 24px; font-size:clamp(13px,0.952vw,17px); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; transition: background-color .3s, color .3s; }
.fx-btn:hover { background: #fff; color: #000; }
.fx-btn-g { padding: 18px 30px; font-size:clamp(14px,1.025vw,18px); }
.fx-link { display: inline-flex; align-items: center; gap: 12px; font-size:clamp(13px,0.952vw,17px); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #fff; transition: color .3s; }
.fx-link:hover { color: var(--verde); }
.fx-link svg { flex: 0 0 auto; }
.fx-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.fx-secao { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid #161616; }
.fx-cab { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); }

/* ---------- topo das páginas ---------- */
.fx-hero { position: relative; min-height: clamp(560px, 92svh, 980px); display: flex; align-items: flex-end; overflow: hidden; background: #050505; }
.fx-hero-bg { position: absolute; inset: 0; }
.fx-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity 1.2s ease; }
/* quando o vídeo do topo toca, a capa sai junto: o vídeo é translúcido e ela aparecia por baixo, sobreposta (07/10) */
.fx-hero-bg:has(.fx-hero-video[data-tocando]) > img { opacity: 0 !important; }
.fx-hero-video { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.fx-hero-video iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); translate: -50% -50%; border: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.fx-hero-video[data-tocando] iframe { opacity: .7; }
.fx-hero-ovl { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 30%, rgba(0,0,0,.55) 62%, #000 100%), linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 70%); }
.fx-hero-in { position: relative; width: 100%; padding-top: 140px; padding-bottom: clamp(56px, 8vw, 110px); display: flex; flex-direction: column; gap: 24px; }
.fx-hero-in .fx-acoes { margin-top: 10px; }
.fx-hero-curto { min-height: auto; background: #000; }
.fx-hero-curto .fx-hero-in { padding-top: clamp(150px, 18vw, 220px); padding-bottom: clamp(48px, 6vw, 80px); }

/* frase de marca */
.fx-frase { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid #161616; }
.fx-frase blockquote { margin: 0; display: flex; flex-direction: column; gap: 22px; }
.fx-frase blockquote p { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; line-height: .9; font-size: clamp(40px, 7vw, 120px); max-width: 16ch; }
.fx-frase cite { font-style: normal; }

/* modalidades: o que cada recurso constrói */
.fx-mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 40px); }
.fx-mod { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--linha); }
.fx-mod:first-child { border-top-color: var(--verde); }
.fx-mod .fx-num { font-size:clamp(12px,0.878vw,16px); font-weight: 600; letter-spacing: .28em; color: var(--verde); }
.fx-mod p { margin: 0; font-size:clamp(16px,1.171vw,21px); line-height: 1.6; color: var(--cinza-claro); }

/* formatos */
.fx-formatos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fx-formatos li { border: 1px solid var(--linha-forte); padding: 11px 16px; font-size:clamp(13px,0.952vw,17px); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--cinza-claro); }

/* lista com marcador verde */
.fx-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 820px; }
.fx-lista li { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-top: 1px solid #161616; font-size:clamp(16px,1.1vw,22px); line-height: 1.55; color: #fff; }
.fx-lista li::before { content: ''; flex: 0 0 18px; height: 1.3px; background: var(--verde); transform: translateY(-5px); }

/* cases em vídeo */
.fx-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 36px); }
.fx-case { display: flex; flex-direction: column; gap: 12px; }
.fx-case[hidden] { display: none; }
/* caixa de vídeo no preset dos filmes da Home: prévia muda em loop (cobre a caixa, com sobra de 7%
   para esconder a borda do player), capa até tocar de verdade, barra no canto de cima à direita */
.fx-vid { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #111; overflow: hidden; container-type: size; margin-bottom: 6px; }
.fx-vid::after { content: ''; position: absolute; inset: -1px; z-index: 2; pointer-events: none; box-shadow: inset 0 0 0 3px #000; }
.fx-vid-capa { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.fx-vid-lente { position: absolute; inset: 0; }
/* lente do filme institucional da Home: depois que o filme já abriu uma vez, parado fica desfocado
   e mais perto; com o mouse em cima entra em foco e toca. Antes de abrir, a capa fica nítida (07/10).
   Só no computador; no toque a caixa fica nítida */
@media (hover: hover) and (pointer: fine) {
  .fx-vid-lente { transition: filter .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
  .fx-vid[data-aberto] .fx-vid-lente { filter: blur(10px) brightness(.72) saturate(.8); transform: scale(1.14); }
  .fx-vid:hover .fx-vid-lente, .fx-vid[data-teatro] .fx-vid-lente, .fx-vid:fullscreen .fx-vid-lente, .fx-vid[data-pfs] .fx-vid-lente { filter: none; transform: none; }
}
/* modo teatro: a caixa sai do card e cresce até o meio da tela sobre fundo preto */
.fx-vid-lugar { width: 100%; margin-bottom: 6px; }
.fx-teatro-fundo { position: fixed; inset: 0; z-index: 490; background: #000; opacity: 0; transition: opacity .75s ease; cursor: pointer; }
.fx-vid[data-teatro] { z-index: 491; aspect-ratio: auto; scale: none !important; transform: none !important; }
.fx-vid[data-teatro] .fx-vid-lente { animation: none !important; }
.fx-vid[data-teatro] .fx-vid-barra, .fx-vid[data-teatro] .fx-vid-abrir { display: none; }
.fx-vid[data-teatro] .fx-vid-fs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; flex-direction: column; gap: 6px; padding: 48px clamp(12px, 2vw, 28px) clamp(12px, 1.6vw, 22px); background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.85) 100%); transition: opacity .5s ease; }
.fx-teatro-x { position: absolute; top: 14px; left: 14px; z-index: 6; width: 48px; height: 48px; border: 0; border-radius: 0; background: var(--verde); color: #000; font: 600 30px/1 'Barlow', sans-serif; cursor: pointer; transition: background .25s; }
.fx-teatro-x:hover { background: #fff; }
.fx-vid:fullscreen .fx-teatro-x { display: none; }
html[data-teatro-on] .fx-case, html[data-teatro-on] .fx-principal, html[data-teatro-on] [data-reveal] { transform: none !important; scale: none !important; translate: none !important; filter: none !important; }
.fx-vid iframe { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: max(calc(100cqw * 1.07), calc(100cqh * var(--r, 1.7778) * 1.07)); height: max(calc(100cqh * 1.07), calc(100cqw / var(--r, 1.7778) * 1.07)); border: 0; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.fx-vid[data-tocando] iframe { opacity: 1; }
.fx-vid-abrir { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.fx-vid-barra { position: absolute; top: 0; right: 0; z-index: 4; padding: clamp(12px, 1.4vw, 20px); display: flex; gap: 8px; opacity: 0; pointer-events: none; transition: opacity .35s; }
.fx-vid:hover .fx-vid-barra, .fx-vid:focus-within .fx-vid-barra, .fx-vid-barra:focus-within { opacity: 1; pointer-events: auto; }
@media (hover: none) { .fx-vid-barra { opacity: 1; pointer-events: auto; } }
.fx-vid-barra button, .fx-vid-fs button { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; background: rgba(0,0,0,.55); border: 1px solid var(--linha-forte); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .3s, background-color .3s; }
.fx-vid-barra button:hover, .fx-vid-fs button:hover { border-color: #fff; }
.fx-vid-barra button[data-v="som"], .fx-vid-fs button[data-v="som"] { background: var(--verde); border: 0; }
.fx-vid-barra button[data-v="som"]:hover, .fx-vid-fs button[data-v="som"]:hover { background: #fff; }
/* ícones trocados pelo estado que o paginas.js marca no vídeo e na barra (data-v-pausado, data-v-som) */
[data-i="play"], [data-v-pausado] [data-i="pause"], [data-i="comsom"], [data-v-som] [data-i="mudo"] { display: none; }
[data-v-pausado] [data-i="play"], [data-v-som] [data-i="comsom"] { display: block; }
/* barra do vídeo do topo: fica no canto de baixo do topo, por cima do degradê */
.fx-vid-barra.fx-vid-barra-topo { top: auto; bottom: 0; z-index: 2; padding: 0 var(--pad) clamp(56px, 8vw, 110px); opacity: 1; pointer-events: auto; }
@media (max-width: 759px) { .fx-vid-barra.fx-vid-barra-topo { top: 76px; bottom: auto; padding: 0 var(--pad); } }
.fx-hero-video .fx-vid-abrir, .fx-hero-video::after { display: none; }
.fx-hero-video.fx-vid { position: absolute; inset: 0; width: auto; aspect-ratio: auto; margin: 0; background: transparent; }
.fx-hero-video.fx-vid[data-tocando] iframe { opacity: .7; }
.fx-hero-video.fx-vid:fullscreen iframe, .fx-hero-video.fx-vid[data-pfs] iframe { opacity: 1; }

/* tela cheia: o filme inteiro, do início e com som; barra embaixo como a da Home */
.fx-vid-fs { display: none; }
.fx-vid:fullscreen, .fx-vid[data-pfs] { background: #000; animation: none !important; transform: none !important; translate: none !important; scale: none !important; }
.fx-vid[data-pfs] { position: fixed !important; inset: 0 !important; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; margin: 0 !important; z-index: 2147483000 !important; transform: none !important; translate: none !important; scale: none !important; animation: none !important; opacity: 1 !important; }
html[data-pfs-on], html[data-pfs-on] body { overflow: hidden !important; }
html[data-pfs-on] .fx-hero-bg, html[data-pfs-on] [data-reveal] { transform: none !important; }
.fx-vid:fullscreen iframe, .fx-vid[data-pfs] iframe { top: 0; left: 0; translate: none; width: 100%; height: 100%; opacity: 1; pointer-events: none; }
.fx-vid:fullscreen .fx-vid-barra, .fx-vid[data-pfs] .fx-vid-barra, .fx-vid:fullscreen .fx-vid-capa, .fx-vid[data-pfs] .fx-vid-capa, .fx-vid:fullscreen .fx-vid-abrir, .fx-vid[data-pfs] .fx-vid-abrir, .fx-vid:fullscreen::after, .fx-vid[data-pfs]::after { display: none; }
.fx-vid:fullscreen .fx-vid-fs, .fx-vid[data-pfs] .fx-vid-fs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; flex-direction: column; gap: 6px; padding: clamp(40px, 8vh, 90px) clamp(12px, 2.4vw, 40px) max(clamp(12px, 2vw, 28px), env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.85) 100%); transition: opacity .5s ease; }
html[data-fsidle] .fx-vid-fs { opacity: 0; pointer-events: none; }
html[data-fsidle] .fx-vid:fullscreen { cursor: none; }
.fx-vid-fs-linha { display: flex; align-items: center; gap: 8px; }
.fx-vid-fs-titulo { flex: 1; min-width: 0; margin-left: 10px; font-size:clamp(12px,0.878vw,16px); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #D9D9D9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-vid-tempo { font-size:clamp(12px,0.878vw,16px); font-weight: 600; letter-spacing: .18em; font-variant-numeric: tabular-nums; color: #D9D9D9; white-space: nowrap; }
.fx-vid-trilho { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.fx-vid-trilho > div { position: relative; flex: 1; height: 3px; background: rgba(255,255,255,.22); }
.fx-vid-trilho > div > div { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--verde); }
.fx-vid-trilho:hover > div { height: 5px; }
@media (max-width: 759px) { .fx-vid-fs-titulo { display: none; } }
.fx-case .fx-rot { font-size:clamp(12px,0.878vw,16px); }
.fx-case h3 { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; }
.fx-case p.fx-case-d { margin: 0; font-size:clamp(16px,1.171vw,21px); line-height: 1.6; color: var(--cinza-claro); }

/* filtros do portfólio */
.fx-filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 4vw, 56px); }
.fx-filtros button { background: none; border: 1px solid var(--linha-forte); padding: 11px 16px; font-size:clamp(12px,0.878vw,16px); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cinza-claro); cursor: pointer; transition: border-color .3s, color .3s, background-color .3s; }
.fx-filtros button:hover { border-color: #fff; color: #fff; }
.fx-filtros button[aria-pressed="true"] { background: var(--verde); border-color: var(--verde); color: #000; }

/* números e credenciais (mesmo desenho da Home) */
.fx-provas { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 72px); }
.fx-prova { flex: 1 1 220px; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--linha); }
.fx-prova:first-child { border-top-color: var(--verde); }
.fx-prova strong { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(44px, 5.6vw, 80px); font-weight: 800; letter-spacing: -.04em; line-height: .86; text-transform: uppercase; }
.fx-prova strong.fx-menor { font-size: clamp(30px, 3vw, 44px); line-height: .95; letter-spacing: -.02em; }
.fx-prova span { font-size:clamp(12px,0.878vw,16px); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--cinza); line-height: 1.6; }

.fx-duas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 6vw, 110px); align-items: start; }
.fx-estados { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(48px, 7vw, 110px); letter-spacing: -.03em; line-height: .9; text-transform: uppercase; }
.fx-estados span { color: var(--verde); }

/* portas para as outras soluções */
.fx-portas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); border-top: 1px solid var(--linha); }
.fx-porta { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 32px 0; border-bottom: 1px solid var(--linha); transition: color .3s; }
.fx-porta strong { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(26px, 2.4vw, 36px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.fx-porta:hover strong { color: var(--verde); }

/* chamada final (igual à Home) */
.fx-cta { padding: clamp(96px, 13vw, 190px) 0; border-top: 1px solid #161616; text-align: center; }
.fx-cta .fx-wrap { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.fx-cta .fx-h2 { max-width: 18ch; font-size: clamp(38px, 5.6vw, 92px); }
.fx-cta .fx-acoes { justify-content: center; }

/* sobre: bloco do fundador */
.fx-fundador { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.fx-foto { position: relative; aspect-ratio: 4 / 5; background: #050505; border: 1px solid var(--linha); display: flex; align-items: flex-end; overflow: hidden; }
.fx-foto::before { content: ''; position: absolute; inset: 18px; border: 1px dashed var(--linha-forte); }
.fx-foto::after { content: 'B'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -58%); font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(120px, 16vw, 240px); color: #111; line-height: 1; }
.fx-foto span { position: relative; z-index: 1; margin: 0 0 34px 34px; font-size:clamp(12px,0.878vw,16px); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--cinza); }
.fx-rascunho { display: inline-flex; align-self: flex-start; border: 1px dashed var(--verde); color: var(--verde); padding: 8px 12px; font-size:clamp(12px,0.878vw,16px); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.fx-fundador-txt { display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 760px) { .fx-fundador { grid-template-columns: 1fr; } .fx-foto { max-width: 420px; } }

@media (max-width: 759px) {
  .fx-hero { min-height: 88svh; }
  .fx-hero-bg img { opacity: .5; }
  .fx-frase blockquote p { font-size: clamp(36px, 11vw, 60px); }
  .fx-acoes .fx-btn-g { width: 100%; }
}
/* rodapé (copiado da Home; o hover do design vira CSS) */
.fx-rodape a { transition: color .3s; }
.fx-rodape a:hover { color: var(--verde) !important; text-shadow: 0 0 14px rgba(147,197,20,.55), 0 0 2px rgba(147,197,20,.35); }

/* sobre: foto do Bért (o caminho fica em fonte/textos.json > sobre > bert > foto) */
.fx-foto-img::before, .fx-foto-img::after { content: none; }
.fx-foto-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }

/* case principal (ex.: o filme de eventos): quadro grande e texto ao lado */
.fx-principal { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); align-items: end; margin-bottom: clamp(56px, 7vw, 110px); }
.fx-principal-play { margin: 0; }
.fx-principal-txt { display: flex; flex-direction: column; gap: 20px; }
.fx-principal-txt .fx-h2 { font-size: clamp(32px, 3.8vw, 60px); }
.fx-link-bt { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
@media (max-width: 900px) { .fx-principal { grid-template-columns: 1fr; } }

/* topo das páginas: clicar no fundo abre o filme em tela cheia; texto e botões ficam por cima */
.fx-hero-abrir { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.fx-hero-abrir ~ .fx-hero-in { z-index: 2; pointer-events: none; }
.fx-hero-abrir ~ .fx-hero-in .fx-acoes { pointer-events: auto; }

/* bastidores: fotos lado a lado na mesma altura, sem legenda; no celular, fila com rolagem lateral */
.fx-bast { padding: clamp(8px, 2vw, 32px) 0; }
.fx-bast-fila { display: flex; gap: clamp(8px, 1vw, 16px); }
.fx-bast-foto { flex: var(--r) 1 0; min-width: 0; aspect-ratio: var(--r); margin: 0; overflow: hidden; background: #050505; border: 1px solid var(--linha); }
.fx-bast-foto img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s cubic-bezier(.16,1,.3,1); }
.fx-bast-foto:hover img { scale: 1.03; }
@media (max-width: 759px) {
  .fx-bast-fila { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scrollbar-width: none; }
  .fx-bast-fila::-webkit-scrollbar { display: none; }
  .fx-bast-foto { flex: 0 0 auto; height: min(78vw, 360px); scroll-snap-align: start; }
}

/* modalidade ao vivo: o caminho do sinal até a mesa de corte */
.fx-aovivo-ponto { display: inline-block; width: 8px; height: 8px; margin-right: 12px; border-radius: 50%; background: var(--verde); vertical-align: 1px; animation: blink 1.6s ease-in-out infinite; }
.fx-nota { color: var(--cinza); border-left: 1px solid var(--verde); padding-left: 16px; }
.fx-fluxo { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px solid var(--linha); counter-reset: none; }
.fx-fluxo li { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--linha); font-family: 'Barlow Condensed', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; font-size: clamp(24px, 2.4vw, 36px); }
.fx-fluxo li:last-child { color: var(--verde); }
.fx-fluxo .fx-num { flex: 0 0 auto; font-family: 'Barlow', sans-serif; font-size:clamp(12px,0.878vw,16px); font-weight: 600; letter-spacing: .28em; color: var(--verde); }

/* ---------- efeitos da Home, ligados pelo assets/paginas.js ----------
   Valem para qualquer texto novo sem marcação: títulos, parágrafos e itens de lista entram palavra
   por palavra, linha a linha; cards, modalidades, números e botões sobem com atraso em cascata.
   Sem JavaScript ou com "reduzir movimento" no aparelho, tudo aparece parado. */
[data-reveal][data-io] { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
[data-reveal][data-io][data-in] { opacity: 1; transform: none; }
/* link de texto: ao passar o mouse o texto fica verde, sem sublinhado (padrão do site) */
[data-ulink] { transition: color .3s ease, text-shadow .3s ease; }
[data-ulink]:hover, [data-ulink]:focus-visible { color: var(--verde) !important; text-shadow: 0 0 14px rgba(147,197,20,.55), 0 0 2px rgba(147,197,20,.35); }
[data-ubtn] { transition: transform .3s cubic-bezier(.16,1,.3,1), filter .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease; }
[data-ubtn]:hover { transform: translateY(-2px); filter: brightness(1.1); }
[data-ubtn]:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.fx-hero-bg { will-change: transform; }

/* cena de bastidor presa na tela (paginas.js > cena). --p vai de 0 a 1 com a rolagem; sem JS ou com
   movimento reduzido fica em 1 (tudo aberto e parado). Vídeos ambiente: loop mudo, sem barra, sem clique. */
.fx-cena { --p: 1; position: relative; background: #000; }
html[data-cena-on] .fx-cena { --p: 0; height: 320svh; }
.fx-cena-fixa { position: relative; height: 100svh; min-height: 520px; overflow: hidden; }
html[data-cena-on] .fx-cena-fixa { position: sticky; top: 0; }
.fx-cena { --a: clamp(0, calc(var(--p) / .45), 1); --b: clamp(0, calc((var(--p) - .3) / .45), 1); --c: clamp(0, calc((var(--p) - .62) / .3), 1); }
.fx-vid-amb { position: absolute; inset: 0; width: auto; aspect-ratio: auto; margin: 0; background: #050505; }
.fx-vid-amb .fx-vid-capa, .fx-vid-amb:hover .fx-vid-capa { transform: none; }
.fx-cena-tela { position: absolute; inset: 0; clip-path: inset(calc((1 - var(--a)) * 18%) calc((1 - var(--a)) * 26%)); will-change: clip-path; }
.fx-cena-tela .fx-vid-amb { scale: calc(1.2 - .2 * var(--a)); transform-origin: 50% 50%; }
.fx-cena-escuro { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,0) 100%), linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 45%); opacity: calc(.2 + .8 * var(--b)); }
.fx-cena-piloto { position: absolute; z-index: 2; right: var(--pad); top: clamp(88px, 13vh, 140px); width: min(36vw, 560px); aspect-ratio: 16 / 9; border: 1px solid var(--linha-forte); box-shadow: 0 30px 80px rgba(0,0,0,.6); opacity: min(1, calc(var(--b) * 3)); translate: 0 calc((1 - var(--b)) * 70vh); rotate: calc((1 - var(--b)) * 4deg); will-change: translate; }
.fx-cena-txt { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(40px, 9vh, 96px); opacity: var(--c); translate: 0 calc((1 - var(--c)) * 40px); }
.fx-cena-txt .fx-h2 { max-width: 13ch; margin: 0; }
@media (max-width: 759px) {
  html[data-cena-on] .fx-cena { height: 260svh; }
  .fx-cena-tela { clip-path: inset(calc((1 - var(--a)) * 22%) calc((1 - var(--a)) * 10%)); }
  .fx-cena-piloto { top: 84px; width: 64vw; }
  .fx-cena-txt .fx-h2 { max-width: 11ch; }
}
@keyframes idlePanLeve { 0% { scale: 1.008; translate: -.2% .12%; } 100% { scale: 1.022; translate: .22% -.14%; } }
@keyframes idlePan { 0% { scale: 1.035; translate: -.6% .35%; } 100% { scale: 1.075; translate: .7% -.45%; } }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
