/* ============================================================
   RUSG SINSIN - Stylesheet Principal
   Design ultra-moderne | Rouge #CC1E1E | Vert #1A6B3A
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Oswald:wght@400;500;600;700&display=swap');

/* ================================================================
   VARIABLES CSS
   ================================================================ */
:root {
  --red:          #CC1E1E;
  --red-dark:     #8B0000;
  --red-light:    #FF4D4D;
  --green:        #1A6B3A;
  --green-dark:   #0D3D21;
  --green-light:  #2ECC71;
  --gold:         #F5A623;
  --gold-light:   #FFD166;

  --bg:           #07070E;
  --bg-2:         #0D0D18;
  --bg-card:      rgba(255,255,255,0.04);
  --bg-card-h:    rgba(255,255,255,0.08);
  --border:       rgba(255,255,255,0.08);
  --border-red:   rgba(204,30,30,0.5);
  --border-green: rgba(26,107,58,0.5);

  --text:         #F0F0F5;
  --text-muted:   #9090A0;
  --text-dim:     #555568;

  --nav-h:        76px;
  --radius:       16px;
  --radius-sm:    8px;
  --radius-xl:    28px;

  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --t:            0.3s;

  --shadow-red:   0 8px 40px rgba(204,30,30,0.35);
  --shadow-green: 0 8px 40px rgba(26,107,58,0.35);
  --shadow-card:  0 4px 30px rgba(0,0,0,0.5);

  --gradient-hero:   linear-gradient(135deg, #07070E 0%, #1a0505 50%, #07070E 100%);
  --gradient-red:    linear-gradient(135deg, var(--red-dark), var(--red));
  --gradient-green:  linear-gradient(135deg, var(--green-dark), var(--green));
  --gradient-both:   linear-gradient(135deg, var(--red-dark) 0%, #1a0a0a 50%, var(--green-dark) 100%);
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--red) var(--bg-2);
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(90deg, var(--red-light), var(--gold), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-rg {
  background: linear-gradient(90deg, var(--red-light) 0%, #ff8800 50%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  transition: background var(--t) var(--ease), backdrop-filter var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.navbar.scrolled {
  background: rgba(7,7,14,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.6);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: visible;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.navbar-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(204,30,30,0.5));
  transition: transform var(--t) var(--ease), filter var(--t) var(--ease);
}

.navbar-brand:hover img {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 0 18px rgba(204,30,30,0.8));
}

.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.brand-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.d-none-mobile { display: inline; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: flex-start;
  min-width: 0;
  white-space: nowrap;
  overflow: visible;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  flex: 0 0 auto;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}

.nav-link i { font-size: 0.8rem; }

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--bg-card);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* Bouton Plus */
.nav-more {
  position: relative;
  flex: 0 0 auto;
}

.nav-more-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.more-menu {
  display: none;
  position: absolute;
  top: calc(100% + .6rem);
  right: 0;
  min-width: 220px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: .5rem;
  z-index: 9999;
}

.more-menu.open {
  display: block;
}

.more-menu .nav-item {
  width: 100%;
}

.more-menu .nav-link {
  width: 100%;
  justify-content: flex-start;
  padding: .7rem .9rem;
  font-size: .82rem;
}

.more-menu .nav-link.active::after {
  display: none;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--t);
}
.cart-btn:hover { color: var(--text); border-color: var(--red); }
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px;
  cursor: pointer;
  transition: var(--t);
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--t) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--t) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--t);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gradient-red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 50px rgba(204,30,30,0.5);
}

.btn-green {
  background: var(--gradient-green);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 50px rgba(26,107,58,0.5);
}

.btn-gold {
  background: linear-gradient(135deg, #c47d0e, var(--gold));
  color: #000;
  box-shadow: 0 8px 30px rgba(245,166,35,0.3);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--text);
}

.btn-outline-red {
  background: transparent;
  border: 1.5px solid var(--red);
  color: var(--red);
}
.btn-outline-red:hover {
  background: var(--red);
  color: #fff;
}

