/* ==========================================================================
   Chamber Monts Disque — feuille de style
   Palette et typo reprises de l'ancien site WordPress :
     rouge   #f02842   (titres)
     orange  #ffaa00   (liens)
     texte blanc sur fond sombre
     titres  Kenyan Coffee RG (condensée), texte Open Sans
   ========================================================================== */

/* La police d'origine du club. Si les fichiers ne sont pas présents dans
   assets/fonts/, le navigateur bascule automatiquement sur Saira Condensed. */
@font-face {
  font-family: 'Kenyan Coffee RG';
  font-display: swap;
  src: url('../assets/fonts/kenyan-coffee-rg.woff2') format('woff2'),
       url('../assets/fonts/kenyan-coffee-rg.otf') format('opentype'),
       url('../assets/fonts/kenyan-coffee-rg.ttf') format('truetype');
}

:root {
  --red: #f02842;
  --red-dark: #c81c33;
  --orange: #ffaa00;

  --bg: #0b0c0e;
  --bg-soft: #131519;
  --bg-card: #17191e;
  --line: rgba(255, 255, 255, .10);

  --text: #edeef0;
  --muted: #9aa0aa;

  --font-display: 'Kenyan Coffee RG', 'Saira Condensed', 'Oswald', Helvetica, Arial, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --wrap: 1240px;
  --gap: clamp(24px, 4vw, 56px);
  --radius: 14px;
  --header-h: 72px;
}

/* -------------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orange); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 100;
  background: var(--red); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 8px;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 12, 14, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-stuck {
  background: rgba(11, 12, 14, .94);
  border-bottom-color: var(--line);
}

.site-header__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  min-height: var(--header-h);
  padding: 10px clamp(16px, 4vw, 32px);
  display: flex; align-items: center; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; color: inherit; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand__logo { display: block; width: 44px; flex: 0 0 auto; }
.brand__logo img { width: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.brand__tagline { font-size: 12px; color: var(--muted); letter-spacing: .4px; }

.nav {
  margin-left: auto;
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.nav__link {
  color: var(--text);
  font-size: 14px; font-weight: 600;
  white-space: nowrap;
  padding: 8px 11px; border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}
.nav__link:hover { background: rgba(255, 255, 255, .07); text-decoration: none; }
.nav__link.is-active { color: #fff; background: var(--red); }

.site-header__end { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 10px;
  background: transparent; cursor: pointer;
  padding: 11px 10px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.is-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.is-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 12vw, 140px) clamp(16px, 4vw, 32px) clamp(48px, 8vw, 96px);
  text-align: center;
}
.hero__inner { position: relative; z-index: 1; max-width: 820px; margin-inline: auto; }
.hero__glow {
  position: absolute; inset: -40% -20% auto -20%; height: 620px; z-index: 0;
  background:
    radial-gradient(closest-side, rgba(240, 40, 66, .30), transparent 70%) 25% 40% / 60% 100% no-repeat,
    radial-gradient(closest-side, rgba(255, 170, 0, .20), transparent 70%) 78% 30% / 55% 90% no-repeat;
  filter: blur(6px);
}

.hero__logo {
  width: clamp(120px, 24vw, 190px);
  margin: 0 auto 22px;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, .55));
  animation: hero-logo-in .8s cubic-bezier(.2, .8, .2, 1) both;
}
.hero__logo img { width: 100%; }

@keyframes hero-logo-in {
  from { opacity: 0; transform: translateY(-14px) scale(.94); }
  to   { opacity: 1; transform: none; }
}

.hero__eyebrow {
  margin: 0 0 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--orange);
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 12vw, 116px);
  line-height: .92;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero__sub { margin: 16px 0 0; color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); }

.hero__actions {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}

/* ------------------------------------------------------- bandeau actualité */

