/*
 Theme Name:   FC Luy de Béarn
 Theme URI:    https://fcluydebearn.fr
 Description:  Thème officiel du FC Luy de Béarn
 Author:       FC Luy de Béarn
 Version:      1.0.0
 Text Domain:  fclb
*/

/* =====================================================
   FONTS LOCALES — Montserrat + Source Sans Pro
   Les fichiers sont dans /assets/fonts/ du thème enfant
   (renommé depuis Open Sans : les fichiers livrés sur le
   serveur sont en réalité Source Sans Pro — cf. 404 constatés)
   ===================================================== */

@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('assets/fonts/SourceSansPro-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('assets/fonts/SourceSansPro-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* =====================================================
   VARIABLES GLOBALES
   ===================================================== */
:root {
  --fclb-green-dark:  #2A5C1E;
  --fclb-green-pale:  #E4F2D8;
  --fclb-green-light: #9FDF6A;
  --fclb-night:       #1B2618;
  --fclb-white:       #ffffff;
  --fclb-text-muted:  rgba(255, 255, 255, 0.55);
  --fclb-nav-h:       64px;
  --fclb-topbar-h:    36px;
  --fclb-gutter:      clamp(20px, 5vw, 80px);
  --font-heading:     'Montserrat', sans-serif;
  --font-body:        'Source Sans Pro', sans-serif;
}

/* =====================================================
   TYPOGRAPHIE GLOBALE — échelle fluide, min 17px
   Contrastes WCAG AA garantis sur tous les fonds
   ===================================================== */

html { font-size: 100%; }

body {
  font-family: var(--font-body);
  font-size: clamp(17px, 1vw + 14px, 19px);
  font-weight: 400;
  line-height: 1.75;
  color: #1A1A1A;
}

p, li, td, th {
  font-size: clamp(17px, 1vw + 14px, 19px);
  line-height: 1.75;
}

/* Liens sur fond clair — ratio 7.2:1 sur blanc ✓ */
a {
  color: #2A5C1E;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
a:hover { color: #1B3D12; }

/* Titres */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #111111;
  margin-top: 0;
}

h1 { font-size: clamp(36px, 4vw + 20px, 64px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3vw + 16px, 48px); letter-spacing: -0.015em; }
h3 { font-size: clamp(22px, 2vw + 14px, 32px); letter-spacing: -0.01em; }
h4 { font-size: clamp(19px, 1.5vw + 13px, 24px); }
h5 { font-size: clamp(18px, 1vw + 13px, 20px); }
h6 { font-size: clamp(17px, 1vw + 13px, 19px); }

/* Chapô / intro */
.lead {
  font-size: clamp(19px, 1.2vw + 15px, 22px);
  font-weight: 400;
  line-height: 1.65;
  color: #3A3A3A;
}

/* Labels / eyebrows */
.label-upper {
  font-family: var(--font-heading);
  font-size: clamp(17px, 0.8vw + 14px, 18px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fclb-green-dark);
}

/* Mentions légales, métadonnées — seul endroit sous 17px autorisé */
small, .text-small {
  font-size: clamp(15px, 0.7vw + 13px, 16px);
  line-height: 1.6;
}

/* Boutons */
button,
input[type="submit"],
.btn {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1vw + 13px, 18px);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Inputs */
input, textarea, select {
  font-family: var(--font-body);
  font-size: clamp(17px, 1vw + 13px, 18px);
}

/* Reset box-sizing global */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Images responsives */
img {
  max-width: 100%;
  height: auto;
}

/* Décale le contenu sous le header fixe */
body {
  margin: 0;
  padding-top: calc(var(--fclb-topbar-h) + var(--fclb-nav-h));
}

/* Supprime tout margin/padding parasite entre header et première section */
body > #content,
body > main,
.page-accueil {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Contrer les surcharges globales sur les liens */
.fclb-topbar a,
.fclb-navbar a,
.fclb-mobile-menu a,
.fclb-footer a {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  text-decoration: none !important;
}

/* =====================================================
   HEADER
   ===================================================== */

/* ── Topbar ── */
.fclb-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  width: 100%;
  height: var(--fclb-topbar-h);
  background: var(--fclb-night);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 40px);
  gap: 12px;
}

.fclb-topbar__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fclb-topbar__contact a {
  font-size: clamp(17px, 0.9vw + 14px, 18px) !important;
  font-family: var(--font-body) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: color 0.15s !important;
}
.fclb-topbar__contact a:hover { color: var(--fclb-white) !important; }
.fclb-topbar__contact a + a   { margin-left: 16px !important; }
.fclb-topbar__contact svg     { flex-shrink: 0 !important; width: 13px !important; height: 13px !important; }

.fclb-topbar__sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
}

