/* ==========================================================================
   FC AVENCHES — Design system (dark premium sport)
   Rouge/bleu du club sur base navy-noir. Mobile-first.
   ========================================================================== */

/* ---------------------------------------------------------------- Tokens */
:root {
  --red: #e4002b;
  --red-600: #c00023;
  --red-700: #9c001c;
  --blue: #1f5fd6;
  --blue-600: #124aad;
  --blue-700: #0c3684;

  --ink: #ffffff;          /* fond global (thème clair) */
  --ink-1: #f4f6fa;        /* sections alternées */
  --ink-2: #ffffff;        /* cartes */
  --ink-3: #eef1f6;        /* cartes hover / inputs */
  --line: rgba(16, 22, 35, .10);
  --line-2: rgba(16, 22, 35, .17);

  --text: #111826;
  --muted: #566072;
  --muted-2: #8b95a4;
  --white: #ffffff;
  --ink-dark: #0a0d15;     /* réservé hero + footer sombres */

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow: 0 20px 45px -22px rgba(16, 22, 35, .22);
  --shadow-red: 0 18px 40px -16px rgba(228, 0, 43, .35);

  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.2rem);

  --ff-display: "Anton", "Oswald", system-ui, sans-serif;
  --ff-head: "Oswald", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ff-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;              /* jamais hidden (règle Lenis) */
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---------------------------------------------------------------- Type */
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
.display { font-family: var(--ff-display); font-weight: 400; letter-spacing: .005em; line-height: 1.02; text-transform: uppercase; }

.h-hero { font-size: clamp(2.9rem, 9vw, 6.6rem); }
.h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
.h2 { font-size: clamp(1.7rem, 4vw, 2.9rem); }
.h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); }

.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--muted); }
.muted { color: var(--muted); }
.up { text-transform: uppercase; letter-spacing: .16em; }

/* ---------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.6rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.6rem, 5vw, 4rem); }
.section--alt { background: var(--ink-1); }
.section--line { border-top: 1px solid var(--line); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mw-60 { max-width: 60ch; }
.mw-52 { max-width: 52ch; }
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--ff-head); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .18em; color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.eyebrow--blue { color: #6ea2ff; }
.eyebrow--blue::before { background: #6ea2ff; }
.eyebrow--center { justify-content: center; }

.section-head { max-width: 64ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: .7rem; }
.section-head p { margin-top: .9rem; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--ff-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  font-size: .92rem; padding: .95rem 1.5rem; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  will-change: transform;
}
.btn .ico { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn:active { transform: translateY(0); }
.btn--red { --bg: var(--red); }
.btn--blue { --bg: var(--blue); }
.btn--blue:hover { box-shadow: 0 18px 40px -16px rgba(31, 95, 214, .55); }
.btn--ghost { --bg: transparent; --fg: var(--text); border: 1px solid var(--line-2); }
.btn--ghost:hover { --bg: rgba(255,255,255,.06); box-shadow: none; border-color: var(--white); }
.btn--white { --bg: #fff; --fg: #0a0d15; }
.btn--sm { padding: .62rem 1.05rem; font-size: .82rem; }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* ---------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 60; }
.topbar { background: #05070c; border-bottom: 1px solid var(--line); font-size: .82rem; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); }
.topbar__item .ico { width: 15px; height: 15px; color: var(--red); }
.topbar__item:hover { color: var(--text); }
.topbar__right { display: flex; align-items: center; gap: 1.1rem; }
.topbar__icon { color: var(--muted); }
.topbar__icon .ico { width: 17px; height: 17px; }
.topbar__icon:hover { color: var(--text); }
@media (max-width: 640px) { .topbar__row > .topbar__item:first-child { display: none; } }

.navbar {
  background: rgba(10, 13, 21, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
.site-header.is-scrolled .navbar { background: rgba(7, 9, 15, .95); border-color: var(--line-2); }
.navbar__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__logo { width: 42px; height: 42px; object-fit: contain; }
.brand__name { font-family: var(--ff-display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.brand__name .accent { color: var(--red); }
.brand__sub { display: block; font-family: var(--ff-body); font-weight: 600; font-size: .58rem; letter-spacing: .28em; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative; font-family: var(--ff-head); font-weight: 500; text-transform: uppercase;
  letter-spacing: .04em; font-size: .86rem; color: var(--muted); padding: .5rem .7rem; border-radius: 8px;
  transition: color .2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .18rem; height: 2px; background: var(--red); border-radius: 2px;
}
.nav__cta { margin-left: .5rem; }
@media (max-width: 1040px) { .nav { display: none; } }

.nav-toggle { display: none; padding: .4rem; color: var(--text); }
.nav-toggle .ico { width: 28px; height: 28px; }
@media (max-width: 1040px) { .nav-toggle { display: inline-flex; } }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 80; background: var(--ink); display: flex; flex-direction: column; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); border-bottom: 1px solid var(--line); }
.mobile-nav { display: flex; flex-direction: column; padding: 1.2rem var(--gutter); gap: .2rem; overflow-y: auto; flex: 1; }
.mobile-nav a { font-family: var(--ff-head); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: 1.5rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.mobile-nav a:active { color: var(--red); }
.mobile-menu__foot { padding: 1.2rem var(--gutter); display: grid; gap: .7rem; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- Hero (clair, split) */
.hero { position: relative; overflow: hidden; background: var(--ink); isolation: isolate;
  padding-block: clamp(2.4rem, 6vw, 5rem) clamp(2.8rem, 7vw, 5.5rem); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 92% 8%, rgba(31,95,214,.10), transparent 60%),
    radial-gradient(55% 65% at 4% 96%, rgba(228,0,43,.08), transparent 60%); }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(1.6rem, 4vw, 3.6rem); align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 2rem; } }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem; border-radius: 999px;
  background: rgba(228,0,43,.07); border: 1px solid var(--line-2); font-size: .82rem; color: var(--text);
  font-family: var(--ff-head); text-transform: uppercase; letter-spacing: .1em;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(228,0,43,.18); }
