/* ============================================================
   VARIÁVEIS GLOBAIS
   ► Para mudar a cor da marca: altere apenas --brand abaixo.
     Todas as instâncias de cor de destaque herdam dela.
   ► Para ajustar tipografia: edite --font-head e --font-body.
   ► Para ajustar tons de fundo: edite --dark, --dark2, --dark3, --dark4.
============================================================ */
:root {
  /* ── Cor principal da marca ── */
  --brand:        #fcef66;   /* Amarelo XKR — altere aqui para mudar tudo */
  --brand-strong: #ffe94d;   /* Versão mais saturada (hover, destaques) */
  --brand-dim:    #c9bf40;   /* Versão apagada (detalhes, bordas suaves) */

  /* ── Aliases legados — mantidos para não quebrar código antigo ── */
  --neon:        var(--brand);
  --neon-strong: var(--brand-strong);
  --neon-dim:    var(--brand-dim);

  /* ── Tons de fundo escuro ── */
  --dark:  #0a0a0a;   /* Fundo base (body, nav) */
  --dark2: #111111;   /* Cards, seções alternadas */
  --dark3: #181818;   /* Inputs, selects, botões secundários */
  --dark4: #1e1e1e;   /* Superfícies elevadas */

  /* ── Bordas e texto ── */
  --border:     #2a2a2a;   /* Bordas padrão */
  --text:       #ffffff;
  --text-muted: #888;

  /* ── Tipografia ── */
  --font-head: 'Barlow Condensed', sans-serif;   /* Títulos e labels */
  --font-body: 'Barlow', sans-serif;             /* Corpo de texto */
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }

/* ============================================================
   NAV
============================================================ */
nav {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--neon);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}
.nav-logo span { display: block; font-size: 8px; letter-spacing: 3px; color: #fff; font-weight: 600; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--neon); }
.btn-nav {
  background: var(--neon);
  color: #000;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  padding: 9px 20px;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}
.btn-nav:hover { background: var(--neon-strong); box-shadow: 0 0 18px rgba(252,239,102,.18); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: #fff; display: block; }
.mobile-menu {
  display: none;
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  z-index: 199;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #ccc;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--neon); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  opacity: 1;
  transition: opacity 0.5s ease;

  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,.72) 35%, rgba(0,0,0,.3) 75%, rgba(0,0,0,.2) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 36px 60px;
  max-width: 800px;
  width: 100%;
  text-align: left; /* opcional: centraliza textos */
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--neon);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.82;
  margin-bottom: 8px;
}
.hero-title .line1 { font-size: clamp(40px,5.5vw,68px); color: #fff; display: block; }
.hero-title .line2 { font-size: clamp(64px,9vw,120px); color: var(--neon); display: block; }
.hero-subtitle {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(14px,2vw,22px);
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-date {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px,2.5vw,32px);
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero-meta { display: flex; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.hero-meta-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #bbb; }
.hero-meta-item .icon {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--neon); font-size: 13px; flex-shrink: 0;
}
.hero-meta-item strong { display: block; color: #fff; font-size: 12px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--neon); color: #000;
  font-family: var(--font-head); font-weight: 700;
  font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  border: none; padding: 13px 24px; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background .2s, transform .1s, box-shadow .2s;
  box-shadow: 0 0 18px rgba(252,239,102,.12);
}
.btn-primary:hover { background: var(--neon-strong); transform: translateY(-1px); box-shadow: 0 0 22px rgba(252,239,102,.22); }
/* ── Botão outline (ex: "Ver Regulamento" no hero) ──
   Borda usa a cor da marca. Para mudar só este botão,
   edite border e hover border-color aqui. */
.btn-outline {
  background: transparent; color: #fff;
  font-family: var(--font-head); font-weight: 700;
  font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  border: 1.5px solid var(--brand); padding: 12px 24px; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-outline:hover {
  border-color: var(--brand-strong);
  color: var(--brand);
  background: rgba(252,239,102,.06);
  box-shadow: inset 0 0 0 1px rgba(252,239,102,.15), 0 0 14px rgba(252,239,102,.08);
}

/* ============================================================
   PERCURSOS V3 — Distance tabs + Map + Elevation + Info Panel
============================================================ */

/* ── Section wrapper ── */
.percursos-section {
  padding: 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Header bar ── */
.sec-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 36px 20px;
  flex-wrap: wrap; gap: 16px;
  border-bottom: 1px solid var(--border);
}
.sec-label {
  font-family: var(--font-head); font-weight: 700; font-size: 11px;
  letter-spacing: 4px; text-transform: uppercase; color: var(--neon); margin-bottom: 6px;
}
.sec-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1; text-transform: uppercase;
  display: flex; align-items: center; gap: 14px; color: #fff;
}
.sec-title::before { content: ''; display: block; width: 5px; height: .9em; background: var(--neon); }
.map-ctrl-group { display: flex; gap: 8px; flex-wrap: wrap; }
.map-ctrl-btn {
  display: flex; align-items: center; gap: 7px;
  background: var(--dark3); border: 1px solid #2a2a2a;
  color: #bbb; font-family: var(--font-head); font-weight: 700; font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 10px 16px; cursor: pointer; transition: color .2s, border-color .2s, background .2s;
}
.map-ctrl-btn svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.map-ctrl-btn:hover { color: var(--neon); border-color: var(--neon); background: rgba(252,239,102,.05); }
.map-ctrl-btn.active-anim { color: var(--neon); border-color: var(--neon); animation: pulseBtn 1s infinite; }
@keyframes pulseBtn { 0%,100%{box-shadow:none} 50%{box-shadow:0 0 14px rgba(252,239,102,.25)} }

/* ── Main 3-col grid ── */
.main-grid {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  gap: 0;
  border-top: 1px solid var(--border);
}

/* ── LEFT: Distance tabs ── */
.dist-tabs {
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.dist-tab {
  display: flex; flex-direction: column; justify-content: center;
  padding: 22px 20px;
  border: none; border-bottom: 1px solid var(--border);
  background: transparent; color: #fff;
  cursor: pointer; text-align: left;
  transition: background .2s, border-left .2s;
  position: relative;
}
.dist-tab::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: transparent; transition: background .2s;
}
.dist-tab.active::before { background: var(--neon); }
.dist-tab.active { background: linear-gradient(180deg, rgba(252,239,102,.08), rgba(252,239,102,.03)); }
.dist-tab:hover:not(.active) { background: rgba(255,255,255,.03); }
.tab-km {
  font-family: var(--font-head); font-weight: 900; font-size: 44px; line-height: 1;
  transition: color .2s;
}
.tab-km span {
  color: var(--neon);
  font-size: .48em;
  vertical-align: super;
  margin-left: 2px;
}
.dist-tab.active .tab-km { color: var(--neon); }
.tab-type {
  font-size: 10px; letter-spacing: 1.5px; color: #666;
  text-transform: uppercase; margin-top: 4px; font-weight: 600;
}
.dist-tab.active .tab-type { color: rgba(252,239,102,.6); }
.tab-bar { margin-top: 8px; height: 2px; background: rgba(255,255,255,.13); position: relative; overflow: hidden; }
.tab-bar-fill { position: absolute; inset: 0; width: 0%; background: var(--neon); transition: width .6s ease; }

/* ── CENTER: Map + Elevation ── */
.map-center { display: flex; flex-direction: column; border-right: 1px solid var(--border); min-width: 0; }
#map-v3 { height: 460px; width: 100%; background: #060e18; flex-shrink: 0; }

.elev-wrap {
  position: relative;
  background: linear-gradient(to bottom, rgba(252,239,102,.06) 0%, var(--dark2) 100%);
  border-top: 1px solid var(--border);
  padding: 20px 24px 18px;
}
.elev-title {
  font-family: var(--font-head); font-weight: 700; font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase; color: #555; margin-bottom: 10px;
}
#elevationChart { width: 100% !important; height: 160px !important; }
.elev-hint { margin-top: 10px; display: flex; align-items: center; gap: 6px; font-size: 11px; color: #444; }
.elev-hint svg { flex-shrink: 0; }

/* ── RIGHT: Info panel ── */
.v3-info-panel { display: flex; flex-direction: column; background: var(--dark2); min-width: 0; overflow: hidden; }

.route-summary { padding: 24px 22px; border-bottom: 1px solid var(--border); }
.rs-badge {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--neon); border: 1px solid rgba(252,239,102,.3); padding: 3px 9px; margin-bottom: 12px;
}
.rs-dist {
  font-family: var(--font-head); font-weight: 900; font-size: 60px;
  line-height: 1; color: #fff; text-shadow: 0 0 30px rgba(252,239,102,.1);
}
.rs-dist span { color: var(--neon); font-size: 28px; vertical-align: super; }
.rs-subtitle { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: #555; margin-bottom: 18px; }
.route-start-box {
  background: var(--dark3);
  border: 1px solid var(--border);
  padding: 16px 18px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.route-start-box::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--neon), transparent);
  opacity: .35;
}
.route-box-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666;
  font-weight: 800;
  margin-bottom: 6px;
}
.route-box-value {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}
.route-box-value.neon { color: var(--neon); }

.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.metric { background: var(--dark3); border: 1px solid var(--border); padding: 12px 12px 10px; position: relative; overflow: hidden; }
.metric::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(to right, var(--neon), transparent); opacity: .35; }
.metric-label { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: #555; font-weight: 700; margin-bottom: 4px; }
.metric-value { font-family: var(--font-head); font-weight: 900; font-size: 22px; color: #fff; line-height: 1; }
.metric-value.neon { color: var(--neon); }

.cursor-info { padding: 18px 22px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.cursor-info .map-ctrl-group { margin-top: 14px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.cursor-info .map-ctrl-btn { justify-content: center; width: 100%; }
.ci-title { font-family: var(--font-head); font-weight: 700; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #444; margin-bottom: 10px; }
.ci-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ci-row:last-child { margin-bottom: 0; }
.ci-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ci-key { font-size: 11px; color: #666; flex: 1; letter-spacing: .5px; }
.ci-val { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: #fff; }
.ci-val.neon { color: var(--neon); }
.diff-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 1px; letter-spacing: .5px; margin-top: 4px; }
.diff-up { background: rgba(255,48,48,.15); color: #ff3030; border: 1px solid rgba(255,48,48,.2); }
.diff-mid { background: rgba(255,176,0,.12); color: #ffb000; border: 1px solid rgba(255,176,0,.2); }
.diff-ok { background: rgba(252,239,102,.10); color: var(--neon); border: 1px solid rgba(252,239,102,.2); }
.diff-down { background: rgba(252,239,102,.10); color: var(--brand-strong); border: 1px solid rgba(252,239,102,.22); }

.support-list {
  flex: none;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  border-top: 1px solid var(--border);
  background: var(--dark2);
}
.support-list::-webkit-scrollbar { height: 5px; }
.support-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.13); }
.sl-header { padding: 14px 22px 10px; font-family: var(--font-head); font-weight: 700; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #444; border-bottom: 1px solid var(--border); position: static; background: var(--dark2); z-index: 1; }
#supportPoints { display: flex; gap: 0; }
.support-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: stretch;
  width: 100%;
}
.support-row #supportPoints {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.support-row #supportPoints::-webkit-scrollbar { height: 5px; }
.support-row #supportPoints::-webkit-scrollbar-thumb { background: rgba(255,255,255,.13); }
.support-cta-side {
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(252,239,102,.055), rgba(255,255,255,.018));
}
.support-cta-side .btn-primary { width: 100%; text-align: center; padding: 14px 18px; }

.sl-item { display: flex; align-items: flex-start; gap: 12px; padding: 13px 22px; border-right: 1px solid var(--border); border-bottom: none; min-width: 220px; transition: background .2s; cursor: default; }
.sl-item:hover { background: rgba(255,255,255,.025); }
.sl-km { font-family: var(--font-head); font-weight: 900; font-size: 15px; color: var(--neon); min-width: 36px; flex-shrink: 0; line-height: 1.2; margin-top: 2px; }
.sl-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; flex-shrink: 0; margin-top: 4px; }
.sl-name { font-weight: 700; font-size: 13px; color: #ddd; margin-bottom: 2px; }
.sl-desc { font-size: 11px; color: #555; line-height: 1.4; }

.map-center > .support-list {
  border-top: 1px solid var(--border);
  border-right: none;
}

@media (min-width: 881px) {
  .map-center > .support-list {
    width: 100%;
  }
  .map-center > .support-list #supportPoints {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .support-row {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
}

@media (max-width: 768px){

  .aux-goto-top-btn{
      bottom: 95px !important;
      right: 14px !important;
      transform: scale(.9);
  }

}
/* ============================================================
   MAPA MOBILE — overlay de toque
============================================================ */
.map-touch-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,.45);
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.map-touch-overlay span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  opacity: .85;
  text-align: center;
  padding: 0 24px;
}
.map-touch-overlay .mto-icon {
  font-size: 32px;
  opacity: .75;
}
#map-v3-wrap {
  position: relative;
}
@media (max-width: 880px) {
  .map-touch-overlay { display: flex; }
}
.leaflet-container { background: #060e18 !important; }
/* Mesmo tratamento escuro da Canastra, sem dependência de chave de API. */
.leaflet-tile { filter: grayscale(1) brightness(.46) contrast(1.3) saturate(.7) hue-rotate(150deg); }
.leaflet-popup-content-wrapper { background: rgba(5,5,5,.95); border: 1px solid rgba(252,239,102,.3); border-radius: 0; box-shadow: 0 4px 24px rgba(0,0,0,.7); padding: 0; }
.leaflet-popup-tip-container { display: none; }
.leaflet-popup-content { margin: 0; }
.lf-popup { padding: 14px 16px; }
.lf-popup .pp-name { font-family: var(--font-head); font-weight: 900; font-size: 16px; color: var(--neon); text-transform: uppercase; letter-spacing: 1px; }
.lf-popup .pp-km { font-size: 11px; color: #666; letter-spacing: 1px; margin-top: 2px; text-transform: uppercase; }
.lf-popup .pp-alt { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #ddd; margin-top: 6px; }

/* Responsive overrides for v3 grid */
@media (max-width: 1100px) { .main-grid { grid-template-columns: 160px 1fr 260px; } }
@media (max-width: 880px) {
  .main-grid { grid-template-columns: 1fr; }
  .dist-tabs { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .dist-tab { min-width: 110px; padding: 16px 14px; border-bottom: none; border-right: 1px solid var(--border); }
  .dist-tab::before { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 3px; }
  .map-center { border-right: none; }
  .metrics-grid { grid-template-columns: repeat(4,1fr); }
  .sec-header { padding: 0 16px 20px; }
  #map-v3 { height: 340px; }
}
@media (max-width: 580px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .tab-km { font-size: 32px; }
  .rs-dist { font-size: 48px; }
  .sec-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   INFO CARDS (BARRA)
============================================================ */
.info-cards-section { background: var(--dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.info-cards-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; background: var(--border); }
.info-card {
  background: var(--dark2); padding: 22px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  cursor: pointer; transition: background .2s;
  border-right: 1px solid var(--border);
}
.info-card:last-child { border-right: none; }
.info-card:hover { background: var(--dark3); }
.info-card .ic-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-card .ic-icon img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) saturate(100%) invert(97%) sepia(85%) saturate(500%) hue-rotate(345deg) brightness(103%); }
.info-card h4 { font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.info-card p { font-size: 12px; color: var(--neon); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ============================================================
   KIT DO ATLETA DINÂMICO
   - Abas por lote
   - Coluna estreita de informações
   - Imagem única do kit por lote
   - Atualização automática por data
============================================================ */
.kit-section {
  background: var(--dark2);
  padding: 56px 36px;
  border-top: 1px solid var(--border);
}

.kit-dynamic-wrapper {
  max-width: 1480px;
  margin: 0 auto;
}

.kit-dynamic-head {
  margin-bottom: 24px;
}

.kit-dynamic-head .kit-eyebrow {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--neon);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.kit-dynamic-head h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.kit-dynamic-head p {
  color: #aaa;
  font-size: 15px;
  max-width: 740px;
}

.kit-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.kit-tab {
  background: var(--dark3);
  border: 1px solid var(--border);
  color: #fff;
  padding: 17px 12px;
  cursor: pointer;
  text-align: center;
  transition: .2s ease;
  position: relative;
}

.kit-tab:hover {
  border-color: rgba(252,239,102,.45);
  background: rgba(252,239,102,.045);
}

.kit-tab strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  text-transform: uppercase;
  line-height: 1;
}

.kit-tab span {
  display: block;
  font-size: 12px;
  color: #aaa;
  margin-top: 7px;
}

.kit-tab small {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  background: rgba(255,255,255,.06);
  color: var(--neon);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kit-tab.is-active {
  background: var(--neon);
  color: #000;
  border-color: var(--neon);
}

.kit-tab.is-active span,
.kit-tab.is-active small {
  color: #000;
}

.kit-tab.is-active small {
  background: rgba(0,0,0,.12);
}


.kit-mobile-select-wrap {
  display: none;
  position: relative;
  margin: 0 0 18px;
}

.kit-mobile-select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

#kitMobileSelect {
  width: 100%;
  min-height: 58px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(252,239,102,.025);
  border: 1px solid var(--brand);
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 16px 48px 16px 16px;
  outline: none;
  cursor: pointer;
}

#kitMobileSelect:focus {
  box-shadow: 0 0 0 1px rgba(252,239,102,.35), 0 0 18px rgba(252,239,102,.12);
}

#kitMobileSelect option {
  background: #111;
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 800;
}

.kit-content-grid {
  display: grid;
  grid-template-columns: 315px minmax(0, 1fr);
  border: 1px solid var(--border);
  background: var(--dark);
}

.kit-info-panel {
  padding: 30px 28px;
  border-right: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(252,239,102,.04), rgba(255,255,255,.01));
}

.kit-current-label {
  display: block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--neon);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.kit-info-panel h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 36px;
  line-height: .95;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}

.kit-info-panel > strong {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--neon);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.kit-info-panel p {
  color: #ddd;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.kit-items-list{
    list-style:none !important;
    margin:0;
    padding:0;
}

.kit-items-list li{
    list-style:none !important;
    position:relative;
    padding-left:22px;
}

.kit-items-list li::marker{
    content:"";
}

.kit-items-list li::before{
    content:"✓";
    position:absolute;
    left:0;
    color:var(--brand);
    font-weight:900;
}


.kit-items-list li.kit-item-heading{
  padding-left:0;
  margin-top:14px;
}

.kit-items-list li.kit-item-heading:first-child{
  margin-top:0;
}

.kit-items-list li.kit-item-heading::before{
  display:none;
}

.kit-items-list li.kit-item-heading strong{
  display:inline-block;
  color:var(--brand);
  font-family:var(--font-head);
  font-weight:900;
  font-size:15px;
  letter-spacing:1.2px;
  text-transform:uppercase;
}

.kit-items-list li.kit-item-subheading{
  padding-left:0;
  margin-top:18px;
  color:#fff;
  font-weight:800;
  line-height:1.45;
}

.kit-items-list li.kit-item-subheading::before{
  display:none;
}

.kit-alert-box {
  border: 1px solid rgba(252,239,102,.25);
  background: rgba(252,239,102,.05);
  padding: 20px;
  margin-top:30px;
}

.kit-alert-box strong {
  display: block;
  color: var(--neon);
  font-family: var(--font-head);
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.kit-alert-box span {
  display: block;
  color: #aaa;
  font-size: 12px;
  line-height: 1.8;
}

.kit-panel-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:52px;
    margin:0 auto;
    background:var(--brand);
    color:#000;

    text-align:center;

    font-family:var(--font-head);
    font-weight:900;
    font-size:17px;
    letter-spacing:1px;
    text-transform:uppercase;

    text-decoration:none;

    transition:.2s;
}
.kit-panel-btn:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(252,239,102,.18);
}

.kit-image-panel {
  position: relative;
  padding: 30px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(circle at 70% 30%, rgba(252,239,102,.08), transparent 35%), var(--dark2);
  overflow: hidden;
}

.kit-image-title {
  position: absolute;
  top: 28px;
  left: 30px;
  z-index: 2;
}

.kit-image-title h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: var(--neon);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.kit-preview-controls {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.kit-preview-controls button {
  width: 38px; height: 38px;
  border: 1px solid rgba(252,239,102,.55);
  background: rgba(10,10,10,.72);
  color: var(--neon);
  font-size: 24px; line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s, opacity .2s;
}
.kit-preview-controls button:hover:not(:disabled) { background: var(--neon); color: #000; }
.kit-preview-controls button:disabled { opacity: .28; cursor: default; }

.kit-image-title span {
  color: #bbb;
  font-size: 12px;
}

.kit-image-panel small {
  text-align: center;
  color: #999;
  font-size: 12px;
}

.kit-countdown-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 12px;
  align-items: stretch;
}

.kit-countdown-box {
  border: 1px solid var(--border);
  background: var(--dark3);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.kit-countdown-box span,
.kit-countdown-box small {
  color: #aaa;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kit-countdown-box small { text-align: right; }

.kit-countdown-box strong {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--neon);
  letter-spacing: 1px;
  white-space: nowrap;
}

.kit-countdown-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #000;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 16px 20px;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}

.kit-countdown-btn:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(252,239,102,.18);
}

@media (max-width: 1000px) {
  .kit-countdown-row { grid-template-columns: 1fr; }
  .kit-countdown-box { grid-template-columns: 1fr; text-align: center; }
  .kit-countdown-box small { text-align: center; }

  .kit-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .kit-content-grid {
    grid-template-columns: 1fr;
  }

  .kit-info-panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .kit-image-panel {
    min-height: auto;
  }

  .kit-image-title {
    position: static;
    margin-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .kit-dynamic-head {
    margin-bottom: 18px;
  }

  .kit-dynamic-head h2 {
    font-size: 32px;
  }

  .kit-dynamic-head p {
    font-size: 13px;
  }

  .kit-tabs {
    display: none;
  }

  .kit-mobile-select-wrap {
    display: block;
  }

  .kit-content-grid {
    display: flex;
    flex-direction: column;
  }

  .kit-image-panel {
    order: 1;
    padding: 22px 18px 18px;
    border-bottom: 1px solid var(--border);
  }

  .kit-info-panel {
    order: 2;
    border-bottom: none;
    padding: 22px 18px;
  }

  .kit-current-label,
  .kit-info-panel > h3,
  .kit-info-panel > strong {
    display: none;
  }

  .kit-panel-btn {
    display: none;
  }

  .kit-image-title {
    position: static;
    margin-bottom: 12px;
  }

  .kit-image-title h3 {
    font-size: 22px;
  }


  .kit-countdown-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .kit-countdown-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 16px;
  }

  .kit-countdown-box small {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .kit-section {
    padding: 42px 18px;
  }

  .kit-tabs {
    grid-template-columns: 1fr;
  }

  .kit-info-panel,
  .kit-image-panel {
    padding: 24px 20px;
  }

  .kit-info-panel h3 {
    font-size: 32px;
  }
}

/* ============================================================
   LOTES
============================================================ */
.pricing-section { background: var(--dark); padding: 52px 36px; border-top: 1px solid var(--border); }
.pricing-section h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(26px,4vw,44px); text-transform: uppercase; margin-bottom: 32px; }
.accordion-item { margin-bottom: 8px; border: 1px solid var(--border); }
.accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; background: var(--dark3); cursor: pointer;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  transition: background .2s; gap: 12px; flex-wrap: wrap;
}
.accordion-header.active, .accordion-header:hover { background: var(--dark4); }
.accordion-header-info { display: flex; flex-direction: column; gap: 4px; }
.accordion-title { font-size: 18px; font-weight: 700; color: #fff; }
.accordion-dates { font-size: 11px; color: #888; font-weight: 400; text-transform: none; letter-spacing: 0; }
.accordion-status { display: flex; align-items: center; gap: 12px; }
.status-badge { padding: 4px 12px; font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.status-active { background: rgba(252,239,102,.15); color: var(--neon); border: 1px solid var(--neon); }
.status-ended { background: rgba(80,80,80,0.3); color: #666; border: 1px solid #333; }
.status-coming { background: rgba(255,180,0,0.15); color: #ffd000; border: 1px solid #ffd000; }
.toggle-icon { font-size: 14px; transition: transform .3s; color: #888; }
.accordion-header.active .toggle-icon { transform: rotate(180deg); }
.accordion-content { display: none; background: var(--dark2); border-top: 1px solid var(--border); }
.accordion-content.active { display: block; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead { background: var(--dark4); }
.price-table th { padding: 12px 20px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #888; }
.price-table td { padding: 12px 20px; border-bottom: 1px solid var(--border); font-size: 13px; }
.price-table tbody tr:hover { background: var(--dark3); }
.price-table tr:last-child td { border-bottom: none; }
.price-table td:first-child { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: #fff; }
.price-table td:nth-child(2) { color: var(--neon); font-weight: 700; font-family: var(--font-head); font-size: 18px; }
.price-slots { font-size: 11px; color: #666; display: block; font-family: var(--font-body); font-weight: 400; }

/* ============================================================
   PATROCINADORES
============================================================ */
.sponsors-section { background: var(--dark2); padding: 36px; border-top: 1px solid var(--border); }
.sponsors-header { text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: #555; margin-bottom: 20px; }
.sponsors-track-wrap { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.sponsor-arrow { display: none; }
.sponsors-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  overflow: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 0;
}
.sponsors-track::-webkit-scrollbar { display: none; }
.sponsor-logo {
  flex: 1 1 0; min-width: 0; height: 72px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 12px; transition: background .2s, border-color .2s, transform .2s; flex-shrink: 0;
}
.sponsor-logo:hover { background: rgba(255,255,255,0.08); border-color: #444; transform: translateY(-1px); }
.sponsor-logo img { max-height: 44px; max-width: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: .7; transition: opacity .2s; margin: auto; }
.sponsor-logo:hover img { opacity: 1; }

/* ============================================================
   CTA FINAL
============================================================ */
.final-cta {
  position: relative; min-height: 50vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0a1a0a 0%, #162504 50%, #0a0a0a 100%);
  border-top: 1px solid var(--border); overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252,239,102,.06) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.final-cta-content { position: relative; z-index: 2; text-align: center; padding: 60px 20px; }
.final-cta-content h2 {
  font-family: var(--font-head); font-weight: 900; font-style: italic;
  font-size: clamp(32px,6vw,72px); text-transform: uppercase; color: #fff; margin-bottom: 8px; line-height: 1;
}
.final-cta-content h2 span { color: var(--neon); display: block; }
.final-cta-content p { color: #999; font-size: 16px; margin-bottom: 32px; }

/* ============================================================
   GALERIA
============================================================ */
.gallery-section {
  padding: 60px 36px;
  background: var(--dark);
  border-top: 1px solid var(--border);
}
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.gallery-photo {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark3);
  aspect-ratio: 4 / 3;
  min-width: 0;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s;
}
.gallery-photo:hover img { transform: scale(1.06); }
.gallery-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.4), transparent); opacity: .5; transition: opacity .3s; pointer-events: none; }
.gallery-photo:hover::after { opacity: .2; }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: #060606;
  border-top: 1px solid var(--border);

  padding: 20px 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 14px;
  flex-wrap: wrap;

  text-align: center;
}

footer p {
  margin: 0;

  font-size: 11px;
  color: white;

  font-family: var(--font-head);
  letter-spacing: 1px;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);

  transition: .2s ease;
}

.footer-instagram svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.footer-instagram:hover {
  background: rgba(252,239,102,.08);
  border-color: var(--brand);
}
/* ============================================================
   MODAIS
============================================================ */
.modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.7); align-items: center; justify-content: center;
  padding: 20px;
}
.modal.active { display: flex; }
.modal-box {
  position: relative; background: var(--dark2); border: 1px solid var(--border);
  width: 100%; max-width: 680px; max-height: 88vh; overflow-y: auto; padding: 32px;
  animation: fadeIn .3s ease;
}
.modal-box-wide { max-width: 960px; }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: transparent; border: none; color: #fff;
  font-size: 24px; cursor: pointer; line-height: 1;
  transition: color .2s;
}
.modal-close:hover { color: var(--neon); }
.modal-title { font-family: var(--font-head); font-weight: 900; font-size: 24px; text-transform: uppercase; margin-bottom: 20px; }
.modal-subtitle { font-size: 12px; color: var(--neon); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
.modal-highlight { background: var(--dark3); border-left: 3px solid var(--neon); padding: 14px 16px; margin: 14px 0; font-size: 13px; }
.modal-list { margin: 12px 0 12px 20px; }
.modal-list li { font-size: 13px; color: #ccc; margin-bottom: 6px; line-height: 1.6; }
.modal-p { font-size: 13px; color: #aaa; line-height: 1.7; margin-bottom: 10px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* Mapa fullscreen */
#fullscreenMap { width: 100%; height: calc(88vh - 100px); min-height: 400px; }

/* ============================================================
   MODAL DO MAPA INTERATIVO
   - Abre o percurso em um modal contido, sem fullscreen nativo.
   - Mantém mapa + altimetria interativos dentro da mesma janela.
============================================================ */
.route-modal .modal-box {
  max-width: min(1240px, 96vw);
  width: 100%;
  max-height: 92vh;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: #080808;
  display: flex;
  flex-direction: column;
}
.route-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(252,239,102,.06), rgba(255,255,255,.015));
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
}
.route-modal-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}
.route-modal-title span { color: var(--neon); }
.route-modal-subtitle {
  margin-top: 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
}
.route-modal-close {
  position: static;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid var(--border);
  background: var(--dark3);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.route-modal-close:hover { color: var(--neon); border-color: rgba(252,239,102,.45); }
.route-modal-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
  min-height: 620px;
}
.route-modal-main {
  min-width: 0;
  border-right: 1px solid var(--border);
}
#routeModalMap {
  width: 100%;
  height: 430px;
  background: #050b12;
}
.route-modal-elev {
  padding: 18px 22px 20px;
  border-top: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(252,239,102,.055), var(--dark2));
}
.route-modal-elev canvas {
  width: 100% !important;
  height: 170px !important;
}
.route-modal-side {
  background: var(--dark2);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.route-modal-info-card {
  border: 1px solid var(--border);
  background: var(--dark3);
  padding: 16px;
}
.route-modal-info-card small {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
  font-weight: 800;
}
.route-modal-info-card strong {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 26px;
  color: #fff;
}
.route-modal-info-card strong.neon { color: var(--neon); }
.route-modal-hint {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
}
@media (max-width: 880px) {
  .route-modal .modal-box { max-height: 94vh; }
  .route-modal-body { grid-template-columns: 1fr; min-height: auto; }
  .route-modal-main { border-right: none; }
  #routeModalMap { height: 48vh; }
  .route-modal-side { display: grid; grid-template-columns: 1fr 1fr; padding: 14px; }
  .route-modal-hint { grid-column: 1 / -1; }
}

/* Altimetria modal */
.gallery-modal {
  display: none; position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,.92); align-items: center; justify-content: center;
}
.gallery-modal.active { display: flex; }
.gallery-modal img { max-width: 95vw; max-height: 90vh; object-fit: contain; }
.gallery-modal-close {
  position: absolute; top: 16px; right: 20px; background: transparent; border: none;
  color: #fff; font-size: 32px; cursor: pointer; z-index: 2; transition: color .2s;
}
.gallery-modal-close:hover { color: var(--neon); }

/* Tabela largadas */
.start-table { width: 100%; border-collapse: collapse; }
.start-table thead { background: var(--dark4); }
.start-table th { padding: 12px 16px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #888; }
.start-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 16px; vertical-align: middle; }
.start-table tr:last-child td { border-bottom: none; }
.start-table tbody tr:hover { background: var(--dark3); }
.start-times { display: flex; gap: 12px; flex-wrap: wrap; }
.start-time-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.start-battery-label { font-size: 10px; color: #666; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; text-align: center; }
.start-badge {
  background: rgba(252,239,102,.12); color: var(--neon);
  border: 1px solid rgba(252,239,102,.2); padding: 5px 12px;
  font-size: 16px; font-weight: 600; font-family: var(--font-head);
}

/* ============================================================
   SIDE DRAWER
============================================================ */
.side-tab {
  position: fixed; right: -58px; top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  z-index: 800;
  background: var(--neon); color: #000;
  font-family: var(--font-head); font-weight: 600;
  font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 25px ; cursor: pointer;
  border-radius: 4px 4px 0 0;
  transition: right .3s;
  box-shadow: 0 4px 20px rgba(252,239,102,.3);
}
.side-tab:hover { right: -52px; }
.drawer-overlay {
  position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transition: .3s ease;
}
.drawer-overlay.active { opacity: 1; visibility: visible; }
.register-drawer {
  position: fixed; top: 0; right: 0; z-index: 901;
  width: min(380px,94vw); height: 100vh;
  background: var(--dark2); border-left: 1px solid var(--border);
  padding: 32px 28px; overflow-y: auto;
  transform: translateX(100%); transition: .35s ease;
}
.register-drawer.active { transform: translateX(0); }
.drawer-close { position: absolute; top: 16px; right: 18px; background: transparent; border: none; color: #fff; font-size: 28px; cursor: pointer; line-height: 1; }
.drawer-close:hover { color: var(--neon); }
.drawer-logo { font-family: var(--font-head); font-weight: 900; font-size: 20px; color: var(--neon); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.drawer-sub { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px; }
.drawer-info { padding: 14px 0; border-bottom: 1px solid var(--border); }
.drawer-info strong { display: block; font-size: 10px; color: #666; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.drawer-info span { font-size: 15px; font-weight: 700; color: #fff; }
.drawer-btn { display: block; width: 100%; margin-top: 24px; text-align: center; }

/* ============================================================
   MOBILE STICKY CTA
============================================================ */
#mobileStickyCTA {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 700;
  background: rgba(10,10,10,.95); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
  display: none;
  flex-direction: column;
}
.cta-line1 {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.cta-line2 {
  display: grid;
  grid-template-columns: 2fr 1fr;   /* 2/3 seletor · 1/3 botão — altere aqui a proporção */
  gap: 8px;
  align-items: stretch;
}
/* ── Seletor de distância customizado ──────────────────────
   Wrapper relativo: o <select> nativo fica invisível por cima
   do trigger visual para o SO abrir o picker nativo ao tocar.
   ► Grid cta-line2: 2/3 para o seletor, 1/3 para o botão
   ► Para mudar altura: edite height em .cta-dist-trigger
   ─────────────────────────────────────────────────────────── */
.cta-dist-wrapper {
  position: relative;
  overflow: hidden;
}
.cta-dist-trigger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 34px 6px 12px;
  height: 52px;
  background: var(--dark3);
  border: 1px solid var(--border);
  gap: 3px;
  cursor: pointer;
  user-select: none;
}
.cdt-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 8px;
  color: var(--brand);
  pointer-events: none;
}
.cdt-top {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cdt-bottom {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
  white-space: nowrap;
}
#ctaDist {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.cdt-sep { font-size: 13px; color: var(--text-muted); }
#ctaPrice {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  color: var(--brand);
  white-space: nowrap;
}
/* Select nativo transparente cobre o trigger — captura toque do SO */
.cta-dist-select-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;   /* evita zoom automático no iOS */
  z-index: 2;
}
#ctaButton {
  height: 52px; background: var(--brand); color: #000;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-family: var(--font-head); font-weight: 900;
  font-size: 14px; letter-spacing: 1.5px;
  white-space: nowrap;
  transition: .2s ease;
  padding: 0 18px;
}
#ctaLote { display: block; }
#ctaButton:active { transform: scale(.98); }
/* ── Texto de urgência (ex: "⏰ Faltam X dias...") ── */
#urgencyText { color: #fff; font-size: 11px; font-weight: 700; }
/* ── Contagem regressiva: usa cor da marca ── */
#countdown { color: var(--brand); font-size: 13px; font-weight: 800; font-family: monospace; white-space: nowrap; }

/* ── Lote e preço: lote em muted, preço em brand ── */
.cta-bottom { display: grid; grid-template-columns: 38% 1fr; gap: 10px; }

/* ── Estados de urgência da barra (aplicados via JS no countdown) ──
   .warning = 2-3 dias restantes → amarelo dourado
   .danger  = menos de 24h      → vermelho pulsante          */
#mobileStickyCTA.warning #countdown { color: #ffd000; }
#mobileStickyCTA.warning #ctaButton { background: #ffd000; }
#mobileStickyCTA.danger #countdown { color: #ff5e5e; }
#mobileStickyCTA.danger #ctaButton { background: #ff5e5e; color: #fff; animation: pulse 1s infinite; }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.02)} }
body.modal-open #mobileStickyCTA { display: none !important; }

/* ============================================================
   AJUSTES DE ORDEM / ALINHAMENTO DESKTOP
============================================================ */
.info-cards-grid {
  align-items: stretch;
}
.info-card {
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 118px;
}
.info-card > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pricing-section h2 {
  text-align: center;
}
.accordion-header {
  align-items: center;
}
.accordion-header-info {
  align-items: center;
  text-align: center;
  flex: 1;
}
.accordion-status {
  justify-content: center;
}
.price-table th,
.price-table td {
  text-align: center;
  vertical-align: middle;
}

/* ============================================================
   INFORMAÇÕES OFICIAIS / DOCUMENTOS / REGULAMENTO
============================================================ */
.official-info-section {
  background: var(--dark2);
  padding: 56px 36px;
  border-top: 1px solid var(--border);
}
.official-container {
  width: min(1480px, 100%);
  margin: 0 auto;
}
.official-info-box {
  background:
    linear-gradient(145deg, rgba(252,239,102,.045), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.official-info-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--neon), transparent);
  opacity: .8;
}
.section-heading {
  text-align: center;
  margin-bottom: 28px;
}
.section-heading span {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--neon);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-heading h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}
.documents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.document-card,
.document-card:link,
.document-card:visited,
.document-card:hover,
.document-card:active,
.document-card:focus {
  color: #fff !important;
  text-decoration: none !important;
}
.document-card {
  min-height: 92px;
  background: var(--dark3);
  border: 1px solid var(--border);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  transition: border-color .2s, background .2s, transform .12s, box-shadow .2s;
}
.document-card:hover {
  border-color: rgba(252,239,102,.55);
  background: rgba(252,239,102,.045);
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(252,239,102,.09);
}
.document-card span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.15;
}
.document-card strong {
  color: rgba(252,239,102,.55);
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}
.regulation-wrapper {
  border: 1px solid var(--border);
  background: var(--dark3);
}
.regulation-header {
  width: 100%;
  background: var(--dark4);
  border: none;
  color: #fff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.regulation-header:hover {
  color: var(--neon);
}
.regulation-arrow {
  color: var(--neon);
  transition: transform .25s ease;
}
.regulation-wrapper.open .regulation-arrow {
  transform: rotate(180deg);
}
.regulation-content {
  display: none;
  border-top: 1px solid var(--border);
}
.regulation-wrapper.open .regulation-content {
  display: block;
}
.regulation-inner {
  padding: 22px;
  color: #aaa;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .documents-grid {
    grid-template-columns: 1fr 1fr;
  }
  .official-info-section {
    padding: 36px 16px;
  }
  .official-info-box {
    padding: 24px 16px;
  }
}
@media (max-width: 540px) {
  .documents-grid {
    grid-template-columns: 1fr;
  }
  .info-card {
    justify-content: center;
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .relay-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  nav { padding: 0 16px; }
  .nav-links, .btn-nav, .side-tab { display: none; }
  .hamburger { display: flex; }
  #mobileStickyCTA { display: flex; }
  .hero-content { padding: 28px 16px 130px; }
  .hero { min-height: 88svh; }
  .distance-section { padding: 20px 16px; }
  .distance-tab { padding: 10px 20px; min-width: 80px; }
  .info-panel { padding: 0 16px 24px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .map-altimetria { grid-template-columns: 1fr; }
  .about-apoio { grid-template-columns: 1fr; }
  .apoio-grid { grid-template-columns: 1fr; }
  .info-cards-grid { grid-template-columns: 1fr 1fr; }
  .kit-section { padding: 36px 16px; }
  .kit-wrapper { grid-template-columns: 1fr; gap: 28px; }
  .pricing-section { padding: 36px 16px; }
  .alt-stats { grid-template-columns: repeat(2,1fr); }
  .gallery-section { padding: 36px 16px; }
  .gallery-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  footer { padding: 16px; }
  .sponsors-section { padding: 28px 16px; }

  .support-row { display: block; }
  .support-cta-side { display: none; }
  .sponsors-track-wrap { justify-content: flex-start; overflow: hidden; }
  .sponsors-track { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 4px 16px; }
  .relay-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .hero-title .line2 { font-size: 58px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-cards-grid { grid-template-columns: 1fr; }
  .distance-tabs { gap: 4px; }
  .distance-tab { padding: 8px 14px; }
  .final-cta-content { padding: 40px 16px; }
}

/* ============================================================
   NEON PADRONIZADO
============================================================ */
.neon-glow {
  box-shadow: 0 0 12px rgba(252,239,102,.14), 0 0 24px rgba(252,239,102,.08);
}

::selection {
  background: rgba(252,239,102,.28);
  color: #fff;
}

/* ============================================================
   MOBILE REFINEMENTS — Percursos, Hero, Patrocinadores
============================================================ */
@media (max-width: 900px) {
  .info-card {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

.sponsors-track-wrap { gap: 0; }
.sponsor-arrow { display: none !important; }
.sponsors-track {
  scroll-snap-type: x mandatory;
  justify-content: flex-start;
}
.sponsor-logo { scroll-snap-align: center; }
.sponsors-dots { display: none !important; }

@media (max-width: 880px) {
  .sec-header { padding: 22px 16px 16px; }
  .main-grid {
    display: block;
    position: relative;
    border-top: 1px solid var(--border);
  }
  .dist-tabs {
    position: absolute !important;
    display: flex !important;
    z-index: 710;
    top: 12px;
    left: 10px;
    bottom: auto;
    width: 74px;
    max-height: 318px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(252,239,102,.18);
    background: rgba(10,10,10,.88);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 28px rgba(0,0,0,.55), 0 0 18px rgba(252,239,102,.08);
    flex-direction: column !important;
  }
  .dist-tab {
    min-width: 0;
    width: 100%;
    padding: 12px 8px 10px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    text-align: center;
  }
  .dist-tab::before {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 3px;
    height: auto;
  }
  .tab-km { font-size: 28px; }
  .tab-km span { font-size: .42em; }
  .tab-type { font-size: 8px; letter-spacing: .8px; }
  .tab-bar { display: none; }
  #map-v3 { height: 390px; }
  .leaflet-top.leaflet-right { top: 10px; right: 10px; }
  .leaflet-control-zoom a {
    background: rgba(10,10,10,.86) !important;
    color: var(--neon) !important;
    border-color: rgba(252,239,102,.18) !important;
  }
  .map-center { border-right: none; }
  .v3-info-panel {
    display: flex;
    flex-direction: column;
    background: var(--dark);
  }
  .cursor-info { order: 1; padding: 18px 16px; background: var(--dark2); }
  .route-summary { order: 2; padding: 18px 16px; background: var(--dark2); }
  .support-list {
    order: 3;
    flex: none;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid var(--border);
    background: var(--dark2);
  }
  .support-list .sl-header { position: static; }
  #supportPoints {
    display: flex;
    gap: 0;
  }
  .sl-item {
    min-width: 215px;
    border-right: 1px solid var(--border);
    border-bottom: none;
  }
  .cursor-info .map-ctrl-group {
    grid-template-columns: repeat(3,1fr);
  }
  .cursor-info .map-ctrl-btn {
    padding: 10px 6px;
    font-size: 10px;
  }
  .metrics-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 540px) {
  .hero { min-height: 88svh; }
  #map-v3 { height: 360px; }
  .dist-tabs { width: 68px; max-height: 292px; }
  .tab-km { font-size: 25px; }
  .sponsors-section { padding: 28px 0; }
  .sponsors-header { padding: 0 16px; }
  .sponsors-track {
    padding: 4px 16px;
    gap: 10px;
  }
  .sponsor-logo {
    flex: 0 0 104px;
    height: 58px;
    padding: 9px;
  }
  .sponsors-dots { display: flex; }
}

/* ============================================================
   DESKTOP FIX — CTA lateral dos pontos de apoio + patrocinadores em 1 linha
============================================================ */
@media (min-width: 901px) {
  .support-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 270px !important;
    align-items: stretch;
  }

  .support-row #supportPoints {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .support-cta-side {
    display: flex !important;
    min-height: 90px;
  }

  .sponsors-track-wrap {
    justify-content: center !important;
    overflow: visible !important;
  }

  .sponsors-track {
    justify-content: center !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    gap: 10px !important;
  max-width: 1480px;
    padding: 4px 0 !important;
    scroll-snap-type: none !important;
  }

  .sponsor-logo {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 124px;
    height: 68px;
    padding: 10px;
  }

  .sponsor-logo img {
    max-height: 40px;
  }
}

/* ============================================================
   AJUSTES FINAIS DE LAYOUT — DESKTOP E MOBILE
   ------------------------------------------------------------
   Este bloco concentra os ajustes mais fáceis de mexer depois:
   1. posição do botão Inscreva-se no painel direito;
   2. slider contínuo dos patrocinadores;
   3. leitura do perfil de elevação;
   4. espessura visual do percurso no mapa.
============================================================ */

/* Botão de inscrição no painel direito, abaixo das métricas.
   No desktop ele ocupa o “buraco” abaixo de Tempo Limite/Terreno. */
.route-panel-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 18px;
  min-height: 92px;
  border: 1px solid rgba(252,239,102,.18);
  background: linear-gradient(135deg, rgba(252,239,102,.07), rgba(255,255,255,.018));
}
.route-panel-cta .btn-primary {
  width: 100%;
  text-align: center;
  padding: 15px 18px;
}
.route-panel-cta span {
  font-size: 11px;
  color: #888;
  letter-spacing: .3px;
}

/* O botão antigo não fica mais dentro dos pontos de apoio. */
.support-row {
  display: block !important;
}
.support-row #supportPoints {
  width: 100%;
}
.support-cta-side:not(.route-panel-cta) {
  display: none !important;
}

/* Perfil de elevação: texto ainda cinza, mas mais legível no desktop. */
.elev-title,
.sl-header {
  color: #686868;
}
.elev-hint {
  color: #5f5f5f;
}

/* Slider contínuo de patrocinadores no desktop.
   Para aumentar/diminuir o tamanho das logos, mexa em flex-basis abaixo. */
@media (min-width: 901px) {
  .sponsors-section {
    overflow: hidden;
  }
  .sponsors-track-wrap {
    overflow: hidden !important;
    justify-content: flex-start !important;
    width: min(1480px, 100%) !important;
    margin-left: auto;
    margin-right: auto;
  }
  .sponsors-track {
    width: max-content !important;
    max-width: none !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    overflow: visible !important;
    padding: 6px 0 !important;
    animation: sponsorsMarquee 34s linear infinite;
    will-change: transform;
  }
  .sponsors-track:hover {
    animation-play-state: paused;
  }
  .sponsor-logo {
    flex: 0 0 clamp(132px, 10vw, 168px) !important;
    max-width: none !important;
    height: 78px !important;
    padding: 14px !important;
  }
  .sponsor-logo img {
    max-height: 48px !important;
  }
  @keyframes sponsorsMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
}

/* Mobile: mantém rolagem manual/automática, sem animação CSS infinita. */
@media (max-width: 900px) {
  .route-panel-cta {
    display: none !important;
  }
  .sponsors-track {
    animation: none !important;
  }
}

/* ── Nav dropdown de percursos ── */
.nav-links > li { position: relative; }
.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--neon);
  padding: 8px 0;
  list-style: none;
  min-width: 110px;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.nav-sub li a {
  display: block;
  padding: 8px 18px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ccc;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-sub li a:hover { color: var(--neon); background: rgba(252,239,102,.06); }
.nav-links > li:hover .nav-sub { display: block; }

/* ── Mobile sub-links de distâncias ── */
.mobile-sub-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 0 8px 16px;
  border-bottom: 1px solid var(--border);
}
.mobile-sub-link {
  color: #888 !important;
  font-size: 14px !important;
  letter-spacing: 1px !important;
  border-bottom: none !important;
  padding: 4px 8px !important;
  background: var(--dark3);
  transition: color .2s !important;
}
.mobile-sub-link:hover { color: var(--neon) !important; }

