/* === Variables === */
:root {
  --blue:       #1B4FBF;
  --blue-dark:  #0d2d7a;
  --blue-light: #e8eefa;
  --red:        #D42B2B;
  --red-dark:   #a81f1f;
  --white:      #ffffff;
  --gray-light: #f5f6fa;
  --gray:       #e2e4ec;
  --gray-mid:   #9099b0;
  --text:       #1a1d2e;
  --radius:     10px;
  --shadow:     0 4px 20px rgba(27,79,191,.12);
  --transition: .25s ease;
  --font-head:  'Oswald', sans-serif;
  --font-body:  'Open Sans', system-ui, sans-serif;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.section-sub { color: var(--gray-mid); margin-bottom: 36px; font-size: .95rem; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 36px; flex-wrap: wrap; gap: 12px; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--blue-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.header-logo {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: white;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.header-logo img { height: 54px; width: 54px; object-fit: cover; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: rgba(255,255,255,.85);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  padding: 8px 14px;
  border-radius: 6px;
  text-transform: uppercase;
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--white); background: rgba(255,255,255,.12); }
.main-nav .nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 6px;
}
.main-nav .nav-cta:hover { background: var(--red-dark) !important; }
.main-nav .nav-logout { color: rgba(255,255,255,.55) !important; font-size: .85rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; justify-content: center; align-items: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }

/* === Hero === */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(56,139,255,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 85% 20%, rgba(16,60,160,.25) 0%, transparent 60%),
    linear-gradient(155deg, #040e26 0%, #091d5a 22%, #0f2d8a 45%, #1642b8 65%, #1c52d4 82%, #2060e8 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(13,45,122,.72) 0%, rgba(27,79,191,.52) 100%);
}
/* Vidéo YouTube en fond */
.hero-video-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.hero-video-bg iframe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  /* Couvre tout le hero en 16:9 */
  width: max(100%, 177.78vh);
  height: max(56.25vw, 100%);
  border: none;
  pointer-events: none;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.hero-title span { color: var(--red); }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  opacity: .88;
  margin-bottom: 36px;
  font-style: italic;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition);
}
.btn-hero-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-hero-secondary {
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.4);
  transition: background var(--transition);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.25); }

/* === Gallery Strip === */
.gallery-strip-section {
  background: var(--blue-dark);
  padding: 0;
  overflow: hidden;
}
.gallery-strip-wrap {
  overflow: hidden;
  position: relative;
  cursor: grab;
}
.gallery-strip-wrap.paused .gallery-strip { animation-play-state: paused; }
.gallery-strip {
  display: flex;
  animation: stripScroll 40s linear infinite;
  will-change: transform;
  width: max-content;
}
.gallery-strip-item {
  flex: none;
  width: 200px;
  height: 140px;
  margin: 0 6px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-strip-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-strip-item:hover img { transform: scale(1.08); }
.gallery-strip-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-strip-item:hover::after { opacity: 1; }

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

/* === Lightbox === */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-content { text-align: center; max-width: 90vw; max-height: 90vh; position: relative; }
.lightbox-content img {
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.lightbox-caption { color: rgba(255,255,255,.9); margin-top: 14px; font-size: 1rem; }
.lightbox-club { color: rgba(255,255,255,.5); font-size: .85rem; margin-top: 4px; }
.lightbox-close {
  position: fixed; top: 20px; right: 24px;
  color: white; font-size: 2.5rem; line-height: 1;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  color: white; font-size: 3rem; line-height: 1;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  transition: background var(--transition), transform var(--transition);
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); transform: translateY(-50%) scale(1.1); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: white; }
.btn-sm { padding: 6px 14px; font-size: .8rem; }

/* === Badges === */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .75rem;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 20px;
}
.badge-blue   { background: var(--blue-light); color: var(--blue); }
.badge-red    { background: #fde8e8; color: var(--red); }
.badge-gray   { background: var(--gray); color: #555; }
.badge-green  { background: #e6f7ee; color: #1a7a45; }

/* === Cards === */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(27,79,191,.18); }

.card-img { width: 100%; height: 180px; object-fit: cover; }
.card-img-placeholder {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  display: flex; align-items: center; justify-content: center;
}
.card-img-placeholder img { width: 70px; opacity: .4; }

.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-dark);
  text-transform: uppercase;
}
.card-sub { font-size: .88rem; color: var(--gray-mid); }
.card-date { font-size: .85rem; color: var(--blue); font-weight: 600; }
.card-excerpt { font-size: .9rem; color: #555; flex: 1; }
.card-footer { padding: 14px 20px; border-top: 1px solid var(--gray); display: flex; align-items: center; justify-content: space-between; }

/* === Club card === */
.club-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: flex; gap: 20px; align-items: flex-start; transition: transform var(--transition); }
.club-card:hover { transform: translateY(-3px); }
.club-logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--blue-light); }
.club-logo-placeholder { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; color: white; font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; flex-shrink: 0; }
.club-info { flex: 1; }
.club-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--blue-dark); text-transform: uppercase; margin-bottom: 4px; }
.club-location { font-size: .85rem; color: var(--gray-mid); margin-bottom: 8px; }
.club-desc { font-size: .88rem; color: #555; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* === Events === */
.event-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.event-item:hover { transform: translateY(-2px); }
.event-date-box {
  flex-shrink: 0;
  width: 60px; text-align: center;
  background: var(--blue-dark);
  color: white;
  border-radius: 8px;
  padding: 8px 0;
}
.event-date-day { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; line-height: 1; }
.event-date-month { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.event-body { flex: 1; }
.event-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--blue-dark); text-transform: uppercase; margin-bottom: 4px; }
.event-meta { font-size: .82rem; color: var(--gray-mid); display: flex; gap: 12px; flex-wrap: wrap; }