.news {
  margin: 30px auto 0;
  max-width: 740px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px 16px 18px;
  text-align: left;
  border-radius: 16px;
  border: 1px solid rgba(240, 40, 66, .5);
  background:
    linear-gradient(135deg, rgba(240, 40, 66, .22), rgba(255, 170, 0, .10) 65%),
    var(--bg-card);
  box-shadow: 0 14px 40px rgba(240, 40, 66, .18);
  animation: news-in .7s .2s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes news-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.news__badge {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase;
  line-height: 1;
}
.news__badge svg { width: 16px; height: 16px; fill: currentColor; }

.news__text { font-size: 16px; line-height: 1.55; color: #fff; }
.news__text > *:first-child { margin-top: 0; }
.news__text > *:last-child { margin-bottom: 0; }
.news__text p { margin: 0 0 .5em; }
.news__text strong { font-weight: 700; }
.news__text a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.news__text a:hover { color: #fff; }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 700; font-size: 15px; letter-spacing: .3px;
  border: 1px solid var(--red);
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); text-decoration: none; transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .28); }

/* ---------------------------------------------------------------- sections */

.section { padding: clamp(40px, 6vw, 76px) clamp(16px, 4vw, 32px); }
.section + .section { padding-top: 0; }

.section__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  display: grid;
  gap: var(--gap);
  align-items: center;
}
.section__inner--split { grid-template-columns: 1fr 1fr; }
.section__inner--stack { grid-template-columns: 1fr; }

/* sans min-width:0 un enfant qui défile (carrousel, tableau large) élargit
   sa colonne de grille au lieu d'être contraint par elle */
.col, .prose, .carousel, .carousel__viewport, .carousel__track, .table-wrap { min-width: 0; }

.col--center { text-align: center; }
.col--media { display: grid; gap: 20px; }

.section__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.05;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--red);
}

/* --------------------------------------------------------------- prose/md */

.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.05em; }
.prose strong { font-weight: 700; color: #fff; }
.prose em { font-style: italic; }

.prose h3 {
  margin: 2em 0 .7em;
  font-family: var(--font-display);
  font-size: 25px; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase;
  color: #fff;
  display: flex; align-items: center; gap: 12px;
}
.prose h3::before {
  content: ''; width: 22px; height: 3px; flex: 0 0 auto;
  background: var(--red); border-radius: 2px;
}
.prose h4 { margin: 1.6em 0 .5em; font-size: 17px; color: #fff; }

.prose ul, .prose ol { margin: 0 0 1.05em; padding-left: 0; list-style: none; }
.prose ol { counter-reset: item; }
.prose li { position: relative; padding-left: 26px; margin-bottom: .5em; }
.prose ul > li::before {
  content: ''; position: absolute; left: 4px; top: .72em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
}
.prose ol > li { counter-increment: item; }
.prose ol > li::before {
  content: counter(item) '.'; position: absolute; left: 0; top: 0;
  color: var(--orange); font-weight: 700;
}

.prose blockquote {
  margin: 1.4em 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--red);
  color: var(--muted); font-style: italic;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em;
  background: rgba(255, 255, 255, .08);
  padding: .15em .4em; border-radius: 5px;
}

.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: #fff; }

/* ------------------------------------------------------------------ tables */

.table-wrap {
  margin: 0 0 1.4em;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th {
  text-align: left;
  padding: 13px 16px;
  background: rgba(240, 40, 66, .12);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  white-space: nowrap;
}
.prose td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:hover { background: rgba(255, 255, 255, .03); }

/* ------------------------------------------------------------------- media */

.media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.media img {
  width: 100%;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.media:hover img { transform: scale(1.03); }
.col--media-wide .media img { width: 100%; }
.media-link { display: block; }

/* --------------------------------------------------------------- carousels */

.section--wide .section__inner { max-width: 1400px; }

.carousel {
  position: relative;
  margin: 0 0 34px;
  /* the track bleeds to the screen edges on phones so slides can be swiped
     from anywhere; --bleed is the distance back to the page gutter */
  --bleed: 0px;
  --slide: 340px;
}

.carousel__viewport { overflow: hidden; margin-inline: calc(var(--bleed) * -1); }

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--slide);
  gap: 18px;
  padding: 4px var(--bleed);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--bleed);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }

.carousel__slide { scroll-snap-align: start; }

