/* Boxe Pro · Área de membros · v3 (lista vertical + subpáginas + bônus temáticos) */
:root {
  --bg: #0c0c0d;
  --ink: #15151a;
  --smoke: #1f1f25;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --red: #d90429;
  --deep: #9d0208;
  --white: #ffffff;
  --ash: #e7e7ea;
  --mute: #9da0a8;
  --dim: #6a6c73;
  --maxw: 920px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ash);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.display {
  font-family: "Bebas Neue", Impact, "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 12, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
}

.brand {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 20px;
  letter-spacing: 0.28em;
  font-weight: 900;
  color: var(--white);
}

.brand .red {
  color: var(--red);
}

.topbar-tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}

.topbar-back {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.topbar-back:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

/* HERO HUB (index) */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-img {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero.webp");
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: saturate(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 13, 0.55) 0%,
    rgba(12, 12, 13, 0.78) 60%,
    rgba(12, 12, 13, 0.98) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 52px 0 56px;
  text-align: center;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ash);
  margin-bottom: 18px;
}

.hero-chip .pulse {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  animation: pulse 1.6s ease-in-out infinite;
}

.hero h1 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
}

.hero h1 .red {
  color: var(--red);
}

.hero p {
  margin-top: 14px;
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--mute);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.hero-stats {
  margin-top: 26px;
  display: inline-flex;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 10px 4px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(4px);
}

.stat {
  text-align: center;
  padding: 4px 18px;
  position: relative;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat-v {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(22px, 3.5vw, 28px);
  color: var(--white);
  line-height: 1;
}

.stat-l {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 4px;
  font-weight: 700;
}

/* SECTION */
.section {
  padding: 48px 0;
}

.section-title {
  margin-bottom: 24px;
}

.section-title .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title .eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--red);
}

.section-title h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--white);
}

.section-title h2 .red {
  color: var(--red);
}

.section-title p {
  margin-top: 8px;
  color: var(--mute);
  font-size: 13px;
}

/* LISTA VERTICAL DE MÓDULOS (HUB) */
.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.row {
  display: grid;
  grid-template-columns: 56px 86px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.row:hover {
  border-color: rgba(217, 4, 41, 0.45);
  transform: translateX(4px);
  background: #181820;
}

.row-num {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 34px;
  line-height: 1;
  text-align: center;
  color: var(--white);
  letter-spacing: 0.02em;
  padding-top: 4px;
  position: relative;
}

.row-num::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--red);
}

.row-thumb {
  width: 86px;
  height: 86px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #000;
  border: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
}

.row-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.row-info {
  min-width: 0;
}

.row-name {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.row-desc {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.4;
}

.row-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.row:hover .row-cta {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.row-cta-arrow {
  font-size: 14px;
  line-height: 1;
}

/* BÔNUS · cards temáticos com ícones SVG */
.bonus-list {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .bonus-list {
    grid-template-columns: 1fr 1fr;
  }
}

.bonus-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.bonus-row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--accent, var(--red));
  opacity: 0.85;
}

.bonus-row:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(4px);
}

.bonus-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-bg, rgba(217, 4, 41, 0.08));
  border: 1px solid var(--accent-border, rgba(217, 4, 41, 0.3));
  color: var(--accent, var(--red));
}

.bonus-icon svg {
  width: 28px;
  height: 28px;
}

.bonus-info {
  flex: 1;
  min-width: 0;
}

.bonus-tag {
  font-size: 10px;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--mute);
  text-transform: uppercase;
}

.bonus-title {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 19px;
  margin-top: 2px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 2px;
}

.bonus-sub {
  font-size: 12px;
  color: var(--mute);
  line-height: 1.4;
}

.bonus-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.bonus-row:hover .bonus-cta {
  background: var(--accent, var(--red));
  border-color: var(--accent, var(--red));
}