/* === Forms === */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--blue-dark); text-transform: uppercase; letter-spacing: .04em; }
.form-control {
  display: block; width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--gray);
  border-radius: 6px;
  font-size: .95rem;
  transition: border-color var(--transition);
  background: white;
}
.form-control:focus { outline: none; border-color: var(--blue); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-check { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.form-check label { font-size: .9rem; cursor: pointer; }
.form-hint { font-size: .78rem; color: var(--gray-mid); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
select.form-control { cursor: pointer; }

.form-box {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  max-width: 560px;
  margin: 0 auto;
}
.form-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 28px;
  text-align: center;
}

/* === Alert === */
.alert { padding: 14px 18px; border-radius: 6px; font-size: .9rem; margin-bottom: 20px; }
.alert-success { background: #e6f7ee; color: #1a7a45; border: 1px solid #b2dfc5; }
.alert-error   { background: #fde8e8; color: #a81f1f; border: 1px solid #f5c0c0; }

/* === Admin Layout === */
.admin-layout { display: flex; min-height: calc(100vh - 70px); }
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--blue-dark);
  padding: 24px 0;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  overflow-y: auto;
}
.admin-sidebar-title {
  color: rgba(255,255,255,.45);
  font-size: .7rem;
  font-family: var(--font-head);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 0 20px 10px;
}
.admin-sidebar a {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.75);
  padding: 11px 20px;
  font-size: .9rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  background: rgba(255,255,255,.1);
  color: white;
}
.admin-sidebar a span { font-size: 1.1rem; }
.admin-main { flex: 1; padding: 36px; background: var(--gray-light); overflow-x: auto; }
.membres-layout { display:grid; grid-template-columns:1fr 380px; gap:24px; align-items:start; }
.admin-page-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-dark);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* === Tables === */
.table-wrap { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
thead { background: var(--blue-dark); color: white; }
th { padding: 12px 16px; text-align: left; font-family: var(--font-head); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
td { padding: 12px 16px; border-bottom: 1px solid var(--gray); font-size: .88rem; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--blue-light); }
.td-actions { display: flex; gap: 6px; align-items: center; }

/* === Page header (inside main) === */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  padding: 48px 0 36px;
  text-align: center;
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.page-hero-sub { opacity: .8; margin-top: 8px; font-size: .95rem; }

/* === Galerie page === */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--gray);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-caption { color: white; font-size: .82rem; }
.gallery-item-club { color: rgba(255,255,255,.65); font-size: .75rem; margin-top: 2px; }
.gallery-item.featured { grid-column: span 2; grid-row: span 2; }
.gallery-item.featured::before {
  content: 'À la une';
  position: absolute; top: 12px; left: 12px;
  background: var(--red);
  color: white;
  font-size: .7rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 4px;
  z-index: 1;
}

/* === Club page === */
.club-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  padding: 48px 0;
}
.club-header-inner { display: flex; gap: 32px; align-items: center; }
.club-header-logo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,.3); flex-shrink: 0; }
.club-header-logo-ph { width: 96px; height: 96px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; flex-shrink: 0; }
.club-header-name { font-family: var(--font-head); font-size: 2rem; font-weight: 700; text-transform: uppercase; }
.club-header-meta { opacity: .75; margin-top: 6px; }

.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--gray); margin-bottom: 32px; }
.tab-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 12px 20px;
  border-radius: 6px 6px 0 0;
  color: var(--gray-mid);
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
}
.tab-btn.active { color: var(--blue); border-bottom: 3px solid var(--blue); margin-bottom: -2px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* === Connexion === */
.connexion-page { background: var(--gray-light); padding: 80px 20px; min-height: calc(100vh - 70px); }

/* === Billets === */
.billet-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 24px; }
.billet-header { padding: 20px 24px 0; }
.billet-title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--blue-dark); text-transform: uppercase; margin-bottom: 4px; }
.billet-meta { font-size: .82rem; color: var(--gray-mid); }
.billet-content { padding: 16px 24px; }
.billet-content p { margin-bottom: 12px; }
.billet-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; padding: 0 24px 24px; }
.billet-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; cursor: pointer; transition: transform var(--transition); }
.billet-photos img:hover { transform: scale(1.04); }

/* === Stats admin === */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 36px; }
.stat-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; text-align: center; }
.stat-number { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--blue); }
.stat-label { font-size: .82rem; color: var(--gray-mid); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* === Responsive === */
/* === Footer === */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.75);
  padding: 48px 0 28px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 380px; height: 380px;
  background: url('/assets/img/logo.png') center/contain no-repeat;
  opacity: .07;
  pointer-events: none;
}
.footer-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.footer-brand { text-align: left; }
.footer-logo { height: 56px; width: auto; margin-bottom: 8px; }
.footer-tagline {
  font-family: var(--font-head);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
}
.footer-nav {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.footer-nav a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: color var(--transition);
}
.footer-nav a:hover { color: white; }
.footer-copy {
  text-align: right;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .04em;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { text-align: center; }
  .footer-logo { margin: 0 auto 8px; }
  .footer-copy { text-align: center; }
}

@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--blue-dark); padding: 12px 16px 20px; gap: 4px; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }

  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 40px; }
  .hero-logo { height: 100px; }

  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; padding: 12px 0; }
  .admin-sidebar a { padding: 8px 16px; }
  .admin-main { padding: 20px 16px; }
  .membres-layout { grid-template-columns: 1fr; }

  .gallery-item.featured { grid-column: span 1; grid-row: span 1; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .club-header-inner { flex-direction: column; text-align: center; }
  .event-item { flex-direction: column; gap: 12px; }

  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .75; transform: scale(1.12); }
}
