/* ═══════════════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════════════ */

.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(150deg, #060e1a 0%, #001140 30%, #001F5C 55%, #003087 78%, #0d4b99 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Grille de points subtile */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Blobs lumineux */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-blob-1 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(212,160,23,.09) 0%, transparent 70%);
  top: -180px; right: -120px;
  animation: blobFloat 12s ease-in-out infinite;
}

.hero-blob-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(18,101,184,.2) 0%, transparent 70%);
  bottom: 80px; left: 4%;
  animation: blobFloat 15s ease-in-out infinite reverse;
  animation-delay: -4s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(28px, -28px); }
  66%       { transform: translate(-22px, 22px); }
}

/* Conteneur hero */
.hero-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 8rem;
  position: relative;
  z-index: 1;
}

.hero-content { flex: 1; min-width: 0; }

/* Badge eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cdta-gold);
  margin-bottom: 1.5rem;
  padding: .3rem 1rem .3rem .65rem;
  background: rgba(212,160,23,.1);
  border: 1px solid rgba(212,160,23,.28);
  border-radius: 100px;
}

.hero-eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cdta-gold);
  flex-shrink: 0;
  animation: dotBlink 2s ease-in-out infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212,160,23,.5); }
  50%       { opacity: .7; box-shadow: 0 0 0 6px rgba(212,160,23,0); }
}

/* Titre */
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -.03em;
}

.hero-em {
  font-style: normal;
  background: linear-gradient(100deg, #D4A017 0%, #F2CB50 45%, #D4A017 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3.5s linear infinite 2s;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* CTA */
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-lg { padding: .75rem 1.75rem; font-size: 1rem; }

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,.9);
  border: 2px solid rgba(255,255,255,.32);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

/* ── Visuel hero (SVG ou Canvas) ───────────────────────────────────────── */
.hero-visual {
  flex-shrink: 0;
  width: min(460px, 48vw);
}

/* Canvas carte des clubs */
.hero-visual.hero-map {
  aspect-ratio: 1 / 1;
  position: relative;
}

#hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
}

.hero-target {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 60px rgba(212,160,23,.1)) drop-shadow(0 0 120px rgba(0,48,135,.3));
}

@keyframes ringPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .38; }
}

@keyframes ringGrow {
  0%, 100% { opacity: .7; transform-origin: 180px 180px; transform: scale(1); }
  50%       { opacity: .35; transform-origin: 180px 180px; transform: scale(1.05); }
}

.hero-target .ring-outer { animation: ringPulse 5.5s ease-in-out infinite; }
.hero-target .ring-mid   { animation: ringPulse 4.8s ease-in-out infinite .8s; }
.hero-target .ring-gold  { animation: ringGrow  3.5s ease-in-out infinite .2s; }
.hero-target .ring-inner { animation: ringGrow  2.8s ease-in-out infinite .6s; }

/* Flèche qui se dessine */
@keyframes arrowDraw {
  from { stroke-dashoffset: 360; opacity: 0; }
  20%  { opacity: 1; }
  to   { stroke-dashoffset: 0; opacity: 1; }
}

.hero-target .arrow-shaft {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: arrowDraw 1.4s cubic-bezier(.4,0,.2,1) 1.2s both;
}

.hero-target .arrow-head {
  opacity: 0;
  animation: fadeSimple .3s ease .3s both;
}

.hero-target .target-center {
  animation: targetGlow 2.2s ease-in-out infinite 2s;
}

@keyframes targetGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(212,160,23,.9)); }
  50%       { filter: drop-shadow(0 0 18px rgba(212,160,23,1)) drop-shadow(0 0 40px rgba(212,160,23,.5)); }
}

@keyframes fadeSimple {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Scroll indicator ──────────────────────────────────────────────────── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.hero-scroll-indicator span {
  display: block;
  width: 2px;
  height: 52px;
  background: rgba(255,255,255,.15);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: -52px;
  left: 0;
  width: 100%;
  height: 52px;
  background: linear-gradient(to bottom, transparent 0%, var(--cdta-gold) 50%, transparent 100%);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { top: -52px; }
  100% { top: 52px; }
}

/* ── Vague ─────────────────────────────────────────────────────────────── */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: clamp(48px, 5vw, 80px);
}

