/*
Theme Name: FC Slavia Lausanne
Theme URI: https://fcslavia.ch/
Author: Comité FC Slavia Lausanne
Description: Thème du FC Slavia Lausanne. Reprend exactement l'architecture et le design de la maquette statique validée. Couleurs du drapeau serbe et du blason du club. Sections gérables depuis wp-admin : sponsors, équipe, comité, actualités et événements avec inscription, galerie, matchcenter ACVF.
Version: 4.2
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: Usage exclusif FC Slavia Lausanne
Text Domain: fcslavia
Tags: sport, football, club, association
*/

/* =============================================================
   FC SLAVIA LAUSANNE — FEUILLE DE STYLE
   Version propre et unifiée. Un seul système d'espacement.
   ============================================================= */

:root {
  --rouge: #C6363C;
  --rouge-sombre: #8B1D22;
  --bleu: #0C4076;
  --bleu-sombre: #071F3D;
  --bleu-clair: #1C5093;
  --or: #C9A961;
  --or-clair: #E0C88A;
  --noir: #1A1A1A;
  --gris: #5A5A5A;
  --gris-clair: #F5F3EE;
  --gris-bord: #DDD8CD;
  --blanc: #FFFFFF;

  /* Hauteur de la barre de navigation, référence unique */
  --nav-h: 76px;
  --gouttiere: 40px;
  --max-l: 1280px;
}

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

html {
  scroll-behavior: smooth;
  /* Compense la nav fixe lors des ancres, corrige les décalages */
  /* Décalage des ancres. On ajoute une respiration au-delà
     de la hauteur de barre, sinon le titre vient coller
     contre le ruban de navigation. */
  scroll-padding-top: calc(var(--nav-h) + 28px);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--noir);
  line-height: 1.6;
  background: var(--blanc);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }


/* =============================================================
   NAVIGATION
   ============================================================= */

nav#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  background: rgba(7, 31, 61, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 0 var(--gouttiere);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(201, 169, 97, 0.35);
  transition: box-shadow 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blanc);
  text-decoration: none;
  transition: opacity 0.3s;
}
.nav-logo:hover { opacity: 0.85; }

/* Marqueur tricolore, remplace le logo image */
.nav-mark {
  width: 3px;
  height: 30px;
  border-radius: 2px;
  flex-shrink: 0;
  background: linear-gradient(to bottom,
    var(--rouge) 0%, var(--rouge) 33%,
    var(--bleu-clair) 33%, var(--bleu-clair) 66%,
    var(--blanc) 66%);
}

.nav-title { display: flex; flex-direction: column; line-height: 1.15; }
.nav-title span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-title small {
  font-size: 9.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--or);
  margin-top: 2px;
}

nav#mainNav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
  margin: 0;
}
.nav-link {
  color: var(--blanc);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--or); }

.nav-cta {
  background: var(--rouge);
  color: var(--blanc);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 11.5px;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--rouge-sombre);
  box-shadow: 0 6px 20px rgba(198, 54, 60, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--blanc);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}


/* =============================================================
   BOUTONS
   ============================================================= */

.btn {
  display: inline-block;
  padding: 15px 32px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 12.5px;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary { background: var(--rouge); color: var(--blanc); }
.btn-primary:hover { background: var(--rouge-sombre); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(198, 54, 60, 0.4); }
.btn-or { background: var(--or); color: var(--bleu-sombre); }
.btn-or:hover { background: var(--or-clair); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blanc); border: 2px solid var(--or); }
.btn-outline:hover { background: var(--or); color: var(--bleu-sombre); }


/* =============================================================
   STRUCTURE DES SECTIONS
   Toutes les sections partagent le même rythme vertical.
   ============================================================= */

section {
  padding: 96px var(--gouttiere);
}

/* Filet de sécurité pour les ancres.
   Certains navigateurs, dont Safari, ignorent
   scroll-padding-top. On double la protection en
   posant la marge directement sur la cible. */
section[id],
h2[id],
[id]:target {
  scroll-margin-top: calc(var(--nav-h) + 28px);
}
.container {
  max-width: var(--max-l);
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-header .surtitre {
  color: var(--rouge);
  font-size: 11.5px;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--bleu-sombre);
  margin-bottom: 14px;
  line-height: 1.1;
}
.section-header p {
  font-size: 1rem;
  color: var(--gris);
}
.section-header .barre {
  width: 56px;
  height: 3px;
  background: var(--or);
  margin: 22px auto 0;
}
.sous-titre {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rouge);
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
}


/* =============================================================
   HERO PAGE D'ACCUEIL
   ============================================================= */

.hero {
  height: 100vh;
  min-height: 620px;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: var(--bleu-sombre);
  display: flex;
  align-items: stretch;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, var(--bleu-sombre) 0%, #0A2B54 58%, var(--bleu-sombre) 100%);
}
.hero-canvas.with-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-canvas.with-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,31,61,0.86) 0%, rgba(7,31,61,0.70) 40%, rgba(7,31,61,0.90) 100%);
}

/* Grand 69 en filigrane */
.hero-year {
  position: absolute;
  bottom: -70px;
  right: -50px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(260px, 36vw, 520px);
  font-weight: 900;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(201, 169, 97, 0.13);
  letter-spacing: -10px;
  user-select: none;
  z-index: 2;
  pointer-events: none;
}

/* Bande tricolore verticale à gauche */
.hero-flag {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  z-index: 4;
  background: linear-gradient(to bottom,
    var(--rouge) 0%, var(--rouge) 33%,
    var(--bleu-clair) 33%, var(--bleu-clair) 66%,
    var(--blanc) 66%);
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: var(--max-l);
  width: 100%;
  margin: 0 auto;
  /* Marge haute = nav + respiration, corrige tout décalage */
  padding: calc(var(--nav-h) + 56px) 72px 72px;
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 32px 0;
  align-content: center;
  color: var(--blanc);
}

