/* ==========================================================================
   GURIZADA PICUMÃ — página de tráfego
   ========================================================================== */

:root {
  --bg: #0a1124;
  --bg-soft: #0d1730;
  --top: #111c3a;
  --accent: #d6192e;
  --accent-light: #ff4a5c;
  --accent2: #1f4b96;
  --ink-100: #f4f6fb;
  --ink-300: #c3cde3;
  --ink-400: #8e9bba;
  --border: rgba(255, 255, 255, 0.14);
  --border-soft: rgba(255, 255, 255, 0.08);
  --surface: rgba(255, 255, 255, 0.055);
  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background-color: var(--top);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  padding-bottom: 92px;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--ink-100);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; border-radius: 4px; }

/* Fundo em movimento */
.hub-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.hub-bg span {
  position: absolute; border-radius: 50%; filter: blur(72px); opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}
.hub-bg span:nth-child(1) {
  width: 62vw; height: 62vw; max-width: 560px; max-height: 560px; top: -16%; right: -18%;
  background: radial-gradient(circle, rgba(214,25,46,0.5), transparent 68%);
}
.hub-bg span:nth-child(2) {
  width: 70vw; height: 70vw; max-width: 620px; max-height: 620px; bottom: -22%; left: -20%;
  background: radial-gradient(circle, rgba(31,75,150,0.68), transparent 68%); animation-delay: -7s;
}
.hub-bg span:nth-child(3) {
  width: 40vw; height: 40vw; max-width: 380px; max-height: 380px; top: 44%; right: -12%;
  background: radial-gradient(circle, rgba(214,25,46,0.26), transparent 70%); animation-delay: -12s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, -26px, 0) scale(1.1); }
}

/* Faixa chapada no topo, para a barra do navegador combinar com a página */
.hub-topfill {
  position: fixed; top: 0; left: 0; right: 0; height: 180px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--top) 0%, var(--top) 34%, rgba(17,28,58,0.72) 62%, transparent 100%);
}

.hub {
  position: relative; z-index: 1; width: 100%; max-width: 470px; margin-inline: auto;
  padding: clamp(24px, 6vw, 44px) 20px calc(30px + env(safe-area-inset-bottom, 0px));
  flex: 1; display: flex; flex-direction: column;
}

/* Marca */
.hub-logo { position: relative; margin: 0 auto clamp(16px, 3.5vw, 24px); }

.hub-logo--round { width: min(70%, 240px); aspect-ratio: 1; }

.hub-logo--round::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent2), var(--accent));
  animation: spin 9s linear infinite;
}
.hub-logo--round::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: var(--bg); }
.hub-logo--round img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6); background: #fff;
}

.hub-logo--card { width: min(92%, 380px); }
.hub-logo--card img {
  width: 100%; height: auto; border-radius: 16px; padding: 16px 18px; background: #fff;
  border: 1px solid var(--border); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
}

@keyframes spin { to { transform: rotate(360deg); } }

.hub-head { text-align: center; margin-bottom: clamp(20px, 4vw, 30px); }

.hub-name {
  font-family: var(--font-display); font-size: clamp(34px, 10vw, 52px); line-height: 0.95;
  letter-spacing: 0.03em; text-transform: uppercase; margin: 0;
}
.hub-name em { font-style: normal; color: var(--accent); text-shadow: 0 0 28px rgba(214,25,46,0.5); }

.hub-sub {
  font-family: var(--font-cond); font-size: clamp(13px, 3.4vw, 15px); letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--ink-400); margin: 10px 0 0;
}
.hub-bio { color: var(--ink-300); font-size: clamp(14.5px, 3.6vw, 16px); margin: 12px 0 0; }

/* Card do prêmio */
.hub-links { display: flex; flex-direction: column; gap: 12px; }

.hub-feature {
  position: relative; display: block; border-radius: 18px; overflow: hidden; text-decoration: none;
  color: #fff; background: linear-gradient(180deg, rgba(214,25,46,0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(214,25,46,0.55); margin-bottom: 14px; opacity: 0; transform: translateY(16px);
  animation: up 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards, glow 3.8s ease-in-out 1.1s infinite;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}
.hub-feature:hover, .hub-feature:focus-visible { transform: translateY(-4px); }

@keyframes glow {
  0%, 100% { box-shadow: 0 20px 48px rgba(214,25,46,0.3); }
  50%      { box-shadow: 0 22px 58px rgba(31,75,150,0.6); }
}

.hub-feature__media { position: relative; margin: 0; }
.hub-feature__media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.hub-feature__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 28%, rgba(0, 0, 0, 0.88));
}

.hub-feature__chip {
  position: absolute; z-index: 2; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0, 0, 0, 0.72); border: 1px solid rgba(33, 192, 99, 0.75); border-radius: 999px;
  padding: 5px 13px; font-family: var(--font-cond); font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
}
.hub-feature__chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #21c063;
  box-shadow: 0 0 10px #21c063; animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hub-feature__title {
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 12px; margin: 0;
  font-family: var(--font-display); font-size: clamp(21px, 6vw, 29px); line-height: 1.02;
  letter-spacing: 0.03em; text-transform: uppercase;
}
.hub-feature__title span {
  display: block; font-family: var(--font-cond); font-size: clamp(12px, 3.2vw, 14px); font-weight: 500;
  letter-spacing: 0.16em; color: var(--ink-300); margin-top: 6px;
}

