/* ==========================================================================
   Ligue Nouvelle-Aquitaine de Volley-Ball — feuille de style
   Charte graphique LNAVB 2026 (11/2026) :
   - couleurs : marine #00285f, rouge #e0011a, bleu #0280c4, blanc ;
     pratiques : orange #f7aa12, bleu beach #244cb2, turquoise #74c2c7,
     vert santé #acbb28, vert outdoor #00515b, rouge Région #c31632
   - polices : Anton (titres, MAJUSCULES, italique possible),
     Montserrat (textes ; ExtraBold accentuations, Black étiquettes ; jamais en majuscules)
   ========================================================================== */
:root {
  --navy: #00285f;
  --navy-d: #001a40;
  --blue: #0280c4;
  --blue-l: #e6f2fa;
  --red: #e0011a;
  --red-d: #b8000f;
  --ink: #0d1b33;
  --muted: #56657d;
  --line: #e2e8f0;
  --bg: #eef2f7;
  --white: #fff;
  /* couleurs des pratiques */
  --orange: #f7aa12;
  --beach: #244cb2;
  --turquoise: #74c2c7;
  --sante: #acbb28;
  --outdoor: #00515b;
  --region: #c31632;
  /* dégradés de la charte */
  --grad: linear-gradient(135deg, #00285f 0%, #00285f 30%, #0262a8 72%, #0280c4 100%);
  --grad-seniors: linear-gradient(120deg, #00285f 0%, #2a1f55 45%, #8a0f3a 78%, #e0011a 110%);
  --grad-label: linear-gradient(90deg, #0280c4 0%, #00285f 100%);
  --grad-beach: linear-gradient(120deg, #244cb2 0%, #4c75b8 40%, #74c2c7 75%, #f7aa12 115%);
  --grad-sante: linear-gradient(120deg, #7f8c12 0%, #acbb28 55%, #d7e08c 115%);
  --grad-outdoor: linear-gradient(120deg, #00515b 0%, #2c6450 55%, #f7aa12 120%);
  --grad-perf: linear-gradient(120deg, #00285f 0%, #6b1240 50%, #c31632 100%);
  --radius: 18px;
  --radius-xl: 72px;
  --shadow: 0 2px 4px rgba(0, 40, 95, .06), 0 12px 30px rgba(0, 40, 95, .10);
  --shadow-lg: 0 26px 64px rgba(0, 40, 95, .22);
  --display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis-weight: none; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 900px; }
.ico { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
kbd { font: 600 11px/1 var(--body); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 3px 6px; color: var(--muted); background: #fff; }
mark { background: #ffe7a3; color: inherit; border-radius: 3px; padding: 0 1px; }
[hidden] { display: none !important; }

/* ---------- typographie display ---------- */
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.display em { font-style: italic; color: var(--red); }
.h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 400 clamp(1rem, 1.6vw, 1.25rem)/1 var(--display); letter-spacing: .01em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.eyebrow::before { content: none; }
.eyebrow-light { color: #fff; }
.outline { color: transparent; -webkit-text-stroke: 2px currentColor; }
.light { color: #fff; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 20px; font: 700 .85rem/1 var(--body); letter-spacing: 0; text-transform: none; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn .ico { width: 18px; height: 18px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(224, 1, 26, .3); }
.btn-red:hover { background: var(--red-d); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn:disabled { opacity: .6; }
.linklike { background: none; border: 0; color: var(--blue); text-decoration: underline; padding: 0; font-size: .9rem; }
.more-link { display: inline-block; font-weight: 700; color: var(--red); text-decoration: none; margin-top: 16px; }
.more-link:hover { color: var(--red-d); text-decoration: underline; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); pointer-events: none; }
.header-bar { pointer-events: auto; height: var(--header-h); display: flex; align-items: center; gap: 20px; padding: 0 24px 0 28px; background: #fff; border-bottom-right-radius: 32px; box-shadow: 0 2px 20px rgba(0, 26, 64, .08); max-width: calc(100% - 0px); transition: margin .25s, border-radius .25s, box-shadow .25s; }
.site-header.is-scrolled .header-bar { box-shadow: 0 8px 30px rgba(0, 26, 64, .14); }
.brand { display: flex; align-items: center; flex: none; }
.brand svg { height: 44px; width: auto; }
.main-nav { flex: 1; min-width: 0; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 2px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { font: 700 .78rem/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--navy); text-decoration: none; padding: 10px 6px 10px 12px; border-radius: 8px; }
.nav-item.is-active .nav-link { color: var(--red); }
.nav-toggle { background: none; border: 0; padding: 6px 4px; color: var(--navy); display: flex; border-radius: 6px; }
.nav-toggle .ico { width: 14px; height: 14px; transition: transform .2s; }
.nav-item:hover .nav-link, .nav-item.is-open .nav-link { color: var(--red); }
.nav-sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); min-width: 300px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.nav-sub::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item:hover .nav-sub, .nav-item.is-open .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-item.is-open .nav-toggle .ico { transform: rotate(180deg); }
.nav-sub a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.nav-sub a:hover { background: var(--bg); }
.nav-sub strong { display: block; color: var(--navy); font-size: .92rem; }
.nav-sub span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.search-trigger { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); border-radius: 10px; padding: 9px 10px 9px 12px; font-size: .88rem; }
.search-trigger:hover { border-color: var(--navy); color: var(--navy); }
.search-trigger .ico { width: 18px; height: 18px; color: var(--navy); }
.burger { display: none; background: none; border: 0; color: var(--navy); padding: 8px; }
.burger .ico { width: 26px; height: 26px; }

@media (max-width: 1180px) {
  .search-trigger span, .search-trigger kbd { display: none; }
  .nav-link { padding-left: 8px; letter-spacing: 0; }
}
@media (max-width: 1040px) {
  .btn-cta span { display: none; }
  .btn-cta { padding: 12px; }
}
@media (max-width: 960px) {
  .burger { display: flex; }
  .header-bar { padding: 0 12px 0 18px; border-bottom-right-radius: 24px; }
  .brand svg { height: 38px; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 12px 20px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav { transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; font-size: 1.05rem; padding: 18px 4px; }
  .nav-toggle { padding: 14px; }
  .nav-toggle .ico { width: 20px; height: 20px; }
  .nav-sub { position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; width: 100%; min-width: 0; padding: 0 0 12px; display: none; }
  .nav-item:hover .nav-sub { display: none; }
  .nav-item.is-open .nav-sub { display: block; }
}

/* ==========================================================================
   Hero d'accueil
   ========================================================================== */
.hero { position: relative; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 90px) 0 110px; color: #fff; overflow: hidden; border-bottom-right-radius: var(--radius-xl); background: var(--navy-d); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 26, 64, .94) 0%, rgba(0, 40, 95, .82) 45%, rgba(2, 98, 168, .55) 75%, rgba(224, 1, 26, .45) 100%); }
.hero-inner { position: relative; }
.hero-title { font-size: clamp(3rem, 8.4vw, 7rem); color: #fff; margin: 0 0 22px; }
.hero-title span { display: block; }
.hero-title .outline { -webkit-text-stroke: 2px rgba(255, 255, 255, .92); }
.hero-lead { max-width: 560px; font-size: 1.15rem; color: rgba(255, 255, 255, .88); margin-bottom: 30px; }
.hero-search { display: flex; align-items: center; gap: 10px; max-width: 720px; background: #fff; border-radius: 16px; padding: 8px 8px 8px 20px; box-shadow: var(--shadow-lg); }
.hero-search .ico { color: var(--navy); width: 22px; height: 22px; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 1.05rem var(--body); color: var(--ink); padding: 12px 0; background: none; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; font-size: .85rem; color: rgba(255, 255, 255, .75); }
.hero-chips a { color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 5px 12px; transition: background .15s; }
.hero-chips a:hover { background: rgba(255, 255, 255, .15); color: #fff; }

/* ---------- hero des pages intérieures ---------- */
.page-hero { position: relative; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 56px) 0 64px; background: var(--grad); color: #fff; border-bottom-right-radius: var(--radius-xl); overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -120px; top: -60px; width: 480px; height: 480px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .05); pointer-events: none; }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 0 0 16px; position: relative; z-index: 1; }
.page-hero h1 em { color: #fff; -webkit-text-stroke: 0; font-style: italic; opacity: .92; }
.page-hero .lead { max-width: 680px; font-size: 1.1rem; color: rgba(255, 255, 255, .88); margin: 0; position: relative; z-index: 1; }
.page-hero .eyebrow { color: #fff; }
.breadcrumb { font-size: .82rem; margin-bottom: 20px; color: rgba(255, 255, 255, .7); position: relative; z-index: 1; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }
.inline-search { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; max-width: 640px; margin-top: 26px; background: #fff; border-radius: 14px; padding: 6px 6px 6px 16px; }
.inline-search .ico { color: var(--navy); }
.inline-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 1rem var(--body); padding: 10px 0; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 52px 0; }
.section-alt { background: var(--bg); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.section-head .eyebrow { width: 100%; margin-bottom: 6px; }
.section-head .more-link { margin: 0; }
.cat-title { font: 800 1.6rem/1.1 var(--display); text-transform: uppercase; color: var(--navy); margin: 48px 0 18px; }
.cat-title:first-child { margin-top: 0; }
.mini-h { font: 700 .78rem/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); margin: 28px 0 12px; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- tuiles démarches ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 52px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; min-height: 170px; }
.tile:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.tile strong { font-size: 1.02rem; line-height: 1.3; color: var(--navy); }
.tile-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-l); color: var(--navy); display: grid; place-items: center; flex: none; }
.tile-ico .ico { width: 24px; height: 24px; }
.tile-cat { font: 700 .7rem/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--red); margin-top: 6px; }
.tile-go { position: absolute; right: 18px; bottom: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--navy); transition: background .2s, color .2s; }
.tile-go .ico { width: 16px; height: 16px; }
.tile:hover .tile-go, .hub:hover .tile-go { background: var(--red); color: #fff; }

/* ---------- assistant guidé (inspiré du quiz FFC) ---------- */
.guide-section { padding: 0; }
.guide { background: var(--grad); color: #fff; border-radius: 32px 32px var(--radius-xl) 32px; padding: 64px 64px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.guide-num { font: 800 4rem/1 var(--display); margin: 0 0 8px; }
.guide-q { color: #fff; font: 700 clamp(1.8rem, 3vw, 2.4rem)/1.15 var(--body); margin: 0 0 12px; }
.guide-help { color: rgba(255, 255, 255, .75); }
.guide-progress { display: flex; gap: 8px; margin: 28px 0 18px; }
.guide-progress span { width: 56px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.guide-progress span.is-on { background: #fff; }
.guide-back { background: none; border: 0; color: rgba(255, 255, 255, .85); padding: 0; text-decoration: underline; }
.guide-right { display: flex; flex-direction: column; }
.guide-opt { display: flex; align-items: center; gap: 18px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); color: #fff; padding: 18px 6px; font-size: 1.05rem; font-weight: 500; text-decoration: none; transition: padding .2s, background .2s; border-radius: 0; }
.guide-opt:hover { padding-left: 16px; background: rgba(255, 255, 255, .06); color: #fff; }
.guide-letter { font: 800 1.3rem/1 var(--display); width: 22px; flex: none; opacity: .9; }

/* ---------- chiffres ---------- */
.stats-section { padding: 64px 0 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { padding: 18px 10px; }
.stat strong { display: block; font: 800 clamp(2.6rem, 5vw, 4rem)/1 var(--display); color: var(--navy); }
.stat span { font-size: .8rem; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 600; }
.stat + .stat { border-left: 1px solid var(--line); }

/* ---------- documents ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.doc:hover { border-color: #c5d2e3; box-shadow: var(--shadow); }
.doc-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-l); color: var(--navy); display: grid; place-items: center; flex: none; }
.doc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.doc-title { font-weight: 600; color: var(--navy); text-decoration: none; line-height: 1.35; overflow-wrap: anywhere; }
a.doc-title:hover { color: var(--red); text-decoration: underline; }
.doc-meta { font-size: .8rem; color: var(--muted); }
.doc-badge { font: 700 .68rem/1 var(--body); letter-spacing: 0; text-transform: none; padding: 6px 8px; border-radius: 6px; background: var(--bg); color: var(--navy); flex: none; }
.doc--missing { background: #fbfbfd; border-style: dashed; }
.doc--missing .doc-title { color: var(--muted); }
.doc--missing .doc-ico { background: #f0f2f6; color: #98a3b3; }
.doc-badge.is-missing, .tag-missing { background: #fff4e0; color: #8a5300; }
.tag-missing { font-size: .72rem; font-weight: 700; padding: 2px 6px; border-radius: 5px; }
.doc-tools { display: grid; grid-template-columns: 1fr auto auto auto; gap: 12px; align-items: end; margin-bottom: 18px; }
.field-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; transition: border-color .15s; }
.field-search:focus-within { border-color: var(--navy); }
.field-search .ico { color: var(--muted); }
.field-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 1rem var(--body); padding: 13px 0; background: none; }
.field-search.big { margin-bottom: 18px; }
.field-search.big input { padding: 16px 0; font-size: 1.05rem; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: none; letter-spacing: 0; }
.field select, .clubs-row select { font: 500 .95rem var(--body); color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 36px 12px 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300285a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; appearance: none; text-transform: none; letter-spacing: 0; }
.toggle { display: flex; align-items: center; gap: 8px; font-size: .9rem; padding: 12px 0; cursor: pointer; white-space: nowrap; }
.toggle input { width: 18px; height: 18px; accent-color: var(--navy); }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.fchip { border: 1.5px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 7px 14px; font-size: .85rem; font-weight: 600; transition: all .15s; }
.fchip:hover { border-color: var(--navy); }
.fchip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.fchip small { opacity: .7; margin-left: 2px; }
.doc-count { color: var(--muted); font-size: .9rem; display: flex; gap: 14px; align-items: center; }
.doc-count strong { color: var(--navy); }
.notice { display: flex; gap: 12px; align-items: flex-start; background: #fff9ee; border: 1px solid #f4e0b8; color: #6b4a0e; border-radius: 12px; padding: 12px 16px; font-size: .9rem; }
.notice .ico { color: #b87a0a; margin-top: 2px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: var(--navy); box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; color: var(--navy); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; color: var(--red); }
.faq[open] summary .ico { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: #2c3a4f; }
.faq-a .doc-list { margin-bottom: 12px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--navy); background: var(--blue-l); border: 0; border-radius: 999px; padding: 7px 12px; text-decoration: none; }
.chip-link .ico { width: 14px; height: 14px; }
.chip-link:hover { background: var(--navy); color: #fff; }
.faq-group + .faq-group { margin-top: 8px; }
.cta-box { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 56px; padding: 32px 36px; background: var(--grad); color: #fff; border-radius: 24px 24px 48px 24px; }
.cta-box h2 { color: #fff; margin: 0 0 6px; font-size: 1.5rem; }
.cta-box p { margin: 0; color: rgba(255, 255, 255, .85); }
.cta-box a:not(.btn) { color: #fff; }
.cta-box.soft { background: var(--bg); color: var(--ink); align-items: flex-start; }
.cta-box.soft h2 { color: var(--navy); }
.cta-box.soft p { color: var(--muted); }
.cta-box.soft a:not(.btn) { color: var(--blue); }
.soon { margin: 8px 0 0; padding-left: 18px; color: var(--muted); columns: 2; }

/* ---------- démarches ---------- */
.with-toc { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 8px; }
.toc-cat { font: 700 .72rem/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--red); margin: 18px 0 6px; }
.toc-cat:first-child { margin-top: 0; }
.toc a { font-size: .88rem; color: var(--ink); text-decoration: none; padding: 5px 10px; border-radius: 8px; border-left: 2px solid transparent; }
.toc a:hover { background: var(--bg); border-left-color: var(--red); }
.demarches { display: grid; gap: 28px; min-width: 0; }
.demarche { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; transition: box-shadow .3s, border-color .3s; }
.demarche > header { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.demarche h2 { font-size: 1.5rem; margin: 4px 0 6px; }
.demarche-sum { color: var(--muted); margin: 0; }
.demarche-body { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: flex; gap: 16px; position: relative; padding-bottom: 22px; }
.steps li:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 800 1.1rem/1 var(--display); flex: none; }
.steps h4 { margin: 6px 0 4px; font-size: 1rem; }
.steps p { margin: 0; color: #334155; font-size: .95rem; }
.is-target { animation: flash 2.4s ease; }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 4px rgba(224, 1, 26, .35); border-color: var(--red); } 100% { box-shadow: none; } }

/* ---------- carte contact ---------- */
.contact-card { background: var(--bg); border-radius: 18px; padding: 22px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-kicker { font: 700 .72rem/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--red); margin-bottom: 10px; }
.contact-who { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-topic { font-size: .85rem; color: var(--muted); }
.contact-lines { display: flex; flex-direction: column; gap: 6px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-lines .ico { width: 16px; height: 16px; color: var(--red); }
.contact-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }

/* ---------- vidéos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-grid.two { grid-template-columns: repeat(2, 1fr); }
.video-stack { display: grid; gap: 14px; }
.video-stack .video-card { display: grid; grid-template-columns: 180px 1fr; }
.video-stack .video-body h3 { font-size: 1rem; }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.yt, .video-card iframe { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s, transform .4s; }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.yt-play .ico { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.video-body { padding: 14px 16px 16px; }
.video-body h3 { font-size: 1.05rem; margin: 0 0 4px; }
.video-body p { font-size: .88rem; color: var(--muted); margin: 0 0 6px; }
.video-src { font-size: .72rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--red); }
.video-sec { margin-bottom: 24px; }

/* ---------- hub espace clubs ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hub { position: relative; display: block; padding: 28px 28px 60px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.hub:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--navy); color: var(--ink); }
.hub h2 { font: 800 1.6rem/1 var(--display); text-transform: uppercase; margin: 18px 0 8px; }
.hub p { color: var(--muted); margin: 0; }
.hub-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.hub-ico .ico { width: 26px; height: 26px; }
.hub .tile-go { right: 22px; bottom: 20px; }

/* ---------- contacts / personnes ---------- */
.contact-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-bottom: 36px; }
.contact-main { background: var(--grad); color: #fff; border-radius: 24px 24px 48px 24px; padding: 32px; }
.contact-main h2 { color: #fff; }
.contact-main p { color: rgba(255, 255, 255, .85); }
.contact-main .contact-lines a { color: #fff; font-size: 1.05rem; }
.contact-main .contact-lines .ico { color: #fff; }
.contact-lines.big { margin: 16px 0; }
.hours { font-size: .88rem; }
.contact-tip { background: var(--blue-l); border-radius: 24px; padding: 28px; }
.contact-tip strong { color: var(--navy); font-size: 1.1rem; }
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.route { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.route h3 { font-size: 1.02rem; margin-bottom: 6px; }
.route-who { font-size: .88rem; color: var(--muted); }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.person { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.person h3 { font-size: 1.05rem; margin: 2px 0 2px; }
.person p { font-size: .88rem; color: var(--muted); margin: 0 0 10px; }
.person-note { display: inline-block; font-size: .78rem; background: var(--bg); padding: 2px 8px; border-radius: 6px; margin-bottom: 8px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff; font: 800 1.2rem/1 var(--display); display: grid; place-items: center; flex: none; }

/* ---------- comités ---------- */
.comites { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.comite { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.dept-badge { width: 64px; height: 64px; border-radius: 18px; background: var(--grad); color: #fff; display: grid; place-items: center; font: 800 1.8rem/1 var(--display); flex: none; }
.comite h3 { font-size: 1.1rem; }
.comite .addr { display: flex; gap: 6px; font-size: .85rem; color: var(--muted); }
.comite .addr .ico { width: 16px; height: 16px; color: var(--red); margin-top: 3px; }

/* ---------- clubs ---------- */
.clubs-section { padding-top: 48px; }
.clubs-app { display: grid; grid-template-columns: 1.35fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); height: min(78vh, 760px); margin-bottom: 14px; }
.clubs-map { height: 100%; min-height: 360px; z-index: 0; }
.clubs-side { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--line); }
.clubs-tools { padding: 16px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.clubs-row { display: flex; gap: 8px; }
.clubs-row select { flex: 1; min-width: 0; }
.clubs-count { margin: 0; font-size: .85rem; color: var(--muted); }
.clubs-count strong { color: var(--navy); }
.club-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.club { display: flex; gap: 14px; padding: 16px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.club:hover { background: var(--bg); }
.club-ph { width: 56px; height: 56px; border-radius: 50%; flex: none; background: var(--blue-l); color: var(--navy); display: grid; place-items: center; font: 800 1.05rem/1 var(--display); letter-spacing: .02em; }
.club-ph.has-logo { border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line, #dde3ee); overflow: hidden; }
.club-ph.has-logo img { width: 86%; height: 86%; object-fit: contain; }
.map-tiles { filter: grayscale(.85) contrast(.95) brightness(1.04); }
.club h3 { font-size: .98rem; margin: 0 0 2px; }
.club-where { font-size: .82rem; color: var(--muted); margin: 0; }
.club-corr { font-size: .8rem; color: var(--muted); margin: 2px 0 0; }
.club-lines { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 0; font-size: .82rem; }
.club-lines a { overflow-wrap: anywhere; }
.pin span { display: block; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red); border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }
.leaflet-container { font-family: var(--body); }
.leaflet-popup-content-wrapper { border-radius: 12px; }

/* ---------- carte d'accueil ---------- */
.map-section { padding-top: 20px; }
.map-teaser { display: grid; grid-template-columns: .8fr 1.2fr; background: var(--navy-d); border-radius: 32px var(--radius-xl) 32px 32px; overflow: hidden; }
.map-teaser-text { padding: 56px 48px; color: rgba(255, 255, 255, .85); }
.map-teaser-text .h2 { margin-bottom: 18px; }
.map-teaser-text .outline { -webkit-text-stroke: 2px #fff; }
.map-teaser-map { min-height: 420px; z-index: 0; }

/* ---------- actualités & partenaires ---------- */
.news { display: block; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.news:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.news-tag { display: inline-block; font: 700 .7rem/1 var(--body); letter-spacing: 0; text-transform: none; background: var(--red); color: #fff; padding: 6px 8px; border-radius: 6px; margin-bottom: 14px; }
.news h3 { font-size: 1.2rem; }
.news p { color: var(--muted); margin: 0; font-size: .95rem; }
.news-img { display: block; width: calc(100% + 52px); margin: -26px -26px 18px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px 20px 0 0; }
.news-date { display: block; margin-top: 14px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.actu-img { width: 100%; border-radius: 16px; margin: 0 0 22px; }
.site-banner { background: var(--red, #e0011a); color: #fff; font-weight: 600; font-size: .95rem; padding: 10px 0; text-align: center; }
.site-banner a { color: #fff; text-decoration: underline; margin-left: 6px; }
.partners { padding: 56px 0 72px; border-top: 1px solid var(--line); }
.partner-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 36px; }
.partner-row li { height: 64px; display: flex; align-items: center; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.partner-row li:hover { filter: none; opacity: 1; }
.partner-row img { max-height: 64px; width: auto; }
.partner-word { font: 800 1.35rem/1 var(--display); letter-spacing: .06em; color: var(--navy); white-space: nowrap; }

/* ---------- contenu éditorial ---------- */
.prose { max-width: 820px; }
.prose h2 { font: 800 clamp(1.8rem, 3vw, 2.4rem)/1 var(--display); text-transform: uppercase; margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.content-grid > * { min-width: 0; }
.prose .btn { white-space: normal; text-align: left; line-height: 1.2; }
.aside-stack { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-nav { background: var(--bg); border-radius: 18px; padding: 20px; }
.aside-nav p { font: 700 .72rem/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--red); margin-bottom: 10px; }
.aside-nav a { display: block; padding: 6px 0; font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--navy); }
.aside-nav a:hover { color: var(--red); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 20px 0 28px; }
.fact { background: var(--bg); border-radius: 16px; padding: 18px; }
.fact strong { display: block; font: 800 1.9rem/1 var(--display); color: var(--navy); }
.fact span { font-size: .85rem; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 18px 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card h3 { font-size: 1.05rem; margin: 0 0 6px; }
.card p { font-size: .92rem; color: #334155; margin: 0 0 8px; }
.card p:last-child { margin-bottom: 0; }
.quote { border-left: 4px solid var(--red); background: var(--bg); border-radius: 0 16px 16px 0; padding: 20px 24px; color: #334155; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .75rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.podium { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.podium .card ol { margin: 0; padding-left: 20px; font-size: .9rem; }
.photo { border-radius: 20px 20px 48px 20px; overflow: hidden; margin: 20px 0; }
.photo img { width: 100%; height: 320px; object-fit: cover; }

/* ==========================================================================
   Overlay de recherche
   ========================================================================== */
.search-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(0, 26, 64, .55); backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: 8vh 16px 16px; }
body.search-open { overflow: hidden; }
.search-panel { width: 100%; max-width: 760px; max-height: 84vh; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; }
.search-box { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-box .ico { color: var(--navy); width: 22px; height: 22px; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 1.15rem var(--body); color: var(--ink); background: none; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-close { border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: 5px 10px; font-size: .75rem; color: var(--muted); }
.search-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px; }
.search-filters:not(:empty) { padding-top: 12px; }
.search-filters .fchip { padding: 5px 11px; font-size: .8rem; }
.search-results { overflow-y: auto; padding: 10px 10px 14px; flex: 1; }
.search-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 18px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.search-foot a { font-weight: 600; }
.res { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.res:hover, .res.is-active { background: var(--bg); color: var(--ink); }
.res-type { flex: none; width: 82px; font: 700 .66rem/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--navy); background: var(--blue-l); border-radius: 6px; padding: 6px 0; text-align: center; margin-top: 2px; }
.res--faq .res-type { background: #fde8e8; color: var(--red-d); }
.res--demarche .res-type { background: var(--navy); color: #fff; }
.res--video .res-type { background: #111; color: #fff; }
.res--club .res-type { background: #eef7ee; color: #1f6b2a; }
.res-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.res-main strong { color: var(--navy); font-weight: 600; line-height: 1.35; }
.res-x { font-size: .86rem; color: #475569; line-height: 1.45; }
.res-meta { font-size: .76rem; color: var(--muted); }
.res-thumb { width: 96px; border-radius: 8px; flex: none; }
.res-more { display: block; text-align: center; padding: 12px; font-weight: 700; color: var(--red); text-decoration: none; }
.best { background: linear-gradient(135deg, #fff5f5, #eef4fc); border: 1px solid #f1d5d5; border-radius: 14px; padding: 18px 20px; margin: 4px 2px 12px; }
.best-k { font: 700 .7rem/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--red); margin-bottom: 8px; }
.best h3 { font-size: 1.1rem; margin: 0 0 6px; }
.best p { font-size: .92rem; color: #334155; margin: 0 0 8px; }
.best a { font-weight: 700; font-size: .9rem; }
.no-res { text-align: center; padding: 30px 16px; }
.sug-h { font: 700 .7rem/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); margin: 14px 8px 10px; }
.search-results .chip-row { padding: 0 8px; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 8px; }
.quick a { font-size: .88rem; font-weight: 600; text-decoration: none; padding: 10px 12px; border-radius: 10px; background: var(--bg); color: var(--navy); }
.quick a:hover { background: var(--navy); color: #fff; }
.page-results .res { border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 8px; }
.page-results .quick, .page-results .chip-row { padding: 0; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { background: var(--navy-d); color: rgba(255, 255, 255, .75); padding: 72px 0 24px; border-top-left-radius: var(--radius-xl); margin-top: 40px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { background: #fff; border-radius: 14px; padding: 12px 16px; display: inline-block; margin-bottom: 18px; }
.footer-logo svg { height: 42px; width: auto; display: block; }
.footer-h { font: 700 .75rem/1 var(--body); letter-spacing: 0; text-transform: none; color: #fff; margin: 8px 0 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.socials { display: flex; gap: 14px; flex-wrap: wrap; }
.socials a { border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 5px 12px; font-size: .82rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 20px; font-size: .8rem; color: rgba(255, 255, 255, .55); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom .intranet { color: rgba(255, 255, 255, .4); text-decoration: none; font-size: .75rem; }
.footer-bottom .intranet:hover { color: #fff; text-decoration: underline; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .routes, .people { grid-template-columns: repeat(2, 1fr); }
  .demarche-body { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .with-toc { grid-template-columns: 1fr; }
  .toc { display: none; }
  .content-grid { grid-template-columns: 1fr; }
  .aside-stack { position: static; }
}
@media (max-width: 900px) {
  :root { --radius-xl: 48px; }
  .section { padding: 38px 0; }
  .two-col, .guide, .map-teaser, .contact-top { grid-template-columns: 1fr; }
  .guide { padding: 40px 28px; gap: 16px; }
  .cards-3, .hub-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .doc-tools { grid-template-columns: 1fr 1fr; }
  .doc-tools .field-search { grid-column: 1 / -1; }
  .clubs-app { grid-template-columns: 1fr; height: auto; }
  .clubs-map { height: 52vh; }
  .clubs-side { border-left: 0; border-top: 1px solid var(--line); }
  .club-list { max-height: 70vh; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .comites { grid-template-columns: 1fr; }
  .map-teaser-text { padding: 40px 28px; }
  .map-teaser-map { min-height: 320px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: calc(var(--header-h) + 48px) 0 72px; }
  .hero-search { flex-wrap: wrap; padding: 8px 8px 8px 14px; }
  .hero-search .btn { width: 100%; justify-content: center; }
  .hero-chips > span { width: 100%; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 16px 16px 48px; min-height: 150px; }
  .tile strong { font-size: .92rem; }
  .cards-3, .hub-grid, .video-grid, .video-grid.two, .routes, .people { grid-template-columns: 1fr; }
  .video-stack .video-card { grid-template-columns: 130px 1fr; }
  .video-stack .video-body p { display: none; }
  .demarche { padding: 22px 18px; }
  .demarche > header { flex-direction: column; gap: 10px; }
  .doc { flex-wrap: wrap; }
  .doc-badge { margin-left: 52px; }
  .doc-tools { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .soon { columns: 1; }
  .quick { grid-template-columns: 1fr 1fr; }
  .res-type { width: 70px; }
  .res-thumb { display: none; }
  .search-overlay { padding: 0; }
  .search-panel { max-height: 100vh; height: 100%; border-radius: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .comite { flex-direction: column; }
  .stat + .stat { border-left: 0; }
  .partner-row { justify-content: center; }
}
/* ---------- Résultats Pré-Nationale / Régionale 1 ---------- */
.mres-section { background: var(--bg); }
.mres { min-width: 0; }
.mres-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 2px solid var(--line); margin-bottom: 14px; scrollbar-width: none; }
.mres-tabs::-webkit-scrollbar { display: none; }
.mres-tab { flex: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 10px 14px; font: 800 1rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.mres-tab:hover { color: var(--navy); }
.mres-tab.is-on { color: var(--navy); border-bottom-color: var(--red); }
.mres-zones { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; min-height: 36px; }
.mres-zones .fchip { cursor: pointer; }
.mres-msg { color: var(--muted); margin: 8px 0; }
.mres-src { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

.mres-affiche { position: relative; overflow: hidden; background: var(--grad); color: #fff; border-radius: var(--radius) var(--radius) var(--radius) 48px; padding: 22px 24px 20px; margin-bottom: 22px; box-shadow: var(--shadow); }
.mres-affiche::after { content: ''; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 2px solid rgba(255,255,255,.12); pointer-events: none; }
.mres-kicker { margin: 0 0 14px; font: 700 .78rem/1 var(--body); letter-spacing: 0; text-transform: none; color: #ffd2d2; }
.mres-duel { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.mres-team { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; min-width: 0; }
.mres-team strong { font: 800 1.25rem/1.05 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.mres-team > span:last-child { font-size: .85rem; background: rgba(255,255,255,.14); border-radius: 999px; padding: 3px 10px; }
.mres-vs { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.mres-vs b { font: italic 800 2.4rem/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px #fff; }
.mres-vs span { font-size: .85rem; font-weight: 600; white-space: nowrap; }
.mres-cd { position: relative; z-index: 1; margin: 18px auto 0; text-align: center; }
.mres-cd-t { margin: 0 0 8px; font: 700 .72rem/1 var(--body); letter-spacing: 0; text-transform: none; color: #ffd2d2; }
.mres-cd-u { display: inline-flex; gap: 8px; }
.mres-cd-u span { min-width: 64px; padding: 8px 6px 6px; border-radius: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mres-cd-u b { font: 800 1.7rem/1 var(--display); font-variant-numeric: tabular-nums; }
.mres-cd-u small { font-size: .68rem; text-transform: none; letter-spacing: 0; opacity: .8; }
.mres-cd-live { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #e0011a; font-weight: 700; font-size: .9rem; }
.mres-cd-live i { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: mresPulse 1.2s ease-in-out infinite; }
@keyframes mresPulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .mres-cd-live i { animation: none; } }
.mres-salle { margin: 14px 0 0; text-align: center; font-size: .82rem; opacity: .85; }

.mres-logo { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-l); color: var(--navy); font: 800 .62rem/1 var(--body); letter-spacing: .02em; overflow: hidden; }
.mres-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.mres-logo.is-big { width: 64px; height: 64px; font-size: 1.1rem; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.18); }

.mres-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mres-cols h3 { font: 800 1.1rem/1 var(--display); text-transform: uppercase; color: var(--navy); margin: 0 0 6px; }
.mres-sub { font-size: .8rem; color: var(--muted); margin: 0 0 6px; }
.mres-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.mres-list li { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mres-list li:last-child { border-bottom: 0; }
.mres-list small { display: block; text-align: center; color: var(--muted); font-size: .74rem; margin-top: 4px; }
.mres-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.mres-n { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: .8rem; font-weight: 600; color: var(--muted); }
.mres-n > span:not(.mres-logo) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.25; }
.mres-n.is-right { justify-content: flex-end; text-align: right; }
.mres-n.is-win { color: var(--ink); font-weight: 800; }
.mres-score { font: 800 1.15rem/1 var(--display); color: var(--navy); background: var(--blue-l); border-radius: 8px; padding: 5px 9px; white-space: nowrap; }
.mres-score i { font-style: normal; opacity: .4; margin: 0 2px; }
.mres-score.is-next { font-size: .8rem; color: var(--muted); background: none; text-transform: none; }

.mres-classement { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; }
.mres-classement summary { cursor: pointer; padding: 13px 0; font-weight: 700; color: var(--navy); }
.mres-classement[open] summary { border-bottom: 1px solid var(--line); }
.mres-classement .mres-src { margin: 10px 0 14px; }
.mres-classement.is-open > h3, .mres-classement.is-open > h4 { margin: 0; padding: 13px 0; font-family: Montserrat, sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); text-transform: none; border-bottom: 1px solid var(--line); }
/* démarches : introduction et blocs (dispositifs distincts) */
.demarche-intro { margin-bottom: 18px; }
.demarche-intro ul { margin: 0 0 6px; padding-left: 20px; }
.demarche-intro li { margin-bottom: 8px; }
.demarche-bloc { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 8px; margin: 0 0 20px; background: #fff; }
.demarche-bloc > h3 { margin: 0 0 2px; color: var(--navy); }
.demarche-bloc-sous { margin: 0 0 12px; color: var(--red); font-weight: 800; }
.demarche-bloc ul { padding-left: 20px; }
.demarche-bloc .mini-h { margin-top: 16px; }
.demarche-body ol.steps:empty { display: none; }
.mres-table-wrap { overflow-x: auto; }
.mres-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.mres-table th { text-align: left; font-size: .72rem; text-transform: none; letter-spacing: 0; color: var(--muted); padding: 8px 6px; }
.mres-table td { padding: 7px 6px; border-top: 1px solid var(--line); }
.mres-table tr.is-hot td { background: #fdf1f1; }
.mres-table tr.is-hot td:first-child { box-shadow: inset 3px 0 0 var(--red); }
.mres-eq { display: flex; align-items: center; gap: 8px; font-weight: 600; }

@media (max-width: 760px) {
  .mres-cols { grid-template-columns: 1fr; }
  .mres-affiche { padding: 18px 14px; border-radius: var(--radius) var(--radius) var(--radius) 32px; }
  .mres-team strong { font-size: 1rem; }
  .mres-logo.is-big { width: 52px; height: 52px; }
  .mres-vs b { font-size: 1.8rem; }
  .mres-vs span { white-space: normal; font-size: .78rem; }
  .mres-cd-u { gap: 5px; }
  .mres-cd-u span { min-width: 54px; padding: 6px 4px 5px; }
  .mres-cd-u b { font-size: 1.35rem; }
  .mres-table .hide-s { display: none; }
}

/* ---------- Charte 2026 : boutons, étiquettes, univers des pratiques ---------- */
.btn { border-radius: 999px; font-weight: 800; font-size: .9rem; letter-spacing: 0; }
.btn-red { box-shadow: 0 8px 22px rgba(224, 1, 26, .32); }
.nav-link { font-weight: 700; font-size: .84rem; white-space: nowrap; padding-left: 9px; padding-right: 3px; }
@media (max-width: 1240px) { .nav-link { font-size: .76rem; padding-left: 5px; padding-right: 1px; } .nav-toggle { width: 22px; } .brand svg { max-width: 140px; } }
/* étiquettes : Montserrat Black, pastille en dégradé bleu → marine */
.news-tag { font: 900 .78rem/1 var(--body); letter-spacing: 0; background: var(--grad-label); border-radius: 999px; padding: 7px 14px; box-shadow: 0 4px 12px rgba(0, 40, 95, .18); }
.doc-badge { font-weight: 800; border-radius: 999px; padding: 6px 10px; }
.label { display: inline-flex; align-items: center; gap: 8px; font: 900 .82rem/1 var(--body); color: #fff; padding: 8px 16px; border-radius: 999px; background: var(--grad-label); box-shadow: 0 4px 12px rgba(0, 40, 95, .18); }
.label-seniors { background: linear-gradient(90deg, #e0011a, #00285f); }
.label-beach { background: linear-gradient(90deg, #244cb2, #f7aa12); }
.label-beach-jeunes { background: linear-gradient(90deg, #74c2c7, #f7aa12); }
.label-sante { background: var(--sante); }
.label-outdoor { background: linear-gradient(90deg, #00515b, #f7aa12); }
.label-perf { background: var(--region); }
/* accentuations : Montserrat ExtraBold */
.tile-cat, .toc-cat, .contact-kicker, .aside-nav p, .best-k, .video-src, .mini-h, .sug-h, .footer-h, .stat span { font-weight: 800; }
.tile-cat, .toc-cat, .contact-kicker, .aside-nav p, .best-k { color: var(--blue); }
/* championnats seniors : dégradé marine → rouge (palette « séniors ») */
.mres-affiche { background: var(--grad-seniors); }
/* bandeau des pages selon l'univers de pratique */
body[data-page="beachtour"] .page-hero, body[data-page="beach-volley"] .page-hero { background: var(--grad-beach); }
body[data-page="haut-niveau"] .page-hero { background: var(--grad-perf); }
.page-hero .eyebrow, .eyebrow-light { color: #fff; opacity: .9; }

.prose .compet-logos, .compet-logos { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.prose .compet-logos li, .compet-logos li { margin: 0; padding: 16px; height: 140px; background: #fff; border-radius: 16px; box-shadow: 0 6px 20px rgba(0, 40, 95, .08), 0 0 0 1px var(--line); display: grid; place-items: center; }
.prose .compet-logos li::before, .compet-logos li::before { content: none; }
.compet-logos img { display: block; max-width: 100%; max-height: 108px; width: auto; height: auto; object-fit: contain; }
.prose .compet-logos:has(li:only-child) { grid-template-columns: minmax(0, 340px); }
.prose .compet-logos li:only-child { height: 200px; }
.prose .compet-logos li:only-child img { max-height: 168px; }

.mres-nat-open { margin: 14px 0 0; }
.mres-nat { margin-top: 18px; }
.mres-nat-title { font: 400 1.5rem/1.1 var(--display); text-transform: uppercase; color: var(--navy); margin: 0 0 6px; }
.mres-nat-lead { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.mres-tab[hidden] { display: none; }
.mres-nat .mres-tabs { flex-wrap: wrap; overflow: visible; }
.mres-zones:empty { display: none; }

/* En-tête avec photo : monochrome teinté par le dégradé de la charte (bleu = jeunes, rouge = seniors / performance) */
.page-hero.has-photo { min-height: 380px; }
body .page-hero.tone-bleu { background: var(--grad); }
body .page-hero.tone-rouge { background: var(--grad-seniors); }
/* Photo sur la partie droite seulement, fondue dans le dégradé côté texte */
.page-hero .hero-photo, .hero .hero-photo { position: absolute; top: var(--header-h); bottom: 0; right: 0; width: 56%; background-size: cover; background-repeat: no-repeat; filter: grayscale(1) contrast(1.15) brightness(1.1); mix-blend-mode: luminosity; opacity: .7; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 48%); }
.page-hero.has-photo .wrap { position: relative; z-index: 1; }
.hero.tone-bleu { background: linear-gradient(110deg, #001a40 0%, #00285f 38%, #0262a8 78%, #0280c4 100%); }
.hero.tone-rouge { background: linear-gradient(110deg, #001a40 0%, #00285f 38%, #6b1240 75%, #e0011a 105%); }
.hero .hero-photo { width: 52%; transition: opacity .6s ease; }
.hero .hero-photo.is-fading { opacity: 0; }
.hero.tone-bleu, .hero.tone-rouge { transition: background .6s; }
@media (max-width: 760px) {
  .page-hero.has-photo { min-height: 0; }
  .page-hero .hero-photo, .hero .hero-photo { width: 78%; opacity: .55; }
  .page-hero.has-photo h1, .page-hero.has-photo .lead { text-shadow: 0 2px 12px rgba(0, 20, 50, .45); }
}

/* Galerie de photos en couleur */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 18px 0 26px; }
.photo-grid figure { margin: 0; }
.photo-grid a { display: block; border-radius: 18px 18px 32px 18px; overflow: hidden; box-shadow: 0 10px 28px rgba(0, 40, 95, .14); }
.photo-grid img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .35s ease; }
.photo-grid a:hover img { transform: scale(1.04); }
.photo-grid figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; }

/* Les résultats de mon club */
.mclub { margin: 6px 0 34px; padding: 22px 22px 8px; border-radius: 24px 24px 40px 24px; background: linear-gradient(135deg, #eef4fb 0%, #fff 70%); box-shadow: 0 0 0 1px var(--line); }
.mclub-label { display: flex; align-items: center; gap: 8px; font: 400 1.35rem/1.1 var(--display); text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.mclub-label .i { width: 22px; height: 22px; color: var(--blue); }
.mclub-input { width: 100%; font: 500 1.05rem var(--body); color: var(--ink); padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 40, 95, .06)); }
.mclub-input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(2, 128, 196, .15); }
.mclub-hint { font-size: .82rem; color: var(--muted); margin: 8px 0 14px; }
.mclub-count { font-size: .9rem; color: var(--muted); margin: 0 0 12px; }
.mclub-team { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(0, 40, 95, .06); padding: 16px 18px 6px; margin-bottom: 16px; }
.mclub-team header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mclub-team header .mres-logo { width: 46px; height: 46px; font-size: .8rem; }
.mclub-team header > div { flex: 1; min-width: 0; }
.mclub-team h3 { margin: 0; font: 800 1rem/1.25 var(--body); color: var(--navy); text-transform: none; }
.mclub-team header p { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }
.mclub-rang { flex: none; text-align: right; font-size: .78rem; color: var(--muted); line-height: 1.2; }
.mclub-rang b { display: block; font: 400 1.6rem/1 var(--display); color: var(--red); }
.mclub-team h4 { font: 400 1rem/1 var(--display); text-transform: uppercase; color: var(--navy); margin: 0 0 6px; }
.mres-n.is-mine { color: var(--navy); }
.mclub-team .mres-list li.is-won .mres-score { background: #e3f4ea; color: #12723a; }
.mclub-team .mres-list li.is-lost .mres-score { background: #fde8ea; color: #b0011a; }
@media (max-width: 640px) { .mclub { padding: 16px 14px 4px; } .mclub-team .mres-cols { grid-template-columns: 1fr; } }

/* ===== Refonte 17/11/2026 : accueil (maquette « Homepage Site ») et pages d'introduction ===== */
/* Slider des actualités */
.home-slider { padding: 0; min-height: clamp(460px, 62vh, 620px); display: grid; }
.home-slider .slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 110px; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.home-slider .slide.is-on { opacity: 1; visibility: visible; }
.home-slider .slide-bg { position: absolute; top: var(--header-h); bottom: 0; right: 0; width: 56%; background-size: cover; background-repeat: no-repeat; filter: grayscale(1) contrast(1.15) brightness(1.1); mix-blend-mode: luminosity; opacity: .7;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 48%); }
.home-slider .slide.has-img .slide-bg { filter: none; mix-blend-mode: normal; opacity: .9; }
.home-slider .slide-inner { position: relative; z-index: 1; width: 100%; }
.home-slider .news-tag { margin-bottom: 14px; }
.slide-title { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: .98; max-width: 760px; margin: 0 0 16px; }
.slide-lead { max-width: 560px; font-size: 1.1rem; color: rgba(255,255,255,.9); margin: 0 0 26px; }
.slider-nav { position: absolute; z-index: 2; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; align-items: center; gap: 14px; }
.slider-dots { display: flex; gap: 8px; }
.slider-dot { width: 11px; height: 11px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; }
.slider-dot.is-on { width: 30px; background: #fff; }
.slider-prev, .slider-next { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: rgba(0,26,64,.25); color: #fff; display: grid; place-items: center; cursor: pointer; }
.slider-prev .ico { transform: rotate(180deg); }
.slider-prev:hover, .slider-next:hover { background: rgba(255,255,255,.15); }
/* Bandeau de recherche */
.search-band { background: linear-gradient(90deg, #00285f 0%, #0262a8 100%); padding: 26px 0 22px; }
.search-band .hero-search { max-width: 820px; margin: 0 auto; }
.search-band .hero-chips { justify-content: center; }
/* Accès en un clic */
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.quick { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 12px 22px; border-radius: 22px 22px 34px 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgba(0,40,95,.07); text-decoration: none; color: var(--navy); transition: transform .2s, box-shadow .2s; }
.quick:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--blue), 0 16px 34px rgba(0,40,95,.14); color: var(--navy); }
.quick-ico { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.quick-ico .ico { width: 28px; height: 28px; }
.quick:nth-child(2) .quick-ico, .quick:nth-child(4) .quick-ico { background: var(--grad-seniors); }
.quick-l { font: 400 1.25rem/1.05 var(--display); text-transform: uppercase; text-align: center; }
/* Instagram */
.insta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.insta-grid .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
.insta-cta { display: flex; align-items: center; gap: 20px; padding: 26px 28px; border-radius: 24px 24px 40px 24px; text-decoration: none; color: #fff; background: linear-gradient(110deg, #00285f 0%, #6b1240 60%, #e0011a 110%); }
.insta-cta:hover { color: #fff; }
.insta-cta > span:nth-child(2) { flex: 1; font-size: 1rem; color: rgba(255,255,255,.9); }
.insta-cta strong { display: block; font: 400 1.6rem/1.1 var(--display); text-transform: uppercase; color: #fff; }
.insta-ico { flex: none; width: 58px; height: 58px; border-radius: 16px; border: 3px solid #fff; position: relative; }
.insta-ico::before { content: ''; position: absolute; inset: 12px; border: 3px solid #fff; border-radius: 50%; }
.insta-ico::after { content: ''; position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
/* Pages d'introduction et sous-pages */
.hub-more { display: flex; flex-wrap: wrap; gap: 10px; }
.hub-more a { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; color: var(--navy); background: #fff; }
.hub-more a:hover { border-color: var(--blue); }
.hub-section { margin-top: 40px; }
.aside-nav a.is-on { color: var(--red); }
.aside-nav a.is-on::before { content: '› '; }
.page-wip { padding: 20px 22px; border-radius: 18px; background: #fff7e6; box-shadow: 0 0 0 1px #f7d48a; margin: 0 0 24px; }
.page-wip p { margin: 10px 0 0; }
.label-wip { background: linear-gradient(90deg, #f7aa12, #e0011a); }
.mini-map-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgba(0,40,95,.08); margin: 14px 0 26px; }
.mini-map { height: 280px; background: #e9eef5; }
.mini-map-txt { padding: 24px; background: var(--grad); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.mini-map-txt p { margin: 0; color: rgba(255,255,255,.9); }
.mini-map-txt .btn { align-self: flex-start; }
.sections-map { height: 380px; border-radius: 22px; margin: 14px 0 22px; }
.clubs-note { font-size: .82rem; color: #8a5a00; background: #fff7e6; border-radius: 10px; padding: 8px 10px; margin: 6px 0 0; }
#club-prat { min-width: 0; }
/* Agenda */
.agenda-filtres { margin-bottom: 18px; }
.agenda-list { display: grid; gap: 12px; margin-bottom: 26px; }
.agenda-ev { display: flex; gap: 18px; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.agenda-ev h3 { margin: 2px 0 4px; font: 800 1.05rem/1.25 var(--body); color: var(--navy); }
.agenda-ev p { margin: 0 0 4px; }
.agenda-date { flex: none; width: 64px; height: 70px; border-radius: 14px; background: var(--grad-seniors); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.agenda-date b { font: 400 1.9rem/1 var(--display); }
.agenda-date span { font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.agenda-cat { font-size: .74rem; font-weight: 800; color: var(--blue); }
/* Résultats : beaucoup de divisions, les onglets passent à la ligne */
.mres-tabs { flex-wrap: wrap; overflow: visible; }
@media (max-width: 1000px) { .quick-grid { grid-template-columns: repeat(3, 1fr); } .insta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mini-map-box { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); } .quick:last-child { grid-column: 1 / -1; }
  .home-slider .slide { padding: calc(var(--header-h) + 36px) 0 90px; } .home-slider .slide-bg { width: 80%; opacity: .5; }
  .insta-cta { flex-direction: column; align-items: flex-start; } .insta-grid { grid-template-columns: 1fr; }
}

/* Page d'erreur 404 */
.err-code { display: block; font-size: clamp(5rem, 16vw, 11rem); line-height: .85; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .9); letter-spacing: .02em; margin-bottom: 6px; }
.err-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .err-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .err-grid { grid-template-columns: 1fr; } }

@media print {
  .site-header, .site-footer, .search-overlay, .toc, .hero-search { display: none !important; }
  .page-hero, .hero { background: none !important; color: var(--ink); margin: 0; padding: 20px 0; }
  .page-hero h1 { color: var(--navy); }
}

/* Beach Tour : classement par saison et par catégorie, barème */
.bt { margin: 8px 0 28px; }
.bt-saisons { margin-bottom: 14px; }
.bt-cats { margin: 4px 0 6px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-vide { background: var(--sky, #eef4fb); border-radius: 16px; padding: 18px 20px; }
.bt-vide p { margin: 0; }
.bt-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; }
.bt-table th { background: var(--navy); color: #fff; font-weight: 700; padding: 9px 10px; text-align: center; white-space: nowrap; }
.bt-table th small { display: block; font-weight: 500; opacity: .85; font-size: .75rem; }
.bt-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.bt-table td.bt-nom { text-align: left; font-weight: 600; }
.bt-table td.bt-total { font-weight: 800; color: var(--navy); }
.bt-table td.bt-rang { font-weight: 800; }
.bt-r1 td { background: #fff3c4; } .bt-r2 td { background: #eef1f6; } .bt-r3 td { background: #fbe3d3; }
.bt-bareme { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin: 10px 0 26px; }
.bt-bareme h3 { margin-top: 0; }
.bt-table-bareme td:first-child { text-align: left; }
.bt-calc { background: var(--sky, #eef4fb); border-radius: 14px; padding: 14px 16px; margin-top: 12px; }
.bt-calc label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.bt-calc input { width: 120px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.bt-calc-res { margin: 8px 0 0; min-height: 1.3em; color: var(--red); }
@media (max-width: 760px) { .bt-bareme { grid-template-columns: 1fr; } }
.bt-etapes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 14px; }
.bt-etapes li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: .9rem; }
.bt-etape-n { font-weight: 800; color: var(--red); margin-right: 6px; }

/* Coupes de France */
.cdf-filtres { margin: 6px 0 18px; }
.cdf-h { margin: 8px 0 12px; }
.cdf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 22px; }
.cdf-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: 0 8px 22px rgba(0,30,80,.06); position: relative; overflow: hidden; }
.cdf-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--blue) 55%, var(--red)); }
.cdf-card header { margin-bottom: 8px; }
.cdf-comp { margin: 0; font-size: .78rem; font-weight: 800; color: var(--red); text-transform: none; }
.cdf-card h3 { margin: 2px 0 6px; font-size: 1.15rem; }
.cdf-etat { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef1f6; color: var(--navy); }
.cdf-etat.is-soon { background: var(--navy); color: #fff; }
.cdf-cl { width: 100%; border-collapse: collapse; font-size: .85rem; margin: 6px 0 10px; }
.cdf-cl td { padding: 4px 6px; border-bottom: 1px solid var(--line); }
.cdf-cl td:first-child { width: 22px; font-weight: 800; color: var(--muted); }
.cdf-cl td:last-child { text-align: right; white-space: nowrap; }
.cdf-cl tr.is-na td { background: #eaf3fc; font-weight: 700; color: var(--navy); }
.cdf-matchs { list-style: none; padding: 0; margin: 0; }
.cdf-matchs li { padding: 7px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.cdf-date { display: block; font-size: .75rem; color: var(--muted); font-weight: 600; }
.cdf-match strong.cdf-na { color: var(--navy); }
.cdf-score { display: inline-block; margin: 0 4px; padding: 1px 8px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 800; font-size: .8rem; }
.cdf-vs { display: inline-block; margin: 0 4px; color: var(--muted); font-size: .78rem; }
.cdf-matchs small { display: block; color: var(--muted); font-size: .75rem; }
.cdf-plus { text-align: center; }
/* Coupes de France : couleur de la catégorie (logos officiels M11 → M21) */
.cdf-card { --cdf: var(--navy); }
.cdf-card::before { background: var(--cdf); }
.cdf-card:not(.cdf-jeunes)::before { background: linear-gradient(90deg, var(--navy), var(--blue) 55%, var(--red)); }
.cdf-card header { display: flex; gap: 12px; align-items: flex-start; }
.cdf-logo { width: 46px; height: auto; flex: none; }
.cdf-jeunes .cdf-comp { color: var(--cdf); }
.cdf-etat.is-soon { background: var(--cdf); }
.cdf-jeunes .cdf-cl tr.is-na td { background: color-mix(in srgb, var(--cdf) 12%, #fff); color: var(--ink); }
.cdf-jeunes .cdf-score { background: var(--cdf); }
.cdf-chip { --cdf: var(--navy); }
.cdf-chip[style] { border-color: color-mix(in srgb, var(--cdf) 45%, #fff); color: var(--cdf); }
.cdf-chip[style].is-on { background: var(--cdf); border-color: var(--cdf); color: #fff; }
.cdf-logos { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin: 6px 0 18px; }
.cdf-logos img { height: 92px; width: auto; }
/* Coupes de France : filtres par catégorie, filles / garçons */
.cdf-filtres { display: grid; gap: 8px; }
.cdf-frow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; --cdf: var(--navy); }
.cdf-flab { min-width: 64px; font: 800 .78rem Montserrat, sans-serif; color: #fff; background: var(--cdf); border-radius: 999px; padding: 5px 10px; text-align: center; }
.cdf-chip.is-fem { background: color-mix(in srgb, var(--cdf) 14%, #fff); border-color: color-mix(in srgb, var(--cdf) 35%, #fff); color: var(--cdf); }
.cdf-chip.is-masc { background: #fff; border: 1.5px solid var(--cdf); color: var(--cdf); }
.cdf-chip.is-on { background: var(--cdf); border-color: var(--cdf); color: #fff; }
.cdf-sexe { display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 50%; font-size: .72rem; margin-right: 5px; vertical-align: 1px; }
.cdf-sexe.is-f { background: color-mix(in srgb, var(--cdf) 18%, #fff); color: var(--cdf); }
.cdf-sexe.is-m { background: var(--cdf); color: #fff; }
/* Coupes de France : équipe éliminée (3e d'une poule terminée) */
.cdf-cl tr.is-out td, .cdf-jeunes .cdf-cl tr.is-out td { background: #fdecee; color: #9a1b2b; }
.cdf-cl tr.is-out td:first-child { color: #c31632; }
.cdf-elim { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #c31632; color: #fff; font-size: .68rem; font-weight: 800; vertical-align: 1px; }
/* Coupes de France : équipes de la Ligue encore en lice */
.cdf-lice { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 24px; }
.cdf-lice-row { --cdf: var(--navy); background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--cdf); border-radius: 14px; padding: 10px 14px; }
.cdf-lice-row .cdf-comp { margin: 0 0 6px; color: var(--cdf); }
.cdf-lice-tour { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--cdf); color: #fff; font-size: .7rem; }
.cdf-lice-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cdf-lice-row li { font-size: .8rem; font-weight: 600; color: var(--ink); background: color-mix(in srgb, var(--cdf) 10%, #fff); border-radius: 8px; padding: 3px 8px; }
.cdf-lice-row ul { flex-direction: column; gap: 6px; }
.cdf-lice-row li { display: flex; align-items: center; gap: 8px; background: none; padding: 0; font-size: .82rem; }
.cdf-clogo { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; font: 800 .62rem Montserrat, sans-serif; color: var(--cdf, var(--navy)); }
.cdf-clogo img { width: 100%; height: 100%; object-fit: contain; }

/* logos clairs détectés à la génération : fond marine */
img[src$="/logos/club-j-s-a-bordeaux.png"],img[src$="/logos/club-talence-volley-ball.png"]{background:#00285f;border-radius:inherit;padding:2px}