/* Bouton TeamPulse topbar (classe .fclb-se-btn : nom historique, conservé pour ne pas casser le marquage de functions.php) */
.fclb-se-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--fclb-white);
  border-radius: 5px;
  padding: 4px 11px 4px 8px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.fclb-se-btn:hover { opacity: 0.85; }
.fclb-se-btn img   { height: 17px; width: auto; display: block; flex-shrink: 0; }
.fclb-se-btn span  {
  font-size: clamp(17px, 0.9vw + 14px, 18px);
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--fclb-night);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .fclb-se-btn span { display: none; }
  .fclb-se-btn { padding: 5px 8px; gap: 0; }
}

/* ── Navbar ── */
.fclb-navbar {
  position: fixed;
  top: var(--fclb-topbar-h);
  left: 0;
  right: 0;
  z-index: 99998;
  width: 100%;
  height: var(--fclb-nav-h);
  background: var(--fclb-green-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 40px);
  gap: 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.fclb-nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.fclb-nav-logo img {
  height: 42px;
  width: auto;
  display: block;
}
.fclb-nav-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.fclb-nav-logo__title {
  font-size: clamp(17px, 1vw + 14px, 18px);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--fclb-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fclb-nav-logo__sub {
  font-size: clamp(17px, 0.7vw + 14px, 18px);
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}

.fclb-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fclb-nav-links a {
  font-size: clamp(17px, 1vw + 14px, 18px) !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  padding: 7px 13px !important;
  border-radius: 5px !important;
  transition: background 0.15s, color 0.15s !important;
  white-space: nowrap !important;
}
.fclb-nav-links a:hover,
.fclb-nav-links a.active {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--fclb-white) !important;
}
.fclb-nav-links .fclb-nav-cta {
  background: var(--fclb-white) !important;
  color: var(--fclb-green-dark) !important;
  font-weight: 700 !important;
}
.fclb-nav-links .fclb-nav-cta:hover {
  background: var(--fclb-green-pale) !important;
  color: var(--fclb-green-dark) !important;
}

/* ── Hamburger ── */
.fclb-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background 0.15s;
}
.fclb-hamburger:hover { background: rgba(255, 255, 255, 0.1); }
.fclb-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fclb-white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.fclb-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fclb-hamburger.open span:nth-child(2) { opacity: 0; }
.fclb-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Menu mobile ── */
.fclb-mobile-menu {
  position: fixed;
  top: calc(var(--fclb-topbar-h) + var(--fclb-nav-h));
  left: 0;
  right: 0;
  z-index: 99997;
  width: 100%;
  background: var(--fclb-green-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0 20px;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s;
  pointer-events: none;
}
.fclb-mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.fclb-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.fclb-mobile-menu ul li a {
  display: block;
  padding: 14px clamp(16px, 4vw, 32px);
  font-size: clamp(17px, 1.2vw + 14px, 19px);
  font-family: var(--font-body);
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.12s;
}
.fclb-mobile-menu ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
}
.fclb-mobile-menu ul li:last-child a { border-bottom: none; }

.fclb-mobile-menu__footer {
  padding: 16px clamp(16px, 4vw, 32px) 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fclb-mobile-cta {
  display: block;
  text-align: center;
  background: var(--fclb-white);
  color: var(--fclb-green-dark);
  font-size: clamp(17px, 1vw + 14px, 18px);
  font-family: var(--font-body);
  font-weight: 700;
  padding: 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}
.fclb-mobile-cta:hover { background: var(--fclb-green-pale); }

.fclb-mobile-se-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 12px;
  text-decoration: none;
  transition: background 0.15s;
}
.fclb-mobile-se-btn:hover { background: rgba(255, 255, 255, 0.14); }
.fclb-mobile-se-btn img { height: 18px; width: auto; filter: brightness(0) invert(1); }
.fclb-mobile-se-btn span {
  font-size: clamp(17px, 1vw + 14px, 18px);
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--fclb-white);
}

/* =====================================================
   FOOTER
   ===================================================== */

.fclb-footer {
  width: 100%;
  font-family: var(--font-body);
}