/* ── Lote label no CTA mobile ── */
.cdt-top {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  display: block;
}

/* ============================================================
   AJUSTES DE MENU, MODAIS E GALERIA
   - Setinhas aparecem apenas nos itens com submenu.
   - Hover azul foi substituído por amarelo claro da marca.
   - Modal com título maior e textos internos menores.
   - Galeria permite setas do teclado e gesto lateral no mobile.
============================================================ */
.nav-has-sub > a::after {
  content: '▾';
  display: inline-block;
  margin-left: 7px;
  font-size: 10px;
  color: var(--brand);
  transform: translateY(-1px);
}
.nav-has-sub:hover > a::after { color: var(--brand-strong); }
.nav-sub-wide { min-width: 190px; }
.nav-links a:hover,
.nav-sub li a:hover,
.mobile-menu a:hover,
.mobile-sub-link:hover {
  color: var(--brand-strong) !important;
}
.modal-title {
  font-size: clamp(30px, 3vw, 42px) !important;
  margin-bottom: 12px !important;
  line-height: .95 !important;
}
.modal-subtitle {
  font-size: 10px !important;
  letter-spacing: 2.4px !important;
  margin-bottom: 8px !important;
  color: var(--brand) !important;
}
.modal-highlight,
.modal-p,
.modal-list li,
.start-table td {
  font-size: 12px !important;
}
.modal-highlight { line-height: 1.55; }
.modal-list li { line-height: 1.55; }
.gallery-modal {
  touch-action: pan-y;
}
.gallery-modal img {
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 68px;
  border: 1px solid rgba(252,239,102,.28);
  background: rgba(10,10,10,.72);
  color: var(--brand);
  font-size: 52px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.gallery-nav:hover {
  background: rgba(252,239,102,.08);
  border-color: rgba(252,239,102,.58);
  color: var(--brand-strong);
}
.gallery-prev { left: 22px; }
.gallery-next { right: 22px; }
.gallery-counter {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  padding: 6px 12px;
  background: rgba(0,0,0,.65);
  border: 1px solid rgba(252,239,102,.24);
  color: #ddd;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
}
@media (max-width: 700px) {
  .gallery-nav {
    width: 42px;
    height: 58px;
    font-size: 42px;
    background: rgba(10,10,10,.48);
  }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }
  .modal-box { padding: 26px 22px; }
}

