/* =========================================================================
   CAMPING — índigo, vermelho e branco
   ========================================================================= */
.pg-camping { background: var(--indigo); }
.cab { padding: 0 var(--gutter); font-size: clamp(2.2rem, 5vw, 4.6rem); max-width: 16ch; margin: 0 0 clamp(34px, 4.5vw, 60px); color: var(--branco); }

/* ---------- TAKE (vídeo controlado pelo scroll) ---------- */
.take { position: relative; height: 500vh; background: var(--preto); }
.take__palco { position: sticky; top: 0; height: 100svh; overflow: hidden; color: var(--branco); background: var(--indigo); }
.take__inclina { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.take .lente-tela { z-index: auto; }
.take__palco.lente-ativa .take__tinta { display: none; }
.take__tela, .take__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.take__tinta { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(12, 6, 44, .55), rgba(10, 10, 12, .06) 22%, rgba(10, 10, 12, 0) 62%, rgba(10, 10, 12, .28) 84%, rgba(12, 6, 44, .72)); }
.take__titulo { position: absolute; inset: 0; display: grid; place-content: center; padding: 0 var(--gutter); pointer-events: none; will-change: transform, opacity; }
.take__titulo h1 { display: flex; align-items: center; justify-content: center; gap: .16em; font-size: clamp(2.6rem, 8.6vw, 11.5rem); white-space: nowrap; text-shadow: 0 6px 40px rgba(0, 0, 0, .35); }
.take__emblema { display: inline-block; flex: none; width: 1.05em; height: 1.05em; margin: 0 -.05em; }
.take__legenda {
  position: absolute; left: 50%; bottom: 180px; transform: translateX(-50%); width: min(90vw, 760px); text-align: center;
  font-weight: 800; font-variation-settings: 'wdth' 100; font-size: clamp(1.3rem, 2.6vw, 2.1rem); letter-spacing: -.03em; line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .8); opacity: 0; transition: opacity .35s;
}
.take__legenda.ligada { opacity: 1; }
.take__final { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 var(--gutter) 100px; font-size: clamp(2.4rem, 7vw, 7.5rem); max-width: 100%; opacity: 0; pointer-events: none; text-shadow: 0 6px 40px rgba(0, 0, 0, .35); }
/* fim do take: o vídeo escurece para o índigo dos portais e a página continua sem costura */
.take__fim { position: absolute; inset: 0; background: var(--indigo); opacity: 0; pointer-events: none; }
.take__acoes { position: absolute; left: 0; right: 0; bottom: 92px; display: flex; justify-content: center; }
.take__acoes .btn { transition: transform .45s var(--ease-mola); }
.take__lema { position: absolute; left: var(--gutter); bottom: 34px; display: inline-flex; align-items: center; gap: .7em; font-size: clamp(.78rem, 1.1vw, 1rem); letter-spacing: .06em; }
.take__lema::before { content: ''; width: 2.4em; height: 2px; background: currentColor; }
.take__regua { position: absolute; right: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 10px; font-size: .72rem; }
.take__regua svg { width: 18px; height: 18px; flex: none; }
.take__trilho { position: relative; width: 180px; height: 14px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 2px, transparent 2px 12px); -webkit-mask: linear-gradient(transparent 30%, #000 30%); mask: linear-gradient(transparent 30%, #000 30%); }
.take__trilho i { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--vermelho); }
.take__demo { padding: .1rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .16); }
@media (max-width: 760px) {
  .take__titulo h1 { flex-direction: column; gap: .05em; font-size: 14vw; }
  .take__emblema { order: -1; width: .75em; height: .75em; margin: 0 0 .04em; }
  .take__legenda { bottom: 200px; }
  .take__regua { display: none; }
}