.hero h1 { margin-top: 1.2rem; color: var(--text); }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--red); -webkit-text-stroke: 0; }
.hero__lead { margin-top: 1.3rem; max-width: 48ch; }
.hero__cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__trust { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 3vw, 2.4rem); }
.hero__trust li { display: flex; flex-direction: column; gap: .1rem; }
.hero__trust b { font-family: var(--ff-display); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1; color: var(--text); }
.hero__trust span { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hero__figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2;
  border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(16,22,35,.4); }
.hero__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__figbadge { position: absolute; left: 1rem; bottom: 1rem; display: flex; flex-direction: column; align-items: center;
  background: var(--red); color: #fff; padding: .55rem .9rem; border-radius: 12px; box-shadow: var(--shadow); }
.hero__figbadge b { font-family: var(--ff-display); font-size: 1.5rem; line-height: 1; }
.hero__figbadge span { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; }
@media (max-width: 900px) { .hero__figure { aspect-ratio: 16 / 11; } }

/* Ruban de stats sous le hero */
.statband { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-1); }
.statband__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.statband__cell { padding: clamp(1.4rem, 3vw, 2.2rem) var(--gutter); text-align: center; border-right: 1px solid var(--line); }
.statband__cell:last-child { border-right: 0; }
.statband__num { font-family: var(--ff-display); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; color: var(--white); }
.statband__num .accent { color: var(--red); }
.statband__label { margin-top: .5rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
@media (max-width: 720px) {
  .statband__grid { grid-template-columns: repeat(2, 1fr); }
  .statband__cell:nth-child(2) { border-right: 0; }
  .statband__cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- Cards */
.card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 2.4vw, 1.8rem); transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--ink-3); }
.card__ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(228,0,43,.12); color: var(--red); margin-bottom: 1rem; }
.card__ico .ico { width: 24px; height: 24px; }
.card__ico--blue { background: rgba(31,95,214,.14); color: #6ea2ff; }
.card h3 { font-size: 1.15rem; }
.card p { margin-top: .5rem; color: var(--muted); font-size: .95rem; }

/* Cartes équipe */
.team-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; }
.team-card:hover { transform: translateY(-5px); border-color: var(--line-2); }
.team-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team-card:hover .team-card__media img { transform: scale(1.05); }
.team-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,13,21,.9)); }
.team-card__tag { position: absolute; top: .9rem; left: .9rem; z-index: 2; padding: .32rem .7rem; border-radius: 999px; font-family: var(--ff-head); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; background: var(--red); color: #fff; }
.team-card__tag--blue { background: var(--blue); }
.team-card__tag--slate { background: rgba(255,255,255,.14); }
.team-card__body { padding: 1.2rem 1.3rem 1.4rem; }
.team-card__body h3 { font-size: 1.3rem; }
.team-card__meta { margin-top: .3rem; color: var(--muted); font-size: .9rem; }
.team-card__link { margin-top: .9rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--red); font-family: var(--ff-head); text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.team-card__link .ico { width: 16px; height: 16px; transition: transform .25s; }
.team-card:hover .team-card__link .ico { transform: translateX(4px); }

/* Roster / listes */
.roster { display: grid; gap: .6rem; }
.roster__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.roster__row strong { font-family: var(--ff-head); font-weight: 500; }
.roster__badge { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------------------------------------------------------------- Split media */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.4rem); align-items: center; }
.split--rev .split__media { order: -1; }
@media (max-width: 860px) { .split, .split--rev { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 5 / 4; background: var(--ink-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__badge { position: absolute; left: 1.1rem; bottom: 1.1rem; background: var(--red); color: #fff; padding: .7rem 1rem; border-radius: 12px; box-shadow: var(--shadow); }
.split__badge b { font-family: var(--ff-display); font-size: 1.7rem; display: block; line-height: 1; }
.split__badge span { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
.checklist { display: grid; gap: .8rem; margin-top: 1.4rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .ico { flex: none; width: 22px; height: 22px; color: var(--red); margin-top: 2px; }

/* ---------------------------------------------------------------- News */
.news-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; height: 100%; }
.news-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.news-card__date { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red); font-family: var(--ff-head); }
.news-card__body h3 { font-size: 1.12rem; margin-top: .5rem; }
.news-card__body p { color: var(--muted); font-size: .92rem; margin-top: .5rem; }
.news-card__more { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--ff-head); text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; color: var(--text); }
.news-card__more .ico { width: 16px; height: 16px; color: var(--red); transition: transform .25s; }
.news-card:hover .news-card__more .ico { transform: translateX(4px); }

/* ---------------------------------------------------------------- Sponsors */
.sponsor-cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.6rem);
  background: linear-gradient(120deg, var(--blue-700), var(--blue-600) 45%, var(--red-700));
  border: 1px solid var(--line-2);
}
.sponsor-cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255,255,255,.04) 46px 47px); }
.sponsor-cta__inner { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; }
@media (max-width: 780px) { .sponsor-cta__inner { grid-template-columns: 1fr; } }
.sponsor-cta h2 { color: #fff; }
.sponsor-cta p { color: rgba(255,255,255,.85); margin-top: .8rem; }
.sponsor-cta__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
.logo-wall__item {
  aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 1rem; border-radius: var(--radius-sm);
  background: var(--ink-2); border: 1px solid var(--line); transition: border-color .3s, transform .3s;
}
.logo-wall__item:hover { border-color: var(--line-2); transform: translateY(-3px); }
.logo-wall__item img { max-height: 62px; width: auto; object-fit: contain; filter: brightness(0) invert(1) opacity(.75); transition: filter .3s; }
.logo-wall__item:hover img { filter: none; }
.logo-wall__placeholder { font-family: var(--ff-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); font-size: .85rem; text-align: center; }

/* Packs sponsoring */
.pack { display: flex; flex-direction: column; height: 100%; }
.pack.is-featured { border-color: var(--red); box-shadow: var(--shadow-red); position: relative; }
.pack__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-family: var(--ff-head); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; padding: .3rem .9rem; border-radius: 999px; }
.pack__name { font-family: var(--ff-head); text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; }
.pack__price { font-family: var(--ff-display); font-size: 2.4rem; margin-top: .4rem; line-height: 1; }
.pack__price span { font-family: var(--ff-body); font-size: .9rem; color: var(--muted); font-weight: 500; }
.pack__list { display: grid; gap: .6rem; margin: 1.2rem 0 1.5rem; }
.pack__list li { display: flex; gap: .55rem; font-size: .92rem; color: var(--muted); }
.pack__list .ico { flex: none; width: 18px; height: 18px; color: var(--red); margin-top: 3px; }
.pack .btn { margin-top: auto; }