/* ============================================================
   MENU DESKTOP — DROPDOWN REFINADO
   ------------------------------------------------------------
   Objetivo:
   1. manter o submenu aberto ao mover o mouse do item principal
      para os subitens;
   2. remover aparência de lista/bolinhas;
   3. deixar o dropdown mais premium e alinhado com o evento.

   Ajustes rápidos:
   - distância do submenu: top em .nav-sub
   - largura: min-width em .nav-sub / .nav-sub-wide
   - tempo de animação: transition em .nav-sub
============================================================ */
@media (min-width: 901px) {
  nav {
    overflow: visible;
  }

  .nav-links {
    align-items: center;
    height: 100%;
    gap: 24px;
  }

  .nav-links,
  .nav-links ul,
  .nav-links li,
  .nav-sub,
  .nav-sub li {
    list-style: none !important;
  }

  .nav-links > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .nav-links > li > a {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* Ponte invisível entre o item do menu e o dropdown.
     Isso evita o fechamento rápido quando há um pequeno espaço
     entre o menu principal e o submenu. */
  .nav-has-sub::after {
    content: '';
    position: absolute;
    left: -18px;
    right: -18px;
    top: 100%;
    height: 18px;
    display: block;
    pointer-events: auto;
  }

  .nav-sub {
    display: block !important;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);

    min-width: 178px;
    padding: 10px;
    margin: 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    background:
      linear-gradient(180deg, rgba(252,239,102,.07), rgba(255,255,255,.018)),
      rgba(13,13,13,.98);
    border: 1px solid rgba(252,239,102,.18);
    border-top: 2px solid var(--brand);
    box-shadow:
      0 18px 42px rgba(0,0,0,.72),
      0 0 24px rgba(252,239,102,.08);
    backdrop-filter: blur(12px);

    z-index: 600;

    transition:
      opacity .18s ease,
      transform .18s ease,
      visibility .18s ease;
  }

  /* Área invisível acima do dropdown para ampliar a zona de hover. */
  .nav-sub::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
  }

  .nav-links > li:hover > .nav-sub,
  .nav-links > li:focus-within > .nav-sub,
  .nav-sub:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav-sub-wide {
    min-width: 230px;
  }

  .nav-sub li {
    margin: 0;
    padding: 0;
  }

  .nav-sub li + li {
    margin-top: 4px;
  }

  .nav-sub li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 11px 13px 10px 15px;

    background: rgba(255,255,255,.025);
    border: 1px solid transparent;

    color: #d6d6d6 !important;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.4px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;

    transition:
      color .16s ease,
      background .16s ease,
      border-color .16s ease,
      transform .16s ease,
      padding-left .16s ease;
  }

  /* Marcador lateral elegante no lugar de bullets. */
  .nav-sub li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    transform: translateY(-50%);
    background: var(--brand);
    box-shadow: 0 0 10px rgba(252,239,102,.35);
    transition: height .16s ease;
  }

  .nav-sub li a:hover,
  .nav-sub li a:focus-visible {
    color: var(--brand-strong) !important;
    background: rgba(252,239,102,.075) !important;
    border-color: rgba(252,239,102,.22);
    transform: translateX(2px);
    padding-left: 18px;
    outline: none;
  }

  .nav-sub li a:hover::before,
  .nav-sub li a:focus-visible::before {
    height: 64%;
  }

  .nav-has-sub > a::after {
    content: '⌄';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-left: 2px;
    font-size: 13px;
    line-height: 1;
    color: var(--brand);
    transform: translateY(-1px);
    transition: transform .18s ease, color .18s ease;
  }

  .nav-has-sub:hover > a::after,
  .nav-has-sub:focus-within > a::after {
    color: var(--brand-strong);
    transform: translateY(0) rotate(180deg);
  }
}

