/* ========================================
   HANDBALL CLUB - CSS PRINCIPAL
   Design: Sportif / Dynamique / Moderne
======================================== */

@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600&display=swap");

:root {
  --rouge: #d72828;
  --rouge-fonce: #a01e1e;
  --rouge-clair: #ff3c3c;
  --noir: #0d0d0d;
  --noir-soft: #1a1a1a;
  --gris-fonce: #2a2a2a;
  --gris-moyen: #555555;
  --gris-clair: #aaaaaa;
  --blanc: #f5f5f5;
  --blanc-pur: #ffffff;
  --or: #f0b429;

  --font-titre: "Barlow Condensed", sans-serif;
  --font-corps: "Barlow", sans-serif;

  --radius: 4px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-rouge: 0 4px 20px rgba(215, 40, 40, 0.3);
  --transition: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-corps);
  background: var(--noir);
  color: var(--blanc);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
ul {
  list-style: none;
  padding: auto;
}
img {
  max-width: 100%;
  display: block;
}

/* ========================================
   SCROLLBAR
======================================== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--noir-soft);
}
::-webkit-scrollbar-thumb {
  background: var(--rouge);
  border-radius: 3px;
}

/* ========================================
   HEADER / NAVIGATION
======================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--rouge);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: var(--rouge);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-family: var(--font-titre);
  font-weight: 900;
  color: var(--blanc-pur);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--blanc-pur);
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--rouge);
  letter-spacing: 3px;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  gap: 0.15rem;
  align-items: center;
}

nav a,
.dropdown-toggle {
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  color: var(--gris-clair);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
  background: transparent;
  border: none;
  cursor: pointer;
}

nav a:hover,
nav a.active,
.dropdown-toggle:hover {
  color: var(--blanc-pur);
  background: rgba(215, 40, 40, 0.15);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  background: var(--noir-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  border-radius: 10px;
  padding: 0.35rem 0;
  min-width: 220px;
  z-index: 100;
}

.dropdown-menu li {
  display: block;
}

.dropdown-menu a {
  display: block;
  font-size: 0.85rem;
  padding: 0.7rem 1rem;
  color: var(--gris-clair);
  text-transform: none;
  white-space: normal;
}

.dropdown-menu a:hover {
  color: var(--blanc-pur);
  background: rgba(215, 40, 40, 0.08);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: block;
}

nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--rouge);
}

.nav-auth {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.btn-connexion {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border: 2px solid var(--rouge);
  border-radius: var(--radius);
  color: var(--rouge);
  transition: var(--transition);
}

.btn-connexion:hover {
  background: var(--rouge);
  color: var(--blanc-pur);
}

.btn-inscription {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  background: var(--rouge);
  border: 2px solid var(--rouge);
  border-radius: var(--radius);
  color: var(--blanc-pur);
  transition: var(--transition);
}

.btn-inscription:hover {
  background: var(--rouge-fonce);
  border-color: var(--rouge-fonce);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--blanc);
  transition: var(--transition);
}

/* ========================================
   MAIN CONTENT
======================================== */
main {
  padding-top: 80px;
}

/* ========================================
   HERO - PAGE ACCUEIL
======================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--noir);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 70% 50%,
      rgba(215, 40, 40, 0.15) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 10% 80%,
      rgba(215, 40, 40, 0.08) 0%,
      transparent 50%
    );
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(215, 40, 40, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 40, 40, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-shape {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  height: 120%;
  background: linear-gradient(135deg, var(--rouge) 0%, var(--rouge-fonce) 100%);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.08;
}

.hero-number {
  position: absolute;
  right: 5%;
  bottom: 5%;
  font-family: var(--font-titre);
  font-weight: 900;
  font-size: 20vw;
  color: rgba(215, 40, 40, 0.04);
  line-height: 1;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(215, 40, 40, 0.15);
  border: 1px solid rgba(215, 40, 40, 0.4);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-titre);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rouge-clair);
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--rouge-clair);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-family: var(--font-titre);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--blanc-pur);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  color: var(--rouge);
  display: block;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gris-clair);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  background: var(--rouge);
  color: var(--blanc-pur);
  border: 2px solid var(--rouge);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-rouge);
}

.btn-primary:hover {
  background: var(--rouge-fonce);
  border-color: var(--rouge-fonce);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(215, 40, 40, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--blanc);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--blanc);
  background: rgba(255, 255, 255, 0.05);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3rem;
}

.stat-item {
  background: rgba(26, 26, 26, 0.8);
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-titre);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--rouge);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gris-clair);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.3rem;
}

/* Hero Match Card */
.hero-card {
  background: var(--noir-soft);
  border: 1px solid rgba(215, 40, 40, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card-header {
  background: var(--rouge);
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-card-body {
  padding: 2rem 1.5rem;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.team {
  text-align: center;
  flex: 1;
}

.team-name {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--blanc-pur);
}

.team-score {
  font-family: var(--font-titre);
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--rouge);
}

.vs-divider {
  font-family: var(--font-titre);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--gris-moyen);
  text-transform: uppercase;
}

.match-info {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--gris-clair);
}