/* ---------- TRILHAS ---------- */
.trilhas { position: relative; background: var(--indigo); padding: clamp(110px, 13vw, 170px) 0 clamp(60px, 7vw, 90px); }
.trilhas__lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 var(--gutter); }
.trilhas__lista .trilha:first-child:nth-last-child(odd) { grid-column: span 2; }
.trilha {
  position: relative; overflow: hidden; border-radius: 22px; min-height: 270px; padding: 22px; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; text-decoration: none; color: var(--branco);
  background: #1a0b8a; transition: transform .5s var(--ease-mola);
}
.trilha:hover, .trilha:focus-visible { transform: translateY(-6px) rotate(-1deg); }
.trilha__capas { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(3, 1fr); }
.trilha__capas img { width: 100%; height: 100%; object-fit: cover; }
.trilha::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22, 0, 120, .96) 28%, rgba(22, 0, 120, .5) 58%, rgba(10, 10, 12, .1)); transition: background .4s; }
.trilha:hover::before { background: linear-gradient(to top, rgba(22, 0, 120, .92) 22%, rgba(22, 0, 120, .3) 50%, rgba(10, 10, 12, 0)); }
.trilha__n { position: absolute; top: 18px; right: 22px; font-weight: 900; font-variation-settings: 'wdth' 125; font-size: 3.4rem; line-height: 1; color: rgba(255, 255, 255, .22); }
.trilha small { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--vermelho); }
.trilha strong { font-weight: 900; font-variation-settings: 'wdth' 112; font-size: 1.55rem; letter-spacing: -.03em; line-height: 1; text-transform: uppercase; }
.trilha p { color: rgba(255, 255, 255, .78); font-size: var(--t-s); max-width: 34ch; }
.trilhas__adesivo { right: 7vw; top: 96px; width: clamp(120px, 12vw, 176px); height: clamp(120px, 12vw, 176px); transform: rotate(10deg); }
@media (max-width: 900px) { .trilhas__lista { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trilhas__lista { grid-template-columns: 1fr; } .trilhas__lista .trilha:first-child:nth-last-child(odd) { grid-column: auto; } .trilhas__adesivo { display: none; } }

/* ---------- STACK (bento) ---------- */
.stack { position: relative; background: var(--indigo); padding: clamp(80px, 9vw, 120px) 0 clamp(80px, 9vw, 120px); }
.bento {
  display: grid; gap: 14px; padding: 0 var(--gutter); max-width: 1240px; margin: 0 auto;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas: 'a a a a b b' 'a a a a b b' 'c c d d e e' 'f f f f f f';
  grid-auto-rows: minmax(150px, auto);
}
.stack .cab { max-width: 1240px; margin-left: auto; margin-right: auto; padding-right: 30%; }
.cartao {
  position: relative; overflow: hidden; border-radius: 18px; min-height: 220px; border: 0; padding: 0; isolation: isolate;
  color: var(--branco); text-align: left; display: flex; flex-direction: column; justify-content: flex-end; background: #1a0b8a;
  transition: transform .5s var(--ease-mola), box-shadow .3s;
}
.cartao:hover, .cartao:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--vermelho); }
.cartao img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-saida); }
.cartao:hover img { transform: scale(1.05); }
.cartao::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22, 0, 120, .94) 14%, rgba(22, 0, 120, .45) 46%, rgba(10, 10, 12, .05) 78%); }
.cartao__posicao { position: absolute; top: 12px; right: 18px; font-weight: 900; font-variation-settings: 'wdth' 125; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .45); }
.cartao__corpo { padding: clamp(16px, 2.2vw, 26px); display: grid; gap: .35rem; }
.cartao__corpo small { font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.cartao__corpo h3 { font-weight: 800; font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: -.02em; line-height: 1.1; }
.cartao__corpo p { color: rgba(255, 255, 255, .78); font-size: var(--t-s); max-width: 60ch; }
.cartao__pe { display: flex; gap: .8rem; align-items: center; font-size: .78rem; font-weight: 700; margin-top: .2rem; }
.cartao__pe .abre { color: var(--vermelho); }
.cartao--a { grid-area: a; min-height: 440px; }
.cartao--a .cartao__corpo h3 { font-weight: 900; font-variation-settings: 'wdth' 110; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: .95; letter-spacing: -.04em; }
.cartao--b { grid-area: b; } .cartao--c { grid-area: c; } .cartao--d { grid-area: d; } .cartao--e { grid-area: e; }
.cartao--f { grid-area: f; min-height: 200px; }
.cartao--e { box-shadow: 0 0 0 2px var(--vermelho); }
.stack__rodape { display: flex; justify-content: center; padding: 44px var(--gutter) 0; }
.stack__adesivo { left: 5vw; top: 70px; transform: rotate(-14deg); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; grid-template-areas: 'a a' 'b b' 'c d' 'e e' 'f f'; } .cartao--a { min-height: 360px; } .stack .cab { padding-right: var(--gutter); } .stack__adesivo { display: none; } }