/* Marqueur latéral vertical */
.hero-marker {
  grid-column: 1;
  grid-row: 1 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
  position: relative;
}
.hero-marker-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--or);
  box-shadow: 0 0 18px var(--or);
  flex-shrink: 0;
}
.hero-marker-line {
  width: 1px;
  flex: 1;
  margin: 16px 0;
  background: linear-gradient(to bottom, var(--or) 0%, transparent 100%);
}
.hero-marker-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--or);
  font-size: 10px;
  letter-spacing: 7px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-meta {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  animation: slideRight 0.9s ease-out;
}
.hero-meta .sep {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--or);
}
.hero-meta .meta-highlight { color: var(--or); font-weight: 600; }

.hero-title {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -2.5px;
  max-width: 980px;
  animation: slideRight 1s ease-out 0.15s both;
}
.hero-title .l1 { display: block; font-style: italic; font-weight: 700; }
.hero-title .l2 { display: block; margin-top: 4px; }
.hero-title .l2 em { font-style: normal; color: var(--or); font-weight: 900; }

.hero-bottom {
  grid-column: 2;
  grid-row: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  gap: 48px;
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: slideRight 1s ease-out 0.4s both;
}

.hero-tagline {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  max-width: 400px;
}
.hero-tagline::before {
  content: '';
  display: block;
  width: 38px; height: 2px;
  background: var(--rouge);
  margin-bottom: 14px;
}

.hero-figures { display: flex; gap: 38px; }
.hero-fig-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--or);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -2px;
}
.hero-fig-lbl {
  font-size: 9.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 28px;
  background: var(--rouge);
  color: var(--blanc);
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 2px;
  transition: all 0.3s;
  white-space: nowrap;
}
.hero-cta-primary::after { content: '→'; font-size: 15px; transition: transform 0.3s; }
.hero-cta-primary:hover { background: var(--rouge-sombre); box-shadow: 0 12px 30px rgba(198,54,60,0.4); }
.hero-cta-primary:hover::after { transform: translateX(4px); }

.hero-cta-secondary {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 10.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
  white-space: nowrap;
}
.hero-cta-secondary:hover { color: var(--or); border-bottom-color: var(--or); }

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


/* =============================================================
   MATCHCENTER
   ============================================================= */

#matchs-accueil,
#matchs { background: var(--blanc); }
.matchcenter-block {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--gris-clair);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(12, 64, 118, 0.1);
  border: 1px solid var(--gris-bord);
}
.matchcenter-header {
  padding: 15px 22px;
  background: var(--bleu-sombre);
  color: var(--blanc);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.matchcenter-header .label {
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 700;
}
.matchcenter-header a {
  color: var(--blanc);
  font-size: 11.5px;
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}
.matchcenter-header a:hover { background: var(--or); color: var(--bleu-sombre); border-color: var(--or); }
.matchcenter-iframe {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
  background: var(--blanc);
}
.matchcenter-fallback {
  padding: 50px 30px;
  text-align: center;
  color: var(--gris);
}


/* =============================================================
   ACTUALITES
   ============================================================= */

#actualites { background: var(--gris-clair); }
.actu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}
.actu-card {
  background: var(--blanc);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 18px rgba(12, 64, 118, 0.1);
  border: 1px solid var(--gris-bord);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.actu-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(12, 64, 118, 0.18); }
.actu-card.evenement-card { border-left: 4px solid var(--rouge); }

.actu-image {
  width: 100%;
  height: 190px;
  background: var(--bleu-sombre);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.actu-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.actu-card:hover .actu-image img { transform: scale(1.05); }
.actu-image:empty::after,
.actu-image.vide::after {
  content: '⚽';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  opacity: 0.25;
}
.actu-categorie {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--rouge);
  color: var(--blanc);
  padding: 5px 12px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  border-radius: 3px;
  z-index: 2;
}
.actu-content { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.actu-date {
  font-size: 11.5px;
  color: var(--rouge);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}
.badge-inscription {
  display: inline-block;
  background: var(--or);
  color: var(--bleu-sombre);
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-left: 6px;
}
.actu-titre {
  font-size: 1.15rem;
  color: var(--bleu-sombre);
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.3;
}
.actu-extrait { color: var(--gris); font-size: 13.5px; margin-bottom: 16px; flex: 1; }
.actu-lien {
  color: var(--rouge);
  font-weight: 700;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
}
.actu-lien:hover { color: var(--rouge-sombre); }


/* =============================================================
   GALERIE
   ============================================================= */

#galerie { background: var(--blanc); }
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.photo-card {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  background: var(--bleu-sombre);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.photo-card:hover img { transform: scale(1.08); }
.photo-legende {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 14px 12px;
  background: linear-gradient(to top, rgba(7,31,61,0.9), transparent);
  color: var(--blanc);
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}
.photo-card:hover .photo-legende { opacity: 1; }


/* =============================================================
   SPONSORS
   ============================================================= */

#sponsors { background: var(--gris-clair); position: relative; }
#valeurs { position: relative; }
#equipe { position: relative; }
#valeurs::before,
#equipe::before,
#sponsors::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rouge), var(--or), var(--bleu));
}
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.sponsor-card {
  background: var(--blanc);
  border-radius: 8px;
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-height: 220px;
  box-shadow: 0 2px 12px rgba(12, 64, 118, 0.08);
  border: 1px solid var(--gris-bord);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--rouge);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.sponsor-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(12, 64, 118, 0.18); }
.sponsor-card:hover::before { transform: scaleX(1); }
.sponsor-card .logo-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 6px 0;
  min-height: 100px;
}
.sponsor-card img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  filter: grayscale(35%);
  transition: filter 0.4s;
}
.sponsor-card:hover img { filter: grayscale(0%); }
.sponsor-name {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bleu-sombre);
  text-align: center;
}
.sponsor-info { font-size: 10.5px; color: var(--gris); text-align: center; margin-top: 4px; }
.sponsor-cta { text-align: center; margin-top: 52px; }