.carousel__arrow {
  position: absolute; top: calc(50% - 22px); z-index: 3;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(11, 12, 14, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff; cursor: pointer;
  transition: background .18s ease, opacity .18s ease, transform .18s ease;
}
.carousel__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carousel__arrow--prev { left: 8px; }
.carousel__arrow--next { right: 8px; }
.carousel__arrow:hover:not(:disabled) { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.carousel__arrow:disabled { opacity: 0; pointer-events: none; }
.carousel.is-static .carousel__arrow,
.carousel.is-static .carousel__dots { display: none; }

.carousel__dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 16px;
}
.carousel__dot {
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .24);
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.carousel__dot.is-active { background: var(--red); width: 22px; border-radius: 999px; }

/* photos ------------------------------------------------------------------ */

.photo-slide {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.photo-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.photo-slide:hover img { transform: scale(1.04); }

/* vidéos ------------------------------------------------------------------ */

.carousel--videos { --slide: 280px; }

.video-slide {
  position: relative; display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: #fff;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), border-color .28s ease;
}
.video-slide:hover { text-decoration: none; transform: translateY(-4px); border-color: rgba(255, 255, 255, .3); }

.video-slide__cover {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.video-slide:hover .video-slide__cover { transform: scale(1.05); }

.video-slide__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .85) 4%, rgba(0, 0, 0, .12) 46%, transparent 68%);
}

.video-slide__play {
  position: absolute; top: 50%; left: 50%;
  translate: -50% -50%;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(240, 40, 66, .92);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .45);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), background .2s ease;
}
.video-slide__play svg { width: 26px; height: 26px; fill: #fff; margin-left: 2px; }
.video-slide:hover .video-slide__play { transform: scale(1.12); }

.video-slide__meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; gap: 4px;
  padding: 14px 14px 15px;
}
.video-slide__platform {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--orange);
}
.video-slide__title {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 700; line-height: 1.1; letter-spacing: .4px;
  text-transform: uppercase;
}

/* --------------------------------------------------- photo en plein écran */

.photo-slide--zoom { cursor: zoom-in; }
.photo-slide--zoom::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .28);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.photo-slide--zoom:hover::after,
.photo-slide--zoom:focus-visible::after { opacity: 1; }

body.has-lightbox { overflow: hidden; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid;
  place-items: center;
  animation: lightbox-in .22s ease both;
}
/* sans cette règle, le `display: grid` ci-dessus l'emporte sur le
   `display: none` que le navigateur applique à l'attribut hidden */
.lightbox[hidden] { display: none; }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }

.lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 7, 9, .94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox__stage {
  position: relative;
  margin: 0;
  width: 100%; height: 100%;
  display: grid; place-items: center;
  padding: 72px clamp(16px, 9vw, 110px);
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
  animation: lightbox-img .28s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes lightbox-img { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff; cursor: pointer;
  transition: background .18s ease, border-color .18s ease, opacity .18s ease, transform .18s ease;
}
.lightbox__close svg, .lightbox__nav svg {
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.lightbox__close:hover, .lightbox__nav:hover:not(:disabled) {
  background: var(--red); border-color: var(--red); transform: scale(1.06);
}
.lightbox__nav:disabled { opacity: .25; cursor: default; }
/* même piège que .lightbox[hidden] : `display: grid` masquerait l'attribut */
.lightbox__close[hidden], .lightbox__nav[hidden] { display: none; }

.lightbox__close { top: 18px; right: 18px; width: 46px; height: 46px; }
.lightbox__close svg { width: 22px; height: 22px; }

.lightbox__nav { top: calc(50% - 27px); width: 54px; height: 54px; }
.lightbox__nav svg { width: 26px; height: 26px; }
.lightbox__nav--prev { left: clamp(10px, 3vw, 30px); }
.lightbox__nav--next { right: clamp(10px, 3vw, 30px); }

.lightbox__counter {
  position: absolute; bottom: 20px; left: 50%; translate: -50%;
  margin: 0; z-index: 2;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; letter-spacing: 1.2px;
  color: #fff;
}

@media (max-width: 620px) {
  /* sur téléphone on fait défiler au doigt : les flèches prendraient
     la place de la photo */
  .lightbox__nav { display: none; }
  .lightbox__stage { padding: 64px 10px 74px; }
  .lightbox__close { top: 12px; right: 12px; width: 42px; height: 42px; }
}

/* ------------------------------------------------------- image cliquable */

.media--linked { position: relative; }
.media--linked .media-link { position: relative; display: block; }
.media__hint {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(11, 12, 14, .86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: #fff; font-size: 13px; font-weight: 600;
  transition: background .2s ease;
}
.media__hint svg { width: 16px; height: 16px; fill: var(--red); flex: 0 0 auto; }
.media--linked:hover .media__hint { background: var(--red); border-color: var(--red); }
.media--linked:hover .media__hint svg { fill: #fff; }

/* -------------------------------------------------------------------- form */

.form-wrap { margin-top: 8px; }
.contact-form { display: grid; gap: 16px; max-width: 760px; }
.col--center .contact-form { margin-inline: auto; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }

.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color .18s ease, background .18s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #1c1f25;
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }

.form-footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); }
.form-note--error { color: var(--red); }

/* ---------------------------------------------------------------- socials */

.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; align-items: center; }
.socials--big { justify-content: flex-start; margin-top: 8px; }
.col--center .socials--big { justify-content: center; }

