/* =============================================
   NAP DOUAI – STYLESHEET
   Police : Bebas Neue (titres) + Nunito (texte)
   ============================================= */

:root {
  --navy: #0d2b4b;
  --navy-dark: #071a30;
  --navy-mid: #1a3c5c;
  --blue: #1565c0;
  --blue-light: #1e88e5;
  --cyan: #00b4d8;
  --cyan-light: #90e0ef;
  --gold: #f9a825;
  --gold-light: #ffe082;
  --white: #ffffff;
  --off-white: #f0f4f8;
  --gray: #8898aa;
  --text: #1a2a3a;
  --card-bg: #ffffff;
  --shadow: 0 4px 20px rgba(13, 43, 75, 0.12);
  --shadow-hover: 0 8px 32px rgba(13, 43, 75, 0.22);
  --radius: 14px;
  --topbar-h: 70px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--off-white);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* =============================================
   TOPBAR
   ============================================= */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  gap: 1rem;
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}

.topbar-logo .logo-icon { font-size: 1.8rem; }

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.08em;
}

.logo-sub {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  flex-wrap: wrap;
}

.topbar-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  transition: all 0.2s;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar-nav a:hover,
.topbar-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

/* Burger */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-shrink: 0;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   SIDEBAR MOBILE
   ============================================= */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
}

.sidebar {
  position: fixed;
  top: 0; left: -280px;
  width: 280px;
  height: 100vh;
  background: var(--navy);
  z-index: 1200;
  transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem;
}

.sidebar.open { left: 0; }

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo .logo-icon { font-size: 2rem; }

.sidebar-logo .logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.sidebar-logo .logo-text span { color: var(--cyan); }

.sidebar-nav {
  list-style: none;
  padding: 1rem 0;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.5rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.sidebar-nav li a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-left-color: var(--cyan);
}

.sidebar-nav li a i { width: 20px; color: var(--cyan); }

/* =============================================
   MAIN
   ============================================= */
.main-content {
  margin-top: var(--topbar-h);
  min-height: calc(100vh - var(--topbar-h));
}

/* Pages */
.page { display: none; }
.page.active { display: block; }

/* =============================================
   HERO – ACCUEIL
   ============================================= */
.hero {
  position: relative;
  min-height: 92vh;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-mid) 60%, #0a4f7a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-waves {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  overflow: hidden;
}

.wave {
  position: absolute;
  bottom: 0;
  left: -50%;
  width: 200%;
  height: 140px;
  border-radius: 50%;
}

.wave1 {
  background: rgba(0, 180, 216, 0.15);
  animation: wave 7s linear infinite;
}

.wave2 {
  background: rgba(0, 180, 216, 0.10);
  animation: wave 10s linear infinite reverse;
  bottom: 10px;
}

.wave3 {
  background: rgba(21, 101, 192, 0.15);
  animation: wave 13s linear infinite;
  bottom: 5px;
}

@keyframes wave {
  0% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(-25%) scaleY(1.15); }
  100% { transform: translateX(-50%) scaleY(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan-light);
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy-dark);
  border: none;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.04em;
}

.btn-primary:hover {
  background: var(--cyan-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.hero-diver {
  position: absolute;
  font-size: 12rem;
  opacity: 0.04;
  right: -2rem;
  bottom: 5rem;
  transform: rotate(15deg);
  pointer-events: none;
}

/* =============================================
   ACCUEIL HIGHLIGHTS
   ============================================= */
.accueil-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--navy);
}

.highlight-card {
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
  border-right: 1px solid rgba(255,255,255,0.08);
  color: white;
}

.highlight-card:last-child { border-right: none; }

.highlight-card:hover { background: var(--navy-mid); }

.highlight-card i {
  font-size: 2rem;
  color: var(--cyan);
  margin-bottom: 0.7rem;
  display: block;
}

.highlight-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.highlight-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* =============================================
   ACTUALITÉS
   ============================================= */
.accueil-news {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.07em;
  color: var(--navy);
  margin-bottom: 1.8rem;
  position: relative;
  padding-bottom: 0.7rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 3px;
  background: var(--cyan);
  border-radius: 2px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.news-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.news-card.featured { grid-row: 1 / 3; }

/* ---- Wrapper photo ---- */
.news-photo-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy);
  flex-shrink: 0;
}

/* Grande photo pour la carte "featured" */
.news-card.featured .news-photo-wrap {
  height: 320px;
}