/* =============================================================
   EQUIPE
   ============================================================= */

#equipe { background: var(--gris-clair); }
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 300px));
  gap: 22px;
  justify-content: center;
  margin-bottom: 60px;
}
.staff-card,
.joueur-card,
.membre-card {
  background: var(--blanc);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  border: 1px solid var(--gris-bord);
}
.staff-card { border-top: 4px solid var(--rouge); }
.membre-card { border-bottom: 4px solid var(--or); }
.staff-card:hover,
.joueur-card:hover,
.membre-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(12, 64, 118, 0.16);
}

.staff-photo, .joueur-photo, .membre-photo {
  width: 100%;
  background: var(--bleu-sombre);
  overflow: hidden;
  position: relative;
}
.staff-photo  { height: 230px; }
.joueur-photo { height: 210px; }
.membre-photo { height: 240px; }
.staff-photo img, .joueur-photo img, .membre-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
/* Silhouette de remplacement, dessinée aux couleurs du club.
   Elle s'affiche tant qu'aucun portrait n'a été téléversé, et
   garde une présentation soignée le temps de la séance photo.
   Elle est ancrée en bas du cadre, comme un vrai portrait. */
.staff-photo.empty,
.joueur-photo.empty,
.membre-photo.empty {
  background: linear-gradient(160deg, #133F73 0%, var(--bleu-sombre) 100%);
}
.staff-photo.empty::after,
.joueur-photo.empty::after,
.membre-photo.empty::after {
  content: '';
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 92%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 150'%3E%3Cdefs%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%234A82BC'/%3E%3Cstop offset='1' stop-color='%231B4B84'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='61' y='62' width='18' height='30' rx='8' fill='%232A5F96'/%3E%3Ccircle cx='70' cy='42' r='25' fill='url(%23c)'/%3E%3Cpath d='M2 150c0-33 24-54 52-60l16 18 16-18c28 6 52 27 52 60z' fill='url(%23c)'/%3E%3Cpath d='M2 150c0-33 24-54 52-60l16 18 16-18c28 6 52 27 52 60' fill='none' stroke='%23C9A961' stroke-width='2.5' stroke-linejoin='round' opacity='.5'/%3E%3C/svg%3E");
}

/* Cadrage légèrement différent selon la taille des cartes */
.joueur-photo.empty::after { background-size: auto 88%; }
.membre-photo.empty::after { background-size: auto 86%; }

.staff-info, .joueur-info, .membre-info { padding: 18px 14px; }
.staff-role, .membre-role {
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rouge);
  font-weight: 700;
  margin-bottom: 6px;
}
.joueur-poste {
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 700;
  margin-bottom: 6px;
}
.staff-nom, .membre-nom { font-size: 1.02rem; color: var(--bleu-sombre); font-weight: 700; }
.joueur-nom { font-size: 0.93rem; color: var(--bleu-sombre); font-weight: 700; }
.membre-nom { margin-bottom: 6px; }
.membre-email { font-size: 11.5px; color: var(--gris); text-decoration: none; }
.membre-email:hover { color: var(--rouge); }

.joueurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.joueur-numero {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  background: var(--rouge);
  color: var(--blanc);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}


/* =============================================================
   COMITE
   ============================================================= */

#comite { background: var(--blanc); }
.comite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
}


/* =============================================================
   VALEURS
   ============================================================= */

#valeurs { background: var(--blanc); }
.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.valeur {
  background: var(--blanc);
  padding: 32px 26px;
  border-radius: 10px;
  border-top: 4px solid var(--or);
  transition: all 0.3s;
}
.valeur:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(12, 64, 118, 0.13); }
.valeur .num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--or);
  line-height: 1;
  margin-bottom: 14px;
}
.valeur h3 { color: var(--bleu-sombre); font-size: 1.15rem; margin-bottom: 10px; font-weight: 700; }
.valeur p { color: var(--gris); font-size: 13.5px; }


/* =============================================================
   DEVENIR SPONSOR
   ============================================================= */

#devenir-sponsor {
  background: var(--bleu-sombre);
  color: var(--blanc);
  position: relative;
}
#devenir-sponsor .section-header h2 { color: var(--blanc); }
#devenir-sponsor .section-header p { color: rgba(255,255,255,0.75); }
#devenir-sponsor .section-header .surtitre { color: var(--or); }
.avantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.avantage {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,169,97,0.25);
  border-radius: 10px;
  padding: 26px 22px;
  transition: all 0.3s;
}
.avantage:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.avantage h4 { color: var(--or); font-size: 1.02rem; margin-bottom: 10px; font-weight: 700; }
.avantage p { color: rgba(255,255,255,0.75); font-size: 13.5px; }


/* =============================================================
   PIED DE PAGE
   ============================================================= */

footer {
  background: var(--bleu-sombre);
  color: rgba(255,255,255,0.75);
  padding: 60px var(--gouttiere) 28px;
  border-top: 3px solid var(--or);
}
.footer-content {
  max-width: var(--max-l);
  margin: 0 auto 38px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand img { height: 74px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 13.5px; max-width: 380px; }
footer h5 {
  color: var(--or);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11.5px;
  margin-bottom: 18px;
  font-weight: 700;
}
footer ul { list-style: none; }
footer li { margin-bottom: 9px; }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13.5px; transition: color 0.3s; }
footer a:hover { color: var(--or); }
.footer-social { display: flex; gap: 11px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--blanc);
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--or); color: var(--bleu-sombre); }
.footer-bottom {
  max-width: var(--max-l);
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 12.5px;
}
.fondation { color: var(--or); font-weight: 700; }