.btn-ghost {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-xl { padding: 1.1rem 2.5rem; font-size: 1.1rem; border-radius: var(--radius); }

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-h) 2rem 4rem;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: orbFloat 8s ease-in-out infinite;
  z-index: 0;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: var(--red);
  top: -200px; left: -200px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: var(--green);
  bottom: -150px; right: -100px;
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: var(--gold);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation-delay: -2s;
  opacity: 0.1;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-40px) scale(1.05); }
  66% { transform: translate(-20px,20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(204,30,30,0.15);
  border: 1px solid rgba(204,30,30,0.3);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s var(--ease) both;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s var(--ease) 0.2s both;
}

.hero-title.hero-title-compact {
  font-size: clamp(2.35rem, 6.1vw, 4.6rem);
}

.hero-title.hero-title-compact .club-name {
  font-size: clamp(.9rem, 2.2vw, 1.35rem);
  letter-spacing: .22em;
}

.hero-title .club-name {
  display: block;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s var(--ease) 0.4s both;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease) 0.6s both;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounceY 2s ease-in-out infinite;
}
.hero-scroll i { font-size: 1.2rem; }

@keyframes bounceY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Stats in hero */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.8s var(--ease) 0.8s both;
}

.stat-item { text-align: center; }
.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--red-light);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ================================================================
   NEXT MATCH BANNER
   ================================================================ */
.next-match-bar {
  background: linear-gradient(90deg, rgba(204,30,30,0.1), rgba(26,107,58,0.1));
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
}

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

.match-team {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.match-vs {
  padding: 0.2rem 0.6rem;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
}

.match-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.countdown {
  display: flex;
  gap: 0.75rem;
  margin-left: auto;
}

.countdown-unit {
  text-align: center;
  min-width: 50px;
}

.countdown-num {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red-light);
  line-height: 1;
}

.countdown-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ================================================================
   SECTIONS GÉNÉRALES
   ================================================================ */
section { padding: 5rem 2rem; }

.section-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  background: rgba(204,30,30,0.1);
  border: 1px solid rgba(204,30,30,0.25);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-badge.green {
  background: rgba(26,107,58,0.1);
  border-color: rgba(26,107,58,0.25);
  color: var(--green-light);
}

.section-badge.gold {
  background: rgba(245,166,35,0.1);
  border-color: rgba(245,166,35,0.25);
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ================================================================
   GLASS CARDS
   ================================================================ */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--t) var(--ease), background var(--t), border-color var(--t), box-shadow var(--t);
}

.glass-card:hover {
  background: var(--bg-card-h);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.glass-card.red-glow:hover { border-color: var(--border-red); box-shadow: var(--shadow-red); }
.glass-card.green-glow:hover { border-color: var(--border-green); box-shadow: var(--shadow-green); }

/* ================================================================
   GRILLES
   ================================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

/* ================================================================
   MATCH RESULT CARD
   ================================================================ */
.match-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.match-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.match-card-competition {
  padding: 0.2rem 0.6rem;
  background: rgba(204,30,30,0.15);
  border-radius: 4px;
  color: var(--red-light);
  font-weight: 600;
}

.match-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.match-card-team-logo {
  width: 50px; height: 50px;
  object-fit: contain;
  margin: 0 auto 0.5rem;
}

.match-card-team-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.match-card-score {
  text-align: center;
  padding: 0.5rem 1.2rem;
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.score-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.score-sep { color: var(--text-dim); margin: 0 0.2rem; }

/* ================================================================
   TEAM CARD
   ================================================================ */
.team-card {
  overflow: hidden;
}

.team-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.team-card:hover .team-card-img { transform: scale(1.05); }

.team-card-body { padding: 1.25rem; }
.team-card-category {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}
.team-card-name { font-size: 1.2rem; margin-bottom: 0.5rem; }
.team-card-coach { font-size: 0.82rem; color: var(--text-muted); }

/* ================================================================
   EVENT CARD
   ================================================================ */
.event-card { overflow: hidden; }

.event-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}
.event-card:hover .event-card-img { transform: scale(1.06); }

.event-card-body { padding: 1.25rem; }

.event-card-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.event-card-title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.event-card-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }

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

.event-price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-light);
}

/* ================================================================
   PHOTO GALLERY
   ================================================================ */
.photo-grid {
  columns: 4;
  column-gap: 1rem;
}

.photo-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s var(--ease);
}

.photo-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t);
}

.photo-item:hover img { transform: scale(1.05); }
.photo-item:hover .photo-item-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 2rem;
  color: var(--text);
  cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: var(--t);
}
.lightbox-close:hover { background: var(--red); }

/* ================================================================
   BOUTIQUE / PRODUCT CARD
   ================================================================ */
.product-card { overflow: hidden; }