/* ---------------------------------------------------------------- Gallery */
.gallery { columns: 3 240px; column-gap: 1rem; }
.gallery figure { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; position: relative; }
.gallery img { width: 100%; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem .9rem; font-size: .8rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transition: opacity .3s; }
.gallery figure:hover figcaption { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5,7,12,.92); display: grid; place-items: center; padding: 2rem; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: var(--radius-sm); }
.lightbox__cap { text-align: center; color: var(--muted); margin-top: .9rem; font-size: .9rem; }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.2rem; color: #fff; }
.lightbox__close .ico { width: 30px; height: 30px; }

/* ---------------------------------------------------------------- Docs / Boutique */
.doc-row { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .3s, transform .3s; }
.doc-row:hover { border-color: var(--line-2); transform: translateX(4px); }
.doc-row__ico { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: rgba(31,95,214,.14); color: #6ea2ff; }
.doc-row__ico .ico { width: 22px; height: 22px; }
.doc-row__txt { flex: 1; }
.doc-row__txt strong { font-family: var(--ff-head); font-weight: 500; }
.doc-row__txt span { display: block; font-size: .82rem; color: var(--muted); }
.doc-row__dl { color: var(--red); }
.doc-row__dl .ico { width: 22px; height: 22px; }

.shop-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; height: 100%; }
.shop-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.shop-card__media { aspect-ratio: 1; background: var(--ink-3); display: grid; place-items: center; overflow: hidden; }
.shop-card__media img { width: 100%; height: 100%; object-fit: cover; }
.shop-card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.shop-card__body h3 { font-size: 1.05rem; }
.shop-card__body p { color: var(--muted); font-size: .88rem; margin-top: .3rem; }
.shop-card__foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; }
.shop-card__price { font-family: var(--ff-display); font-size: 1.4rem; }