/* =============================================================
   MODALE DE DETAIL ACTUALITE / EVENEMENT
   ============================================================= */

.actu-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 31, 61, 0.9);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 2500;
  padding: 40px 20px;
  overflow-y: auto;
  backdrop-filter: blur(6px);
}
.actu-modal-overlay.open { display: flex; }
.actu-modal {
  background: var(--blanc);
  border-radius: 12px;
  max-width: 780px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  position: relative;
  margin: auto;
}
.actu-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,0.95);
  border: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 19px;
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.actu-modal-close:hover { background: var(--rouge); color: var(--blanc); transform: rotate(90deg); }

.actu-modal-hero { width: 100%; height: 300px; background: var(--bleu-sombre); overflow: hidden; position: relative; }
.actu-modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.actu-modal-hero .badge-cat {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--rouge);
  color: var(--blanc);
  padding: 6px 14px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  border-radius: 3px;
}
.actu-modal-body { padding: 36px; }
.actu-modal-date {
  color: var(--rouge);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.actu-modal-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--bleu-sombre);
  font-size: 1.9rem;
  margin-bottom: 18px;
  font-weight: 900;
  line-height: 1.15;
}
.actu-modal-body .texte { color: var(--gris); line-height: 1.7; margin-bottom: 22px; font-size: 14.5px; }

.evenement-infos {
  background: var(--gris-clair);
  border-radius: 8px;
  padding: 20px 22px;
  margin: 22px 0;
  border-left: 4px solid var(--or);
}
.info-ligne { display: flex; align-items: center; gap: 13px; margin-bottom: 10px; font-size: 13.5px; color: var(--noir); }
.info-ligne:last-child { margin-bottom: 0; }
.info-icone {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--rouge);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.info-label { font-weight: 700; color: var(--bleu-sombre); margin-right: 6px; }

.modal-photos { margin: 26px 0 18px; }
.modal-photos-titre {
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rouge);
  font-weight: 700;
  margin-bottom: 13px;
}
.modal-photos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 9px; }
.photo-mini { aspect-ratio: 1/1; overflow: hidden; border-radius: 6px; cursor: pointer; background: var(--bleu-sombre); }
.photo-mini img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.photo-mini:hover img { transform: scale(1.1); }

.inscription-bloc {
  background: linear-gradient(135deg, var(--rouge-sombre), var(--rouge));
  color: var(--blanc);
  padding: 26px;
  border-radius: 8px;
  margin-top: 26px;
  text-align: center;
}
.inscription-bloc h4 { font-size: 1.15rem; margin-bottom: 10px; }
.inscription-bloc p { opacity: 0.9; margin-bottom: 18px; font-size: 13.5px; }
.btn-inscription {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 14px 26px;
  background: var(--blanc);
  color: var(--rouge);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12.5px;
  border-radius: 4px;
  transition: all 0.3s;
}
.btn-inscription:hover { background: var(--or); color: var(--bleu-sombre); transform: translateY(-2px); }


/* =============================================================
   POP-UP EVENEMENT
   ============================================================= */

.popup-event-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 31, 61, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px;
  backdrop-filter: blur(5px);
}
.popup-event-overlay.open { display: flex; }
.popup-event {
  background: var(--blanc);
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  border-top: 5px solid var(--rouge);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.popup-close {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.95);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 17px;
  cursor: pointer;
  z-index: 10;
}
.popup-image { width: 100%; height: 170px; overflow: hidden; background: var(--bleu-sombre); }
.popup-image img { width: 100%; height: 100%; object-fit: cover; }
.popup-body { padding: 28px; }
.popup-date {
  color: var(--rouge);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 11px;
}
.popup-body h3 { color: var(--bleu-sombre); font-size: 1.4rem; margin-bottom: 12px; font-weight: 800; }
.popup-body p { color: var(--gris); font-size: 14px; margin-bottom: 20px; }
.popup-actions { display: flex; gap: 11px; flex-wrap: wrap; }
.popup-actions .btn { padding: 12px 22px; font-size: 11.5px; }


/* =============================================================
   LIGHTBOX
   ============================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 31, 61, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  padding: 40px 20px;
  flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 82vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.lightbox-caption { color: var(--blanc); margin-top: 18px; font-size: 14px; text-align: center; }
.lightbox-close {
  position: absolute;
  top: 22px; right: 22px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--blanc);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 21px;
  cursor: pointer;
  transition: all 0.3s;
}
.lightbox-close:hover { background: var(--rouge); }


/* =============================================================
   PAGES INTERIEURES (matchs, sponsoring)
   ============================================================= */

.page-header {
  background: linear-gradient(135deg, var(--bleu-sombre), var(--bleu));
  color: var(--blanc);
  padding: calc(var(--nav-h) + 70px) var(--gouttiere) 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom,
    var(--rouge) 0%, var(--rouge) 33%,
    var(--bleu-clair) 33%, var(--bleu-clair) 66%,
    var(--blanc) 66%);
}
.page-header .surtitre {
  color: var(--or);
  font-size: 11.5px;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.page-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  line-height: 1.1;
}
.page-header p { max-width: 680px; margin: 0 auto; opacity: 0.85; font-size: 1rem; }


/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 1024px) {
  :root { --gouttiere: 28px; }
  .hero-content { padding: calc(var(--nav-h) + 40px) 44px 56px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 26px; }
  .hero-cta-group { align-items: flex-start; flex-direction: row; align-items: center; gap: 20px; }
}