/* ① Bloc principal — 4 colonnes sur fond vert */
.fclb-footer__main {
  width: 100%;
  background: #2A5C1E;
  padding: clamp(40px, 5vw, 56px) var(--fclb-gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}

/* Col 1 — Identité */
.fclb-footer__brand { display: flex; flex-direction: column; }
.fclb-footer__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}
.fclb-footer__desc {
  font-size: clamp(17px, 0.8vw + 14px, 18px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 260px;
}
.fclb-footer__logos {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.fclb-footer__logos a { display: block !important; flex-shrink: 0 !important; }
.fclb-footer__logos a img {
  height: 40px !important;
  width: auto !important;
  display: block !important;
  filter: none !important;
  opacity: 0.9 !important;
  transition: opacity 0.15s !important;
}
.fclb-footer__logos a img:hover { opacity: 1 !important; }

/* Colonnes 2-3-4 */
.fclb-footer__col h4,
.fclb-footer__col .fclb-footer__heading {
  font-size: clamp(17px, 0.8vw + 14px, 18px) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: #9FDF6A !important;
  margin-bottom: 14px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.fclb-footer__col ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
}
.fclb-footer__col ul li a {
  font-size: clamp(17px, 0.8vw + 14px, 18px) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 5px !important;
  line-height: 1.4 !important;
  transition: color 0.15s !important;
}
.fclb-footer__col ul li a:hover { color: #ffffff !important; }

.fclb-footer__sep {
  height: 1px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  margin: 12px 0 !important;
}
.fclb-footer__ext {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.65) !important;
  margin-left: 2px !important;
}
.fclb-footer__cta-link {
  font-size: clamp(17px, 0.8vw + 14px, 18px) !important;
  color: #9FDF6A !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.fclb-footer__pdf {
  font-size: 10px !important;
  font-weight: 700 !important;
  background: rgba(159, 223, 106, 0.2) !important;
  color: #C8F08F !important;
  padding: 1px 5px !important;
  border-radius: 3px !important;
  flex-shrink: 0 !important;
}

.fclb-chevron {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
}

/* ② Copyright — fond nuit */
.fclb-footer__bottom {
  width: 100% !important;
  background: #1B2618 !important;
  padding: clamp(16px, 2vw, 22px) var(--fclb-gutter) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}
.fclb-footer__copy {
  font-size: clamp(17px, 0.75vw + 14px, 18px) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.6 !important;
}
.fclb-footer__copy strong { color: rgba(255, 255, 255, 0.85) !important; }
.fclb-footer__copy a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  transition: color 0.15s !important;
}
.fclb-footer__copy a:hover { color: #fff !important; }
.fclb-footer__legal {
  display: flex !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
  flex-shrink: 0 !important;
}
.fclb-footer__legal a {
  font-size: clamp(17px, 0.75vw + 14px, 18px) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none !important;
  transition: color 0.15s !important;
}
.fclb-footer__legal a:hover { color: #fff !important; }

/* Réseaux sociaux — topbar */
.fclb-topbar__social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 14px;
}
.fclb-topbar__social a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255,255,255,0.75) !important;
  transition: color 0.15s !important;
  text-decoration: none !important;
  width: 28px !important;
  height: 28px !important;
}
.fclb-topbar__social a:hover { color: #fff !important; }
@media (max-width: 640px) {
  .fclb-topbar__social {
    margin-left: 4px;
    padding-left: 8px;
    gap: 6px;
    border-left: 1px solid rgba(255,255,255,0.15);
  }
}

/* Réseaux sociaux — footer col 1 */
.fclb-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.fclb-footer__social a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: clamp(17px, 0.8vw + 14px, 18px) !important;
  color: rgba(255,255,255,0.9) !important;
  text-decoration: none !important;
  background: rgba(255,255,255,0.08) !important;
  border: 0.5px solid rgba(255,255,255,0.15) !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  transition: background 0.15s, color 0.15s !important;
}
.fclb-footer__social a:hover {
  background: rgba(255,255,255,0.16) !important;
  color: #fff !important;
}

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

/* Header */
@media (max-width: 820px) {
  .fclb-topbar__contact { display: none; }
  .fclb-topbar__sep     { display: none; }
  .fclb-topbar__left    { flex: 1; }
}
@media (max-width: 640px) {
  :root {
    --fclb-nav-h:    56px;
    --fclb-topbar-h: 32px;
  }
  .fclb-nav-logo img  { height: 34px; }
  .fclb-nav-logo__sub { display: none; }
  .fclb-nav-links     { display: none; }
  .fclb-hamburger     { display: flex; }
}
@media (min-width: 641px) {
  .fclb-mobile-menu { display: none; }
}

/* Footer */
@media (max-width: 960px) {
  .fclb-footer__main { grid-template-columns: 1fr 1fr; }
  .fclb-footer__brand { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 24px; }
  .fclb-footer__desc { margin-bottom: 0; }
}
@media (max-width: 560px) {
  .fclb-footer__main  { grid-template-columns: 1fr; }
  .fclb-footer__brand { flex-direction: column; }
  .fclb-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .fclb-footer__legal { gap: 12px; }
}