/* Cores por bônus */
.bonus-row.bonus-1 {
  --accent: #d90429;
  --accent-bg: rgba(217, 4, 41, 0.08);
  --accent-border: rgba(217, 4, 41, 0.3);
}
.bonus-row.bonus-2 {
  --accent: #f97316;
  --accent-bg: rgba(249, 115, 22, 0.08);
  --accent-border: rgba(249, 115, 22, 0.3);
}
.bonus-row.bonus-3 {
  --accent: #3b82f6;
  --accent-bg: rgba(59, 130, 246, 0.08);
  --accent-border: rgba(59, 130, 246, 0.3);
}
.bonus-row.bonus-4 {
  --accent: #facc15;
  --accent-bg: rgba(250, 204, 21, 0.08);
  --accent-border: rgba(250, 204, 21, 0.3);
}

/* ============================
   SUBPÁGINAS DE MÓDULO
   (classes usadas: .back-link, .modbanner*, .topics*, .topic*, .drive-cta*)
   ============================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mute);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.back-link:hover {
  color: var(--white);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.modbanner {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  margin-top: 18px;
}

.modbanner-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: saturate(0.9);
}

.modbanner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 13, 0.5) 0%,
    rgba(12, 12, 13, 0.75) 55%,
    rgba(12, 12, 13, 0.98) 100%
  );
}

.modbanner-content {
  position: relative;
  z-index: 2;
  padding: 64px 0 68px;
  text-align: center;
}

.modbanner-num {
  display: inline-block;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--red);
  margin-bottom: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.modbanner h1 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(48px, 9vw, 88px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.modbanner p {
  margin: 14px auto 0;
  font-size: clamp(14px, 1.9vw, 17px);
  color: var(--ash);
  max-width: 580px;
  line-height: 1.55;
}

.topics-title {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.topics-title::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--red);
}

.topics {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .topics {
    grid-template-columns: 1fr 1fr;
  }
}

.topic {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.topic:hover {
  border-color: rgba(217, 4, 41, 0.35);
  transform: translateX(3px);
}

.topic-num {
  flex-shrink: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 4, 41, 0.1);
  border: 1px solid rgba(217, 4, 41, 0.35);
  color: var(--red);
  letter-spacing: 0.05em;
}

.topic-name {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.4;
}

.mod-about {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ash);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink);
  padding: 22px 24px;
}

@media (min-width: 640px) {
  .mod-about {
    font-size: 16px;
    padding: 26px 28px;
  }
}

.drive-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--red) 0%, var(--deep) 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px -14px rgba(217, 4, 41, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
  gap: 4px;
}

.drive-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -14px rgba(217, 4, 41, 0.85);
}

.drive-cta-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  opacity: 0.75;
  text-transform: uppercase;
}

/* FOOTER */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  text-align: center;
  color: var(--dim);
  font-size: 12px;
}

.foot strong {
  color: var(--ash);
}

.foot-brand {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 20px;
  letter-spacing: 0.28em;
  color: var(--white);
  margin-bottom: 6px;
  font-weight: 900;
}

.foot-brand .red {
  color: var(--red);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.5;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .topbar-tag {
    display: none;
  }
  .hero-content {
    padding: 40px 0 44px;
  }
  .section {
    padding: 36px 0;
  }
  .row {
    grid-template-columns: 44px 64px 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    padding: 12px;
  }
  .row-num {
    font-size: 26px;
    padding-top: 2px;
  }
  .row-thumb {
    width: 64px;
    height: 64px;
  }
  .row-info {
    grid-column: 3 / 4;
  }
  .row-name {
    font-size: 20px;
  }
  .row-desc {
    font-size: 12px;
  }
  .row-cta {
    grid-column: 1 / 4;
    justify-content: center;
    padding: 11px 16px;
    font-size: 11px;
  }
  .stat {
    padding: 4px 12px;
  }
  .bonus-row {
    padding: 14px;
    gap: 12px;
  }
  .bonus-icon {
    width: 44px;
    height: 44px;
  }
  .bonus-icon svg {
    width: 22px;
    height: 22px;
  }
  .bonus-title {
    font-size: 16px;
  }
  .bonus-cta {
    display: none;
  }
  .mod-hero-content {
    padding: 44px 0 48px;
  }
  .mod-meta {
    flex-direction: column;
  }
  .mod-meta .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .mod-meta .stat:first-child {
    border-top: 0;
  }
}