/* ---------------------------------------------------------------- Accordion / FAQ */
.acc { display: grid; gap: .7rem; }
.acc__item { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; text-align: left; font-family: var(--ff-head); font-weight: 500; font-size: 1.02rem; }
.acc__q .ico { flex: none; width: 22px; height: 22px; color: var(--red); transition: transform .3s; }
.acc__item.is-open .acc__q .ico { transform: rotate(180deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc__a > div { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ---------------------------------------------------------------- Contact / form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 1rem; margin-top: 1.4rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .ico { flex: none; width: 22px; height: 22px; color: var(--red); margin-top: 3px; }
.info-list strong { display: block; font-family: var(--ff-head); font-weight: 500; }
.info-list a, .info-list span { color: var(--muted); }
.info-list a:hover { color: var(--text); }

.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--ff-head); }
.field input, .field textarea, .field select {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .85rem 1rem; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(228,0,43,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.form__note { font-size: .8rem; color: var(--muted-2); }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 1.4rem; }
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; filter: grayscale(.3) invert(.92) hue-rotate(180deg); }

/* ---------------------------------------------------------------- Breadcrumb */
.crumb { padding-top: 1.4rem; font-size: .82rem; color: var(--muted); display: flex; gap: .5rem; flex-wrap: wrap; }
.crumb a:hover { color: var(--text); }
.crumb span { color: var(--muted-2); }

.page-hero { position: relative; overflow: hidden; padding-block: clamp(2.6rem, 6vw, 4.4rem); border-bottom: 1px solid var(--line); background: var(--ink-1); isolation: isolate; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 120% at 100% 0%, rgba(31,95,214,.16), transparent 55%), radial-gradient(80% 120% at 0% 100%, rgba(228,0,43,.14), transparent 55%); }
.page-hero h1 { margin-top: .6rem; }
.page-hero p { margin-top: .8rem; max-width: 60ch; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: #05070c; border-top: 1px solid var(--line); margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-block: clamp(2.6rem, 5vw, 4rem); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand .brand { margin-bottom: 1rem; }
.footer__pitch { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--line); color: var(--muted); transition: all .25s; }
.footer__social a:hover { color: #fff; border-color: var(--red); background: var(--red); }
.footer__social .ico { width: 18px; height: 18px; }
.footer__col h3 { font-family: var(--ff-head); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a { color: var(--text); font-size: .92rem; }
.footer__col a:hover { color: var(--red); }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .7rem; font-size: .92rem; color: var(--muted); }
.footer__contact .ico { flex: none; width: 18px; height: 18px; color: var(--red); margin-top: 3px; }
.footer__bottom { border-top: 1px solid var(--line); }
.footer__bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.2rem; font-size: .82rem; color: var(--muted); }
.footer__legal { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer__legal a:hover, .footer__credit a { color: var(--text); }
.footer__credit a:hover { color: var(--red); }

/* ---------------------------------------------------------------- Float CTA */
.float-cta {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 70; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--red); color: #fff; padding: .8rem 1.15rem; border-radius: 999px; box-shadow: var(--shadow-red);
  font-family: var(--ff-head); text-transform: uppercase; letter-spacing: .06em; font-size: .84rem;
  transition: transform .25s var(--ease);
}
.float-cta:hover { transform: translateY(-3px); }
.float-cta .ico { width: 20px; height: 20px; }
@media (max-width: 560px) { .float-cta span { display: none; } .float-cta { padding: .85rem; } }