.product-card-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-card-img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  padding: 0.25rem 0.65rem;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-card-body { padding: 1.25rem; }
.product-category { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.product-name { font-size: 1rem; margin-bottom: 0.5rem; font-family: 'Poppins', sans-serif; font-weight: 600; }
.product-price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red-light);
  margin-bottom: 0.75rem;
}

.size-selector {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.size-btn {
  width: 34px; height: 34px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
}
.size-btn:hover, .size-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ================================================================
   PARTNER CARD
   ================================================================ */
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  min-height: 160px;
}

.partner-tier-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.tier-gold { background: rgba(245,166,35,0.2); color: var(--gold); }
.tier-silver { background: rgba(192,192,192,0.2); color: #C0C0C0; }
.tier-bronze { background: rgba(205,127,50,0.2); color: #CD7F32; }
.tier-supporter { background: rgba(26,107,58,0.2); color: var(--green-light); }

.partner-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  text-align: center;
}

/* ================================================================
   FORMS
   ================================================================ */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  outline: none;
}

.form-control::placeholder { color: var(--text-dim); }

.form-control:focus {
  border-color: var(--red);
  background: rgba(204,30,30,0.05);
  box-shadow: 0 0 0 3px rgba(204,30,30,0.1);
}

textarea.form-control { resize: vertical; min-height: 120px; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 1rem) center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

@media (max-width: 640px) {
  .form-group { margin-bottom: 1rem; }
  .form-label {
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
  }
  .form-control {
    font-size: 0.88rem;
    padding: 0.68rem 0.9rem;
  }
  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
}

.form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.35rem; }
.form-error { font-size: 0.78rem; color: var(--red-light); margin-top: 0.35rem; }

/* Radio / Checkbox custom */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================================================================
   CALENDAR
   ================================================================ */
.calendar-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.calendar-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.calendar-nav { display: flex; gap: 0.5rem; }
.calendar-nav-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--t);
}
.calendar-nav-btn:hover { color: var(--text); border-color: var(--red); }

.calendar-grid { padding: 1rem; }

.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.calendar-day-name {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 0.4rem;
}

.calendar-cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.calendar-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.3rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--t);
  min-height: 60px;
  font-size: 0.82rem;
}

.calendar-cell:hover { background: var(--bg-card-h); }
.calendar-cell.other-month { opacity: 0.3; }
.calendar-cell.today { background: rgba(204,30,30,0.15); border: 1px solid var(--border-red); }
.calendar-cell.has-event::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 2px;
}

/* ================================================================
   LEADER CARD
   ================================================================ */
.leader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  gap: 1rem;
}

.leader-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  transition: var(--t);
}
.leader-card:hover .leader-avatar { border-color: var(--red); box-shadow: 0 0 20px rgba(204,30,30,0.3); }

.leader-avatar-placeholder {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--gradient-red);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  border: 3px solid var(--border);
}

.leader-name { font-size: 1.1rem; margin-bottom: 0.25rem; }
.leader-role { font-size: 0.8rem; color: var(--red-light); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.leader-contact { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
.leader-contact a { font-size: 0.78rem; color: var(--text-muted); transition: color var(--t); }
.leader-contact a:hover { color: var(--text); }

/* ================================================================
   BUVETTE RESERVATION
   ================================================================ */
.availability-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.avail-slot {
  padding: 0.5rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.72rem;
  border: 1px solid var(--border);
}
.avail-slot.free { border-color: var(--green); color: var(--green-light); background: rgba(26,107,58,0.1); }
.avail-slot.taken { border-color: var(--red); color: var(--red-light); background: rgba(204,30,30,0.1); }

/* ================================================================
   ALERT / FLASH MESSAGES
   ================================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  border: 1px solid;
}

.alert-success {
  background: rgba(46,204,113,0.1);
  border-color: rgba(46,204,113,0.3);
  color: var(--green-light);
}
.alert-error {
  background: rgba(204,30,30,0.1);
  border-color: rgba(204,30,30,0.3);
  color: var(--red-light);
}
.alert-info {
  background: rgba(52,152,219,0.1);
  border-color: rgba(52,152,219,0.3);
  color: #74b9ff;
}
.alert-warning {
  background: rgba(245,166,35,0.1);
  border-color: rgba(245,166,35,0.3);
  color: var(--gold-light);
}

/* ================================================================
   BADGE
   ================================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-red { background: rgba(204,30,30,0.2); color: var(--red-light); }
.badge-green { background: rgba(26,107,58,0.2); color: var(--green-light); }
.badge-gold { background: rgba(245,166,35,0.2); color: var(--gold); }
.badge-gray { background: rgba(255,255,255,0.1); color: var(--text-muted); }

/* ================================================================
   MAP EMBED
   ================================================================ */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-container iframe { display: block; width: 100%; border: none; }

/* ================================================================
   MODAL
   ================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s var(--ease);
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-2);
  z-index: 1;
}
.modal-title { font-size: 1.3rem; }
.modal-close { width: 32px; height: 32px; border-radius: 8px; background: var(--bg-card); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; color: var(--text-muted); transition: var(--t); }
.modal-close:hover { background: var(--red); color: #fff; }
.modal-body { padding: 2rem; }
.modal-footer { padding: 1.25rem 2rem; border-top: 1px solid var(--border); display: flex; gap: 0.75rem; justify-content: flex-end; }

/* ================================================================
   PAYMENT FORM (Stripe)
   ================================================================ */
.payment-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.payment-box-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  color: var(--green-light);
  font-weight: 600;
  font-size: 0.9rem;
}

#stripe-element-card {
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--t);
}
#stripe-element-card.StripeElement--focus { border-color: var(--red); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
}

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

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(204,30,30,0.4)); }
.footer-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; max-width: 280px; }

