/* =========================================================
   US Ribemont-Mézières — feuille de style principale
   Couleurs du club : rouge, blanc, noir
   ========================================================= */
:root {
  --red: #d0102b;
  --red-dark: #a10b20;
  --red-soft: #fde8eb;
  --black: #0e0e10;
  --ink: #18181b;
  --graphite: #232327;
  --grey-700: #3f3f46;
  --grey-500: #6b6b73;
  --grey-300: #d4d4d8;
  --grey-100: #f4f4f5;
  --white: #ffffff;
  --win: #15803d;
  --draw: #a16207;
  --loss: #b91c1c;

  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 6px;
  --shadow: 0 10px 30px -12px rgb(0 0 0 / .25);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.4rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.small { font-size: .875rem; }
.t-left { text-align: left !important; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .9em 1.5em; border-radius: var(--radius); border: 2px solid transparent; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; line-height: 1; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); color: var(--white); }
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { color: var(--red); }
.btn--ghost { border-color: rgb(255 255 255 / .6); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgb(255 255 255 / .1); color: var(--white); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--red); color: var(--white); }
.btn--outline { border-color: var(--black); color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--sm { padding: .7em 1.1em; font-size: .95rem; }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }

/* ---------- Éléments ---------- */
.tag { display: inline-block; padding: .2em .6em; border-radius: 3px; background: var(--red); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.5; }
.tag--dark { background: var(--black); }
.tag--warn { background: #f59e0b; color: var(--black); }
.todo { display: block; margin: .5em 0; padding: .5em .8em; border: 1px dashed #d97706; border-radius: 4px; background: #fffbeb; color: #92400e; font: 500 .8rem/1.4 var(--font-body); text-transform: none; letter-spacing: 0; }
.empty { color: var(--grey-500); font-style: italic; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.8rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose img { border-radius: var(--radius); margin-block: 1.5em; }
.prose blockquote { margin: 1.5em 0; padding: .5em 1.2em; border-left: 4px solid var(--red); font-size: 1.15rem; font-style: italic; }
.prose ul { padding-left: 1.2em; }

.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: .6em; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--grey { background: var(--grey-100); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.stripe { height: 6px; background: linear-gradient(90deg, var(--red) 0 60%, var(--white) 60% 70%, var(--red) 70%); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--black); border-bottom: 3px solid var(--red); color: var(--white); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; min-width: 0; }
.brand:hover { color: var(--white); }
.brand__logo { width: 48px; height: 48px; object-fit: contain; }
.brand__text { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; line-height: 1; }
.brand__us { color: var(--white); background: var(--red); padding: .1em .3em; margin-right: .1em; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__item > a { display: block; padding: 10px 12px; color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; text-transform: uppercase; letter-spacing: .05em; position: relative; }
.nav__item > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s ease; transform-origin: left; }
.nav__item > a:hover::after, .nav__item > a[aria-current]::after { transform: scaleX(1); }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px 0; background: var(--black); border-top: 3px solid var(--red); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s ease; }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 8px 18px; color: var(--grey-300); text-decoration: none; font-size: .95rem; }
.nav__sub a:hover { color: var(--white); background: var(--graphite); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.burger span:not(.sr) { display: block; height: 2px; background: var(--white); margin: 6px 0; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1200px) {
  .burger { display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 60; flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 32px; background: var(--black); overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; visibility: hidden; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; }
  .nav__item > a { font-size: 1.5rem; padding: 12px 0; border-bottom: 1px solid var(--graphite); }
  .nav__item > a::after { display: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: transparent; padding: 4px 0 8px 12px; }
  .nav__cta { margin-top: 24px; justify-content: center; font-size: 1.15rem; padding: 1em; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand__text { font-size: 1.1rem; } }

/* ---------- Bannière d'accueil ---------- */
.hero { position: relative; isolation: isolate; min-height: min(88vh, 820px); display: flex; align-items: center; color: var(--white); background: var(--black); overflow: hidden; padding-block: 72px 140px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img, .hero__bg picture { width: 100%; height: 100%; object-fit: cover; }
.hero__bg picture img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(14 14 16 / .92) 0%, rgb(14 14 16 / .65) 45%, rgb(14 14 16 / .2) 100%), linear-gradient(0deg, rgb(14 14 16 / .85), transparent 40%); }
.hero--nophoto .hero__bg { background: radial-gradient(ellipse at 80% 20%, #3a0a12 0%, transparent 55%), radial-gradient(ellipse at 10% 90%, #2a080d 0%, transparent 50%), var(--black); }
.hero__pitch { position: absolute; right: -8%; top: 50%; width: min(70vw, 900px); transform: translateY(-50%) rotate(-8deg); opacity: .14; z-index: -1; }
.hero__slash { position: absolute; z-index: -1; top: -10%; bottom: -10%; right: 18%; width: 90px; background: var(--red); transform: skewX(-14deg); opacity: .9; box-shadow: 140px 0 0 -20px rgb(255 255 255 / .9), 220px 0 0 -30px var(--red); }
.hero__content { max-width: 760px; }
.hero__logo { width: 96px; height: 96px; object-fit: contain; margin-bottom: 20px; }
.hero__kicker { font-family: var(--font-display); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--grey-300); margin-bottom: 10px; }
.hero h1 { margin-bottom: .15em; font-size: clamp(2.8rem, 9vw, 6.2rem); line-height: .92; }
.hero h1 .red { color: var(--red); display: block; }
.hero__slogan { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 500; font-style: italic; margin-bottom: 32px; color: var(--grey-100); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .hero__slash { right: -20px; width: 50px; opacity: .55; box-shadow: none; } }

/* ---------- Bandeau match (chevauche la bannière) ---------- */
.matchbar { position: relative; z-index: 2; margin-top: -96px; }
.matchbar__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.next-match { background: var(--white); padding: 28px clamp(20px, 3vw, 36px); border-top: 5px solid var(--red); }
.next-match__label { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.next-match__label h2 { font-size: 1.5rem; margin: 0; }
.next-match__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; text-align: center; }
.team-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; line-height: 1.1; }
.team-badge__crest { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--grey-100); color: var(--grey-700); }
.team-badge__crest img { width: 52px; height: 52px; object-fit: contain; }
.team-badge--us .team-badge__crest { background: var(--red); color: var(--white); }
.next-match__vs { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.next-match__vs b { font-family: var(--font-display); font-size: 2rem; color: var(--red); }
.next-match__info { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--grey-100); color: var(--grey-700); font-size: .92rem; }
.next-match__info span { display: inline-flex; align-items: center; gap: 6px; }
.next-match__empty { text-align: center; padding: 12px 0; color: var(--grey-700); }
.last-results { background: var(--black); color: var(--white); padding: 28px clamp(20px, 3vw, 36px); }
.last-results h2 { font-size: 1.5rem; color: var(--white); }
.last-results ul { list-style: none; margin: 0 0 14px; padding: 0; }
.mini-res { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--graphite); }
.mini-res__team { font-size: .78rem; color: var(--grey-300); text-transform: uppercase; letter-spacing: .06em; }
.mini-res__opp { font-weight: 600; }
.mini-res__score { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.last-results .empty { color: var(--grey-300); }
.last-results a { color: var(--white); }
@media (max-width: 860px) { .matchbar__grid { grid-template-columns: 1fr; } }

/* ---------- Résultats ---------- */
.badge-res { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; font-family: var(--font-display); font-weight: 800; color: var(--white); font-size: 1rem; }
.badge-res--V { background: var(--win); }
.badge-res--N { background: var(--draw); }
.badge-res--D { background: var(--loss); }
.match-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.match-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; background: var(--white); border: 1px solid var(--grey-300); border-left: 4px solid var(--grey-300); border-radius: var(--radius); }
.match-row.res-V { border-left-color: var(--win); }
.match-row.res-N { border-left-color: var(--draw); }
.match-row.res-D { border-left-color: var(--loss); }
.match-row.is-off { opacity: .65; }
.match-row__date { display: flex; flex-direction: column; font-family: var(--font-display); text-transform: uppercase; line-height: 1.1; }
.match-row__date strong { font-size: 1.15rem; }
.match-row__date span { color: var(--grey-500); }
.match-row__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: .8rem; color: var(--grey-500); margin-bottom: 4px; }
.match-row__teams { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-weight: 600; }
.match-row__teams .is-us { color: var(--red); }
.match-row__teams .score { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; background: var(--black); color: var(--white); padding: 0 .45em; border-radius: 3px; }
.match-row__teams .score i { font-style: normal; margin-inline: .2em; opacity: .6; }
.match-row__teams .vs { color: var(--grey-500); font-size: .85rem; text-transform: uppercase; }
.match-row__end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ha { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-500); }
.match-row__link { font-size: .85rem; font-weight: 600; }
@media (max-width: 600px) { .match-row { grid-template-columns: 58px 1fr; } .match-row__end { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; } }