/* ---------------------------------------------------------------- Utils / a11y */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--red); color: #fff; padding: .7rem 1rem; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.divider { height: 1px; background: var(--line); border: 0; }
.tag { display: inline-block; padding: .3rem .75rem; border-radius: 999px; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--ff-head); background: var(--ink-3); color: var(--muted); border: 1px solid var(--line); }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Reveal (état initial JS-driven — sûr si JS off grâce à la classe .no-js) */
.reveal { opacity: 1; }

/* ==========================================================================
   THÈME CLAIR — overrides (fond blanc). Le hero et le footer restent sombres
   volontairement (effet « bookend » premium) ; tout le reste passe en clair.
   ========================================================================== */

/* --- Cartes : élévation douce sur fond blanc --- */
.card, .team-card, .news-card, .shop-card, .logo-wall__item,
.doc-row, .acc__item, .roster__row, .split__media, .map-embed, .pack {
  box-shadow: 0 1px 2px rgba(16,22,35,.04), 0 14px 34px -22px rgba(16,22,35,.28);
}
.card:hover, .team-card:hover, .news-card:hover, .shop-card:hover, .doc-row:hover {
  box-shadow: 0 4px 10px rgba(16,22,35,.06), 0 22px 44px -20px rgba(16,22,35,.32);
}

/* --- Boutons ghost sur fond clair --- */
.btn--ghost { --fg: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { --bg: rgba(16,22,35,.05); border-color: var(--text); box-shadow: none; }

/* --- Accents bleus lisibles sur blanc --- */
.eyebrow--blue { color: var(--blue); }
.eyebrow--blue::before { background: var(--blue); }
.card__ico--blue { color: var(--blue); }
.doc-row__ico { color: var(--blue); }

/* --- Topbar : bandeau sombre, texte clair --- */
.topbar { background: var(--ink-dark); border-bottom-color: rgba(255,255,255,.08); }
.topbar__item, .topbar__icon { color: rgba(255,255,255,.72); }
.topbar__item:hover, .topbar__icon:hover { color: #fff; }

/* --- Navbar : verre blanc --- */
.navbar { background: rgba(255,255,255,.82); border-bottom-color: var(--line); }
.site-header.is-scrolled .navbar { background: rgba(255,255,255,.96); border-color: var(--line-2); box-shadow: 0 10px 30px -18px rgba(16,22,35,.25); }

/* --- Statband : chiffres foncés --- */
.statband__num { color: var(--text); }

/* --- Mur de sponsors : logos réels en couleur (pas d'inversion) --- */
.logo-wall__item { background: #fff; }
.logo-wall__item img { filter: grayscale(1); opacity: .7; }
.logo-wall__item:hover img { filter: none; opacity: 1; }

/* --- Carte Google : rendu clair normal --- */
.map-embed iframe { filter: grayscale(.15); }

/* --- FOOTER : reste sombre, texte clair --- */
.site-footer { background: var(--ink-dark); border-top-color: rgba(255,255,255,.08); }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__name .accent { color: var(--red); }
.site-footer .brand__sub { color: rgba(255,255,255,.55); }
.footer__pitch { color: rgba(255,255,255,.62); }
.footer__col h3 { color: rgba(255,255,255,.5); }
.footer__col a { color: rgba(255,255,255,.82); }
.footer__col a:hover { color: #fff; }
.footer__contact li { color: rgba(255,255,255,.62); }
.footer__social a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.72); }
.footer__bottom { border-top-color: rgba(255,255,255,.08); }
.footer__bottom-row { color: rgba(255,255,255,.55); }
.footer__legal a:hover, .footer__credit a { color: rgba(255,255,255,.82); }
.footer__credit a:hover { color: var(--red); }