.footer-col-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--t), padding-left var(--t); }
.footer-links a:hover { color: var(--red-light); padding-left: 4px; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--t);
}
.social-btn:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-copy span { color: var(--red-light); }

/* ================================================================
   AUTH PAGES
   ================================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.auth-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(204,30,30,0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(26,107,58,0.1) 0%, transparent 60%);
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

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

.auth-logo img { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 0.75rem; filter: drop-shadow(0 0 15px rgba(204,30,30,0.4)); }
.auth-logo h2 { font-size: 1.4rem; }
.auth-logo p { font-size: 0.85rem; color: var(--text-muted); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-dim);
  font-size: 0.78rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-muted); }
.auth-footer a { color: var(--red-light); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* ================================================================
   ADMIN PANEL
   ================================================================ */
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-sidebar-header img { width: 42px; height: 42px; object-fit: contain; }
.admin-sidebar-header span { font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 600; }

.admin-nav { padding: 1rem 0; flex: 1; }

.admin-nav-section {
  padding: 0.5rem 1rem 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--t);
  border-left: 2px solid transparent;
  position: relative;
}
.admin-nav-link i { width: 18px; text-align: center; }
.admin-nav-link:hover { color: var(--text); background: var(--bg-card); }
.admin-nav-link.active { color: var(--red-light); border-left-color: var(--red); background: rgba(204,30,30,0.08); }

.admin-main { flex: 1; padding: 2rem; background: var(--bg); overflow: auto; }

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.admin-page-title { font-size: 1.6rem; }
.admin-page-subtitle { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.2rem; }