/* ── Animations d'entrée ───────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeScale {
  from { opacity: 0; transform: scale(.9); }
  to   { opacity: 1; transform: scale(1); }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp .9s cubic-bezier(.2,0,.2,1) var(--delay, 0s) both;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeScale 1.2s cubic-bezier(.2,0,.2,1) var(--delay, 0s) both;
}

/* ── Header transparent (page d'accueil) ───────────────────────────────── */
.site-header.is-transparent {
  position: fixed;
  width: 100%;
  background: transparent;
  box-shadow: none;
  transition: background .4s ease, box-shadow .4s ease;
}

.site-header.is-transparent.scrolled {
  background: linear-gradient(135deg, #1265B8 0%, #003087 50%, #001F5C 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

/* Burger amélioré */
.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.menu-toggle { flex-direction: column; gap: 5px; align-items: center; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════════════════════════════ */

.stats-section {
  background: var(--cdta-surface);
  padding: 2rem 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  transition: background .22s;
  cursor: default;
}

.stat-item:hover { background: var(--cdta-bg); }

.stat-number {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--cdta-blue);
  line-height: 1;
  margin-bottom: .4rem;
  font-family: 'Maven Pro', sans-serif;
  letter-spacing: -.03em;
  transition: color .2s;
}

.stat-item:hover .stat-number { color: var(--cdta-gold-dark); }

.stat-sep {
  width: 1px;
  height: 52px;
  background: var(--cdta-border);
  flex-shrink: 0;
}

.stat-label {
  font-size: .78rem;
  color: var(--cdta-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.stat-sublabel {
  display: block;
  font-size: .65rem;
  color: var(--cdta-muted);
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .2rem;
}

.stats-cats {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  padding: .9rem 0 .1rem;
  border-top: 1px solid var(--cdta-border);
  margin-top: .5rem;
}

.stats-cat-pill {
  display: flex;
  align-items: center;
  gap: .3rem;
  background: var(--cdta-bg);
  border: 1px solid var(--cdta-border);
  border-radius: 999px;
  padding: .18rem .6rem;
  font-size: .7rem;
  font-family: 'Maven Pro', sans-serif;
}

.stats-cat-code {
  color: var(--cdta-blue);
  font-weight: 800;
  letter-spacing: .04em;
}

.stats-cat-label {
  color: var(--cdta-text);
  font-weight: 500;
}

.stats-cat-count {
  color: var(--cdta-muted);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTIONS CATÉGORIES
═══════════════════════════════════════════════════════════════════════════ */

.cat-section {
  padding: 4.5rem 0;
}

.cat-section:nth-child(even) { background: var(--cdta-surface); }

.featured-section { background: var(--cdta-bg) !important; }

.cat-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: .9rem;
  position: relative;
  border-bottom: 2px solid var(--cdta-border);
}

/* Barre gold sous le titre */
.cat-section__header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--cdta-gold), rgba(212,160,23,0));
  border-radius: 1px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cdta-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: .65rem;
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 1.35em;
  background: linear-gradient(180deg, var(--cdta-gold), var(--cdta-blue));
  border-radius: 2px;
  flex-shrink: 0;
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--cdta-blue);
  padding: .4rem .9rem;
  border: 1.5px solid rgba(0,48,135,.22);
  border-radius: 100px;
  transition: background .18s, border-color .18s, gap .18s, color .18s, box-shadow .18s;
}

.see-all:hover {
  background: var(--cdta-blue);
  border-color: var(--cdta-blue);
  color: #fff;
  gap: .5rem;
  box-shadow: 0 4px 12px rgba(0,48,135,.25);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════════════════════════ */

/* Vignette */
.post-card__thumb {
  display: block;
  overflow: hidden;
  position: relative;
}

.post-card__thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,0,.2,1);
}

