/* ==========================================================
   Tennis Club de Langueux — charte graphique
   Bleu marine + vert « balle de tennis », fond clair
   ========================================================== */
:root {
    --navy: #0b2a4f;
    --navy-900: #071c38;
    --navy-700: #163d6b;
    --lime: #cdf044;
    --lime-600: #b5d92b;
    --green: #0f5a3a;       /* vert du blason */
    --yellow: #f6d523;      /* jaune du blason */
    --bg: #f4f7fb;
    --surface: #ffffff;
    --soft: #e6eef8;
    --text: #13243b;
    --muted: #5b6b80;
    --line: #dde5ef;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 8px 28px rgba(11, 42, 79, .08);
    --shadow-lg: 0 18px 50px rgba(11, 42, 79, .16);
    --font-title: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.icon { flex-shrink: 0; }
.eyebrow { font-family: var(--font-title); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #6c8a10; margin: 0 0 .4rem; }
.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 720px; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-family: var(--font-title); font-weight: 600; font-size: .95rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s, color .15s, box-shadow .15s; cursor: pointer; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--navy-900); box-shadow: 0 6px 18px rgba(205, 240, 68, .35); }
.btn-lime:hover { background: var(--lime-600); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-outline-light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--navy-700); text-decoration: none; }
.link-arrow:hover { gap: 10px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-900); color: #fff; transition: background .25s, box-shadow .25s; }
.is-home .site-header { position: fixed; inset: 0 0 auto; background: transparent; }
.site-header.scrolled, .is-home .site-header.scrolled { background: rgba(7, 28, 56, .96); backdrop-filter: blur(8px); box-shadow: 0 6px 24px rgba(0,0,0,.2); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { object-fit: contain; height: 72px; width: auto; max-width: 220px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.site-footer .brand img { height: 89px; }
.brand img.brand-logo--custom { height: 66px; max-width: 200px; padding: 5px 10px; background: #fff; border-radius: 10px; filter: none; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.site-footer .brand img.brand-logo--custom { height: 76px; }
.brand-text { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); }
.brand-text strong { font-size: 1.9rem; font-weight: 800; font-style: italic; letter-spacing: -.02em; position: relative; }
.brand-text strong::after { content: ''; position: absolute; top: 2px; right: -9px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.brand-text span { font-size: .85rem; font-weight: 700; text-transform: uppercase; line-height: 1.2; letter-spacing: .02em; padding-left: 6px; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav .has-sub { position: relative; }
.main-nav button { background: none; border: 0; color: #fff; font: 600 .93rem var(--font-title); padding: 10px 12px; display: flex; align-items: center; gap: 4px; cursor: pointer; border-radius: 8px; }
.main-nav button:hover, .main-nav button[aria-expanded="true"] { background: rgba(255,255,255,.1); }
.main-nav button .icon { color: var(--lime); }
.sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); list-style: none; margin: 0; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .92rem; }
.sub a:hover, .sub a[aria-current] { background: var(--soft); color: var(--navy); }
.header-actions { display: flex; gap: 10px; }
.header-actions .btn { padding: 10px 18px; }
.burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-cta-mobile { display: none; }

/* ---------- Hero accueil ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; padding: calc(var(--header-h) + 40px) 0 120px;
    background: linear-gradient(100deg, rgba(7,28,56,.96) 0%, rgba(11,42,79,.85) 40%, rgba(11,42,79,.25) 100%), url('../img/vie-club.jpg') center/cover; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -.02em; max-width: 640px; }
.hero .eyebrow { color: var(--lime); }
.hero p { font-size: 1.15rem; max-width: 520px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-script { position: absolute; right: 8%; top: 42%; font-family: 'Caveat', cursive; font-size: 2.2rem; color: #fff; transform: rotate(-12deg); line-height: 1.1; text-align: center; }
.hero-script::after { content: ''; display: block; width: 140px; height: 3px; background: #fff; border-radius: 3px; margin: 6px auto 0; transform: rotate(4deg); }
.hero-curve { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; fill: var(--bg); }

/* ---------- Accès rapide ---------- */
.quick { position: relative; z-index: 2; margin-top: -70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quick-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quick-card h3 { margin: 14px 0 6px; font-size: 1.15rem; }
.quick-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.quick-card > .icon:last-child { color: var(--navy); transition: transform .2s; }
.quick-card:hover > .icon:last-child { transform: translateX(6px); }
.bubble { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--navy); }
.bubble.lime { background: #eef9c4; color: #4f6b00; }

/* ---------- Actus + chiffres ---------- */
.news-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.news-card:hover { transform: translateY(-4px); }
.news-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.news-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.05rem; margin: 6px 0 10px; flex: 1; }
.news-body p { font-size: .9rem; color: var(--muted); }
.news-date { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.tag { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.tag.lime { background: var(--lime); color: var(--navy-900); }
.tag.blue { background: #2f6fd6; color: #fff; }
.tag.navy { background: var(--navy); color: #fff; }

.stats-card { background: linear-gradient(160deg, #e8f0fa, #f6f9fd); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); }
.stats-card h3 { font-size: 1.35rem; margin-bottom: 18px; }
.stat { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.stat .icon { color: var(--navy); }
.stat strong { display: block; font-family: var(--font-title); font-size: 1.1rem; color: var(--navy); font-weight: 600; }
.stat span { font-size: .85rem; color: var(--muted); }

/* ---------- Bandeau installations ---------- */
.band { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.band-inner { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 300px; }
.band-photo { background: url('../img/compet-hommes.jpg') center/cover; clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%); }
.band-content { padding: 48px 32px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.band h2 { color: #fff; font-size: 1.8rem; }
.band .eyebrow { color: var(--lime); }
.band p { color: rgba(255,255,255,.8); font-size: .95rem; }
.band-icons { display: flex; gap: 0; }
.band-icons div { text-align: center; padding: 0 18px; font-size: .85rem; border-left: 1px solid rgba(255,255,255,.2); }
.band-icons div:first-child { border-left: 0; }
.band-icons .icon { display: block; margin: 0 auto 8px; color: #fff; }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; color: #fff; padding: 72px 0 96px;
    background: linear-gradient(100deg, rgba(7,28,56,.95) 0%, rgba(11,42,79,.75) 50%, rgba(11,42,79,.3) 100%), var(--hero-img) center/cover; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
.page-hero p { font-size: 1.15rem; color: rgba(255,255,255,.88); margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); padding: 16px 0 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.card h3 { margin-top: 14px; }
.card p { color: var(--muted); font-size: .93rem; margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 12px; padding: 8px 0; align-items: flex-start; }
.checklist .icon { color: #5c8a00; margin-top: 2px; }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--lime); }
.timeline li { padding: 0 0 22px 24px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--navy); border: 3px solid var(--lime); }
.timeline strong { font-family: var(--font-title); color: var(--navy); font-size: 1.15rem; display: block; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; gap: 12px; align-items: center; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--lime); display: grid; place-items: center; font: 700 .9rem var(--font-title); flex-shrink: 0; }
.person strong { display: block; font-size: .92rem; line-height: 1.25; }
.person span { font-size: .78rem; color: var(--muted); }

.dark-panel { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden; }
.dark-panel h2, .dark-panel h3 { color: #fff; }
.dark-panel p { color: rgba(255,255,255,.82); }
.dark-panel::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e6ff6a, var(--lime) 50%, #9fc21c); opacity: .9; }
.dark-panel > * { position: relative; z-index: 1; }

/* Onglets */
.tabs { display: inline-flex; gap: 6px; background: var(--soft); padding: 5px; border-radius: 999px; margin-bottom: 24px; flex-wrap: wrap; }
.tabs button { border: 0; background: none; padding: 9px 22px; border-radius: 999px; font: 600 .9rem var(--font-title); color: var(--navy); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.tab-panel[hidden] { display: none; }

/* Tarifs */
.price-group-title { margin: 36px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price h3 { font-size: 1.05rem; margin-bottom: 2px; }
.price .age { font-size: .82rem; color: var(--muted); }
.price .amount { font-family: var(--font-title); font-size: 2.3rem; font-weight: 800; color: var(--navy); margin: 12px 0 2px; }
.price .amount small { font-size: 1rem; font-weight: 600; }
.price .meta { font-size: .82rem; color: var(--muted); margin: 0; }
.price .hours { margin-top: 12px; align-self: center; }
.price .bonus { margin-top: 6px; align-self: center; background: var(--lime); color: var(--navy-900); }
.price .amount--tbd { font-size: 1.6rem; padding: 8px 0; }
.price.featured { border: 2px solid var(--lime-600); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: .93rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
th { background: var(--navy); color: #fff; font-family: var(--font-title); font-weight: 600; }
tbody tr:hover { background: #f8fbff; }

.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list a { display: flex; gap: 12px; align-items: center; padding: 12px 0; text-decoration: none; color: var(--navy-700); border-bottom: 1px solid var(--line); font-weight: 500; }
.doc-list .icon { color: #2f6fd6; }

/* Étapes */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 70px; position: relative; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--navy-900); font: 800 1rem var(--font-title); display: grid; place-items: center; }

/* Équipes */
.team-list { display: grid; gap: 12px; }
.team { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.team .num { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--navy); display: grid; place-items: center; font: 800 1.1rem var(--font-title); }
.team strong { font-family: var(--font-title); color: var(--navy); }
.team .division { margin-left: auto; }
.badge { font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--navy); white-space: nowrap; }
.badge.reg { background: var(--lime); color: var(--navy-900); }

/* Classements & résultats */
.ranking-table .col-rank { width: 56px; color: var(--muted); font-weight: 600; }
.ranking-table th.col-rank { color: #fff; }
.ranking-table .col-month { white-space: nowrap; color: var(--muted); }
.evo { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.evo.up { color: #2f8a3a; }
.evo.down { color: #c0392b; }
.evo.same { color: var(--muted); }
/* Page Classements & résultats : cartes, 4 par ligne sur grand écran */
.result-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.result-list .result { flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 10px 12px; padding: 16px 18px; border-top: 4px solid var(--line); }
.result-list .result.is-win { border-top-color: var(--lime); }
.result-list .result-date { width: auto; }
.result-list .result-badge { margin-left: auto; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-list .result-main { flex-basis: 100%; order: 2; display: flex; flex-direction: column; gap: 4px; }
.result-list .result-main h3 { margin: 0; line-height: 1.3; }
.result-list .result-main .link-arrow { margin-top: 4px; font-size: .88rem; }
/* Page Tournoi : l'affiche entière, sans recadrage */
.poster { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(11,42,79,.18); }
.split .poster img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; }
.split .poster { max-width: 460px; justify-self: center; width: 100%; }
.poster-empty { display: grid; place-items: center; gap: 14px; text-align: center; padding: 48px 28px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.poster-empty p { margin: 0; }
.tournament { scroll-margin-top: 90px; }
.tournament-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.tournament-link { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); transition: transform .15s, box-shadow .15s, border-color .15s; }
.tournament-link:hover { transform: translateY(-2px); border-color: var(--navy); box-shadow: 0 10px 24px rgba(11,42,79,.1); }
.tournament-link > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tournament-link small { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tournament-link strong { font: 700 1.05rem var(--font-title); }
.tournament-infos { display: grid; gap: 0; margin: 20px 0 24px; border-top: 1px solid var(--line); }
.tournament-infos > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tournament-infos dt { font-weight: 600; color: var(--navy); }
.tournament-infos dd { margin: 0; color: var(--text); }
@media (max-width: 820px) { .tournament-nav { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tournament-infos > div { grid-template-columns: 1fr; gap: 2px; } }
.result-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 20px; }
.result-filters[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 .9rem var(--font-title); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--navy); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.month-filter { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); }
.month-filter select { font: inherit; font-size: .92rem; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--text); cursor: pointer; }
.result-count { font-size: .88rem; margin-left: auto; }
.result-more { text-align: center; margin: 24px 0 0; }
.result-list .result[hidden] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1100px) { .result-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .result-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .result-list { grid-template-columns: 1fr; } }
.result { display: flex; align-items: center; gap: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.result-date { width: 90px; flex-shrink: 0; font: 700 .85rem var(--font-title); color: var(--navy); }
.result-main { flex: 1; min-width: 0; }
.result-main h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.result-main p { margin: 0; font-size: .92rem; color: var(--muted); }
.result-main p strong { color: var(--text); }
.result-cat { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6c8a10; }
.result-badge { flex-shrink: 0; }
.empty-public { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }
.plain-list { list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .93rem; }
.plain-list li { padding: 3px 0; }
@media (max-width: 600px) {
    .ranking-table .col-perf { display: none; }
    .result { flex-wrap: wrap; gap: 8px 14px; }
    .result-date { width: auto; }
    .result-main { flex-basis: 100%; order: 2; }
}

.map-consent { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 28px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.map-consent .icon { color: var(--navy); }
.map-consent p { margin: 0; max-width: 340px; font-size: .9rem; }
.form-privacy { font-size: .8rem; color: var(--muted); margin: 0; }
.legal { max-width: 860px; }
.legal h2:first-child { margin-top: 0; }

/* Accueil : derniers résultats */
.home-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.home-results .result { background: var(--surface); flex-wrap: wrap; gap: 8px 14px; }
.home-results .result-date { width: auto; }
.home-results .result-main { flex-basis: 100%; order: 2; }

.small-note { font-size: .85rem; max-width: 720px; }

/* Bilan des équipes */
.team .standing { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font: 700 .85rem var(--font-title); color: var(--navy); white-space: nowrap; }
.team .standing .icon { color: #6c8a10; }
.team .standing + .division { margin-left: 0; }
.team-bilan { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 6px; }
.bilan { display: inline-flex; gap: 4px; }
.bilan b { font: 700 .75rem var(--font-title); padding: 2px 8px; border-radius: 6px; }
.bilan .v { background: #e3f5e5; color: #2f8a3a; }
.bilan .n { background: var(--soft); color: var(--navy); }
.bilan .d { background: #fdecec; color: #c0392b; }

/* Agenda */
.event-list, .event-grid { display: grid; gap: 14px; }
.event-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.month-title { margin: 28px 0 14px; font-size: 1.15rem; text-transform: capitalize; color: var(--muted); }
.month-title:first-of-type { margin-top: 0; }
.event { display: flex; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h, 80px) + 20px); }
.event:target { border-color: var(--lime-600); box-shadow: 0 0 0 3px rgba(205, 240, 68, .5); }
.event.past { opacity: .75; box-shadow: none; }
.event-date { flex-shrink: 0; width: 62px; height: 66px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.event-date strong { font: 800 1.5rem var(--font-title); color: var(--lime); }
.event-date span { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.event-main { min-width: 0; flex: 1; }
.event-main h3 { font-size: 1.1rem; margin: 6px 0 4px; }
.event-meta { font-size: .88rem; color: var(--muted); margin: 0; }
.event-meta .icon { vertical-align: -2px; }
.event-desc { margin-top: 10px; font-size: .93rem; }
.event-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; }
.event-links:empty { display: none; }

/* Questions fréquentes */
.faq-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.faq-search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 18px; margin-bottom: 28px; color: var(--muted); }
.faq-search input { flex: 1; border: 0; background: none; font: inherit; padding: 10px 0; outline: none; color: var(--text); }
.faq-search:focus-within { border-color: var(--navy); }
.faq-group { margin-bottom: 28px; }
.faq-group h2 { font-size: 1.2rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; scroll-margin-top: 100px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .prose { padding: 0 20px 16px; }
.faq-layout .dark-panel { position: sticky; top: 110px; }
@media (max-width: 980px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .dark-panel { position: relative; top: 0; } }
@media (max-width: 600px) { .event { gap: 12px; padding: 14px; } .event-date { width: 52px; height: 58px; } }

/* Formulaire */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-weight: 600; font-size: .88rem; display: grid; gap: 6px; color: var(--navy); }
.form input, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--lime-600); border-color: transparent; }
.form-note { font-size: .85rem; padding: 12px 16px; border-radius: 10px; background: #eef9c4; color: #3d5200; }
.map { width: 100%; height: 100%; min-height: 340px; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- Partenaires & pied de page ---------- */
.partners { padding: 56px 0; background: var(--surface); border-top: 1px solid var(--line); text-align: center; }
.partners-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 24px; }
.partners-track a, .partners-track span { display: grid; place-items: center; width: 140px; height: 80px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 10px; transition: .2s; }
.partners-track img { max-height: 58px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .2s; }
.partners-track a:hover img { filter: none; opacity: 1; }
.partners-track a:hover { box-shadow: var(--shadow); }

.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding: 56px 0 20px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-tagline { font-family: 'Caveat', cursive; font-size: 1.5rem; color: #fff; margin-top: 14px; }
.footer-contact { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--lime); margin-top: 2px; }
.social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .82rem; flex-wrap: wrap; }

/* Bandeau d'information (géré depuis le back office) */
.alert-bar { background: var(--lime); color: var(--navy-900); font-size: .9rem; font-weight: 500; }
.alert-bar .container { display: flex; gap: 10px; align-items: center; padding: 8px 0; flex-wrap: wrap; }
.alert-bar a { color: var(--navy-900); font-weight: 700; }

/* Contenu riche (actualités, tarifs, tournoi) */
.prose h2, .prose h3 { margin-top: 1.2em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: 4px 0; }
.prose blockquote { margin: 1em 0; padding: 8px 18px; border-left: 4px solid var(--lime); background: var(--bg); border-radius: 0 10px 10px 0; }
.muted { color: var(--muted); }

.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.article { padding: 36px; }
.article-img { width: 100%; border-radius: var(--radius); margin: 18px 0; max-height: 520px; object-fit: contain; background: var(--bg); }
.mini-news { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; margin-bottom: 12px; text-decoration: none; color: var(--text); transition: .2s; }
.mini-news:hover { box-shadow: var(--shadow); }
.mini-news img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; }
.mini-news img.is-portrait { object-position: center 20%; }

/* Bloc texte + photo, quand la photo a été retirée (« Ne pas afficher de photo ») */
.split.split--solo { grid-template-columns: 1fr; max-width: 820px; }

/* Photos en portrait : affichées en entières au lieu d'être recadrées en paysage */
.news-card img.is-portrait { object-fit: contain; background: #e9efe9; }
.split img.is-portrait { aspect-ratio: auto; width: auto; max-width: 100%; max-height: 560px; margin-inline: auto; display: block; object-fit: contain; }
.mini-news strong { display: block; font-size: .9rem; line-height: 1.3; color: var(--navy); }
.mini-news small { color: var(--muted); font-size: .78rem; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pagination a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--navy); }
.pagination a[aria-current] { background: var(--navy); color: #fff; }

.form-error { background: #fdecec; color: #8a1c1c; border-radius: 10px; padding: 12px 16px; margin-bottom: 12px; font-size: .9rem; }
.form-error p { margin: 0; }
.form-note { display: flex; gap: 8px; align-items: center; }
.hp { position: absolute; left: -9999px; }
.partners-track strong { font-family: var(--font-title); color: var(--navy); font-size: .9rem; }

@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } .article { padding: 22px; } }

/* Animation d'apparition */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .header-actions { display: none; }
    .news-layout { grid-template-columns: 1fr; }
    .band-content { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
    :root { --header-h: 70px; }
    .site-header .brand img { height: 60px; }
    .site-header .brand img.brand-logo--custom { height: 50px; }
    .burger { display: block; }
    .main-nav { position: fixed; inset: var(--header-h) 0 0; background: var(--navy-900); padding: 16px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; margin: 0; }
    .main-nav.open { transform: none; }
    .main-nav > ul { flex-direction: column; }
    .main-nav button { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: 14px 8px; }
    .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.06); display: none; }
    .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
    .has-sub.open .sub { display: block; }
    .sub a { color: #fff; }
    .sub a:hover, .sub a[aria-current] { background: rgba(255,255,255,.1); color: var(--lime); }
    .nav-cta-mobile { display: grid; gap: 10px; margin-top: 20px; }
    .nav-cta-mobile .btn { justify-content: center; }
    .quick { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .split { grid-template-columns: 1fr; }
    .band-inner { grid-template-columns: 1fr; }
    .band-photo { min-height: 200px; clip-path: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-script { display: none; }
}
@media (max-width: 600px) {
    .section { padding: 52px 0; }
    .hero { min-height: 560px; padding-bottom: 100px; }
    .quick { gap: 12px; }
    .quick-card { padding: 16px; }
    .quick-card p, .quick-card > .icon:last-child { display: none; }
    .news-grid { grid-template-columns: 1fr; }
    .band-icons { flex-wrap: wrap; gap: 16px 0; }
    .band-icons div { flex: 1 1 45%; border: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .form .row { grid-template-columns: 1fr; }
    .dark-panel { padding: 28px; }
    .brand-text span { display: none; }
    .team { flex-wrap: wrap; }
}
