/* =====================================================================
   RFCTPM — cms.css
   Composants ajoutés par le CMS. Chargé APRÈS main.css.
   Règle : réutiliser le vocabulaire du design 4.2.3 (cartes arrondies 30px,
   ombre « outline », rouge --primary, blocs noirs, boutons pilule).
   Ne jamais surcharger une règle existante de main.css.
   ===================================================================== */

/* ---------- « hidden » doit masquer, partout ----------
   Les filtres (projets, matchs, résultats) écartent une fiche en lui posant
   l'attribut « hidden ». Or « [hidden] » est déclaré tout en haut de main.css
   et ne pèse pas plus lourd qu'une classe : « .news-card { display: flex } »,
   déclarée 9 700 lignes plus bas, l'emportait et la fiche restait affichée.
   Cette règle rend sa valeur à l'attribut sans rien changer au design : elle
   ne s'applique qu'aux éléments explicitement masqués. */
[hidden] { display: none !important; }

:root {
  --card-shadow: 0 1px 2px 0 #0000001a, 0 1px 3px 0 #0000000f, 0 0 0 4px var(--shadow-outline);
  --radius-card: 30px;
  --radius-inner: 20px;
}

/* ---------- Icônes Font Awesome (déjà embarqué dans le ZIP) ---------- */
.fa-s, .fa-b { font-style: normal; font-weight: 400; line-height: 1; display: inline-block; }
.fa-s { font-family: "Fa solid 900", sans-serif; }
.fa-b { font-family: "Fa brands 400", sans-serif; }

/* ---------- Placeholder : contenu à fournir par le club ---------- */
.todo {
  display: inline;
  color: var(--primary);
  background: #de221c12;
  border: 1px dashed var(--primary);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: .88em;
  font-weight: 500;
  font-style: normal;
  text-transform: none;
}
.text-white .todo, .todo.on-dark { color: #ffb3b0; background: #de221c26; border-color: #ff8a85; }

/* Les liens dans un texte courant ne doivent pas être capitalisés (a{text-transform:capitalize} global) */
.rich-text-style a, .cms-prose a, .breadcrumb a, .legal-prose a, .meta-inline a { text-transform: none; font-size: inherit; }

/* ---------- Bandeau des pages internes ---------- */
.pages-banner.cms-banner {
  background-color: #0000;
    background-position: 0 0, 50% 40%;
  background-size: auto, cover;
  background-color: var(--primary-dark);
}
.pages-banner.cms-banner.plain { background-image: none; }
.banner-title-wrapper .tag-red { margin-bottom: 18px; }
.banner-description { color: #ffffffd9; text-align: center; font-size: 20px; line-height: 1.5; max-width: 640px; }
.breadcrumb {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  list-style: none; margin: 26px 0 0; padding: 0;
  font-size: 15px; color: #ffffffa6;
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #ffffff59; }
.breadcrumb a { color: #fff; font-weight: 500; }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Mise en page contenu + barre latérale ---------- */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 60px;
  align-items: start;
  width: 100%;
}
.content-layout.reverse { grid-template-columns: 340px minmax(0, 1fr); }
.cms-prose { max-width: 760px; }
.cms-prose p, .rich-text-style p { line-height: 1.65em; }
.cms-prose h2 { font-size: 36px; margin-top: 50px; }
.cms-prose h2:first-child { margin-top: 0; }
.cms-prose h3 { font-size: 26px; margin-top: 36px; }
.cms-prose ul { line-height: 1.65em; padding-left: 22px; }
.cms-prose blockquote {
  margin: 36px 0; padding: 4px 0 4px 26px;
  border-left: 3px solid var(--primary);
  font-size: 24px; line-height: 1.45; font-weight: 500; color: var(--primary-dark);
}
.cms-prose figure { margin: 36px 0; }
.cms-prose figure img { width: 100%; border-radius: var(--radius-card); display: block; }
.cms-prose figcaption { font-size: 15px; margin-top: 10px; }
.lead { font-size: 22px; line-height: 1.55; color: var(--primary-dark); }

.sidebar-stack { display: flex; flex-direction: column; gap: 30px; position: sticky; top: 30px; }
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 28px;
}
.sidebar-card.dark { background: var(--primary-dark); box-shadow: none; }
.sidebar-card.dark h5, .sidebar-card.dark p { color: var(--white); }
.sidebar-card h5 { margin-top: 0; margin-bottom: 18px; }
.sidebar-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sidebar-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--gray); font-size: 16px; color: var(--paragraph-gray); line-height: 1.4; }
.sidebar-list li:last-child { border-bottom: 0; }
.sidebar-list strong { color: var(--primary-dark); font-weight: 500; text-align: right; }
.sidebar-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sidebar-links a { font-size: 17px; font-weight: 500; color: var(--primary-dark); padding: 8px 0; display: flex; justify-content: space-between; }
.sidebar-links a:hover, .sidebar-links a.is-current { color: var(--primary); }