.match-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ========================================
   SECTIONS COMMUNES
======================================== */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--noir);
}
.section-darker {
  background: var(--noir-soft);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-titre);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  color: var(--blanc-pur);
  line-height: 1;
}

.section-title span {
  color: var(--rouge);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gris-clair);
  margin-top: 0.8rem;
  max-width: 600px;
}

/* ========================================
   GRILLE ACTUALITÉS
======================================== */
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
}

.news-card {
  background: var(--noir-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.news-card:hover {
  border-color: rgba(215, 40, 40, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-rouge);
}

.news-card.featured {
  grid-row: span 2;
}

.news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(
    135deg,
    var(--gris-fonce) 0%,
    var(--noir-soft) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.news-card.featured .news-img {
  height: 300px;
}

.news-body {
  padding: 1.2rem;
}

.news-cat {
  font-family: var(--font-titre);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 0.5rem;
}

.news-title {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--blanc-pur);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.news-card.featured .news-title {
  font-size: 1.5rem;
}

.news-date {
  font-size: 0.8rem;
  color: var(--gris-moyen);
}

/* ========================================
   RÉSULTATS / CALENDRIER CARDS
======================================== */
.match-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.match-card {
  background: var(--noir-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.match-card:hover {
  border-color: rgba(215, 40, 40, 0.3);
  background: rgba(215, 40, 40, 0.05);
}

.match-date-block {
  text-align: center;
  min-width: 60px;
}

.match-day {
  font-family: var(--font-titre);
  font-weight: 900;
  font-size: 2rem;
  color: var(--rouge);
  line-height: 1;
}

.match-month {
  font-size: 0.75rem;
  color: var(--gris-clair);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.match-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
}

.match-teams-inline {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.team-inline {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--blanc-pur);
}

.score-inline {
  font-family: var(--font-titre);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--rouge);
  background: rgba(215, 40, 40, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(215, 40, 40, 0.2);
}

.match-venue {
  font-size: 0.8rem;
  color: var(--gris-moyen);
  margin-top: 3px;
}

.match-badge {
  font-family: var(--font-titre);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.badge-victoire {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.badge-defaite {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.badge-nul {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.3);
}
.badge-prochain {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ========================================
   FORMULAIRES (CONNEXION / INSCRIPTION)
======================================== */
.auth-page {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      ellipse at 30% 50%,
      rgba(215, 40, 40, 0.1) 0%,
      transparent 50%
    ),
    var(--noir);
  padding: 3rem 1rem;
}

.auth-box {
  background: var(--noir-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 3rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow);
}

.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo .logo-icon {
  margin: 0 auto 0.8rem;
  width: 60px;
  height: 60px;
  font-size: 1.8rem;
}

.auth-title {
  font-family: var(--font-titre);
  font-weight: 900;
  font-size: 2rem;
  text-transform: uppercase;
  text-align: center;
  color: var(--blanc-pur);
  margin-bottom: 0.3rem;
}

.auth-subtitle {
  text-align: center;
  color: var(--gris-clair);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gris-clair);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  color: var(--blanc-pur);
  font-family: var(--font-corps);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--rouge);
  background: rgba(215, 40, 40, 0.05);
  box-shadow: 0 0 0 3px rgba(215, 40, 40, 0.1);
}

.form-input::placeholder {
  color: var(--gris-moyen);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  color: var(--blanc-pur);
  font-family: var(--font-corps);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  cursor: pointer;
}

.form-select option {
  background: var(--gris-fonce);
}
.form-select:focus {
  border-color: var(--rouge);
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--rouge);
  color: var(--blanc-pur);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--rouge-fonce);
  transform: translateY(-1px);
  box-shadow: var(--shadow-rouge);
}

.form-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--gris-clair);
}

.form-link a {
  color: var(--rouge);
  font-weight: 600;
}
.form-link a:hover {
  text-decoration: underline;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--gris-moyen);
  font-size: 0.85rem;
}

.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--rouge);
}
.form-checkbox span {
  font-size: 0.85rem;
  color: var(--gris-clair);
}
.form-checkbox a {
  color: var(--rouge);
}

/* ========================================
   PAGE MON COMPTE
======================================== */
.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.account-sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
}

.account-profile {
  background: var(--noir-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  background: var(--rouge);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titre);
  font-weight: 900;
  font-size: 2rem;
  color: var(--blanc-pur);
  margin: 0 auto 1rem;
}

.profile-name {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--blanc-pur);
  text-transform: uppercase;
}