.post-card:hover .post-card__thumb img { transform: scale(1.05); }

.post-card__thumb-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--cdta-blue) 0%, var(--cdta-navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
}

/* Excerpt tronqué */
.post-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--cdta-muted);
  font-size: .9rem;
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ── Featured card ──────────────────────────────────────────────────────── */
.post-card--featured .post-card__thumb img,
.post-card--featured .post-card__thumb-placeholder {
  height: 320px;
}

.post-card--featured .post-card__thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,20,60,.55) 0%, transparent 60%);
  pointer-events: none;
}

.post-card--featured .post-card__thumb-placeholder--featured {
  height: 320px;
  color: rgba(255,255,255,.18);
}

.post-title--lg { font-size: 1.4rem; }
.post-excerpt--featured { -webkit-line-clamp: 4; }

.read-more--featured {
  font-size: .95rem;
  gap: .5rem;
}

.cat-badge--featured {
  font-size: .78rem;
  padding: .2rem .6rem;
}

/* ── Grille featured (1 grande + 3 petites) ─────────────────────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 1.25rem;
  align-items: start;
}

.post-card--featured {
  grid-column: 1;
  grid-row: 1 / 4;
}

/* Petites cards : layout horizontal */
.featured-grid .post-card:not(.post-card--featured) {
  display: grid;
  grid-template-columns: 115px 1fr;
}

.featured-grid .post-card:not(.post-card--featured) .post-card__thumb {
  display: block;
}

.featured-grid .post-card:not(.post-card--featured) .post-card__thumb img {
  height: 100%;
  width: 115px;
  object-fit: cover;
}

.featured-grid .post-card:not(.post-card--featured) .post-card__thumb-placeholder {
  height: 100%;
  min-height: 95px;
  width: 115px;
}

.featured-grid .post-card:not(.post-card--featured) .card-body {
  padding: .85rem 1rem;
}

.featured-grid .post-card:not(.post-card--featured) .post-title {
  font-size: .92rem;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-grid .post-card:not(.post-card--featured) .post-excerpt {
  font-size: .82rem;
  -webkit-line-clamp: 2;
}

.featured-grid .post-card:not(.post-card--featured) .read-more {
  font-size: .8rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity  .7s cubic-bezier(.2,0,.2,1) var(--reveal-delay, 0s),
    transform .7s cubic-bezier(.2,0,.2,1) var(--reveal-delay, 0s);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEARCH FORM
═══════════════════════════════════════════════════════════════════════════ */

.search-form { display: flex; gap: .5rem; max-width: 440px; margin: 1.5rem auto; }
.search-form label { flex: 1; margin: 0; }

.search-form .search-field {
  width: 100%;
  padding: .65rem 1rem;
  border: 1.5px solid var(--cdta-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .9rem;
  background: var(--cdta-surface);
  color: var(--cdta-text);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}

.search-form .search-field:focus {
  border-color: var(--cdta-blue);
  box-shadow: 0 0 0 3px rgba(0,48,135,.1);
}

.search-form .search-submit {
  background: var(--cdta-blue);
  color: #fff;
  border: none;
  padding: .65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s;
  white-space: nowrap;
}

.search-form .search-submit:hover { background: var(--cdta-navy); }

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION ARTICLES
═══════════════════════════════════════════════════════════════════════════ */

.post-navigation {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cdta-border);
}

.post-navigation .nav-previous,
.post-navigation .nav-next { flex: 1; }
.post-navigation .nav-next { text-align: right; }

.post-navigation a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--cdta-blue);
}

.post-navigation a:hover { color: var(--cdta-gold); }

/* ═══════════════════════════════════════════════════════════════════════════
   MISC WORDPRESS
═══════════════════════════════════════════════════════════════════════════ */

.entry-tags {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cdta-border);
  font-size: .875rem;
}