.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: thin; }
.tabs a { flex: none; padding: 10px 18px; border-radius: 999px; background: var(--grey-100); color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tabs a[aria-selected="true"], .tabs a:hover { background: var(--black); color: var(--white); }
.tab-panel + .tab-panel { margin-top: 64px; }
.js .tab-panel[hidden] { display: none; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .cols-2 { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--grey-300); border-radius: var(--radius); }
.standings { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--white); }
.standings caption { text-align: left; padding: 12px 14px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; background: var(--black); color: var(--white); letter-spacing: .04em; }
.standings th, .standings td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--grey-100); }
.standings thead th { font-size: .78rem; text-transform: uppercase; color: var(--grey-500); }
.standings tbody th { font-weight: 500; }
.standings tr.is-us { background: var(--red-soft); }
.standings tr.is-us th { font-weight: 700; color: var(--red-dark); }
@media (max-width: 560px) { .hide-sm { display: none; } }

/* ---------- Actualités ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-grid--home { grid-template-columns: 1.4fr 1fr 1fr; }
.news-grid--home .card-news--large { grid-row: span 2; }
@media (max-width: 1000px) { .news-grid, .news-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); } .news-grid--home .card-news--large { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 640px) { .news-grid, .news-grid--home { grid-template-columns: 1fr; } }
.card-news { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--grey-300); transition: transform .25s ease, box-shadow .25s ease; display: flex; }
.card-news:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-news__link { display: flex; flex-direction: column; color: inherit; text-decoration: none; width: 100%; }
.card-news__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--black); }
.card-news__media img, .card-news__media picture { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-news:hover .card-news__media img { transform: scale(1.04); }
.card-news__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-news__meta { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--grey-500); margin-bottom: 10px; }
.card-news__title { font-size: 1.45rem; color: var(--ink); }
.card-news--large .card-news__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.card-news__body p { color: var(--grey-700); font-size: .95rem; }
.card-news .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.section--grey .card-news { box-shadow: none; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; position: relative; overflow: hidden; background: repeating-linear-gradient(-45deg, #18181b 0 18px, #1d1d21 18px 36px); }
.ph::before { content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 26%; background: var(--red); transform: skewY(-8deg); }
.ph span { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.ph--photo span { font-size: 1rem; font-weight: 600; opacity: .8; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { border: 1px solid var(--grey-300); background: var(--white); padding: 8px 16px; border-radius: 999px; font: 600 .9rem var(--font-body); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }

/* ---------- Article ---------- */
.article-hero { position: relative; background: var(--black); color: var(--white); padding-block: 56px 48px; overflow: hidden; }
.article-hero::after { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 140px; background: var(--red); transform: skewX(-14deg); opacity: .85; }
.article-hero .container { position: relative; z-index: 1; }
.article-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 22ch; }
.article-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; color: var(--grey-300); }
.breadcrumb { font-size: .85rem; margin-bottom: 18px; color: var(--grey-300); }
.breadcrumb a { color: var(--grey-300); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.article-cover { margin-top: -24px; position: relative; z-index: 2; }
.article-cover img, .article-cover picture { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-block: 48px 80px; }
.article-layout .lead { font-size: 1.2rem; font-weight: 500; color: var(--grey-700); }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; gap: 32px; } }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share__title { width: 100%; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius); border: 0; font: 600 .9rem var(--font-body); color: var(--white); text-decoration: none; cursor: pointer; }
.share .fb { background: #1877f2; }
.share .wa { background: #1fa855; }
.share .cp { background: var(--black); }
.share .native { background: var(--red); }
.share a:hover, .share button:hover { color: var(--white); filter: brightness(1.1); }
.aside-box { background: var(--grey-100); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; }
.aside-box h2 { font-size: 1.2rem; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li { padding: 10px 0; border-bottom: 1px solid var(--grey-300); }
.aside-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.aside-list a:hover { color: var(--red); }
.aside-list time { display: block; font-size: .8rem; color: var(--grey-500); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--grey-100); }
.gallery img, .gallery picture { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; background: linear-gradient(transparent, rgb(0 0 0 / .75)); color: var(--white); font-size: .82rem; }
.gallery a { display: block; height: 100%; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgb(0 0 0 / .92); display: grid; place-items: center; padding: 24px; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; }
.lightbox img { max-height: 86vh; width: auto; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); font-size: 1.6rem; cursor: pointer; }

/* ---------- Présentation + chiffres ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius); overflow: hidden; }
.about__media img, .about__media picture { width: 100%; height: 100%; object-fit: cover; }
.about__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 45%; height: 8px; background: var(--red); }
.about__text { font-size: 1.08rem; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

.stats { background: var(--red); color: var(--white); position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-60deg, transparent 0 40px, rgb(0 0 0 / .06) 40px 80px); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 20px; text-align: center; border-right: 1px solid rgb(255 255 255 / .25); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }
.stat__detail { display: block; font-size: .85rem; opacity: .85; }
@media (max-width: 760px) { .stats__grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / .25); } }

/* ---------- Équipes ---------- */
.teams-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.team-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 22px; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none; background: var(--graphite); isolation: isolate; }
.team-card > img, .team-card > picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.team-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 30%, rgb(14 14 16 / .92)); }
.team-card__bgnum { position: absolute; top: 10px; right: 14px; z-index: -1; font-family: var(--font-display); font-weight: 800; font-size: 7rem; line-height: 1; color: rgb(255 255 255 / .06); }
.team-card:hover { color: var(--white); }
.team-card:hover > img { transform: scale(1.05); }
.team-card__group { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-300); }
.team-card h3 { font-size: 1.8rem; margin: 4px 0 6px; }
.team-card .more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--white); }
.team-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 0; background: var(--red); transition: width .35s ease; }
.team-card:hover::after { width: 100%; }