.profile-role {
  font-size: 0.85rem;
  color: var(--rouge);
  font-weight: 600;
  margin-top: 3px;
}

.profile-number {
  display: inline-block;
  margin-top: 0.8rem;
  background: rgba(215, 40, 40, 0.1);
  border: 1px solid rgba(215, 40, 40, 0.3);
  border-radius: var(--radius);
  padding: 4px 12px;
  font-family: var(--font-titre);
  font-weight: 700;
  color: var(--rouge);
  font-size: 1.1rem;
}

.sidebar-menu {
  background: var(--noir-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gris-clair);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.sidebar-menu a:hover {
  background: rgba(215, 40, 40, 0.08);
  color: var(--blanc-pur);
}

.sidebar-menu a.active {
  background: rgba(215, 40, 40, 0.12);
  color: var(--blanc-pur);
  border-left-color: var(--rouge);
}

.sidebar-menu a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.account-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.account-card {
  background: var(--noir-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.account-card-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-card-title {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--blanc-pur);
}

.account-card-body {
  padding: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.stat-cell {
  background: var(--noir-soft);
  padding: 1.5rem;
  text-align: center;
}

.stat-cell .num {
  font-family: var(--font-titre);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--rouge);
  line-height: 1;
}

.stat-cell .lbl {
  font-size: 0.8rem;
  color: var(--gris-clair);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   MÉDIAS
======================================== */
.media-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0;
}

.media-tab {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  background: none;
  border: none;
  color: var(--gris-clair);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  position: relative;
  bottom: -1px;
}

.media-tab.active {
  color: var(--blanc-pur);
  border-bottom-color: var(--rouge);
}

.media-tab:hover {
  color: var(--blanc);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.media-item {
  background: var(--noir-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.media-item:hover {
  border-color: rgba(215, 40, 40, 0.4);
  transform: scale(1.02);
}

.media-thumb {
  width: 100%;
  height: 180px;
  background: linear-gradient(
    135deg,
    var(--gris-fonce) 0%,
    var(--noir-soft) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.media-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
}

.play-btn {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--rouge);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.media-item:hover .play-btn {
  transform: scale(1.1);
}

.media-info {
  padding: 1rem;
}

.media-title {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blanc-pur);
  margin-bottom: 0.3rem;
}

.media-meta {
  font-size: 0.8rem;
  color: var(--gris-moyen);
}

/* ========================================
   CALENDRIER
======================================== */
.calendar-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
}

.cal {
  background: var(--noir-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.cal-header {
  background: var(--rouge);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cal-title {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--blanc-pur);
}

.cal-nav {
  display: flex;
  gap: 0.5rem;
}

.cal-nav button {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: var(--radius);
  color: var(--blanc-pur);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.cal-nav button:hover {
  background: rgba(255, 255, 255, 0.35);
}

.cal-grid {
  padding: 1.5rem;
}

.cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--gris-moyen);
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-corps);
  font-size: 0.9rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.cal-day:hover {
  background: rgba(215, 40, 40, 0.15);
  color: var(--blanc-pur);
}

.cal-day.other-month {
  color: var(--gris-fonce);
}

.cal-day.today {
  background: var(--rouge);
  color: var(--blanc-pur);
  font-weight: 700;
}

.cal-day.has-match::after {
  content: "";
  position: absolute;
  bottom: 3px;
  width: 4px;
  height: 4px;
  background: var(--or);
  border-radius: 50%;
}

.cal-day.today.has-match::after {
  background: var(--blanc-pur);
}

/* ========================================
   ÉVÉNEMENTS
======================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background: var(--noir-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.event-card:hover {
  border-color: rgba(215, 40, 40, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-rouge);
}

.event-banner {
  height: 160px;
  background: linear-gradient(135deg, var(--rouge-fonce), var(--gris-fonce));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.event-date-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--rouge);
  border-radius: var(--radius);
  padding: 0.5rem 0.8rem;
  text-align: center;
  font-family: var(--font-titre);
  font-weight: 900;
  line-height: 1.1;
}

.event-date-badge .day {
  font-size: 1.8rem;
  color: var(--blanc-pur);
  display: block;
}
.event-date-badge .mo {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.event-body {
  padding: 1.5rem;
}

.event-type {
  font-family: var(--font-titre);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 0.5rem;
}

.event-title {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--blanc-pur);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gris-clair);
}

.event-detail span:first-child {
  color: var(--rouge);
  font-size: 0.9rem;
}

.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-spots {
  font-size: 0.85rem;
  color: var(--gris-clair);
}

.event-spots strong {
  color: var(--or);
}

.btn-event {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  background: var(--rouge);
  color: var(--blanc-pur);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-event:hover {
  background: var(--rouge-fonce);
}

/* ========================================
   TABLEAU RÉSULTATS
======================================== */
.results-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.result-tab {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  background: var(--noir-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--gris-clair);
  cursor: pointer;
  transition: var(--transition);
}

.result-tab.active {
  background: var(--rouge);
  border-color: var(--rouge);
  color: var(--blanc-pur);
}

.classement-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--noir-soft);
  border-radius: 12px;
  overflow: hidden;
}

.classement-table thead tr {
  background: var(--gris-fonce);
}

.classement-table th {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gris-clair);
  padding: 1rem;
  text-align: center;
}

.classement-table th:first-child {
  text-align: left;
}

.classement-table td {
  padding: 0.9rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  color: var(--blanc);
}

.classement-table td:first-child {
  text-align: left;
}

.classement-table tr:hover td {
  background: rgba(215, 40, 40, 0.05);
}

.classement-table tr.notre-equipe td {
  background: rgba(215, 40, 40, 0.1);
  color: var(--blanc-pur);
  font-weight: 600;
}

.rank-num {
  font-family: var(--font-titre);
  font-weight: 900;
  color: var(--rouge);
  font-size: 1.1rem;
}

.team-col {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-dot {
  width: 10px;
  height: 10px;
  background: var(--gris-fonce);
  border-radius: 50%;
  border: 2px solid var(--gris-moyen);
}

.notre-equipe .team-dot {
  background: var(--rouge);
  border-color: var(--rouge);
}

/* ========================================
   FOOTER
======================================== */
footer {
  background: var(--noir-soft);
  border-top: 2px solid rgba(215, 40, 40, 0.3);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--gris-clair);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--rouge);
  border-color: var(--rouge);
}

.footer-col-title {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blanc-pur);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(215, 40, 40, 0.3);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gris-clair);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--rouge);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: var(--gris-clair);
  align-items: flex-start;
}