/* ── Lien Elles du Béarn — distinctif dans le nav ── */
.fclb-nav-links .fclb-nav-elles {
  display: inline-flex !important;
  align-items: center !important;
  background: #CC1212 !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: clamp(17px, 0.9vw + 14px, 18px) !important;
  padding: 4px 12px !important;
  border-radius: 5px !important;
  text-decoration: none !important;
  border: none !important;
  transition: opacity 0.15s !important;
  letter-spacing: 0.03em !important;
  white-space: nowrap !important;
}
.fclb-nav-links .fclb-nav-elles:hover,
.fclb-nav-links .fclb-nav-elles.active {
  opacity: 0.85 !important;
  color: #fff !important;
  background: #CC1212 !important;
}

/* =====================================================
   PAGE D'ACCUEIL — BILAN DE SAISON
   ===================================================== */

.acc-bilan {
  padding: 3rem var(--fclb-gutter);
}

.acc-bilan__montee {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #FFFDE6;
  border: 2px solid #C8B400;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.acc-bilan__montee-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  color: #7A6B00;
}

.acc-bilan__montee-titre {
  font-size: 1.05rem;
  font-weight: 600;
  color: #5A4F00;
  margin: 0 0 .25rem;
  font-family: var(--font-heading);
}

.acc-bilan__montee-sous {
  font-size: .875rem;
  color: #7A6B00;
  margin: 0;
}

.acc-bilan__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .75rem;
}

.acc-bilan__card {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--fclb-white);
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: .875rem 1rem;
}

.acc-bilan__card--coupe {
  border-color: #d4af37;
  background: #FFFDF0;
}

.acc-bilan__icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.acc-bilan__equipe {
  font-size: .9rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 .15rem;
  font-family: var(--font-heading);
}

.acc-bilan__titre {
  font-size: .8rem;
  color: #555;
  margin: 0;
}

@media (max-width: 600px) {
  .acc-bilan__montee {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }
  .acc-bilan__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =====================================================
   PAGE D'ACCUEIL — ÉVÉNEMENTS À VENIR
   ===================================================== */

.acc-evenements {
  margin-bottom: 2rem;
}

.acc-evenements__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.acc-evenements__head h2 {
  margin: 0;
}

.acc-evenements__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
}

.acc-evenement {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: .875rem 1.25rem;
  background: var(--fclb-white);
  border-bottom: 1px solid #f0f0f0;
}

.acc-evenement:last-child {
  border-bottom: none;
}

.acc-evenement:nth-child(even) {
  background: #fafafa;
}

.acc-evenement__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.acc-evenement__desc {
  font-size: .85rem;
  color: #666;
  line-height: 1.55;
  margin: 0;
  font-family: var(--font-body);
}

.acc-evenement__date {
  font-size: .8rem;
  font-weight: 600;
  color: var(--fclb-white);
  background: var(--fclb-green-dark);
  border-radius: 6px;
  padding: .25rem .6rem;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-heading);
}

.acc-evenement__titre {
  font-size: .95rem;
  font-weight: 500;
  color: #1a1a1a;
  flex: 1;
  min-width: 120px;
  font-family: var(--font-body);
}

.acc-evenement__lieu {
  font-size: .8rem;
  color: #777;
  display: flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}

.acc-evenement__lieu svg {
  flex-shrink: 0;
  opacity: .6;
}

@media (max-width: 600px) {
  .acc-evenement {
    gap: .6rem;
    padding: .75rem 1rem;
  }
  .acc-evenement__lieu {
    width: 100%;
  }
}

.acc-separateur {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 2rem 0 1.75rem;
}

/* ==========================================================================
   Sous-menu accordéon "Le Club" — menu mobile
   Sélecteurs renforcés (.fclb-mobile-menu ... / !important) car
   .fclb-mobile-menu ul li a a une spécificité plus forte que .fclb-mobile-submenu a
   seul et écraserait sinon padding/couleur/taille/bordure ci-dessous.
   ========================================================================== */

/* ---------- Item parent avec sous-menu ---------- */

.fclb-mobile-has-submenu {
    display: flex;
    flex-direction: column;
}

.fclb-mobile-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fclb-mobile-parent a {
    flex: 1;
}

/* ---------- Bouton indicateur — visible en permanence, feedback d'état ---------- */

.fclb-mobile-menu .fclb-submenu-toggle {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 6px;
    color: var(--fclb-green-light);
    width: 32px;
    height: 32px;
    padding: 0;
    margin-right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease;
}