@media (max-width: 1100px) {
  nav#mainNav ul { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 860px) {
  :root { --nav-h: 66px; --gouttiere: 20px; }
  nav#mainNav.open ul {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bleu-sombre);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px var(--gouttiere);
    gap: 16px;
    border-bottom: 2px solid var(--or);
  }

  section { padding: 64px var(--gouttiere); }

  .hero { height: auto; min-height: 100vh; }
  .hero-content {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + 40px) var(--gouttiere) 50px;
    gap: 26px 0;
  }
  .hero-marker { display: none; }
  .hero-meta, .hero-title, .hero-bottom { grid-column: 1; }
  .hero-meta { grid-row: auto; flex-wrap: wrap; gap: 10px; font-size: 10px; letter-spacing: 3px; }
  .hero-meta .sep { display: none; }
  .hero-title { grid-row: auto; font-size: clamp(2.2rem, 10vw, 3.4rem); letter-spacing: -1.5px; }
  .hero-bottom { grid-row: auto; }
  .hero-figures { gap: 26px; }
  .hero-fig-num { font-size: 1.7rem; }
  .hero-year { font-size: 240px; bottom: -30px; right: -25px; }

  .footer-content { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .footer-brand img { margin-left: auto; margin-right: auto; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }

  .actu-modal-body { padding: 24px; }
  .actu-modal-body h2 { font-size: 1.4rem; }
  .actu-modal-hero { height: 200px; }
  .matchcenter-iframe { height: 440px; }
  .page-header { padding: calc(var(--nav-h) + 46px) var(--gouttiere) 50px; }
}

@media (max-width: 480px) {
  .joueurs-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .comite-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .hero-cta-group { flex-direction: column; align-items: flex-start; gap: 12px; }
}


/* =============================================================
   COMPLEMENTS SPECIFIQUES WORDPRESS
   ============================================================= */

/* Neutralise le logo automatique de WordPress dans la navigation */
nav#mainNav .custom-logo,
nav#mainNav .custom-logo-link,
nav#mainNav img.custom-logo { display: none !important; }


/* -------------------------------------------------------------
   BARRE D'ADMINISTRATION WORDPRESS
   Elle occupe 32 px en haut de l'écran quand vous êtes connecté.
   Sans cette correction, la barre de navigation du site passe
   dessous et les titres de section se retrouvent masqués
   lorsqu'on clique sur Équipe, Comité ou Sponsors.
   ------------------------------------------------------------- */

body.admin-bar nav#mainNav { top: 32px; }

body.admin-bar { scroll-padding-top: calc(var(--nav-h) + 32px + 28px); }
body.admin-bar section[id],
body.admin-bar h2[id],
body.admin-bar [id]:target { scroll-margin-top: calc(var(--nav-h) + 32px + 28px); }

body.admin-bar .hero { min-height: calc(100vh - 32px); height: calc(100vh - 32px); }

@media (max-width: 782px) {
  body.admin-bar nav#mainNav { top: 46px; }
  body.admin-bar { scroll-padding-top: calc(var(--nav-h) + 46px + 28px); }
  body.admin-bar section[id],
  body.admin-bar h2[id],
  body.admin-bar [id]:target { scroll-margin-top: calc(var(--nav-h) + 46px + 28px); }
  body.admin-bar .hero { min-height: calc(100vh - 46px); height: auto; }
}


/* -------------------------------------------------------------
   MENU RENDU PAR wp_nav_menu
   ------------------------------------------------------------- */

nav#mainNav ul.menu { display: flex; gap: 20px; list-style: none; align-items: center; margin: 0; padding: 0; }
nav#mainNav ul.menu li { margin: 0; }
nav#mainNav ul.menu a {
  color: var(--blanc); text-decoration: none; font-size: 12px; letter-spacing: 1.4px;
  text-transform: uppercase; font-weight: 500; transition: color 0.3s; white-space: nowrap;
}
nav#mainNav ul.menu a:hover { color: var(--or); }
nav#mainNav ul.menu li.nav-cta a,
nav#mainNav ul.menu a.nav-cta {
  background: var(--rouge); color: var(--blanc); padding: 10px 20px; border-radius: 4px;
  font-weight: 600; letter-spacing: 1px; font-size: 11.5px;
}
nav#mainNav ul.menu li.nav-cta a:hover { background: var(--rouge-sombre); color: var(--blanc); }
nav#mainNav ul.menu li.current-menu-item > a { color: var(--or); }

@media (max-width: 1100px) {
  nav#mainNav ul.menu { display: none; }
  nav#mainNav.open ul.menu {
    display: flex; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--bleu-sombre); flex-direction: column; align-items: flex-start;
    padding: 20px var(--gouttiere); gap: 16px; border-bottom: 2px solid var(--or);
  }
}


/* -------------------------------------------------------------
   CONTENU EDITORIAL DES PAGES ET ARTICLES
   ------------------------------------------------------------- */

.entry-content { max-width: 800px; margin: 0 auto; }
.entry-content p { margin-bottom: 18px; font-size: 16px; line-height: 1.75; }
.entry-content h2 {
  font-family: 'Playfair Display', Georgia, serif; color: var(--bleu-sombre);
  margin: 34px 0 14px; font-weight: 900; font-size: 1.6rem;
}
.entry-content h3 { color: var(--bleu-sombre); margin: 26px 0 12px; font-weight: 700; font-size: 1.2rem; }
.entry-content ul, .entry-content ol { margin: 0 0 18px 22px; }
.entry-content li { margin-bottom: 8px; }
.entry-content img { border-radius: 8px; margin: 22px 0; }
.entry-content blockquote {
  border-left: 4px solid var(--or); padding: 6px 0 6px 20px;
  margin: 22px 0; color: var(--gris); font-style: italic;
}
.entry-content a { color: var(--rouge); font-weight: 600; }

.article-featured { margin: 0 0 30px; border-radius: 10px; overflow: hidden; }
.article-meta {
  color: var(--rouge); font-size: 11.5px; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 14px; font-weight: 700;
}
.retour-lien {
  display: inline-block; margin-top: 40px; color: var(--rouge);
  font-weight: 700; text-decoration: none; font-size: 12px;
  text-transform: uppercase; letter-spacing: 1px;
}