/* ============================================================
   ATUALIZAÇÃO — LOGOS E SUBMENUS MOBILE POR CLIQUE
   ------------------------------------------------------------
   1. Desktop: troque assets/img/logo-menu-desktop.png pela imagem do menu.
   2. Hero: troque assets/img/logo-evento-hero.png pela imagem do evento.
   3. Mobile: submenus ficam fechados e abrem somente ao clicar.
============================================================ */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.nav-logo img {
  display: block;
  width: auto;
  height: 34px;
  max-width: 170px;
  object-fit: contain;
}
.nav-logo-text { display: inline-block; }
@media (min-width: 901px) {
  .nav-logo:has(img[src=""]),
  .nav-logo img[src=""] { display: none; }
}
@media (max-width: 900px) {
  .nav-logo img { display: none; }
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1480px, 100%);
  padding: 40px 36px 60px;
  display: grid;
  grid-template-columns: minmax(180px, 360px) minmax(0, 600px);
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
}
.hero-event-logo-box {
  width: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 34px);
  border: 0px solid rgba(252,239,102,.18);
  background: transparent;
  backdrop-filter: blur(0px);
  box-shadow: 0 0px 0px rgba(0,0,0,.0), inset 0 0 0 0px rgba(255,255,255,.035);
}
.hero-event-logo-box img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}
.hero-content {
  padding: 0 !important;
  max-width: 800px;
}
.mobile-menu-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: #ccc;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}
.mobile-menu-trigger:hover,
.mobile-menu-trigger[aria-expanded="true"] { color: var(--brand-strong); }
.mobile-menu-arrow { color: var(--brand); transition: transform .22s ease; }
.mobile-menu-trigger[aria-expanded="true"] .mobile-menu-arrow { transform: rotate(180deg); }
.mobile-sub-group[hidden] { display: none !important; }
.mobile-sub-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 8px 0 12px 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-sub-link {
  display: block !important;
  color: #aaa !important;
  font-size: 14px !important;
  letter-spacing: 1px !important;
  border-bottom: none !important;
  padding: 8px 10px !important;
  background: var(--dark3);
}
.mobile-sub-link::before { content: '↳ '; color: var(--brand); }
@media (max-width: 900px) {
  .hero {
    align-items: flex-end;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 16px 130px;
  }
  .hero-event-logo-box {
    min-height: 150px;
    max-width: 260px;
    justify-content: flex-start;
    padding: 16px;
  }
  .hero-event-logo-box img { max-height: 170px; }
}
@media (max-width: 540px) {
  .hero-event-logo-box {
    max-width: 220px;
    min-height: 120px;
  }
  .hero-event-logo-box img { max-height: 300px; }
}

