/* =========================================================
   Saint-Amand Hainaut Basket — feuille de style
   Stratégie Média +
   ========================================================= */

:root {
    --lime: #B6D000;
    --lime-dark: #98AF00;
    --dark: #0A2E1F;
    --dark-2: #0F3D29;
    --dark-3: #164d35;
    --orange: #E85D2C;
    --ink: #17201b;
    --text: #3b4540;
    --muted: #6b7570;
    --bg: #ffffff;
    --bg-soft: #f4f6ee;
    --line: #e3e7dd;
    --win: #2e9e4f;
    --loss: #d64545;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 10px 30px rgba(10, 46, 31, .08);
    --shadow-lg: 0 18px 50px rgba(10, 46, 31, .16);
    --font-title: 'Oswald', 'Arial Narrow', sans-serif;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dark-3); text-decoration: none; transition: color .2s; }
a:hover { color: var(--lime-dark); }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 600; letter-spacing: .01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-mid { max-width: 1040px; }
.container-narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.15rem; color: var(--ink); }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; font-size: 1.1rem; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.5em; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; transition: transform .15s, background .2s, color .2s, box-shadow .2s; text-decoration: none; line-height: 1.2; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--dark); box-shadow: 0 6px 18px rgba(182, 208, 0, .35); }
.btn-lime:hover { background: #c4dd1a; color: var(--dark); }
.btn-dark { background: var(--dark); color: var(--lime); }
.btn-dark:hover { background: var(--dark-3); color: var(--lime); }
.btn-outline { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn-outline:hover { background: var(--dark); color: var(--lime); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--dark); }
.btn-sm { padding: .5em 1.1em; font-size: .85rem; }
.btn-lg { padding: 1em 1.9em; font-size: 1.05rem; }
.btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.link-more { font-weight: 600; color: var(--dark-3); display: inline-flex; align-items: center; gap: .45em; }
.link-more i { transition: transform .2s; }
.link-more:hover i { transform: translateX(4px); }
.link-back { font-weight: 600; display: inline-flex; gap: .5em; align-items: center; }

/* ---------- Badges ---------- */
.badge { display: inline-block; padding: .25em .75em; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge-home { background: var(--lime); color: var(--dark); }
.badge-away { background: #e9ecef; color: #44504a; }
.badge-win { background: rgba(46,158,79,.14); color: var(--win); }
.badge-loss { background: rgba(214,69,69,.12); color: var(--loss); }
.badge-draw { background: #fff1db; color: #b7791f; }

/* ---------- Bandeau billetterie ---------- */
.ticket-bar { background: var(--lime); color: var(--dark); display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 16px; font-size: .9rem; font-weight: 500; text-align: center; flex-wrap: wrap; }
.ticket-bar a { background: var(--dark); color: var(--lime); padding: 4px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.ticket-bar a:hover { color: #fff; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--dark); box-shadow: 0 2px 20px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-title); text-transform: uppercase; line-height: 1.05; }
.brand-text strong { font-size: 1.2rem; color: #fff; font-weight: 600; letter-spacing: .03em; }
.brand-text small { font-size: .82rem; color: var(--lime); letter-spacing: .14em; }
.brand:hover { color: #fff; }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a, .main-nav > ul > li > button { display: flex; align-items: center; gap: 6px; background: none; border: 0; color: #fff; font-family: var(--font-title); text-transform: uppercase; font-size: .98rem; letter-spacing: .05em; padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 500; }
.main-nav > ul > li > button i { font-size: .6rem; opacity: .7; transition: transform .2s; }
.main-nav > ul > li:hover > button, .main-nav li.is-active > button { color: var(--lime); }
.main-nav .has-sub > ul { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 8px); min-width: 240px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: all .2s; }
.main-nav .has-sub > ul::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.main-nav .has-sub:hover > ul, .main-nav .has-sub:focus-within > ul { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .has-sub:hover > button i { transform: rotate(180deg); }
.main-nav .has-sub ul a { display: block; padding: 9px 14px; border-radius: var(--radius-sm); color: var(--ink); font-size: .93rem; font-weight: 500; }
.main-nav .has-sub ul a:hover { background: var(--bg-soft); color: var(--dark-3); }
.main-nav .has-sub ul a i { font-size: .7rem; opacity: .5; margin-left: 4px; }
.main-nav .nav-cta a { background: var(--lime); color: var(--dark) !important; border-radius: 999px !important; padding: 9px 18px !important; margin-left: 8px; font-weight: 600 !important; }
.main-nav .nav-cta a:hover { background: #fff; }
.nav-socials { display: none; }

.burger { display: none; width: 46px; height: 46px; border: 0; background: rgba(255,255,255,.08); border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.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); }

@media (max-width: 1120px) {
    :root { --header-h: 72px; }
    .brand img { width: 52px; height: 52px; }
    .burger { display: flex; }
    .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--dark); overflow-y: auto; padding: 16px 24px 40px; transform: translateX(100%); transition: transform .3s ease; }
    .main-nav.is-open { transform: none; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.08); }
    .main-nav > ul > li > button, .main-nav > ul > li > a { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.1rem; }
    .main-nav .has-sub > ul { position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; background: transparent; padding: 0 0 12px; min-width: 0; display: none; }
    .main-nav .has-sub.is-open > ul { display: block; }
    .main-nav .has-sub.is-open > button i { transform: rotate(180deg); }
    .main-nav .has-sub ul a { color: rgba(255,255,255,.8); padding: 10px 12px; }
    .main-nav .has-sub ul a:hover { background: rgba(255,255,255,.06); color: var(--lime); }
    .main-nav .nav-cta { border: 0 !important; margin-top: 20px; }
    .main-nav .nav-cta a { justify-content: center !important; margin: 0; padding: 14px !important; }
    .nav-socials { display: flex; gap: 10px; justify-content: center; margin-top: 24px; }
    .nav-socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; }
    body.menu-open { overflow: hidden; }
}
@media (max-width: 480px) {
    .brand-text strong { font-size: 1rem; }
    .brand-text small { font-size: .7rem; }
    .ticket-bar span { display: none; }
}

/* ---------- Diaporama d'accueil (cadre net + fond flouté) ---------- */
.hero-slider { position: relative; overflow: hidden; background: var(--dark); padding: 28px 24px 54px; }
.slider-bgs { position: absolute; inset: -40px; z-index: 0; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(34px) saturate(1.2) brightness(.55); transform: scale(1.1); opacity: 0; transition: opacity 1s ease; }
.slide-bg.is-active { opacity: 1; }
.hero-slider::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(10,46,31,.25), rgba(10,46,31,.55)); pointer-events: none; }
.slider-frame { position: relative; z-index: 1; width: 100%; max-width: var(--frame-max, 1400px); max-height: 72vh; aspect-ratio: var(--slide-ratio, 2.4 / 1); margin: 0 auto; border-radius: 18px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,.45); background: rgba(0,0,0,.25); }
.slider-frame .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slider-frame .slide.is-active { opacity: 1; z-index: 1; }
.slider-frame .slide img { width: 100%; height: 100%; object-fit: contain; }
.slide-caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 60px 32px 28px; color: #fff; background: linear-gradient(0deg, rgba(10,46,31,.85), rgba(10,46,31,0)); }
.slide-caption.center-align { text-align: center; }
.slide-caption.right-align { text-align: right; }
.slide-caption h2 { color: #fff; font-size: clamp(1.5rem, 3.6vw, 2.8rem); text-transform: uppercase; margin-bottom: .15em; }
.slide-caption p { font-size: 1.1rem; margin: 0; }
.slider-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(10,46,31,.55); color: #fff; backdrop-filter: blur(6px); transition: background .2s, color .2s; }
.slider-arrow:hover { background: var(--lime); color: var(--dark); }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-dots { position: absolute; z-index: 3; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); padding: 0; transition: width .3s, background .3s; }
.slider-dots button.is-active { width: 30px; background: var(--lime); }
@media (max-width: 700px) {
    .hero-slider { padding: 14px 0 40px; }
    .slider-frame { border-radius: 0; max-height: none; }
    .slider-arrow { display: none; }
    .slider-dots { bottom: 14px; }
}

/* ---------- Bandeau des pages intérieures ---------- */
.page-hero { position: relative; background-size: cover; background-position: center; padding: 110px 0 60px; color: #fff; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,46,31,.92) 0%, rgba(10,46,31,.6) 60%, rgba(10,46,31,.35) 100%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.2rem); text-transform: uppercase; margin: 0; max-width: 900px; }
.kicker { font-family: var(--font-title); text-transform: uppercase; letter-spacing: .18em; color: var(--lime); font-size: .9rem; margin-bottom: .6rem; font-weight: 500; }
.article-page .page-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); text-transform: none; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-light { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .link-more { color: var(--lime); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2, .section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); text-transform: uppercase; margin: 0; position: relative; padding-left: 18px; }
.section-head h2::before, .section-title::before { content: ''; position: absolute; left: 0; top: .12em; bottom: .12em; width: 6px; border-radius: 4px; background: var(--lime); }
.center .section-title, h2.section-title.center { padding-left: 0; }
.center .section-title::before { display: none; }
.sponsors h2 { text-transform: uppercase; font-size: 1.8rem; }
@media (max-width: 700px) { .section { padding: 52px 0; } }

/* ---------- Cartes matchs (accueil) ---------- */
.match-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.match-card { background: var(--dark-2); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; transition: transform .2s, border-color .2s; }
.match-card:hover { transform: translateY(-4px); border-color: rgba(182,208,0,.5); }
.match-card-top { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 8px; }
.match-comp { font-size: .78rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .06em; }
.match-teams { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.match-teams .team { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.match-teams .team img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 50%; padding: 6px; }
.match-teams .team span { font-family: var(--font-title); color: #fff; font-size: .95rem; text-transform: uppercase; line-height: 1.2; overflow-wrap: anywhere; }
.vs { font-family: var(--font-title); color: var(--lime); font-size: 1.1rem; text-transform: uppercase; }
.match-date { margin: 0; font-weight: 600; color: #fff; }
.match-card .btn { margin-top: auto; }
.match-card .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
@media (max-width: 1000px) { .match-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
    .match-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
    .match-card { scroll-snap-align: start; }
}

/* ---------- Actualités ---------- */
.news-date { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.news-featured { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; }
.news-hero-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); }
.news-hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-hero-card:hover img { transform: scale(1.04); }
.news-hero-card::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,46,31,.95) 0%, rgba(10,46,31,.4) 55%, rgba(10,46,31,0) 100%); }
.news-hero-body { position: relative; z-index: 2; padding: 30px; }
.news-hero-body h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: .3em 0 .4em; }
.news-hero-body p { color: rgba(255,255,255,.85); margin-bottom: .9em; }
.news-hero-body .news-date { color: var(--lime); }
.news-hero-body .link-more { color: var(--lime); }
.news-hero-card:hover { color: #fff; }
.news-side { display: flex; flex-direction: column; gap: 14px; }
.news-mini { display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; transition: box-shadow .2s, transform .2s; }
.news-mini:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.news-mini img { width: 128px; height: 92px; object-fit: cover; border-radius: 10px; }
.news-mini h3 { font-size: 1.02rem; margin: .2em 0 0; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .news-featured { grid-template-columns: 1fr; } .news-hero-card { min-height: 360px; } }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; color: var(--text); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--text); }
.news-card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card-body h2 { font-size: 1.22rem; margin: 0; color: var(--ink); }
.news-card-body p { margin: 0; font-size: .95rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-body .link-more { margin-top: auto; padding-top: 6px; font-size: .9rem; }
.video-card .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-card .play i { width: 60px; height: 60px; border-radius: 50%; background: rgba(10,46,31,.85); color: var(--lime); display: grid; place-items: center; font-size: 1.2rem; padding-left: 4px; transition: transform .2s, background .2s; }
.video-card:hover .play i { transform: scale(1.1); background: var(--lime); color: var(--dark); }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip { padding: .5em 1.15em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 500; font-size: .92rem; }
.chip:hover { border-color: var(--dark-3); color: var(--dark-3); }
.chip.is-active { background: var(--dark); border-color: var(--dark); color: var(--lime); }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; display: grid; place-items: center; font-weight: 600; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.pagination a:hover { border-color: var(--dark-3); color: var(--dark-3); }
.pagination .current { background: var(--dark); color: var(--lime); border-color: var(--dark); }
.pagination .dots { border: 0; background: none; }

/* ---------- Article ---------- */
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--dark-3); }
.article-meta { color: var(--muted); font-size: .92rem; font-weight: 500; margin-bottom: 22px; }
.article-cover { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-cover img { width: 100%; }
.article-content { font-size: 1.08rem; line-height: 1.8; color: #2f3833; overflow-wrap: break-word; }
.article-content h2, .article-content h3, .article-content h4 { margin-top: 1.4em; }
.article-content img { border-radius: 10px; margin: 1.4em auto; }
.article-content img[src*="emoji.php"], .article-content img[src*="emoji"] { display: inline; width: 1.15em; height: auto; margin: 0 .1em; border-radius: 0; vertical-align: -.2em; }
.article-content figure { margin: 1.6em 0; }
.article-content figure.image { text-align: center; }
.article-content figure.image img { margin: 0 auto; }
.article-content figure.image-style-side { float: right; max-width: 50%; margin: .4em 0 1em 1.5em; }
.article-content figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: .5em; }
.article-content blockquote { border-left: 4px solid var(--lime); margin: 1.6em 0; padding: .4em 0 .4em 1.2em; font-style: italic; color: var(--ink); }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.article-content td, .article-content th { border: 1px solid var(--line); padding: 8px 10px; }
.article-content a { color: var(--dark-3); text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 3px; }
.article-content iframe { max-width: 100%; }
.article-content::after { content: ''; display: block; clear: both; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin: 28px 0; background: #000; box-shadow: var(--shadow); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.share { display: flex; align-items: center; gap: 10px; padding: 22px 0; border-top: 1px solid var(--line); margin-top: 36px; flex-wrap: wrap; }
.share span { font-weight: 600; color: var(--ink); margin-right: 4px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--dark); border: 0; transition: background .2s, color .2s; }
.share a:hover, .share button:hover { background: var(--dark); color: var(--lime); }
.share button.copied { background: var(--lime); color: var(--dark); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.article-nav a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; font-size: .95rem; }
.article-nav a small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.article-nav a:hover { border-color: var(--lime-dark); }
.article-nav .next { text-align: right; }
@media (max-width: 600px) { .article-nav { grid-template-columns: 1fr; } .article-content figure.image-style-side { float: none; max-width: 100%; margin: 1em 0; } }

/* ---------- Billetterie (accueil) ---------- */
.section-ticket { background: var(--lime); padding: 56px 0; }
.ticket-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.ticket-cta h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; margin: 0 0 .3em; color: var(--dark); max-width: 720px; }
.ticket-cta p { margin: 0; color: var(--dark); font-weight: 500; }
.ticket-cta .kicker { color: var(--dark); opacity: .7; }