.hub-feature__cta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(120deg, #b31325, #d6192e); padding: 18px 20px; color: #ffffff;
  font-family: var(--font-cond); font-size: clamp(16px, 4.4vw, 20px); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.hub-feature__cta::after { content: "→"; font-size: 1.1em; }

/* Botões de lista */
.hub-btn {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 17px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); color: var(--ink-100); text-decoration: none;
  font-family: var(--font-cond); font-size: clamp(15px, 3.9vw, 17.5px); font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, border-color 0.2s ease;
}
.hub-btn:hover, .hub-btn:focus-visible {
  transform: translateY(-3px); background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.3);
}
.hub-btn::after { content: "›"; font-size: 24px; line-height: 1; color: var(--ink-400); transition: transform 0.2s ease; }
.hub-btn:hover::after { transform: translateX(3px); color: #fff; }

.hub-btn__icon {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}
.hub-btn__icon svg { width: 21px; height: 21px; }
.hub-btn--wa .hub-btn__icon { background: rgba(37, 211, 102, 0.18); }
.hub-btn--wa .hub-btn__icon svg { fill: #25d366; }

.hub-btn__label { flex: 1; min-width: 0; }
.hub-btn__label small {
  display: block; font-family: var(--font-body); font-size: 12.5px; font-weight: 400; letter-spacing: 0.01em;
  text-transform: none; color: var(--ink-400); margin-top: 2px;
}

/* Rodapé */
.hub-foot { margin-top: auto; padding-top: clamp(26px, 6vw, 38px); text-align: center; }
.hub-foot p { color: var(--ink-400); font-size: 11.5px; line-height: 1.65; margin: 0 auto; max-width: 52ch; }

/* Botão fixo */
.hub-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 26px 14px calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent 0%, rgba(10,17,36,0.72) 34%, var(--bg-bottom) 68%, var(--bg-bottom) 100%);
  pointer-events: none;
}
.hub-sticky::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--bg-bottom); z-index: 1;
}

@property --ring { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.cta-float {
  pointer-events: auto; position: relative; display: block; max-width: 460px; margin-inline: auto;
  padding: 2px; border-radius: 17px; text-decoration: none; --ring: 0deg;
  background: conic-gradient(from var(--ring), var(--accent), #ffffff 18%, var(--accent2) 42%, var(--accent) 68%, var(--accent2) 88%, var(--accent));
  animation: ring 5.5s linear infinite, lift 4.2s ease-in-out infinite;
  transition: transform 0.2s ease;
}
.cta-float:hover, .cta-float:focus-visible { transform: translateY(-3px) scale(1.012); }

@keyframes ring { to { --ring: 360deg; } }
@keyframes lift {
  0%, 100% { box-shadow: 0 -6px 32px rgba(214,25,46,0.3); }
  50%      { box-shadow: 0 -8px 40px rgba(31,75,150,0.75); }
}

.cta-float__inner {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 15px; padding: 17px 22px; color: #ffffff; font-family: var(--font-cond);
  font-size: clamp(16px, 4.2vw, 19px); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  background: linear-gradient(100deg, #132a52 0%, #1f4b96 24%, #b31325 48%, #d6192e 60%, #1f4b96 82%, #132a52 100%);
  background-size: 260% 100%; animation: flow 7s ease-in-out infinite;
}
@keyframes flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-float__inner::after { content: "→"; font-size: 1.15em; transition: transform 0.2s ease; }
.cta-float:hover .cta-float__inner::after { transform: translateX(4px); }
.cta-float__inner::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 22px;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.5) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.5) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.5) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.5) 75%);
  background-size: 8px 8px; background-position: 0 0, 4px 4px; opacity: 0.16;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent);
  mask-image: linear-gradient(90deg, #000, transparent);
}

.shine {
  position: absolute; top: -60%; left: -30%; width: 34%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-18deg); animation: sweep 4.4s ease-in-out infinite; pointer-events: none;
}
@keyframes sweep { 0%, 62% { left: -40%; } 100% { left: 130%; } }

/* Entradas */
.up { opacity: 0; transform: translateY(16px); animation: up 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.up-1 { animation-delay: 0.05s; }
.up-2 { animation-delay: 0.14s; }
.up-4 { animation-delay: 0.3s; }
.up-5 { animation-delay: 0.38s; }
.up-6 { animation-delay: 0.46s; }
@keyframes up { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .up { opacity: 1; transform: none; animation: none; }
  .hub-feature { opacity: 1; transform: none; animation: none; }
  .hub-bg span, .hub-logo--round::before, .hub-feature__chip::before, .shine,
  .cta-float, .cta-float__inner { animation: none; }
  .cta-float { background: linear-gradient(120deg, var(--accent2), var(--accent)); }
  .hub-btn, .hub-feature, .cta-float { transition: none; }
}