.team-hero { position: relative; isolation: isolate; background: var(--black); color: var(--white); padding-block: 72px 56px; overflow: hidden; }
.team-hero > img, .team-hero > picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; }
.team-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--black) 20%, transparent); }
.team-hero h1 { margin-bottom: .2em; }
.team-nav { position: sticky; top: var(--header-h); z-index: 10; background: var(--white); border-bottom: 1px solid var(--grey-300); }
.team-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; }
.team-nav a { display: block; padding: 14px 14px; white-space: nowrap; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-bottom: 3px solid transparent; }
.team-nav a:hover { border-bottom-color: var(--red); }
.squad { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.player { background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius); overflow: hidden; text-align: center; }
.player__photo { aspect-ratio: 1; background: linear-gradient(160deg, var(--graphite), var(--black)); display: grid; place-items: center; color: rgb(255 255 255 / .3); position: relative; }
.player__photo img, .player__photo picture { width: 100%; height: 100%; object-fit: cover; }
.player__num { position: absolute; top: 8px; left: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--red); line-height: 1; }
.player__body { padding: 10px 10px 14px; }
.player__name { font-weight: 700; line-height: 1.2; }
.player__role { font-size: .8rem; color: var(--grey-500); text-transform: uppercase; letter-spacing: .05em; }
.pos-title { font-size: 1.1rem; color: var(--grey-500); margin: 28px 0 12px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.info-list li { display: flex; gap: 10px; align-items: flex-start; }

/* ---------- Partenaires ---------- */
.partners-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.partner-logo { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 18px; background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius); transition: border-color .2s, transform .2s; color: var(--grey-500); text-decoration: none; text-align: center; }
.partner-logo:hover { border-color: var(--red); transform: translateY(-3px); }
.partner-logo img { max-height: 90px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: .25s; }
.partner-logo:hover img { filter: none; opacity: 1; }
.partner-logo--empty { border-style: dashed; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.tier { margin-bottom: 64px; }
.tier__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.tier__head h2 { margin: 0; }
.medal { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--black); }
.medal--OR { background: linear-gradient(135deg, #f7d774, #c9a227); }
.medal--ARGENT { background: linear-gradient(135deg, #f1f1f1, #a8a9ad); }
.medal--BRONZE { background: linear-gradient(135deg, #e3a76f, #a0612a); }
.partner-grid { display: grid; gap: 20px; }
.partner-grid--OR { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.partner-grid--ARGENT { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.partner-grid--BRONZE { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 420px) { .partner-grid--OR, .partner-grid--ARGENT { grid-template-columns: 1fr; } }
.partner-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius); overflow: hidden; }
.partner-card--OR { border-top: 5px solid #c9a227; }
.partner-card--ARGENT { border-top: 5px solid #a8a9ad; }
.partner-card--BRONZE { border-top: 5px solid #a0612a; }
.partner-card__logo { display: grid; place-items: center; height: 150px; padding: 20px; background: var(--grey-100); }
.partner-card--BRONZE .partner-card__logo { height: 110px; }
.partner-card__logo img { max-height: 100%; width: auto; object-fit: contain; }
.partner-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.partner-card__body h3 { font-size: 1.35rem; margin-bottom: 2px; }
.partner-card__sector { font-size: .8rem; color: var(--red); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: 10px; }
.partner-card__body p { font-size: .93rem; color: var(--grey-700); }
.partner-card__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .88rem; align-items: center; }
.partner-card__links a { display: inline-flex; align-items: center; gap: 5px; }

.cta-band { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding-block: clamp(56px, 8vw, 96px); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; z-index: -1; right: -5%; top: -20%; bottom: -20%; width: 45%; background: var(--red); transform: skewX(-14deg); }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: 42%; top: -20%; bottom: -20%; width: 24px; background: var(--white); transform: skewX(-14deg); }
.cta-band__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 4.6vw, 3.4rem); }
.cta-band p { color: var(--grey-300); font-size: 1.1rem; max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } .cta-band::before { width: 30%; right: -15%; opacity: .7; } .cta-band::after { display: none; } }

.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.benefit { padding: 26px; background: var(--white); border-radius: var(--radius); border-bottom: 4px solid var(--red); }
.benefit__n { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--red); }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; } }
.offer { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius); padding: 28px; }
.offer--OR { border: 2px solid #c9a227; box-shadow: var(--shadow); }
.offer__price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.offer ul { padding-left: 1.1em; margin: 0 0 20px; }
.offer .btn { margin-top: auto; justify-content: center; }

/* ---------- Club ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2px; background: var(--graphite); border-radius: var(--radius); overflow: hidden; }
.value { background: var(--black); padding: 28px 24px; }
.value h3 { color: var(--white); display: flex; align-items: center; gap: 10px; }
.value h3::before { content: ""; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); }
.value p { color: var(--grey-300); font-size: .95rem; margin: 0; }
.fields { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.field-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--graphite); color: var(--white); min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate; }
.field-card:first-child { grid-row: span 2; min-height: 420px; }
.field-card > img, .field-card > picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.field-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 20%, rgb(0 0 0 / .85)); }
.field-card__pitch { position: absolute; inset: 14px; z-index: -1; opacity: .18; }
.field-card--synth { background: linear-gradient(140deg, #14532d, #052e16); }
.field-card--grass { background: linear-gradient(140deg, #3f6212, #1a2e05); }
.field-card h3 { font-size: 1.8rem; margin-bottom: 6px; }
.field-card p { margin: 0; color: var(--grey-100); max-width: 46ch; }
.field-card .tag { align-self: flex-start; margin-bottom: 10px; }
@media (max-width: 760px) { .fields { grid-template-columns: 1fr; } .field-card:first-child { grid-row: auto; min-height: 300px; } }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.person { display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--grey-300); }
.person__photo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; background: var(--grey-100); display: grid; place-items: center; color: var(--grey-500); }
.person__photo img, .person__photo picture { width: 100%; height: 100%; object-fit: cover; }
.person strong { display: block; line-height: 1.2; }
.person span { font-size: .85rem; color: var(--grey-500); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 3px solid var(--red); }
.timeline li { position: relative; padding: 0 0 22px 12px; }
.timeline li::before { content: ""; position: absolute; left: -33px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--red); }
.timeline b { font-family: var(--font-display); font-size: 1.3rem; display: block; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; }
.subnav a { padding: 8px 14px; border: 1px solid rgb(255 255 255 / .3); border-radius: 999px; color: var(--white); text-decoration: none; font-size: .88rem; }
.subnav a:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- En-tête de page ---------- */
.page-hero { position: relative; background: var(--black); color: var(--white); padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 64px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; right: 6%; top: -30%; bottom: -30%; width: 110px; background: var(--red); transform: skewX(-14deg); }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: calc(6% + 140px); top: -30%; bottom: -30%; width: 18px; background: var(--white); transform: skewX(-14deg); opacity: .9; }
.page-hero p { color: var(--grey-300); max-width: 60ch; font-size: 1.1rem; margin-bottom: 0; }
.page-hero h1 { max-width: 18ch; }
.page-hero .subnav { margin-top: 24px; }
@media (max-width: 760px) { .page-hero::before { right: -40px; width: 60px; opacity: .7; } .page-hero::after { display: none; } }