.entry-tags a {
  display: inline-block;
  margin: .2rem .2rem;
  padding: .2rem .6rem;
  background: rgba(0,48,135,.08);
  border-radius: var(--radius-xs);
  color: var(--cdta-blue);
  font-size: .8rem;
  font-weight: 500;
  transition: background .18s, color .18s;
}

.entry-tags a:hover { background: var(--cdta-blue); color: #fff; }

.gallery { display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item img  { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xs); }

.alignleft  { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignfull   { width: 100vw; margin-left: calc(-50vw + 50%); }

.sticky { border-left: 4px solid var(--cdta-gold); }

.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px; width: 1px;
  overflow: hidden;
  position: absolute;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: var(--cdta-surface);
  clip: auto !important;
  display: block;
  font-size: .875rem;
  font-weight: 700;
  height: auto;
  left: 5px; top: 5px;
  padding: .75rem 1.25rem;
  width: auto;
  z-index: 100000;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .hero-container { gap: 2.5rem; }
  .hero-visual     { width: min(340px, 42vw); }
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: calc(var(--nav-h) + 2.5rem);
    padding-bottom: 6rem;
    gap: 2rem;
  }
  .hero-visual      { width: 260px; margin: 0 auto; }
  .hero-visual.hero-map { width: 260px; }
  .hero-desc    { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-eyebrow { font-size: .7rem; }

  .featured-grid { grid-template-columns: 1fr; }
  .post-card--featured { grid-column: 1; grid-row: auto; }

  .featured-grid .post-card:not(.post-card--featured) { grid-template-columns: 1fr; }
  .featured-grid .post-card:not(.post-card--featured) .post-card__thumb img,
  .featured-grid .post-card:not(.post-card--featured) .post-card__thumb-placeholder { width: 100%; height: 160px; }

  .stat-sep { height: 36px; }
}

@media (max-width: 540px) {
  .stats-grid  { flex-wrap: wrap; justify-content: space-around; }
  .stat-sep    { display: none; }
  .stat-item   { flex-basis: 45%; }
  .hero-title  { font-size: 2.2rem; }
  .cat-section { padding: 3rem 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BOUTON EXTRANET (HEADER)
═══════════════════════════════════════════════════════════════════════════ */

.btn-extranet {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem 1.1rem;
  background: var(--cdta-gold);
  color: var(--cdta-navy);
  font-size: .85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .18s, box-shadow .18s, transform .18s, color .18s;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: .5rem;
}

.btn-extranet:hover {
  background: var(--cdta-gold-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(212,160,23,.45);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .btn-extranet { margin-left: 0; margin-right: .5rem; padding: .4rem .85rem; font-size: .8rem; }
}

@media (max-width: 400px) {
  .btn-extranet span { display: none; }
  .btn-extranet { padding: .4rem .65rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BURGER ANIMATION (X quand ouvert)
═══════════════════════════════════════════════════════════════════════════ */

.menu-toggle.is-open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Slide animation menu mobile */
@keyframes menuSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.main-navigation.toggled { animation: menuSlide .22s ease; }

/* ═══════════════════════════════════════════════════════════════════════════
   ICÔNES STATS
═══════════════════════════════════════════════════════════════════════════ */

.stat-icon {
  color: var(--cdta-gold);
  margin-bottom: .5rem;
  opacity: .9;
  transition: transform .25s, opacity .25s;
}

.stat-item:hover .stat-icon {
  opacity: 1;
  transform: scale(1.12);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION NOS CLUBS
═══════════════════════════════════════════════════════════════════════════ */

.clubs-section {
  padding: 4.5rem 0;
  background: var(--cdta-surface);
}

.clubs-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: .9rem;
  border-bottom: 2px solid var(--cdta-border);
  position: relative;
}

.clubs-section__header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--cdta-gold), rgba(212,160,23,0));
  border-radius: 1px;
}

.clubs-sub {
  color: var(--cdta-muted);
  font-size: .875rem;
  margin: .35rem 0 0;
  font-weight: 400;
}

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .875rem;
}

.club-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .65rem;
  padding: 1.35rem .75rem 1.1rem;
  background: var(--cdta-bg);
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
  text-decoration: none;
  color: inherit;
  cursor: default;
  position: relative;
  overflow: visible;
}

a.club-card { cursor: pointer; }

a.club-card:hover {
  border-color: rgba(0,48,135,.25);
  box-shadow: 0 6px 20px rgba(0,48,135,.11);
  transform: translateY(-4px);
  background: var(--cdta-surface);
}

.club-card:has(.club-fiche.is-visible) {
  z-index: 10;
}

a.club-card:hover .club-card__name { color: var(--cdta-blue); }

a.club-card:hover .club-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.club-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.92);
  font-size: .68rem;
  font-weight: 800;
  overflow: hidden;
  letter-spacing: .05em;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,.22);
  transition: transform .2s, box-shadow .2s;
}

