/* hub.css · página de links da PipocaTech. Cara do site Wix: amarelo #f2d40c sobre escuro (nunca preto chapado),
   textura hexagonal, título largo espaçado com a palavra em caixa amarela, mascote. Nada inline (CSP). */
@font-face { font-family: 'avenir-heavy'; src: url(fontes/avenir-heavy.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'pipoca-cond'; src: url(fontes/pipoca-cond.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'proxima'; src: url(fontes/proxima.woff2) format('woff2'); font-weight: 400; font-display: swap; }
:root {
  --amarelo: #f2d40c; --amarelo-2: #ffe443; --tinta: #121212;
  --escuro: #141414; --escuro-2: #1b1b1b; --escuro-3: #232323; --linha: #333333;
  --branco: #f5f5f2; --branco-2: #c2c2bd;
  --f-largo: 'avenir-heavy', 'Arial Black', sans-serif; --f-cond: 'pipoca-cond', 'Arial Narrow', sans-serif; --f-corpo: 'proxima', Arial, sans-serif;
  --raio: 4px; --cx: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--escuro); color: var(--branco); font: 17px/1.6 var(--f-corpo); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.cx { width: 100%; max-width: var(--cx); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; }

/* topo: o mascote no meio, como no site antigo */
.topo { display: flex; justify-content: center; padding: 10px 0; background: var(--tinta); border-bottom: 2px solid var(--amarelo); }
.topo-logo img { width: 56px; height: 56px; }

/* herói: escuro com o brilho amarelo e a textura hexagonal */
.heroi { position: relative; overflow: hidden; isolation: isolate; color: var(--branco);
  background: radial-gradient(ellipse 70% 90% at 78% 55%, rgba(242, 212, 12, .9), rgba(242, 212, 12, .18) 55%, transparent 75%), linear-gradient(180deg, #181818, #101010); }
.heroi::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(padrao.webp) center / 520px auto repeat; opacity: .07; }
.heroi::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--amarelo); box-shadow: 0 0 22px var(--amarelo); }
.heroi-cx { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.sobre { font: 800 14px/1 var(--f-largo); letter-spacing: .3em; text-transform: uppercase; color: var(--amarelo); margin-bottom: 18px; }
.heroi h1 { font: 800 clamp(36px, 5.6vw, 66px)/1.14 var(--f-largo); letter-spacing: .12em; text-transform: uppercase; animation: sobe .7s .1s ease-out both; }
.heroi h1 mark { background: var(--amarelo); color: var(--tinta); padding: 0 .22em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { max-width: 560px; color: var(--branco-2); font-size: 18px; animation: sobe .7s .25s ease-out both; }
.heroi .bts { animation: sobe .7s .4s ease-out both; }
.heroi-arte { display: flex; justify-content: center; }
.mascote { width: min(100%, 400px); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)); animation: flutua 5s ease-in-out infinite; }
@keyframes flutua { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes sobe { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* botões */
.bts { display: flex; flex-wrap: wrap; gap: 12px; }
.bt { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: var(--raio); background: var(--amarelo); color: var(--tinta); border: 2px solid var(--amarelo);
  font: 800 14px/1 var(--f-largo); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: transform .15s, background .15s; }
.bt svg { width: 20px; height: 20px; flex: none; }
.bt:hover { background: var(--amarelo-2); transform: translateY(-2px); }
.bt-vazado { background: transparent; color: var(--branco); border-color: var(--branco); }
.bt-vazado:hover { background: var(--branco); color: var(--tinta); }
.bt-escuro { background: var(--tinta); color: var(--amarelo); border-color: var(--tinta); }
.bt-escuro:hover { background: #000; color: var(--amarelo-2); }

/* faixa amarela que corre */
.corre { position: relative; display: flex; align-items: center; overflow: hidden; background: var(--amarelo); color: var(--tinta); }
.corre-janela { display: flex; overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.corre-trilho { display: flex; flex: none; margin: 0; padding: 0; list-style: none; animation: corre 40s linear infinite; }
.corre-trilho li { flex: none; padding: 16px 26px; font: 700 26px/1 var(--f-cond); text-transform: uppercase; white-space: nowrap; }
.corre-trilho li::after { content: "·"; margin-left: 26px; opacity: .5; }
.corre.parado .corre-trilho { animation-play-state: paused; }
.corre-pausa { flex: none; margin: 0 12px; background: var(--tinta); color: var(--amarelo); border: 0; border-radius: var(--raio); font: 800 12px/1 var(--f-largo); letter-spacing: .08em; padding: 10px 12px; cursor: pointer; }
@keyframes corre { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* redes */
.faixa { padding: 72px 0; }
.redes { background: linear-gradient(180deg, var(--escuro), var(--escuro-2)); }
.faixa h2 { font: 700 clamp(34px, 4.4vw, 52px)/1.05 var(--f-cond); text-transform: uppercase; }
.grade-redes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; align-items: start; }
.rede { display: flex; align-items: center; gap: 16px; padding: 18px; min-height: 92px; border-radius: var(--raio); background: var(--escuro-3); border: 1px solid var(--linha);
  text-decoration: none; transition: border-color .2s, transform .2s, background .2s; }
.rede:hover { border-color: var(--amarelo); transform: translateY(-3px); background: #282828; }
.rede-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--rede, var(--amarelo)); color: #fff; }
.rede-ic svg { width: 28px; height: 28px; }
.rede-txt { display: flex; flex-direction: column; min-width: 0; }
.rede-nome { font: 800 15px/1.2 var(--f-largo); letter-spacing: .1em; text-transform: uppercase; }
.rede-linha { color: var(--branco-2); font-size: 15px; overflow-wrap: anywhere; }
.rede-seta { margin-left: auto; color: var(--amarelo); font-size: 22px; transition: transform .2s; }
.rede:hover .rede-seta { transform: translateX(4px); }
.rede-yt { --rede: #ff0000; }
.rede-zap { --rede: #1a9e4b; }
.rede-tg { --rede: #1d8ccc; }
.rede-dc { --rede: #5865f2; }
.rede-ig { --rede: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.rede-tt { --rede: #000; }
.rede-fb { --rede: #1877f2; }

/* no seu celular: faixa amarela com os dois botões */
.celular { background: radial-gradient(ellipse at 85% 50%, var(--amarelo-2), var(--amarelo) 60%); color: var(--tinta); position: relative; isolation: isolate; overflow: hidden; }
.celular::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(padrao.webp) center / 520px auto repeat; opacity: .06; }
.celular-cx { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; }
.celular p { margin: 0; font-size: 18px; }

/* rodapé */
.rodape { background: var(--tinta); border-top: 1px solid var(--linha); padding: 28px 0; color: var(--branco-2); font-size: 14px; }
.rodape-cx { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rodape-cx p { margin: 0 0 0 auto; }
.rodape-redes { display: flex; gap: 10px; flex-wrap: wrap; }
.rodape-redes a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--escuro-3); color: var(--branco); transition: background .2s, color .2s; }
.rodape-redes a:hover { background: var(--amarelo); color: var(--tinta); }
.rodape-redes svg { width: 18px; height: 18px; }

/* surge ao rolar (vitrine.js marca; sem JS tudo aparece) */
.js .surge { opacity: 0; transform: translateY(20px); transition: opacity .6s ease-out, transform .6s ease-out; }
.js .surge.visto { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .heroi { background: radial-gradient(ellipse 90% 34% at 50% 20%, rgba(242, 212, 12, .85), rgba(242, 212, 12, .12) 70%, transparent 100%), linear-gradient(180deg, #181818, #101010); }
  .heroi-cx { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; }
  .grade-redes { grid-template-columns: minmax(0, 1fr); }
  .heroi-arte { order: -1; }
  .mascote { width: min(62vw, 260px); }
  .celular-cx { grid-template-columns: 1fr; }
  .rodape-cx p { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) {
  .heroi h1 { letter-spacing: .06em; }
  .bt { width: 100%; justify-content: center; }
  .faixa { padding: 52px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .corre-janela { mask-image: none; }
  .corre-trilho { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; }
  .corre-trilho[aria-hidden="true"], .corre-pausa { display: none; }
  .js .surge { opacity: 1; transform: none; }
}