.fclb-mobile-menu .fclb-submenu-toggle:hover,
.fclb-mobile-menu .fclb-submenu-toggle:active {
    background: rgba(255, 255, 255, 0.22);
}

.fclb-submenu-toggle svg {
    width: 16px;
    height: 16px;
    stroke-width: 3;
    transition: transform 0.2s ease;
}

.fclb-mobile-has-submenu.open .fclb-submenu-toggle {
    background: var(--fclb-green-light);
    color: var(--fclb-green-dark);
}

.fclb-mobile-has-submenu.open .fclb-submenu-toggle svg {
    transform: rotate(180deg);
}

.fclb-submenu-toggle:focus-visible {
    outline: 2px solid var(--fclb-green-light);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Panneau du sous-menu ---------- */

.fclb-mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.18);
    border-left: 3px solid var(--fclb-green-light);
    transition: max-height 0.25s ease;
}

.fclb-mobile-has-submenu.open .fclb-mobile-submenu {
    max-height: 320px; /* large assez pour 5 liens, ajuster si plus de liens sont ajoutés */
}

.fclb-mobile-submenu li {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: none !important;
}

.fclb-mobile-submenu li:first-child {
    border-top: none !important;
}

.fclb-mobile-menu .fclb-mobile-submenu a {
    display: block;
    padding: 11px 0 11px 28px !important;
    font-size: 0.82em !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none;
    border-bottom: none !important;
}

.fclb-mobile-menu .fclb-mobile-submenu a::before {
    content: "›";
    display: inline-block;
    margin-right: 8px;
    color: var(--fclb-green-light);
}

.fclb-mobile-menu .fclb-mobile-submenu a:hover,
.fclb-mobile-menu .fclb-mobile-submenu a:focus-visible {
    color: var(--fclb-white) !important;
    background: rgba(255, 255, 255, 0.06);
}

/* ---------- Accessibilité : réduction de mouvement ---------- */

@media (prefers-reduced-motion: reduce) {
    .fclb-mobile-submenu,
    .fclb-submenu-toggle svg {
        transition: none;
    }
}

/* =====================================================
   BARRE DE CONTACT FLOTTANTE (toutes les pages)
   Bouton vert en bas à droite, au-dessus du bouton « retour en haut »
   (44 px, bas 28 px, droite 24 px : il occupe de 28 à 72 px depuis le bas).
   Ici : bas 92 px, soit 20 px d'écart ; l'axe vertical est le même.
   Marquage et script : functions.php.
   ===================================================== */

.fclb-contact {
  position: fixed;
  right: 18px;   /* bouton de 56 px centré sur l'axe du bouton retour en haut (44 px à 24 px du bord) */
  bottom: 92px;
  z-index: 9997;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fclb-contact__list {
  list-style: none;
  margin: 0 4px 0 0;   /* icônes de 48 px sur le même axe que le bouton */
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.fclb-contact.is-open .fclb-contact__list {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}
.fclb-contact__list li {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1;
}

.fclb-contact a.fclb-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1B2618;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
}
.fclb-contact__label {
  background: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  line-height: 1.2;
  white-space: nowrap;
}
.fclb-contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #2A5C1E;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s;
}
.fclb-contact a.fclb-contact__item:hover .fclb-contact__icon { transform: scale(1.06); }
.fclb-contact__item--whatsapp .fclb-contact__icon { color: #128C7E; }

.fclb-contact__toggle {
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #2A5C1E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(42, 92, 30, 0.4);
  transition: background 0.15s, transform 0.15s;
}
.fclb-contact__toggle:hover { background: #1B3D12; }
.fclb-contact__toggle .fclb-contact__icon-close { display: none; }
.fclb-contact.is-open .fclb-contact__icon-open { display: none; }
.fclb-contact.is-open .fclb-contact__icon-close { display: block; }

.fclb-contact a:focus-visible,
.fclb-contact__toggle:focus-visible {
  outline: 3px solid #1B2618;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff;
}

/* Écrans peu hauts (téléphone en paysage) : éléments plus compacts pour que
   la colonne ne dépasse pas le haut de l'écran, sans toucher le bouton retour en haut. */
@media (max-height: 480px) {
  .fclb-contact { bottom: 84px; gap: 10px; }
  .fclb-contact__list { gap: 6px; margin-right: 8px; }
  .fclb-contact__icon { width: 40px; height: 40px; }
  .fclb-contact__toggle { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .fclb-contact__list,
  .fclb-contact__icon,
  .fclb-contact__toggle { transition: none; }
}
@media print {
  .fclb-contact { display: none; }
}