/* Pagination */
.navigation.pagination { margin-top: 50px; text-align: center; }
.navigation .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.navigation .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--gris-bord); border-radius: 6px;
  text-decoration: none; color: var(--bleu-sombre); font-weight: 600; font-size: 13px;
}
.navigation .page-numbers.current,
.navigation .page-numbers:hover { background: var(--rouge); color: var(--blanc); border-color: var(--rouge); }

/* Classes d'alignement WordPress */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 22px 18px 0; }
.alignright { float: right; margin: 0 0 18px 22px; }
.alignwide, .alignfull { max-width: 100%; }
.wp-caption { max-width: 100%; margin: 22px 0; }
.wp-caption-text, .wp-element-caption {
  font-size: 12.5px; color: var(--gris); font-style: italic; text-align: center; margin-top: 8px;
}
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* Message quand une section est vide */
.section-vide {
  grid-column: 1 / -1; text-align: center; color: var(--gris);
  font-size: 14px; padding: 30px 20px; background: var(--gris-clair);
  border-radius: 8px; border: 1px dashed var(--gris-bord);
}


/* =============================================================
   RUBAN : LOGO ET BOUTONS DE RESEAUX SOCIAUX
   ============================================================= */

/* Blason du club dans le ruban.
   Aucun cadre, aucun fond, aucune marge, le logo seul.
   Si un rectangle blanc apparaît malgré tout autour du
   blason, c'est que le fichier image possède un fond blanc.
   La solution est de téléverser une version PNG à fond
   transparent, voir la marche à suivre. */
.nav-blason {
  height: 52px;
  width: auto;
  max-width: 50px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* La bande tricolore devient un séparateur entre logo et texte */
.nav-logo .nav-mark { margin: 0 2px; }

/* Bloc de droite : menu, réseaux, bouton mobile */
.nav-droite {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.nav-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanc);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 169, 97, 0.35);
  transition: all 0.3s;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-social a:hover {
  background: var(--or);
  border-color: var(--or);
  color: var(--bleu-sombre);
  transform: translateY(-2px);
}
.nav-social svg { display: block; }

@media (max-width: 1100px) {
  .nav-blason { height: 42px; max-width: 40px; }
  .nav-droite { gap: 12px; }
  .nav-social {
    padding-left: 0;
    border-left: none;
    gap: 6px;
  }
  .nav-social a { width: 30px; height: 30px; }
  /* Le menu déroulant s'ouvre sous tout le ruban */
  nav#mainNav.open ul.menu { left: 0; }
}

@media (max-width: 420px) {
  .nav-title small { display: none; }
  .nav-social a { width: 28px; height: 28px; }
  .nav-social svg { width: 14px; height: 14px; }
}


/* =============================================================
   SPONSOR D'UN BALLON DE MATCH
   ============================================================= */

#ballon {
  background: var(--bleu-sombre);
  color: var(--blanc);
  position: relative;
  overflow: hidden;
}
#ballon::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rouge), var(--or), var(--bleu));
}
#ballon .section-header h2 { color: var(--blanc); }
#ballon .section-header p { color: rgba(255, 255, 255, 0.78); }
#ballon .section-header .surtitre { color: var(--or); }

/* Les trois formules */
.ballons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}
.ballon-carte {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  padding: 30px 24px 26px;
  text-align: center;
  transition: all 0.3s;
  border-top: 4px solid var(--rouge);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ballon-carte:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}

/* Rangée de ballons. Le dessin est un SVG, plus fidèle
   qu'un rond CSS. Trois par ligne au maximum. */
.ballon-icones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  max-width: 140px;
  min-height: 84px;
  align-items: center;
}
.ballon-svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 3px rgba(7, 31, 61, 0.2));
}

.ballon-nom {
  display: inline-block;
  background: var(--rouge);
  color: var(--blanc);
  padding: 7px 20px;
  border-radius: 4px;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}
.ballon-prix {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--bleu-sombre);
  line-height: 1;
  letter-spacing: -1px;
}
.ballon-prix .devise { font-size: 1.1rem; font-weight: 700; margin-right: 4px; }
.ballon-barre {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--gris);
}
.ballon-barre s { text-decoration-color: var(--rouge); }
.ballon-carte .btn { margin-top: auto; width: 100%; }
.ballon-carte .ballon-prix { margin-bottom: 4px; }
.ballon-carte .ballon-barre { margin-bottom: 20px; min-height: 18px; }

/* Les contreparties */
.contreparties {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 56px auto 0;
  padding-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.contrepartie {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contrepartie-icone {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--rouge);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanc);
  flex-shrink: 0;
  background: rgba(198, 54, 60, 0.15);
}
.contrepartie h4 {
  color: var(--rouge-clair, #E85560);
  font-size: 1.05rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contrepartie h4 em { font-style: normal; color: var(--blanc); }
.contrepartie p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

/* Calendrier des matchs à domicile */
#calendrier { background: var(--gris-clair); }
.calendrier-bloc {
  max-width: 820px;
  margin: 0 auto;
  background: var(--blanc);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gris-bord);
  box-shadow: 0 4px 24px rgba(12, 64, 118, 0.1);
}
.calendrier-entete {
  background: var(--rouge);
  color: var(--blanc);
  padding: 14px 22px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
}
.match-ligne {
  display: grid;
  grid-template-columns: 150px 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px 22px;
  border-bottom: 1px solid var(--gris-clair);
}
.match-ligne:last-child { border-bottom: none; }
.match-ligne:nth-child(even) { background: #FBFAF7; }
.match-date {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gris);
  letter-spacing: 0.5px;
}
.match-domicile {
  font-weight: 800;
  color: var(--rouge);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.match-vs {
  background: var(--bleu-sombre);
  color: var(--blanc);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 3px;
  letter-spacing: 1px;
}
.match-adversaire { font-size: 13.5px; color: var(--bleu-sombre); font-weight: 600; }

@media (max-width: 700px) {
  .match-ligne {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
      "date date date"
      "dom  vs   adv";
    gap: 8px 10px;
    padding: 14px 16px;
  }
  .match-date { grid-area: date; }
  .match-domicile { grid-area: dom; font-size: 12.5px; }
  .match-vs { grid-area: vs; }
  .match-adversaire { grid-area: adv; font-size: 12.5px; text-align: right; }
  .contreparties { margin-top: 40px; padding-top: 34px; }
}


/* =============================================================
   GALERIE PAR SUJET
   ============================================================= */

/* Raccourcis vers les sujets, en haut de la page galerie */
.sujets-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.sujets-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--gris-bord);
  border-radius: 30px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bleu-sombre);
  background: var(--blanc);
  transition: all 0.3s;
}
.sujets-nav a:hover {
  background: var(--rouge);
  border-color: var(--rouge);
  color: var(--blanc);
}
.sujets-nav a span {
  background: var(--gris-clair);
  color: var(--gris);
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
}
.sujets-nav a:hover span { background: rgba(255,255,255,0.25); color: var(--blanc); }

