/* ===== Central de links · Alanio Bezerra ===== */
.hub { background: var(--navy-950); min-height: 100vh; overflow-x: hidden; }

/* ---------- topo ---------- */
.hub-nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px clamp(20px, 5vw, 56px);
}
.mono {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 700; font-size: 14px; letter-spacing: .02em;
}
.mono b {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid rgba(242, 193, 78, .55); color: var(--gold);
  font-weight: 800; font-size: 17px;
  background: rgba(8, 22, 51, .5); backdrop-filter: blur(8px);
}
.nav-ig {
  font-size: 13px; font-weight: 600; text-decoration: none; color: #dfe8ff;
  padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22);
  background: rgba(8, 22, 51, .45); backdrop-filter: blur(8px);
}
.nav-ig:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- hero ---------- */
.hub-hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; isolation: isolate; }
.hub-hero-img {
  position: absolute; top: 0; bottom: 0; right: 0; left: 44%; z-index: -2;
  background: url("/assets/img/palco.jpg") 100% 20% / auto 135% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
.hub-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 15% 40%, rgba(127,178,255,.10), transparent 70%),
    linear-gradient(90deg, rgba(5,13,31,.9) 0%, rgba(5,13,31,.55) 45%, rgba(5,13,31,0) 70%),
    linear-gradient(0deg, var(--navy-950) 0%, rgba(5,13,31,0) 35%);
}
.hub-hero-inner { width: min(1120px, 100% - 40px); margin-inline: auto; padding: 140px 0 56px; }
.hub-hero h1 { font-size: clamp(44px, 7.5vw, 84px); font-weight: 800; letter-spacing: -0.035em; line-height: .98; margin-top: 18px; }
.hub-hero .tagline { font-size: clamp(16px, 2vw, 19px); color: #c4d1ee; max-width: 520px; margin: 20px 0 0; }

.stats { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: 36px; flex-wrap: wrap; }
.stat { min-width: 110px; }
.stat strong { display: block; font-weight: 800; letter-spacing: -0.03em; font-size: clamp(32px, 4.5vw, 44px); line-height: 1; color: var(--gold); }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); max-width: 150px; line-height: 1.4; }
.stat + .stat { padding-left: clamp(20px, 4vw, 48px); border-left: 1px solid var(--line-strong); }

@media (max-width: 720px) {
  .hub-hero { min-height: 0; display: block; }
  .hub-hero-img { position: relative; inset: auto; left: auto; height: 420px; -webkit-mask-image: none; mask-image: none; background-size: auto 165%; background-position: 96% 18%; }
  .hub-hero::before {
    background:
      linear-gradient(90deg, rgba(5,13,31,.75) 0%, rgba(5,13,31,.2) 55%, rgba(5,13,31,0) 100%),
      linear-gradient(180deg, rgba(5,13,31,.55) 0%, rgba(5,13,31,0) 22%, rgba(5,13,31,.25) 42%, var(--navy-950) 64%);
  }
  .hub-hero-inner { padding: 0 0 40px; margin-top: -120px; position: relative; }
  .stats { gap: 0; justify-content: space-between; }
  .stat { min-width: 0; flex: 1; }
  .stat + .stat { padding-left: 14px; }
  .stat span { font-size: 12px; }
}

/* ---------- blocos de link ---------- */
.hub-section { width: min(1120px, 100% - 40px); margin-inline: auto; padding: 24px 0 64px; }
.hub-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.hub-label h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; }
.hub-label p { margin: 0; color: var(--soft); font-size: 14px; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; border-radius: 22px; overflow: hidden; text-decoration: none; isolation: isolate;
  border: 1px solid var(--line); background: var(--navy-900);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.8);
}
.tile.wide { grid-column: span 2; min-height: 360px; }
.tile-img {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.02); transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,13,31,.05) 0%, rgba(5,13,31,.25) 35%, rgba(5,13,31,.85) 68%, rgba(5,13,31,.97) 100%);
}
.tile.wide::before {
  background:
    linear-gradient(90deg, rgba(5,13,31,.95) 0%, rgba(5,13,31,.75) 40%, rgba(5,13,31,.1) 75%),
    linear-gradient(0deg, rgba(5,13,31,.6) 0%, rgba(5,13,31,0) 50%);
}
.tile:hover .tile-img { transform: scale(1.07); }
.tile:hover { border-color: rgba(242,193,78,.5); }