/* ============================================================
   REFINO DE LEGIBILIDADE DA TIPOGRAFIA
   Mantém o estilo condensado/esportivo, mas reduz o peso extremo
   em menus, cards e textos de apoio para melhorar a leitura.
============================================================ */
.nav-links a,
.mobile-menu a,
.mobile-sub-link,
.nav-sub a,
.btn-nav,
.btn-primary,
.btn-outline,
.map-ctrl-btn,
.sec-label,
.metric-label,
.ci-title,
.sl-header,
.route-box-label,
.status-badge,
.document-card span {
  font-weight: 700 !important;
  letter-spacing: 1.1px;
}

.sec-title,
.pricing-section h2,
.section-heading h2,
.kit-content h2,
.final-cta-content h2,
.modal-title,
.route-modal-title {
  font-weight: 800 !important;
  letter-spacing: .3px;
  line-height: 1.05;
}

.hero-title,
.hero-title .line1,
.hero-title .line2 {
  font-weight: 900 !important;
  letter-spacing: .1px;
}

.rs-dist,
.tab-km,
.route-box-value,
.metric-value,
.ci-val,
#ctaDist,
#ctaPrice {
  font-weight: 800 !important;
}

body,
.modal-p,
.modal-list li,
.regulation-inner,
.kit-content p,
.sl-desc {
  font-weight: 400;
  line-height: 1.65;
}

html, body {
    overflow-x: hidden;
}

body.elementor-page {
    margin: 0 !important;
}

/* remove espaço extra */
.elementor-location-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body::after {
    display: none !important;
}

/* ============================================================
   REGULAMENTO REORGANIZADO + CORREÇÕES FINAIS DE ESTRUTURA
============================================================ */
.regulation-wrapper { overflow: hidden; }
.regulation-wrapper.open .regulation-content { display: block; }
.reg-hero {
  padding: 24px;
  background: linear-gradient(135deg, rgba(252,239,102,.10), rgba(255,255,255,.025));
  border: 1px solid rgba(252,239,102,.18);
  margin-bottom: 20px;
}
.reg-kicker {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.reg-hero h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(28px,4vw,48px);
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}
.reg-hero p { color: #cfcfcf; max-width: 760px; }
.reg-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.reg-index a {
  color: #ddd;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--dark3);
  padding: 9px 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: .2s ease;
}
.reg-index a:hover { color: #000; background: var(--brand); border-color: var(--brand); }
.reg-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.reg-card {
  position: relative;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  padding: 22px;
  overflow: hidden;
}
.reg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
  opacity: .7;
}
.reg-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(252,239,102,.12);
  color: var(--brand);
  border: 1px solid rgba(252,239,102,.28);
  font-family: var(--font-head);
  font-weight: 900;
  margin-bottom: 12px;
}
.reg-card h4 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}
.reg-card p,
.reg-card li { color: #bdbdbd; font-size: 14px; line-height: 1.7; }
.reg-card ul { margin-left: 18px; }
.reg-card li { margin-bottom: 8px; }
.reg-note {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(252,239,102,.07);
  border-left: 3px solid var(--brand);
  color: #ddd !important;
}
.reg-table-wrap { overflow-x: auto; border: 1px solid var(--border); }
.reg-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.reg-table th,
.reg-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.reg-table th {
  background: var(--dark4);
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.reg-table td { color: #cfcfcf; }
.reg-table tr:last-child td { border-bottom: 0; }
.reg-card-highlight { grid-column: 1 / -1; background: rgba(252,239,102,.05); border-color: rgba(252,239,102,.28); }
.drawer-overlay { display: block; }
.register-drawer { display: block; }
.modal, .gallery-modal { display: none; }
.modal.active, .gallery-modal.active { display: flex; }
body.modal-open { overflow: hidden; }
@media (max-width: 900px) {
  .reg-grid { grid-template-columns: 1fr; }
  .reg-hero { padding: 20px 16px; }
  .reg-card { padding: 18px 16px; }
  .reg-index { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .reg-index { grid-template-columns: 1fr; }
  .regulation-header { font-size: 15px; padding: 16px; }
  .regulation-inner { padding: 16px; }
}

/* ============================================================
   REGULAMENTO — VERSÃO CORRIGIDA, INTEGRAL E SEM ROLAGEM HORIZONTAL
============================================================ */
.regulation-wrapper:not(.open) .regulation-content { display: none !important; }
.regulation-wrapper.open .regulation-content { display: block !important; }
.regulation-wrapper.open .regulation-arrow { transform: rotate(180deg); }
.regulation-header[aria-expanded="true"] .regulation-arrow { transform: rotate(180deg); }
.regulamento-28p { max-width: 100%; overflow: visible; }
.reg-index { display: none !important; }
.reg-grid { display: block !important; }
.reg-full-list { display: flex; flex-direction: column; gap: 16px; }
.reg-section {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(252,239,102,.45);
  padding: 0;
  overflow: visible;
}
.reg-section-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: linear-gradient(90deg, rgba(252,239,102,.08), rgba(255,255,255,.015));
  border-bottom: 1px solid var(--border);
}
.reg-section-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 34px;
  background: rgba(252,239,102,.12);
  color: var(--brand);
  border: 1px solid rgba(252,239,102,.28);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1;
}
.reg-section-head h4 {
  margin: 0;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.05;
  text-transform: uppercase;
}
.reg-section-body { padding: 20px; }
.reg-section-body p,
.reg-section-body li {
  color: #cfcfcf;
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.reg-section-body p { margin: 0 0 12px; }
.reg-section-body ul { margin: 0 0 14px 20px; padding: 0; }
.reg-section-body li { margin-bottom: 8px; }
.reg-subblock {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.18);
}
.reg-subblock h5 {
  margin: 0 0 12px;
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}
.reg-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin: 10px 0 14px;
}
.reg-price-item,
.reg-inline-price {
  border: 1px solid rgba(252,239,102,.18);
  background: rgba(252,239,102,.055);
  padding: 12px;
}
.reg-price-item strong,
.reg-inline-price strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}
.reg-price-item span,
.reg-inline-price span {
  display: block;
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  margin-top: 4px;
}
.reg-table-wrap { overflow-x: visible !important; }
.reg-table { min-width: 0 !important; width: 100% !important; }
@media (max-width: 720px) {
  .regulation-inner { padding: 14px !important; }
  .reg-hero { padding: 18px 14px !important; }
  .reg-section-head { padding: 16px 14px; gap: 10px; }
  .reg-section-head span { min-width: 34px; height: 30px; font-size: 13px; }
  .reg-section-body { padding: 16px 14px; }
  .reg-section-body p,
  .reg-section-body li { font-size: 14px; line-height: 1.68; }
  .reg-price-grid { grid-template-columns: 1fr; }
  .reg-subblock { padding: 14px; }
}

/* Mata completamente o container vazio */
.elementor-element.elementor-element-75690ed{
    display:none !important;
}

/* Remove footer vazio */
footer.entry-meta{
    display:none !important;
}

/* Remove espaço restante do wrapper */
.single .site-content,
.elementor-location-single,
.elementor-widget-theme-post-content{
    margin-bottom:0 !important;
    padding-bottom:0 !important;
}

/* Evita espaço fantasma */
body .site-main{
    margin-bottom:0 !important;
    padding-bottom:0 !important;
}
/* ============================================================
   CLEANUP FINAL — estrutura, menu mobile e prevenção de espaços fantasmas
============================================================ */
.hamburger {
  background: transparent;
  border: 0;
  appearance: none;
}
.mobile-menu:not(.open) { display: none; }
body.menu-open { overflow: hidden; }
section:empty,
div:empty:not(.hero-bg):not(.hero-overlay):not(#distTabs):not(#map-v3):not(#supportPoints):not(#pricingAccordion):not(#drawerOverlay):not(#routeModalMap):not(#kitDetailContent):not(.ci-dot):not(#ciDiff) {
  display: none !important;
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ============================================================
   KIT — VISUAL DOS PRODUTOS
   Bloco único e limpo para os cards gerados pelo JavaScript
============================================================ */

.kit-visual{
  width:100%;
  margin-top:42px;
  display:flex;
  flex-direction:column;
  gap:26px;
}

.kit-visual-box{
  position:relative;
  border:1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 50% 0%, rgba(252,239,102,.075), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  padding:24px;
  overflow:hidden;
}

.kit-visual-box::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(120deg, rgba(255,255,255,.08), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.08), transparent 34%);
  opacity:.75;
}