.club-card__avatar.has-logo {
  background: #fff;
  box-shadow: 0 0 0 3px var(--club-color, var(--cdta-blue)), 0 3px 10px rgba(0,0,0,.18);
  padding: 4px;
}

a.club-card:hover .club-card__avatar {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
}

.club-card__info {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1;
  width: 100%;
}

.club-card__name {
  font-size: .77rem;
  font-weight: 700;
  color: var(--cdta-navy);
  line-height: 1.35;
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.club-card__ville {
  font-size: .7rem;
  color: var(--cdta-muted);
  font-weight: 500;
}

.club-card__arrow {
  color: var(--cdta-blue);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .clubs-grid { grid-template-columns: repeat(4, 1fr); gap: .75rem; }
}

@media (max-width: 640px) {
  .clubs-grid { grid-template-columns: repeat(3, 1fr); }
  .clubs-section__header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .clubs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Club avatar : logo image ───────────────────────────────────────────── */
.club-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* ── Club fiche au survol ───────────────────────────────────────────────── */
.club-card.has-fiche { cursor: pointer; }

.club-fiche {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.1);
  padding: 1.25rem 1.25rem 1rem;
  width: 280px;
  pointer-events: auto;
}

.club-fiche.is-visible { display: block; }

.club-fiche__close {
  position: absolute;
  top: .6rem;
  right: .75rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--cdta-muted);
  cursor: pointer;
  padding: .1rem .3rem;
  border-radius: 4px;
  transition: background .15s, color .15s;
}
.club-fiche__close:hover { background: #f0f0f0; color: var(--cdta-text); }

.club-fiche__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--cdta-navy);
  margin: 0 1.5rem .15rem 0;
  line-height: 1.3;
}

.club-fiche__ville {
  font-size: .75rem;
  color: var(--cdta-muted);
  margin: 0 0 .75rem;
}

.club-fiche__dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .2rem .75rem;
  font-size: .78rem;
  margin: 0 0 .85rem;
}
.club-fiche__dl dt {
  font-weight: 600;
  color: var(--cdta-navy);
  white-space: nowrap;
}
.club-fiche__dl dd {
  color: var(--cdta-text);
  margin: 0;
  word-break: break-word;
}
.club-fiche__dl a { color: var(--cdta-blue); text-decoration: none; }
.club-fiche__dl a:hover { text-decoration: underline; }

.club-fiche__website {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--cdta-blue);
  text-decoration: none;
  border: 1px solid var(--cdta-blue);
  border-radius: 6px;
  padding: .3rem .7rem;
  transition: background .15s, color .15s;
}
.club-fiche__website:hover {
  background: var(--cdta-blue);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION EXTRANET CTA
═══════════════════════════════════════════════════════════════════════════ */

.extranet-cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #060e1a 0%, #001140 35%, #001F5C 65%, #003087 100%);
  position: relative;
  overflow: hidden;
}

.extranet-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.extranet-cta-inner {
  display: flex;
  align-items: center;
  gap: 5rem;
  position: relative;
  z-index: 1;
}