/* En-tête de chaque sujet */
.sujet-bloc { padding-top: 70px; padding-bottom: 70px; }
.sujet-entete {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gris-bord);
  position: relative;
}
.sujet-entete::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 60px; height: 2px;
  background: var(--rouge);
}
.sujet-entete h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--bleu-sombre);
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.sujet-entete p {
  color: var(--gris);
  font-size: 13.5px;
  margin-top: 6px;
  max-width: 620px;
}
.sujet-compteur {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .sujet-entete { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sujet-bloc { padding-top: 50px; padding-bottom: 50px; }
}


/* =============================================================
   SECTION EVENEMENTS
   ============================================================= */

#evenements { background: var(--blanc); position: relative; }
#evenements::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rouge), var(--or), var(--bleu));
}

.evenements-liste {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 940px;
  margin: 0 auto;
}

.evenement-ligne {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: var(--blanc);
  border: 1px solid var(--gris-bord);
  border-left: 4px solid var(--rouge);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
.evenement-ligne:hover {
  transform: translateX(4px);
  box-shadow: 0 14px 34px rgba(12, 64, 118, 0.16);
  border-left-color: var(--or);
}

.evenement-visuel {
  background: var(--bleu-sombre);
  overflow: hidden;
  position: relative;
  min-height: 150px;
}
.evenement-visuel img { width: 100%; height: 100%; object-fit: cover; }
.evenement-visuel.vide::after {
  content: '📅';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  opacity: 0.4;
}

.evenement-corps { padding: 22px 24px; display: flex; flex-direction: column; }
.evenement-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 10px;
}
.evenement-quand, .evenement-ou {
  font-size: 12px;
  color: var(--rouge);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.evenement-ou { color: var(--gris); font-weight: 600; }
.evenement-corps h3 {
  font-size: 1.2rem;
  color: var(--bleu-sombre);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}
.evenement-corps p {
  color: var(--gris);
  font-size: 13.5px;
  margin-bottom: 14px;
  flex: 1;
}
.evenement-corps .actu-lien { align-self: flex-start; }

@media (max-width: 700px) {
  .evenement-ligne { grid-template-columns: 1fr; }
  .evenement-visuel { min-height: 160px; }
  .evenement-corps { padding: 18px; }
  .evenement-ligne:hover { transform: none; }
}


/* =============================================================
   LOGOS, ABSENCE DE FOND
   =============================================================
   Rappel : aucune bordure, aucun fond, aucune marge autour des
   logos. Si un rectangle blanc apparaît malgré cela, il vient du
   fichier image lui-même et non de la mise en page. */

.nav-blason,
.footer-brand img {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Le logo du pied de page, sans cadre et un peu plus grand */
.footer-brand img {
  height: 88px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
}
@media (max-width: 860px) {
  .footer-brand img { height: 76px; }
}


/* =============================================================
   VIGNETTES DE SUJET, GALERIE
   ============================================================= */

.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.album-carte {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--blanc);
  border: 1px solid var(--gris-bord);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.35s;
  box-shadow: 0 3px 16px rgba(12, 64, 118, 0.08);
}
.album-carte:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px rgba(12, 64, 118, 0.2);
  border-color: var(--or);
}

.album-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bleu-sombre);
}
.album-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.album-carte:hover .album-image img { transform: scale(1.06); }

/* Voile sombre en bas de la vignette, pour le compteur */
.album-image::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(7, 31, 61, 0.75), transparent);
  pointer-events: none;
}

.album-compteur {
  position: absolute;
  left: 11px;
  bottom: 10px;
  z-index: 2;
  background: var(--rouge);
  color: var(--blanc);
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.album-corps { padding: 15px 17px 17px; }
.album-titre {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--bleu-sombre);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.album-texte {
  color: var(--gris);
  font-size: 12.5px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.album-carte .actu-lien { display: inline-block; }

/* Sur la page d'un sujet, les cartes de rappel sont plus compactes */
.albums-grid .album-carte .album-titre { font-size: 1.15rem; margin-bottom: 0; }

@media (max-width: 600px) {
  .albums-grid { grid-template-columns: 1fr; gap: 20px; }
  .album-carte:hover { transform: none; }
}


/* =============================================================
   POP-UP D'ANNONCE, VERSION EPUREE
   ============================================================= */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 31, 61, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 24px;
}
.popup-overlay.open { display: flex; animation: popupFond 0.35s ease-out; }

.popup-carte {
  position: relative;
  background: var(--blanc);
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  animation: popupEntree 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fin liseré tricolore en haut de la carte */
.popup-carte::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 3;
  background: linear-gradient(90deg,
    var(--rouge) 0 33%, var(--bleu-clair) 33% 66%, var(--or) 66%);
}

.popup-fermer {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 5;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(7, 31, 61, 0.08);
  color: var(--bleu-sombre);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
}
.popup-fermer:hover { background: var(--rouge); color: var(--blanc); transform: rotate(90deg); }

.popup-visuel {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bleu-sombre);
}
.popup-visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }

.popup-contenu { padding: 32px 34px 30px; text-align: center; }

.popup-date {
  display: inline-block;
  background: rgba(198, 54, 60, 0.1);
  color: var(--rouge);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}

.popup-contenu h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--bleu-sombre);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.popup-contenu p {
  color: var(--gris);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.popup-bouton {
  display: block;
  width: 100%;
  padding: 15px 24px;
  background: var(--rouge);
  color: var(--blanc);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all 0.3s;
}
.popup-bouton:hover {
  background: var(--rouge-sombre);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(198, 54, 60, 0.35);
}

.popup-plus-tard {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: none;
  border: none;
  color: var(--gris);
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.25s;
}
.popup-plus-tard:hover { color: var(--bleu-sombre); }

@keyframes popupFond {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes popupEntree {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
  .popup-contenu { padding: 26px 22px 24px; }
  .popup-contenu h3 { font-size: 1.35rem; }
}


/* =============================================================
   ONGLETS, PAGE DES MATCHS
   ============================================================= */

.onglets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
}
.onglet {
  padding: 13px 28px;
  border: 1px solid var(--gris-bord);
  background: var(--blanc);
  color: var(--bleu-sombre);
  border-radius: 30px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}
.onglet:hover { border-color: var(--or); }
.onglet.actif {
  background: var(--rouge);
  border-color: var(--rouge);
  color: var(--blanc);
  box-shadow: 0 8px 22px rgba(198, 54, 60, 0.3);
}
.onglet-contenu { display: none; }
.onglet-contenu.actif { display: block; animation: ongletEntree 0.35s ease-out; }
@keyframes ongletEntree {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* =============================================================
   SUPPORTS DE PARTENARIAT
   ============================================================= */

.supports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
.support-carte {
  background: var(--gris-clair);
  border-radius: 10px;
  padding: 22px 22px 20px;
  border-left: 4px solid var(--or);
  transition: all 0.3s;
}
.support-carte:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(12, 64, 118, 0.13);
  border-left-color: var(--rouge);
}
.support-titre {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rouge);
  margin-bottom: 8px;
}
.support-carte p { color: var(--gris); font-size: 13.5px; line-height: 1.55; margin: 0; }


/* =============================================================
   CARTE DE MEMBRE
   ============================================================= */

.carte-membre {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 46px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.carte-membre-visuel { display: flex; justify-content: center; }

/* Reproduction stylisée d'une carte de membre */
.carte-membre-badge {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 85 / 54;
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--blanc);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bleu-sombre) 0%, var(--bleu) 60%, var(--rouge-sombre) 100%);
  box-shadow: 0 18px 40px rgba(7, 31, 61, 0.35);
  transform: rotate(-4deg);
  transition: transform 0.4s;
}
.carte-membre-badge:hover { transform: rotate(0deg) scale(1.03); }
.carte-membre-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom,
    var(--rouge) 0 33%, var(--bleu-clair) 33% 66%, var(--blanc) 66%);
}
.carte-membre-mention {
  font-size: 9.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--or-clair);
  font-weight: 700;
}
.carte-membre-club {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.1;
}
.carte-membre-annee {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
}
.carte-membre-prix {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--or-clair);
  letter-spacing: -0.5px;
}

.carte-membre-corps h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 900;
  color: var(--bleu-sombre);
  letter-spacing: -1px;
  margin: 10px 0 14px;
}
.carte-membre-corps > p { color: var(--gris); font-size: 15px; line-height: 1.65; margin-bottom: 20px; }

.carte-membre-liste { list-style: none; margin: 0 0 26px; padding: 0; }
.carte-membre-liste li {
  padding: 9px 0 9px 28px;
  position: relative;
  font-size: 14px;
  color: var(--noir);
  border-bottom: 1px solid var(--gris-bord);
}
.carte-membre-liste li:last-child { border-bottom: none; }
.carte-membre-liste li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 9px;
  color: var(--or);
  font-weight: 700;
}

@media (max-width: 780px) {
  .carte-membre { grid-template-columns: 1fr; gap: 32px; }
  .carte-membre-badge { transform: rotate(0deg); }
  .carte-membre-corps { text-align: center; }
  .carte-membre-liste { text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* Adresse postale du club, dans le pied de page */
.footer-adresse {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-top: 14px;
}


/* =============================================================
   SECTION EVENEMENTS, ETAT VIDE
   ============================================================= */

.evenements-vide {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 46px 32px;
  background: var(--gris-clair);
  border: 1px dashed var(--gris-bord);
  border-radius: 14px;
}
.evenements-vide-icone {
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--blanc);
  border: 2px solid var(--or);
  color: var(--rouge);
  display: flex;
  align-items: center;
  justify-content: center;
}
.evenements-vide h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--bleu-sombre);
  margin-bottom: 10px;
}
.evenements-vide p { color: var(--gris); font-size: 14px; line-height: 1.6; margin: 0; }
.evenements-vide-aide {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px solid var(--gris-bord);
  font-size: 12.5px !important;
  color: var(--bleu-sombre) !important;
}


/* Compteur dans les onglets */
.onglet-compteur {
  display: inline-block;
  margin-left: 8px;
  background: rgba(7, 31, 61, 0.1);
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
}
.onglet.actif .onglet-compteur { background: rgba(255, 255, 255, 0.25); }

/* Phrase d'introduction d'une formation */
.formation-intro {
  text-align: center;
  color: var(--gris);
  font-size: 14.5px;
  max-width: 680px;
  margin: 0 auto 34px;
}