/* ---------- Titre de section avec bouton (variante des pages internes) ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; width: 100%; }
.section-head p { max-width: 620px; }

/* ---------- Filtres (pilules) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; width: 100%; align-items: center; }
.filter-bar .filter-label { font-size: 16px; color: var(--paragraph-gray); margin-right: 6px; }
.filter-pill {
  font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1;
  color: var(--paragraph-gray); background: #0000;
  border: 1px solid #00000026; border-radius: 50px;
  padding: 11px 20px; cursor: pointer;
  transition: color .3s, border-color .3s, background-color .3s;
}
.filter-pill:hover { border-color: var(--primary); color: var(--primary); }
.filter-pill.is-active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.filter-pill:focus-visible, .filter-select:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.filter-select {
  font-family: inherit; font-size: 16px; color: var(--primary-dark);
  border: 1px solid #00000026; border-radius: 50px; background: var(--white);
  padding: 10px 40px 10px 18px; appearance: none;
  background-image: url("../imgs/arrow.svg"); background-repeat: no-repeat;
  background-size: 14px; background-position: right 16px center;
}
.filter-sep { width: 1px; height: 28px; background: var(--gray); margin: 0 8px; }

/* ---------- Matchs : bandeau « prochain match / dernier résultat » (home) ---------- */
.match-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; width: 100%; margin-top: 80px; }
.match-next {
  background: var(--primary-dark); color: var(--white);
  border-radius: var(--radius-card); padding: 40px;
  display: flex; flex-direction: column; gap: 30px; position: relative; overflow: hidden;
}
.match-next::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px;
  border: 40px solid #de221c26; border-radius: 50%; pointer-events: none;
}
.match-card-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.match-comp { font-size: 16px; color: #ffffffb3; }
.match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.match-team { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.match-team-logo {
  width: 84px; height: 84px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.match-team-logo img { width: 70%; height: auto; }
.match-team-logo.placeholder { background: #ffffff14; border: 1px dashed #ffffff4d; color: #ffffff80; font-size: 13px; }
.match-team-name { font-size: 20px; font-weight: 500; line-height: 1.2; }
.match-vs { font-size: 18px; color: var(--primary); font-weight: 600; }
.match-when { display: flex; flex-wrap: wrap; gap: 12px 30px; font-size: 17px; color: #ffffffd9; }
.match-when span { display: inline-flex; align-items: center; gap: 10px; }
.match-when .fa-s { color: var(--primary); font-size: 15px; }
.match-last {
  background: var(--white); border-radius: var(--radius-card); box-shadow: var(--card-shadow);
  padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.match-last .match-comp { color: var(--paragraph-gray); }
.score-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.score-line .team { font-size: 18px; font-weight: 500; line-height: 1.25; }
.score-line .team:last-child { text-align: right; }
.score { font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -1px; white-space: nowrap; }
.score .sep { color: var(--gray); margin: 0 6px; }
.score .win { color: var(--primary); }

/* ---------- Matchs : liste calendrier / résultats ---------- */
.match-month { font-size: 26px; font-weight: 500; margin: 50px 0 20px; text-transform: capitalize; }
.match-month:first-child { margin-top: 0; }
.match-list { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.match-row {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) 230px 150px; gap: 24px; align-items: center;
  background: var(--white); border-radius: var(--radius-inner); box-shadow: var(--card-shadow);
  padding: 18px 26px;
}
.match-date { display: flex; flex-direction: column; align-items: center; border-right: 1px solid var(--gray); padding-right: 20px; }
.match-date .d { font-size: 38px; font-weight: 600; line-height: 1; color: var(--primary); }
.match-date .m { font-size: 14px; color: var(--paragraph-gray); margin-top: 6px; text-transform: uppercase; letter-spacing: .04em; }
.match-row-teams { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.match-row-teams .vs { font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--primary-dark); }
.match-row-teams .vs em { font-style: normal; color: var(--paragraph-gray); font-weight: 400; margin: 0 6px; }
.match-row-teams .team-label { font-size: 15px; color: var(--paragraph-gray); }
.match-row-meta { font-size: 15px; line-height: 1.5; color: var(--paragraph-gray); }
.match-row-meta strong { color: var(--primary-dark); font-weight: 500; display: block; }
.match-row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.match-row-end .score { font-size: 30px; }
.home-away { font-size: 13px; font-weight: 500; color: var(--paragraph-gray); border: 1px solid var(--gray); border-radius: 50px; padding: 4px 10px; }

/* ---------- Pastilles de statut ---------- */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; border-radius: 50px; padding: 6px 14px; line-height: 1; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.upcoming { color: var(--primary-dark); background: var(--light-gray); border: 1px solid var(--gray); }
.status.live { color: var(--white); background: var(--primary); }
.status.done { color: var(--white); background: var(--primary-dark); }
.status.postponed { color: #8a5a00; background: #fff4de; }
.status.cancelled { color: var(--paragraph-gray); background: var(--gray); text-decoration: line-through; }
.match-next .status.upcoming { color: var(--white); background: #ffffff14; border-color: #ffffff33; }

/* ---------- Équipes : cartes (image + carte chevauchante du template) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; width: 100%; }
.team-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-card { display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.team-card .team-card-image { height: 340px; }
.team-card .team-info-card { gap: 6px; padding: 26px 24px 28px; text-align: center; }
.team-card .team-info-card h5 { margin: 0; }
.team-card .team-info-card p { margin: 0; font-size: 16px; }
.team-card .team-info-card .link-with-arrow { margin-top: 10px; font-size: 17px; }

/* ---------- Joueurs & staff ---------- */
.player-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; width: 100%; }
.player-card {
  background: var(--white); border-radius: var(--radius-card); box-shadow: var(--card-shadow);
  overflow: hidden; display: flex; flex-direction: column;
}
.player-photo {
  aspect-ratio: 4 / 5; background: linear-gradient(160deg, #1c1c1f, #000);
  position: relative; display: flex; align-items: flex-end; justify-content: flex-start; overflow: hidden;
}
.player-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.player-photo .initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 64px; font-weight: 300; color: #ffffff26; }
.player-number {
  position: relative; z-index: 2; margin: 0 0 18px 20px;
  font-size: 58px; font-weight: 700; line-height: 1; color: var(--white);
  -webkit-text-stroke: 0; text-shadow: 0 2px 20px #0008;
}
.player-number::before { content: "#"; font-size: .45em; color: var(--primary); vertical-align: top; margin-right: 2px; }
.player-body { padding: 20px 22px 24px; }
.player-body h6 { margin: 0 0 6px; font-size: 20px; }
.player-body p { margin: 0; font-size: 15px; line-height: 1.4; }
.staff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; }
.staff-item { display: flex; align-items: center; gap: 16px; background: var(--white); border-radius: var(--radius-inner); box-shadow: var(--card-shadow); padding: 16px 20px; }
.staff-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-dark); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 500; flex: 0 0 auto; }
.staff-item h6 { margin: 0; font-size: 18px; }
.staff-item p { margin: 2px 0 0; font-size: 15px; }

/* ---------- Chiffres clés (qui sommes-nous uniquement) ---------- */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; border-top: 1px solid #ffffff26; }
.figure { padding: 34px 24px 6px 0; }
.figure + .figure { padding-left: 24px; border-left: 1px solid #ffffff26; }
.figure .n { font-size: 64px; font-weight: 500; line-height: 1; color: var(--white); }
.figure .l { font-size: 17px; line-height: 1.4; color: #ffffffb3; margin-top: 12px; }

/* ---------- Frise chronologique ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; width: 100%; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 58px; top: 8px; bottom: 8px; width: 2px; background: var(--gray); }
.timeline li { display: grid; grid-template-columns: 118px 1fr; gap: 26px; padding-bottom: 40px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .year { justify-self: center; position: relative; z-index: 1; background: var(--primary); color: var(--white); border-radius: 50px; padding: 8px 16px; font-weight: 600; font-size: 17px; height: fit-content; }
.timeline h6 { margin: 4px 0 6px; font-size: 22px; }
.timeline p { margin: 0; }

/* ---------- Galerie ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; }
.gallery-grid a { display: block; border-radius: var(--radius-inner); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.165, .84, .44, 1); }
.gallery-grid a:hover img { transform: scale(1.05); }

/* ---------- Vidéo (embed responsive) ---------- */
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden; background: var(--primary-dark); width: 100%; }
.video-embed img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.video-embed .play { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; border: 0; cursor: pointer; }

/* ---------- Actualités : méta, pagination, article ---------- */
.meta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 16px; color: var(--paragraph-gray); }
.meta-inline span { display: inline-flex; align-items: center; gap: 8px; }
.meta-inline .fa-s { color: var(--primary); font-size: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip { font-size: 14px; font-weight: 500; color: var(--paragraph-gray); background: var(--light-gray); border: 1px solid var(--gray); border-radius: 50px; padding: 6px 14px; text-transform: none; }
.tag-chip:hover { color: var(--primary); border-color: var(--primary); }
.news-card-tag.solid { background-color: var(--primary); }
.news-card.featured { grid-column: span 2; flex-direction: row; }
.news-card.featured .news-card-media { aspect-ratio: auto; flex: 1.2; min-height: 360px; }
.news-card.featured .news-card-body { flex: 1; padding: 36px; justify-content: center; }
.news-card.featured .news-card-title { font-size: 30px; }
.news-card-excerpt { margin: 0; font-size: 16px; line-height: 1.55; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 70px; width: 100%; }
.pagination a, .pagination span {
  min-width: 48px; height: 48px; padding: 0 16px; border-radius: 50px; border: 1px solid #00000026;
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 500; color: var(--primary-dark);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .is-current { background: var(--primary); border-color: var(--primary); color: var(--white); }
.article-body { max-width: 760px; margin: 70px auto 0; }
.share-links { display: flex; gap: 10px; align-items: center; font-size: 16px; color: var(--paragraph-gray); }
.share-links a { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.share-links a:hover { background: var(--primary); }

/* ---------- Projets : tuiles du template (about-us-steps) ---------- */
.about-us-steps-wrapper.projects { border-radius: var(--radius-card); }
.about-us-steps-item.project-tile { background-size: cover; background-position: center; color: var(--white); gap: 14px; min-height: 420px; text-decoration: none; text-transform: none; transition: background-size .6s; }
.about-us-steps-item.project-tile { text-align: left; align-items: flex-start; }
.about-us-steps-item.project-tile h5 { color: var(--white); margin: 0; }
.about-us-steps-item.project-tile p { color: #ffffffcc; margin: 0; font-size: 16px; font-weight: 400; }
.about-us-steps-item.project-tile .tag-red { align-self: flex-start; font-size: 14px; padding: 7px 14px; }
.about-us-steps-item.project-tile:hover h5 { color: var(--primary); }
.about-us-steps-item.project-tile + .project-tile { border-left: 1px solid #ffffff1a; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; width: 100%; align-items: start; }
.form-card { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 44px; }
.form-card h3 { margin-top: 0; font-size: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
.form-grid .full { grid-column: 1 / -1; }
.field-label { display: block; font-size: 15px; font-weight: 500; color: var(--primary-dark); margin-bottom: 8px; text-transform: none; }
.field-label .req { color: var(--primary); }
.contacts-input, .contacts-textarea { width: 100%; font-family: inherit; }
.contacts-input:focus, .contacts-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px #de221c1f; }
select.contacts-input { appearance: none; background-image: url("../imgs/arrow.svg"); background-repeat: no-repeat; background-size: 14px; background-position: right 18px center; padding-right: 44px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--paragraph-gray); margin-bottom: 26px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); flex: 0 0 auto; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--paragraph-gray); margin-top: 18px; line-height: 1.5; }
.form-alert { border-radius: 14px; padding: 14px 18px; font-size: 16px; line-height: 1.5; margin-bottom: 24px; display: none; }
.form-alert.success { display: block; background: #e8f5ec; color: #1f6b3a; }
/* Retours du serveur : succès après redirection, erreur après un 422. */
.form-alert.is-shown { display: block; background: #e8f5ec; color: #1f6b3a; }
.form-alert.is-error.is-shown { background: #fdecea; color: #a4231e; }
.field-error { color: var(--primary); font-size: 14px; margin: -8px 0 12px; display: none; }
.is-invalid + .field-error { display: block; }
.is-invalid { border-color: var(--primary) !important; }
.info-dark { background: var(--primary-dark); border-radius: var(--radius-card); padding: 44px; color: var(--white); display: flex; flex-direction: column; gap: 30px; }
.info-dark h5 { color: var(--white); margin: 0 0 10px; font-size: 20px; }
.info-dark p, .info-dark a { color: #ffffffcc; font-size: 17px; font-weight: 400; line-height: 1.55; margin: 0; text-transform: none; }
.info-dark a:hover { color: var(--primary); }
.info-row { display: flex; gap: 18px; }
.info-row .fa-s { color: var(--primary); font-size: 18px; width: 22px; margin-top: 4px; flex: 0 0 auto; }
.map-embed { border-radius: var(--radius-card); overflow: hidden; background: var(--gray); aspect-ratio: 21 / 8; width: 100%; display: flex; align-items: center; justify-content: center; color: var(--paragraph-gray); font-size: 16px; margin-top: 60px; }

/* ---------- FAQ (details/summary, sans JS) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 860px; }
details.accordion-item summary { list-style: none; cursor: pointer; }
details.accordion-item summary::-webkit-details-marker { display: none; }
details.accordion-item summary h6 { margin: 0; font-size: 20px; }
details.accordion-item summary .accordion-icon::before { content: "\f067"; }
details.accordion-item[open] summary .accordion-icon::before { content: "\f068"; }
details.accordion-item .faq-answer { padding: 6px 0 12px; }

/* ---------- Témoignages (page) ---------- */
.testimonials-card-item blockquote { margin: 0 0 20px; font-size: 19px; line-height: 1.55; color: var(--primary-dark); border: 0; padding: 0; }
.testimonials-card-item .author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonials-card-item .author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
/* Initiales à la place d'une photo dont la diffusion n'est pas autorisée
   (lot L4-bis) : rond .staff-avatar de la maquette equipe.html, à la taille
   du portrait qu'il remplace ; rouge du club sur la section sombre. */
.testimonials-card-item .author .staff-avatar { width: 54px; height: 54px; }
.testimonials-home-author .staff-avatar { width: 60px; height: 60px; margin-right: 15px; background: var(--primary); }
.testimonials-card-item .author h6 { margin: 0; font-size: 18px; }
.testimonials-card-item .author p { margin: 0; font-size: 15px; }
.testimonials-card-item { display: flex; }

/* ---------- Partenaires ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; width: 100%; }
.partner-logo { aspect-ratio: 3 / 2; background: var(--white); border-radius: var(--radius-inner); box-shadow: var(--card-shadow); display: flex; align-items: center; justify-content: center; padding: 20px; color: var(--paragraph-gray); font-size: 14px; text-align: center; }

/* ---------- Pages légales ---------- */
.legal-prose { max-width: 820px; margin: 0 auto; }
.legal-prose h2 { font-size: 30px; margin-top: 50px; text-transform: none; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p, .legal-prose li { line-height: 1.65; font-size: 17px; }
.legal-updated { font-size: 15px; color: var(--paragraph-gray); margin-bottom: 40px; }

/* ---------- Erreur 404 ---------- */
.error-page { text-align: center; }
.error-code { font-size: clamp(120px, 22vw, 260px); font-weight: 800; line-height: .9; color: #0000; -webkit-text-stroke: 2px var(--primary); letter-spacing: -4px; }
.error-page h2 { font-size: 44px; margin: 20px 0 10px; }
.error-page p { color: var(--paragraph-gray); max-width: 480px; margin: 0 auto 36px; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* Bouton secondaire sur fond clair : noir, texte blanc (pages d'erreur). */
.primary-button.black { border-color: var(--primary-dark); background-color: var(--primary-dark); color: var(--white); }
.primary-button.black:hover { color: var(--primary-dark); background-color: #0000; }
@media screen and (max-width: 479px) { .error-page h2 { font-size: 32px; } .error-actions { flex-direction: column; align-items: center; } }

/* ---------- Bloc CTA en ligne (fin de page interne) ---------- */
.inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; background: var(--primary); border-radius: var(--radius-card); padding: 44px 50px; width: 100%; }
.inline-cta h3 { color: var(--white); margin: 0; font-size: 32px; max-width: 620px; }
.inline-cta .primary-button.white { flex: 0 0 auto; }

/* ---------- Divers ---------- */
.section.light { background: var(--light-gray); }
.section.white { background: var(--white); }
.stack-40 > * + * { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.w-100 { width: 100%; }
.empty-state { width: 100%; text-align: center; padding: 60px 20px; border: 1px dashed #00000026; border-radius: var(--radius-card); color: var(--paragraph-gray); }

/* =====================================================================
   Responsive — mêmes paliers que main.css (991 / 767 / 479)
   ===================================================================== */
@media screen and (max-width: 991px) {
  .content-layout, .content-layout.reverse { grid-template-columns: 1fr; gap: 50px; }
  .sidebar-stack { position: static; }
  .match-feature { grid-template-columns: 1fr; }
  .match-row { grid-template-columns: 80px minmax(0, 1fr) 150px; }
  .match-row-meta { grid-column: 2 / 3; grid-row: 2; }
  .match-row-end { grid-row: 1 / 3; grid-column: 3; }
  .team-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .news-card.featured { grid-column: span 2; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media screen and (max-width: 767px) {
  .team-grid, .team-grid.three { grid-template-columns: 1fr; }
  .player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .staff-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card.featured { grid-column: auto; flex-direction: column; }
  .news-card.featured .news-card-media { min-height: 0; aspect-ratio: 16 / 11; }
  .news-card.featured .news-card-title { font-size: 22px; }
  .match-next, .match-last, .form-card, .info-dark { padding: 28px; }
  .match-team-logo { width: 64px; height: 64px; }
  .score { font-size: 44px; }
  .match-row { grid-template-columns: 64px minmax(0, 1fr); gap: 14px 16px; padding: 16px 18px; }
  .match-date { padding-right: 12px; }
  .match-date .d { font-size: 30px; }
  .match-row-meta { grid-column: 2; grid-row: 2; }
  .match-row-end { grid-column: 1 / -1; grid-row: 3; flex-direction: row; justify-content: space-between; align-items: center; border-top: 1px solid var(--gray); padding-top: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .figure .n { font-size: 48px; }
  .timeline::before { left: 38px; }
  .timeline li { grid-template-columns: 78px 1fr; gap: 16px; }
  .timeline .year { padding: 6px 12px; font-size: 15px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inline-cta { padding: 32px 28px; }
  .inline-cta h3 { font-size: 26px; }
  .about-us-steps-item.project-tile + .project-tile { border-left: 0; border-top: 1px solid #ffffff1a; }
}
@media screen and (max-width: 479px) {
  .player-grid { grid-template-columns: 1fr 1fr; }
  .player-number { font-size: 44px; margin: 0 0 12px 14px; }
  .player-body { padding: 14px 16px 18px; }
  .player-body h6 { font-size: 17px; }
  .figures { grid-template-columns: 1fr; }
  .figure + .figure { padding-left: 0; border-left: 0; border-top: 1px solid #ffffff26; }
  .gallery-grid { grid-template-columns: 1fr; }
  .filter-sep { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-grid img, .filter-pill { transition: none; }
}

/* =====================================================================
   Corrections de défauts présents dans le ZIP 4.2.3 (rendu cassé)
   ===================================================================== */
/* Texte des cartes disciplines : hérite du a{text-transform:capitalize} → « Sport De Contact… » */
.info-card-text { text-transform: none; }
/* Liste « projet social » : texte invisible (text-fill transparent + background-clip:text hérités du template) */
.dark-background-diagonal .bullet-style-list { -webkit-text-fill-color: currentColor; -webkit-background-clip: border-box; background-clip: border-box; background-color: transparent; }
.dark-background-diagonal .bullet-style-list-item { list-style: none; color: var(--white); line-height: 1.5; margin-bottom: 12px; }

/* ---------- Ligne « image + texte » (disciplines, RFSchool…) ---------- */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; width: 100%; }
.feature-row + .feature-row { margin-top: 100px; }
.feature-row.flip .feature-media { order: 2; }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); display: block; }
.feature-body .tag-red.dark-text { display: inline-block; margin-bottom: 18px; }
.feature-body h2 { margin-top: 0; }
.feature-facts { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.feature-facts li { font-size: 16px; color: var(--paragraph-gray); line-height: 1.4; padding-left: 22px; position: relative; }
.feature-facts li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.feature-facts strong { color: var(--primary-dark); font-weight: 500; display: block; }
.demo-note { width: 100%; margin-bottom: 30px; font-size: 15px; color: var(--paragraph-gray); }
.section.dark { background: var(--primary-dark); }
.section.dark h2, .section.dark h3, .section.dark h5 { color: var(--white); }
.section.dark p { color: #ffffffb3; }
@media screen and (max-width: 991px) {
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.flip .feature-media { order: 0; }
}
@media screen and (max-width: 479px) { .feature-facts { grid-template-columns: 1fr; } }
.consent a, .form-note a { text-transform: none; font-size: inherit; }

/* ---------- Barres (répartition des publics, évolution) ---------- */
.bars { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.bar-row { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) 70px; gap: 18px; align-items: center; }
.bar-row .lbl { font-size: 16px; line-height: 1.35; color: var(--primary-dark); }
.bar-track { height: 14px; background: var(--gray); border-radius: 20px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--primary); border-radius: 20px; }
.bar-fill.dark { background: var(--primary-dark); }
.bar-fill.goal { background: repeating-linear-gradient(135deg, var(--primary) 0 6px, #de221c55 6px 12px); }
.bar-row .val { font-size: 16px; font-weight: 600; text-align: right; }
.section.dark .bar-row .lbl, .section.dark .bar-row .val { color: var(--white); }
.section.dark .bar-track { background: #ffffff1f; }
/* Chiffres clés sur fond clair */
.figures.light { border-top-color: var(--gray); }
.figures.light .figure + .figure { border-left-color: var(--gray); }
.figures.light .figure .n { color: var(--primary); }
.figures.light .figure .l { color: var(--paragraph-gray); }
/* Tableau de bilan (sidebar ou section) */
.kv { width: 100%; border-collapse: collapse; font-size: 16px; }
.kv th, .kv td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--gray); vertical-align: top; }
.kv th { font-weight: 400; color: var(--paragraph-gray); width: 48%; }
.kv td { color: var(--primary-dark); font-weight: 500; }
.event-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; }
.event-card { background: var(--white); border-radius: var(--radius-inner); box-shadow: var(--card-shadow); padding: 26px 28px; display: flex; gap: 22px; align-items: flex-start; }
.event-card .when { flex: 0 0 auto; background: var(--primary-dark); color: var(--white); border-radius: 14px; padding: 12px 14px; text-align: center; min-width: 88px; font-size: 14px; line-height: 1.3; }
.event-card .when strong { display: block; font-size: 22px; color: var(--primary); }
.event-card h6 { margin: 0 0 6px; font-size: 20px; }
.event-card p { margin: 0; font-size: 16px; }
.pull-quote { font-size: 30px; line-height: 1.35; font-weight: 500; color: var(--primary-dark); max-width: 900px; margin: 0; }
.pull-quote cite { display: block; font-style: normal; font-size: 16px; color: var(--paragraph-gray); margin-top: 18px; font-weight: 400; }
.section.dark .pull-quote { color: var(--white); }
@media screen and (max-width: 767px) {
  .bar-row { grid-template-columns: 1fr 60px; gap: 8px 12px; }
  .bar-row .lbl { grid-column: 1 / -1; }
  .event-cards { grid-template-columns: 1fr; }
  .pull-quote { font-size: 22px; }
}
/* Étiquette des cartes : fond assombri pour rester lisible sur les photos claires du club (contraste AA) */
.news-card-tag { background-color: #000000a6; backdrop-filter: blur(4px); }
[data-month-group] + [data-month-group] .match-month { margin-top: 50px; }

/* ---------- Partenaires : trois familles (institutionnels / privés / mécènes) ---------- */
.partners-block + .partners-block { margin-top: 70px; }
.partners-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
.partners-head .tag-red { color: var(--primary); font-size: 15px; padding: 8px 16px; }
.partners-head h2 { margin: 0; text-transform: uppercase; font-size: 30px; letter-spacing: .02em; }
.partners-head p { margin: 0; max-width: 640px; }
.partner-grid.logos .partner-logo { background: var(--primary-dark); box-shadow: none; color: #ffffffb3; }
.partner-logo img { max-width: 78%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.partner-logo { flex-direction: column; gap: 8px; line-height: 1.3; transition: transform .3s; }
.partner-logo:hover { transform: translateY(-3px); }
.partner-logo small { font-size: 12px; color: var(--paragraph-gray); }
.partner-grid.logos .partner-logo small { color: #ffffff80; }
.partner-grid.mecenes .partner-logo { border: 1px solid var(--primary); box-shadow: none; }

/* ---------- Newsletter (footer, toutes les pages) ---------- */
.footer-newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; align-items: center; width: 100%; }
.footer-newsletter h5 { color: var(--white); margin: 0 0 8px; font-size: 26px; }
.footer-newsletter p { color: #ffffffb3; margin: 0; font-size: 16px; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 12px; }
.newsletter-form input[type="email"] {
  flex: 1 1 240px; font-family: inherit; font-size: 16px; color: var(--white);
  background: #ffffff0f; border: 1px solid #ffffff33; border-radius: 50px; padding: 13px 22px;
}
.newsletter-form input[type="email"]::placeholder { color: #ffffff80; }
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px #de221c33; }
.newsletter-form .primary-button { border: 0; cursor: pointer; font-family: inherit; }
.newsletter-form .consent { flex-basis: 100%; margin: 0; font-size: 13px; color: #ffffff99; }
.newsletter-form .consent a { color: var(--white); text-transform: none; font-size: inherit; text-decoration: underline; }
.newsletter-ok { display: none; color: #7ee2a0; font-size: 15px; flex-basis: 100%; }
.newsletter-form.is-done .newsletter-ok { display: block; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Bandeau de consentement (Google Analytics uniquement après accord) ---------- */
.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 950; max-width: 420px;
  background: var(--primary-dark); color: var(--white); border-radius: 22px; padding: 24px;
  box-shadow: 0 18px 40px -12px #000000a6; display: flex; flex-direction: column; gap: 14px;
}
.cookie-banner h6 { color: var(--white); margin: 0; font-size: 19px; }
.cookie-banner p { color: #ffffffbf; margin: 0; font-size: 14.5px; line-height: 1.5; }
.cookie-banner p a { color: var(--white); font-size: inherit; text-transform: none; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions button { flex: 1 1 auto; font-family: inherit; font-size: 14px; font-weight: 500; border-radius: 50px; padding: 10px 16px; cursor: pointer; border: 1px solid #ffffff4d; background: #0000; color: var(--white); }
.cookie-actions button.accept { background: var(--primary); border-color: var(--primary); }
@media screen and (max-width: 767px) {
  .footer-newsletter { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .partners-head h2 { font-size: 24px; }
}
.footer-newsletter, .footer-newsletter .consent { text-align: left; } .footer-newsletter .consent { justify-content: flex-start; }

/* =====================================================================
   v3.4 — Vidéos, lightbox, sécurité des formulaires
   ===================================================================== */
video.hero-slide-img { object-fit: cover; width: 100%; height: 100%; }
.video-embed { cursor: pointer; }
.video-embed video, .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; opacity: 1; }
.video-embed .play .fa-s { margin-left: 4px; }
.gallery-grid a { position: relative; }
.gallery-grid a.is-video::after {
  content: "\f04b"; font-family: "Fa solid 900", sans-serif; position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 20px;
  display: flex; align-items: center; justify-content: center; padding-left: 4px; box-sizing: border-box;
}
.gallery-grid a.is-video .dur { position: absolute; right: 10px; bottom: 10px; z-index: 2; background: #000000b3; color: #fff; font-size: 12px; font-weight: 600; border-radius: 6px; padding: 3px 7px; }
.news-card-media .media-badge { position: absolute; right: 16px; top: 16px; z-index: 2; background: var(--primary); color: #fff; border-radius: 50px; font-size: 13px; font-weight: 600; padding: 6px 12px; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 92vw); width: 100%; }
dialog.lightbox::backdrop { background: #000000e6; }
dialog.lightbox .lb-media { width: 100%; max-height: 82vh; object-fit: contain; display: block; border-radius: 14px; background: #000; }
dialog.lightbox { overflow: visible; }
dialog.lightbox .lb-close,
dialog.lightbox .lb-prev,
dialog.lightbox .lb-next {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--primary); color: #fff; padding: 0;
}
dialog.lightbox .lb-close svg,
dialog.lightbox .lb-prev svg,
dialog.lightbox .lb-next svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}
dialog.lightbox .lb-close { top: -64px; right: 0; }
dialog.lightbox .lb-prev { left: -26px; top: 50%; transform: translateY(-50%); }
dialog.lightbox .lb-next { right: -26px; top: 50%; transform: translateY(-50%); }
dialog.lightbox .lb-close:hover, dialog.lightbox .lb-prev:hover, dialog.lightbox .lb-next:hover { background: #b81b16; }
dialog.lightbox.is-single .lb-prev, dialog.lightbox.is-single .lb-next { display: none; }
dialog.lightbox .lb-cap { color: #ffffffcc; text-align: center; margin-top: 12px; font-size: 15px; }
dialog.lightbox .lb-rank { color: #ffffff80; text-align: center; margin: 4px 0 0; font-size: 13px; }
@media (max-width: 767px) {
  /* Sous la largeur d'un téléphone, les flèches reviennent dans l'image. */
  dialog.lightbox .lb-prev { left: 8px; }
  dialog.lightbox .lb-next { right: 8px; }
  dialog.lightbox .lb-close { top: -60px; right: 4px; }
}
/* Newsletter depuis le formulaire de contact (bandeau rouge) */
.nl-optin { display: flex; gap: 14px; align-items: flex-start; background: var(--primary); color: var(--white); border-radius: 14px; padding: 16px 20px; margin: 4px 0 18px; cursor: pointer; }
.nl-optin input { width: 22px; height: 22px; accent-color: #000; flex: 0 0 auto; margin-top: 1px; }
.nl-optin span { font-size: 15px; font-weight: 600; line-height: 1.45; text-transform: none; color: var(--white); }
.nl-optin small { display: block; font-weight: 400; opacity: .85; font-size: 13px; margin-top: 2px; }
/* Vérification anti-robot */
.captcha { border: 1px solid #00000026; border-left: 4px solid var(--primary); border-radius: 14px; padding: 18px 20px; margin-bottom: 22px; background: var(--light-gray); }
.captcha-head { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; color: var(--primary-dark); }
.captcha-head .ico { width: 30px; height: 30px; border-radius: 8px; background: #de221c1f; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.captcha-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.captcha-row label { font-size: 17px; color: var(--primary-dark); text-transform: none; font-weight: 400; }
.captcha-row input { width: 90px; text-align: center; margin: 0 !important; }
.captcha p { font-size: 13.5px; margin: 12px 0 0; line-height: 1.5; }
.footer-newsletter .captcha-mini { display: flex; align-items: center; gap: 10px; flex-basis: 100%; font-size: 13px; color: #ffffffb3; }
.footer-newsletter .captcha-mini input { width: 64px; flex: 0 0 auto; padding: 8px 10px; text-align: center; border-radius: 10px; font-size: 14px; color: #fff; background: #ffffff0f; border: 1px solid #ffffff33; font-family: inherit; }

/* =====================================================================
   Bloc-marque : logo + « Rugby Fauteuil / Club Toulon / Provence / Méditerranée »
   Version sur fond sombre par défaut ; .on-light pour fond clair.
   ===================================================================== */
.brand, .brand-tablet { display: flex !important; align-items: center; gap: 14px; text-decoration: none; }
.brand-lockup { display: flex; flex-direction: column; font-family: "Fira Sans", sans-serif; font-weight: 800; text-transform: uppercase; line-height: .98; letter-spacing: .005em; font-size: 22px; white-space: nowrap; }
.brand-lockup span, .brand-lockup em { font-style: normal; text-transform: uppercase; }
.brand-lockup .bl-1, .brand-lockup .bl-2 { color: #ffffff; }
.brand-lockup em { color: #de221c; }
.brand-lockup .bl-3 { color: #8e8f92; }
.brand-lockup .bl-4 { color: #616265; }
.brand-lockup.on-light .bl-1, .brand-lockup.on-light .bl-2 { color: #b6b8bb; }
.brand-lockup.on-light .bl-3 { color: #6e6f72; }
.brand-lockup.on-light .bl-4 { color: #4b4c4f; }
.tablet-menu .brand-lockup { font-size: 11px; }
.preloader__brand { display: flex; align-items: center; gap: 18px; }
.preloader__brand .brand-lockup { font-size: 24px; }
.preloader__brand .preloader__logo { animation: preloader-pulse 1.4s ease-in-out infinite; }
@media (max-width: 991px) { .brand .brand-lockup { font-size: 12.5px; } .brand, .brand-tablet { gap: 10px; } }
@media (max-width: 479px) { .brand .brand-lockup { font-size: 10.5px; } .preloader__brand .brand-lockup { font-size: 16px; } .preloader__brand .preloader__logo { width: 84px; } }
@media (prefers-reduced-motion: reduce) { .preloader__brand .preloader__logo { animation: none; } }
.brand .brand-lockup { font-size: 26px; }
.tablet-menu .brand-tablet { display: flex !important; align-items: center; gap: 12px; }
.brand-lockup { text-align: left; align-items: flex-start; }
.tablet-menu .brand-lockup { font-size: 13px; }
@media (max-width: 991px) { .brand .brand-lockup { font-size: 12.5px; } }
@media (max-width: 479px) { .brand .brand-lockup { font-size: 10.5px; } }

/* =====================================================================
   Application des « Règles du site » v1.0 (regles/*.html)
   ===================================================================== */
/* Focus clavier toujours visible */
:focus-visible { outline: 3px solid #de221c; outline-offset: 3px; }
.dark-background-diagonal :focus-visible, .footer-dark-block :focus-visible, .nav-menu :focus-visible, .home-banner-section :focus-visible,
.pages-banner :focus-visible, .primary-block-style :focus-visible, .inline-cta :focus-visible, .info-dark :focus-visible, .match-next :focus-visible { outline-color: #ffffff; }
/* Casse de phrase française : neutralise le capitalize du template anglais */
h2, a, .link-with-arrow, .footer-link, .in-section-title { text-transform: none; }
.nav-link, .nav-item-title, .menu-social a, .brand-lockup, .brand-lockup span { text-transform: uppercase; }
/* Boutons : appui, désactivé, chargement */
.primary-button:active { transform: scale(.97); }
.primary-button[disabled], .primary-button[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.primary-button[aria-busy="true"] { position: relative; padding-left: 48px; cursor: progress; }
.primary-button[aria-busy="true"]::before { content: ""; position: absolute; left: 20px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: preloader-spin .8s linear infinite; }
.big-round-button:active, .big-round-button-footer:active { transform: scale(.85); }
.link-with-arrow:focus-visible { text-decoration: underline; }
/* Cartes cliquables : élévation au survol */
a.info-card, .news-card, .team-card, .about-us-steps-item.project-tile { transition: transform .3s ease, box-shadow .3s ease; }
a.info-card:hover, .news-card:hover { transform: translateY(-3px); }
/* Liens dans un texte courant : soulignés */
.cms-prose p a, .legal-prose a, .rich-text-style p a, .consent a { text-decoration: underline; text-underline-offset: 3px; }
.cms-prose p a:hover { text-decoration-thickness: 2px; }
/* Menu : bouton burger / fermeture en <button>, page courante */
button.menu-button, button.close-menu-button { border: 0; background: #0000; font: inherit; }
.nav-link[aria-current="page"] { color: #ffffff !important; box-shadow: inset 4px 0 0 #de221c; padding-left: 16px !important; }
/* Rail : zone tactile 44 px autour de la puce */
.section-dot::before { content: ""; position: absolute; inset: -17px; }
/* Lien d'évitement */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10000; background: #de221c; color: #fff; padding: 10px 16px; border-radius: 50px; font-size: 16px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { a.info-card:hover, .news-card:hover { transform: none; } }
.contacts-input:disabled, .contacts-textarea:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Panneau « Personnaliser mes cookies » ---------- */
dialog.cookie-panel { border: 0; padding: 0; border-radius: 24px; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 24px); background: var(--white); color: var(--primary-dark); box-shadow: 0 30px 80px -20px #000000b3; }
dialog.cookie-panel::backdrop { background: #000000b3; }
.cp-inner { padding: 30px 32px 22px; overflow: auto; max-height: calc(100vh - 24px); }
.cp-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cp-head h2 { font-size: 26px; margin: 0; }
.cp-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #00000026; background: #0000; font-size: 24px; line-height: 1; cursor: pointer; color: var(--primary-dark); }
.cp-close:hover { border-color: var(--primary); color: var(--primary); }
.cp-intro { font-size: 15.5px; margin: 12px 0 18px; }
.cp-cat { border: 1px solid var(--gray); border-radius: 16px; padding: 16px 18px; margin-bottom: 12px; }
.cp-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.cp-row h3 { font-size: 17px; margin: 0 0 4px; font-weight: 600; }
.cp-row p { font-size: 14.5px; margin: 0; line-height: 1.5; }
.cp-always { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: #1f8a4c; background: #e8f5ec; border-radius: 50px; padding: 6px 12px; white-space: nowrap; }
.cp-switch { position: relative; flex: 0 0 auto; width: 52px; height: 30px; cursor: pointer; }
.cp-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cp-switch span { position: absolute; inset: 0; border-radius: 30px; background: #c9ccd1; transition: background .2s; }
.cp-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0004; transition: transform .2s; }
.cp-switch input:checked + span { background: var(--primary); }
.cp-switch input:checked + span::after { transform: translateX(22px); }
.cp-switch input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 3px; }
.cp-more { margin-top: 10px; font-size: 14px; }
.cp-more summary { cursor: pointer; color: var(--primary); font-weight: 500; }
.cp-more table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13.5px; }
.cp-more th, .cp-more td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--gray); }
.cp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cp-btn { flex: 1 1 auto; font-family: inherit; font-size: 15px; font-weight: 500; border-radius: 50px; padding: 12px 18px; cursor: pointer; border: 1px solid #00000033; background: #fff; color: var(--primary-dark); }
.cp-btn:hover { border-color: var(--primary); color: var(--primary); }
.cp-btn.accept { background: var(--primary); border-color: var(--primary); color: #fff; }
.cp-btn.accept:hover { background: #c11b16; color: #fff; }
.cp-foot { font-size: 13px; text-align: center; margin: 14px 0 0; }
.cp-foot a { font-size: inherit; text-decoration: underline; }
.cookie-link { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
@media (max-width: 767px) { .cp-inner { padding: 22px 18px 18px; } .cp-row { flex-direction: row; } .cp-actions { flex-direction: column-reverse; } }

/* ---------- Bandeau « site hors ligne » visible des seuls administrateurs connectés ---------- */
.offline-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 9990; display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; background: repeating-linear-gradient(135deg, #de221c 0 18px, #c11b16 18px 36px); color: #fff; font-size: 14.5px; font-weight: 500; padding: 9px 16px; text-align: center; }
.offline-bar a { color: #fff; font-size: inherit; text-decoration: underline; text-transform: none; font-weight: 600; }
.offline-bar .fa-s { margin-right: 6px; }
body.has-offline-bar .navbar-absolute { top: 40px; }
@media (max-width: 767px) { .offline-bar { font-size: 13px; padding: 8px 12px; } body.has-offline-bar .navbar-absolute { top: 58px; } }

/* =====================================================================
   v3.8 — Carrousel d'accueil sur tablette et mobile
   Le carrousel ne dépend plus d'une hauteur fixe : les diapositives prennent
   la hauteur de l'écran (ou de leur contenu si plus grand), le texte n'est plus rogné.
   ===================================================================== */
@media screen and (max-width: 991px) {
  .home-banner-section { min-height: 0; }
  .hero-track { position: relative; inset: auto; height: auto; align-items: stretch; }
  .hero-slide { min-height: 100vh; min-height: 100svh; justify-content: flex-end; }
  .hero-slide .home-banner-content { padding: 128px 24px 104px; row-gap: 28px; align-items: flex-start; }
  .hero-slide .home-baner-content-columns, .hero-slide .home-baner-content-columns.right { width: 100%; row-gap: 14px; height: auto; align-items: flex-start; text-align: left; }
  .hero-slide .home-baner-content-columns.right .button-wrapper-main { justify-content: flex-start; margin-top: 4px; }
  .hero-slide .banner-3-home-title { font-size: clamp(34px, 7.5vw, 48px); line-height: 1.1; margin: 8px 0 12px; }
  .hero-slide .paragraph-large { font-size: 20px; line-height: 1.45; margin: 0; }
  .hero-slide::after { background-image: linear-gradient(to top, #000000f2 0%, #000000b3 55%, #00000059 100%); }
  .hero-dots { bottom: 36px; }
}
@media screen and (max-width: 767px) {
  .section-rail { display: none; }
  .hero-slide .home-banner-content { padding: 112px 20px 96px; row-gap: 22px; }
  .hero-slide .banner-3-home-title { font-size: clamp(32px, 9vw, 40px); }
  .hero-slide p.text-white { font-size: 16px; line-height: 1.5; margin: 0; }
  .hero-slide .paragraph-large { font-size: 17px; }
  .hero-slide .tag-red { font-size: 14px; padding: 7px 14px; }
  .hero-slide .big-round-button { width: 60px; height: 60px; }
  .hero-slide .big-round-button img { width: 20px; }
  .hero-dots .hero-dot { position: relative; }
  .hero-dots .hero-dot::before { content: ""; position: absolute; inset: -16px -6px; }
}
@media screen and (max-width: 767px) and (max-height: 700px) {
  .hero-slide .home-baner-content-columns.right .paragraph-large { display: none; }
}

/* =====================================================================
   v3.9 — Menu plein écran : une colonne centrée
   Liens blancs · filet rouge · réseaux en gris · adresse juste en dessous
   ===================================================================== */
#site-menu { flex-direction: column !important; justify-content: center !important; align-items: center !important; text-align: center !important; gap: 40px; padding: 120px 24px 56px !important; overflow-y: auto; }
#site-menu .menu-wrap { align-items: center !important; justify-content: center; gap: 4px; width: 100%; }
#site-menu .menu-wrap .nav-link {
  color: #ffffff !important; align-self: center !important; justify-content: center !important; text-align: center !important;
  width: auto !important; margin: 0 !important; padding: 6px 14px !important; box-shadow: none !important; border: 0 !important;
  font-size: clamp(28px, 4.2vw, 48px) !important; line-height: 1.12; font-weight: 400; letter-spacing: .01em; position: relative; transition: color .25s ease;
}
#site-menu .menu-wrap .nav-link:hover { color: #de221c !important; }
#site-menu .menu-wrap .nav-link[aria-current="page"], #site-menu .menu-wrap .nav-link.is-current { color: #de221c !important; }
#site-menu .menu-wrap .nav-link[aria-current="page"]::after, #site-menu .menu-wrap .nav-link.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 36px; height: 3px; margin-left: -18px; border-radius: 3px; background: #de221c;
}
#site-menu .menu-aside { align-items: center !important; text-align: center; gap: 18px; }
#site-menu .menu-aside::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: #de221c; margin-bottom: 6px; }
#site-menu .menu-social { order: 1; flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 8px 26px; }
#site-menu .menu-social a { color: #8e8f92; font-size: 14px; font-weight: 600; letter-spacing: .12em; }
#site-menu .menu-social a:hover { color: #ffffff; }
#site-menu .menu-contact { order: 2; }
#site-menu .menu-contact p { color: #8e8f92; font-size: 14.5px; line-height: 1.6; margin: 0; text-align: center; }
#site-menu .menu-contact a { color: #c9c9d1; font-size: inherit; font-weight: 500; text-transform: none; }
#site-menu .menu-contact a:hover { color: #ffffff; }
@media (max-width: 767px) {
  #site-menu { gap: 30px; padding: 100px 20px 40px !important; justify-content: flex-start !important; }
  #site-menu .menu-wrap { margin-top: auto; }
  #site-menu .menu-aside { margin-bottom: auto; }
  #site-menu .menu-contact p { font-size: 13.5px; }
}
@media (max-height: 640px) { #site-menu .menu-wrap .nav-link { font-size: 26px !important; } }
#site-menu:focus { outline: none; }

/* =====================================================================
   v4.0 — Menu : plus de fond blanc, texte deux fois plus petit en minuscules,
   logo et croix calés sur ceux de l'accueil
   ===================================================================== */
.nav-menu, .nav-menu.w-nav-menu { background-color: #0a0a0c !important; }
.menu-wrap, .menu-aside, .tablet-menu { background-color: #0000 !important; }
#site-menu .menu-wrap .nav-link {
  text-transform: none !important; font-size: clamp(15px, 2.1vw, 24px) !important; letter-spacing: 0; font-weight: 500;
  padding: 5px 12px !important; line-height: 1.35;
}
#site-menu .menu-wrap { gap: 0; }
#site-menu .menu-wrap .nav-link[aria-current="page"]::after, #site-menu .menu-wrap .nav-link.is-current::after { width: 24px; margin-left: -12px; height: 2px; bottom: 1px; }
/* Bandeau du menu aligné sur celui de l'accueil : même logo, même position, croix au niveau du burger */
.tablet-menu {
  top: 15px !important; left: 0 !important; right: 0 !important; width: 100% !important; max-width: 1200px !important;
  margin: 0 auto !important; padding: 0 15px !important; height: 130px !important; align-items: center !important;
}
.tablet-menu .brand-tablet img { height: 130px !important; width: 126px !important; }
.tablet-menu .brand-lockup { font-size: 26px; }
.tablet-menu .close-menu-button { width: 46px; height: 46px; display: flex !important; align-items: center; justify-content: center; padding: 0; }
.tablet-menu .nav-close-icon { width: 26px; height: 26px; }
@media screen and (max-width: 991px) {
  .tablet-menu { top: 18px !important; height: 64px !important; max-width: none !important; padding: 0 15px !important; }
  .tablet-menu .brand-tablet img { height: 64px !important; width: auto !important; }
  .tablet-menu .brand-lockup { font-size: 12.5px; }
  #site-menu .menu-wrap .nav-link { font-size: 19px !important; }
}
/* Ouverture du menu : la page ne se décale plus (compensation de la barre de défilement) */
body.menu-open { overflow: hidden; padding-right: var(--sbw, 0px); }
body.menu-open .navbar-absolute { padding-right: var(--sbw, 0px); }

/* =====================================================================
   v4.0 — Partenaires : logos seuls, sans cadre
   ===================================================================== */
.partner-grid { gap: 30px 34px; align-items: center; }
.partner-grid .partner-logo, .partner-grid.logos .partner-logo, .partner-grid.mecenes .partner-logo {
  background: #0000 !important; border: 0 !important; box-shadow: none !important; padding: 6px 10px; min-height: 84px;
}
.partner-grid .partner-logo img { max-height: 62px; max-width: 100%; filter: none; opacity: .92; transition: opacity .3s, transform .3s; }
.partner-grid .partner-logo:hover img { opacity: 1; }
.partner-grid .partner-logo span { font-size: 15px; font-weight: 600; color: var(--primary-dark); line-height: 1.3; }
.partner-grid .partner-logo small { color: var(--paragraph-gray); }
.partner-grid .partner-logo:hover { transform: translateY(-2px); }

/* =====================================================================
   v4.0 — Bandeau de page : textes alignés à gauche, au niveau du logo
   ===================================================================== */
.pages-banner .base-container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 15px; padding-right: 15px; text-align: left; align-items: flex-start; }
.pages-banner h1, .pages-banner .page-lead, .pages-banner p { text-align: left; margin-left: 0; margin-right: 0; }
.pages-banner .breadcrumb { justify-content: flex-start; }
.pages-banner .page-lead, .pages-banner > .base-container > p { max-width: 720px; }
/* Bandeau de page : le bloc titre suit la grille du logo (alignement à gauche) */
.pages-banner .banner-title-wrapper { max-width: 900px; margin-left: 0; margin-right: 0; text-align: left; align-items: flex-start; }
.pages-banner .banner-title, .pages-banner .banner-description { text-align: left; margin-left: 0; margin-right: 0; }
.pages-banner .banner-description { max-width: 720px; }
.pages-banner .breadcrumb { justify-content: flex-start; padding-left: 0; }



/* =====================================================================
   v4.2 — Rythme vertical, alignements, sections sombres, pied de page
   ===================================================================== */
/* Texte courant à 16 px */
body { font-size: 16px; }
.paragraph-large { font-size: 22px; }
/* Rythme des sections */
.section, .section.light, .section.news-section, .section.dark, .section.dark-background-diagonal { padding-top: 50px; padding-bottom: 130px; }
.section.no-spacing { padding-top: 0; padding-bottom: 0; }
/* En-têtes de section alignés à gauche, comme les blocs partenaires */
.section-title-wrapper, .section-two-side-title-wrapper, .in-section-title-wrapper, .two-side-title-limiter {
  align-items: flex-start !important; text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; max-width: none;
}
.section-title, .section-title-description, .in-section-title, .section-description {
  text-align: left !important; margin-left: 0 !important; margin-right: 0 !important;
}
.section-title-description, .section-description { max-width: 760px; }
.section-two-side-title-wrapper { flex-wrap: wrap; gap: 20px 40px; }
.button-wrapper-main, .button-wrapper-main.big-spacing { justify-content: flex-start !important; margin-left: 0 !important; }
/* Sections sombres en diagonale reprises sur les autres pages */
.section.dark-background-diagonal h2, .section.dark-background-diagonal h3, .section.dark-background-diagonal h5,
.section.dark-background-diagonal h6, .section.dark-background-diagonal .in-section-title, .section.dark-background-diagonal .section-title { color: var(--white); }
.section.dark-background-diagonal > .base-container > p, .section.dark-background-diagonal .section-title-description,
.section.dark-background-diagonal .in-section-title-wrapper p { color: #ffffffb3; }
.section.dark-background-diagonal .figures .n { color: var(--primary); }
.section.dark-background-diagonal .figures .l { color: #ffffffb3; }
.section.dark-background-diagonal .figure { border-color: #ffffff26; }
.section.dark-background-diagonal .accordion-item { background: #ffffff0d; border-color: #ffffff26; }
.section.dark-background-diagonal .accordion-toggle h6, .section.dark-background-diagonal .faq-answer p { color: var(--white); }
.section.dark-background-diagonal .faq-answer p { color: #ffffffcc; }
.section.dark-background-diagonal .accordion-icon { color: var(--primary); }
/* Pied de page : liens légaux à droite, sur la ligne des réseaux sociaux */
.footer-wrapper { flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.footer-social-links-wrapper { order: 1; }
.cms-legal-links { order: 2; margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; text-align: right; }
.cms-legal-links .footer-copyright-link { color: #ffffffb3; font-size: 14px; }
.cms-legal-links .footer-copyright-link:hover { color: var(--primary); }
.contacts-footer-wrapp { order: 3; flex-basis: 100%; }
.footer-bottom-wrapper .footer-rights-main-wrapp { align-items: flex-start; }
@media screen and (max-width: 767px) {
  .section, .section.light, .section.news-section, .section.dark, .section.dark-background-diagonal { padding-top: 40px; padding-bottom: 80px; }
  .cms-legal-links { order: 3; margin-left: 0; justify-content: flex-start; text-align: left; }
  .contacts-footer-wrapp { order: 2; }
}
/* Boutons de fin de section : alignés à gauche comme les titres */
.news-more, .cards-more, .section-more { display: flex; justify-content: flex-start; }
/* Sections sombres en diagonale : place pour la bande rouge au-dessus du titre */
.section.dark-background-diagonal { padding-top: 150px; }
@media screen and (max-width: 767px) { .section.dark-background-diagonal { padding-top: 110px; } }

/* =====================================================================
   v4.3 — Transitions globales, carrousels de matchs, galerie, pied de page
   ===================================================================== */
a, button, .btn, .primary-button, .card, .nav-link, .footer-link, .tag-red-link, .filter-pill,
.info-card, .news-card, .team-card, .project-tile, .partner-logo, .accordion-toggle,
input, select, textarea {
  transition: color .3s ease-in-out, background-color .3s ease-in-out, border-color .3s ease-in-out,
              box-shadow .3s ease-in-out, transform .3s ease-in-out, opacity .3s ease-in-out;
}
.partner-logo img, .news-card-media img, .project-tile img { transition: opacity .3s ease-in-out, transform .3s ease-in-out; }
@media (prefers-reduced-motion: reduce) {
  a, button, .btn, .primary-button, .card, .nav-link, .footer-link, .tag-red-link, .filter-pill,
  .info-card, .news-card, .team-card, .project-tile, .partner-logo, .accordion-toggle,
  input, select, textarea, .partner-logo img, .news-card-media img, .project-tile img { transition: none !important; }
}
/* Carrousel des rencontres (prochain match et résultat à la une) */
.match-track { display: flex; overflow: hidden; }
.match-slide { flex: 0 0 100%; min-width: 100%; transition: opacity .35s ease-in-out; }
.match-track[data-index] .match-slide { display: none; }
.match-track .match-slide.is-shown { display: block; }
.match-dots { display: flex; gap: 8px; margin: 18px 0 4px; }
.match-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: #ffffff59; cursor: pointer; position: relative; }
.match-dot::before { content: ""; position: absolute; inset: -17px -8px; }
.match-dot.is-active { width: 30px; border-radius: 30px; background: var(--primary); }
.match-last .match-dot { background: #00000026; }
.match-last .match-dot.is-active { background: var(--primary); }
.score-line .team { display: flex; align-items: center; gap: 10px; }
.score-line .match-team-logo { width: 46px; height: 46px; flex: 0 0 auto; }
.score-line .match-team-logo img { width: 100%; height: 100%; object-fit: contain; }
.score-line .match-team-logo.placeholder { font-size: 11px; }
/* Vignettes de projets : séparées comme les actualités */
.projects-grid, .project-grid { gap: 26px; }
.project-tile { border-radius: 24px; overflow: hidden; box-shadow: 0 1px 2px #0000001a, 0 8px 24px -12px #00000040; }
.project-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 30px -10px #00000059; }
/* Disciplines : liseré rouge au survol */
.discipline-card, .info-card, a.info-card, .steps-card { border: 1px solid #0000; }
.discipline-card:hover, a.info-card:hover, .steps-card:hover { border-color: var(--primary); }
/* Pied de page : trait gris sous les réseaux sociaux */
.footer-wrapper { padding-bottom: 26px; border-bottom: 1px solid #ffffff1f; }
.footer-wrapper + .footer-divider { display: none; }
/* Visionneuse : voir plus haut — les boutons livrés portent déjà
   « lb-close », « lb-prev », « lb-next » et le compteur « lb-count ». */
/* Plan du site */
.sitemap-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px 40px; }
.sitemap-cols h3 { font-size: 22px; margin: 0 0 12px; }
.sitemap-cols ul { list-style: none; padding: 0; margin: 0; }
.sitemap-cols li { padding: 6px 0; border-bottom: 1px solid #0000000f; }
.sitemap-cols li a { font-size: 16px; }
/* Ajustements v4.3 */
.score-line { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.score-line .team { flex: 1 1 0; min-width: 0; justify-content: center; text-align: center; font-size: 15px; line-height: 1.3; }
.score-line .team span { display: inline-block; }
.score-line .score { flex: 0 0 auto; }
dialog.lightbox { position: fixed; inset: 0; margin: auto; height: max-content; padding: 0; }
dialog.lightbox .lb-close { position: absolute; top: 14px; right: 14px; z-index: 3; }
dialog.lightbox .lb-prev { left: 14px; } dialog.lightbox .lb-next { right: 14px; }
dialog.lightbox .lb-body { position: relative; }
dialog.lightbox .lb-nav { z-index: 3; }
.score-line .team { flex-direction: column; gap: 8px; font-size: 14.5px; }
.score-line .match-team-logo { width: 40px; height: 40px; }

/* =====================================================================
   v5.0 — Rythme vertical unifié, partenaires compactés, logos en pied de page
   ===================================================================== */
:root {
  --section-y: clamp(64px, 7vw, 96px);   /* respiration haut = bas pour toutes les sections */
  --head-gap: clamp(32px, 3.6vw, 44px);  /* titre de section -> contenu */
  --hairline: #00000014;
  --hairline-dark: #ffffff1f;
}

/* --- Rythme des sections : symétrique (avant : 50 px / 130 px) --- */
.section, .section.light, .section.news-section, .section.dark { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section.dark-background-diagonal { padding-bottom: var(--section-y); }
.section.dark-background-no-top-spacing { padding-top: 0; padding-bottom: var(--section-y); }
.section.no-spacing { padding-top: 0; padding-bottom: 0; }
/* Deux sections claires qui se suivent : un filet au lieu d'un double vide */
.section.news-section { padding-bottom: calc(var(--section-y) * .75); }
.section.news-section + .section.light { padding-top: 0; }
.section.news-section + .section.light > .base-container { padding-top: calc(var(--section-y) * .75);
  background: linear-gradient(var(--hairline), var(--hairline)) 15px 0 / calc(100% - 30px) 1px no-repeat; }

/* En-têtes de section -> contenu */
.section-two-side-title-wrapper, .section-title-wrapper { margin-bottom: var(--head-gap); }
.section-two-side-title-wrapper { align-items: flex-end !important; }
.two-side-title-limiter p { margin-bottom: 0; max-width: 620px; }
.match-feature { margin-top: clamp(40px, 5vw, 64px); }
.news-more { margin-top: 36px; }
.classes-two-side.top { margin-bottom: 36px; align-items: end; }

/* --- Partenaires : en-tête à gauche, grille à droite --- */
.partners-block { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px 64px; align-items: start; }
.partners-block + .partners-block { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--hairline); }
.partners-head { margin-bottom: 0; gap: 12px; }
.partners-head h2 { text-transform: none; font-size: 28px; letter-spacing: 0; line-height: 1.15; }
.partners-head p { font-size: 15px; line-height: 1.5; }
#partenaires .button-wrapper-main { margin-top: 48px; }

/* Trois colonnes partout, des cartes de la même taille dans chaque grille, et
   un logo qui occupe la même boîte d'une carte à l'autre : « contain » garde
   ses proportions et le centre. « --w », la largeur réglée sur la fiche du
   partenaire, ne donne plus la taille du logo : elle la borne, pour celui qui
   doit rester plus petit que ses voisins (décision du 05/11/2026 ; un
   partenaire qui a un logo n'affiche plus que son logo). */
.partner-grid, .partner-grid.logos, .partner-grid.mecenes { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; align-items: stretch; }
.partner-grid .partner-logo, .partner-grid.logos .partner-logo, .partner-grid.mecenes .partner-logo {
  background: var(--white) !important; border: 1px solid var(--hairline) !important; box-shadow: none !important;
  aspect-ratio: auto; border-radius: 16px; min-height: 140px; padding: 18px; gap: 4px;
  align-items: flex-start; justify-content: center; text-align: left;
}
.partner-grid.logos .partner-logo { align-items: center; text-align: center; }
.partner-grid .partner-logo:hover { transform: none; border-color: var(--primary) !important; }
.partner-grid .partner-logo img { width: 100%; max-width: var(--w, 100%); height: 104px; max-height: none; object-fit: contain; margin-inline: auto; opacity: .9; }
.partner-grid .partner-logo:hover img { opacity: 1; }
.partner-grid .partner-logo span { font-size: 15px; font-weight: 600; }
.partner-grid .partner-logo small { font-size: 12.5px; line-height: 1.35; }

/* --- Pied de page --- */
.footer-dark-block { padding-bottom: 36px; } /* le haut garde ses valeurs : place réservée au bloc « Rejoignez notre communauté » */
.footer-wrapper-vertical > .footer-newsletter { padding-top: 32px; }
.footer-newsletter { align-items: start; }
.footer-newsletter p { max-width: 380px; }

/* Bandeau des partenaires : logos blancs, intensité réduite au repos */
.footer-partners { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 20px 32px; align-items: center;
  width: 100%; margin-top: 40px; padding: 36px 0; border-top: 1px solid var(--hairline-dark); text-align: left; }
.footer-partners-head h5 { color: var(--white); font-size: 20px; margin: 0 0 6px; }
.footer-partners-link { color: var(--primary); font-size: 14px; font-weight: 600; text-decoration: none; }
.footer-partners-link:hover { color: var(--white); }
.footer-partners-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row;
  background: none; -webkit-text-fill-color: currentColor; color: inherit; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 20px; }
.footer-partners-logos li { display: flex; align-items: center; }
.footer-partners-logos img { width: var(--w); max-width: 100%; height: auto; opacity: .7; transition: opacity .3s ease-in-out; }
.footer-partners-logos li:hover img { opacity: 1; }

/* Ligne réseaux / mentions / coordonnées */
.footer-partners + .footer-wrapper { padding-top: 28px; padding-bottom: 0; border-top: 1px solid var(--hairline-dark); border-bottom: 0; }
.footer-wrapper { gap: 20px 24px; }
.contacts-footer-wrapp { padding-top: 4px; column-gap: 36px; }
.contacts-footer-wrapp a { font-size: 15px; }
.footer-dark-block { margin-bottom: 36px; }

/* --- Responsive --- */
@media screen and (max-width: 991px) {
  .partners-block { grid-template-columns: 1fr; gap: 24px; }
  .footer-partners { grid-template-columns: 1fr; }
  .footer-partners-logos { justify-content: flex-start; gap: 22px 30px; }
}
@media screen and (max-width: 767px) {
  .section-two-side-title-wrapper { align-items: flex-start !important; }
  .partners-head h2 { font-size: 24px; }
  .partner-grid, .partner-grid.logos, .partner-grid.mecenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-partners-logos img { width: calc(var(--w) * .82); }
}
@media screen and (max-width: 479px) {
  .partner-grid, .partner-grid.logos, .partner-grid.mecenes { grid-template-columns: 1fr; gap: 10px; }
  .partner-grid .partner-logo, .partner-grid.logos .partner-logo, .partner-grid.mecenes .partner-logo { min-height: 116px; padding: 14px 16px; }
  .partner-grid .partner-logo img { height: 80px; }
}

/* =====================================================================
   v5.1 — Disciplines : photo calée sur la hauteur des 4 cartes
   ===================================================================== */
/* La photo ne pèse plus sur la hauteur de la ligne : ce sont les cartes qui la fixent */
.classes-two-side:not(.top) { align-items: stretch; }
.classes-two-side .image-classes { height: 0; min-height: 100%; object-fit: cover; object-position: 50% 18%; }
.classes-cards-wrapper { grid-template-rows: 1fr 1fr; gap: 20px; height: 100%; }
.classes-cards-wrapper .w-dyn-item { display: flex; }
.classes-cards-wrapper .info-card { justify-content: flex-start; gap: 10px; padding: 26px 26px 28px; min-height: 0; height: 100%; }
.classes-cards-wrapper .info-card-title { margin: 0; }
.classes-cards-wrapper .info-card-text { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--paragraph-gray); }
@media screen and (max-width: 991px) {
  /* Une colonne : la photo reprend une hauteur propre, en bandeau */
  .classes-two-side .image-classes { height: auto; min-height: 0; aspect-ratio: 2 / 1; }
  .classes-cards-wrapper { grid-template-rows: none; height: auto; }
}
@media screen and (max-width: 479px) {
  .classes-cards-wrapper { grid-template-columns: 1fr; }
  .classes-two-side .image-classes { aspect-ratio: 4 / 3; }
}

/* =====================================================================
   v5.2 — Espaces : sections claires enchaînées, cartes resserrées
   ===================================================================== */
/* Sections claires consécutives : demi-respiration de part et d'autre d'un filet */
#projet-sportif, #projets { padding-bottom: calc(var(--section-y) * .75); }
#projet-sportif + #equipes, #projets + #actualites { padding-top: 0; }
#projet-sportif + #equipes > .base-container, #projets + #actualites > .base-container {
  padding-top: calc(var(--section-y) * .75);
  background: linear-gradient(var(--hairline), var(--hairline)) 15px 0 / calc(100% - 30px) 1px no-repeat;
}

/* « Ce que nous proposons » : cartes plus compactes */
.steps-wrapper { gap: 20px; }
.steps-card { justify-content: flex-start; padding: 24px 26px 26px; }
.steps-card .steps-tag { margin-bottom: 14px; width: 36px; height: 36px; }
.steps-card h5 { margin: 0 0 8px; }
.steps-card p { margin: 0; }

/* Équipes : cartes alignées sur la grille, photo moins haute */
.team-card { padding: 0; }
.team-card .team-card-image { height: 300px; }
.team-card .team-info-card { width: calc(100% - 40px); padding: 22px 24px 24px; }
.team-grid { gap: 30px; }

/* Matchs : moins d'air sous les cartes */
.match-next, .match-last { gap: 14px; }
@media screen and (max-width: 767px) {
  .team-card .team-card-image { height: 240px; }
  .team-card .team-info-card { width: calc(100% - 24px); }
}

/* =====================================================================
   v5.3 — Projet social : photo aux angles arrondis, comme la photo des disciplines
   ===================================================================== */
.about-block-image { border-radius: 22px; }

/* =====================================================================
   v5.4 — Projets : tuiles séparées, même espacement que les actualités
   ===================================================================== */
.about-us-steps-wrapper.projects { gap: 30px; background: none; border-radius: 0; overflow: visible; }
.about-us-steps-item.project-tile { border-radius: 30px; box-shadow: 0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a, 0 0 0 4px var(--shadow-outline); }
.about-us-steps-item.project-tile + .project-tile { border-left: 0; border-top: 0; }
.about-us-steps-item.project-tile:hover { box-shadow: 0 1px 2px 0 #0000000f, 0 10px 30px -10px #00000059, 0 0 0 4px var(--shadow-outline); }
@media screen and (max-width: 991px) {
  .about-us-steps-wrapper.projects { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-us-steps-wrapper.projects .project-tile:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 300px; background-position: 50% 30%; }
}
@media screen and (max-width: 767px) {
  .about-us-steps-wrapper.projects { grid-template-columns: 1fr; }
  .about-us-steps-item.project-tile { min-height: 340px; }
}

/* =====================================================================
   v5.5 — Apparition au scroll harmonisée (marquage automatique dans rfctpm-apply.js)
   Même mouvement pour tout le contenu : fondu + montée courte, cascade de 80 ms
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .w-mod-js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.165, .84, .44, 1), transform .7s cubic-bezier(.165, .84, .44, 1) !important;
    transition-delay: var(--reveal-delay, 0ms) !important;
  }
  .w-mod-js .reveal.is-visible { opacity: 1; transform: none; }
}

/* =====================================================================
   v5.6 — Bandeau d'accueil : flèche « défiler » en bas à droite.
   Le bouton pause du héros a été retiré (correctif 0.24.3) : les points restent.
   ===================================================================== */

/* Flèche dans un cercle : invite à faire défiler */
.hero-scroll {
  position: absolute; right: 28px; bottom: 28px; z-index: 5; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid #ffffff66; background: #00000066; color: #fff;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
  transition: background-color .3s ease-in-out, border-color .3s ease-in-out;
}
.hero-scroll:hover { background: var(--primary); border-color: var(--primary); }
.hero-scroll:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-scroll svg { animation: hero-scroll-nudge 2.2s cubic-bezier(.45, 0, .55, 1) infinite; }
  .hero-scroll:hover svg { animation-play-state: paused; }
}
@keyframes hero-scroll-nudge { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(4px); } }

@media screen and (max-width: 991px) {
  /* Les points y sont à 36 px du bas */
  .hero-scroll { right: 20px; bottom: 24px; width: 40px; height: 40px; }
}

/* =====================================================================
   v5.8 — Bouton menu : plus de carré au clic
   (le gabarit Webflow donne un fond #c8c8c8 au bouton ouvert sur grand écran)
   ===================================================================== */
.menu-button, .menu-button.w--open, .menu-button:active, .menu-button:focus,
.close-menu-button, .close-menu-button.w--open, .close-menu-button:active, .close-menu-button:focus {
  background-color: #0000 !important; box-shadow: none; -webkit-tap-highlight-color: #0000;
}
.menu-button:focus:not(:focus-visible), .close-menu-button:focus:not(:focus-visible) { outline: none; }
/* Navigation au clavier : un anneau discret reste visible pour l'accessibilité */
.menu-button:focus-visible, .close-menu-button:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 8px; }

/* =====================================================================
   v5.9 — Menu plein écran : liens plus grands, coordonnées et réseaux en bas d'écran
   ===================================================================== */
#site-menu { justify-content: flex-start !important; gap: 0; padding: 150px 24px 32px !important; }
@media screen and (max-width: 991px) { #site-menu { padding: 100px 20px 24px !important; } }

/* Liens : centrés dans l'espace disponible, taille relevée */
#site-menu .menu-wrap { margin: auto 0; padding: 24px 0; gap: 2px; }
#site-menu .menu-wrap .nav-link {
  font-size: clamp(26px, 3.4vw, 42px) !important; line-height: 1.2; font-weight: 500; padding: 4px 14px !important;
}
#site-menu .menu-wrap .nav-link[aria-current="page"]::after, #site-menu .menu-wrap .nav-link.is-current::after {
  width: 32px; margin-left: -16px; height: 3px; bottom: 0;
}

/* Bloc bas : filet fin, coordonnées à gauche, réseaux à droite, sur la grille du logo */
#site-menu .menu-aside {
  width: 100%; max-width: 1170px; margin: 0 auto; padding-top: 22px; border-top: 1px solid #ffffff1a;
  display: flex; flex-direction: row !important; align-items: center !important; justify-content: space-between; gap: 16px 32px; text-align: left;
}
#site-menu .menu-aside::before { display: none; }
#site-menu .menu-contact { order: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
#site-menu .menu-contact p { text-align: left; font-size: 14px; line-height: 1.5; }
#site-menu .menu-social { order: 2; justify-content: flex-end; gap: 8px 24px; }
#site-menu .menu-social a { font-size: 13px; }

@media screen and (max-width: 991px) {
  #site-menu .menu-wrap .nav-link { font-size: clamp(24px, 6.4vw, 32px) !important; }
  #site-menu .menu-aside { flex-direction: column !important; align-items: center !important; text-align: center; gap: 14px; padding-top: 18px; }
  #site-menu .menu-contact { flex-direction: column; gap: 2px; }
  #site-menu .menu-contact p { text-align: center; font-size: 13.5px; }
  #site-menu .menu-social { order: 0; justify-content: center; }
}
@media (max-height: 640px) { #site-menu .menu-wrap .nav-link { font-size: 22px !important; } }
#site-menu .menu-social { flex: 0 0 auto; flex-wrap: nowrap; }
#site-menu .menu-contact { flex: 1 1 auto; min-width: 0; }
/* Adresse sur la 1re ligne, téléphone et e-mail côte à côte sur la 2e */
@media screen and (min-width: 992px) {
  #site-menu .menu-contact { gap: 2px 28px; }
  #site-menu .menu-contact p:first-child { flex-basis: 100%; }
}

/* =====================================================================
   v5.10 — Menu plein écran : liens légaux, petits et gris, sous les liens principaux
   ===================================================================== */
#site-menu .menu-wrap { margin: auto 0 0; }
#site-menu .menu-legal {
  margin: 22px 0 auto; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; max-width: 640px;
}
#site-menu .menu-legal a, #site-menu .menu-legal button {
  color: #8e8f92; font: inherit; font-size: 13.5px; font-weight: 500; line-height: 1.4; text-transform: none;
  background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; transition: color .25s ease;
}
#site-menu .menu-legal a:hover, #site-menu .menu-legal button:hover { color: #ffffff; }
@media screen and (max-width: 991px) {
  #site-menu .menu-legal { margin-top: 16px; gap: 4px 16px; max-width: 340px; }
  #site-menu .menu-legal a, #site-menu .menu-legal button { font-size: 12.5px; }
}
/* v5.10b — liens légaux du menu : un par ligne */
#site-menu .menu-legal { flex-direction: column; align-items: center; gap: 4px; max-width: none; }
@media screen and (max-width: 991px) { #site-menu .menu-legal { gap: 2px; } }
@media (max-height: 720px) {
  #site-menu .menu-wrap { padding: 12px 0; }
  #site-menu .menu-legal { margin-top: 10px; padding-bottom: 14px; gap: 0; }
  #site-menu .menu-wrap .nav-link { font-size: 22px !important; padding: 3px 12px !important; }
}

/* =====================================================================
   v5.11 — Menu plein écran : réseaux et coordonnées juste sous les liens légaux
   (un seul bloc centré : liens · liens légaux · réseaux · coordonnées)
   ===================================================================== */
#site-menu .menu-wrap { margin: auto 0 0; }
#site-menu .menu-legal { margin: 22px 0 0; padding-bottom: 0; }
#site-menu .menu-aside {
  margin: 26px auto auto; padding-top: 0; border-top: 0; width: auto; max-width: 640px;
  flex-direction: column !important; align-items: center !important; justify-content: flex-start; gap: 12px; text-align: center;
}
#site-menu .menu-aside::before { content: ""; display: block; width: 32px; height: 1px; background: #ffffff33; margin-bottom: 8px; }
#site-menu .menu-social { order: 1; justify-content: center; }
#site-menu .menu-contact { order: 2; flex: 0 0 auto; flex-direction: column; align-items: center; gap: 2px; }
#site-menu .menu-contact p, #site-menu .menu-contact p:first-child { flex-basis: auto; text-align: center; font-size: 13.5px; }
@media screen and (max-width: 991px) {
  #site-menu .menu-legal { margin-top: 16px; }
  #site-menu .menu-aside { margin-top: 20px; gap: 10px; max-width: 340px; }
  #site-menu .menu-contact p { font-size: 12.5px; }
}
@media (max-height: 720px) {
  #site-menu .menu-legal { margin-top: 10px; }
  #site-menu .menu-aside { margin-top: 14px; gap: 8px; }
  #site-menu .menu-aside::before { margin-bottom: 4px; }
}

/* =====================================================================
   v5.12 — Aucune ombre portée sur le site
   Les cartes blanches sont délimitées par un filet fin à la place de l'ombre.
   ===================================================================== */
*, *::before, *::after { box-shadow: none !important; text-shadow: none !important; }

/* Filet fin autour des cartes et blocs blancs (avant : ombre + halo gris de 4 px) */
.steps-card, .info-card, a.info-card, .info-card-with-link, .discipline-card, .news-card, .team-info-card,
.match-last, .pricing-list-wrapper, .card, .accordion-item, .contact-card, .sidebar-card {
  border: 1px solid #00000014 !important;
}
.steps-card:hover, a.info-card:hover, .discipline-card:hover { border-color: var(--primary) !important; }
/* Liens « flèche » collés au bord droit de leur carte : pas de double filet */
.info-card-with-link { overflow: hidden; }

/* Champs de formulaire : l'indication de focus passe par un contour, plus par une ombre */
.contacts-input:focus, .contacts-textarea:focus, .newsletter-form input[type="email"]:focus {
  outline: 2px solid #de221c59; outline-offset: 1px;
}
/* Survols qui « soulevaient » les cartes avec une ombre : le liseré rouge suffit */
.news-card:hover { border-color: var(--primary) !important; }
.project-tile:hover { transform: translateY(-3px); }

/* =====================================================================
   v5.13 — Pied de page : logos partenaires sur deux lignes
   Grille remplie colonne par colonne : toujours 2 lignes, autant de colonnes que nécessaire
   (9 logos -> 5 + 4 ; 20 logos -> 10 + 10). Il suffit d'ajouter des <li> au HTML.
   ===================================================================== */
@media screen and (min-width: 992px) {
  .footer-partners-logos {
    display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    align-items: center; justify-items: center; gap: 28px 24px;
  }
  .footer-partners-logos li { justify-content: center; width: 100%; }
}

/* =====================================================================
   v5.14 — Logos d'équipes des cartes matchs : sans fond, sans cercle, même taille partout
   ===================================================================== */
.match-team-logo, .score-line .match-team-logo {
  width: 64px; height: 64px; flex: 0 0 auto;
  background: none !important; border: 0 !important; border-radius: 0 !important; overflow: visible;
}
.match-team-logo img, .score-line .match-team-logo img { width: 100%; height: 100%; object-fit: contain; }
/* Logo adverse manquant : l'emplacement est conservé (alignement des noms), rien n'est affiché */
.match-team-logo.placeholder, .score-line .match-team-logo.placeholder { color: transparent; font-size: 0; }
/* Les deux équipes alignées de la même façon dans les deux cartes */
.match-team { gap: 10px; }
.score-line .team { flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; text-align: center; }
.score-line .team:last-child { text-align: center; }
@media screen and (max-width: 767px) {
  .match-team-logo, .score-line .match-team-logo { width: 52px; height: 52px; }
}
/* Respiration entre compétition, équipes et infos pratiques dans les diapositives */
.match-slide > * + * { margin-top: 20px; }
.match-slide .match-when { margin-top: 24px; }

/* =====================================================================
   v5.15 — Design affiné (base v5.14)
   Même composition et mêmes composants ; on allège : graisses plus fines,
   pastilles et boutons plus petits, traits d'un pixel, arrondis plus serrés,
   gros éléments ronds réduits.
   ===================================================================== */
:root { --radius-card: 22px; --radius-inner: 16px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* --- Titres : graisse normale, interlettrage légèrement resserré --- */
h1, h2, h3, .banner-3-home-title, .in-section-title, .section-title, .partners-head h2, .heading-2, .footer-main-title {
  font-weight: 400; letter-spacing: -.015em;
}
h4, h5, h6, .info-card-title, .news-card-title, .team-info-card h5, .steps-card h5, .match-team-name, .footer-newsletter h5, .footer-partners-head h5 {
  font-weight: 500; letter-spacing: -.005em;
}
.paragraph-large { font-weight: 300; }
.quote-white-testimonial { font-weight: 400; letter-spacing: -.01em; }
.primary-block-content .bullet-points-wrapper h5 { font-size: 19px; font-weight: 400; line-height: 1.3; }
.classes-cards-wrapper .info-card-title { font-weight: 500; }
.info-card-with-link h5 { font-weight: 400; }

/* --- Pastilles (étiquettes) : plus petites, trait fin --- */
.tag-red, .tag-white { padding: 6px 14px; font-size: 13px; font-weight: 500; letter-spacing: .01em; border-width: 1px; line-height: 1.2; }
.partners-head .tag-red, .about-us-steps-item.project-tile .tag-red { font-size: 13px; padding: 6px 14px; }
.status { font-size: 12.5px; font-weight: 500; padding: 5px 11px; }
.news-card-tag { font-size: 12.5px; font-weight: 500; }

/* --- Boutons : moins hauts, texte plus léger --- */
.primary-button { padding: 9px 22px; font-size: 14.5px; font-weight: 500; letter-spacing: .01em; border-width: 1px; }
.nav-button { padding: 8px 20px; }
.link-with-arrow { font-weight: 500; }

/* --- Gros boutons ronds : réduits --- */
.big-round-button { width: 84px; height: 84px; }
.big-round-button img { width: 22px; }
.big-round-button-footer { width: 128px; height: 128px; }
.big-round-button-footer img { width: 26px; }
.link-info-card { width: 56px; }
.info-card-with-link { padding-right: 80px; }

/* --- Pastilles numérotées : plus discrètes --- */
.steps-card .steps-tag { width: 32px; height: 32px; border-radius: 9px; font-size: 14px; font-weight: 500; border: 1px solid #de221c40; }

/* --- Traits fins, arrondis serrés --- */
.steps-card, .info-card, a.info-card, .info-card-with-link, .news-card, .team-info-card, .match-last { border-radius: var(--radius-card) !important; }
.match-next, .primary-block-style { border-radius: var(--radius-card); }
.image-classes, .about-block-image, .primary-block-image, .team-card .team-card-image, .team-card-image { border-radius: 20px; }
.about-us-steps-item.project-tile, .cta-wrapper { border-radius: var(--radius-card); }
.partner-grid .partner-logo, .partner-grid.logos .partner-logo, .partner-grid.mecenes .partner-logo { border-radius: 12px; }
.tag-red-link { border-width: 1px; font-weight: 500; font-size: 15px; padding: 7px 18px; }

/* --- Chiffres et logos de match --- */
.score { font-weight: 500; letter-spacing: -.02em; }
.match-vs { font-weight: 500; font-size: 15px; }

/* --- Pied de page : titre plus léger --- */
.footer-main-title { font-weight: 300; }
.footer-link { font-weight: 400; font-size: 15px; }
.cms-legal-links .footer-copyright-link { font-weight: 400; }
.footer-newsletter .captcha-mini, .footer-newsletter .consent span { font-weight: 400; }
#site-menu .menu-wrap .nav-link { font-weight: 400; }

/* =====================================================================
   v5.16 — Projet social : plus de diagonale, bloc noir à bord droit
   (même traitement que le bas du bandeau d'accueil)
   ===================================================================== */
.section.dark-background-diagonal {
  background: var(--primary-dark) !important; padding-top: var(--section-y); overflow: visible;
}
.bg-diagonal-element-dark, .bg-elements-wrapper { display: none !important; }
@media screen and (max-width: 767px) { .section.dark-background-diagonal { padding-top: var(--section-y); } }

/* =====================================================================
   v5.17 — « À propos » : fond rouge de bord à bord (comme le fond noir du projet social)
   Plus de cadre arrondi ; photo et texte calés sur la grille de 1200 px
   ===================================================================== */
.base-container.primary-color-block { padding-left: 0 !important; padding-right: 0 !important; max-width: none; }
.primary-block-style {
  border-radius: 0 !important; display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center;
  padding: var(--section-y) max(15px, calc((100% - 1170px) / 2)) !important;
}
.primary-block-content-position { position: static !important; width: auto !important; inset: auto !important; }
.primary-block-content-position { display: flex !important; justify-content: flex-start !important; }
.primary-block-content { padding: 0 !important; width: 100% !important; max-width: 560px; }
.primary-block-image { width: 100%; height: 100%; min-height: 420px; max-height: 560px; margin: 0; }
@media screen and (max-width: 991px) {
  .primary-block-style { grid-template-columns: 1fr; gap: 36px; }
  .primary-block-image { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .primary-block-content { max-width: none; }
}
/* v5.17b — photo « À propos » : même taille qu'avant (642 × 504 px sur grand écran) */
@media screen and (min-width: 992px) {
  .primary-block-style { grid-template-columns: minmax(0, 642fr) minmax(0, 464fr); }
  .primary-block-image { height: auto; min-height: 0; max-height: none; aspect-ratio: 642 / 504; }
}

/* =====================================================================
   v5.18 — Logotype (« Rugby Fauteuil Club Toulon Provence Méditerranée ») en Futura Std Extra Bold
   1. Futura Std Extra Bold installée sur l'ordinateur du visiteur (local)
   2. Fichier web sous licence à déposer dans assets/fonts/ (futura-std-extrabold.woff2 / .woff)
   3. À défaut : Jost 800 (libre, OFL, dessin dérivé de Futura), embarquée
   ===================================================================== */
@font-face {
  font-family: "RFCTPM Logotype";
  src: local("Futura Std Extra Bold"), local("FuturaStd-ExtraBold");
  /* Fichier web sous licence : déposer futura-std-extrabold.woff2 dans assets/fonts/ puis ajouter
     ci-dessus : , url("../fonts/futura-std-extrabold.woff2") format("woff2")
     (laissé de côté tant que le fichier n'existe pas, pour éviter une erreur 404 sur chaque page) */
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "RFCTPM Logotype Fallback";
  src: url("../fonts/jost-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
.brand-lockup, .brand-lockup span, .brand-lockup em {
  font-family: "RFCTPM Logotype", "RFCTPM Logotype Fallback", "Futura", "Century Gothic", sans-serif !important;
  font-weight: 800 !important; letter-spacing: 0 !important;
}

/* =====================================================================
   v5.19 — Compteurs animés et frise des dates
   ===================================================================== */
.is-counting, .figure .n, .bar-row .val, .score { font-variant-numeric: tabular-nums; } /* chiffres à chasse fixe : rien ne bouge pendant le défilement */
.bar-fill { transition: width 1.6s cubic-bezier(.215, .61, .355, 1); will-change: width; }
@media (prefers-reduced-motion: reduce) { .bar-fill { transition: none; } }

/* =====================================================================
   v5.20 — Pages d'état (newsletter, désinscription, présence)
   Carte centrée, pictogramme, titre, texte, actions ; formulaires aérés
   ===================================================================== */
.state-card {
  background: var(--white); border: 1px solid #00000014 !important; border-radius: var(--radius-card);
  padding: 48px 52px 44px; text-align: left;
}
.state-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: #de221c14; color: var(--primary); font-size: 22px; margin-bottom: 22px;
}
.state-card.is-ok .state-icon { background: var(--primary); color: var(--white); }
.state-card.is-warn .state-icon { background: var(--primary-dark); color: var(--white); }
.state-card .in-section-title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; margin: 0 0 14px; }
.state-card > p { font-size: 16.5px; line-height: 1.65; margin: 0 0 12px; }
.state-card p strong, .state-card .sidebar-list strong { color: var(--primary-dark); font-weight: 500; }
.state-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.state-card .form-note { font-size: 13.5px; line-height: 1.55; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid #00000014; }

/* Message de confirmation (présence) : en tête de carte, sans encadré */
.state-card .form-alert.success { display: block; background: none; color: var(--primary-dark); padding: 0; margin: 0 0 26px; font-size: 18px; line-height: 1.5; }
.state-card .state-subtitle, .state-card .form-alert + .in-section-title { font-size: 21px; font-weight: 500; margin: 30px 0 6px; }
.state-card .form-alert + .in-section-title { margin-top: 0; }
.state-card .sidebar-list { list-style: none; margin: 0; padding: 0; }
.state-card .sidebar-list li { padding: 13px 0; font-size: 15.5px; border-bottom-color: #00000014; }
.state-card .sidebar-list li strong { text-align: right; }

/* Formulaires */
.state-form { margin-top: 26px; }
.state-form .field-label { font-size: 14.5px; margin-bottom: 8px; }
.state-form .contacts-input, .state-form .contacts-textarea {
  background: var(--white); border: 1px solid #00000024; border-radius: 12px; padding: 14px 16px; font-size: 16px; margin-bottom: 18px;
}
.state-form .contacts-textarea { min-height: 120px; resize: vertical; display: block; }
.state-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.choice-group { border: 0; padding: 0; margin: 0 0 22px; }
.choice-group legend { margin-bottom: 10px; padding: 0; }
.choice {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin: 0 0 8px; cursor: pointer;
  border: 1px solid #00000024; border-radius: 12px; font-size: 15.5px; line-height: 1.4; color: var(--primary-dark); text-transform: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.choice:hover { border-color: #00000055; }
.choice:has(input:checked) { border-color: var(--primary); background: #de221c0a; }
.choice input { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; accent-color: var(--primary); }
.state-consent { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 22px; font-size: 14.5px; line-height: 1.5; color: var(--paragraph-gray); }
.state-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--primary); }

@media screen and (max-width: 767px) {
  .state-card { padding: 32px 22px 28px; }
  .state-form .form-row { grid-template-columns: 1fr; }
  .state-actions .primary-button { flex: 1 1 auto; text-align: center; justify-content: center; }
}
.choice span { font-weight: 400; }
.state-card .sidebar-list li { color: var(--paragraph-gray); }

/* =====================================================================
   v5.21 — Pages d'état : colonne « coordonnées » (identique à contact.html) à droite de la carte
   ===================================================================== */
.state-grid { max-width: none; }
.state-grid .state-card { width: 100%; }

/* =====================================================================
   v5.22 — Puces : cercle + coche, même famille que les pictogrammes d'état
   Bloc rouge : cercle blanc, coche rouge (puce-check-blanche.svg)
   Bloc noir  : cercle rouge, coche blanche (puce-check-rouge.svg) — remplace la cible
   ===================================================================== */
.image-bullet { width: 22px; height: 22px; flex: 0 0 auto; }
.primary-block-content .image-bullet { width: 22px; height: 22px; }
.bullet-points-wrapper { align-items: center; gap: 14px; }
.bullet-style-list-item {
  background-image: url("../imgs/puce-check-rouge.svg"); background-size: 22px 22px; background-position: 0 1px;
  padding-left: 38px; min-height: 24px;
}

/* =====================================================================
   v5.23 — Article : photo dans le bandeau, en-tête calé à gauche (comme les pages équipe)
   ===================================================================== */
.pages-banner .banner-meta { color: #ffffffb3; justify-content: flex-start; flex-wrap: wrap; gap: 8px 22px; margin: 4px 0 18px; }
.pages-banner .banner-meta .fa-s { color: var(--primary); }
.pages-banner .banner-title-wrapper .tag-red { align-self: flex-start; }
/* Corps de l'article aligné sur le titre du bandeau (bord gauche de la grille) */
.article-body { margin: 0; max-width: 760px; }

/* =====================================================================
   v5.24 — Article : colonne de droite (gabarit commun à tous les articles)
   En bref (métadonnées) · appel à l'action selon la catégorie · partage et mots-clés
   ===================================================================== */
.article-layout { align-items: start; }
.article-layout .article-body { max-width: none; margin: 0; }
.article-aside .sidebar-list li strong { text-align: right; color: var(--primary-dark); font-weight: 500; }
.article-cta p { color: #ffffffcc !important; font-size: 15.5px; line-height: 1.55; margin: 0 0 20px; }
.article-share .share-links { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.article-share .share-links a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid #00000024; display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary-dark); font-size: 15px;
}
.article-share .share-links a:hover { border-color: var(--primary); color: var(--primary); }
.article-share .tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; border-top: 1px solid #00000014; }
.article-share .share-links a { background: none !important; color: var(--primary-dark) !important; }
.article-share .share-links a:hover { color: var(--primary) !important; }
.article-share .share-links a .fa-b, .article-share .share-links a .fa-s { color: inherit; }

/* =====================================================================
   v5.25 — Carte « Que vous soyez en situation de handicap… » : la bande rouge
   épouse le bord droit de la carte (plus de pastille arrondie qui dépasse)
   ===================================================================== */
.info-card-with-link { position: relative; overflow: hidden; background: var(--white); padding: 26px 96px 26px 28px; min-height: 120px; }
.info-card-with-link .link-info-card {
  position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: 68px; height: auto;
  border-radius: 0 !important; display: flex; align-items: center; justify-content: center; transition: background-color .3s ease-in-out;
}
.info-card-with-link .link-info-card img { width: 22px; transition: transform .3s ease-in-out; }
.info-card-with-link:hover .link-info-card { background-color: var(--primary-dark); }
.info-card-with-link:hover .link-info-card img { transform: translateX(3px); }
.info-card-with-link h5 { font-size: 19px; line-height: 1.4; margin: 0; }
@media screen and (max-width: 767px) { .info-card-with-link { padding: 22px 84px 22px 22px; } .info-card-with-link .link-info-card { width: 60px; } }

/* =====================================================================
   v5.26 — Filet fin entre deux sections claires (« Autres projets », « À lire aussi »)
   Même traitement que sur l'accueil : demi-respiration de part et d'autre du trait
   ===================================================================== */
.section:has(+ .section.has-sep) { padding-bottom: calc(var(--section-y) * .75); }
.section.has-sep { padding-top: 0; }
.section.has-sep > .base-container {
  padding-top: calc(var(--section-y) * .75);
  background: linear-gradient(#00000014, #00000014) 15px 0 / calc(100% - 30px) 1px no-repeat;
}
/* Pages légales : le filet s'aligne sur la colonne de texte (820 px), pas sur le conteneur. */
.section.has-sep > .base-container:has(> div > .legal-prose) { background-position: center 0; background-size: min(820px, calc(100% - 30px)) 1px; }

/* =====================================================================
   v5.27 — Accordéons animés ; colonne « Devenir partenaire » lisible sur fond noir
   ===================================================================== */
details.accordion-item summary .accordion-icon { transition: transform .38s cubic-bezier(.215, .61, .355, 1); display: inline-block; }
details.accordion-item[open] summary .accordion-icon { transform: rotate(180deg); }
details.accordion-item summary { transition: color .25s ease; }
details.accordion-item summary:hover h6 { color: var(--primary); }

/* Carte blanche dans une section noire : titre et texte à l'encre (le titre héritait du blanc) */
.section.dark-background-diagonal .sidebar-card:not(.dark) h5,
.section.dark .sidebar-card:not(.dark) h5 { color: var(--primary-dark); }
.section.dark-background-diagonal .sidebar-card:not(.dark) p,
.section.dark .sidebar-card:not(.dark) p { color: var(--paragraph-gray); }
/* Carte noire dans une section noire : fond éclairci et filet pour qu'elle se détache */
.section.dark-background-diagonal .sidebar-card.dark,
.section.dark .sidebar-card.dark { background: #1c1c1f; border: 1px solid #ffffff1f !important; }
.section.dark-background-diagonal .sidebar-card.dark p, .section.dark .sidebar-card.dark p { color: #ffffffcc; }

/* =====================================================================
   v5.28 — Photo du bloc rouge (À propos, RFC School) : même hauteur que la photo du bloc noir
   Par défaut 642 × 535 (hauteur de la photo carrée du projet social à 1440 px) ;
   sur les pages qui ont les deux photos, rfctpm-apply.js aligne la hauteur au pixel près.
   ===================================================================== */
@media screen and (min-width: 992px) {
  .primary-block-image { aspect-ratio: 642 / 535; }
  .primary-block-image.is-synced { aspect-ratio: auto; }
}

/* =====================================================================
   v6.1 — Pied de page : navigation dans le bloc noir, liens légaux en bas sur fond clair
   ===================================================================== */
.footer-links-wrapper .footer-link.cookie-link { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--paragraph-gray); cursor: pointer; }
.footer-links-wrapper .footer-link.cookie-link:hover { color: var(--primary); }
.footer-links-wrapper .footer-link { color: var(--paragraph-gray); }
.footer-links-wrapper .footer-link:hover { color: var(--primary); }
nav.footer-rights-wrapper, nav.footer-links-wrapper { display: flex; flex-wrap: wrap; }
@media screen and (max-width: 767px) { .cms-legal-links { justify-content: center; text-align: center; } }
/* v6.1b — Copyright à gauche, liens légaux à droite, sur la même ligne et dans la même taille (14 px) */
.footer-bottom-wrapper { flex-wrap: nowrap; align-items: baseline; gap: 12px 20px; }
.footer-bottom-wrapper .footer-rights-main-wrapp { order: 1; flex: 0 1 auto; text-align: left; }
.footer-bottom-wrapper .footer-copyright { width: auto; white-space: nowrap; }
.footer-bottom-wrapper nav.footer-links-wrapper { order: 2; flex: 0 0 auto; flex-wrap: nowrap; justify-content: flex-end; gap: 6px 10px; white-space: nowrap; }
.footer-links-wrapper .footer-link, .footer-links-wrapper .footer-link.cookie-link { font-size: 14px; line-height: 1.5; }
@media screen and (max-width: 1239px) {
  .footer-bottom-wrapper nav.footer-links-wrapper { flex-wrap: wrap; white-space: normal; gap: 6px 18px; }
  .footer-bottom-wrapper .footer-copyright { white-space: normal; }
  .footer-bottom-wrapper { flex-direction: column; flex-wrap: wrap; align-items: center; }
  .footer-bottom-wrapper .footer-rights-main-wrapp { order: 2; text-align: center; }
  .footer-bottom-wrapper nav.footer-links-wrapper { order: 1; justify-content: center; }
}

/* v6.2 — Logotype de l'en-tête à 24 px sur grand écran (et dans l'en-tête du menu ouvert, qui lui est calé) */
@media screen and (min-width: 992px) {
  .brand .brand-lockup, .tablet-menu .brand-lockup { font-size: 24px; }
}

/* v6.3 — Icônes réseaux de l'en-tête : même survol que « Contactez-nous » (fond transparent, contour et icône rouges) */
.nav-social-icon { border: 1px solid var(--primary); transition: color .3s ease-in-out, background-color .3s ease-in-out, border-color .3s ease-in-out; }
.nav-social-icon:hover { background-color: #0000; color: var(--primary); }

/* ==========================================================================
   v6.4 — Corrections issues de la relecture du 08/10/2026
   ========================================================================== */
/* Disciplines : caractéristiques (Joueurs, Terrain, Durée…) invisibles.
   La règle globale « ul » de main.css (texte transparent + background-clip:text) ne peint pas
   les <li> en position:relative ; même neutralisation que pour .bullet-style-list. */
.feature-facts { -webkit-text-fill-color: currentColor; -webkit-background-clip: border-box; background-clip: border-box; background-color: transparent; }

/* Cartes « Ce que nous proposons » et « Partenaires » : 3 par ligne, 2 sur tablette, 1 sur téléphone
   (remplace les styles en ligne flex:1 1 30% et flex-wrap:wrap, refusés par la politique de sécurité). */
.steps-wrapper.is-wrap { flex-wrap: wrap; }
.steps-card.is-third { flex: 1 1 30%; }
@media screen and (max-width: 991px) { .steps-card.is-third { flex-basis: 45%; } }
@media screen and (max-width: 767px) { .steps-card.is-third { flex-basis: 100%; } }

/* Désinscription : la liste « Envois que je conserve » n'apparaît que si « Garder seulement certains envois »
   est choisi (côté serveur, liste[] est ignorée quand choix = tout). */
.state-form:has(input[name="choix"][value="tout"]:checked) .keep-lists { display: none; }

/* ==========================================================================
   v6.5 — Maquettes manquantes dans le nouveau style (08/10/2026)
   ========================================================================== */
/* Alertes de formulaire et message du pied : mêmes règles que le site (lot A1) */
.form-alert.is-shown { display: block; background: #e8f5ec; color: #1f6b3a; }
.form-alert.is-error.is-shown { background: #fdecea; color: #a4231e; }
.newsletter-ok.is-shown { display: block; }

/* =====================================================================
   Ajouts du site (écarts déclarés, CLAUDE.md §22) — absents des maquettes
   ===================================================================== */
/* ---------- Bloc « Rejoignez notre communauté » : image de fond administrable ----------
   L'image du design est déjà en noir et blanc : le traitement n'était nulle part. Depuis qu'elle se
   choisit dans la médiathèque (Site › Pied de page), il doit valoir pour n'importe quelle photo —
   sans quoi une photo en couleurs passerait sous un voile sombre sans le rendu du bloc. Le filtre ne
   vise que l'image choisie : sur celle du design, presque mais pas tout à fait grise, il aurait
   déplacé quelques pixels sans rien apporter. Le voile et les coins arrondis restent ceux de
   main.css. */
.cta-wrapper .cta-photo.is-grayscale { filter: grayscale(1); }

/* ---------- Sections typées (lot A2-b) : classes à la place des styles en ligne des maquettes ----------
   Les maquettes écrivent ces trois règles en attribut « style » ; le site n'admet de style en ligne que
   s'il dépend des données (CLAUDE.md §2). Mêmes valeurs, portées par une classe. */
.cms-prose blockquote small { font-size: 16px; font-weight: 400; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; width: 100%; }
.in-section-title.is-suite { margin-top: 60px; }
/* ---------- Carrousel : diapositive vidéo qui attend le clic ----------
   Sans lecture automatique, la vidéo montre son poster et ce bouton, repris
   du lecteur « façade » des pages (même rond rouge, même icône). Il disparaît
   dès que la lecture commence. */
.hero-slide-play {
  position: absolute; inset: 0; margin: auto; z-index: 3;
  width: 88px; height: 88px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--primary); color: #fff; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
}
.hero-slide-play .fa-s { margin-left: 4px; }
.hero-slide-play[hidden] { display: none; }


/* Lot L7-a — newsletter du pied de page : message d'erreur (adresse invalide,
   accord manquant, envoi refusé). Aucune maquette ne le dessine : le serveur
   ne répond pas dans les maquettes. Couleur déjà utilisée par le design pour
   un texte d'alerte sur fond sombre (.todo.on-dark), pas de couleur nouvelle. */
.newsletter-ok.is-error { color: #ffb3b0; }

/* Pages d'état : erreurs de saisie (présence) */
.state-form .form-alert.is-shown { margin: 0 0 22px; }
.state-form .field-error { margin: -10px 0 16px; }
.choice-group.is-invalid .choice { border-color: var(--primary); }
.choice-group.is-invalid + .field-error { display: block; margin: -14px 0 20px; }

/* Calendrier : heure du coup d'envoi à la place du score */
.match-row-end .kickoff { font-size: 20px; font-weight: 500; line-height: 1; color: var(--primary-dark); white-space: nowrap; }

/* Listes filtrées et saisons sans résultat */
.empty-state .empty-actions { justify-content: center; margin-top: 0; }

/* Accueil : bloc « Prochain match » sans rencontre programmée */
.match-next.is-empty .match-empty { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding: 28px 0; }
.match-next.is-empty .match-empty h5 { color: var(--white); margin: 0 0 10px; font-size: 24px; line-height: 1.2; }
.match-next.is-empty .match-empty p { color: #ffffffb3; margin: 0; max-width: 420px; }

/* Filtres des résultats et du calendrier : une ligne masquée par le filtre doit vraiment disparaître
   (.match-row impose display:grid, qui l'emportait sur l'attribut hidden : les matchs de l'autre équipe
   restaient affichés dans les mois mixtes). */
[data-match][hidden], [data-month-group][hidden], [data-filter-empty][hidden] { display: none !important; }

/* ==========================================================================
   v6.7 — Pages manquantes (08/10/2026)
   ========================================================================== */
/* Bandeaux en haut de page : aperçu d'un brouillon (noir) et annonce de maintenance (gris foncé) */
.offline-bar.is-preview { background: repeating-linear-gradient(135deg, #111 0 18px, #1d1d20 18px 36px); }
.offline-bar.is-notice { background: var(--primary-dark); }
/* Article : galerie sous le texte */
.article-gallery { margin-top: 56px; padding-top: 40px; border-top: 1px solid #00000014; }
.article-gallery .in-section-title { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 24px; }
.article-gallery .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media screen and (max-width: 767px) { .article-gallery .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Filtres en liens (catégorie choisie par l'adresse) */
a.filter-pill { text-decoration: none; }
/* Classement d'une compétition */
.standings-wrap { overflow-x: auto; background: var(--white); border: 1px solid #00000014; border-radius: var(--radius-card); }
.standings { width: 100%; border-collapse: collapse; font-size: 16px; }
.standings th, .standings td { padding: 14px 18px; text-align: center; border-bottom: 1px solid #00000010; white-space: nowrap; }
.standings thead th { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--paragraph-gray); }
.standings tbody th { text-align: left; font-weight: 500; color: var(--primary-dark); white-space: normal; }
.standings tbody tr:last-child td, .standings tbody tr:last-child th { border-bottom: 0; }
.standings tr.is-club { background: #de221c0d; }
.standings tr.is-club th, .standings tr.is-club td:first-child { color: var(--primary); font-weight: 600; }
.standings abbr { text-decoration: none; }
@media screen and (max-width: 767px) { .standings th, .standings td { padding: 12px 10px; font-size: 14.5px; } }

/* v6.9 — Match annulé dans le calendrier */
.match-row.is-cancelled .match-row-teams, .match-row.is-cancelled .match-date { opacity: .55; }
.match-row.is-cancelled .vs { text-decoration: line-through; text-decoration-thickness: 1px; }

/* =====================================================================
   Vidéo intégrée : « clic pour lancer » (correctif 0.24.2)
   Le lecteur YouTube ou Vimeo n'est créé qu'au clic : avant lui, aucune
   requête ne part vers le fournisseur, pas même pour une vignette.
   ===================================================================== */
.video-consent { position: relative; aspect-ratio: 16 / 9; width: 100%; margin: 0 0 24px; padding: 24px; border-radius: var(--radius-card); overflow: hidden; background: var(--primary-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.video-consent .video-consent-note, .video-consent a { margin: 0; max-width: 440px; font-size: 14px; line-height: 1.5; color: #ffffffb3; }
.video-consent a { text-decoration: underline; text-underline-offset: 3px; }
.video-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
html:not(.w-mod-js) .video-consent button { display: none; }

/* =====================================================================
   Bandeau des pages internes : la grille de la barre de navigation, et le
   contenu posé au bas du bandeau (correctif 0.24.19, 05/11/2026)

   Deux défauts, une seule cause de confusion : le bandeau ne suivait ni la
   grille horizontale de l'en-tête, ni une position verticale stable.

   1. « .pages-banner .base-container » fixait 1 200 px à toutes les
      largeurs, alors que la barre de navigation passe à 1 400 px au-delà de
      1 920 px (main.css, « .footer-wrapper, .navbar-absolute »). Au-dessus
      de cette largeur, le titre, l'étiquette et le fil d'Ariane partaient
      donc 100 px à droite du logo ; en dessous, ils étaient déjà alignés.
      Même conteneur, même gouttière de 15 px : l'alignement tient à toutes
      les largeurs.

   2. Le bloc de contenu était centré dans la hauteur du bandeau
      (« align-items: center ») et sa distance au bas du bandeau — la
      marge intérieure basse — valait 130, 100, 80 ou 60 px selon l'écran,
      et bougeait encore avec la hauteur du bandeau. Il est désormais posé
      au bas (« flex-end »), à 30 px, quelle que soit la longueur du titre
      ou de l'accroche. La marge intérieure haute reprend ce que la basse
      abandonne : la hauteur du bandeau ne change pas d'un pixel.

   Le téléphone (≤ 479 px) garde la mise en page d'origine, comme demandé.
   ===================================================================== */
@media (min-width: 1920px) {
  .pages-banner .base-container { max-width: 1400px; }
}
.pages-banner { align-items: flex-end; padding-top: 230px; padding-bottom: 30px; }
@media (min-width: 1280px) {
  .pages-banner { padding-top: 290px; padding-bottom: 30px; }
}
@media (max-width: 991px) {
  .pages-banner { padding-top: 170px; padding-bottom: 30px; }
}
@media (max-width: 767px) {
  .pages-banner { padding-top: 130px; padding-bottom: 30px; }
}
@media (max-width: 479px) {
  /* Téléphone : la mise en page d'origine, inchangée. */
  .pages-banner { align-items: center; padding-top: 100px; padding-bottom: 60px; }
}

/* ==========================================================================
   Correctif 0.24.22 (06/11/2026) — page de présence : l'événement
   ========================================================================== */
/* Le formulaire de présence n'annonçait ni quand ni où : la maquette ne porte
   que le nom de l'événement. Le visuel de la fiche (image_id) et la liste des
   informations pratiques s'ajoutent en haut de la carte ; la liste est le
   composant de presence-merci.html, sans style nouveau. Écarts déclarés. */
.state-card .state-visual { display: block; width: 100%; height: auto; border-radius: var(--radius-card); margin: 0 0 4px; }
/* Colonne noire : le lieu de l'événement passe en tête, les coordonnées du
   club sont titrées dessous. Même interlettrage que les étiquettes du design. */
.info-dark .info-group-title { margin: 0; color: #ffffff80; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

/* ==========================================================================
   v6.12 — Contraste du contenu éditorial (correctif 0.24.25)
   ==========================================================================
   Le gabarit d'origine peint le texte de **tout** « ul » avec son propre fond
   découpé aux glyphes : `background-color: var(--paragraph-gray)`,
   `color: var(--primary)` — jamais vu —, `-webkit-text-fill-color: transparent`
   et `background-clip: text`. La couleur d'une liste n'était donc ni sa
   propriété `color`, ni une couleur héritée : un gris ardoise immuable, que
   rien dans la cascade ne pouvait reprendre. Sur fond blanc, cela passe pour
   du texte courant (7,31:1) ; sur une bande sombre (2,73:1), et sous le mode
   sombre forcé d'Android (2,12:1), la liste et ses « strong » deviennent
   illisibles — c'est ce que Djamel a photographié le 06/11/2026.

   Trois composants avaient déjà été rattrapés un par un : `.bullet-style-list`,
   `.feature-facts`, `.footer-partners-logos`. Le contenu éditorial, jamais.
   La neutralisation reste **ciblée** sur les conteneurs du contenu rédigé :
   `.bullet-style-list` se sert de ce découpage pour peindre ses puces en blanc
   sur les bandes de l'accueil, et la neutraliser partout l'effacerait.

   La couleur se pose désormais sur le **conteneur**, et tout en hérite :
   listes, gras, listes numérotées, citations, légendes, tableaux. Ne sont
   nommés que les éléments que le design veut plus foncés que le texte courant,
   et qui disparaîtraient sur une bande sombre. */
.cms-prose, .rich-text-style, .legal-prose { color: var(--paragraph-gray); }
.cms-prose ul, .rich-text-style ul, .legal-prose ul {
  background-color: transparent;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

/* Bandes sombres — « Fond de la section : Sombre » du back-office, et le fond
   en diagonale de l'accueil : une seule déclaration, sur le conteneur. */
.section.dark .cms-prose,
.section.dark-background-no-top-spacing .cms-prose,
.section.dark-background-diagonal .cms-prose { color: #ffffffb3; }

/* Citation et chapô sont en --primary-dark, c'est-à-dire noir : sur une bande
   sombre ils disparaissaient (1:1). Les liens n'allaient guère mieux — le
   rouge du club sur noir plafonne à 4,35:1, et regles-typographie.html
   l'interdit sous 24 px. Ils restent soulignés. */
.section.dark .cms-prose blockquote,
.section.dark .cms-prose .lead,
.section.dark .cms-prose a,
.section.dark-background-no-top-spacing .cms-prose blockquote,
.section.dark-background-no-top-spacing .cms-prose .lead,
.section.dark-background-no-top-spacing .cms-prose a,
.section.dark-background-diagonal .cms-prose blockquote,
.section.dark-background-diagonal .cms-prose .lead,
.section.dark-background-diagonal .cms-prose a { color: var(--white); }
