/* ============================================================
   PERCUTOR® — Custom CSS v1.0
   Paleta: Azul #0F3D73 · Laranja #E8722A · Charcoal #2D3444
   ============================================================ */

/* ── Variáveis ─────────────────────────────────────────────── */
:root {
  --color-primary:       #0F3D73;
  --color-secondary:     #1F5AA6;
  --color-blue-soft:     #DCEBFA;
  --color-brand:         #E8722A;
  --color-brand-light:   #F09060;
  --color-brand-dark:    #C55A18;
  --color-charcoal:      #2D3444;
  --color-gray-page:     #F5F7FA;
  --color-gray-mid:      #D8DEE8;
  --color-gray-text:     #4A5568;
  --color-surface-dark:  #071829;
  --color-card-dark:     #0d2a50;
  --color-text-muted:    #93b8d8;
  --radius-brand:        12px;
  --shadow-brand:        0 2px 8px rgba(15,61,115,0.08);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--color-gray-page); }

/* ── Typography helpers ────────────────────────────────────── */
.text-brand    { color: var(--color-brand); }
.text-primary  { color: var(--color-primary); }
.text-muted    { color: var(--color-gray-text); }
.text-muted-dk { color: var(--color-text-muted); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-brand);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  font-size: 0.875rem;
}
.btn-brand:hover { background: var(--color-brand-dark); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  font-size: 0.875rem;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  background: var(--color-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-link {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--color-brand); }
.btn-nav-member {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--color-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-nav-member:hover { background: var(--color-brand-dark); }

/* ── Gunpad Surface ────────────────────────────────────────── */
.gunpad-surface {
  position: relative;
  background-color: var(--color-surface-dark);
  overflow: hidden;
}
.gunpad-surface::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.gunpad-rail-top    { position: absolute; top: 0;    left: 0; right: 0; height: 2px; background: var(--color-brand); }
.gunpad-rail-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.08); }

/* ── Gunpad Card (compartimento) ───────────────────────────── */
.gunpad-card {
  position: relative;
  background-color: var(--color-card-dark);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.04);
  border-radius: var(--radius-brand);
  padding: 1.5rem;
  overflow: hidden;
  transition: transform 0.2s;
}
.gunpad-card:hover { transform: translateY(-3px); }

/* Orange top rail on card */
.gunpad-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: var(--color-brand);
  border-radius: 0 0 4px 4px;
  transition: left 0.3s, right 0.3s;
}
.gunpad-card:hover::before { left: 0.75rem; right: 0.75rem; }

/* Corner markers */
.gunpad-card .corner { position: absolute; width: 10px; height: 10px; border-color: rgba(232,114,42,0.5); border-style: solid; }
.gunpad-card .corner-tl { top: 8px; left: 8px;   border-width: 1px 0 0 1px; }
.gunpad-card .corner-tr { top: 8px; right: 8px;  border-width: 1px 1px 0 0; }
.gunpad-card .corner-bl { bottom: 8px; left: 8px;  border-width: 0 0 1px 1px; }
.gunpad-card .corner-br { bottom: 8px; right: 8px; border-width: 0 1px 1px 0; }

/* ── Gunpad Frame (para imagem) ────────────────────────────── */
.gunpad-frame {
  position: relative;
  background-color: rgba(0,0,0,0.25);
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  box-shadow: inset 0 3px 12px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.07);
  border-radius: 1rem;
  padding: 0.75rem;
  overflow: hidden;
}
.gunpad-frame .fc { position: absolute; width: 20px; height: 20px; border-color: var(--color-brand); border-style: solid; }
.gunpad-frame .fc-tl { top: 12px;    left: 12px;  border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; }
.gunpad-frame .fc-tr { top: 12px;    right: 12px; border-width: 2px 2px 0 0; border-radius: 0 4px 0 0; }
.gunpad-frame .fc-bl { bottom: 12px; left: 12px;  border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }
.gunpad-frame .fc-br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }

/* ── Card icon ─────────────────────────────────────────────── */
.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(232,114,42,0.18);
  border: 1px solid rgba(232,114,42,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-brand);
}

/* ── Stats mini-pad ────────────────────────────────────────── */
.stat-pad {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}
.stat-pad .stat-num  { font-size: 1.5rem; font-weight: 800; color: var(--color-brand); line-height: 1.2; }
.stat-pad .stat-label{ font-size: 0.7rem; font-weight: 500; color: rgba(147,184,216,0.9); margin-top: 2px; }

/* ── Badge ─────────────────────────────────────────────────── */
.badge-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--color-brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
}
.badge-soon {
  background: rgba(232,114,42,0.2);
  color: var(--color-brand);
  border: 1px solid rgba(232,114,42,0.4);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-block;
}

/* ── Faixa fabricantes ─────────────────────────────────────── */
.brand-strip {
  background: #fff;
  border-bottom: 1px solid var(--color-gray-mid);
  padding: 1.125rem 0;
}
.brand-strip .divider {
  width: 1px;
  height: 2.5rem;
  background: var(--color-gray-mid);
}
.brand-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9caab8;
}

/* ── Fabricante card ───────────────────────────────────────── */
.fab-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius-brand);
  border: 1px solid var(--color-gray-mid);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  background: #fff;
}
.fab-card:hover {
  border-color: var(--color-brand);
  box-shadow: 0 4px 16px rgba(232,114,42,0.12);
  transform: translateY(-2px);
}
.fab-card img { transition: transform 0.2s; }
.fab-card:hover img { transform: scale(1.05); }

/* ── Roadmap ───────────────────────────────────────────────── */
.roadmap-card {
  background: #fff;
  border-radius: var(--radius-brand);
  padding: 1.5rem;
  box-shadow: var(--shadow-brand);
}
.roadmap-card.active { border-left: 4px solid var(--color-brand); }
.roadmap-card.soon   { border-left: 4px solid var(--color-gray-mid); opacity: 0.78; }

/* ── Modal ─────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(4,14,26,0.85);
  backdrop-filter: blur(6px);
}
.modal-box {
  width: 100%;
  max-width: 22rem;
  background: var(--color-card-dark);
  border: 1px solid rgba(232,114,42,0.3);
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer-main     { background: var(--color-surface-dark); }
.footer-legal    { background: #040e1a; border-top: 1px solid rgba(232,114,42,0.2); }
.footer-brand-bar { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 1.25rem; padding-top: 1.25rem; }
.disclaimer-text { color: #5a7a99; font-size: 0.75rem; line-height: 1.7; }
.disclaimer-text strong { color: #7ba0c0; }
.badge-18 {
  display: inline-block;
  background: rgba(232,114,42,0.15);
  color: var(--color-brand);
  border: 1px solid rgba(232,114,42,0.3);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 0.25rem;
}