.extranet-cta__text { flex: 1; }

.extranet-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cdta-gold);
  margin-bottom: 1.1rem;
  padding: .28rem .9rem .28rem .6rem;
  background: rgba(212,160,23,.12);
  border: 1px solid rgba(212,160,23,.28);
  border-radius: 100px;
}

.extranet-cta__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cdta-gold);
  flex-shrink: 0;
  animation: dotBlink 2s ease-in-out infinite;
}

.extranet-cta__title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.extranet-cta__desc {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  max-width: 460px;
  line-height: 1.8;
  margin-bottom: 2.25rem;
}

.extranet-cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.extranet-cta__visual {
  flex-shrink: 0;
  width: min(190px, 22vw);
  opacity: .6;
}

.extranet-cta__visual svg { width: 100%; height: auto; }

@media (max-width: 900px) {
  .extranet-cta-inner { gap: 2.5rem; }
  .extranet-cta__visual { width: min(140px, 18vw); }
}

@media (max-width: 600px) {
  .extranet-cta-inner { flex-direction: column; gap: 2rem; align-items: flex-start; }
  .extranet-cta__visual { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BOUTON RETOUR EN HAUT
═══════════════════════════════════════════════════════════════════════════ */

.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  background: var(--cdta-blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,48,135,.38);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: background .18s, box-shadow .18s, opacity .28s, transform .28s;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--cdta-gold);
  color: var(--cdta-navy);
  box-shadow: 0 6px 22px rgba(212,160,23,.45);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION CALENDRIER
═══════════════════════════════════════════════════════════════════════════ */

.cal-section {
  padding: 4.5rem 0;
  background: var(--cdta-bg);
}

.cal-iframe-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cdta-surface);
}

.cal-iframe-wrap iframe {
  display: block;
  border: none;
  width: 100%;
}

@media (max-width: 768px) {
  .cal-iframe-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .cal-iframe-wrap iframe {
    min-width: 640px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIVE BADGE
═══════════════════════════════════════════════════════════════════════════ */

@keyframes live-sonar {
  0%   { box-shadow: 0 0 0 0    rgba(255, 255, 255, .8); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);  }
  100% { box-shadow: 0 0 0 0    rgba(255, 255, 255, 0);  }
}

/* ─── Badge hero (dans .hero-content, après les boutons) ─── */
.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 16px;
  margin-top: .75rem;
  background: rgba(200, 16, 46, .88);
  border-radius: 999px;
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  align-self: flex-start;
  box-shadow: 0 4px 22px rgba(200, 16, 46, .5), 0 0 0 1px rgba(255,255,255,.15);
  /* invisible par défaut */
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease, box-shadow .2s;
}

.hero-live-badge.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-live-badge:hover {
  box-shadow: 0 6px 28px rgba(200, 16, 46, .65), 0 0 0 1px rgba(255,255,255,.25);
}

.hero-live__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: live-sonar 1.5s ease-out infinite;
}

/* ─── Badge flottant (position fixed, toutes pages) ─── */
.live-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  background: #e53e3e;
  color: #fff;
  border-radius: 999px;
  font-family: var(--cdta-font, inherit);
  font-weight: 700;
  font-size: .82rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(229, 62, 62, .45);
  /* invisible par défaut */
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.95);
  transition: opacity .35s ease, transform .35s ease, box-shadow .2s;
}

.live-float.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.live-float:hover {
  box-shadow: 0 7px 26px rgba(229, 62, 62, .6);
  transform: translateY(-2px) scale(1.03);
}

.live-float__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: live-sonar 1.5s ease-out infinite;
}

@media (max-width: 600px) {
  .live-float {
    /* au-dessus du back-to-top (44px + 1.75rem bas + 0.75rem écart) */
    bottom: 5.5rem;
    right: 1.75rem;
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    gap: 0;
  }
  .live-float__label { display: none; }
  .live-float__dot {
    width: 14px;
    height: 14px;
  }
}
