/* ==========================================================================
   SRRC — Swiss Rock'n'Roll Confederation
   Feuille de style principale — Charte 2022 (rouge #E42320, police Effra)
   Utilisée par l'aperçu HTML ET le thème WordPress.
   ========================================================================== */

/* ---------- Polices ---------- */
@font-face {
  font-family: "Effra";
  src: url("../fonts/Effra_Std_Rg.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Effra";
  src: url("../fonts/Effra_Std_Lt.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
/* Police d'affichage (titres) — condensée très grasse, esprit « affiche » / sport */
@font-face {
  font-family: "Anton";
  src: url("../fonts/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --red: #E42320;
  --red-dark: #B71A17;
  --red-soft: #fbe9e8;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --grey: #6b6b6b;
  --line: #e6e6e6;
  --bg-soft: #f6f6f7;
  --white: #ffffff;
  --black: #111111;

  --header-h: 88px;
  --maxw: 1200px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .16);
  --font: "Effra", "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 300;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red-dark); }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: #fff; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 { font-weight: 400; line-height: 1.1; letter-spacing: -.01em; }
.h-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section--ink .h-kicker { color: #ff6b67; }
h2.title { font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; font-weight: 400; }
h2.title b, h1 b { font-weight: 400; color: var(--red); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); }
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .lead { max-width: 720px; margin: 18px auto 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--font); font-size: 15px; font-weight: 400;
  letter-spacing: .04em; text-transform: uppercase;
  border-radius: 50px; border: 2px solid var(--red);
  background: var(--red); color: #fff !important;
  cursor: pointer; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(228,35,32,.3); }
.btn--ghost { background: transparent; color: var(--red) !important; }
.btn--ghost:hover { background: var(--red); color: #fff !important; }
.btn--white { background: #fff; color: var(--red) !important; border-color: #fff; }
.btn--white:hover { background: rgba(255,255,255,.85); border-color: transparent; box-shadow: 0 12px 24px rgba(0,0,0,.2); }
.btn--outline-white { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.7); }
.btn--outline-white:hover { background: #fff; color: var(--red) !important; }
.btn--sm { padding: 11px 22px; font-size: 13px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1002;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.brand .logo-white { display: block; }
.brand .logo-color { display: none; }

/* État transparent (sur le hero) */
.site-header.is-top { background: transparent; }
.site-header.is-top .nav__link { color: #fff; }
.site-header.is-top .nav__link:hover { color: #fff; }
.site-header.is-top .lang-switch { color: #fff; border-color: rgba(255,255,255,.5); }
.site-header.is-top .burger span { background: #fff; }

/* État solide (au scroll) */
.site-header.is-solid {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  height: 72px;
  backdrop-filter: saturate(180%) blur(6px);
}
.site-header.is-solid .brand .logo-white { display: none; }
.site-header.is-solid .brand .logo-color { display: block; }
.site-header.is-solid .brand img { height: 40px; }
.site-header.is-solid .nav__link { color: var(--ink); }
.site-header.is-solid .lang-switch { color: var(--ink); border-color: var(--line); }
.site-header.is-solid .burger span { background: var(--ink); }

/* ---------- Navigation ---------- */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; font-size: 15px; font-weight: 400;
  text-transform: uppercase; letter-spacing: .03em; color: #fff;
  white-space: nowrap; cursor: pointer;
}
.nav__link .caret { width: 9px; height: 9px; opacity: .8; transition: transform .25s var(--ease); }
.nav__item:hover .caret { transform: rotate(180deg); }
.nav__link:hover { color: var(--red); }
.site-header.is-top .nav__link:hover { color: #fff; opacity: .8; }

/* Mega / sous-menu */
.submenu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 240px; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transition: all .22s var(--ease);
  border-top: 3px solid var(--red);
}
.nav__item:hover .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--ink); font-size: 15px; font-weight: 300; text-transform: none; letter-spacing: 0;
}
.submenu a:hover { background: var(--red-soft); color: var(--red); }
.submenu__group + .submenu__group { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); }
.submenu__label { padding: 6px 14px 2px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }

/* Actions header */
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lang-switch {
  display: flex; align-items: center; border: 1px solid var(--line); border-radius: 50px; overflow: hidden;
  font-size: 13px; font-weight: 400; color: #fff;
}
.lang-switch button {
  background: none; border: none; color: inherit; font-family: var(--font);
  padding: 7px 12px; cursor: pointer; letter-spacing: .05em; font-weight: 400;
}
.lang-switch button.active { background: var(--red); color: #fff; }
/* Variante liens (sélecteur Polylang sous WordPress) */
.lang-switch a { background: none; color: inherit; font-family: var(--font); padding: 7px 12px; letter-spacing: .05em; font-weight: 400; text-decoration: none; }
.lang-switch a.active { background: var(--red); color: #fff; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s var(--ease); }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
  /* Photo du hero en haut ; si "hero.jpg" est absent, le dégradé rouge ci-dessous s'affiche. */
  background:
    url("../img/hero.jpg") center/cover no-repeat,
    radial-gradient(120% 90% at 75% 15%, #f0413d 0%, rgba(240,65,61,0) 45%),
    radial-gradient(120% 110% at 10% 100%, #a8201d 0%, rgba(168,32,29,0) 50%),
    linear-gradient(135deg, #e42320 0%, #cf1f1c 55%, #b71a17 100%);
}
/* Fondu sombre (léger voile rouge) pour garder le texte blanc lisible sur la photo */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(22,5,4,.82) 0%, rgba(22,5,4,.46) 42%, rgba(22,5,4,.10) 74%, rgba(22,5,4,0) 100%),
    linear-gradient(180deg, rgba(22,5,4,.22) 0%, rgba(22,5,4,0) 32%, rgba(15,3,2,.55) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 920px; padding: 150px 24px 100px clamp(24px, 6vw, 112px); }
.hero h1 {
  font-family: "Anton", "Arial Narrow", Impact, sans-serif;
  font-style: italic; font-weight: 400;
  font-size: clamp(44px, 7vw, 92px); line-height: .92; text-transform: uppercase;
  letter-spacing: .005em; text-shadow: 0 4px 30px rgba(0,0,0,.28);
}
.hero h1 .nowrap { white-space: normal; }
@media (min-width: 901px) { .hero h1 .nowrap { white-space: nowrap; } }
.hero h1 .thin { font-weight: 400; }
.hero h1 b { color: var(--red); font-weight: 400; font-style: italic; }
.hero-kicker { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-kicker::before { content: ""; width: 42px; height: 3px; background: var(--red); border-radius: 3px; flex-shrink: 0; }
.hero p.hero-sub { font-size: clamp(16px, 1.6vw, 19px); margin-top: 22px; max-width: 600px; font-weight: 300; opacity: .95; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__disciplines {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 54px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.25);
}
.hero__disciplines span { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; display: flex; align-items: center; gap: 8px; }
.hero__disciplines span::before { content: ""; width: 7px; height: 7px; background: #fff; border-radius: 50%; }
.scroll-hint {
  position: fixed; bottom: calc(30px + env(safe-area-inset-bottom, 0px)); right: clamp(20px, 5vw, 64px); left: auto; transform: none; z-index: 50;
  color: #fff; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .85;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.scroll-hint.is-hidden { opacity: 0; visibility: hidden; }

/* ==========================================================================
   ACCÈS RAPIDE (par profil) — « Je suis… »
   ========================================================================== */
.quick { padding: 40px 0; background: #fff; border-bottom: 1px solid var(--line); }
.quick__label { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); margin-bottom: 18px; }
.quick__row { display: flex; flex-wrap: wrap; gap: 12px; }
.quick__item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 50px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 400; transition: color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.quick__item:hover { color: var(--red); border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.quick__item { font-family: var(--font); cursor: pointer; }
.quick__item svg { width: 20px; height: 20px; opacity: .65; transition: opacity .2s var(--ease); flex-shrink: 0; }
.quick__item:hover svg, .quick__item.active svg { opacity: 1; }
.quick__item.active { color: var(--red); border-color: var(--red); box-shadow: 0 0 0 3px rgba(228,35,32,.14); }
/* Sous-catégories contextuelles */
.quick__sub { display: none; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.quick__sub.is-active { display: flex; animation: quickfade .25s var(--ease); }
@keyframes quickfade { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.quick__chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; background: var(--red); color: #fff !important; border-radius: 50px; font-size: 15px; font-weight: 400; transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.quick__chip:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(228,35,32,.28); }
@media (max-width: 720px) {
  .quick__item { font-size: 15px; padding: 11px 18px; }
  .quick__chip { font-size: 14px; padding: 10px 16px; }
}
.scroll-hint .mouse { width: 22px; height: 36px; border: 2px solid #fff; border-radius: 12px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 1; top: 7px; } 70% { opacity: 0; top: 16px; } 100% { opacity: 0; } }

/* ==========================================================================
   PAGE HERO (pages internes)
   ========================================================================== */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 70px) 0 64px; color: #fff;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='500' viewBox='0 0 1440 500'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='42' stroke-linecap='round'%3E%3Cpath d='M-120 120 C 360 30 620 260 1020 150 S 1560 120 1720 240'/%3E%3Cpath d='M-120 380 C 420 270 720 520 1120 380 S 1600 360 1720 470'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat,
    radial-gradient(120% 140% at 80% 0%, #f0413d 0%, rgba(240,65,61,0) 50%),
    linear-gradient(120deg, #e42320 0%, #c41d1a 100%);
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(120,8,6,.18), rgba(120,8,6,.05)); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { font-family: "Anton", "Arial Narrow", Impact, sans-serif; font-style: italic; font-size: clamp(40px, 6vw, 72px); text-transform: uppercase; font-weight: 400; letter-spacing: .005em; line-height: .95; }
.page-hero p { margin-top: 12px; font-size: 19px; max-width: 640px; opacity: .95; font-weight: 300; }
.breadcrumb { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-bottom: 16px; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { opacity: .7; color: #fff; }


/* ==========================================================================
   CARDS / GRILLES
   ========================================================================== */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #ddd; }

/* En-tête de catégorie des news : swoosh charte + icône trait blanc */
.card__cat {
  position: relative; aspect-ratio: 16/7; display: flex; align-items: center; justify-content: center;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='500' viewBox='0 0 1440 500'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.10' stroke-width='42' stroke-linecap='round'%3E%3Cpath d='M-120 120 C 360 30 620 260 1020 150 S 1560 120 1720 240'/%3E%3Cpath d='M-120 380 C 420 270 720 520 1120 380 S 1600 360 1720 470'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat,
    linear-gradient(120deg, #e42320 0%, #c41d1a 100%);
}
.card:hover .card__cat svg { transform: scale(1.12) rotate(-4deg); }
.card__cat svg { width: 64px; height: 64px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.card__cat .card__tag { top: auto; bottom: 12px; background: #fff; color: var(--red); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 50px; }
.card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card__date { font-size: 13px; color: var(--grey); letter-spacing: .05em; margin-bottom: 8px; }
.card__body h3 { font-size: 21px; margin-bottom: 10px; font-weight: 400; }
.card__body p { color: var(--ink-soft); font-size: 15.5px; }
.card__link { margin-top: auto; padding-top: 16px; font-weight: 400; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 8px; }
.card__link .arrow { transition: transform .25s var(--ease); }
.card:hover .card__link .arrow { transform: translateX(5px); }

/* Feature cards (disciplines / piliers) */
.feature {
  text-align: left; padding: 36px 30px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); transition: all .3s var(--ease); height: 100%;
}
.feature:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-4px); }
.feature__icon {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 22px;
}
.feature__icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 22px; margin-bottom: 12px; font-weight: 400; }
.feature p { color: var(--ink-soft); font-size: 16px; }

/* Cartes disciplines cliquables (sans icône) */
a.feature { color: inherit; text-decoration: none; display: block; }
.feature--discipline h3 { font-size: clamp(26px, 3vw, 34px); }
.feature__more { margin-top: 20px; display: inline-flex; align-items: center; gap: 9px; color: var(--red); font-weight: 400; text-transform: uppercase; font-size: 13px; letter-spacing: .07em; }
.feature__more .arrow { transition: transform .25s var(--ease); }
a.feature:hover .feature__more .arrow { transform: translateX(5px); }

/* ---------- News : liste fine (sans images) ---------- */
.news-list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.news-row { display: flex; align-items: center; gap: 22px; padding: 22px 6px; border-bottom: 1px solid var(--line); color: var(--ink); transition: padding .2s var(--ease), background .2s var(--ease); }
.news-row:hover { background: #fff; padding-left: 16px; padding-right: 16px; box-shadow: var(--shadow); border-radius: 12px; border-color: transparent; }
.news-row__date { flex: 0 0 92px; font-size: 13px; color: var(--grey); letter-spacing: .04em; }
.news-row__title { flex: 1; font-size: 18px; font-weight: 400; }
.news-row:hover .news-row__title { color: var(--red); }
.news-row__cat { flex: 0 0 auto; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); background: var(--red-soft); padding: 5px 11px; border-radius: 50px; }
.news-row__arrow { flex: 0 0 auto; color: var(--red); font-size: 18px; transition: transform .25s var(--ease); }
.news-row:hover .news-row__arrow { transform: translateX(4px); }

/* ---------- Compte à rebours (prochaine compétition) ---------- */
.countdown { display: flex; justify-content: center; gap: clamp(14px, 4vw, 46px); margin: 30px 0 34px; }
.countdown__unit { min-width: 62px; }
.countdown__unit b { display: block; font-family: "Anton", "Arial Narrow", sans-serif; font-style: italic; font-weight: 400; font-size: clamp(38px, 6vw, 70px); line-height: 1; color: #fff; }
/* Chiffres du compte à rebours : case de largeur fixe (0.494em = largeur du
   chiffre le plus large dans Anton) pour que le compteur ne bouge plus. */
.countdown__digit { display: inline-block; width: .495em; margin: 0; font-size: inherit; letter-spacing: 0; text-align: center; }
.countdown__unit > span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* ---------- Bande rouge pleine largeur (remplace le carré arrondi) ---------- */
.section--red { background: linear-gradient(120deg, #e42320 0%, #b71a17 100%); color: #fff; position: relative; overflow: hidden; }
.section--red::before { content: ""; position: absolute; inset: 0; opacity: .45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='400' viewBox='0 0 1440 400'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.14' stroke-width='40' stroke-linecap='round'%3E%3Cpath d='M-80 110 C 360 20 620 250 1020 130 S 1560 110 1700 230'/%3E%3Cpath d='M-80 320 C 420 210 720 430 1120 320 S 1560 300 1700 390'/%3E%3C/g%3E%3C/svg%3E") center/cover; }
.section--red .container { position: relative; z-index: 2; text-align: center; }
.section--red h2 { font-size: clamp(28px, 4vw, 46px); text-transform: uppercase; margin-bottom: 14px; }
.section--red p { max-width: 580px; margin: 0 auto 30px; opacity: .95; font-size: 18px; }
.section--red .hero__cta { justify-content: center; margin-top: 0; }

/* ==========================================================================
   CALENDRIER (filtres + ajout à l'agenda)
   ========================================================================== */
.cal-filters { display: flex; flex-wrap: wrap; gap: 22px 36px; align-items: flex-end; margin-bottom: 38px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.filter-group__label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; }
.filter-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { font-family: var(--font); font-size: 14px; padding: 8px 16px; border: 1px solid var(--line); background: #fff; border-radius: 50px; cursor: pointer; color: var(--ink-soft); transition: all .2s var(--ease); white-space: nowrap; }
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.filter-btn__count { display: inline-block; margin-left: 7px; font-size: 11.5px; font-weight: 600; color: var(--grey); }
.filter-btn.active .filter-btn__count { color: rgba(255,255,255,.75); }

/* Événement déjà passé (visible via le filtre « Passés » / « Toute la saison ») */
.cal-event.is-past { background: var(--bg-soft); }
.cal-event.is-past .cal-date b { color: var(--grey); }
.cal-event.is-past .cal-info h3 { color: var(--ink-soft); }
.cal-search { flex: 1; min-width: 220px; }
.cal-search input { width: 100%; padding: 11px 18px; border: 1px solid var(--line); border-radius: 50px; font-family: var(--font); font-size: 15px; color: var(--ink); }
.cal-search input:focus { outline: none; border-color: var(--red); }

.cal-list { display: flex; flex-direction: column; gap: 14px; }
.cal-event { display: flex; align-items: center; gap: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.cal-event:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.cal-date { flex: 0 0 78px; text-align: center; border-right: 1px solid var(--line); padding-right: 20px; }
.cal-date b { display: block; font-family: "Anton", "Arial Narrow", sans-serif; font-style: italic; font-size: 36px; line-height: 1; color: var(--red); }
.cal-date span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.cal-date small { display: block; font-size: 11px; color: var(--grey); margin-top: 2px; }
.cal-info { flex: 1; min-width: 0; }
.cal-info h3 { font-size: 19px; font-weight: 400; margin-bottom: 8px; }
.cal-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--grey); margin-bottom: 10px; }
.cal-meta__item { display: flex; align-items: center; gap: 6px; }
.cal-meta__item svg { width: 15px; height: 15px; opacity: .7; }
.cal-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 11px; border-radius: 50px; white-space: nowrap; }
.tag--comp { background: var(--red-soft); color: var(--red); }
.tag--intl { background: #ece9ff; color: #5a3ec8; }
.tag--regio { background: #e2f4f1; color: #0e8c7e; }
.tag--stage { background: #eaf1ff; color: #2b59c3; }
.tag--formation { background: #e9f8ef; color: #1c9b54; }
.tag--ag { background: #fff3e3; color: #c2790f; }
.tag--disc { background: #f1f1f2; color: var(--ink-soft); }
.cal-actions { flex: 0 0 auto; display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.cal-add { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.cal-add svg { width: 16px; height: 16px; }
.cal-empty { display: none; text-align: center; padding: 56px 20px; color: var(--grey); }
.cal-empty b { display: block; color: var(--ink); font-size: 20px; margin-bottom: 8px; }

@media (max-width: 720px) {
  .cal-event { flex-wrap: wrap; gap: 14px 18px; padding: 18px; }
  .cal-date { flex: 0 0 auto; display: flex; align-items: baseline; gap: 8px; border-right: none; border-bottom: none; padding-right: 0; text-align: left; }
  .cal-date b { font-size: 26px; }
  .cal-date span, .cal-date small { margin-top: 0; }
  .cal-info { flex: 1 1 100%; order: 3; }
  .cal-actions { flex: 1 1 100%; order: 4; }
  .cal-actions .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   SPLIT (texte + image)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.split__media .badge {
  position: absolute; bottom: -22px; right: -22px; background: var(--red); color: #fff;
  border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-lg); max-width: 220px;
}
.split__media .badge b { font-size: 34px; display: block; line-height: 1; }
.split__media .badge span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.split__body h2 { margin-bottom: 18px; }
/* Paragraphes uniformes dans les blocs de contenu (même taille/couleur partout) */
.split__body p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.split__body p + p { margin-top: 16px; }
.split__body .lead { margin-bottom: 18px; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: clamp(34px, 5vw, 54px); font-weight: 400; color: var(--red); line-height: 1; }
.section--ink .stat b { color: #fff; }
.stat span { display: block; margin-top: 10px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.section--ink .stat span { color: rgba(255,255,255,.7); }

/* ==========================================================================
   CTA bandeau
   ========================================================================== */
.cta-band { background: var(--red); color: #fff; border-radius: 22px; padding: 60px; text-align: center; position: relative; overflow: hidden; }
.cta-band { background: linear-gradient(120deg, #e42320 0%, #b71a17 100%); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='400' viewBox='0 0 1200 400'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.12' stroke-width='36' stroke-linecap='round'%3E%3Cpath d='M-80 100 C 300 20 520 240 880 130 S 1300 100 1400 220'/%3E%3Cpath d='M-80 300 C 360 200 600 420 980 300 S 1340 290 1400 380'/%3E%3C/g%3E%3C/svg%3E") center/cover; opacity: .5; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(26px, 3.5vw, 40px); text-transform: uppercase; margin-bottom: 14px; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; opacity: .95; font-size: 18px; }
.cta-band .hero__cta { justify-content: center; margin-top: 0; }

/* ==========================================================================
   GALERIE
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.08); }
.gallery a:nth-child(1), .gallery a:nth-child(6) { grid-row: span 2; aspect-ratio: 1/2; }

/* ==========================================================================
   FAQ accordéon
   ========================================================================== */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 19px; font-weight: 400; color: var(--ink);
  padding: 24px 50px 24px 0; position: relative; display: flex; gap: 14px;
}
.faq-q:hover { color: var(--red); }
.faq-q .plus { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; flex-shrink: 0; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--red); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-q .plus::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq-q .plus::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq-item.open .faq-q .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a__inner { padding: 0 50px 26px 0; color: var(--ink-soft); font-size: 16.5px; }
.faq-item.open .faq-a { max-height: 600px; }

/* ==========================================================================
   PROSE (pages de contenu riche)
   ========================================================================== */
.prose { max-width: 800px; }
.prose h2 { font-size: 30px; text-transform: none; margin: 40px 0 16px; font-weight: 400; }
.prose h3 { font-size: 22px; margin: 28px 0 12px; color: var(--red); font-weight: 400; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose ul.bullets { margin: 0 0 18px; padding-left: 0; }
.prose ul.bullets li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-soft); }
.prose ul.bullets li::before { content: ""; position: absolute; left: 0; top: 11px; width: 9px; height: 9px; background: var(--red); border-radius: 50%; }

/* Liste de liens / téléchargements */
.link-list { display: grid; gap: 12px; }
.link-row {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; transition: all .25s var(--ease); color: var(--ink);
}
.link-row:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateX(4px); color: var(--ink); }
.link-row__icon { width: 42px; height: 42px; border-radius: 10px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.link-row__icon svg { width: 20px; height: 20px; }
.link-row__txt { flex: 1; min-width: 0; }
.link-row__txt b { display: block; font-weight: 400; font-size: 17px; line-height: 1.3; }
.link-row__txt > span { font-size: 14px; color: var(--grey); }
.link-row .arrow { color: var(--red); }

/* Encadré « Calendrier J+S » (page Jeunesse + Sport) */
.cal-cta {
  display: flex; align-items: center; gap: 22px; padding: 26px 30px; background: #fff;
  border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: var(--radius);
  box-shadow: var(--shadow); color: var(--ink); transition: all .25s var(--ease);
}
.cal-cta:hover { border-color: var(--red); transform: translateY(-2px); color: var(--ink); }
.cal-cta__icon { width: 60px; height: 60px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.cal-cta__icon svg { width: 28px; height: 28px; }
.cal-cta__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cal-cta__kicker { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.cal-cta__txt b { font-weight: 400; font-size: 21px; line-height: 1.25; }
.cal-cta__txt > span:last-child { font-size: 15px; color: var(--grey); }
.cal-cta__go { flex-shrink: 0; color: var(--red); white-space: nowrap; }
@media (max-width: 720px) {
  .cal-cta { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; }
  .cal-cta__icon { width: 50px; height: 50px; }
  .cal-cta__go { white-space: normal; }
}

/* ==========================================================================
   ÉLITE — roster athlètes (cadres / équipes nationales)
   ========================================================================== */
.roster-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.roster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.athlete { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 20px; text-align: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.athlete:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red); }
.athlete__avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; overflow: hidden; }
.athlete__avatar svg { width: 38px; height: 38px; }
.athlete__avatar img { width: 100%; height: 100%; object-fit: cover; }
.athlete h3 { font-size: 17px; font-weight: 400; margin-bottom: 8px; line-height: 1.25; }
.athlete__tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.athlete__club { font-size: 13px; color: var(--grey); }
.roster-empty { display: none; text-align: center; padding: 30px; color: var(--grey); }
@media (max-width: 1024px) { .roster { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .roster { grid-template-columns: repeat(2, 1fr); } }

/* ===== Catégories élite (équipes nationales / cadre national) ===== */
.disc-block { margin-bottom: 40px; }
.disc-block__title { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 400; padding-bottom: 10px; margin-bottom: 22px; border-bottom: 2px solid var(--red); }
.disc-block__title svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 18px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.cat-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.cat-card__head h4 { font-size: 16px; font-weight: 400; color: var(--ink); line-height: 1.25; }
.cat-card__count { flex: none; font-size: 12px; font-weight: 600; color: var(--red); background: var(--red-soft); border-radius: 20px; padding: 3px 11px; }
.cat-card__teams { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cat-card__teams li { font-size: 14.5px; color: var(--ink); padding-left: 16px; position: relative; line-height: 1.3; }
.cat-card__teams li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.cat-card__teams small { display: block; color: var(--grey); font-size: 12.5px; }
.cat-card--soon { background: var(--bg-soft); border-style: dashed; }
.cat-card__soon { font-size: 13.5px; color: var(--grey); font-style: italic; }
.cat-card__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.cat-card__age { flex: none; font-size: 12px; font-weight: 600; color: var(--ink-soft); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 3px 11px; white-space: nowrap; }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* ===== Agenda communautaire ===== */
.agenda-toolbar { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.agenda-filters { display: flex; flex-wrap: wrap; gap: 22px; }
.agenda-fgroup { display: flex; flex-direction: column; gap: 8px; }
.agenda-fgroup__label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--grey); }
.agenda-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.agenda-search input { font-family: var(--font); font-size: 14px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 50px; min-width: 240px; }
.agenda-search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.agenda-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.agenda-event { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.agenda-event:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--red); }
.agenda-event__date { flex: none; width: 64px; text-align: center; background: var(--red-soft); color: var(--red); border-radius: 12px; padding: 10px 0; align-self: flex-start; }
.agenda-event__day { display: block; font-size: 25px; font-weight: 600; line-height: 1; }
.agenda-event__mon { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.agenda-event__body { flex: 1; min-width: 0; }
.agenda-event__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.agenda-event h3 { font-size: 17px; font-weight: 400; line-height: 1.25; margin-bottom: 6px; }
.agenda-event__meta { font-size: 13px; color: var(--grey); margin-bottom: 8px; }
.agenda-event__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.45; margin-bottom: 12px; }
.agenda-empty { display: none; text-align: center; padding: 34px; color: var(--grey); }
.agenda-event__deadline { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--red); background: var(--red-soft); border-radius: 8px; padding: 4px 10px; margin-bottom: 10px; font-weight: 500; }
.agenda-event__deadline svg { width: 14px; height: 14px; flex: none; }
/* Cours / événements : année, cours passés, inscriptions closes */
.agenda-event__yr { display: block; font-size: 11px; margin-top: 3px; opacity: .72; letter-spacing: .04em; }
.agenda-event.is-past { opacity: .72; }
.agenda-event.is-past:hover { transform: none; box-shadow: none; border-color: var(--line); }
.agenda-event.is-past .agenda-event__date { background: var(--bg-soft); color: var(--grey); }
.agenda-event__deadline--closed { display: none; background: var(--bg-soft); color: var(--grey); }
.agenda-event.is-closed .agenda-event__deadline { display: none; }
.agenda-event.is-closed .agenda-event__deadline--closed { display: inline-flex; }
.agenda-past-toggle { display: block; margin: 24px auto 0; }
.agenda-event__who { font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); background: var(--bg-soft); border-radius: 10px; padding: 9px 12px; margin-bottom: 12px; }
.agenda-event__who b { color: var(--ink); font-weight: 600; }
.agenda-event__ref { font-size: 12px; color: var(--grey); margin-top: 10px; }
/* Programmes : chaque bloc s'ouvre comme un chapitre (filet + icône repère) */
.prog-head { display: flex; gap: 24px; align-items: center; padding-top: 34px; border-top: 3px solid var(--red); margin-bottom: 42px; }
.prog-head__icon { flex: none; width: 74px; height: 74px; border-radius: 20px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.prog-head__icon svg { width: 36px; height: 36px; }
.prog-head .h-kicker { margin-bottom: 6px; }
.prog-head .title { margin-bottom: 0; }
@media (max-width: 720px) { .prog-head { gap: 16px; padding-top: 26px; margin-bottom: 30px; } .prog-head__icon { width: 54px; height: 54px; border-radius: 15px; } .prog-head__icon svg { width: 26px; height: 26px; } }




/* ===== FAQ (accordéon natif <details>) ===== */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq__item[open] { border-color: var(--red); box-shadow: var(--shadow); }
.faq__item summary { cursor: pointer; padding: 18px 22px; font-size: 16px; font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg); transition: transform .25s var(--ease); flex: none; margin-top: -4px; }
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.faq__item summary:hover { color: var(--red); }
.faq__body { padding: 0 22px 20px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.faq__body a { color: var(--red); font-weight: 500; }
.faq__body p + p { margin-top: 10px; }

/* ===== Officiels — cartes cliquables + modal ===== */
.cat-card.is-clickable { cursor: pointer; }
.cat-card__more { display: inline-flex; align-items: center; gap: 5px; color: var(--red); font-size: 13px; font-weight: 500; margin-top: 10px; }
.fonc-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.fonc-modal.is-open { display: flex; }
.fonc-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.fonc-modal__box { position: relative; z-index: 1; background: #fff; border-radius: 18px; max-width: 680px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 32px; box-shadow: var(--shadow-lg); text-align: left; }
.fonc-modal__close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; line-height: 1; color: var(--ink); }
.fonc-modal__close:hover { border-color: var(--red); color: var(--red); }
.fonc-panel { display: none; }
.fonc-panel.is-active { display: block; }

/* Calendrier — carte cliquable + chevron */
.cal-event.is-clickable { cursor: pointer; }
.cal-event__chev { flex: 0 0 auto; color: var(--grey); display: flex; transition: transform .25s var(--ease), color .25s var(--ease); }
.cal-event__chev svg { width: 22px; height: 22px; }
.cal-event.is-clickable:hover .cal-event__chev { color: var(--red); transform: translateX(3px); }
@media (max-width: 720px) { .cal-event__chev { display: none; } }

/* Calendrier — modal détail */
.cal-panel { display: none; }
.cal-panel.is-active { display: block; }
.cal-panel > .tag { margin: 0 6px 4px 0; }
.cal-panel h3 { font-size: 24px; font-weight: 400; line-height: 1.2; margin: 12px 0 16px; }
.cal-modal__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 20px; }
.cal-modal__meta > div { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 15px; }
.cal-modal__meta svg { width: 18px; height: 18px; color: var(--red); flex: none; }
.cal-detail { margin: 0 0 22px; display: grid; gap: 14px; }
.cal-detail > div { display: grid; grid-template-columns: 160px 1fr; gap: 4px 16px; }
.cal-detail dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--grey); font-weight: 600; }
.cal-detail dd { margin: 0; color: var(--ink); line-height: 1.45; }
.cal-modal__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* Officiels & juges de l'événement (fiche détail) : une carte par rôle */
.cal-officials { margin: 0 0 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.cal-officials__head { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.cal-officials__head svg { width: 19px; height: 19px; color: var(--red); flex: none; }
.cal-officials__head h4 { font-size: 17px; font-weight: 400; }
.cal-officials__total { font-size: 11.5px; font-weight: 600; color: var(--red); background: var(--red-soft); border-radius: 20px; padding: 2px 10px; }
.cal-officials__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 12px; }
.off-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px 15px; }
.off-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 11px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.off-card__head h5 { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--grey); font-weight: 600; line-height: 1.3; }
.off-card__count { flex: none; font-size: 11px; font-weight: 600; color: var(--red); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1px 8px; }
.off-card__names { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.off-card__names li { position: relative; padding-left: 14px; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.off-card__names li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.off-card__names small { display: block; color: var(--grey); font-size: 12px; margin-top: 2px; }

@media (max-width: 560px) {
  .cal-detail > div { grid-template-columns: 1fr; gap: 2px; }
  .cal-officials__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}
/* Téléphone : une carte par ligne, les noms ne se coupent plus en deux */
@media (max-width: 430px) { .cal-officials__grid { grid-template-columns: 1fr; } }

.fonc-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; }
.fonc-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--grey); padding: 8px 10px; border-bottom: 2px solid var(--line); font-weight: 600; }
.fonc-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--ink); }
.fonc-table tbody tr:last-child td { border-bottom: none; }
.fonc-wrrc { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 20px; }
.fonc-wrrc--y { background: var(--red-soft); color: var(--red); }
.fonc-wrrc--n { background: var(--bg-soft); color: var(--grey); }

/* ===== Liste de documents compacte sur 2 colonnes ===== */
.link-list--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 720px) { .link-list--2col { grid-template-columns: 1fr; } }

/* ===== Page Documents (groupes par thème) ===== */
.doc-cat-desc { color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; margin: -8px 0 18px; max-width: 720px; }
#doc-list .disc-block { margin-bottom: 38px; }
.agenda-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.agenda-step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.agenda-step__n { width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 17px; margin-bottom: 14px; }
.agenda-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.agenda-form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--font); font-size: 14px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.agenda-form__success { display: none; text-align: center; padding: 34px; background: var(--red-soft); border-radius: 14px; }
.agenda-form__success svg { width: 46px; height: 46px; color: var(--red); margin-bottom: 10px; }
@media (max-width: 720px) { .agenda-list { grid-template-columns: 1fr; } .agenda-steps { grid-template-columns: 1fr; } .agenda-form { grid-template-columns: 1fr; } }

/* ===== Cartes info + listes à coches ===== */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 32px; height: 100%; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.info-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card__head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.info-card__icon { flex: none; width: 48px; height: 48px; border-radius: 13px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.info-card__icon svg { width: 24px; height: 24px; }
.info-card__head .h-kicker { margin: 0 0 3px; }
.info-card__head h3 { font-size: 21px; font-weight: 400; line-height: 1.15; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); line-height: 1.5; }
.checklist li svg { flex: none; width: 21px; height: 21px; color: var(--red); margin-top: 1px; }

/* ===== Zoom photo (split media) ===== */
.split__media.is-zoom { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split__media.is-zoom img { border-radius: 0; box-shadow: none; transform: scale(1.22); transform-origin: 50% 42%; }

/* ===== Promotion application mobile ===== */
.app-promo { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.app-promo__media { display: flex; justify-content: center; }
.app-store-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.appstore-btn { display: inline-flex; align-items: center; gap: 11px; background: #111; color: #fff !important; border-radius: 12px; padding: 11px 20px; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.appstore-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.28); }
.appstore-btn svg { width: 27px; height: 27px; flex: none; }
.appstore-btn small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; opacity: .85; line-height: 1.1; }
.appstore-btn b { font-size: 17px; font-weight: 500; line-height: 1.1; }
.phone-mock { width: 236px; background: #0e0e0e; border-radius: 40px; padding: 11px; box-shadow: var(--shadow-lg); }
.phone-mock__screen { position: relative; background: #fff; border-radius: 30px; aspect-ratio: 9 / 18.8; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.phone-mock__notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 64px; height: 6px; background: rgba(0,0,0,.16); border-radius: 6px; z-index: 5; }
.phone-screen__top { display: flex; align-items: center; gap: 9px; padding: 26px 16px 10px; }
.phone-screen__logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(150deg, var(--red), var(--red-dark)); display: grid; place-items: center; color: #fff; flex: none; }
.phone-screen__logo svg { width: 15px; height: 15px; }
.phone-screen__top b { font-size: 14px; }
.phone-screen__video { position: relative; margin: 0 13px; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.phone-screen__video img { width: 100%; height: 100%; object-fit: cover; }
.phone-screen__video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 55%); }
.phone-screen__pill { position: absolute; top: 9px; left: 9px; z-index: 2; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 20px; }
.phone-screen__time { position: absolute; bottom: 8px; right: 9px; z-index: 2; background: rgba(0,0,0,.6); color: #fff; font-size: 10.5px; padding: 2px 7px; border-radius: 6px; }
.phone-screen__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; color: var(--red); z-index: 3; animation: playPulse 2.4s ease-in-out infinite; }
.phone-screen__play svg { width: 18px; height: 18px; margin-left: 2px; }
.phone-screen__body { padding: 13px 16px 0; display: flex; flex-direction: column; gap: 13px; }
.phone-screen__lesson-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.phone-screen__lesson-head b { font-size: 15px; }
.phone-screen__lesson-head span { font-size: 11.5px; color: var(--grey); }
.phone-screen__bar { height: 7px; background: var(--bg-soft); border-radius: 6px; overflow: hidden; }
.phone-screen__bar i { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, var(--red), var(--red-dark)); border-radius: 6px; animation: barFill 3.4s ease-in-out infinite alternate; }
.phone-screen__stats { display: flex; gap: 9px; }
.phone-screen__stat { flex: 1; background: var(--bg-soft); border-radius: 12px; padding: 9px 6px; text-align: center; }
.phone-screen__stat b { display: block; font-size: 17px; color: var(--red); line-height: 1; margin-bottom: 2px; }
.phone-screen__stat small { font-size: 10px; color: var(--grey); }
.phone-screen__cta { margin: auto 14px 14px; background: var(--red); color: #fff; text-align: center; font-weight: 600; border-radius: 12px; padding: 11px; font-size: 13.5px; }
@keyframes playPulse { 0% { box-shadow: 0 0 0 0 rgba(228,35,32,.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(228,35,32,0); } }
@keyframes barFill { from { width: 44%; } to { width: 80%; } }
/* écran d'accueil fidèle à l'app */
.app-home { padding: 26px 18px 16px; align-items: center; text-align: center; }
.app-home__brand { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 12px; }
.app-home__brand b { font-size: 15px; }
.app-home__ring { width: 128px; height: 128px; border-radius: 50%; margin: 4px auto 13px; padding: 7px; background: conic-gradient(var(--red) 0 14%, var(--red-soft) 14%); }
.app-home__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-sizing: border-box; }
.app-home__sub { font-size: 11.5px; color: var(--grey); }
.app-home__lvl { font-size: 18px; font-weight: 700; margin: 3px 0 1px; }
.app-home__prog { font-size: 12.5px; color: var(--ink-soft); }
.app-home__pts { margin: 13px 0; font-size: 14px; font-weight: 700; color: var(--red); }
@media (max-width: 860px) { .app-promo { grid-template-columns: 1fr; gap: 34px; } .app-promo__media { order: -1; } }

/* ===== App showcase — scène spectaculaire ===== */
.app-stage { position: relative; width: 100%; min-height: 500px; display: grid; place-items: center; padding: 24px; }
.app-stage__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.app-stage__blob { position: absolute; border-radius: 50%; filter: blur(58px); }
.app-stage__blob--1 { width: 260px; height: 260px; background: rgba(228,35,32,.26); top: 8%; right: 12%; animation: appBlob 13s ease-in-out infinite; }
.app-stage__blob--2 { width: 210px; height: 210px; background: rgba(255,140,112,.40); bottom: 8%; left: 10%; animation: appBlob 16s ease-in-out infinite reverse; }
.app-stage .phone-mock { position: relative; z-index: 2; transform: rotate(-5deg); animation: appPhoneFloat 6.5s ease-in-out infinite; }
.app-stage .phone-mock::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -34px; height: 30px; background: rgba(120,10,8,.35); filter: blur(22px); border-radius: 50%; z-index: -1; }
.app-chip { position: absolute; z-index: 3; background: #fff; border-radius: 16px; box-shadow: 0 18px 42px rgba(0,0,0,.16); padding: 11px 15px; display: flex; align-items: center; gap: 11px; }
.app-chip__icon { width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(150deg, var(--red), var(--red-dark)); display: grid; place-items: center; color: #fff; flex: none; }
.app-chip__icon svg { width: 23px; height: 23px; }
.app-chip b { font-size: 14px; display: block; line-height: 1.15; color: var(--ink); }
.app-chip small { font-size: 11.5px; color: var(--grey); }
.app-chip__stars { color: #f5a623; font-size: 15px; letter-spacing: 1px; flex: none; }
.app-chip--app { top: 5%; left: -4%; animation: appChipFloat 5.5s ease-in-out infinite; }
.app-chip--rating { bottom: 12%; right: -5%; animation: appChipFloat 7s ease-in-out infinite .7s; }
@keyframes appPhoneFloat { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-15px); } }
@keyframes appChipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
@keyframes appBlob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-18px, 14px) scale(1.1); } }
@media (max-width: 860px) { .app-stage { min-height: 440px; } .app-chip--app { left: 2%; } .app-chip--rating { right: 2%; } }
@media (prefers-reduced-motion: reduce) { .app-stage .phone-mock, .app-chip, .app-stage__blob { animation: none; } }

/* ==========================================================================
   CARTE DES CLUBS
   ========================================================================== */
.clubmap { display: grid; grid-template-columns: 380px 1fr; gap: 22px; align-items: stretch; }
.clubmap__panel { display: flex; flex-direction: column; min-height: 0; }
.club-search input { width: 100%; padding: 12px 18px; border: 1px solid var(--line); border-radius: 50px; font-family: var(--font); font-size: 15px; color: var(--ink); }
.club-search input:focus { outline: none; border-color: var(--red); }
.club-mailall { width: 100%; justify-content: center; margin-bottom: 14px; }
.club-mailall svg { width: 17px; height: 17px; }
.club-regions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.club-count { font-size: 13px; color: var(--grey); margin: 14px 2px 10px; letter-spacing: .03em; }
.club-list { overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 10px; padding-right: 6px; max-height: 540px; }
.club-card { text-align: left; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; font-family: var(--font); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.club-card:hover { border-color: var(--red); box-shadow: var(--shadow); }
.club-card.active { border-color: var(--red); box-shadow: 0 0 0 3px rgba(228,35,32,.14); }
.club-card b { display: block; font-size: 16px; font-weight: 400; color: var(--ink); }
.club-card span { display: block; font-size: 13.5px; color: var(--grey); margin-top: 3px; }
.club-map { height: 600px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); position: relative; z-index: 1; background: var(--bg-soft); }
/* Marqueur personnalisé SRRC */
.club-pin { width: 18px; height: 18px; background: var(--red); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .15s var(--ease); }
.club-pin.is-active { transform: scale(1.4); background: var(--red-dark); }
/* Popup Leaflet aux couleurs SRRC */
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: var(--shadow-lg); }
.leaflet-popup-content { margin: 14px 16px; font-family: var(--font); line-height: 1.5; }
.club-pop b { font-size: 16px; color: var(--ink); }
.club-pop__meta { color: var(--grey); font-size: 13px; margin: 5px 0 9px; }
.club-pop a { color: var(--red); font-weight: 400; font-size: 14px; }
.club-pop__logo { display: block; max-width: 120px; max-height: 70px; width: auto; height: auto; margin: 0 0 8px; object-fit: contain; }
.club-pop__detail { font-size: 13px; color: var(--ink); margin: 9px 0 0; line-height: 1.5; }
.club-pop__social { margin-top: 7px; font-size: 13px; }
.club-pop__misc { font-size: 12.5px; color: var(--grey); margin: 8px 0 0; max-width: 260px; line-height: 1.45; }

@media (max-width: 900px) {
  .clubmap { grid-template-columns: 1fr; }
  .club-map { height: 360px; order: -1; }
  .club-list { max-height: 460px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer img.f-logo { height: 54px; margin-bottom: 20px; }
.site-footer p { font-size: 15px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 400; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.75); font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; transition: all .25s var(--ease); }
.footer-social a:hover { background: var(--red); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; }
.footer-bottom a { color: rgba(255,255,255,.7); }
.newsletter-form { display: flex; gap: 8px; margin-top: 14px; }
.newsletter-form input { flex: 1; padding: 12px 16px; border-radius: 50px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font-family: var(--font); font-size: 14px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form button { border: none; }

/* ==========================================================================
   Notice (aperçu)
   ========================================================================== */
.preview-note {
  position: fixed; bottom: 16px; left: 16px; z-index: 2000;
  background: var(--ink); color: #fff; font-size: 12.5px; padding: 10px 16px;
  border-radius: 50px; box-shadow: var(--shadow-lg); max-width: 340px;
  display: flex; align-items: center; gap: 10px; opacity: .94;
}
.preview-note b { color: #ff8a87; }
.preview-note button { background: none; border: none; color: #fff; cursor: pointer; font-size: 16px; line-height: 1; opacity: .7; }
.preview-note button:hover { opacity: 1; }

/* ==========================================================================
   Animations au scroll
   ========================================================================== */
/* Les blocs ne sont cachés que si le JavaScript tourne (classe « js » sur <html>) : sans JS, tout reste visible. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   i18n — bascule FR/DE
   ========================================================================== */
/* FR par défaut, DE via body.lang-de. Specificité élevée (body + classe + attribut)
   pour battre les règles composant du type ".stat span { display:block }". */
body:not(.lang-de) [data-lang-de] { display: none; }
body.lang-de [data-lang-fr] { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .nav, .header-actions .lang-switch { display: none; }
  .burger { display: flex; }

  /* IMPORTANT : le backdrop-filter du header crée un « containing block » qui piège
     les enfants position:fixed → le menu off-canvas restait coincé dans la barre du header.
     On le neutralise dès que le menu mobile est actif. */
  .site-header.is-solid { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* Menu mobile en panneau */
  .nav.is-mobile {
    display: flex; position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: calc(var(--header-h) + 10px) 0 30px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease); z-index: 1001;
    box-shadow: -10px 0 40px rgba(0,0,0,.2);
  }
  body.menu-open .nav.is-mobile { transform: translateX(0); }
  body.menu-open .nav-overlay { opacity: 1; visibility: visible; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: all .3s; z-index: 1000; }
  .nav.is-mobile .nav__item { width: 100%; }
  .nav.is-mobile .nav__link { color: var(--ink) !important; padding: 16px 24px; border-bottom: 1px solid var(--line); justify-content: space-between; font-size: 16px; }
  .nav.is-mobile .submenu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border-top: none; border-radius: 0; padding: 0; min-width: 0; display: none; background: var(--bg-soft); }
  .nav.is-mobile .nav__item.open .submenu { display: block; }
  .nav.is-mobile .submenu a { padding-left: 40px; }
  .nav.is-mobile .nav__item:hover .submenu { transform: none; }
  .mobile-lang { display: flex; gap: 8px; padding: 20px 24px; }
  .mobile-lang button { flex: 1; padding: 12px; border: 1px solid var(--line); background: #fff; border-radius: 50px; font-family: var(--font); cursor: pointer; text-transform: uppercase; letter-spacing: .05em; }
  .mobile-lang button.active { background: var(--red); color: #fff; border-color: var(--red); }
  .mobile-lang a { flex: 1; text-align: center; padding: 12px; border: 1px solid var(--line); background: #fff; border-radius: 50px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); text-decoration: none; }
  .mobile-lang a.active { background: var(--red); color: #fff; border-color: var(--red); }
}
@media (min-width: 1101px) { .mobile-lang, .nav-overlay { display: none; } }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .h-kicker { letter-spacing: .06em; font-size: 10px; }
  .hero-kicker { gap: 9px; }
  .hero-kicker::before { width: 22px; }
  /* HERO MOBILE : hero plus court => l'image landscape est bien moins rognée
     (on revoit les 2 danseurs) ; texte + boutons compacts ; moins de scroll. */
  .hero { min-height: 58vh; background-position: 62% center; }
  .hero__inner { padding: 86px 22px 34px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 46px); line-height: 1; }
  .hero p.hero-sub { font-size: 15px; margin-top: 12px; max-width: 100%; }
  .hero__cta { margin-top: 20px; gap: 10px; }
  .hero__cta .btn { padding: 13px 18px; font-size: 13.5px; }
  .hero__disciplines { display: none; }
  .news-row { flex-wrap: wrap; gap: 6px 14px; padding: 18px 6px; }
  .news-row__date { flex-basis: 100%; order: 1; }
  .news-row__title { flex-basis: 80%; order: 2; font-size: 16.5px; }
  .news-row__arrow { order: 3; }
  .news-row__cat { display: none; }
  .countdown { gap: 12px; }
  .countdown__unit { min-width: 0; flex: 1; }
  .scroll-hint { display: none; }
  .grid-2, .grid-3, .grid-4, .split, .stats, .footer-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split { gap: 36px; }
  .split__media .badge { right: 16px; bottom: -16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery a:nth-child(1), .gallery a:nth-child(6) { grid-row: span 1; aspect-ratio: 1; }
  .cta-band { padding: 40px 24px; }
  .hero__cta .btn { flex: 1; justify-content: center; }
  .stats { gap: 30px; grid-template-columns: 1fr 1fr; }
  .preview-note { display: none; }
}

/* ==========================================================================
   Finitions mobile (modals, lisibilité) — ajouté 2 juillet 2026
   ========================================================================== */
@media (max-width: 600px) {
  .fonc-modal__box { padding: 24px 16px; }
  .fonc-panel { overflow-x: auto; }            /* tableaux d'officiels : scroll horizontal si trop larges */
  .fonc-table { font-size: 13.5px; }
  .cal-panel h3 { font-size: 21px; }
  .cal-modal__meta { gap: 6px 16px; }
}

/* Carte des clubs : fond de carte local (extérieur de la Suisse, étiquettes des cantons et des villes) */
.club-map.leaflet-container { background: var(--bg-soft); }
.carte-lbl { pointer-events: none; }
.carte-lbl span { display: block; transform: translate(-50%, -50%); white-space: nowrap; font-family: var(--font); }
.carte-canton span { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: rgba(90, 84, 76, .75); }
.club-map .carte-canton--petit span, .club-map .carte-ville span, .club-map .carte-ville i { display: none; }
.club-map.carte--petits-cantons .carte-canton--petit span,
.club-map.carte--villes .carte-ville--grande span, .club-map.carte--villes .carte-ville--grande i,
.club-map.carte--toutes-villes .carte-ville span, .club-map.carte--toutes-villes .carte-ville i { display: block; }
.carte-ville i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #4a4540; }
.carte-ville span { transform: translate(6px, -50%); font-size: 12px; color: #3b3732; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff; }
.carte-ville--grande span { font-weight: 600; font-size: 13px; }

/* Noms de villes de la carte : seulement la langue affichée */
body:not(.lang-de) .club-map .carte-ville [data-lang-de],
body.lang-de .club-map .carte-ville [data-lang-fr] { display: none !important; }

/* Fiche d'événement : les badges ne passent pas sous la croix de fermeture */
.cal-panel::before { content: ""; float: right; width: 40px; height: 34px; }

/* Texte des articles (News) : listes et liens écrits dans l'éditeur WordPress */
article.prose ul:not(.bullets), article.prose ol { margin: 0 0 18px; padding-left: 1.4em; color: var(--ink-soft); }
article.prose ul:not(.bullets) { list-style: disc; }
article.prose ol { list-style: decimal; }
article.prose ul:not(.bullets) li, article.prose ol li { margin-bottom: 6px; }
article.prose ul:not(.bullets) li::marker, article.prose ol li::marker { color: var(--red); }
article.prose a:not(.btn) { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
article.prose strong { color: var(--ink); }

/* Vidéo boomerang « Une communauté passionnée » (accueil) : même cadre portrait que les photos */
.split__media--video video { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #1d1d1b; }

/* Chiffres de l'accueil : les 4 apparaissent de la même façon, l'un après l'autre */
.js .stats .stat.reveal { transform: translateY(14px); transition-duration: .8s; }
.js .stats .stat.reveal.in { transform: none; }
.stats .stat:nth-child(2) { transition-delay: .12s; }
.stats .stat:nth-child(3) { transition-delay: .24s; }
.stats .stat:nth-child(4) { transition-delay: .36s; }

/* ---------- Annuaire des clubs (13.10.2026) ---------- */
.clubs-section { padding-top: 56px; }
.clubfilters { margin-bottom: 26px; }
.clubfilters .club-search { max-width: 460px; }
.clubfilters__groups { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 40px; margin-top: 22px; }
.clubfilters__label { font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.clubfilters__row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font); font-size: 14px; padding: 9px 17px; border: 1px solid var(--line); background: #fff; border-radius: 50px; cursor: pointer; color: var(--ink-soft); transition: all .2s var(--ease); white-space: nowrap; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(228,35,32,.25); }
.chip:focus-visible, .clubcard__main:focus-visible, .clubmodal__close:focus-visible { outline: 3px solid rgba(228,35,32,.4); outline-offset: 2px; }
.clubfilters__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.clubfilters__bar .club-count { margin: 0; font-size: 15px; color: var(--ink-soft); letter-spacing: 0; }
.clubfilters__bar .club-count b { color: var(--ink); font-weight: 600; }
.clubfilters__reset { font-family: var(--font); font-size: 14px; background: none; border: 0; color: var(--red); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.club-map__note { margin: 10px 2px 0; color: var(--grey); font-size: 13px; }
.clubs-section .club-map { height: 480px; }

.clubgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 20px; margin-top: 38px; }
.clubgrid [hidden], .clubempty[hidden] { display: none !important; }
.clubcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.clubcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(228,35,32,.35); }
.clubcard__main { display: flex; flex-direction: column; align-items: flex-start; text-align: left; flex: 1; gap: 4px; padding: 0 20px 16px; background: none; border: 0; cursor: pointer; font-family: var(--font); color: var(--ink); }
.clubcard__logo { align-self: stretch; display: flex; align-items: center; justify-content: center; height: 124px; margin: 0 -20px 14px; background: var(--bg-soft); }
.clubcard__logo img { width: 156px; height: 72px; object-fit: contain; }
.monogram { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-size: 22px; letter-spacing: .02em; }
.monogram--grand { width: 88px; height: 88px; font-size: 30px; }
.clubcard__name { font-size: 18px; line-height: 1.25; }
.clubcard__where { font-size: 14px; color: var(--grey); }
.clubcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: 12.5px; padding: 4px 11px; border-radius: 50px; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.tag--disc { background: var(--red-soft); color: var(--red-dark); }
.tag--pub { background: var(--bg-soft); color: var(--ink-soft); }
.tag--ori { border: 1px solid var(--line); color: var(--ink-soft); }
.clubcard__links { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13.5px; }
.clubcard__ext { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.clubcard__links a { color: var(--ink-soft); }
.clubcard__links a:hover { color: var(--red); text-decoration: underline; }
.clubcard__more { font-family: var(--font); font-size: 13.5px; background: var(--red); color: #fff; border: 0; border-radius: 50px; padding: 7px 14px; cursor: pointer; white-space: nowrap; transition: background .2s var(--ease); }
.clubcard__more:hover { background: var(--red-dark); }
.clubempty { margin-top: 38px; padding: 28px; text-align: center; color: var(--grey); background: var(--bg-soft); border-radius: 14px; }
.clubs-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--grey); font-size: 14px; }
.clubs-foot .club-mailall { width: auto; margin: 0; }

.club-pop__btn { margin-top: 10px; font-family: var(--font); font-size: 14px; color: var(--red); background: none; border: 0; padding: 0; cursor: pointer; }
.club-pop__btn:hover { text-decoration: underline; }

/* Fiche club (fenêtre) */
body.modal-open { overflow: hidden; }
.clubmodal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.clubmodal[hidden] { display: none; }
.clubmodal__bg { position: absolute; inset: 0; background: rgba(17,17,17,.55); }
.clubmodal__box { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 32px; box-shadow: var(--shadow-lg); }
.clubmodal__close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-soft); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.clubmodal__close:hover { background: var(--red-soft); color: var(--red); }
.fiche__head { display: flex; align-items: center; gap: 20px; padding-right: 36px; }
.fiche__logo { flex: 0 0 auto; width: 104px; height: 104px; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); border-radius: 16px; }
.fiche__logo img { width: 84px; height: 84px; object-fit: contain; }
.fiche__name { font-size: 25px; line-height: 1.2; font-weight: 400; }
.fiche__where { color: var(--grey); margin-top: 4px; }
.fiche__info, .fiche__contact { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 15px; }
.fiche__row { display: flex; gap: 14px; align-items: baseline; }
.fiche__row .fiche__k { flex: 0 0 104px; min-width: 0; }
.sep { font-style: normal; color: var(--grey); margin: 0 1px; }
.clubcard__more-info { flex-basis: 100%; margin-top: 4px; font-size: 13px; color: var(--grey); }
.clubcard__more-info { line-height: 1.5; white-space: normal; }
.fiche__misc { margin-top: 24px; padding: 14px 16px; background: var(--bg-soft); border-radius: 12px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.fiche__k { display: inline-block; min-width: 92px; color: var(--grey); font-size: 13px; }
.fiche__contact a { color: var(--red); }
.fiche__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.fiche__map { margin-top: 22px; font-family: var(--font); font-size: 14px; background: none; border: 0; padding: 0; color: var(--ink-soft); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .clubfilters__groups { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 640px) {
  .clubs-section { padding-top: 36px; }
  .clubfilters__groups { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
  .clubfilters__label { margin-bottom: 5px; }
  .chip { padding: 7px 14px; font-size: 13.5px; }
  .clubfilters__bar { margin-top: 14px; }
  .clubfilters__row { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px; padding: 2px 24px 6px; scrollbar-width: none; }
  .clubfilters__row::-webkit-scrollbar { display: none; }
  .clubs-section .club-map { height: 340px; }
  .clubgrid { grid-template-columns: 1fr; }
  .clubmodal { padding: 0; align-items: flex-end; }
  .clubmodal__box { max-height: 92vh; border-radius: 22px 22px 0 0; padding: 26px 22px 30px; }
  .fiche__head { flex-direction: column; align-items: flex-start; }
}


/* ===== Ajustements iPhone — 13.10.2026 ===== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Recherche de documents : pleine largeur, 16 px (sinon iOS zoome), clavier « Rechercher » */
.doc-search { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; }
.doc-search input { width: 100%; max-width: 520px; min-width: 0; font-family: var(--font); font-size: 16px; padding: 12px 20px; min-height: 48px; border: 1px solid var(--line); border-radius: 50px; background: #fff; }
.doc-search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.doc-empty { display: none; text-align: center; color: var(--grey); padding: 24px 0; }
.doc-empty .btn { margin-top: 14px; }
.doc-meta { display: block; font-size: 13px; color: var(--grey); margin-top: 2px; }
@media (hover: none) { .link-row:hover { transform: none; } }
@media (max-width: 1100px) {
  .header-actions { position: relative; z-index: 1003; }
  body.menu-open .burger span { background: var(--ink); }
  .burger { padding: 13px 9px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .nav.is-mobile { visibility: hidden; box-shadow: none; transition: transform .35s var(--ease), visibility .35s; }
  body.menu-open .nav.is-mobile { visibility: visible; box-shadow: -10px 0 40px rgba(0,0,0,.2); }
  .mobile-lang button, .mobile-lang a { min-height: 44px; }
}
@media (max-width: 480px) {
  .link-row { padding: 14px 16px; gap: 12px; }
  .link-row__icon { width: 36px; height: 36px; }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
}
/* Menu à 9 entrées : on resserre dès 1101 px pour que tout tienne sur une ligne (le conteneur est limité à 1200 px) */
@media (min-width: 1101px) {
  .nav { gap: 0; }
  .nav__link { padding: 12px 8px; font-size: 14px; letter-spacing: .01em; }
  .site-header__inner { gap: 12px; }
}

/* Bouton pause / lecture de la vidéo d'accueil (accessibilité : animation de plus de 5 s) */
.split__media--video { position: relative; }
.video-toggle {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.video-toggle:hover, .video-toggle:focus-visible { background: var(--red, #E42320); }
.video-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }

/* Mouvement réduit : pas d'apparition animée, pas de défilement fluide */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .stats .stat.reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Mobile — pied de page compact et vidéo d'accueil moins haute (ajouté 14.10.2026)
   ========================================================================== */
@media (max-width: 720px) {
  .site-footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-bottom: 28px; }
  .footer-grid .footer-col:first-child,
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col h4 { margin-bottom: 12px; }
  .footer-col ul li { margin-bottom: 4px; }
  .footer-col ul a { display: inline-block; padding: 6px 0; }   /* zone de toucher confortable */
  .site-footer img.f-logo { height: 44px; margin-bottom: 14px; }
  .footer-social { margin-top: 14px; }
  .footer-bottom { padding: 18px 0 calc(18px + env(safe-area-inset-bottom, 0px)); flex-direction: column; gap: 8px; }
  /* La vidéo ne prend plus tout l'écran avant le texte */
  .split__media--video video { width: 100%; max-height: 56vh; object-fit: cover; object-position: center 30%; }
}