/* ---------- DESTRAVAR ---------- */
.destravar { position: relative; overflow: hidden; min-height: 92svh; display: grid; place-items: center; padding: 120px var(--gutter); background: var(--indigo); }
.destravar__parede { position: absolute; inset: -25% -15%; display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; transform: rotateX(26deg) rotateZ(-8deg); filter: blur(4px) saturate(1.1); opacity: .55; will-change: transform; }
.destravar__parede img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.destravar::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(34, 0, 176, .55), rgba(34, 0, 176, .92) 72%); pointer-events: none; }
.destravar__miolo { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 1.4rem; width: min(940px, 100%); padding: clamp(34px, 5.5vw, 72px) clamp(22px, 5vw, 64px); border-radius: 34px; box-shadow: 0 50px 120px rgba(0, 0, 0, .45); }
.destravar__rotulo { color: rgba(255, 255, 255, .8); }
.destravar__numero { font-size: clamp(3.6rem, 11vw, 10rem); line-height: .85; letter-spacing: -.06em; color: var(--branco); }
.destravar__numero span { color: var(--amarelo); font-variant-numeric: tabular-nums; }
.destravar__texto { font-size: var(--t-l); color: rgba(255, 255, 255, .9); max-width: 40ch; font-weight: 600; }
.destravar__acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }

/* ---------- GALERIA ---------- */
.galeria { background: var(--indigo); padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 9vw, 120px); }
.galeria__rotulo { padding: 0 var(--gutter); color: rgba(255, 255, 255, .55); margin-bottom: 1rem; max-width: 1240px; margin-left: auto; margin-right: auto; }
.galeria__titulo { padding: 0 var(--gutter); font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 1240px; margin: 0 auto 2rem; }
.galeria__titulo span { display: block; color: var(--branco); }
.galeria__titulo span + span { color: var(--vermelho); }
.filtros { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 var(--gutter); margin: 0 auto 1.8rem; max-width: 1240px; }
.filtro { border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; border-radius: 999px; padding: .5rem .95rem; font-weight: 700; font-size: var(--t-s); color: var(--branco); display: inline-flex; gap: .45rem; align-items: center; transition: background .2s, color .2s, border-color .2s; }
.filtro small { opacity: .6; }
.filtro:hover { border-color: var(--branco); }
.filtro[aria-checked='true'] { background: var(--branco); color: var(--indigo); border-color: var(--branco); }
.muro { columns: 4 230px; column-gap: 14px; padding: 0 var(--gutter); max-width: 1240px; margin: 0 auto; }
.peca { position: relative; display: block; width: 100%; margin: 0 0 14px; break-inside: avoid; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: #1a0b8a; color: var(--branco); text-align: left; transition: transform .45s var(--ease-mola); }
.peca:hover, .peca:focus-visible { transform: translateY(-4px); }
.peca img { width: 100%; object-fit: cover; transition: transform .9s var(--ease-saida); }
.peca[data-forma='a'] img { aspect-ratio: 3 / 4; } .peca[data-forma='b'] img { aspect-ratio: 4 / 5; } .peca[data-forma='c'] img { aspect-ratio: 1 / 1; } .peca[data-forma='d'] img { aspect-ratio: 3 / 5; }
.peca:hover img { transform: scale(1.05); }
.peca__info { position: absolute; inset: auto 0 0 0; padding: 2.6rem 1rem 1rem; display: grid; gap: .15rem; background: linear-gradient(to top, rgba(34, 0, 176, .95), transparent); }
.peca__info small { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.peca__info strong { font-size: .95rem; line-height: 1.15; }
.peca__selo { position: absolute; top: 10px; left: 10px; padding: .22rem .6rem; border-radius: 999px; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--vermelho); color: var(--branco); }
.peca__selo.gratis { background: var(--lima); color: var(--preto); }
.peca.some { display: none; }

/* ---------- desafio da semana (chamada para o app) ---------- */
.desafio-camp { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px); padding: clamp(90px, 10vw, 140px) var(--gutter); background: var(--indigo); }
.desafio-camp__cartao { display: grid; gap: .9rem; justify-items: start; padding: clamp(28px, 4vw, 52px); border-radius: 32px; box-shadow: 0 40px 100px rgba(0, 0, 0, .35); }
.desafio-camp__cartao .legenda { color: rgba(255, 255, 255, .85); }
.desafio-camp__cartao h2 { font-size: clamp(2.6rem, 6.5vw, 6rem); }
.desafio-camp__txt { font-size: var(--t-l); font-weight: 600; max-width: 34ch; }
.desafio-camp__pe { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: .6rem; }
.desafio-camp__pe .tc { font-size: .8rem; letter-spacing: .04em; }
.desafio-camp__lado { color: var(--branco); font-size: clamp(1.8rem, 3.6vw, 3.2rem); max-width: 14ch; }
.desafio-camp__lado span { display: block; color: rgba(255, 255, 255, .55); font-size: .5em; letter-spacing: -.01em; margin-top: .6em; max-width: 26ch; line-height: 1.2; }
@media (max-width: 900px) { .desafio-camp { grid-template-columns: 1fr; } }