.tile-body { padding: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.tile.wide .tile-body { max-width: 620px; padding: 36px; align-items: flex-start; flex-direction: column; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; margin-bottom: 12px;
  background: rgba(8, 22, 51, .7); border: 1px solid rgba(255,255,255,.16); color: #dfe8ff; backdrop-filter: blur(6px);
}
.tag.gold { background: var(--gold); color: #1a1300; border-color: var(--gold); }
.tile h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.tile.wide h3 { font-size: clamp(28px, 4vw, 42px); }
.tile p { margin: 8px 0 0; color: #c9d5ef; font-size: 15px; max-width: 460px; }
.go {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; backdrop-filter: blur(6px);
  transition: background .2s, color .2s, transform .2s;
}
.tile:hover .go { background: var(--gold); color: #1a1300; border-color: var(--gold); transform: translateX(3px); }
.cta-pill {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #1a1300; font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; transition: background .2s, gap .2s;
}
.tile:hover .cta-pill { background: var(--gold-2); gap: 14px; }

@media (max-width: 720px) {
  .tiles { grid-template-columns: 1fr; gap: 14px; }
  .tile.wide { grid-column: auto; min-height: 420px; }
  .tile { min-height: 320px; }
  .tile.wide::before { background: linear-gradient(180deg, rgba(5,13,31,0) 0%, rgba(5,13,31,.55) 45%, rgba(5,13,31,.96) 100%); }
  .tile.wide .tile-body, .tile-body { padding: 22px; }
  .hub-label p { display: none; }
}

/* ---------- card do produto (12 mil comandos) ---------- */
.tile.promo {
  display: block; position: relative; min-height: 340px; padding: 0;
  background:
    radial-gradient(520px 360px at 85% 30%, rgba(96,150,240,.45), transparent 70%),
    linear-gradient(100deg, #050b1a 0%, #0a1733 45%, #1d3a72 100%);
  border-color: rgba(127,178,255,.22);
}
.tile.promo::before { display: none; }
.promo-body { position: relative; z-index: 2; padding: 44px 40px 40px; max-width: 600px; }
.promo-tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: #8cb8ff; padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid rgba(140,184,255,.55); background: rgba(10,23,51,.6);
}
.tile.promo .promo-title {
  font-family: "Barlow Condensed", var(--sans); font-weight: 800; text-transform: uppercase;
  font-size: clamp(56px, 7.5vw, 92px); line-height: .92; letter-spacing: -0.01em; color: #f4f7ff;
  margin-top: 18px; text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.tile.promo p { font-size: clamp(16px, 1.8vw, 19px); color: #c9d4ea; max-width: 520px; margin-top: 14px; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.promo-fan { position: absolute; z-index: 1; right: 4%; top: 50%; width: 44%; height: 84%; transform: translateY(-50%); pointer-events: none; }
.fan-card {
  position: absolute; top: 50%; left: 50%; width: 42%; aspect-ratio: 3 / 4; border-radius: 16px;
  background-size: cover; background-position: center; box-shadow: 0 20px 40px -10px rgba(0,0,0,.7);
  border: 1px solid rgba(255,255,255,.12); transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.fan-card.left  { transform: translate(-118%, -50%) rotate(-8deg) scale(.86); filter: brightness(.75); }
.fan-card.right { transform: translate(18%, -46%) rotate(8deg) scale(.86); filter: brightness(.75); }
.fan-card.mid   { transform: translate(-50%, -52%); z-index: 2; }
.tile.promo:hover .fan-card.left  { transform: translate(-128%, -50%) rotate(-11deg) scale(.86); }
.tile.promo:hover .fan-card.right { transform: translate(28%, -46%) rotate(11deg) scale(.86); }
.tile.promo:hover .fan-card.mid   { transform: translate(-50%, -55%) scale(1.03); }
.promo-go {
  position: absolute; z-index: 3; right: 28px; bottom: 28px; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #7fb2ff; color: #06132b;
  box-shadow: 0 10px 30px -8px rgba(127,178,255,.7); transition: transform .2s, background .2s;
}
.tile.promo:hover .promo-go { transform: translate(2px, -2px); background: #a3c8ff; }

@media (max-width: 720px) {
  .tile.promo { min-height: 0; }
  .promo-fan { position: relative; right: auto; top: auto; transform: none; width: 100%; height: 250px; margin-top: 16px; }
  .fan-card { width: 46%; }
  .fan-card.left  { transform: translate(-112%, -50%) rotate(-8deg) scale(.84); }
  .fan-card.right { transform: translate(12%, -46%) rotate(8deg) scale(.84); }
  .promo-body { padding: 4px 22px 26px; margin-top: -40px; }
  .promo-tag { font-size: 11px; padding: 7px 14px; }
  .tile.promo .promo-title { font-size: 56px; }
  .tile.promo p { font-size: 15px; padding-right: 64px; }
  .promo-go { width: 52px; height: 52px; right: 18px; bottom: 22px; }
}

/* ---------- rodapé ---------- */
.hub-foot {
  width: min(1120px, 100% - 40px); margin-inline: auto; padding: 28px 0 44px;
  border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--soft);
}
.hub-foot a { color: var(--soft); text-decoration: none; margin-left: 18px; }
.hub-foot a:first-child { margin-left: 0; }
.hub-foot a:hover { color: var(--text); }

/* ---------- entrada suave ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
  .d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; }
  .d4 { animation-delay: .32s; } .d5 { animation-delay: .40s; } .d6 { animation-delay: .48s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