.stat-widget {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-widget-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-widget-icon.red { background: rgba(204,30,30,0.2); color: var(--red-light); }
.stat-widget-icon.green { background: rgba(26,107,58,0.2); color: var(--green-light); }
.stat-widget-icon.gold { background: rgba(245,166,35,0.2); color: var(--gold); }
.stat-widget-icon.blue { background: rgba(52,152,219,0.2); color: #74b9ff; }

.stat-widget-val { font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 700; line-height: 1; }
.stat-widget-label { font-size: 0.78rem; color: var(--text-muted); }

/* Table admin */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.admin-table th {
  text-align: left;
  padding: 0.875rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}
.admin-table tr:hover td { background: var(--bg-card); }
.admin-table tr:last-child td { border-bottom: none; }

@media (max-width: 780px) {
  .admin-table {
    font-size: 0.83rem;
  }
  .admin-table th {
    padding: 0.68rem 0.78rem;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }
  .admin-table td {
    padding: 0.72rem 0.78rem;
  }
  .admin-table .badge {
    font-size: 0.64rem;
    padding: 0.18rem 0.46rem;
    letter-spacing: 0.04em;
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1.15;
  }
}

@media (max-width: 560px) {
  .admin-table {
    font-size: 0.8rem;
  }
  .admin-table th {
    padding: 0.6rem 0.68rem;
    font-size: 0.64rem;
  }
  .admin-table td {
    padding: 0.64rem 0.68rem;
  }
  .admin-table .badge {
    font-size: 0.6rem;
    padding: 0.16rem 0.4rem;
    letter-spacing: 0.03em;
  }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204,30,30,0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(204,30,30,0); }
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-red 1.5s infinite;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Glowing border animation */
@keyframes glow-border {
  0%, 100% { border-color: var(--border-red); }
  50% { border-color: rgba(204,30,30,0.8); }
}

/* ================================================================
   STRIPE PAYMENT
   ================================================================ */
.stripe-secure {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.stripe-secure i { color: var(--green-light); }

/* ================================================================
   PAGE HERO (petite version pour sous-pages)
   ================================================================ */
.page-hero {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

.page-hero-title { font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 0.35rem; }
.page-hero-desc { color: var(--text-muted); max-width: 500px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  justify-content: center;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--t); }
.breadcrumb a:hover { color: var(--red-light); }
.breadcrumb i { font-size: 0.6rem; color: var(--text-dim); }

/* ================================================================
   TABS
   ================================================================ */
.tabs-wrap { display: flex; gap: 0.5rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; overflow-x: auto; }
.tab-btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: var(--t);
  cursor: pointer;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--red-light); border-bottom-color: var(--red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ================================================================
   LOADING SPINNER
   ================================================================ */
.spinner {
  width: 24px; height: 24px;
  border: 2.5px solid rgba(255,255,255,0.1);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================
   PAGINATION
   ================================================================ */
.pagination { display: flex; gap: 0.4rem; align-items: center; justify-content: center; margin-top: 2.5rem; }
.page-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--t);
}
.page-btn:hover { color: var(--text); border-color: var(--red); }
.page-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .photo-grid { columns: 3; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }

  .navbar {
    padding: 0 1rem;
  }

  .brand-text {
    display: none;
  }

  .navbar-actions {
    gap: 0.45rem;
  }

  .navbar-actions .btn {
    padding: 0.52rem 0.62rem;
  }

  .d-none-mobile {
    display: none !important;
  }

  .navbar-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-shrink: 0;
  }

  .navbar-nav.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(7,7,14,0.97);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 0.5rem;
    overflow-y: auto;
    z-index: 999;
    animation: fadeIn 0.2s var(--ease);
  }

  .navbar-nav.mobile-open .nav-item {
    width: 100%;
  }

  .navbar-nav.mobile-open .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }

  .navbar-nav.mobile-open .nav-more {
    display: none !important;
  }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; }
}