.kit-visual-head{
  position:relative;
  z-index:2;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:20px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(252,239,102,.24);
}

.kit-visual-head strong{
  font-family:var(--font-head);
  font-size:clamp(22px,2.4vw,30px);
  line-height:.95;
  font-weight:700;
  text-transform:uppercase;
  color:#fff;
}

.kit-visual-head span{
  font-family:var(--font-head);
  font-size:15px;
  line-height:1;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--brand);
  white-space:nowrap;
}

.kit-products{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}

.kit-product-card{
  position:relative;
  min-height:245px;
  border:1px solid rgba(255,255,255,.13);
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.20), rgba(150,150,150,.10) 38%, rgba(12,12,12,.86) 100%);
  padding:20px 16px 17px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  text-align:center;
  overflow:hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 18px 34px rgba(0,0,0,.18);
}

.kit-product-card::before{
  content:"";
  position:absolute;
  width:120%;
  height:78%;
  left:50%;
  top:34%;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle, rgba(255,255,255,.14), transparent 68%);
  filter:blur(8px);
  pointer-events:none;
}

.kit-product-card::after{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  bottom:76px;
  height:18px;
  border-radius:50%;
  background:rgba(0,0,0,.34);
  filter:blur(12px);
  pointer-events:none;
}

.kit-product-card img{
  position:relative;
  z-index:2;
  width:100%;
  height:165px;
  object-fit:contain;
  margin:0 auto auto;
  background:transparent !important;
  transform:scale(1.08);
  filter:
    drop-shadow(0 20px 24px rgba(0,0,0,.46))
    drop-shadow(0 7px 9px rgba(0,0,0,.30));
}

.kit-product-card strong{
  position:relative;
  z-index:3;
  display:block;
  margin-top:15px;
  font-family:var(--font-head);
  font-size:18px;
  line-height:.95;
  font-weight:600;
  letter-spacing:.4px;
  text-transform:uppercase;
  color:#fff;
}

.kit-product-card span{
  position:relative;
  z-index:3;
  display:block;
  margin-top:5px;
  font-size:11px;
  line-height:1.35;
  color:#b8b8b8;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.kit-product-number{
  position:absolute;
  top:12px;
  left:12px;
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--brand);
  color:#000;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--font-head);
  font-weight:600;
  font-size:16px;
  z-index:4;
  box-shadow:0 8px 18px rgba(0,0,0,.25);
}

.kit-product-card.is-disabled{
  opacity:.30;
  filter:grayscale(1);
}

.kit-product-card.is-disabled::after{
  content:"Não incluso neste lote";
  position:absolute;
  inset:auto 12px 12px;
  height:auto;
  border-radius:0;
  background:rgba(0,0,0,.80);
  color:#fff;
  font-size:10px;
  font-weight:700;
  letter-spacing:.8px;
  text-transform:uppercase;
  padding:7px 8px;
  filter:none;
  z-index:5;
}

/* Ajuste do painel onde os kits aparecem */
.kit-image-panel{
  background:
    radial-gradient(circle at 50% 36%, rgba(255,255,255,.12), transparent 42%),
    radial-gradient(circle at 72% 24%, rgba(252,239,102,.10), transparent 34%),
    linear-gradient(180deg, #181818 0%, #101010 58%, #0b0b0b 100%);
}

@media(max-width:768px){
  .kit-visual{margin-top:14px; gap:18px;}
  .kit-visual-box{padding:18px;}
  .kit-visual-head{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .kit-visual-head span{white-space:normal;}
  .kit-products{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:14px;
  }
  .kit-choice-pair{gap:14px;}
  .kit-product-card{
    min-height:214px;
    padding:17px 13px 15px;
  }
  .kit-product-card img{
    height:132px;
    transform:scale(1.04);
  }
}

@media(max-width:480px){
  .kit-products{grid-template-columns:1fr;}
  .kit-choice-pair{
    grid-column:1;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:10px;
  }
  .kit-product-card{min-height:230px;}
  .kit-product-card img{height:155px;}
  .kit-choice-pair .kit-product-card{
    min-height:205px;
    padding-left:8px;
    padding-right:8px;
  }
  .kit-choice-pair .kit-product-image-btn img{height:130px;}
}

.kit-choice-label{
  position:absolute;
  top:50%;
  left:-16px;
  transform:translateY(-50%);
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--brand);
  color:#000;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--font-head);
  font-weight:700;
  font-size:14px;
  z-index:3;
}

/* Boné + viseira formam uma escolha única e nunca se separam. */
.kit-choice-pair{
  grid-column:span 2;
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
  min-width:0;
}


/* ============================================================
   AJUSTE FINAL — KIT SEM FUNDOS + MODAL DE IMAGEM
============================================================ */
.kit-product-card,
.kit-product-card *{
  background-color:transparent !important;
}

.kit-product-card{
  min-height:238px;
  border:1px solid rgba(255,255,255,.10);
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible;
  cursor:default;
}

.kit-product-card::before,
.kit-product-card::after{
  display:none !important;
  content:none !important;
}

.kit-product-number{
  display:none !important;
}

.kit-product-image-btn{
  position:relative;
  z-index:2;
  width:100%;
  border:0;
  padding:0;
  margin:0 auto auto;
  background:transparent !important;
  cursor:zoom-in;
  display:flex;
  align-items:center;
  justify-content:center;
}

.kit-product-image-btn:focus-visible{
  outline:2px solid var(--brand);
  outline-offset:6px;
}

.kit-product-image-btn img,
.kit-product-card img{
  width:100%;
  height:178px;
  object-fit:contain;
  margin:0 auto;
  background:transparent !important;
  transform:scale(1.12);
  filter:drop-shadow(0 18px 22px rgba(0,0,0,.42));
}

.kit-choice-label{
  position:absolute;
  top:12px;
  left:12px;
  transform:none;
  width:auto;
  min-width:42px;
  height:28px;
  padding:0 12px;
  border-radius:999px;
  background:var(--brand) !important;
  color:#000;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--font-head);
  font-weight:700;
  font-size:13px;
  letter-spacing:.8px;
  z-index:5;
  box-shadow:0 10px 20px rgba(0,0,0,.24);
}

.kit-choice-pair .kit-choice-label{
  top:50%;
  left:-9px;
  transform:translate(-50%,-50%);
}

@media(max-width:768px){
  .kit-choice-pair .kit-choice-label{left:-7px;}
}

@media(max-width:480px){
  .kit-choice-pair .kit-choice-label{
    left:-5px;
    min-width:34px;
    padding:0 8px;
    font-size:12px;
  }
}

.kit-product-card strong,
.kit-product-card span{
  background:transparent !important;
}

.kit-product-card.is-disabled{
  opacity:.28;
  filter:grayscale(1);
}

.kit-product-card.is-disabled::after{
  display:none !important;
  content:none !important;
}

.kit-image-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(0,0,0,.78);
  align-items:center;
  justify-content:center;
  padding:22px;
}

.kit-image-modal.is-open{
  display:flex;
}

.kit-image-modal-box{
  position:relative;
  width:min(760px, 94vw);
  background:#fff;
  color:#111;
  padding:34px 28px 26px;
  box-shadow:0 24px 80px rgba(0,0,0,.48);
}

.kit-image-modal-close{
  position:absolute;
  top:10px;
  right:12px;
  border:0;
  background:#111;
  color:#fff;
  width:34px;
  height:34px;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}

.kit-image-modal-img{
  width:100%;
  height:min(62vh, 560px);
  object-fit:contain;
  background:#fff !important;
}

.kit-image-modal-title{
  margin-top:18px;
  text-align:center;
  font-family:var(--font-head);
  font-weight:700;
  font-size:26px;
  line-height:1;
  text-transform:uppercase;
  color:#111;
}

@media(max-width:768px){
  .kit-product-card{min-height:214px;}
  .kit-product-image-btn img,
  .kit-product-card img{height:145px; transform:scale(1.08);}
  .kit-image-modal-box{padding:34px 18px 22px;}
}

@media(max-width:480px){
  .kit-product-card{min-height:226px;}
  .kit-product-image-btn img,
  .kit-product-card img{height:165px;}
}


/* ============================================================
   AJUSTE DEFINITIVO — KIT: PNG SEM QUADRO + OU CENTRALIZADO
============================================================ */
.kit-product-card{
  background:transparent !important;
  border:1px solid rgba(255,255,255,.08) !important;
  box-shadow:none !important;
  overflow:visible !important;
}

.kit-product-card::before,
.kit-product-card::after,
.kit-product-number{
  display:none !important;
  content:none !important;
}

.kit-product-image-btn{
  background:transparent !important;
  border:0 !important;
  overflow:visible !important;
}

.kit-product-image-btn img,
.kit-product-card img{
  background:transparent !important;
  mix-blend-mode:normal;
}

/* Para arquivos que ainda vêm com fundo branco ou xadrez embutido no próprio PNG/JPG.
   O CSS não apaga pixels do arquivo, mas este blend remove visualmente o quadro claro. */
.kit-product-card.is-baked-bg .kit-product-image-btn img{
  mix-blend-mode:multiply;
  filter:
    contrast(1.08)
    drop-shadow(0 18px 22px rgba(0,0,0,.44));
}

.kit-product-card.is-choice-alternative .kit-choice-label{
  top:50% !important;
  left:0 !important;
  right:auto !important;
  transform:translate(-50%,-50%) !important;
  z-index:20 !important;
  min-width:44px;
  height:30px;
  padding:0 12px;
  border-radius:999px;
  background:var(--brand) !important;
  color:#000 !important;
  box-shadow:0 10px 22px rgba(0,0,0,.34);
}

@media(max-width:768px){
  .kit-product-card.is-choice-alternative .kit-choice-label{
    top:-7px !important;
    left:50% !important;
    transform:translate(-50%,-50%) !important;
  }
}



/* ============================================================
   ILUMINAÇÃO DISCRETA INDIVIDUAL — PRODUTOS DO KIT
============================================================ */
.kit-product-image-btn{
  isolation:isolate;
  min-height:178px;
}

/* Halo amarelo suave atrás de cada produto */
.kit-product-image-btn::before{
  content:"";
  position:absolute;
  z-index:-1;
  left:50%;
  top:48%;
  width:78%;
  height:68%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(
    ellipse at center,
    rgba(252,239,102,.17) 0%,
    rgba(252,239,102,.10) 34%,
    rgba(252,239,102,.045) 56%,
    rgba(252,239,102,0) 80%
  ) !important;
  filter:blur(22px);
  opacity:.86;
  pointer-events:none;
  transition:opacity .3s ease, transform .3s ease, filter .3s ease;
}