/* ---------- Vidéos (accueil) ---------- */
.tv-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, auto); gap: 18px; }
.tv-item p { margin: 10px 0 0; font-weight: 600; color: #fff; font-size: .95rem; }
.tv-main { grid-row: 1 / span 3; }
.tv-main p { font-size: 1.15rem; }
.yt-lite { position: relative; aspect-ratio: 16 / 9; background-size: cover; background-position: center; border-radius: var(--radius); overflow: hidden; cursor: pointer; background-color: #000; }
.yt-lite::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.25); transition: background .2s; }
.yt-lite:hover::before { background: rgba(0,0,0,.05); }
.yt-lite button { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--lime); color: var(--dark); font-size: 1.3rem; padding-left: 5px; box-shadow: 0 8px 25px rgba(0,0,0,.35); transition: transform .2s; }
.tv-item:not(.tv-main) .yt-lite button { width: 48px; height: 48px; font-size: 1rem; }
.yt-lite:hover button { transform: scale(1.1); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .tv-grid { grid-template-columns: 1fr 1fr; } .tv-main { grid-column: 1 / -1; grid-row: auto; } }

/* ---------- Classement ---------- */
.ranking-frame { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.ranking-frame iframe { width: 100%; height: 520px; border: 0; display: block; }
.ranking-frame-lg iframe { height: 760px; }
.last-result { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; color: var(--ink); }

/* ---------- Partenaires ---------- */
.marquee { overflow: hidden; padding: 26px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; align-items: center; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 72px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; transition: transform .2s, box-shadow .2s; color: var(--ink); }
.partner img { height: 100px; width: 100%; object-fit: contain; }
.partner span { font-size: .88rem; font-weight: 600; }
a.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--dark-3); }
.cta-box { margin-top: 56px; background: var(--dark); border-radius: 20px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: rgba(255,255,255,.85); background-image: radial-gradient(circle at 90% 10%, rgba(182,208,0,.25), transparent 45%); }
.cta-box h2 { color: #fff; text-transform: uppercase; margin-bottom: .3em; }
.cta-box p { margin: 0; }

/* ---------- Calendrier ---------- */
.cal-next { background: var(--dark); background-image: radial-gradient(circle at 15% 0%, rgba(182,208,0,.22), transparent 50%), radial-gradient(circle at 100% 100%, rgba(232,93,44,.18), transparent 40%); color: #fff; border-radius: 22px; padding: 36px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; box-shadow: var(--shadow-lg); margin-bottom: 28px; }
.cal-next-label { font-family: var(--font-title); text-transform: uppercase; letter-spacing: .2em; color: var(--lime); display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.cal-next-label i { color: var(--orange); font-size: 1.3rem; }
.cal-next-top { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cal-next-date { font-weight: 600; font-size: 1.1rem; }
.cal-next-top .match-comp { color: rgba(255,255,255,.6); }
.cal-next-teams { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 5vw, 60px); width: 100%; }
.cal-next-teams .team { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 0 1 220px; }
.cal-next-teams .team img { width: clamp(84px, 14vw, 130px); height: clamp(84px, 14vw, 130px); object-fit: contain; background: #fff; border-radius: 50%; padding: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.cal-next-teams .team span { font-family: var(--font-title); text-transform: uppercase; font-size: clamp(1rem, 2.4vw, 1.4rem); }
.cal-next-teams .vs { font-size: clamp(1.4rem, 3vw, 2.2rem); }
.countdown { display: flex; gap: 12px; }
.countdown div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 12px 6px; min-width: 76px; display: flex; flex-direction: column; }
.countdown strong { font-family: var(--font-title); font-size: 2rem; color: var(--lime); line-height: 1; font-weight: 600; }
.countdown span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.65); margin-top: 6px; }
@media (max-width: 480px) { .cal-next { padding: 26px 18px; } .countdown div { min-width: 62px; } .countdown strong { font-size: 1.55rem; } }

.cal-month { font-size: 1.4rem; text-transform: uppercase; margin: 36px 0 14px; color: var(--dark); display: flex; align-items: center; gap: 14px; }
.cal-month::after { content: ''; flex: 1; height: 2px; background: var(--line); }
.cal-list, .results-list { display: flex; flex-direction: column; gap: 10px; }
.cal-row { display: grid; grid-template-columns: 64px 56px 1fr auto; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; transition: box-shadow .2s, border-color .2s; }
.cal-row:hover { box-shadow: var(--shadow); border-color: transparent; }
.cal-date { display: flex; flex-direction: column; align-items: center; background: var(--bg-soft); border-radius: 10px; padding: 6px 0; }
.cal-date strong { font-family: var(--font-title); font-size: 1.6rem; line-height: 1; color: var(--dark); }
.cal-date span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.cal-logo { width: 56px; height: 56px; object-fit: contain; }
.cal-info { display: flex; flex-direction: column; min-width: 0; }
.cal-meta { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-home { background: var(--lime-dark); }
.dot-away { background: #aab3ae; }
.cal-team { font-family: var(--font-title); font-size: 1.2rem; color: var(--ink); text-transform: uppercase; }
.cal-actions { display: flex; align-items: center; gap: 14px; }
.cal-time { font-family: var(--font-title); font-size: 1.2rem; color: var(--dark); font-weight: 500; }
@media (max-width: 640px) {
    .cal-row { grid-template-columns: 54px 44px 1fr; gap: 12px; padding: 12px; }
    .cal-logo { width: 44px; height: 44px; }
    .cal-actions { grid-column: 1 / -1; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 10px; }
    .cal-team { font-size: 1.05rem; }
}

/* ---------- Résultats ---------- */
.season-select { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--bg-soft); padding: 16px 20px; border-radius: var(--radius); }
.season-select label { font-weight: 600; color: var(--ink); }
.season-select select { font: inherit; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; }
.season-stats { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; font-size: .92rem; }
.season-stats .win strong { color: var(--win); }
.season-stats .loss strong { color: var(--loss); }
.result-row { display: grid; grid-template-columns: 130px 1fr 100px; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }
.result-win { border-left-color: var(--win); }
.result-loss { border-left-color: var(--loss); }
.result-draw { border-left-color: #e0a030; }
.result-date { font-weight: 600; color: var(--ink); font-size: .92rem; display: flex; flex-direction: column; }
.result-date small { color: var(--muted); font-weight: 500; font-size: .78rem; }
.result-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.r-team { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); min-width: 0; }
.r-team img { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.r-team.us { color: var(--dark-3); }
.result-score > .r-team:first-child { justify-content: flex-end; text-align: right; }
.r-score { font-family: var(--font-title); font-size: 1.35rem; color: var(--dark); white-space: nowrap; }
.result-row .badge { justify-self: end; }
@media (max-width: 700px) {
    .season-stats { margin-left: 0; }
    .result-row { grid-template-columns: 1fr auto; }
    .result-score { grid-column: 1 / -1; grid-row: 2; }
    .r-team { font-size: .88rem; }
    .r-team img { display: none; }
}

/* ---------- Galeries ---------- */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.album { color: var(--ink); }
.album-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; background: var(--bg-soft); }
.album-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.album:hover .album-img img { transform: scale(1.05); }
.album-count { position: absolute; right: 12px; bottom: 12px; background: rgba(10,46,31,.85); color: #fff; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.album h2 { font-size: 1.1rem; margin: 0 0 4px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 20px; }
.photo { aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--bg-soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.photo:hover img { transform: scale(1.06); opacity: .9; }
@media (max-width: 600px) { .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(5,15,10,.95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.2rem; transition: background .2s; }
.lightbox button:hover { background: var(--lime); color: var(--dark); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: .9rem; }

/* ---------- Pages de contenu ---------- */
.prose h2 { font-size: 1.6rem; text-transform: uppercase; margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.two-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.palmares { background: var(--dark); color: rgba(255,255,255,.85); border-radius: 20px; padding: 32px; position: sticky; top: calc(var(--header-h) + 20px); }
.palmares h2 { color: #fff; text-transform: uppercase; font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.palmares h2 i { color: var(--lime); }
.palmares ul { list-style: none; margin: 0; padding: 0; }
.palmares li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.palmares li:last-child { border: 0; }
.palmares li strong { display: block; color: var(--lime); font-family: var(--font-title); font-weight: 500; letter-spacing: .05em; }
.adv-list li { padding-left: 26px !important; position: relative; }
.adv-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--lime); position: absolute; left: 0; top: 13px; font-size: .85rem; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding: 6px 0 6px 32px; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--dark); font-size: .7rem; display: grid; place-items: center; }
@media (max-width: 900px) { .two-cols { grid-template-columns: 1fr; gap: 32px; } .palmares { position: static; } }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 40px; }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: box-shadow .2s; }
.contact-card:hover { box-shadow: var(--shadow); }
.contact-card > i { width: 52px; height: 52px; border-radius: 14px; background: var(--dark); color: var(--lime); display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 16px; }
.contact-card h2 { font-size: 1.2rem; text-transform: uppercase; }
.contact-card p:last-child { margin-bottom: 0; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }
@media (max-width: 600px) { .apply-grid { grid-template-columns: 1fr; } }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats-row div { background: var(--dark); border-radius: var(--radius); padding: 28px 22px; color: rgba(255,255,255,.8); }
.stats-row strong { display: block; font-family: var(--font-title); font-size: 2.6rem; color: var(--lime); line-height: 1; margin-bottom: 10px; font-weight: 600; }
@media (max-width: 900px) { .stats-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stats-row { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 110px; margin-bottom: 16px; }
.site-footer h3 { color: #fff; text-transform: uppercase; font-size: 1.1rem; letter-spacing: .06em; margin-bottom: 1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55em; }
.site-footer li i { color: var(--lime); width: 18px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--lime); }
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s, color .2s; }
.footer-socials a:hover { background: var(--lime); color: var(--dark); }
.site-footer .btn-lime { color: var(--dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: var(--lime); font-weight: 600; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } .footer-brand img { margin: 0 auto 16px; } .footer-socials { justify-content: center; } .footer-bottom .container { justify-content: center; text-align: center; } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--lime); color: var(--dark); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Page d'intro ---------- */
body.splash { min-height: 100vh; min-height: 100svh; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; overflow-x: hidden; }
.splash-video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.splash-overlay { position: fixed; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,46,31,.55) 0%, rgba(10,46,31,.88) 100%); }
.splash-content { position: relative; z-index: 2; width: 100%; max-width: 1040px; padding: 40px 24px; text-align: center; }
.splash-logo { width: clamp(120px, 18vw, 190px); margin: 0 auto 22px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.4)); }
.splash h1 { color: #fff; font-size: clamp(1.4rem, 3.4vw, 2.4rem); text-transform: uppercase; font-weight: 500; margin-bottom: 40px; }
.splash h1 span { display: block; color: var(--lime); font-weight: 700; font-size: 1.25em; }
.splash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.splash-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 18px; padding: 30px 20px; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform .25s, background .25s, border-color .25s; }
.splash-card i { font-size: 1.9rem; color: var(--lime); margin-bottom: 8px; }
.splash-card small { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; opacity: .7; }
.splash-card strong { font-family: var(--font-title); font-size: 1.6rem; text-transform: uppercase; font-weight: 500; }
.splash-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.14); border-color: var(--lime); color: #fff; }
.splash-card.is-primary { background: var(--lime); border-color: var(--lime); color: var(--dark); }
.splash-card.is-primary i { color: var(--dark); }
.splash-card.is-primary:hover { background: #c4dd1a; color: var(--dark); }
.splash-socials { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.splash-socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background .2s, color .2s; }
.splash-socials a:hover { background: var(--lime); color: var(--dark); }
@media (max-width: 700px) { .splash-cards { grid-template-columns: 1fr; } .splash-card { flex-direction: row; justify-content: flex-start; text-align: left; padding: 18px 20px; gap: 14px; } .splash-card i { margin: 0; width: 36px; } .splash-card small { order: 3; display: none; } .splash-card strong { font-size: 1.3rem; } }
