/* =============================================================================
   Stade Poitevin Escrime - Design System Officiel (www.stadepoitevin-escrime.fr)
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --spe-black: #111111;
  --spe-dark: #1f2937;
  --spe-white: #ffffff;
  --spe-gray-bg: #f9fafb;
  --spe-gray-border: #e5e7eb;
  --spe-text-muted: #6b7280;
  --spe-accent-amber: #d97706;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--spe-gray-bg);
  color: var(--spe-black);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header & Navigation Links (Style www.stadepoitevin-escrime.fr) */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.25s ease-in-out;
}
.nav-link:hover::after {
  width: 100%;
}

/* Glass & Card Design */
.card-spe {
  background: #ffffff;
  border: 1px solid var(--spe-gray-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.nav-spe {
  background-color: var(--spe-black);
  color: #ffffff;
}

/* Primary Brand Button */
.btn-spe-primary {
  background-color: #ffffff;
  color: #111111;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.btn-spe-primary:hover {
  background-color: #e5e7eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Dark Accent Button */
.btn-spe-dark {
  background-color: #111111;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}
.btn-spe-dark:hover {
  background-color: #1f2937;
  transform: translateY(-1px);
}

/* Accessibilité RGAA - Focus Indicator */
*:focus-visible {
  outline: 3px solid #111111 !important;
  outline-offset: 2px !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f3f4f6;
}
::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

/* Badges de Statut (Design Épuré Officiel) */
.badge-pending {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.badge-validated {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.badge-rejected {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
  }
  .no-print {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
}