/* Pequena sombra de apoio abaixo do produto */
.kit-product-image-btn::after{
  content:"";
  position:absolute;
  z-index:-1;
  left:50%;
  bottom:5px;
  width:58%;
  height:14px;
  transform:translateX(-50%);
  border-radius:50%;
  background:rgba(0,0,0,.34) !important;
  filter:blur(9px);
  pointer-events:none;
}

.kit-product-image-btn img,
.kit-product-card img{
  transition:transform .32s ease, filter .32s ease;
  filter:
    drop-shadow(0 18px 22px rgba(0,0,0,.44))
    drop-shadow(0 0 12px rgba(252,239,102,.08));
}

/* Destaque muito discreto ao passar o mouse */
.kit-product-card:not(.is-disabled):hover .kit-product-image-btn::before{
  opacity:1;
  filter:blur(26px);
  transform:translate(-50%,-50%) scale(1.06);
}

.kit-product-card:not(.is-disabled):hover .kit-product-image-btn img{
  transform:scale(1.15) translateY(-3px);
  filter:
    drop-shadow(0 22px 26px rgba(0,0,0,.48))
    drop-shadow(0 0 16px rgba(252,239,102,.13));
}

/* Mantém a correção das imagens que possuem fundo incorporado */
.kit-product-card.is-baked-bg .kit-product-image-btn img{
  filter:
    contrast(1.08)
    drop-shadow(0 18px 22px rgba(0,0,0,.44))
    drop-shadow(0 0 12px rgba(252,239,102,.07));
}

.kit-product-card.is-disabled .kit-product-image-btn::before{
  opacity:.22;
}

@media(max-width:768px){
  .kit-product-image-btn{min-height:145px;}
  .kit-product-image-btn::before{
    width:82%;
    height:72%;
    filter:blur(18px);
  }
  .kit-product-card:not(.is-disabled):hover .kit-product-image-btn img{
    transform:scale(1.10) translateY(-2px);
  }
}

@media(max-width:480px){
  .kit-product-image-btn{min-height:165px;}
  .kit-product-image-btn::before{
    width:72%;
    height:70%;
  }
}

/* ============================================================
  REMOVE O ESPAÇO BRANCO NO FIM DA PÁGINA
============================================================ */

.entry-content{
    margin-bottom:0 !important;
}
.hentry .entry-main {
    margin-bottom: 0 !important;
}

/* ============================================================
   LARGURA MÁXIMA DO SITE — 1480px
   Os fundos continuam ocupando toda a largura da tela; somente
   os conteúdos ficam centralizados dentro da área de leitura.
============================================================ */
@media (min-width: 901px) {
  nav {
    padding-left: max(28px, calc((100% - 1480px) / 2));
    padding-right: max(28px, calc((100% - 1480px) / 2));
  }

  .percursos-section .sec-header,
  .percursos-section .main-grid,
  .info-cards-grid,
  .pricing-section > h2,
  .pricing-section > #pricingAccordion,
  .gallery-section > .section-title-bar,
  .gallery-section > .gallery-masonry,
  .final-cta-content {
    width: min(1480px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  footer {
    padding-left: max(36px, calc((100% - 1480px) / 2));
    padding-right: max(36px, calc((100% - 1480px) / 2));
  }
}
/* ============================================================
   HOSPEDAGENS PARCEIRAS
============================================================ */
.travel-hotels-section {
  padding: 34px 36px 56px;
  background: var(--dark);
}
.travel-hotels-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(252,239,102,.28);
  background:
    linear-gradient(115deg, rgba(252,239,102,.10), transparent 48%),
    var(--dark2);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
}
.travel-hotels-inner::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(252,239,102,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(252,239,102,.025);
  pointer-events: none;
}
.travel-hotels-copy { position: relative; z-index: 1; max-width: 860px; }
.travel-hotels-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.travel-hotels-kicker::before { content: ''; width: 30px; height: 2px; background: var(--brand); }
.travel-hotels-copy h2 {
  max-width: 820px;
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: clamp(27px, 3.4vw, 48px);
  font-weight: 800;
  line-height: .98;
  text-transform: uppercase;
}
.travel-hotels-copy p { max-width: 680px; margin: 0; color: #aaa; font-size: 14px; line-height: 1.65; }
.travel-hotels-button {
  position: relative;
  z-index: 1;
  min-width: 190px;
  padding: 17px 22px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #0a0a0a;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .9px;
  text-transform: uppercase;
  cursor: pointer;
  transition: .22s ease;
}
.travel-hotels-button:hover { transform: translateY(-3px); background: var(--brand-strong); box-shadow: 0 14px 28px rgba(252,239,102,.14); }

.hotels-modal { padding: 64px 72px; background: rgba(0,0,0,.86); backdrop-filter: blur(7px); }
.hotels-modal-frame {
  position: relative;
  width: min(1120px, 100%);
}
.hotels-modal-shell {
  width: 100%;
  max-height: calc(100dvh - 128px);
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(252,239,102,.22);
  background: var(--dark2);
  box-shadow: 0 34px 100px rgba(0,0,0,.65);
  scrollbar-width: thin;
  scrollbar-color: var(--brand) #222;
}
.hotels-modal-close {
  position: absolute;
  top: 0;
  right: -58px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: .2s ease;
}
.hotels-modal-close:hover { color: #111; border-color: var(--brand); background: var(--brand); transform: rotate(90deg); }
.hotels-modal-header { margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.hotels-modal-tag { display: block; margin-bottom: 9px; color: var(--brand); font-size: 9px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; }
.hotels-modal-header h2 { margin: 0 0 10px; font-family: var(--font-head); font-size: clamp(30px,4vw,48px); font-weight: 800; line-height: 1; text-transform: uppercase; }
.hotels-modal-header p { max-width: 690px; margin: 0; color: #999; font-size: 13px; line-height: 1.65; }
.hotels-list { display: grid; gap: 24px; }
.hotel-card { display: grid; grid-template-columns: minmax(310px, .9fr) minmax(0, 1.1fr); border: 1px solid #dedede; background: #fff; color: #171717; box-shadow: 0 16px 40px rgba(0,0,0,.16); }
.hotel-gallery { min-width: 0; padding: 14px; border-right: 1px solid #dedede; background: #f3f3f1; }
.hotel-main-image { display: block; width: 100%; height: 310px; padding: 0; overflow: hidden; border: 0; background: #080808; cursor: zoom-in; }
.hotel-main-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.hotel-main-image:hover img { transform: scale(1.035); }
.hotel-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.hotel-thumbnail { height: 48px; padding: 0; overflow: hidden; border: 1px solid transparent; background: #111; opacity: .55; cursor: pointer; }
.hotel-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.hotel-thumbnail:hover, .hotel-thumbnail.active { opacity: 1; border-color: var(--brand); }
.hotel-content { min-width: 0; padding: clamp(22px, 3vw, 34px); }
.hotel-logo { display: flex; align-items: center; justify-content: center; width: 138px; height: 66px; margin-bottom: 18px; padding: 8px; background: #fff; }
.hotel-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hotel-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.hotel-location { display: block; margin-bottom: 6px; color: #786b00; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.hotel-content h3 { margin: 0; color: #111; font-family: var(--font-head); font-size: clamp(23px, 2.5vw, 32px); font-weight: 800; line-height: 1; text-transform: uppercase; }
.hotel-short-location { margin: 7px 0 0; color: #686868; font-size: 11px; }
.hotel-benefit-badge { flex: 0 0 auto; padding: 9px 11px; border: 1px solid #d7ca3c; background: #fffceb; color: #635900; font-family: var(--font-head); font-size: 13px; font-weight: 800; text-align: center; text-transform: uppercase; }
.hotel-description { margin: 19px 0 15px; color: #4f4f4f; font-size: 12px; line-height: 1.7; }
.hotel-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.hotel-amenities span { padding: 6px 8px; border: 1px solid #d9d9d9; background: #fafafa; color: #555; font-size: 9px; text-transform: uppercase; }
.hotel-coupon-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; padding: 13px 14px; border-left: 3px solid #c7b900; background: #f5f5f1; }
.hotel-coupon-copy small { display: block; margin-bottom: 3px; color: #747474; font-size: 8px; letter-spacing: 1px; text-transform: uppercase; }
.hotel-coupon-copy strong { color: #554d00; font-family: var(--font-head); font-size: 16px; letter-spacing: .5px; }
.hotel-copy-button { padding: 8px 11px; border: 1px solid #181818; background: transparent; color: #181818; font-size: 9px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.hotel-copy-button:hover { background: var(--brand); color: #111; }
.hotel-contact { margin-bottom: 17px; color: #555; font-size: 11px; line-height: 1.65; }
.hotel-contact a { color: #333; text-decoration: none; }
.hotel-contact a:hover { color: #786b00; }
.hotel-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.hotel-action { padding: 10px 12px; border: 1px solid #181818; color: #181818; font-size: 9px; font-weight: 800; letter-spacing: .4px; text-decoration: none; text-transform: uppercase; }
.hotel-action-primary, .hotel-action:hover { background: var(--brand); color: #111; }
.hotels-final-note { margin-top: 24px; padding: 14px 16px; border: 1px solid var(--border); color: #777; font-size: 10px; line-height: 1.6; }
.hotels-final-note strong { color: #bbb; }
.hotel-photo-modal { display: none; position: fixed; inset: 0; z-index: 10050; align-items: center; justify-content: center; padding: 30px; background: rgba(0,0,0,.94); }
.hotel-photo-modal.active { display: flex; }
.hotel-photo-modal img { max-width: 94vw; max-height: 90vh; object-fit: contain; box-shadow: 0 25px 80px rgba(0,0,0,.6); }
.hotel-photo-close { position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: #111; color: #fff; font-size: 24px; cursor: pointer; }
.hotel-photo-close:hover { color: #111; background: var(--brand); border-color: var(--brand); }
@media (max-width: 900px) {
  .travel-hotels-section { padding: 20px 16px 40px; }
  .travel-hotels-inner { grid-template-columns: 1fr; gap: 22px; }
  .travel-hotels-button { width: 100%; }
  .hotels-modal { align-items: flex-start; padding: 70px 12px 12px; }
  .hotels-modal-frame { width: 100%; }
  .hotels-modal-shell { max-height: calc(100dvh - 82px); padding: 22px 14px; }
  .hotels-modal-close { top: -55px; right: 0; }
  .hotel-card { grid-template-columns: 1fr; }
  .hotel-gallery { border-right: 0; border-bottom: 1px solid var(--border); }
  .hotel-main-image { height: min(66vw, 360px); }
}
@media (max-width: 520px) {
  .travel-hotels-inner { padding: 24px 20px; }
  .hotel-thumbnails { grid-template-columns: repeat(4, 1fr); }
  .hotel-title-row { display: block; }
  .hotel-benefit-badge { display: inline-block; margin-top: 14px; }
  .hotel-coupon-row { align-items: flex-start; }
  .hotel-actions { display: grid; grid-template-columns: 1fr; }
  .hotel-action { text-align: center; }
}