/* Photo normale pour les petites cartes */
.news-card:not(.featured) .news-photo-wrap {
  height: 210px;
}

/* La vraie image */
.news-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .news-photo {
  transform: scale(1.04);
}

/* Placeholder affiché quand l'image est absente (onerror) */
.news-photo-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--navy), #0a4f7a);
  border: 2px dashed rgba(0,180,216,0.5);
  color: rgba(255,255,255,0.7);
}

.news-photo-placeholder i { font-size: 2.5rem; color: var(--cyan); }
.news-photo-placeholder span { font-size: 0.78rem; font-weight: 700; font-family: monospace; }

/* Quand l'image échoue à charger → cacher l'img, montrer le placeholder */
.news-photo-wrap.no-photo .news-photo { display: none; }
.news-photo-wrap.no-photo .news-photo-placeholder { display: flex; }

/* Badge "À la une" positionné sur la photo */
.news-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.news-body { padding: 1.2rem 1.4rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }

.news-date {
  font-size: 0.78rem;
  color: var(--cyan);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.news-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}

.news-card.featured .news-body h3 { font-size: 1.2rem; }

.news-body p { font-size: 0.88rem; color: #4a5568; line-height: 1.6; margin: 0; }

.btn-link {
  background: none;
  border: none;
  color: var(--blue-light);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  margin-top: 0.8rem;
  padding: 0;
  transition: color 0.2s;
}
.btn-link:hover { color: var(--navy); }

/* =============================================
   PAGE HERO (général)
   ============================================= */
.page-hero {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy-mid));
  color: white;
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: 0.06em;
  position: relative;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.page-hero p {
  font-size: 1rem;
  color: var(--cyan-light);
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  position: relative;
}

.page-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.section-intro {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 700px;
}

/* =============================================
   PAGE CLUB
   ============================================= */
.club-presentation {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.club-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 1rem;
}

.club-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  background: var(--navy);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.stat { text-align: center; color: white; }

.stat-num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.stat span:last-child { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

.club-img-placeholder {
  width: 200px;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: white;
  flex-shrink: 0;
}

.club-emblem { font-size: 4rem; margin-bottom: 0.5rem; }
.club-img-placeholder p { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 0.1em; color: var(--cyan); }

.piscines-section, .disciplines-section { margin-top: 3rem; }

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

.piscine-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  border-top: 4px solid var(--blue-light);
  transition: transform 0.2s, box-shadow 0.2s;
}

.piscine-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.piscine-icon { font-size: 2.5rem; margin-bottom: 0.7rem; }

.piscine-card h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }

.piscine-card p { font-size: 0.88rem; color: #4a5568; margin-bottom: 0.5rem; line-height: 1.5; }

.piscine-tag {
  display: inline-block;
  background: var(--navy);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

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

.discipline-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.discipline-card:hover { transform: translateY(-2px); }

.discipline-ico { font-size: 2rem; margin-bottom: 0.6rem; }
.discipline-card h3 { font-size: 0.95rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.discipline-card p { font-size: 0.83rem; color: #4a5568; line-height: 1.55; }

/* =============================================
   PAGE ENTRAÎNEURS
   ============================================= */
.entraineurs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.entraineur-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0;
  transition: box-shadow 0.25s;
}

.entraineur-card:hover { box-shadow: var(--shadow-hover); }

.entraineur-photo {
  width: 150px;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder {
  width: 90px;
  height: 90px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.6);
  border: 3px solid rgba(255,255,255,0.25);
}

.entraineur-info { padding: 1.3rem; flex: 1; }
.entraineur-info h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 0.2rem; }
.entraineur-titre { color: var(--blue-light); font-weight: 700; font-size: 0.85rem; margin-bottom: 0.5rem; }
.entraineur-diplome { font-size: 0.8rem; color: var(--gray); margin-bottom: 0.6rem; }
.entraineur-info p { font-size: 0.85rem; color: #4a5568; line-height: 1.5; }
.entraineur-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.7rem; }
.entraineur-tags span { background: var(--off-white); color: var(--navy); font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 20px; }

/* =============================================
   PAGE ENTRAÎNEMENTS
   ============================================= */
.planning-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.planning-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.planning-header {
  background: var(--navy);
  color: white;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.planning-icon { font-size: 2rem; }
.planning-header h3 { font-size: 1.05rem; font-weight: 800; }
.planning-adresse { font-size: 0.82rem; color: var(--cyan-light); margin-top: 0.2rem; }

.planning-sessions { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; }

.session {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--off-white);
}

.session-jour {
  flex: 0 0 110px;
}

.session-horaire {
  flex: 0 0 auto;
}

.session-groupes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-left: auto;
}

.session:last-child { border-bottom: none; }

.session-jour { font-weight: 800; color: var(--navy); font-size: 0.95rem; }
.session-horaire { font-size: 0.88rem; color: #4a5568; }
.session-horaire i { color: var(--cyan); margin-right: 0.3rem; }

.session-groupe {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  white-space: nowrap;
}

.groupe-mini { background: #e3f2fd; color: #1565c0; }
.groupe-jeune { background: #e8f5e9; color: #2e7d32; }
.groupe-loisir { background: #fff3e0; color: #e65100; }
.groupe-comp { background: #ede7f6; color: #4527a0; }
.groupe-haut { background: #fce4ec; color: #880e4f; }

.planning-legend {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
}

.planning-legend h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.legend-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.legend-item {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
}

/* Tarifs */
.tarifs-section { margin-top: 3rem; }

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.tarif-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--off-white);
  transition: all 0.25s;
}

.tarif-card.featured {
  border-top-color: var(--gold);
  background: var(--navy);
  color: white;
  transform: scale(1.03);
}

.tarif-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.tarif-card.featured:hover { transform: scale(1.03) translateY(-3px); }

.tarif-ico { font-size: 2.2rem; margin-bottom: 0.5rem; }
.tarif-card h3 { font-size: 0.95rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.tarif-card.featured h3 { color: var(--gold); }

.tarif-prix { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--navy); line-height: 1; margin-bottom: 0.8rem; }
.tarif-card.featured .tarif-prix { color: var(--gold); }
.tarif-prix span { font-size: 1rem; font-family: 'Nunito', sans-serif; color: var(--gray); }
.tarif-card.featured .tarif-prix span { color: rgba(255,255,255,0.5); }

.tarif-card ul { list-style: none; text-align: left; }
.tarif-card ul li { font-size: 0.83rem; color: #4a5568; padding: 0.3rem 0; border-bottom: 1px dashed #eee; }
.tarif-card ul li::before { content: '✓ '; color: var(--cyan); font-weight: 800; }
.tarif-card.featured ul li { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.1); }

/* =============================================
   PAGE RECORDS
   ============================================= */
.records-section { margin-bottom: 3rem; }

.records-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius) var(--radius) 0 0;
  color: white;
}

.records-header.hommes { background: linear-gradient(90deg, #1565c0, #1e88e5); }
.records-header.femmes { background: linear-gradient(90deg, #880e4f, #e91e63); }

.records-header i { font-size: 1.5rem; }
.records-header h2 { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 0.07em; }

.table-wrapper { overflow-x: auto; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }

.records-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.records-table thead {
  background: var(--navy);
  color: white;
}

.records-table th {
  padding: 0.8rem 1.2rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.records-table td {
  padding: 0.8rem 1.2rem;
  font-size: 0.88rem;
  border-bottom: 1px solid #f0f4f8;
  color: #4a5568;
}

.records-table tbody tr:hover { background: #f8faff; }

.record-time {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.cat {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
}

.cat.senior { background: #e3f2fd; color: #1565c0; }
.cat.junior { background: #e8f5e9; color: #2e7d32; }
.cat.cadet { background: #fff3e0; color: #e65100; }
.cat.minime { background: #fce4ec; color: #880e4f; }

/* =============================================
   PAGE COMPÉTITIONS
   ============================================= */
.comp-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e2e8f0;
}

.comp-tab {
  background: none;
  border: none;
  padding: 0.7rem 1.5rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--gray);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.comp-tab.active { color: var(--navy); border-bottom-color: var(--cyan); }

.comp-content { display: none; }
.comp-content.active { display: block; }

.comp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.comp-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  gap: 0;
  transition: all 0.25s;
  position: relative;
}

.comp-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.comp-img {
  width: 80px;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.comp-date-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  line-height: 1.1;
}

.comp-date-badge.past { background: var(--gray); }

.comp-day { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; color: var(--cyan); }
.comp-month { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.comp-year { display: block; font-size: 0.68rem; color: rgba(255,255,255,0.6); }

.comp-body { padding: 1.1rem 4rem 1.1rem 1.2rem; flex: 1; }

.comp-tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.comp-tag.national { background: #ffe082; color: #7b5a00; }
.comp-tag.regional { background: #b3e5fc; color: #01579b; }
.comp-tag.local { background: #c8e6c9; color: #1b5e20; }

.comp-body h3 { font-size: 0.95rem; font-weight: 800; color: var(--navy); margin-bottom: 0.4rem; }
.comp-body p { font-size: 0.82rem; color: #4a5568; margin-bottom: 0.4rem; }

.comp-disciplines { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.comp-disciplines span { background: var(--off-white); color: var(--navy); font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 20px; }

.resultats-list { margin-top: 0.8rem; display: flex; flex-direction: column; gap: 0.4rem; }
.resultat-item { font-size: 0.82rem; font-weight: 700; padding: 0.35rem 0.7rem; border-radius: 6px; }
.resultat-item.or { background: #ffe082; color: #7b5a00; }
.resultat-item.argent { background: #eceff1; color: #546e7a; }
.resultat-item.bronze { background: #ffe0b2; color: #7b4100; }

/* =============================================
   PAGE PHOTOS
   ============================================= */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.album-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.3s;
}

.album-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.album-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.album-thumb-overlay {
  position: absolute;
  inset: 0;
  background: var(--navy);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.album-card:hover .album-thumb-overlay { opacity: 0.7; }

.album-info { padding: 0.9rem 1rem; }
.album-info h3 { font-size: 0.95rem; font-weight: 800; color: var(--navy); }
.album-info p { font-size: 0.8rem; color: var(--gray); margin-top: 0.2rem; }

/* Album sub-page */
.album-page-header {
  background: var(--navy);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-back {
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-back:hover { background: rgba(255,255,255,0.25); }

.album-page-header h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
}

.album-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.album-photo-item {
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--navy), var(--blue-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: var(--shadow);
}

.album-photo-item:hover { transform: scale(1.03); }

/* =============================================
   PAGE RÉSEAUX SOCIAUX
   ============================================= */
.reseaux-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.reseaux-intro p {
  font-size: 1.05rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.reseaux-follow-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-facebook, .btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-facebook { background: #1877f2; color: white; }
.btn-facebook:hover { background: #166fe5; transform: translateY(-2px); }
.btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.btn-instagram:hover { transform: translateY(-2px); }

.facebook-embed-section { margin-bottom: 3rem; }

.fb-embed-wrapper {
  display: flex;
  justify-content: center;
  background: #f0f4f8;
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 400px;
  align-items: center;
}

.fb-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 1rem;
}

.fb-note a { color: var(--blue-light); }

.reseaux-cards { display: flex; flex-direction: column; gap: 1rem; }

.reseau-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: white;
  transition: all 0.25s;
  font-size: 1.5rem;
}

.reseau-card.facebook { background: #1877f2; }
.reseau-card.instagram { background: linear-gradient(90deg, #f09433, #dc2743, #bc1888); }
.reseau-card:hover { transform: translateX(4px); opacity: 0.92; }

.reseau-card div h3 { font-size: 1rem; font-weight: 800; }
.reseau-card div p { font-size: 0.82rem; opacity: 0.8; }
.reseau-card .arrow { margin-left: auto; font-size: 0.9rem; opacity: 0.7; }

/* =============================================
   PAGE CONTACT
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.07em;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.contact-detail i {
  font-size: 1.1rem;
  color: var(--cyan);
  margin-top: 0.15rem;
  width: 20px;
  flex-shrink: 0;
}

.contact-detail strong { display: block; color: var(--navy); font-size: 0.85rem; margin-bottom: 0.2rem; }
.contact-detail p { font-size: 0.88rem; color: #4a5568; line-height: 1.5; }

.contact-reseaux { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.5rem; }

.contact-reseau-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  transition: all 0.25s;
  font-size: 1.2rem;
}

.contact-reseau-btn.facebook { background: #1877f2; }
.contact-reseau-btn.instagram { background: linear-gradient(90deg, #f09433, #dc2743); }
.contact-reseau-btn:hover { opacity: 0.88; transform: translateX(3px); }

.contact-reseau-btn div strong { display: block; font-size: 0.88rem; }
.contact-reseau-btn div span { font-size: 0.78rem; opacity: 0.8; }

.contact-horaires {
  background: var(--off-white);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-top: 1.2rem;
}

.contact-horaires h3 { font-size: 0.9rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.contact-horaires p { font-size: 0.85rem; color: #4a5568; }

/* Formulaire */
.contact-form-wrap { background: var(--card-bg); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-form-wrap h2 { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 0.07em; color: var(--navy); margin-bottom: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.2s;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
}

.btn-submit {
  width: 100%;
  background: var(--navy);
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.btn-submit:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,43,75,0.25); }

.form-success {
  display: none;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1rem;
  text-align: center;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy-dark);
  color: white;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

.footer-links, .footer-social { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links h4, .footer-social h4 { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.5rem; }

.footer-links a, .footer-social a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover, .footer-social a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .topbar-nav a { font-size: 0.72rem; padding: 0.4rem 0.5rem; }
  .accueil-highlights { grid-template-columns: repeat(2, 1fr); }
  .piscines-grid, .disciplines-grid { grid-template-columns: repeat(2, 1fr); }
  .tarifs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .club-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .burger-btn { display: flex; }
  .topbar-nav { display: none; }

  .hero { min-height: 80vh; }
  .hero-title { font-size: 3rem; }

  .accueil-highlights { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-row: auto; }
  .news-card.featured .news-photo-wrap { height: 240px; }
  .news-card:not(.featured) .news-photo-wrap { height: 180px; }

  .club-presentation { grid-template-columns: 1fr; }
  .club-img-placeholder { width: 100%; padding: 1.5rem; display: flex; align-items: center; gap: 1rem; }
  .club-stats { grid-template-columns: repeat(2, 1fr); }
  .piscines-grid, .disciplines-grid { grid-template-columns: 1fr; }

  .entraineurs-grid { grid-template-columns: 1fr; }

  .session { grid-template-columns: 90px 1fr; gap: 0.5rem; }
  .session-groupe { grid-column: 1 / -1; }

  .tarifs-grid { grid-template-columns: repeat(2, 1fr); }
  .tarif-card.featured { transform: none; }

  .records-table th:nth-child(3),
  .records-table td:nth-child(3) { display: none; }

  .comp-grid { grid-template-columns: 1fr; }

  .albums-grid { grid-template-columns: repeat(2, 1fr); }
  .album-photos-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-content { grid-template-columns: 1fr; }

  .page-body { padding: 2rem 1rem; }
}

@media (max-width: 480px) {
  :root { --topbar-h: 60px; }
  .topbar { padding: 0 1rem; }
  .logo-main { font-size: 1rem; }
  .logo-sub { font-size: 0.72rem; }

  .accueil-highlights { grid-template-columns: 1fr 1fr; }
  .highlight-card { padding: 1.2rem 0.8rem; }
  .highlight-card i { font-size: 1.5rem; }

  .hero-btns { flex-direction: column; align-items: center; }

  .albums-grid { grid-template-columns: 1fr; }
  .album-photos-grid { grid-template-columns: repeat(2, 1fr); }

  .tarifs-grid { grid-template-columns: 1fr; }

  .table-wrapper { font-size: 0.8rem; }
  .records-table th, .records-table td { padding: 0.6rem 0.7rem; }

  .comp-card { flex-direction: column; }
  .comp-img { width: 100%; height: 70px; }
}

/* =============================================
   LOGO IMAGES
   ============================================= */
.topbar-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  transition: transform 0.2s;
}
.topbar-logo:hover .topbar-logo-img { transform: scale(1.05); }

.sidebar-logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

/* =============================================
   PHOTO SLOTS – EMPLACEMENTS À REMPLIR
   ============================================= */
.photo-slot {
  position: relative;
  background-color: #1a3c5c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.photo-slot-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: monospace;
  color: rgba(255,255,255,0.85);
  background: linear-gradient(135deg, rgba(13,43,75,0.88), rgba(0,100,160,0.78));
  border: 2px dashed rgba(0,180,216,0.7);
  transition: opacity 0.3s;
  pointer-events: none;
}

.photo-slot.has-image .photo-slot-label { opacity: 0; }

/* Hero background photo */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  z-index: 0;
}

.hero-photo-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px dashed rgba(0,180,216,0.5);
  z-index: 5;
  white-space: nowrap;
}
.hero-photo-hint code { color: var(--cyan); font-size: 0.72rem; }

/* Slot carré club */
.photo-slot-square {
  width: 200px;
  height: 200px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

/* Slot piscine */
.photo-slot-piscine {
  height: 140px;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block;
}

/* Slot coach (entraîneur) */
.photo-slot-coach {
  width: 100%;
  height: 100%;
  min-height: 160px;
}

/* Slot compétition */
.photo-slot-comp {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

/* News img with photo slot */
.news-img.photo-slot {
  background-size: cover;
  background-position: center;
}
