:root {
  --purple-950: #083b66;
  --purple-900: #0a5a92;
  --purple-800: #0c6fb0;
  --purple-700: #1183c9;
  --purple-600: #2e9be0;
  --green-500: #ff8a3d;
  --green-600: #ff6a2b;
  --green-700: #e85a16;
  --lime-300: #ffd18f;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f4f9fd;
  --card: #ffffff;
  --danger: #dc2626;
  --warning: #f59e0b;
  --radius: 24px;
  --shadow: 0 26px 70px rgba(0, 91, 154, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(0,91,154,.16), transparent 32%), var(--bg);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(244,249,253,.88);
  border-bottom: 1px solid rgba(0,91,154,.12);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 950; letter-spacing: -.03em; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 15px;
  display: grid; place-items: center;
  color: #fff; font-size: 24px;
  background: linear-gradient(135deg, var(--purple-700), var(--green-500));
  box-shadow: 0 16px 34px rgba(255,106,43,.22);
}
.brand small { display: block; color: var(--green-700); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--purple-700), var(--green-600)); box-shadow: 0 18px 38px rgba(255,106,43,.22); }
.btn-soft { color: var(--purple-900); background: #fff; border: 1px solid rgba(0,91,154,.15); }
.btn-dark { color: #fff; background: var(--purple-950); }
.btn-line { color: var(--purple-800); background: transparent; border: 1px solid rgba(0,91,154,.25); }
.btn-danger { color: #fff; background: var(--danger); }
.btn-full { width: 100%; }
.icon-btn { width: 46px; height: 46px; padding: 0; border-radius: 16px; }

.hero { padding: 38px 0 18px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: stretch; }
.hero-card {
  min-height: 540px;
  border-radius: 36px;
  overflow: hidden;
  color: #fff;
  position: relative;
  background:
    linear-gradient(120deg, rgba(0,61,105,.95), rgba(0,91,154,.72), rgba(255,106,43,.36)),
    url('../img/banner-corrida.svg');
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.kicker { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); font-weight: 800; }
.hero h1 { font-size: clamp(38px, 7vw, 78px); line-height: .88; letter-spacing: -.06em; margin: 18px 0; max-width: 680px; }
.hero h1 span { color: var(--lime-300); }
.hero p { color: #e6f3fb; font-size: 18px; max-width: 650px; line-height: 1.55; }
.hero-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.hero-info div { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 16px; }
.hero-info strong { font-size: 25px; display: block; }
.hero-info small { color: #d1fae5; }

.form-card, .panel-card, .glass-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(0,91,154,.10);
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.form-card { padding: 28px; }
.section-title { margin-bottom: 18px; }
.section-title small { color: var(--green-700); font-weight: 900; text-transform: uppercase; letter-spacing: .10em; }
.section-title h2 { font-size: clamp(26px, 4vw, 42px); letter-spacing: -.04em; margin-top: 6px; }
.section-title p { color: var(--muted); margin-top: 7px; line-height: 1.45; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 13px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 800; font-size: 13px; color: #374151; }
input, select {
  width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px;
  background: #fff; outline: 0; transition: .18s ease;
}
input:focus, select:focus { border-color: var(--purple-600); box-shadow: 0 0 0 4px rgba(0,91,154,.11); }
.helper { color: var(--muted); font-size: 12px; }
.category-preview { border-radius: 20px; background: linear-gradient(135deg, #eff6ff, #fff4ea); border: 1px solid rgba(0,91,154,.14); padding: 15px; margin: 6px 0 14px; }
.category-preview strong { color: var(--purple-800); }
.terms { display: flex; align-items: flex-start; gap: 10px; color: #4b5563; font-size: 13px; line-height: 1.4; margin: 12px 0 16px; }
.terms input { width: 18px; margin-top: 2px; }
.responsavel { display: none; grid-column: 1 / -1; border-radius: 20px; padding: 14px; background: #fff4ea; border: 1px solid #ffd7bd; }
.responsavel.show { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.section { padding: 32px 0; }
.prize { border-radius: 36px; padding: 34px; color: #fff; background: linear-gradient(135deg, var(--purple-950), var(--purple-800) 55%, var(--green-600)); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.prize::after { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 999px; background: rgba(255,209,143,.30); right: -100px; top: -130px; }
.prize-head { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.prize-number { font-size: clamp(42px, 7vw, 86px); font-weight: 1000; letter-spacing: -.07em; color: var(--lime-300); }
.prize-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.prize-card { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); border-radius: 24px; padding: 18px; }
.prize-card b { display: block; font-size: 18px; margin-bottom: 8px; }
.prize-card span { display: block; color: #e6f3fb; font-size: 13px; line-height: 1.5; }

.ad-slot { border: 2px dashed rgba(255,106,43,.22); background: #fff; border-radius: 26px; min-height: 120px; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 22px; }
.sponsors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sponsor-card { min-height: 100px; border-radius: 22px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 900; color: var(--purple-800); }

.modal { position: fixed; inset: 0; background: rgba(17,24,39,.64); z-index: 50; display: none; align-items: center; justify-content: center; padding: 18px; }
.modal.show { display: flex; }
.modal-card { width: min(560px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: 32px; box-shadow: 0 40px 110px rgba(0,0,0,.35); padding: 26px; position: relative; }
.close { position: absolute; right: 18px; top: 18px; border: 0; background: #f4f8fb; width: 40px; height: 40px; border-radius: 999px; }
.qr-box { display: grid; place-items: center; background: #f8fafc; border-radius: 24px; padding: 18px; margin: 16px 0; }
.qr-box img { width: min(300px, 100%); border-radius: 14px; }
.copy-box { background: #f4f8fb; border: 1px solid var(--line); border-radius: 18px; padding: 13px; font-size: 12px; color: #374151; word-break: break-all; max-height: 94px; overflow: auto; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px; font-weight: 900; font-size: 12px; }
.status-wait { background: #fff4ea; color: #c25518; }
.status-ok { background: #edf7ff; color: #0a5a92; }
.pulse { width: 9px; height: 9px; border-radius: 999px; background: currentColor; box-shadow: 0 0 0 rgba(255,106,43,.55); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,106,43,.55)} 70%{box-shadow:0 0 0 10px rgba(255,106,43,0)} 100%{box-shadow:0 0 0 0 rgba(255,106,43,0)} }

.result-card { border-radius: 22px; background: linear-gradient(135deg, #eff6ff, #fff4ea); border: 1px solid rgba(0,91,154,.13); padding: 18px; margin-top: 14px; }
.result-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(0,91,154,.12); }
.result-row:last-child { border-bottom: 0; }
.result-row span:first-child { color: var(--muted); }
.result-row span:last-child { font-weight: 850; text-align: right; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--purple-950); color: #fff; padding: 13px 17px; border-radius: 999px; z-index: 80; display: none; box-shadow: var(--shadow); }
.toast.show { display: block; }

.admin-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.sidebar { background: var(--purple-950); color: #fff; padding: 24px; position: sticky; top: 0; height: 100vh; }
.sidebar .brand { margin-bottom: 26px; }
.menu { display: grid; gap: 9px; }
.menu button { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.10); color: #fff; border-radius: 16px; padding: 13px 14px; text-align: left; font-weight: 850; }
.menu button.active, .menu button:hover { background: linear-gradient(135deg, var(--purple-800), var(--green-600)); }
.admin-main { padding: 26px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric { background: #fff; border: 1px solid rgba(0,91,154,.12); border-radius: 24px; padding: 18px; box-shadow: 0 16px 40px rgba(0,91,154,.08); }
.metric small { color: var(--muted); font-weight: 800; }
.metric b { display: block; font-size: 34px; margin-top: 8px; color: var(--purple-800); }
.table-wrap { overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 16px 40px rgba(0,91,154,.08); }
table { width: 100%; border-collapse: collapse; min-width: 980px; }
th, td { padding: 14px 12px; border-bottom: 1px solid #eef2f7; text-align: left; font-size: 13px; }
th { background: #eff8ff; color: var(--purple-900); font-weight: 950; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; white-space: nowrap; }
.badge-icon { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 999px; background: rgba(255,255,255,.75); font-size: 10px; line-height: 1; }
.badge.ok { background: #edf7ff; color: #0a5a92; }
.badge.wait { background: #fff4ea; color: #c25518; }
.badge.off { background: #f4f8fb; color: #4b5563; }
.table-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.table-actions button { border: 0; border-radius: 12px; padding: 9px 12px; font-size: 12px; font-weight: 900; background: #f4f8fb; display: inline-flex; align-items: center; gap: 8px; }
.table-actions button .action-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: rgba(255,255,255,.65); }
.table-actions button.green { background: #edf7ff; color: #0a5a92; }
.table-actions button.purple { background: #e6f3fb; color: #0c6fb0; }
.table-actions button.done { opacity: .92; }
.table-actions button:disabled { opacity: .55; cursor: not-allowed; }
.admin-number { display: inline-grid; place-items: center; min-width: 72px; padding: 8px 12px; border-radius: 14px; background: #e6f3fb; color: var(--purple-800); font-size: 16px; letter-spacing: 1.4px; }
.login-box { min-height: 100vh; display: grid; place-items: center; padding: 18px; }
.login-card { width: min(440px, 100%); padding: 28px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.filters input, .filters select { max-width: 260px; }
.empty { color: var(--muted); padding: 22px; text-align: center; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 470px; padding: 28px; }
  .prize-head { align-items: flex-start; flex-direction: column; }
  .prize-grid { grid-template-columns: 1fr 1fr; }
  .sponsors { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 22px, 1180px); }
  .nav { min-height: 68px; }
  .brand div:last-child { font-size: 13px; }
  .brand small { font-size: 9px; }
  .nav-actions .btn-primary { display: none; }
  .hero { padding-top: 18px; }
  .hero-card { border-radius: 26px; min-height: 440px; padding: 22px; }
  .hero-info { grid-template-columns: 1fr; }
  .form-card { border-radius: 26px; padding: 20px; }
  .form-grid, .responsavel.show { grid-template-columns: 1fr; }
  .prize { padding: 24px; border-radius: 28px; }
  .prize-grid, .sponsors, .cards { grid-template-columns: 1fr; }
  .modal-card { padding: 20px; border-radius: 26px; }
  .admin-main { padding: 14px; }
}

/* Ajustes profissionais v2 */
.hero-actions-inline { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.compact-title h2 { font-size: clamp(25px, 3.2vw, 34px); }
.cpf-feedback { min-height: 16px; font-size: 11px; font-weight: 800; color: var(--muted); }
.cpf-feedback.ok { color: var(--green-700); }
.cpf-feedback.warn { color: #c25518; }
.cpf-feedback.error { color: var(--danger); }
.banner-slot.has-banner { padding: 0; overflow: hidden; border-style: solid; background: #fff; min-height: auto; }
.banner-slot img, .banner-link img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.banner-link { display: block; width: 100%; height: 100%; }
.hero-banner.has-banner img { min-height: 170px; }
.sponsor-card.with-img { padding: 10px; overflow: hidden; }
.sponsor-card.with-img img { max-height: 82px; object-fit: contain; }
.payment-card .qr-box { border: 1px solid rgba(0,91,154,.12); }
.payment-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 14px; }
.step { border-radius: 999px; padding: 9px 10px; background: #f4f8fb; color: #6b7280; font-size: 11px; font-weight: 900; text-align: center; }
.step.active { background: #fff4ea; color: #c25518; }
.step.done { background: #edf7ff; color: #0a5a92; }
.payment-helper { text-align: center; margin-top: 10px; }
.confirmed-card { border-color: rgba(0,91,154,.25); background: linear-gradient(135deg, #fff4ea, #eff8ff); }
.big-number { font-size: 22px; color: var(--purple-800); }
.mobile-sticky-cta { display: none; }
.admin-summary { margin-top: 18px; max-width: 760px; }

.banner-admin-grid { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 18px; align-items: start; }
.banner-form-card { padding: 20px; border-radius: 24px; }
.filters select, .filters input { min-height: 48px; }

@media (max-width: 960px) {
  .banner-admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand span:last-child { max-width: 210px; font-size: 12px; line-height: 1.05; }
  .hero-grid { gap: 14px; }
  #inscricao { order: -1; scroll-margin-top: 82px; }
  .hero-card { min-height: auto; padding: 20px; border-radius: 24px; }
  .hero h1 { font-size: 39px; margin: 12px 0; }
  .hero p { font-size: 15px; line-height: 1.42; }
  .hero-actions-inline { display: none; }
  .hero-info { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
  .hero-info div { padding: 11px; border-radius: 16px; }
  .hero-info strong { font-size: 16px; }
  .hero-info small { font-size: 10px; }
  .hero-banner { display: none; }
  .section { padding: 20px 0; }
  .prize-section { padding-top: 10px; }
  .form-card { box-shadow: 0 18px 44px rgba(0,91,154,.13); }
  .payment-steps { grid-template-columns: 1fr; }
  .filters input, .filters select { width: 100%; max-width: none; }
  .mobile-sticky-cta {
    display: inline-flex;
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    background: linear-gradient(135deg, var(--purple-700), var(--green-600));
    color: #fff;
    font-weight: 950;
    border-radius: 999px;
    padding: 13px 22px;
    box-shadow: 0 18px 45px rgba(0,91,154,.28);
  }
}

.pdf-tip {
  margin: 14px 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(22, 163, 74, .22);
  background: linear-gradient(135deg, rgba(255,247,237,.95), rgba(239,248,255,.95));
  color: #3b0764;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
}

.server-alert {
  border: 1px solid rgba(239, 68, 68, .35);
  background: rgba(127, 29, 29, .18);
  color: #fee2e2;
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 18px;
  line-height: 1.45;
}
.server-alert strong { color: #fff; display: block; margin-bottom: 6px; }
.server-alert code { background: rgba(0,0,0,.25); padding: 2px 6px; border-radius: 7px; }
.cpf-feedback.warn { color: #fbbf24; }
.cpf-feedback.error { color: #fecaca; }
.cpf-feedback.ok { color: #86efac; }


.kit-helper-box { margin-top: 16px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, #fff4ea, #eff6ff); border: 1px solid rgba(11,110,153,.12); }
.kit-helper-box ul { margin: 10px 0 0 18px; color: #425466; }


/* === Ajustes premium v24 === */
.topbar-premium {
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(0,91,154,.08);
}
.brand-premium { gap: 14px; }
.logo-mark {
  width: 62px;
  height: 62px;
  padding: 8px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(17,131,201,.16), rgba(255,106,43,.16));
  border: 1px solid rgba(0,91,154,.12);
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav-actions-premium { gap: 12px; }
.nav-realizacao {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(239,248,255,.95), rgba(255,244,234,.95));
  border: 1px solid rgba(0,91,154,.10);
}
.nav-realizacao span { font-size: 11px; color: var(--purple-900); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.nav-realizacao img { height: 34px; width: auto; display: block; }
.hero-grid { align-items: start; }
.hero-card-premium {
  background:
    linear-gradient(120deg, rgba(0,61,105,.93), rgba(0,91,154,.78), rgba(255,106,43,.40)),
    url('../img/banner-corrida.svg');
}
.hero-card-premium::after {
  content: '';
  position: absolute;
  inset: auto -30px -20px auto;
  width: 220px;
  height: 220px;
  background: url('../img/logo-corrida.png') center/contain no-repeat;
  opacity: .10;
  pointer-events: none;
}
.hero-highlight-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero-highlight-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.right-stack { display: grid; gap: 18px; }
.status-card { padding: 22px; }
.status-card-head p { color: var(--muted); margin-top: 10px; line-height: 1.5; }
.kicker-solid {
  background: linear-gradient(135deg, var(--purple-700), var(--green-600));
  color: #fff;
  border: 0;
}
.premium-info { margin-top: 16px; }
.premium-info div {
  background: linear-gradient(135deg, rgba(239,248,255,.95), rgba(255,244,234,.95));
  border: 1px solid rgba(0,91,154,.10);
}
.premium-info strong { color: var(--purple-900); font-size: 22px; }
.premium-info small { color: #475569; line-height: 1.4; display: block; margin-top: 6px; }
.form-card-premium {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(247,251,255,.97));
}
.form-card-premium::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -16px;
  width: 180px;
  height: 180px;
  background: url('../img/logo-evento.png') center/contain no-repeat;
  opacity: .05;
  pointer-events: none;
}
.form-card-premium > * { position: relative; z-index: 1; }
.pix-tip-visible {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff4ea, #eff8ff);
  border: 1px solid rgba(0,91,154,.12);
  color: var(--purple-900);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}
.kit-live-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eff8ff, #fff4ea);
  border: 1px solid rgba(0,91,154,.12);
  margin-bottom: 16px;
}
.kit-live-bar strong { display: block; color: var(--purple-950); }
.kit-live-bar small { color: var(--muted); }
.kit-live-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.kit-live-actions input {
  min-width: 320px;
  background: #fff;
}
.kit-mini-cards { margin-top: 16px; grid-template-columns: repeat(4, 1fr); }
.kit-queue {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.kit-card {
  background: #fff;
  border: 1px solid rgba(0,91,154,.12);
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(0,91,154,.08);
  padding: 18px;
}
.kit-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.kit-number {
  display: inline-grid;
  place-items: center;
  min-width: 76px;
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(12,111,176,.12), rgba(255,106,43,.12));
  color: var(--purple-900);
  font-weight: 950;
  letter-spacing: 1.5px;
  font-size: 18px;
}
.kit-card h3 { font-size: 22px; letter-spacing: -.03em; margin-top: 10px; }
.kit-card p { color: var(--muted); margin-top: 6px; line-height: 1.45; }
.kit-status-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kit-status-item {
  border-radius: 16px;
  padding: 12px;
  background: #f8fbfd;
  border: 1px solid rgba(0,91,154,.08);
  text-align: center;
}
.kit-status-item b { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.kit-status-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 900;
  font-size: 13px;
}
.kit-status-item .ok { color: #0a5a92; }
.kit-status-item .off { color: #c25518; }
.kit-card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.kit-card-actions button { flex: 1 1 180px; }
.kit-empty {
  background: #fff;
  border: 1px dashed rgba(0,91,154,.22);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  color: var(--muted);
}
@media (max-width: 960px) {
  .nav-realizacao { display: none; }
  .kit-mini-cards { grid-template-columns: repeat(2, 1fr); }
  .kit-queue { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand-premium { align-items: center; }
  .logo-mark { width: 54px; height: 54px; }
  .topbar-premium .nav { gap: 10px; }
  .hero-highlight-strip { gap: 8px; }
  .hero-highlight-strip span { font-size: 11px; padding: 9px 12px; }
  .right-stack { gap: 14px; }
  .status-card, .form-card-premium { padding: 18px; }
  .premium-info { grid-template-columns: 1fr; }
  .premium-info div { padding: 14px; }
  .kit-live-bar { padding: 16px; align-items: flex-start; flex-direction: column; }
  .kit-live-actions { width: 100%; }
  .kit-live-actions input { min-width: 0; width: 100%; }
  .kit-mini-cards { grid-template-columns: 1fr 1fr; }
  .kit-status-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) { .right-stack #inscricao { order: 0; } }


/* === v25 mobile + capa antes da ficha === */
.poster-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(0,91,154,.10);
  box-shadow: 0 20px 50px rgba(0,91,154,.10);
}
.poster-card img {
  display: block;
  width: 100%;
  height: auto;
}
.mini-prize-card {
  padding: 20px 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0c6fb0, #ff6a2b);
  color: #fff;
  box-shadow: 0 16px 38px rgba(12,111,176,.18);
}
.mini-prize-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .92;
  margin-bottom: 8px;
}
.mini-prize-card strong {
  display: block;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -.03em;
}
.mini-prize-card small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  opacity: .96;
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-card-premium {
    order: 0;
  }
  .right-stack {
    order: 1;
  }
}
@media (max-width: 640px) {
  .topbar-premium {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(10px);
  }
  .topbar-premium .nav {
    align-items: flex-start;
  }
  .brand {
    align-items: center;
  }
  .brand span:last-child {
    display: grid;
    gap: 2px;
  }
  .brand-premium > span:last-child {
    font-size: 18px;
    line-height: 1.05;
  }
  .brand-premium small {
    font-size: 11px;
    line-height: 1.2;
  }
  .nav-actions-premium {
    width: 100%;
    justify-content: space-between;
  }
  .nav-actions-premium .btn-primary {
    flex: 1 1 auto;
    justify-content: center;
  }
  .hero {
    padding-top: 16px;
  }
  .hero-card-premium {
    padding: 20px;
  }
  .hero-card-premium h1 {
    font-size: 34px;
    line-height: .95;
  }
  .hero-card-premium p {
    font-size: 14px;
  }
  .hero-actions-inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-actions-inline .btn,
  .hero-actions-inline button {
    width: 100%;
    justify-content: center;
  }
  .hero-banner {
    min-height: 90px;
    font-size: 12px;
    padding: 16px;
  }
  .right-stack {
    gap: 12px;
  }
  .poster-card {
    border-radius: 22px;
  }
  .mini-prize-card {
    padding: 18px;
    border-radius: 20px;
  }
  .mini-prize-card strong {
    font-size: 30px;
  }
  .form-card-premium {
    padding: 18px;
    border-radius: 24px;
  }
  .compact-title h2 {
    font-size: 26px;
  }
  .compact-title p {
    font-size: 13px;
  }
  .form-grid {
    gap: 12px;
  }
  .field label {
    font-size: 13px;
  }
  .field input,
  .field select {
    min-height: 52px;
    font-size: 16px;
    border-radius: 16px;
  }
  .category-preview {
    padding: 14px;
    border-radius: 16px;
  }
  .terms {
    font-size: 13px;
    gap: 10px;
  }
  .btn-full {
    min-height: 54px;
    font-size: 15px;
  }
  .pix-tip-visible {
    font-size: 12px;
    padding: 12px;
  }
  .mobile-sticky-cta {
    box-shadow: 0 10px 30px rgba(12,111,176,.18);
  }
}


/* === v26 mobile header + regulamento === */
.pulse-strong {
  position: relative;
  animation: ctaPulseStrong 1.05s infinite;
}
@keyframes ctaPulseStrong {
  0% { transform: translateY(0) scale(1); box-shadow: 0 0 0 0 rgba(255,106,43,.62), 0 18px 38px rgba(255,106,43,.24); }
  55% { transform: translateY(-1px) scale(1.025); box-shadow: 0 0 0 12px rgba(255,106,43,0), 0 20px 44px rgba(0,91,154,.24); }
  100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 0 rgba(255,106,43,0), 0 18px 38px rgba(255,106,43,.24); }
}

.regulation-accept-box {
  margin: 14px 0;
  padding: 15px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff8ff, #fff4ea);
  border: 1px solid rgba(0,91,154,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.regulation-accept-box strong {
  display: block;
  color: var(--purple-950);
  font-size: 15px;
}
.regulation-accept-box p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin-top: 4px;
}
.terms-regulation {
  background: rgba(239,248,255,.75);
  border: 1px solid rgba(0,91,154,.10);
  border-radius: 16px;
  padding: 12px;
}
.regulation-modal-card { max-width: 720px; }
.regulation-text {
  max-height: min(54vh, 520px);
  overflow: auto;
  white-space: pre-wrap;
  line-height: 1.6;
  background: #f8fbfd;
  border: 1px solid rgba(0,91,154,.12);
  border-radius: 18px;
  padding: 18px;
  color: #243447;
  margin-bottom: 16px;
}
.regulation-admin-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  resize: vertical;
  min-height: 320px;
  background: #fff;
  color: var(--ink);
}

@media (max-width: 640px) {
  body {
    background: #f3f8fc;
  }
  .topbar-premium {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(0,91,154,.10);
    box-shadow: 0 8px 24px rgba(0,91,154,.08);
  }
  .topbar-premium .container {
    width: min(100% - 20px, 1180px);
  }
  .topbar-premium .nav {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 76px;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
  }
  .brand-premium {
    min-width: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }
  .brand-premium .logo-mark {
    width: 58px;
    height: 58px;
    padding: 5px;
    border-radius: 18px;
    background: #f2f7fb;
    border: 1px solid rgba(0,91,154,.12);
    box-shadow: 0 10px 22px rgba(0,91,154,.08);
  }
  .brand-premium > span:last-child {
    max-width: none;
    min-width: 0;
    font-size: 15px;
    line-height: 1.03;
    letter-spacing: -.03em;
    color: #0f172a;
  }
  .brand-premium small {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.12;
    color: #e85a16;
    letter-spacing: .12em;
  }
  .nav-actions-premium {
    width: auto;
    display: flex;
    justify-content: flex-end;
  }
  .nav-actions-premium .btn-primary,
  .nav-realizacao {
    display: none;
  }
  .nav-actions-premium .icon-btn {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0,91,154,.12);
    box-shadow: 0 10px 24px rgba(0,91,154,.08);
    font-size: 23px;
    color: var(--purple-900);
  }
  .hero {
    padding-top: 14px;
  }
  .hero-card-premium {
    padding: 22px 18px;
    min-height: auto;
    border-radius: 26px;
  }
  .hero-card-premium .kicker {
    display: none !important;
  }
  .hero-card-premium h1 {
    font-size: 35px;
    line-height: .98;
    max-width: 100%;
  }
  .hero-card-premium p {
    font-size: 15px;
    line-height: 1.45;
    color: #eef8ff;
  }
  .hero-actions-inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }
  .hero-actions-inline .btn {
    min-height: 58px;
    border-radius: 999px;
    font-size: 16px;
  }
  .hero-highlight-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-highlight-strip span {
    justify-content: center;
    min-height: 40px;
    font-size: 13px;
    background: rgba(255,255,255,.13);
  }
  .poster-card {
    border-radius: 24px;
  }
  .poster-card img {
    width: 100%;
    display: block;
  }
  .regulation-accept-box {
    align-items: stretch;
    flex-direction: column;
  }
  .regulation-accept-box .btn {
    width: 100%;
  }
}


/* === v27: fluxo mobile/desktop direto: imagem, premiação, ficha === */
.inscription-flow {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  align-items: start;
}
.inscription-flow .right-stack {
  width: 100%;
}
.inscription-flow .poster-card {
  order: 1;
}
.inscription-flow .mini-prize-card {
  order: 2;
}
.inscription-flow #inscricao {
  order: 3;
}

/* Botões flutuantes reais */
.mobile-sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 20px;
  left: auto;
  width: auto;
  min-width: 154px;
  z-index: 70;
  padding: 15px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple-700), var(--green-600));
  color: #fff;
  font-weight: 950;
  text-align: center;
  box-shadow: 0 18px 44px rgba(255,106,43,.30);
  border: 1px solid rgba(255,255,255,.28);
}
.support-floating {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 70;
  padding: 13px 17px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--purple-900);
  border: 1px solid rgba(0,91,154,.16);
  box-shadow: 0 16px 38px rgba(0,91,154,.16);
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

/* Header mobile mais limpo: logo + texto + lupa */
@media (max-width: 640px) {
  .topbar-premium .nav {
    grid-template-columns: minmax(0, 1fr) 58px;
  }
  .brand-premium {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .brand-premium > span:last-child {
    font-size: 15px;
    line-height: 1.04;
  }
  .brand-premium small {
    font-size: 11px;
    letter-spacing: .10em;
  }
  .hero {
    padding-top: 12px;
  }
  .inscription-flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .poster-card {
    margin-top: 0;
  }
  .mini-prize-card {
    margin-top: 0;
  }
  .support-floating {
    right: 14px;
    bottom: 82px;
    padding: 12px 15px;
    font-size: 13px;
  }
  .mobile-sticky-cta {
    right: 14px;
    bottom: 18px;
    min-width: 148px;
    padding: 14px 18px;
    font-size: 14px;
  }
}

/* Desktop também segue a sequência solicitada, sem o primeiro quadro azul */
@media (min-width: 961px) {
  .hero {
    padding-top: 28px;
  }
  .inscription-flow {
    max-width: 860px;
  }
}

/* === v29: importação de inscrições por planilha === */
.import-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.import-card {
  position: sticky;
  top: 18px;
}
.import-steps {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.import-steps span {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff8ff, #fff4ea);
  border: 1px solid rgba(0,91,154,.10);
  color: var(--purple-900);
  font-size: 13px;
  font-weight: 900;
}
.import-check {
  margin: 12px 0;
  background: #f8fbfd;
  border: 1px solid rgba(0,91,154,.10);
  border-radius: 16px;
  padding: 12px;
}
.import-preview-card {
  display: grid;
  gap: 14px;
}
.import-metrics {
  grid-template-columns: repeat(4, minmax(0,1fr));
}
.import-result-box {
  background: #fff;
  border: 1px solid rgba(0,91,154,.12);
  border-radius: 20px;
  padding: 16px;
  color: var(--muted);
  box-shadow: 0 14px 34px rgba(0,91,154,.06);
}
.import-table-wrap {
  max-height: 560px;
  overflow: auto;
}
tr.row-error td {
  background: #fff7f3;
}
tr.row-error small {
  color: #b45309;
  font-weight: 700;
}
@media (max-width: 980px) {
  .import-grid { grid-template-columns: 1fr; }
  .import-card { position: relative; top: auto; }
  .import-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .import-metrics { grid-template-columns: 1fr 1fr; }
  .import-table-wrap { max-height: none; }
}


/* === v30 PEARA RUN identidade visual === */
:root {
  --purple-950: #37165a;
  --purple-900: #4b1f78;
  --purple-800: #5c2d91;
  --purple-700: #6d38a6;
  --purple-600: #8552c2;
  --green-500: #2f9e44;
  --green-600: #2b8a3e;
  --green-700: #237032;
  --lime-300: #d7f5dd;
  --bg: #f6f4fb;
  --line: #e8e1f2;
  --shadow: 0 22px 58px rgba(55, 22, 90, .12);
}
body {
  background: var(--bg);
}
.topbar {
  background: rgba(246,244,251,.92);
  border-bottom: 1px solid rgba(75,31,120,.10);
}
.brand-mark,
.btn-primary,
.prize,
.menu button.active, .menu button:hover {
  background: var(--purple-800) !important;
}
.brand small, .section-title small {
  color: var(--green-700);
}
.btn-primary {
  box-shadow: 0 16px 34px rgba(55,22,90,.18);
}
.btn-soft, .btn-line {
  border-color: rgba(75,31,120,.16);
  color: var(--purple-900);
}
input:focus, select:focus {
  border-color: var(--purple-700);
  box-shadow: 0 0 0 4px rgba(92,45,145,.10);
}
.category-preview,
.regulation-accept-box,
.result-card,
.import-steps span {
  background: #f7f2fc;
  border-color: rgba(75,31,120,.10);
}
.hero.peara-hero {
  padding: 34px 0 14px;
}
.peara-banner {
  background: #ffffff;
  border: 1px solid rgba(75,31,120,.12);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
}
.peara-banner-copy {
  padding: 42px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.peara-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: #efe8f8;
  color: var(--purple-900);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .10em;
  margin-bottom: 18px;
}
.peara-banner-copy h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: .90;
  letter-spacing: -.06em;
  color: var(--purple-950);
  margin: 0 0 16px;
}
.peara-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.peara-meta span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #edf8ef;
  color: var(--green-700);
  font-weight: 900;
}
.peara-banner-copy p {
  color: #5b6170;
  font-size: 17px;
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 26px;
}
.peara-cta {
  min-height: 56px;
  padding-inline: 24px;
}
.peara-banner-art {
  min-height: 420px;
  background: #ece6f6;
}
.peara-banner-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.peara-form-section {
  padding-top: 8px;
}
.peara-form-wrap {
  width: min(860px, 100%);
}
.mini-prize-card {
  display: none !important;
}
.ad-slot {
  border-color: rgba(75,31,120,.20);
}
.sponsor-card {
  color: var(--purple-800);
}
.mobile-sticky-cta {
  background: var(--green-600) !important;
  box-shadow: 0 18px 40px rgba(43,138,62,.24);
}
.support-floating {
  color: var(--purple-900);
  border-color: rgba(75,31,120,.12);
}
@media (max-width: 960px) {
  .peara-banner {
    grid-template-columns: 1fr;
  }
  .peara-banner-copy {
    padding: 28px 22px;
  }
  .peara-banner-art {
    min-height: 260px;
  }
}
@media (max-width: 640px) {
  .brand-premium > span:last-child {
    font-size: 14px;
  }
  .hero.peara-hero {
    padding-top: 16px;
  }
  .peara-banner {
    border-radius: 26px;
  }
  .peara-banner-copy h1 {
    font-size: 40px;
  }
  .peara-meta {
    display: grid;
    grid-template-columns: 1fr;
  }
  .peara-meta span {
    justify-content: center;
  }
  .peara-banner-art {
    min-height: 215px;
  }
}


/* === v31 PEARA RUN: landing primeiro, formulário abre no botão === */
:root {
  --purple-950: #130022;
  --purple-900: #2a0047;
  --purple-800: #5d12a6;
  --purple-700: #7a1fd6;
  --purple-600: #9a35ff;
  --green-500: #b6ff00;
  --green-600: #9ee600;
  --green-700: #7bb300;
  --lime-300: #b6ff00;
  --ink: #f7f7fb;
  --muted: #b8a9c8;
  --line: rgba(182,255,0,.16);
  --bg: #050505;
  --card: #0b0b0d;
  --shadow: 0 22px 58px rgba(0,0,0,.48);
}
html, body {
  background: #050505 !important;
  color: #f7f7fb;
}
body {
  background:
    radial-gradient(circle at 50% 6%, rgba(154,53,255,.22), transparent 34%),
    radial-gradient(circle at 50% 48%, rgba(182,255,0,.12), transparent 34%),
    #050505 !important;
}
.topbar,
.topbar-premium {
  background: rgba(0,0,0,.88) !important;
  border-bottom: 1px solid rgba(182,255,0,.14) !important;
  box-shadow: none !important;
}
.brand {
  color: #ffffff;
}
.brand small {
  color: var(--green-500) !important;
}
.logo-mark,
.brand-mark {
  background: #111 !important;
  border: 1px solid rgba(182,255,0,.22);
  box-shadow: 0 0 20px rgba(154,53,255,.20);
}
.logo-mark img {
  object-fit: contain;
  border-radius: 12px;
}
.nav-inscrever {
  display: inline-flex;
}
.btn-primary {
  background: var(--green-500) !important;
  color: #100018 !important;
  box-shadow: 0 0 0 1px rgba(182,255,0,.28), 0 16px 34px rgba(182,255,0,.16) !important;
}
.btn-soft,
.btn-line {
  background: #0f0f12 !important;
  color: #ffffff !important;
  border: 1px solid rgba(154,53,255,.38) !important;
}
.btn-dark {
  background: var(--purple-800) !important;
  color: #fff !important;
}
.landing-peara {
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  padding: 28px 0 120px;
}
.landing-wrap {
  display: grid;
  gap: 22px;
}
.landing-identity {
  min-height: 560px;
  border: 1px solid rgba(182,255,0,.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 48%, rgba(182,255,0,.12), transparent 38%),
    #020202;
  box-shadow: 0 0 0 1px rgba(154,53,255,.14), 0 28px 80px rgba(0,0,0,.54);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.landing-identity::before,
.landing-identity::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(28px);
  opacity: .22;
  pointer-events: none;
}
.landing-identity::before {
  background: var(--purple-600);
  left: -160px;
  top: -160px;
}
.landing-identity::after {
  background: var(--green-500);
  right: -170px;
  bottom: -170px;
}
.landing-logo {
  width: min(560px, 86vw);
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 46px rgba(0,0,0,.70));
}
.landing-kicker {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(154,53,255,.16);
  border: 1px solid rgba(154,53,255,.38);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
  position: relative;
  z-index: 1;
}
.landing-identity h1 {
  color: var(--green-500);
  margin: 12px 0 8px;
  font-size: clamp(42px, 8vw, 84px);
  line-height: .9;
  letter-spacing: -.06em;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 22px rgba(182,255,0,.24);
}
.landing-info {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.landing-info span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(182,255,0,.10);
  border: 1px solid rgba(182,255,0,.24);
  color: var(--green-500);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.landing-identity p {
  color: #d9cce9;
  font-size: 16px;
  line-height: 1.5;
  margin: 14px 0 0;
  position: relative;
  z-index: 1;
}
.landing-sponsors {
  background: #0b0b0d;
  border: 1px solid rgba(154,53,255,.22);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 20px 58px rgba(0,0,0,.32);
}
.sponsors-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}
.sponsors-head small {
  color: var(--green-500);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.sponsors-head strong {
  color: #fff;
  font-size: 20px;
  letter-spacing: -.03em;
}
.sponsors-grid-main,
.sponsors {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.sponsor-main-card,
.sponsor-card {
  min-height: 92px;
  background: #050505 !important;
  border: 1px solid rgba(182,255,0,.20) !important;
  color: #fff !important;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-weight: 950;
  text-align: center;
  padding: 14px;
}
.sponsor-card.with-img {
  background: #050505 !important;
}
.sponsor-card.with-img img,
.sponsors-grid-main img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
}
.form-closed {
  display: none !important;
}
.form-open {
  display: block !important;
}
.peara-form-section {
  background: #08080a;
  padding: 34px 0 130px !important;
  border-top: 1px solid rgba(182,255,0,.12);
}
.peara-form-wrap {
  width: min(900px, calc(100% - 28px)) !important;
}
.form-card,
.form-card-premium,
.modal-card,
.panel-card,
.glass-card {
  background: #0d0d10 !important;
  border: 1px solid rgba(154,53,255,.22) !important;
  color: #ffffff;
  box-shadow: 0 24px 64px rgba(0,0,0,.45) !important;
}
.section-title small {
  color: var(--green-500) !important;
}
.section-title h2,
.compact-title h2 {
  color: #ffffff;
}
.section-title p,
label,
.terms,
.result-row span:first-child,
.helper {
  color: #cfc3dc !important;
}
input,
select,
textarea {
  background: #050505 !important;
  border-color: rgba(154,53,255,.26) !important;
  color: #ffffff !important;
}
input::placeholder {
  color: #8f7aa4;
}
input:focus,
select:focus {
  border-color: var(--green-500) !important;
  box-shadow: 0 0 0 4px rgba(182,255,0,.10) !important;
}
.category-preview,
.regulation-accept-box,
.terms-regulation,
.pix-tip-visible,
.result-card {
  background: #070707 !important;
  border-color: rgba(182,255,0,.16) !important;
  color: #ffffff !important;
}
.category-preview strong,
.regulation-accept-box strong {
  color: var(--green-500) !important;
}
.regulation-accept-box p,
.pix-tip-visible {
  color: #d8c9e8 !important;
}
.mobile-sticky-cta {
  position: fixed;
  left: 50% !important;
  right: auto !important;
  bottom: 18px !important;
  transform: translateX(-50%);
  min-width: min(340px, calc(100vw - 28px));
  border: 0;
  z-index: 90;
  min-height: 58px;
  border-radius: 999px;
  background: var(--green-500) !important;
  color: #0d0015 !important;
  font-size: 18px;
  font-weight: 1000;
  letter-spacing: .06em;
  box-shadow: 0 0 0 1px rgba(182,255,0,.35), 0 0 36px rgba(182,255,0,.36) !important;
}
.support-floating {
  bottom: 88px !important;
  background: #111 !important;
  color: #fff !important;
  border-color: rgba(154,53,255,.36) !important;
}
@keyframes ctaPulseStrong {
  0% { transform: translateX(-50%) scale(1); box-shadow: 0 0 0 0 rgba(182,255,0,.62), 0 0 30px rgba(182,255,0,.28); }
  55% { transform: translateX(-50%) scale(1.045); box-shadow: 0 0 0 16px rgba(182,255,0,0), 0 0 42px rgba(154,53,255,.30); }
  100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 0 0 rgba(182,255,0,0), 0 0 30px rgba(182,255,0,.28); }
}
.pulse-strong {
  animation: ctaPulseStrong 1s infinite !important;
}
.nav-inscrever.pulse-strong,
.peara-cta.pulse-strong {
  animation: none !important;
}
.toast {
  background: var(--purple-800) !important;
  color: #fff !important;
}
@media (max-width: 960px) {
  .landing-peara {
    min-height: calc(100svh - 70px);
    padding-top: 18px;
  }
  .landing-identity {
    min-height: 470px;
    border-radius: 28px;
  }
  .sponsors-grid-main,
  .sponsors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .topbar-premium .nav {
    grid-template-columns: minmax(0, 1fr) 54px;
  }
  .nav-inscrever {
    display: none !important;
  }
  .brand-premium {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .brand-premium .logo-mark {
    width: 52px !important;
    height: 52px !important;
    background: #050505 !important;
  }
  .brand-premium > span:last-child {
    color: #fff;
    font-size: 14px !important;
  }
  .brand-premium small {
    font-size: 9px !important;
    color: var(--green-500) !important;
  }
  .landing-identity {
    min-height: 420px;
    padding: 18px;
    border-radius: 24px;
  }
  .landing-logo {
    width: min(390px, 96vw);
  }
  .landing-identity h1 {
    font-size: 38px;
  }
  .landing-info {
    display: grid;
    width: 100%;
  }
  .landing-info span {
    justify-content: center;
  }
  .landing-sponsors {
    padding: 16px;
    border-radius: 24px;
  }
  .sponsors-head {
    display: grid;
    gap: 5px;
  }
  .sponsors-head strong {
    font-size: 17px;
  }
  .sponsor-main-card,
  .sponsor-card {
    min-height: 76px;
    font-size: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr !important;
  }
  .support-floating {
    left: 14px !important;
    right: auto !important;
    bottom: 88px !important;
  }
}


/* === v32 PEARA RUN: landing mais clara, formulário em página separada e capivaras === */
body.landing-page {
  background:
    radial-gradient(circle at 50% 10%, rgba(182,255,0,.16), transparent 34%),
    radial-gradient(circle at 18% 42%, rgba(154,53,255,.20), transparent 38%),
    #09060d !important;
}
body.inscricao-page {
  background:
    radial-gradient(circle at 90% 8%, rgba(182,255,0,.12), transparent 34%),
    radial-gradient(circle at 12% 22%, rgba(154,53,255,.18), transparent 38%),
    #08070b !important;
}
.landing-page .landing-peara {
  padding-top: 22px;
}
.landing-identity-light {
  background:
    radial-gradient(circle at 50% 42%, rgba(182,255,0,.16), transparent 33%),
    radial-gradient(circle at 50% 58%, rgba(154,53,255,.20), transparent 42%),
    linear-gradient(180deg, #171020, #08050d) !important;
}
.landing-identity-light .landing-logo {
  width: min(460px, 78vw);
  margin: 0 auto 8px;
}
.landing-identity-light {
  min-height: 520px;
}
.landing-identity-light h1,
.landing-identity-light p,
.landing-identity-light .landing-info,
.landing-identity-light .landing-kicker {
  text-align: center;
  justify-self: center;
}
.landing-mascot-card {
  background: #0f0b15;
  border: 1px solid rgba(182,255,0,.18);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 18px;
  align-items: center;
  overflow: hidden;
}
.landing-mascot-card small {
  color: var(--green-500);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.landing-mascot-card strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 30px;
  letter-spacing: -.05em;
}
.landing-mascot-card p {
  color: #d9cce9;
  margin-top: 8px;
  line-height: 1.45;
}
.landing-mascot-card img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.45));
}
.inscricao-intro {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  background: #0f0b15;
  border: 1px solid rgba(182,255,0,.16);
  border-radius: 28px;
  padding: 18px;
}
.inscricao-intro img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.45));
}
.inscricao-intro small {
  color: var(--green-500);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.inscricao-intro h1 {
  color: #fff;
  font-size: clamp(30px, 6vw, 52px);
  line-height: .94;
  letter-spacing: -.06em;
  margin: 8px 0;
}
.inscricao-intro p {
  color: #d9cce9;
  margin: 0;
}
.inscricao-page .peara-form-section {
  min-height: calc(100svh - 76px);
  display: block !important;
}
.inscricao-page .form-card {
  margin-bottom: 40px;
}
.capivara-burst {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 120;
  overflow: hidden;
  display: none;
}
.capivara-burst.show {
  display: block;
}
.capivara-burst img {
  position: absolute;
  bottom: -180px;
  width: var(--size);
  animation-name: capybaraFly;
  animation-timing-function: cubic-bezier(.2,.8,.2,1);
  animation-fill-mode: forwards;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,.45));
}
@keyframes capybaraFly {
  0% {
    transform: translate3d(0, 0, 0) rotate(-8deg) scale(.8);
    opacity: 0;
  }
  10% { opacity: 1; }
  100% {
    transform: translate3d(var(--drift), -115vh, 0) rotate(18deg) scale(1.08);
    opacity: 0;
  }
}
.inscricao-page .mobile-sticky-cta {
  display: none !important;
}
@media (max-width: 960px) {
  .landing-mascot-card {
    grid-template-columns: 1fr 180px;
  }
  .landing-mascot-card img {
    max-height: 190px;
  }
}
@media (max-width: 640px) {
  .landing-identity-light {
    min-height: 430px;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .landing-identity-light .landing-logo {
    width: min(330px, 90vw);
  }
  .landing-identity h1 {
    font-size: 34px;
    margin-top: 8px;
  }
  .landing-identity p {
    font-size: 14px;
    max-width: 290px;
  }
  .landing-mascot-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .landing-mascot-card img {
    max-height: 280px;
    justify-self: center;
  }
  .inscricao-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .inscricao-intro img {
    width: 180px;
    height: 180px;
    justify-self: center;
  }
}


/* === v33 ajustes PEARA RUN === */

/* Fundo roxo um pouco mais claro em todas as telas */
:root {
  --purple-950: #241033;
  --purple-900: #34134f;
  --purple-800: #5f1ca1;
  --purple-700: #7f29d8;
  --purple-600: #a044ff;
  --green-500: #b8ff12;
  --green-600: #9ee600;
  --green-700: #86c900;
  --bg: #13091d;
  --card: #171020;
  --line: rgba(184,255,18,.18);
}
html, body {
  background:
    radial-gradient(circle at 50% 8%, rgba(184,255,18,.14), transparent 30%),
    radial-gradient(circle at 18% 34%, rgba(160,68,255,.24), transparent 38%),
    #13091d !important;
}
.sidebar,
.topbar,
.topbar-premium {
  background: rgba(19,9,29,.94) !important;
}
.admin-main,
.login-box {
  background:
    radial-gradient(circle at 18% 0%, rgba(160,68,255,.15), transparent 35%),
    #160b24 !important;
}

/* Página inicial: somente identidade + patrocinadores */
.landing-page .landing-wrap {
  gap: 18px;
}
.landing-page .landing-identity-light {
  min-height: 520px;
  padding: 26px;
  display: grid;
  justify-items: center;
  align-content: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(184,255,18,.18), transparent 32%),
    radial-gradient(circle at 48% 62%, rgba(160,68,255,.24), transparent 42%),
    linear-gradient(180deg, #221233, #13091d) !important;
}
.landing-page .landing-logo {
  width: min(430px, 78vw);
  margin-inline: auto;
}
.landing-page .landing-identity h1,
.landing-page .landing-identity p,
.landing-page .landing-info,
.landing-page .landing-kicker {
  text-align: center;
}

/* Botão flutuante INSCREVER mais alto e centralizado */
.mobile-sticky-cta {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 58px !important;
  transform: translateX(-50%);
  width: min(340px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  min-height: 60px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 0 28px !important;
  border-radius: 999px;
  border: 0;
  line-height: 1;
  letter-spacing: .08em;
  font-size: 18px;
  font-weight: 1000;
  z-index: 90;
}

/* Suporte apenas na tela do formulário */
.landing-page .support-floating {
  display: none !important;
}
.support-form {
  position: fixed !important;
  right: 18px !important;
  left: auto !important;
  bottom: 24px !important;
  z-index: 88;
  background: #21102f !important;
  border-color: rgba(184,255,18,.22) !important;
  color: #fff !important;
}

/* Ficha do atleta com capivara em movimento */
.inscricao-intro {
  background:
    radial-gradient(circle at 22% 42%, rgba(184,255,18,.10), transparent 32%),
    #21102f !important;
}
.capivara-runner-form {
  animation: capivaraCorrendo 2.6s ease-in-out infinite;
  transform-origin: 50% 90%;
}
@keyframes capivaraCorrendo {
  0%, 100% { transform: translateX(0) translateY(0) rotate(-1deg); }
  25% { transform: translateX(8px) translateY(-7px) rotate(1deg); }
  50% { transform: translateX(0) translateY(2px) rotate(-1deg); }
  75% { transform: translateX(-8px) translateY(-6px) rotate(1deg); }
}

/* Botão de Pix pulsando com brilho */
.pix-submit-button {
  position: relative;
  overflow: hidden;
  min-height: 60px;
  font-size: 16px;
  letter-spacing: .03em;
  animation: pixGlowPulse 1.15s ease-in-out infinite;
}
.pix-submit-button::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -80%;
  width: 55%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.78), transparent);
  transform: skewX(-18deg);
  animation: pixShine 1.6s ease-in-out infinite;
}
.pix-submit-button:disabled {
  opacity: .8;
  cursor: wait;
  animation: none;
}
@keyframes pixGlowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,255,18,.45), 0 0 28px rgba(184,255,18,.22); transform: scale(1); }
  50% { box-shadow: 0 0 0 12px rgba(184,255,18,0), 0 0 42px rgba(160,68,255,.38); transform: scale(1.018); }
}
@keyframes pixShine {
  0% { left: -80%; }
  55%, 100% { left: 135%; }
}

@media (max-width: 640px) {
  .landing-page .landing-identity-light {
    min-height: 410px;
    padding: 18px 14px;
  }
  .landing-page .landing-logo {
    width: min(320px, 88vw);
  }
  .landing-page .landing-identity h1 {
    font-size: 34px;
  }
  .mobile-sticky-cta {
    bottom: 70px !important;
    width: min(310px, calc(100vw - 28px)) !important;
  }
  .support-form {
    right: 14px !important;
    bottom: 18px !important;
  }
}


/* === v34 correções: modal travado, cartão, admin claro === */
body.modal-lock {
  overflow: hidden !important;
  touch-action: none;
}
.modal.show {
  overflow: hidden;
}
.modal-card {
  overscroll-behavior: contain;
}
.btn-card-pay {
  width: auto;
  min-width: 190px;
  margin: 10px auto 0;
  padding: 11px 18px;
  display: inline-flex;
  background: var(--purple-700) !important;
  color: #fff !important;
  border: 1px solid rgba(184,255,18,.22);
  box-shadow: 0 0 22px rgba(160,68,255,.34);
  font-size: 13px;
  font-weight: 950;
  animation: cardGlow 1.35s ease-in-out infinite;
}
@keyframes cardGlow {
  0%, 100% { box-shadow: 0 0 16px rgba(160,68,255,.28); transform: scale(1); }
  50% { box-shadow: 0 0 30px rgba(160,68,255,.58); transform: scale(1.018); }
}

/* Admin mais branco e mais legível */
body.admin-light {
  background: #f6f7fb !important;
  color: #111827 !important;
}
body.admin-light .admin-shell {
  background: #f6f7fb !important;
}
body.admin-light .sidebar {
  background: #ffffff !important;
  color: #111827 !important;
  border-right: 1px solid #e5e7eb;
  box-shadow: 8px 0 30px rgba(17,24,39,.06);
}
body.admin-light .sidebar .brand,
body.admin-light .sidebar .brand small {
  color: #111827 !important;
}
body.admin-light .menu button {
  background: #f8fafc !important;
  color: #1f2937 !important;
  border: 1px solid #e5e7eb !important;
}
body.admin-light .menu button.active,
body.admin-light .menu button:hover {
  background: #5f1ca1 !important;
  color: #fff !important;
}
body.admin-light .admin-main {
  background: #f6f7fb !important;
}
body.admin-light .form-card,
body.admin-light .panel-card,
body.admin-light .glass-card,
body.admin-light .metric,
body.admin-light .table-wrap,
body.admin-light .import-result-box,
body.admin-light .result-card,
body.admin-light .ad-slot {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #e5e7eb !important;
  box-shadow: 0 16px 38px rgba(17,24,39,.07) !important;
}
body.admin-light .section-title h2,
body.admin-light .section-title p,
body.admin-light label,
body.admin-light .helper,
body.admin-light .empty {
  color: #111827 !important;
}
body.admin-light .section-title p,
body.admin-light .helper,
body.admin-light small {
  color: #6b7280 !important;
}
body.admin-light input,
body.admin-light select,
body.admin-light textarea {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #d1d5db !important;
}
body.admin-light th {
  background: #f3f4f6 !important;
  color: #374151 !important;
}
body.admin-light td {
  color: #111827 !important;
}

/* Evita capivara no lado direito durante o Pix; capivaras só aparecem depois de pagamento confirmado */
.capivara-burst:not(.show) {
  display: none !important;
}

@media (max-width: 640px) {
  .btn-card-pay {
    width: 100%;
  }
}

.consulta-card {
  max-width: 720px;
  margin-inline: auto;
}
.consulta-page .peara-form-section {
  min-height: calc(100svh - 76px);
}

/* === v35 ajustes finais PEARA RUN === */
.landing-info #countdownEvento {
  background: rgba(184,255,18,.18) !important;
  border-color: rgba(184,255,18,.36) !important;
  color: #b8ff12 !important;
  box-shadow: 0 0 22px rgba(184,255,18,.12);
}
.landing-sponsors .sponsors-head {
  display: grid !important;
  justify-items: center !important;
  text-align: center !important;
  gap: 6px !important;
}
.landing-sponsors .sponsors-head small,
.landing-sponsors .sponsors-head strong {
  text-align: center !important;
}
.landing-prizes {
  background: #21102f;
  border: 1px solid rgba(184,255,18,.20);
  border-radius: 30px;
  padding: 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.prize-title {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 18px;
}
.prize-title small {
  color: var(--green-500);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.prize-title h2 {
  color: #fff;
  margin: 8px 0 6px;
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: -.05em;
}
.prize-title p {
  color: #d9cce9;
  line-height: 1.45;
}
.prize-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.prize-box {
  background: #13091d;
  border: 1px solid rgba(160,68,255,.28);
  border-radius: 24px;
  padding: 20px;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(184,255,18,.05);
}
.prize-box h3 {
  color: var(--green-500);
  font-size: 22px;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.prize-box p {
  color: #f4ecff;
  line-height: 1.48;
  margin: 8px 0;
  font-weight: 800;
}
.team-prize {
  border-color: rgba(184,255,18,.28);
}
.confirmed-success-box {
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.40);
  color: #22c55e;
  border-radius: 22px;
  padding: 16px;
  display: grid;
  gap: 4px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: 0 0 30px rgba(34,197,94,.14);
}
.confirmed-success-box strong {
  font-size: 20px;
  letter-spacing: .04em;
}
.confirmed-success-box span {
  font-size: 14px;
  font-weight: 1000;
  color: #86efac;
}
.confirmed-card .big-number {
  color: #b8ff12;
  font-size: 28px;
  font-weight: 1000;
}
.btn-card-pay {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}
@media (max-width: 760px) {
  .prize-columns {
    grid-template-columns: 1fr;
  }
  .landing-prizes {
    padding: 18px;
    border-radius: 24px;
  }
}


/* === v36 correção cartão na ficha + consulta CPF === */
.form-card-pay {
  width: min(260px, 100%) !important;
  min-width: 0 !important;
  margin: 12px auto 0 !important;
  min-height: 48px;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: var(--purple-700) !important;
  color: #fff !important;
  border: 1px solid rgba(184,255,18,.24) !important;
  box-shadow: 0 0 24px rgba(160,68,255,.40) !important;
  animation: cardGlow 1.35s ease-in-out infinite;
}
.form-card-pay::after {
  content: "em breve";
  margin-left: 8px;
  font-size: 10px;
  text-transform: uppercase;
  opacity: .78;
  letter-spacing: .08em;
}
@media (max-width:640px) {
  .form-card-pay { width: 100% !important; }
}


/* === v38 cartão Efí funcional === */
.card-payment-modal {
  width: min(620px, 100%);
}
.card-secure-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 22px;
  padding: 14px 16px;
  margin: -4px 0 18px;
  background: linear-gradient(135deg, #eff6ff, #fff4ea);
  border: 1px solid rgba(0,91,154,.14);
}
.card-secure-badge span {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0,91,154,.10);
  font-size: 22px;
}
.card-secure-badge strong {
  display: block;
  color: var(--purple-900);
  font-weight: 950;
}
.card-secure-badge small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.card-payment-modal .btn-card-pay.btn-full {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}
.card-payment-modal input {
  letter-spacing: .01em;
}

/* ========================================================================== */
/* JOÃO JILÓ — PÁGINA PÚBLICA OFICIAL V1                                     */
/* ========================================================================== */
:root {
  --jj-navy: #071b2d;
  --jj-navy-2: #0b3f73;
  --jj-blue: #246fae;
  --jj-blue-light: #e9f3fb;
  --jj-orange: #f36a2a;
  --jj-orange-dark: #d84b13;
  --jj-white: #ffffff;
  --jj-offwhite: #f7f9fb;
  --jj-text: #10283b;
  --jj-muted: #64788a;
  --jj-line: #dce7ef;
  --jj-shadow: 0 24px 70px rgba(7, 38, 66, .13);
}

body.jj-page {
  background: var(--jj-white);
  color: var(--jj-text);
  overflow-x: hidden;
}
body.jj-page.modal-lock,
body.jj-page.jj-menu-open { overflow: hidden; }

.jj-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(11,63,115,.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.jj-nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.jj-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 250px;
}
.jj-brand img {
  width: 72px;
  height: 50px;
  object-fit: contain;
  object-position: left center;
}
.jj-brand span { display: grid; gap: 2px; }
.jj-brand strong { font-size: 15px; color: var(--jj-navy); line-height: 1.1; }
.jj-brand small { font-size: 10px; color: var(--jj-blue); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.jj-desktop-menu { display: flex; align-items: center; gap: 25px; }
.jj-desktop-menu a {
  color: #405669;
  font-size: 14px;
  font-weight: 750;
  position: relative;
  padding: 10px 0;
}
.jj-desktop-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--jj-orange);
  transition: width .25s ease;
}
.jj-desktop-menu a:hover { color: var(--jj-navy-2); }
.jj-desktop-menu a:hover::after { width: 100%; }
.jj-nav-actions { display: flex; align-items: center; gap: 10px; }
.jj-nav-actions .btn { min-height: 46px; }
.jj-nav-actions .btn-primary,
.jj-page .btn-primary {
  background: linear-gradient(135deg, var(--jj-orange), var(--jj-orange-dark));
  color: #fff;
  box-shadow: 0 15px 32px rgba(243,106,42,.25);
}
.jj-nav-actions .btn-primary:hover,
.jj-page .btn-primary:hover { transform: translateY(-2px); filter: brightness(1.04); }
.jj-page .btn-soft {
  color: var(--jj-navy-2);
  background: #fff;
  border: 1px solid var(--jj-line);
}
.jj-page .btn-soft:hover { border-color: var(--jj-blue); background: var(--jj-blue-light); }
.jj-burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--jj-line);
  border-radius: 14px;
  background: #fff;
  padding: 11px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.jj-burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: var(--jj-navy);
  transition: transform .25s ease, opacity .25s ease;
}
.jj-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jj-burger.open span:nth-child(2) { opacity: 0; }
.jj-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.jj-mobile-menu {
  position: fixed;
  inset: 82px 0 0;
  z-index: 99;
  background: rgba(6,24,40,.97);
  backdrop-filter: blur(18px);
  transform: translateX(102%);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
  overflow-y: auto;
}
.jj-mobile-menu.open { transform: translateX(0); opacity: 1; visibility: visible; }
.jj-mobile-menu-inner { width: min(100% - 32px, 520px); margin: 0 auto; padding: 24px 0 40px; display: grid; }
.jj-mobile-menu a {
  color: #fff;
  padding: 17px 4px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 18px;
  font-weight: 800;
}
.jj-mobile-menu a:hover { color: #ffae77; }
.jj-mobile-menu .jj-mobile-highlight,
.jj-mobile-menu .jj-mobile-whatsapp {
  margin-top: 14px;
  border: 0;
  border-radius: 16px;
  text-align: center;
  padding: 16px;
}
.jj-mobile-menu .jj-mobile-highlight { background: var(--jj-orange); color: #fff; }
.jj-mobile-menu .jj-mobile-whatsapp { background: #fff; color: var(--jj-navy); }

.jj-hero {
  min-height: 690px;
  position: relative;
  display: grid;
  align-items: center;
  background: var(--jj-navy);
  overflow: hidden;
}
.jj-hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(4,20,34,.98) 0%, rgba(6,35,60,.93) 48%, rgba(9,62,108,.62) 100%), url('/img/banner-joao-jilo.svg');
  background-size: cover;
  background-position: center;
}
.jj-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 8% 15%, rgba(243,106,42,.23), transparent 28%), radial-gradient(circle at 92% 90%, rgba(62,148,213,.25), transparent 34%);
}
.jj-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: 70px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
}
.jj-kicker,
.jj-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--jj-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.jj-kicker::before,
.jj-section-kicker::before { content: ''; width: 24px; height: 2px; background: currentColor; }
.jj-hero h1 {
  max-width: 770px;
  color: #fff;
  font-size: clamp(43px, 5.5vw, 78px);
  line-height: .98;
  letter-spacing: -.05em;
  margin: 20px 0 24px;
}
.jj-hero h1 span { color: #ff9250; }
.jj-hero-copy > p { color: rgba(255,255,255,.72); max-width: 650px; font-size: 18px; line-height: 1.68; }
.jj-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.jj-btn-large { min-height: 56px; padding: 0 27px; font-size: 15px; }
.jj-countdown-card {
  margin-top: 28px;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
}
.jj-countdown-card span { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.52); font-weight: 800; }
.jj-countdown-card strong { font-size: 14px; }
.jj-hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.jj-hero-visual.has-banner { overflow: hidden; border-radius: 32px; box-shadow: 0 40px 90px rgba(0,0,0,.35); }
.jj-hero-visual.has-banner img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; border-radius: 32px; }
.jj-hero-logo-card {
  position: relative;
  width: min(540px, 100%);
  min-height: 470px;
  display: grid;
  place-items: center;
  padding: 30px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 45px 100px rgba(0,0,0,.34);
  backdrop-filter: blur(10px);
}
.jj-hero-logo-card > img { width: 100%; max-width: 500px; filter: drop-shadow(0 18px 28px rgba(0,0,0,.25)); }
.jj-date-stamp {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 86px;
  height: 96px;
  border-radius: 20px;
  background: #fff;
  color: var(--jj-navy);
  display: grid;
  place-items: center;
  align-content: center;
  line-height: 1;
  box-shadow: 0 16px 35px rgba(0,0,0,.2);
}
.jj-date-stamp strong { font-size: 38px; }
.jj-date-stamp span { color: var(--jj-orange); font-weight: 950; font-size: 13px; margin: 3px 0; }
.jj-date-stamp small { font-size: 10px; font-weight: 800; color: #637587; }

.jj-quick-info { position: relative; z-index: 2; margin-top: -31px; }
.jj-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--jj-line);
  border-radius: 24px;
  box-shadow: var(--jj-shadow);
  overflow: hidden;
}
.jj-quick-grid article { min-height: 112px; display: flex; gap: 15px; align-items: center; padding: 23px 28px; border-right: 1px solid var(--jj-line); }
.jj-quick-grid article:last-child { border-right: 0; }
.jj-quick-grid article > span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--jj-blue-light); font-size: 20px; }
.jj-quick-grid article div { display: grid; gap: 4px; }
.jj-quick-grid small { color: var(--jj-muted); font-weight: 750; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.jj-quick-grid strong { color: var(--jj-navy); font-size: 15px; }

.jj-section { padding: 98px 0; }
.jj-section-soft { background: linear-gradient(180deg, #f4f8fb, #eef4f8); }
.jj-about-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: center; }
.jj-about-grid h2,
.jj-section-head h2,
.jj-route-grid h2,
.jj-faq-grid h2,
.jj-final-box h2 {
  color: var(--jj-navy);
  font-size: clamp(34px, 4.2vw, 57px);
  line-height: 1.03;
  letter-spacing: -.04em;
  margin: 16px 0 22px;
}
.jj-about-grid > div:first-child p,
.jj-route-grid > div:last-child > p,
.jj-section-head > p,
.jj-faq-grid > div:first-child p { color: var(--jj-muted); font-size: 16px; line-height: 1.72; }
.jj-about-grid > div:first-child p + p { margin-top: 14px; }
.jj-about-card {
  min-height: 310px;
  border-radius: 30px;
  padding: 34px;
  color: #fff;
  background: linear-gradient(145deg, var(--jj-blue), var(--jj-navy));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  box-shadow: var(--jj-shadow);
}
.jj-about-card::after { content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(243,106,42,.28); right: -90px; top: -95px; }
.jj-about-card span { font-size: 98px; font-weight: 950; line-height: .85; letter-spacing: -.08em; }
.jj-about-card strong { font-size: 24px; margin-top: 10px; }
.jj-about-card p { color: rgba(255,255,255,.68); margin-top: 12px; line-height: 1.5; }
.jj-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 42px; margin-bottom: 42px; }
.jj-section-head > div { max-width: 720px; }
.jj-section-head > p { max-width: 460px; }
.jj-races-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.jj-race-card {
  border-radius: 28px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--jj-line);
  box-shadow: 0 18px 50px rgba(7,38,66,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.jj-race-card:hover { transform: translateY(-6px); box-shadow: var(--jj-shadow); }
.jj-race-card.jj-race-featured { background: linear-gradient(145deg, var(--jj-navy-2), var(--jj-blue)); color: #fff; border: 0; }
.jj-race-number { color: var(--jj-orange); font-size: 76px; font-weight: 950; line-height: 1; letter-spacing: -.07em; }
.jj-race-number span { font-size: 26px; letter-spacing: 0; margin-left: 4px; }
.jj-race-card small { display: block; color: var(--jj-blue); font-weight: 850; text-transform: uppercase; letter-spacing: .1em; margin-top: 20px; }
.jj-race-featured small { color: #ffb589; }
.jj-race-card h3 { font-size: 27px; color: var(--jj-navy); margin: 8px 0 12px; }
.jj-race-featured h3 { color: #fff; }
.jj-race-card p { color: var(--jj-muted); line-height: 1.62; min-height: 52px; }
.jj-race-featured p { color: rgba(255,255,255,.68); }
.jj-race-card a { display: inline-flex; margin-top: 22px; color: var(--jj-orange); font-weight: 900; }
.jj-race-featured a { color: #fff; }

.jj-route-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 68px; align-items: center; }
.jj-route-map {
  min-height: 410px;
  border-radius: 32px;
  padding: 34px;
  color: #fff;
  background: linear-gradient(145deg, #082d4d, #1f72b0);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  box-shadow: var(--jj-shadow);
}
.jj-route-map::before { content: ''; position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(#fff 1.5px, transparent 1.5px); background-size: 29px 29px; }
.jj-route-line { position: absolute; inset: 42px 38px 125px; }
.jj-route-line::before { content: ''; position: absolute; inset: 15% 5% 18%; border: 8px dashed rgba(255,255,255,.65); border-radius: 48% 34% 45% 36%; transform: rotate(-8deg); }
.jj-route-line span { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: var(--jj-orange); border: 5px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.jj-route-line span:nth-child(1) { left: 11%; bottom: 13%; }
.jj-route-line span:nth-child(2) { right: 15%; top: 18%; }
.jj-route-line span:nth-child(3) { left: 49%; top: 44%; }
.jj-route-map strong,
.jj-route-map p { position: relative; z-index: 1; }
.jj-route-map strong { font-size: 25px; }
.jj-route-map p { color: rgba(255,255,255,.68); margin-top: 6px; }
.jj-check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 25px; }
.jj-check-list li { padding: 14px 15px 14px 42px; background: #f4f8fb; border-radius: 14px; color: var(--jj-navy); font-weight: 750; position: relative; }
.jj-check-list li::before { content: '✓'; position: absolute; left: 15px; color: var(--jj-orange); font-weight: 950; }

.jj-awards { background: var(--jj-navy); }
.jj-section-head-light h2 { color: #fff; }
.jj-section-head-light > p { color: rgba(255,255,255,.6); }
.jj-awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.jj-awards-grid article { min-height: 230px; padding: 27px; border-radius: 24px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.06); color: #fff; }
.jj-awards-grid article > span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 17px; background: rgba(243,106,42,.18); font-size: 25px; }
.jj-awards-grid strong { display: block; font-size: 20px; margin: 24px 0 10px; }
.jj-awards-grid p { color: rgba(255,255,255,.61); line-height: 1.6; }

.jj-kit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.jj-kit-grid article { padding: 28px; border: 1px solid var(--jj-line); border-radius: 24px; background: #fff; }
.jj-kit-grid article > span { font-size: 30px; }
.jj-kit-grid strong { display: block; color: var(--jj-navy); font-size: 18px; margin: 18px 0 8px; }
.jj-kit-grid p { color: var(--jj-muted); line-height: 1.58; }
.jj-master-sponsor {
  min-height: 160px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  border: 1px dashed #aec6d8;
  border-radius: 24px;
  background: #fff;
  color: var(--jj-navy);
  margin-bottom: 18px;
}
.jj-master-sponsor.has-banner { padding: 0; overflow: hidden; border-style: solid; }
.jj-master-sponsor.has-banner img { width: 100%; max-height: 280px; object-fit: contain; }
.jj-master-sponsor span { color: var(--jj-blue); text-transform: uppercase; letter-spacing: .12em; font-weight: 850; font-size: 11px; }
.jj-master-sponsor strong { font-size: 21px; }
.jj-sponsors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jj-sponsors-grid .sponsor-card,
.jj-sponsor-placeholder { min-height: 120px; border: 1px solid var(--jj-line); border-radius: 20px; background: #fff; display: grid; place-items: center; color: #8ba0b0; font-weight: 800; }
.jj-sponsors-grid .sponsor-card img { width: 100%; height: 100px; object-fit: contain; padding: 12px; }
.jj-faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.jj-faq-list { display: grid; gap: 12px; }
.jj-faq-list details { border: 1px solid var(--jj-line); border-radius: 17px; padding: 18px 20px; background: #fff; }
.jj-faq-list summary { color: var(--jj-navy); font-weight: 850; cursor: pointer; }
.jj-faq-list p { color: var(--jj-muted); line-height: 1.62; margin-top: 12px; }
.jj-final-cta { padding: 0 0 95px; }
.jj-final-box {
  min-height: 310px;
  padding: 50px;
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--jj-navy), var(--jj-blue));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  box-shadow: var(--jj-shadow);
  position: relative;
  overflow: hidden;
}
.jj-final-box::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(243,106,42,.22); right: -130px; top: -150px; }
.jj-final-box > * { position: relative; z-index: 1; }
.jj-final-box h2 { color: #fff; max-width: 760px; margin-bottom: 0; }
.jj-final-actions { display: flex; flex-direction: column; gap: 10px; min-width: 240px; }
.jj-footer { background: #061725; color: #fff; padding: 68px 0 24px; }
.jj-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 45px; padding-bottom: 42px; }
.jj-footer-brand img { width: 250px; max-height: 115px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.jj-footer-brand p { color: rgba(255,255,255,.52); margin-top: 13px; max-width: 320px; line-height: 1.6; }
.jj-footer-grid > div:not(.jj-footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.jj-footer-grid strong { margin-bottom: 8px; }
.jj-footer-grid a { color: rgba(255,255,255,.56); font-size: 14px; }
.jj-footer-grid a:hover { color: #ff9d62; }
.jj-footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.42); font-size: 12px; }
.jj-footer-banner.has-banner { margin-top: 22px; overflow: hidden; border-radius: 16px; }
.jj-footer-banner img { width: 100%; max-height: 170px; object-fit: cover; }

/* Inscrição, consulta, validação e admin com identidade João Jiló */
.inscricao-page .topbar-premium,
.consulta-page .topbar-premium { background: rgba(255,255,255,.96); border-bottom-color: var(--jj-line); }
.inscricao-page .brand-premium img,
.consulta-page .brand-premium img { width: 66px; height: 45px; object-fit: contain; }
.inscricao-page .brand-premium .brand-mark,
.consulta-page .brand-premium .brand-mark { width: 68px; height: 48px; border-radius: 12px; background: #fff; box-shadow: none; }
.inscricao-page .brand-premium small,
.consulta-page .brand-premium small { color: var(--jj-blue); }
.inscricao-page .peara-form-section,
.consulta-page .peara-form-section { background: radial-gradient(circle at 90% 10%, rgba(36,111,174,.14), transparent 26%), linear-gradient(180deg, #f5f9fc, #eef4f8); }
.inscricao-page .inscricao-intro { background: linear-gradient(135deg, var(--jj-navy), var(--jj-blue)); color: #fff; border-radius: 25px; padding: 24px; }
.inscricao-page .inscricao-intro img { width: 180px; height: 92px; object-fit: contain; filter: brightness(0) invert(1); }
.inscricao-page .inscricao-intro small { color: #ffad76; }
.inscricao-page .inscricao-intro h1 { color: #fff; }
.inscricao-page .inscricao-intro p { color: rgba(255,255,255,.68); }
.inscricao-page .form-card-premium,
.consulta-page .form-card-premium { border: 1px solid var(--jj-line); box-shadow: var(--jj-shadow); }
.inscricao-page .section-title small,
.consulta-page .section-title small { color: var(--jj-blue); }
.inscricao-page .field input:focus,
.inscricao-page .field select:focus,
.consulta-page .field input:focus { border-color: var(--jj-blue); box-shadow: 0 0 0 4px rgba(36,111,174,.12); }
.inscricao-page .pix-submit-button,
.consulta-page .btn-primary { background: linear-gradient(135deg, var(--jj-orange), var(--jj-orange-dark)); }
.admin-light .btn-primary,
.admin-light .menu button.active,
.admin-light .menu button:hover { background: linear-gradient(135deg, var(--jj-blue), var(--jj-navy-2)); color: #fff; }
.admin-light .sidebar { background: linear-gradient(180deg, var(--jj-navy), #0a355a); }
.admin-light .metric b,
.admin-light th { color: var(--jj-blue); }
.admin-light .brand-mark { background: linear-gradient(135deg, var(--jj-blue), var(--jj-orange)); }

/* Confete no lugar dos elementos da identidade antiga */
.capybara-burst img { display: none !important; }
.capybara-burst .jj-confetti {
  position: absolute;
  top: -25px;
  width: 10px;
  height: 20px;
  border-radius: 3px;
  background: var(--confetti-color, #f36a2a);
  animation: jjConfettiFall var(--duration, 2.8s) ease-in forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes jjConfettiFall {
  0% { transform: translate3d(0,-10vh,0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate3d(var(--drift,0px),110vh,0) rotate(760deg); opacity: .85; }
}

@media (max-width: 1080px) {
  .jj-desktop-menu { display: none; }
  .jj-burger { display: flex; }
  .jj-consulta-btn { display: none; }
  .jj-hero-grid { grid-template-columns: 1fr 440px; gap: 36px; }
  .jj-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .jj-footer-grid > div:last-child { grid-column: 2 / -1; }
}
@media (max-width: 860px) {
  .jj-nav-actions > .btn { display: none; }
  .jj-hero { min-height: auto; }
  .jj-hero-grid { grid-template-columns: 1fr; padding-top: 62px; padding-bottom: 70px; }
  .jj-hero-copy { text-align: center; }
  .jj-hero-copy > p { margin-left: auto; margin-right: auto; }
  .jj-kicker { justify-content: center; }
  .jj-hero-actions { justify-content: center; }
  .jj-countdown-card { margin-left: auto; margin-right: auto; }
  .jj-hero-visual { min-height: 400px; }
  .jj-hero-logo-card { min-height: 390px; }
  .jj-quick-grid { grid-template-columns: 1fr; }
  .jj-quick-grid article { border-right: 0; border-bottom: 1px solid var(--jj-line); }
  .jj-quick-grid article:last-child { border-bottom: 0; }
  .jj-about-grid,
  .jj-route-grid,
  .jj-faq-grid { grid-template-columns: 1fr; gap: 38px; }
  .jj-about-card { min-height: 270px; }
  .jj-section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .jj-section-head > p { max-width: 720px; }
  .jj-final-box { align-items: flex-start; flex-direction: column; }
  .jj-final-actions { width: 100%; flex-direction: row; }
  .jj-final-actions .btn { flex: 1; }
  .jj-footer-grid { grid-template-columns: 1fr 1fr; }
  .jj-footer-grid > div:last-child { grid-column: auto; }
}
@media (max-width: 640px) {
  .jj-nav { min-height: 70px; }
  .jj-brand { min-width: 0; gap: 9px; }
  .jj-brand img { width: 54px; height: 38px; }
  .jj-brand strong { font-size: 13px; }
  .jj-brand small { font-size: 8px; letter-spacing: .03em; }
  .jj-mobile-menu { inset-top: 70px; top: 70px; }
  .jj-hero-grid { padding-top: 44px; padding-bottom: 56px; }
  .jj-hero h1 { font-size: 43px; }
  .jj-hero-copy > p { font-size: 15px; }
  .jj-hero-actions { display: grid; grid-template-columns: 1fr; }
  .jj-hero-actions .btn { width: 100%; }
  .jj-hero-visual { min-height: 300px; }
  .jj-hero-logo-card { min-height: 290px; padding: 18px; border-radius: 24px; }
  .jj-date-stamp { width: 66px; height: 75px; border-radius: 15px; right: 12px; top: 12px; }
  .jj-date-stamp strong { font-size: 29px; }
  .jj-date-stamp span { font-size: 10px; }
  .jj-quick-info { margin-top: -18px; }
  .jj-quick-grid { border-radius: 18px; }
  .jj-quick-grid article { min-height: 92px; padding: 18px; }
  .jj-section { padding: 66px 0; }
  .jj-about-grid h2,
  .jj-section-head h2,
  .jj-route-grid h2,
  .jj-faq-grid h2,
  .jj-final-box h2 { font-size: 36px; }
  .jj-about-card span { font-size: 78px; }
  .jj-races-grid,
  .jj-awards-grid,
  .jj-kit-grid,
  .jj-sponsors-grid { grid-template-columns: 1fr; }
  .jj-race-card { padding: 24px; }
  .jj-race-number { font-size: 62px; }
  .jj-route-map { min-height: 330px; }
  .jj-check-list { grid-template-columns: 1fr; }
  .jj-final-box { padding: 30px 22px; border-radius: 25px; }
  .jj-final-actions { flex-direction: column; min-width: 0; }
  .jj-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .jj-footer-bottom { flex-direction: column; }
  .inscricao-page .inscricao-intro { align-items: center; flex-direction: column; text-align: center; }
  .inscricao-page .inscricao-intro img { width: 210px; }
}