.social {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  color: #fff;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.social svg { width: 21px; height: 21px; fill: currentColor; }
.social:hover { transform: translateY(-2px); text-decoration: none; border-color: transparent; }
.social--facebook:hover { background: #3b5998; }
.social--instagram:hover { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.social--youtube:hover { background: #ff0000; }

.socials--big .social { width: 58px; height: 58px; border-radius: 16px; }
.socials--big .social svg { width: 28px; height: 28px; }

/* ------------------------------------------------------------------ footer */

.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 40px clamp(16px, 4vw, 32px);
}
.site-footer__inner {
  max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.site-footer__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
}
.site-footer__legal { margin: 0; color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------ animations */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .section__inner--split { grid-template-columns: 1fr; }
  .section__inner--split .col--media { order: 2; }
}

@media (max-width: 1120px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px clamp(16px, 4vw, 32px) 18px;
    background: rgba(11, 12, 14, .98);
    border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .nav { display: flex; }
  .nav__link { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
  .site-header__inner { position: relative; }
  .site-header__end { margin-left: auto; }
}

/* carrousels : slides plus larges quand l'écran rétrécit, et débord jusqu'aux
   bords de l'écran pour pouvoir swiper depuis n'importe où */
@media (max-width: 860px) {
  .carousel { --slide: 300px; }
  .carousel--videos { --slide: 210px; }
}

@media (max-width: 620px) {
  /* bandeau actualité : l'étiquette passe au-dessus du texte */
  .news {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    margin-top: 26px;
  }
  .news__text { font-size: 15px; }

  /* bandeau : le nom du club doit laisser la place au bouton menu */
  .brand__logo { width: 36px; }
  .brand__name { font-size: 19px; }
  .brand__tagline { font-size: 11px; }
  .site-header__inner { gap: 12px; }

  .carousel {
    --bleed: clamp(16px, 4vw, 32px);
    --slide: min(78vw, 340px);
  }
  .carousel--videos { --slide: min(58vw, 240px); }
  .carousel__track { gap: 12px; }
  .carousel__arrow { display: none; }
  .carousel__dots { margin-top: 14px; }
  .video-slide__title { font-size: 19px; }
  .video-slide__play { width: 48px; height: 48px; }
  .video-slide__play svg { width: 22px; height: 22px; }
  /* Le bandeau passe SOUS l'image au lieu de la recouvrir. Sur un écran
     étroit, le plan (très large, 2,75:1) ne fait qu'une centaine de pixels de
     haut : une pastille posée dessus en masquait 40 %, pile sur le terrain. */
  .media--linked .media__hint {
    position: static;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: var(--bg-card);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 13px;
  }

  .field-row { grid-template-columns: 1fr; }
  .socials--small { display: none; }
  .site-footer__inner { flex-direction: column; text-align: center; }

  /* tableaux : une carte par ligne, plus lisible sur téléphone */
  .table-wrap { border: 0; background: transparent; overflow: visible; }
  .prose table, .prose thead, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead { display: none; }
  .prose tr {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
  }
  .prose td { border-top: 1px solid var(--line); padding: 12px 16px; }
  .prose tr td:first-child { border-top: 0; }
  .prose td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-display);
    font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 2px;
  }
}