@media (max-width: 600px) {
  section { padding: 3rem 1rem; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .photo-grid { columns: 2; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .auth-card { padding: 1.75rem; }
}

/* ============================================================
   AUTH — Additional
   ============================================================ */
.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  font-size: .85rem;
  pointer-events: none;
}
.input-icon-right {
  position: absolute;
  right: .875rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  font-size: .85rem;
}
.form-control-icon { padding-left: 2.75rem; }
.auth-submit { width: 100%; margin-top: .5rem; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: .8rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-switch {
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
}
.auth-switch a { color: var(--gold); font-weight: 600; }
.auth-logo {
  display: flex;
  align-items: center;
  gap: .875rem;
  text-decoration: none;
  color: var(--text);
  justify-content: center;
  margin-bottom: 1.75rem;
}
.auth-logo-text {
  display: flex;
  flex-direction: column;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}
.auth-title { font-family: 'Oswald', sans-serif; font-size: 1.6rem; text-align: center; margin-bottom: .25rem; }
.auth-subtitle { text-align: center; color: var(--text-muted); font-size: .88rem; margin-bottom: 1.5rem; }

/* ============================================================
   ADMIN — Additional
   ============================================================ */
.admin-logo {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.admin-stat-card { padding: 1.25rem; }
.admin-badge {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 7px;
  min-width: 20px;
  text-align: center;
}

/* ============================================================
   BOUTIQUE — filter active state
   ============================================================ */
[data-filter].btn-primary { pointer-events: auto; }

/* ============================================================
   PARTENAIRES
   ============================================================ */
.partner-tier-badge {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.tier-gold    { background: rgba(245,166,35,.15); color: var(--gold); }
.tier-silver  { background: rgba(200,200,200,.1);  color: #ccc; }
.tier-bronze  { background: rgba(180,100,30,.15);  color: #d4884e; }
.tier-supporter { background: rgba(26,107,58,.15); color: var(--green-light); }
.partner-name { font-family: 'Oswald', sans-serif; font-size: 1rem; text-align: center; margin: .5rem 0; }

/* ============================================================
   FORM helpers
   ============================================================ */
.form-control-sm { padding: .4rem .75rem; font-size: .8rem; }
.form-check { display: flex; align-items: flex-start; gap: .625rem; }
.form-check input[type=checkbox] { margin-top: 3px; accent-color: var(--red); }
.form-hint { font-size: .75rem; color: var(--text-muted); margin-top: .3rem; }

/* ============================================================
   QUICK ADMIN blocks (public pages)
   ============================================================ */
.admin-quick-panel {
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-color: rgba(245,166,35,.35);
}
.admin-quick-panel > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.admin-quick-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.admin-quick-title i { color: var(--gold); }
.admin-quick-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}
.admin-quick-form-grid .form-group {
  margin: 0;
}
.admin-quick-bar {
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-color: rgba(245,166,35,.35);
}
.admin-quick-meta {
  font-size: .88rem;
  color: var(--text-muted);
}
.admin-quick-meta i {
  color: var(--gold);
  margin-right: .4rem;
}
@media (max-width: 820px) {
  .admin-quick-panel {
    padding: .9rem .95rem;
    margin-bottom: 1rem;
  }
  .admin-quick-panel > summary {
    align-items: flex-start;
    gap: .65rem;
  }
  .admin-quick-title {
    font-size: .96rem;
    line-height: 1.3;
  }
  .admin-quick-form-grid {
    grid-template-columns: 1fr;
    gap: .6rem;
    margin-top: .8rem;
  }
  .admin-quick-bar {
    flex-direction: column;
    align-items: stretch;
    padding: .9rem .95rem;
    margin-bottom: 1rem;
    gap: .75rem;
  }
  .admin-quick-bar .btn {
    width: 100%;
    justify-content: center;
  }
  .admin-quick-meta {
    font-size: .82rem;
  }
}


/* ===== HERO SLIDESHOW (background images) ===== */
.hero-with-slideshow { position: relative; overflow: hidden; }
.hero-slideshow { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease-in-out;
  transform: scale(1.05);
}
.hero-slide.active {
  opacity: 1; transform: scale(1);
  transition: opacity 1.5s ease-in-out, transform 6s ease-out;
}
.hero-slideshow-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(7,7,14,.88) 0%, rgba(204,30,30,.45) 50%, rgba(26,107,58,.55) 100%);
}
.hero-with-slideshow .hero-content,
.hero-with-slideshow .hero-stats { position: relative; z-index: 3; }

/* Décorations chevalier */
.gold { color: var(--gold) !important; }
.section-badge.gold {
  background: linear-gradient(135deg, rgba(245,166,35,.15), rgba(204,30,30,.1));
  border-color: rgba(245,166,35,.35);
  color: var(--gold);
}
  
/* Masque les autres bg du hero quand slideshow actif */  
.hero-with-slideshow #hero-canvas,  
.hero-with-slideshow .hero-bg-gradient,  
.hero-with-slideshow .hero-orb { display: none !important; } 


/* ===== HERO SLIDESHOW : photo FIXÉE pendant scroll ===== */
.hero-with-slideshow .hero-slideshow {
  position: fixed !important;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -2;
}
.hero-with-slideshow .hero-slideshow-overlay {
  position: fixed !important;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
}
.hero-with-slideshow {
  background: transparent !important;
}

/* ===== Boîtes vert foncé translucides pour lire le texte ===== */
.hero-with-slideshow .section-badge,
.hero-with-slideshow .hero-title,
.hero-with-slideshow .hero-subtitle,
.hero-with-slideshow .hero-stats {
  background: rgba(13, 58, 32, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 18px;
}
.hero-with-slideshow .section-badge {
  padding: .6rem 1.25rem;
}
.hero-with-slideshow .hero-title {
  padding: 1.25rem 2rem;
  margin-bottom: 1rem !important;
  display: inline-block;
}
.hero-with-slideshow .hero-subtitle {
  padding: 1rem 1.75rem;
  margin-bottom: 1.5rem !important;
  max-width: 760px;
  display: inline-block;
}
.hero-with-slideshow .hero-stats {
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  /* on garde l'affichage flex/grid horizontal d'origine */
}