/* ---------- Formulaires ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--grey-300); border-radius: var(--radius); font: inherit; background: var(--white); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--black); outline: none; box-shadow: 0 0 0 3px rgb(208 16 43 / .2); }
.form textarea { min-height: 150px; resize: vertical; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .85rem; color: var(--grey-700); }
.form .consent input { width: auto; margin-top: 4px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-card { background: var(--white); padding: clamp(22px, 4vw, 40px); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--red); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--grey-300); }
.contact-item__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; flex: none; }
.contact-item strong { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; }
.map { aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: var(--radius); background: var(--grey-100); }
.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.quick-actions a { display: block; padding: 20px; border-radius: var(--radius); background: var(--black); color: var(--white); text-decoration: none; border-bottom: 4px solid var(--red); transition: transform .2s; }
.quick-actions a:hover { transform: translateY(-3px); color: var(--white); }
.quick-actions strong { display: block; font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; }
.quick-actions span { font-size: .88rem; color: var(--grey-300); }
@media (max-width: 760px) { .quick-actions { grid-template-columns: 1fr; } }

/* ---------- Réseaux ---------- */
.socials { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--graphite); color: var(--white); transition: background .2s, transform .2s; }
.socials a:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }
.social-band { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .social-band { grid-template-columns: 1fr; } }
.social-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.social-card { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius); color: var(--white); text-decoration: none; font-weight: 700; }
.social-card:hover { color: var(--white); filter: brightness(1.1); }
.social-card--facebook { background: #1877f2; }
.social-card--instagram { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.social-card--tiktok { background: #111; border: 1px solid #333; }
.social-card--youtube { background: #e00; }
.fb-consent { border: 1px dashed var(--grey-500); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--grey-300); }
.fb-consent iframe { width: 100%; max-width: 500px; height: 560px; border: 0; background: var(--white); border-radius: var(--radius); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--black); color: var(--grey-300); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 48px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.footer-logo { width: 72px; height: 72px; object-fit: contain; margin-bottom: 12px; }
.footer-name { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; text-transform: uppercase; color: var(--white); margin-bottom: 4px; line-height: 1; }
.footer-slogan { font-style: italic; margin-bottom: 18px; }
.footer-title { font-size: 1.1rem; color: var(--white); letter-spacing: .08em; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--grey-300); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-contact { font-style: normal; }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 3px; color: var(--red); }
.site-footer__bottom { border-top: 1px solid var(--graphite); padding-block: 18px; font-size: .82rem; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }

/* ---------- Animations discrètes ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .share { display: none; } }
.news-item { display: flex; } .news-item > .card-news { width: 100%; } .news-item[hidden] { display: none; }

/* En-tête avec logo officiel */
.nav__item > a, .nav__cta { white-space: nowrap; }
.brand__logo { width: 54px; height: 54px; filter: drop-shadow(0 2px 6px rgb(0 0 0 / .5)); }
.brand:has(.brand__logo) .brand__us { background: none; padding: 0; margin: 0; }
.hero__logo { width: 120px; height: auto; filter: drop-shadow(0 6px 18px rgb(0 0 0 / .55)); }
.hero__bg img, .hero__bg picture img { object-position: 60% center; }
@media (min-width: 1201px) and (max-width: 1320px) { .nav__item > a { padding-inline: 9px; font-size: 1rem; } }

/* Partenaires sans niveaux */
.partner-grid--ALL { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.partner-card--ALL { border-top: 5px solid var(--red); }

/* Menu mobile : seulement « Nos équipes », sans la liste des équipes */
@media (max-width: 1200px) { .nav__sub { display: none; } }

/* Logos des clubs dans les matchs */
.match-row__teams .team { display: inline-flex; align-items: center; gap: 8px; }
.crest { width: 28px; height: 28px; flex: none; object-fit: contain; border-radius: 50%; background: #fff; padding: 2px; box-shadow: 0 0 0 1px var(--grey-300); }
.crest--empty { display: inline-block; background: var(--grey-100); }
.crest--sm { width: 20px; height: 20px; padding: 1px; vertical-align: -5px; margin-right: 4px; box-shadow: none; }
.team-badge__crest img { border-radius: 50%; background: #fff; }
.team-badge--us .team-badge__crest img { background: transparent; border-radius: 0; }
.mini-res__opp { display: inline-flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.mini-res__opp .crest--sm { margin: 0; vertical-align: 0; }
.next-match__home { display: inline-block; margin-left: 6px; padding: .15em .5em; border-radius: 3px; background: var(--red); color: var(--white); font-size: .7rem; letter-spacing: .08em; vertical-align: middle; }
/* Photos des terrains : remplir la carte en montrant la pelouse */
.field-card > picture img, .field-card > img { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.team-card > picture img, .team-hero > picture img, .about__media picture img { width: 100%; height: 100%; object-fit: cover; }
.press-source { margin-top: 32px; padding: 20px 22px; border-left: 4px solid var(--red); background: var(--grey-100); border-radius: var(--radius); }
.press-source p { margin-bottom: 12px; }

/* Agenda du club */
.section--agenda { background: var(--white); border-top: 1px solid var(--grey-100); }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.events-list { display: grid; gap: 16px; max-width: 900px; }
.event-card { display: flex; gap: 18px; align-items: flex-start; padding: 20px; background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius); border-left: 5px solid var(--red); }
.section--grey .event-card { border-color: transparent; border-left-color: var(--red); }
.event-card__date { flex: none; width: 68px; text-align: center; background: var(--black); color: var(--white); border-radius: var(--radius); padding: 8px 4px; font-family: var(--font-display); text-transform: uppercase; line-height: 1; }
.event-card__day { display: block; font-size: 2rem; font-weight: 800; }
.event-card__month { display: block; font-size: .95rem; font-weight: 700; color: var(--red); margin-top: 4px; }
.event-card__body { flex: 1; min-width: 0; }
.event-card__body h3 { font-size: 1.35rem; margin-bottom: 6px; }
.event-card__meta { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: .9rem; color: var(--grey-700); }
.event-card__meta svg { color: var(--red); flex: none; }
.event-card__body > p:not(.event-card__meta) { margin: 10px 0 0; font-size: .93rem; color: var(--grey-700); }
.event-card__img { flex: none; width: 110px; }
.event-card__img img { border-radius: 4px; }
@media (max-width: 560px) { .event-card__img { display: none; } }
.agenda-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.agenda-poster h2 { font-size: 1.3rem; }
.agenda-poster img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 900px) { .agenda-layout { grid-template-columns: 1fr; } .agenda-poster { max-width: 420px; } }
.agenda-layout:not(:has(.agenda-poster)) { grid-template-columns: 1fr; }

/* En-tête : le logo ne se fait jamais écraser ; sur ordinateur (menu complet), logo seul à gauche */
.brand { flex: none; }
.brand picture, .brand__logo { flex: none; }
@media (min-width: 1201px) {
  .brand:has(.brand__logo) .brand__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand__logo { width: 58px; height: 58px; }
  .site-header__inner { max-width: 1320px; }
}

/* Logos partenaires optimisés (image dans <picture>) : toujours contenus dans leur cadre */
.partner-card__logo picture, .partner-logo picture { display: contents; }
.partner-card__logo img { max-width: 100%; max-height: 110px; height: auto; }
.partner-card--BRONZE .partner-card__logo img { max-height: 70px; }
.partner-logo img { max-width: 100%; height: auto; }
.partner-card__logo { background: var(--white); border-bottom: 1px solid var(--grey-300); }
.fb-consent iframe { max-width: 100%; display: block; margin: 0 auto; }
.fb-consent__fallback { margin-top: 16px; }
.archives { margin-top: 48px; }
.archives h3 { margin-bottom: 18px; }
.archives .gallery img { filter: sepia(.15); }

/* ===== Boutique ===== */
.shop-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; margin-bottom: 32px; background: var(--white); border-left: 5px solid var(--red); border-radius: var(--radius); }
.shop-info h2 { font-size: 1.4rem; margin: 0 0 6px; }
.shop-info p { margin: 0; max-width: 640px; color: var(--grey-700, #444); }
.shop-info__tel { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; background: var(--black, #111); color: var(--white); border-radius: var(--radius); text-decoration: none; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: .02em; }
.shop-info__tel small { display: block; font-family: var(--font-body, inherit); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-300); }
.shop-info__tel:hover { background: var(--red); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-300); transition: transform .2s, box-shadow .2s; }
.product:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.product__photo { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; border-bottom: 4px solid var(--red); }
.product__photo picture { display: contents; }
.product__photo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.product__badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-radius: 4px; }
.product__badge--out { background: var(--grey-500); }
.product--out .product__photo img { opacity: .45; filter: grayscale(1); }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.product__body h3 { margin: 0; font-size: 1.25rem; text-transform: uppercase; }
.product__price { margin: 4px 0 8px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--red); }
.product__desc { margin: 0 0 16px; font-size: .92rem; color: var(--grey-500); }
.product__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.product__actions .btn { gap: 6px; }
@media (max-width: 600px) { .shop-info__tel { width: 100%; justify-content: center; } }

/* Visuels « Résultats » dans les récaps du week-end */
.recap-visuals { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0 32px; }
.recap-visuals picture { display: block; }
.recap-visuals img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