.footer-contact-item span:first-child {
  color: var(--rouge);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--gris-moyen);
}

/* ========================================
   PAGE HEADER (sous-pages)
======================================== */
.page-hero {
  background:
    linear-gradient(
      to right,
      rgba(13, 13, 13, 0.95) 40%,
      rgba(215, 40, 40, 0.1)
    ),
    var(--noir);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(215, 40, 40, 0.2);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: attr(data-title);
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-titre);
  font-weight: 900;
  font-size: 10rem;
  color: rgba(215, 40, 40, 0.04);
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gris-moyen);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--rouge);
}
.breadcrumb span {
  color: var(--gris-fonce);
}

.page-title {
  font-family: var(--font-titre);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  text-transform: uppercase;
  color: var(--blanc-pur);
  line-height: 1;
}

/* ========================================
   TOAST / ALERTES
======================================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: var(--noir-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--rouge);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  animation: slideIn 0.3s ease;
  font-size: 0.9rem;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.success {
  border-left-color: #22c55e;
}

/* ========================================
   CAROUSEL PARTENAIRES
======================================== */
.partners-carousel {
  background: var(--noir-soft);
  padding: 1rem 0;
  padding-top: 80px;
  overflow: hidden;
  position: relative;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  background-color: black;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: calc(20px * 12);
  animation: scroll 10s linear infinite ;
}

.carousel-track img {
  width: 200px;
  height: 100px;
  object-fit: contain;
  margin: 0 1rem;
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 0.5rem;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-card.featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .calendar-container {
    grid-template-columns: 1fr;
  }
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--noir-soft);
    border-bottom: 2px solid var(--rouge);
    padding: 1rem;
  }
  nav.open {
    display: block;
  }
  nav ul {
    flex-direction: column;
  }
  .hamburger {
    display: flex;
  }
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-card {
    display: none;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card.featured {
    grid-column: auto;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .events-grid {
    grid-template-columns: 1fr;
  }
  .page-hero::after {
    display: none;
  }
}

/* Grille albums */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* Carte album */
.team-card-new {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.team-card-new:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.3);
}

/* Miniature */
.team-thumb-new {
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-initiales {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.3);
}
.team-thumb-new img { z-index: 2; }
.album-badge {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 3;
  background: var(--rouge);
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}
.play-overlay {
  position: absolute;
  z-index: 3;
  bottom: 8px; left: 8px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
}

/* Infos carte */
.team-info-new { padding: 12px; }
.team-name-new { color: var(--blanc); font-weight: 600; font-size: 0.95rem; }
.team-meta-new { color: var(--gris-moyen); font-size: 0.8rem; margin-top: 4px; }

/* Grille photos */
.photos-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.photo-cell {
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.15s;
}
.photo-cell:hover { transform: scale(1.03); }
.photo-cell img { width:100%;height:100%;object-fit:cover; }
.photo-cell .photo-legende {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 6px 8px;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.2s;
}
.photo-cell:hover .photo-legende { opacity: 1; }
.video-cell-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: rgba(255,255,255,0.8);
}
*