/* ---------- 5 portais ---------- */
/* 2 + 2 + o Arsenal em faixa larga embaixo */
.portais { grid-template-columns: repeat(6, 1fr); }
.portais .portal { grid-column: span 3; min-height: 330px; }
.portais .trilha:first-child:nth-last-child(odd) { grid-column: span 3; }
.portais .portal--arsenal { grid-column: span 6; min-height: 250px; }
.portal small { color: var(--c); }
.portal__prateleiras { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .4rem; }
.portal__prateleiras i { font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .32rem .6rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); color: rgba(255, 255, 255, .88); }
/* prateleira ainda sem material: tracejada, com "em breve" */
.portal__prateleiras i.embreve { border-style: dashed; color: rgba(255, 255, 255, .55); }
.portal__prateleiras i.embreve::after { content: ' · em breve'; text-transform: none; letter-spacing: 0; font-weight: 600; }
@media (max-width: 900px) { .portais { grid-template-columns: 1fr 1fr; } .portais .portal, .portais .trilha:first-child:nth-last-child(odd) { grid-column: auto; } .portais .portal:last-child { grid-column: span 2; } }
@media (max-width: 560px) { .portais { grid-template-columns: 1fr; } .portais .portal:last-child { grid-column: auto; } }

/* ---------- escada de preço ---------- */
.planos__miolo { position: relative; z-index: 2; width: min(1240px, 100%); display: grid; gap: 1.2rem; justify-items: center; text-align: center; }
.planos__rotulo { color: rgba(255, 255, 255, .8); }
.planos__titulo { color: var(--branco); font-size: clamp(2.4rem, 6.4vw, 5.6rem); }
.planos__titulo span { display: block; color: var(--amarelo); }
.planos__grade { width: min(1080px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 1.4rem; align-items: stretch; text-align: left; }
.plano { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: .7rem; padding: 28px 24px 24px; border-radius: 22px; background: rgba(10, 10, 12, .72); color: var(--branco); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.plano--destaque { background: var(--vermelho); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); transform: translateY(-10px); }
.plano__selo { position: absolute; top: -13px; left: 22px; padding: .38rem .8rem; border-radius: 999px; background: var(--amarelo); color: var(--preto); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.plano__nome { font-weight: 900; font-variation-settings: 'wdth' 112; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; }
.plano__preco { display: flex; align-items: baseline; gap: .3rem; flex-wrap: wrap; }
.plano__preco b { font-weight: 900; font-variation-settings: 'wdth' 125; font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; letter-spacing: -.04em; }
.plano__preco small { font-weight: 800; font-size: .9rem; opacity: .8; }
.plano__sub { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.plano ul { list-style: none; padding: 0; display: grid; gap: .55rem; align-content: start; margin: .4rem 0 .6rem; }
.plano li { position: relative; padding-left: 1.4rem; font-size: var(--t-s); font-weight: 600; line-height: 1.35; }
.plano li::before { content: ''; position: absolute; left: 0; top: .32em; width: .7em; height: .7em; background: var(--amarelo); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 5 Q55 45 95 50 Q55 55 50 95 Q45 55 5 50 Q45 45 50 5 Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 5 Q55 45 95 50 Q55 55 50 95 Q45 55 5 50 Q45 45 50 5 Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.plano--destaque li::before { background: var(--branco); }
.plano .btn { justify-self: stretch; justify-content: center; }
.plano .btn--contorno { color: var(--branco); }
.planos__umaum { color: rgba(255, 255, 255, .85); font-weight: 700; margin-top: .6rem; }
.planos__umaum a { color: var(--amarelo); }
@media (max-width: 900px) { .planos__grade { grid-template-columns: 1fr; max-width: 520px; } .plano--destaque { transform: none; } }

.galeria__mais { display: flex; justify-content: center; margin-top: 28px; }
.galeria__mais .btn--contorno { color: var(--branco); }

/* ---------- capas vivas dos portais ---------- */
/* antes e depois: a imagem pronta por cima, recortada pela linha que corre */
.portal--ad::before { background: linear-gradient(to top, rgba(22, 0, 120, .96) 8%, rgba(22, 0, 120, .62) 34%, rgba(22, 0, 120, 0) 60%); }
.portal--ad:hover::before { background: linear-gradient(to top, rgba(22, 0, 120, .94) 6%, rgba(22, 0, 120, .5) 30%, rgba(22, 0, 120, 0) 54%); }
.portal--ad small, .portal--ad strong, .portal--ad p { text-shadow: 0 1px 14px rgba(22, 0, 120, .9); }
.ad { display: block; --x: 50%; }
.ad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad__cor { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.ad__linha { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--branco); box-shadow: 0 0 18px rgba(255, 255, 255, .9), 0 0 4px var(--c); }
.ad__linha::after { content: ''; position: absolute; top: 34%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(10, 10, 12, .35); border: 2px solid var(--branco); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  -webkit-mask: none; box-shadow: 0 4px 16px rgba(0, 0, 0, .35); }
/* os rótulos andam junto com a linha, um de cada lado da bolinha */
.ad__rotulo { position: absolute; top: calc(34% - 11px); padding: .32rem .62rem; border-radius: 999px; font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; background: rgba(10, 10, 12, .62); color: var(--branco); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ad__rotulo--a { left: var(--x); transform: translateX(calc(-100% - 24px)); } .ad__rotulo--b { left: var(--x); transform: translateX(24px); }
.portais .portal--ad:first-child { min-height: 0; aspect-ratio: 16 / 9.6; }
.portal--ad .trilha__n { text-shadow: 0 2px 20px rgba(0, 0, 0, .4); }

/* Builder: terminal e site se montando */
.portal--builder { background: #0b0b10; }
.portal--builder::before { background: linear-gradient(90deg, rgba(11, 11, 16, .96) 34%, rgba(11, 11, 16, .4) 52%, rgba(11, 11, 16, 0) 66%), linear-gradient(to top, rgba(11, 11, 16, .8), rgba(11, 11, 16, 0) 40%); }
.portal--builder > p, .portal--builder > small, .portal--builder .portal__prateleiras { max-width: 46%; }
.ba { display: block; overflow: hidden; --lima: #D6FF3B; }
.ba__grade { position: absolute; inset: 0 0 0 35%; background-image: linear-gradient(rgba(214, 255, 59, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(214, 255, 59, .07) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); mask: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); }
.ba__term, .ba__site { position: absolute; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.ba__term { left: 48%; top: 10%; width: 31%; height: 48%; background: #121218; border: 1px solid rgba(214, 255, 59, .35); padding: 0 0 8px; font-family: var(--f-tc); font-size: clamp(.5rem, .72vw, .64rem); color: #d9d9e0; display: flex; flex-direction: column; gap: .42em; z-index: 1; }
.ba__barra { display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: rgba(255, 255, 255, .05); }
.ba__barra i { width: 6px; height: 6px; border-radius: 50%; background: #ff5f57; } .ba__barra i:nth-child(2) { background: #febc2e; } .ba__barra i:nth-child(3) { background: #28c840; }
.ba__barra b { margin-left: 6px; font-weight: 400; color: #8d8d99; }
.ba__linha { display: block; padding: 0 10px; white-space: nowrap; overflow: hidden; clip-path: inset(0 100% 0 0); }
.ba__linha em { color: var(--lima); font-style: normal; }
.ba__ok { color: var(--lima); }
.ba__site { right: 4%; top: 17%; width: 33%; height: 68%; background: #f4f4f0; display: flex; flex-direction: column; gap: 5px; padding: 0 0 7px; z-index: 2; transform: translateY(8px) scale(.96); opacity: 0; }
.ba__url { display: flex; align-items: center; gap: 5px; padding: 5px 7px; background: #e4e4de; font-family: var(--f-tc); font-size: .5rem; color: #555; }
.ba__url i { width: 5px; height: 5px; border-radius: 50%; background: #28c840; }
.ba__hero { position: relative; flex: 1; min-height: 0; margin: 0 7px; border-radius: 5px; overflow: hidden; background: #ddd; clip-path: inset(0 100% 0 0); }
.ba__hero img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ba__hero b { position: absolute; left: 6px; bottom: 5px; font-size: clamp(.5rem, .8vw, .68rem); font-weight: 900; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); line-height: 1; }
.ba__cards { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0 7px; height: 30%; min-height: 22px; }
.ba__card { border-radius: 4px; overflow: hidden; background: #ddd; transform: scale(.4); opacity: 0; }
.ba__card img { width: 100%; height: 100%; object-fit: cover; }
.ba__botao { align-self: flex-start; margin: 0 7px; padding: 3px 8px; border-radius: 999px; background: #0a0a0c; color: var(--lima); font-size: .48rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transform: scale(0); }
.ba__cursor { position: absolute; z-index: 3; left: 70%; top: 60%; width: 14px; height: 14px; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 9-7 2-3 7z' fill='%23fff' stroke='%230a0a0c' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
/* um ciclo de 9 s: escreve, confirma, monta o site, clica no botão, recomeça */
.ba__l1 { animation: ba-l1 9s steps(20) infinite; } .ba__l2 { animation: ba-l2 9s steps(26) infinite; }
.ba__l3 { animation: ba-l3 9s steps(1) infinite; } .ba__l4 { animation: ba-l4 9s steps(1) infinite; } .ba__l5 { animation: ba-l5 9s steps(1) infinite; }
@keyframes ba-l1 { 0%, 3% { clip-path: inset(0 100% 0 0); } 15%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes ba-l2 { 0%, 16% { clip-path: inset(0 100% 0 0); } 32%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes ba-l3 { 0%, 36% { clip-path: inset(0 100% 0 0); } 37%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes ba-l4 { 0%, 41% { clip-path: inset(0 100% 0 0); } 42%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes ba-l5 { 0%, 62% { clip-path: inset(0 100% 0 0); } 63%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
.ba__site { animation: ba-site 9s var(--ease-saida) infinite; }
@keyframes ba-site { 0%, 38% { opacity: 0; transform: translateY(10px) scale(.94); } 44%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px) scale(.98); } }
.ba__hero { animation: ba-hero 9s var(--ease-saida) infinite; }
@keyframes ba-hero { 0%, 44% { clip-path: inset(0 100% 0 0); } 52%, 100% { clip-path: inset(0 0 0 0); } }
.ba__card { animation: ba-card 9s var(--ease-mola) infinite; animation-delay: calc(var(--i) * .25s); }
@keyframes ba-card { 0%, 52% { opacity: 0; transform: scale(.4); } 58%, 100% { opacity: 1; transform: none; } }
.ba__botao { animation: ba-botao 9s var(--ease-mola) infinite; }
@keyframes ba-botao { 0%, 62% { transform: scale(0); } 67%, 76% { transform: scale(1); } 78% { transform: scale(.88); } 81%, 100% { transform: scale(1); } }
.ba__cursor { animation: ba-cursor 9s var(--ease-saida) infinite; }
@keyframes ba-cursor { 0%, 64% { opacity: 0; left: 90%; top: 30%; } 68% { opacity: 1; } 76% { left: 59%; top: 74%; } 78% { transform: scale(.8); } 81% { transform: none; } 90% { opacity: 1; left: 59%; top: 74%; } 94%, 100% { opacity: 0; left: 59%; top: 74%; } }
.portal--builder:hover .ba > * { animation-duration: 6s; }

/* Arsenal: um mini editor. O monitor mostra cada preset agindo na foto (light leak, shake, glitch, whoosh)
   enquanto a agulha vermelha corre a timeline. Ciclo de 8 s, 2 s por preset. */
.portal--arsenal { background: #0c0709; }
.portal--arsenal::before { background: linear-gradient(90deg, rgba(12, 7, 9, .96) 26%, rgba(12, 7, 9, .55) 40%, rgba(12, 7, 9, 0) 52%); }
.portal--arsenal > p { max-width: 36ch; }
.portal--arsenal small { color: var(--vermelho); }
.ae { display: block; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 120% at 74% 50%, rgba(255, 31, 31, .34), transparent 62%),
    radial-gradient(ellipse 40% 80% at 98% 0%, rgba(255, 120, 60, .18), transparent 70%),
    radial-gradient(ellipse 50% 90% at 0% 100%, rgba(90, 0, 18, .55), transparent 70%),
    #0c0709; }
/* grão de filme por cima de tudo */
.ae::after { content: ''; position: absolute; inset: -50%; pointer-events: none; opacity: .14; mix-blend-mode: overlay; animation: ae-grao .9s steps(6) infinite;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes ae-grao { 0% { transform: translate(0, 0); } 33% { transform: translate(-4%, 3%); } 66% { transform: translate(3%, -2%); } 100% { transform: translate(-2%, 4%); } }
.ae__editor { position: absolute; left: 41%; right: 3%; top: 13%; bottom: 13%; display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.ae__monitor { position: relative; height: 100%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 50px rgba(0, 0, 0, .6), 0 0 60px rgba(255, 31, 31, .18); }
.ae__quadro { position: absolute; inset: 0; animation: ae-quadro 8s linear infinite; }
.ae__quadro img { width: 100%; height: 100%; object-fit: cover; }
@keyframes ae-quadro {
  0%, 24% { transform: scale(1.06); filter: contrast(1.05); }
  26% { transform: translate(-7px, 3px) scale(1.1) rotate(-.7deg); } 28% { transform: translate(6px, -4px) scale(1.1) rotate(.6deg); }
  30% { transform: translate(-4px, -3px) scale(1.1); } 32% { transform: translate(5px, 4px) scale(1.1) rotate(-.4deg); }
  34% { transform: translate(-3px, 2px) scale(1.09); } 37% { transform: translate(2px, -2px) scale(1.08); } 41% { transform: translate(-1px, 1px) scale(1.07); }
  46%, 49% { transform: scale(1.06); filter: contrast(1.05); }
  50% { transform: translateX(6px) scale(1.06); filter: contrast(1.5) saturate(0); } 52% { transform: translateX(-8px) scale(1.06); } 54% { transform: translateX(3px) scale(1.06); }
  58% { transform: translateX(-2px) scale(1.06); } 62% { transform: translateX(5px) scale(1.06); } 66%, 74% { transform: scale(1.06); filter: contrast(1.25); }
  76% { transform: scale(1.06); filter: blur(0); } 84% { transform: scale(1.3) translateX(-6%); filter: blur(4px) brightness(1.3); } 87%, 100% { transform: scale(1.06); filter: none; }
}
.ae__leak { position: absolute; inset: 0; mix-blend-mode: screen; opacity: 0; animation: ae-leak 8s ease-in-out infinite;
  background: radial-gradient(ellipse 50% 90% at 20% 40%, rgba(255, 140, 40, .95), transparent 60%), radial-gradient(ellipse 40% 70% at 60% 70%, rgba(255, 31, 31, .85), transparent 65%); }
@keyframes ae-leak { 0% { opacity: 0; transform: translateX(-40%); } 6% { opacity: .9; } 20% { opacity: .85; transform: translateX(30%); } 25%, 100% { opacity: 0; transform: translateX(45%); } }
.ae__glitch { position: absolute; inset: 0; opacity: 0; mix-blend-mode: screen; animation: ae-glitch 8s steps(1) infinite;
  background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(255, 31, 31, .55) 7px 9px, transparent 9px 17px, rgba(46, 230, 255, .45) 17px 18px); }
@keyframes ae-glitch { 0%, 49.9% { opacity: 0; } 50% { opacity: 1; transform: translateY(0); } 53% { transform: translateY(-6px) scaleY(1.4); } 56% { opacity: .4; transform: translateY(4px); } 60% { opacity: 1; transform: translateY(-2px); } 64% { opacity: .2; } 68% { opacity: .8; transform: translateY(5px); } 72%, 100% { opacity: 0; } }
.ae__texto { position: absolute; inset: 0; display: grid; place-items: center; }
.ae__texto b { grid-area: 1 / 1; font-weight: 900; font-variation-settings: 'wdth' 125; font-size: clamp(1rem, 2.4vw, 2rem); letter-spacing: -.01em; color: var(--branco); text-shadow: 0 3px 18px rgba(0, 0, 0, .6); opacity: 0; animation: ae-palavra 8s infinite; }
.ae__texto b:nth-child(1) { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; font-variation-settings: normal; font-size: clamp(1.2rem, 2.8vw, 2.4rem); }
.ae__texto b:nth-child(2) { animation-delay: 2s; }
.ae__texto b:nth-child(3) { animation-delay: 4s; text-shadow: 3px 0 var(--vermelho), -3px 0 #2ee6ff; }
.ae__texto b:nth-child(4) { animation-delay: 6s; color: transparent; -webkit-text-stroke: 1.5px var(--branco); text-shadow: none; }
@keyframes ae-palavra { 0% { opacity: 0; transform: translateY(10px) scaleX(.86); filter: blur(5px); } 4%, 21% { opacity: 1; transform: none; filter: none; } 25%, 100% { opacity: 0; transform: translateY(-8px) scaleX(1.08); filter: blur(4px); } }
.ae__rec { position: absolute; left: 8px; top: 7px; font-family: var(--f-tc); font-size: .5rem; letter-spacing: .1em; color: var(--branco); display: flex; align-items: center; gap: 5px; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.ae__rec::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--vermelho); animation: ae-rec 1s steps(1) infinite; }
@keyframes ae-rec { 50% { opacity: .2; } }
/* timeline */
.ae__linha { position: relative; display: grid; grid-template-rows: 14px repeat(3, 1fr); gap: 6px; padding: 8px 10px 8px 46px; border-radius: 10px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.ae__regua { position: relative; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 12.5%); -webkit-mask: linear-gradient(transparent 40%, #000 40%); mask: linear-gradient(transparent 40%, #000 40%); }
.ae__pista { position: relative; display: block; border-radius: 6px; background: rgba(255, 255, 255, .035); }
.ae__pista em { position: absolute; right: calc(100% + 8px); top: 50%; transform: translateY(-50%); font-style: normal; font-family: var(--f-tc); font-size: .5rem; letter-spacing: .1em; color: rgba(255, 255, 255, .5); }
.ae__pista i { --fundo: rgba(255, 31, 31, .2); --fio: rgba(255, 31, 31, .45);
  position: absolute; top: 3px; bottom: 3px; left: calc(var(--n) * 25% + 2px); width: calc(25% - 4px); border-radius: 5px; display: flex; align-items: center; padding: 0 7px; overflow: hidden; white-space: nowrap;
  font-style: normal; font-size: .52rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .8);
  background: var(--fundo); box-shadow: inset 0 0 0 1px var(--fio); animation: ae-bloco 8s infinite; animation-delay: calc(var(--n) * 2s); }
.ae__pista--txt i { --fundo: rgba(255, 255, 255, .07); --fio: rgba(255, 255, 255, .22); }
/* o bloco acende só no trecho dele (2 s) e volta ao normal */
@keyframes ae-bloco {
  0%, 24% { background: var(--vermelho); color: var(--branco); box-shadow: inset 0 0 0 1px var(--vermelho), 0 0 18px rgba(255, 31, 31, .5); }
  25.5%, 100% { background: var(--fundo); color: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px var(--fio), 0 0 0 rgba(255, 31, 31, 0); } }
.portal--arsenal .trilha__n { right: auto; left: 22px; }
.ae__pista--som { display: flex; align-items: center; gap: 2px; padding: 0 4px; }
.ae__pista--som b { flex: 1; height: calc(var(--h) * 80%); min-height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .55); animation: ae-onda 1.2s ease-in-out infinite; animation-delay: calc(var(--k) * -.05s); }
@keyframes ae-onda { 50% { transform: scaleY(.4); } }
.ae__cabeca { position: absolute; top: 4px; bottom: 4px; left: 46px; width: 2px; margin-left: -1px; background: var(--vermelho); box-shadow: 0 0 10px var(--vermelho); animation: ae-cabeca 8s linear infinite; }
.ae__cabeca::before { content: ''; position: absolute; top: -2px; left: 50%; width: 10px; height: 10px; margin-left: -5px; background: var(--vermelho); clip-path: polygon(0 0, 100% 0, 50% 100%); }
@keyframes ae-cabeca { from { left: 46px; } to { left: calc(100% - 10px); } }
@media (prefers-reduced-motion: reduce) { .ba *, .ae *, .ae::after { animation: none !important; } .ba__linha { clip-path: none; } .ba__site, .ba__card { opacity: 1; transform: none; } .ba__hero { clip-path: none; } .ba__botao { transform: none; } .ae__texto b:first-child { opacity: 1; } }

@media (max-width: 900px) { .portais .portal--ad:first-child { aspect-ratio: 16 / 10; } }
@media (max-width: 900px) {
  .portal--builder { padding-top: 210px; }
  .ba { bottom: auto; height: 220px; } .ba__grade { inset: 0; }
  .ba__term { left: 5%; top: 9%; width: 58%; height: 62%; } .ba__site { right: 5%; top: 18%; width: 50%; height: 76%; }
  .portal--builder::before { background: linear-gradient(to bottom, rgba(11, 11, 16, 0) 130px, rgba(11, 11, 16, .97) 225px); }
  .portal--builder > p, .portal--builder > small, .portal--builder .portal__prateleiras { max-width: none; }
  .portal--arsenal { padding-top: 200px; }
  .ae { bottom: auto; height: 200px; }
  .ae__editor { left: 4%; right: 4%; top: 16px; bottom: auto; height: 160px; grid-template-columns: 1.25fr 1fr; gap: 10px; }
  .ae__monitor { height: 100%; width: 100%; aspect-ratio: auto; }
  .ae__linha { padding-left: 34px; } .ae__cabeca { left: 34px; } @keyframes ae-cabeca { from { left: 34px; } to { left: calc(100% - 10px); } }
  .ae__pista i { font-size: 0; padding: 0; }
  .portal--arsenal::before { background: linear-gradient(to bottom, rgba(12, 7, 9, 0) 150px, rgba(12, 7, 9, .97) 205px); }
  .portal--arsenal > p { max-width: none; }
}
@media (max-width: 560px) {
  /* no celular a imagem fica inteira em cima (16:9) e o texto vem embaixo */
  .portais .portal--ad, .portais .portal--ad:first-child { --h: calc((100vw - var(--gutter) * 2) * 9 / 16); min-height: 0; aspect-ratio: auto; padding-top: calc(var(--h) - 34px); background: rgb(22, 0, 120); }
  .portal--ad .trilha__capas { bottom: auto; height: var(--h); }
  .portal--ad::before, .portal--ad:hover::before { background: linear-gradient(to bottom, rgba(22, 0, 120, 0) calc(var(--h) - 80px), rgb(22, 0, 120) calc(var(--h) + 6px)); }
  .ba__term { font-size: .56rem; }
}

/* aula em breve na galeria */
.peca__selo.breve { background: #15151b; color: var(--lima); box-shadow: inset 0 0 0 1px rgba(214, 255, 59, .55); }
.peca.em-breve .breve-capa { z-index: 1; }
