/* ==========================================================================
   Audi RS Swiss Team — feuille de style principale
   ========================================================================== */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); }

:root {
  --black: #08090B;
  --anthracite: #17191D;
  --raised: #1E2126;
  --white: #F5F5F5;
  --red: #D71920;
  --red-bright: #EE2A31;
  --muted: rgba(245, 245, 245, .68);
  --subtle: rgba(245, 245, 245, .48);
  --line: rgba(245, 245, 245, .12);
  --line-strong: rgba(245, 245, 245, .22);

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

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 11vw, 150px);
  --header-h: 76px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::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;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--white); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: .98; margin: 0 0 .5em; letter-spacing: .005em; text-transform: uppercase; }
h2 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.5rem); }
h3 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); line-height: 1.05; }
strong { font-weight: 600; color: var(--white); }
ul { padding-left: 1.2em; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }
main:focus { outline: none; }
.icon { flex: none; }

.sr-only { position: absolute !important; 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; left: 16px; top: -60px; z-index: 200; background: var(--red); color: var(--white); padding: 10px 16px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--alt { background: var(--anthracite); }
.section + .section:not(.section--alt) { padding-top: 0; }
.section--alt + .section:not(.section--alt) { padding-top: var(--section); }

/* Surtitre avec trait rouge oblique (signature « RS ») */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--red); transform: skewX(-35deg); }
.lead { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.muted { color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 44ch; color: var(--muted); }
.prose { max-width: 68ch; color: var(--muted); }
.prose p, .prose li { color: var(--muted); }
.prose strong { display: inline-block; color: var(--white); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; }
.prose ul { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 22px; margin-bottom: .35em; }
.prose li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 2px; background: var(--red); }
.prose a { color: var(--white); }

/* ---------- Boutons & liens ---------- */
.btn {
  --bg: transparent; --fg: var(--white); --bd: var(--line-strong);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--bd); border-radius: var(--radius);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--primary { --bg: var(--red); --bd: var(--red); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn--primary:hover { --bg: var(--red-bright); --bd: var(--red-bright); color: var(--white); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost:hover { --bd: var(--white); background: rgba(245, 245, 245, .06); }
.btn--light { --bg: var(--white); --fg: var(--black); --bd: var(--white); }
.btn--light:hover { --bg: #fff; color: var(--black); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
}
.link-arrow .icon { color: var(--red); transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

.tag { display: inline-block; padding: 3px 9px; border: 1px solid var(--line-strong); border-radius: 2px; font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.tag--red { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(8, 9, 11, .9); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.has-hero .site-header:not(.is-scrolled):not(.is-open) { background: linear-gradient(180deg, rgba(8,9,11,.6), rgba(8,9,11,0)); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.no-hero main { padding-top: var(--header-h); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; position: relative; z-index: 2; }
.brand__logo { width: 44px; height: 44px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.brand__name span { color: var(--red); }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.site-nav__list { display: flex; gap: clamp(14px, 1.8vw, 30px); list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  position: relative; display: block; padding: 6px 0; text-decoration: none; color: rgba(245, 245, 245, .82);
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: .1em; text-transform: uppercase;
  transition: color .25s;
}
.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { color: var(--white); }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle { display: none; position: relative; z-index: 2; width: 48px; height: 48px; margin-right: -10px; border: 0; background: none; color: var(--white); cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { position: absolute; left: 12px; width: 24px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle__bars { top: 23px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; width: 16px; }
.is-open .menu-toggle__bars { background: transparent; }
.is-open .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.is-open .menu-toggle__bars::after { width: 24px; transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  /* backdrop-filter créerait un bloc conteneur pour le menu plein écran : désactivé sur mobile */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(8, 9, 11, .97); }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 32px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px; background: var(--black);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
    overflow-y: auto; overflow-x: hidden;
  }
  .site-nav::before { content: ""; position: absolute; right: -10%; bottom: 8%; width: 70%; height: 6px; background: var(--red); transform: skewX(-35deg); opacity: .9; }
  .is-open .site-nav { opacity: 1; visibility: visible; }
  .site-nav__list { flex-direction: column; gap: 4px; }
  .site-nav__list a { font-size: clamp(2rem, 8vw, 2.8rem); padding: 4px 0; letter-spacing: .04em; }
  .site-nav__list a::after { display: none; }
  .site-nav__list a[aria-current="page"] { color: var(--red); }
  .site-nav__list li { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .is-open .site-nav__list li { opacity: 1; transform: none; }
  .is-open .site-nav__list li:nth-child(2) { transition-delay: .04s; }
  .is-open .site-nav__list li:nth-child(3) { transition-delay: .08s; }
  .is-open .site-nav__list li:nth-child(4) { transition-delay: .12s; }
  .is-open .site-nav__list li:nth-child(5) { transition-delay: .16s; }
  .is-open .site-nav__list li:nth-child(6) { transition-delay: .2s; }
  .is-open .site-nav__list li:nth-child(7) { transition-delay: .24s; }
  .site-nav__cta { align-self: flex-start; min-height: 52px; padding: 0 28px; font-size: 1.05rem; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand__name { font-size: 1.02rem; letter-spacing: .07em; } .brand__logo { width: 38px; height: 38px; } }

/* ---------- Hero d'accueil ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__media img { animation: hero-zoom 2.4s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(8,9,11,.55) 0%, rgba(8,9,11,0) 28%, rgba(8,9,11,.25) 55%, rgba(8,9,11,.95) 100%),
  linear-gradient(90deg, rgba(8,9,11,.7) 0%, rgba(8,9,11,0) 65%); }
.hero__content { padding-bottom: clamp(56px, 10vh, 120px); padding-top: calc(var(--header-h) + 40px); }
.hero__title { font-size: clamp(3.6rem, 1.6rem + 9.5vw, 10rem); line-height: .86; margin: 0 0 24px; letter-spacing: -.005em; }
.hero__title .line { display: block; }
.hero__title .accent { color: var(--red); }
.hero__text { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: rgba(245,245,245,.86); max-width: 40ch; margin-bottom: 36px; }
.hero__stripe { position: absolute; right: -4%; bottom: clamp(170px, 30vh, 300px); width: min(30vw, 420px); height: 5px; background: var(--red); transform: skewX(-35deg); z-index: -1; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 12px; color: var(--subtle); font-family: var(--font-display); letter-spacing: .25em; text-transform: uppercase; font-size: .8rem; writing-mode: vertical-rl; text-decoration: none; }
.hero__scroll::after { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--white), transparent); animation: scroll-cue 2.2s ease-in-out infinite; }
@keyframes scroll-cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 700px) { .hero__scroll, .hero__stripe { display: none; } .hero__media img { object-position: 40% 50%; } }

/* ---------- Bandeau des pages intérieures ---------- */
.page-hero { position: relative; min-height: clamp(380px, 62vh, 620px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media picture, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,9,11,.65) 0%, rgba(8,9,11,.3) 40%, rgba(8,9,11,.96) 100%); }
.page-hero__content { padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(44px, 7vw, 80px); }
.page-hero__title { font-size: clamp(3rem, 1.6rem + 6vw, 6.5rem); line-height: .9; margin: 0; max-width: 16ch; }
.page-hero__intro { margin: 22px 0 0; max-width: 52ch; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: rgba(245,245,245,.82); }
.page-hero--plain { min-height: 0; }
.page-hero--plain::before { display: none; }
.page-hero--plain .page-hero__content { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.has-hero .page-hero--plain .page-hero__content { padding-top: calc(var(--header-h) + 64px); }

.breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; padding: 0; list-style: none; font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--subtle); }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--red); }

/* ---------- Présentation (accueil) ---------- */
.intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro__text h2 { max-width: 12ch; }
.intro__text .prose { font-size: 1.12rem; }
.intro__emblem { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 1; display: grid; place-items: center; }
.intro__emblem::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; border: 1px solid var(--line); }
.intro__emblem::after { content: ""; position: absolute; inset: -2%; border-radius: 50%; border: 1px dashed rgba(215,25,32,.35); animation: spin 60s linear infinite; }
.intro__emblem img { width: 72%; filter: drop-shadow(0 30px 60px rgba(215,25,32,.18)); }
@keyframes spin { to { transform: rotate(360deg); } }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.social-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 500; transition: border-color .25s, background-color .25s; }
.social-chip:hover { border-color: var(--white); background: rgba(245,245,245,.06); }
.social-chip .icon { color: var(--red); }

/* ---------- Activités (3 piliers) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.pillar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(380px, 46vw, 560px); padding: clamp(24px, 3vw, 40px); overflow: hidden; isolation: isolate; text-decoration: none; background: var(--black); }
.pillar picture { position: absolute; inset: 0; z-index: -2; }
.pillar picture img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,9,11,.1) 20%, rgba(8,9,11,.92) 100%); transition: background-color .4s; }
.pillar:hover picture img { transform: scale(1.06); filter: saturate(1); }
.pillar__num { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .2em; color: var(--red); margin-bottom: 10px; }
.pillar h3 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); margin-bottom: 10px; }
.pillar p { color: var(--muted); margin: 0 0 18px; max-width: 32ch; }
.pillar .link-arrow { opacity: .9; }

/* ---------- Événements ---------- */
.event-feature { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(20px, 3vw, 40px); background: var(--anthracite); border: 1px solid var(--line); position: relative; }
.event-feature::after { content: ""; position: absolute; top: -1px; left: clamp(20px, 3vw, 40px); width: 120px; height: 3px; background: var(--red); }
.event-feature__media img { width: 100%; height: auto; }
.event-feature__date { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; font-family: var(--font-display); text-transform: uppercase; }
.event-feature__day { font-size: clamp(4rem, 3rem + 4vw, 7rem); font-weight: 700; line-height: .8; color: var(--red); }
.event-feature__month { font-size: 1.5rem; font-weight: 600; letter-spacing: .1em; line-height: 1.1; }
.event-feature h3 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }
.meta-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.meta-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.meta-list .icon { color: var(--red); margin-top: 3px; }

.empty-state { padding: clamp(32px, 5vw, 56px); border: 1px solid var(--line); background: linear-gradient(120deg, var(--anthracite), var(--black)); display: grid; grid-template-columns: auto 1fr; gap: 24px 36px; align-items: center; }
.empty-state__mark { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--red); }
.empty-state__mark .icon { width: 28px; height: 28px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { margin: 0 0 18px; color: var(--muted); max-width: 60ch; }

.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.event-card { display: flex; flex-direction: column; background: var(--anthracite); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.event-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.event-card__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--raised); }
.event-card__media picture, .event-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.event-card:hover .event-card__media img { transform: scale(1.04); }
.event-card__placeholder { display: block; width: 100%; height: 100%; background: url("../images/logo-192.png") center / 30% no-repeat, var(--raised); }
.event-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.event-card__date { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red-bright); font-size: .95rem; }
.event-card__title { font-size: 1.7rem; margin: 0; }
.event-card__title a { text-decoration: none; }
.event-card__title a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); }
.event-card__meta { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--muted); font-size: .95rem; }
.event-card__meta .icon { width: 18px; height: 18px; margin-top: 3px; }
.event-card__summary { color: var(--muted); margin: 0; font-size: .97rem; }
.event-card .link-arrow { margin-top: auto; padding-top: 8px; }

/* Liste chronologique des événements passés */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline__item { display: grid; grid-template-columns: 110px 132px 1fr auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding: clamp(20px, 2.6vw, 30px) 0; border-bottom: 1px solid var(--line); position: relative; }
.timeline__item::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--red); transition: width .6s var(--ease); }
.timeline__item:hover::before { width: 100%; }
.timeline__date { font-family: var(--font-display); text-transform: uppercase; line-height: 1; }
.timeline__date b { display: block; font-size: 3.2rem; font-weight: 700; color: var(--white); }
.timeline__date span { display: block; margin-top: 6px; color: var(--muted); letter-spacing: .14em; font-weight: 600; }
.timeline__thumb { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--raised); }
.timeline__thumb picture { height: 100%; }
.timeline__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.timeline__item:hover .timeline__thumb img { transform: scale(1.05); }
.timeline__body h3 { margin: 0 0 8px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.timeline__body h3 a { text-decoration: none; }
.timeline__body p { margin: 0; color: var(--muted); }
.timeline__body .event-card__meta { margin-bottom: 8px; }
.timeline__actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }

/* Détail d'un événement */
.event-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.event-detail__poster { position: sticky; top: calc(var(--header-h) + 24px); }
.event-detail__poster button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.event-detail__poster img { width: 100%; height: auto; border: 1px solid var(--line); }
.info-panel { border: 1px solid var(--line); background: var(--anthracite); padding: clamp(22px, 3vw, 32px); margin-bottom: 36px; }
.info-panel .meta-list { margin-bottom: 0; }
.info-panel .btn-row { margin-top: 24px; }

/* ---------- Galerie ---------- */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.album-card { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; text-decoration: none; background: var(--raised); }
.album-card picture, .album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.album-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,9,11,.92)); }
.album-card:hover img { transform: scale(1.05); }
.album-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; }
.album-card__body h3 { margin: 0 0 6px; font-size: 1.9rem; }
.album-card__body p { margin: 0; color: var(--muted); font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; }

.masonry { columns: 3 320px; column-gap: 14px; }
.masonry__item { break-inside: avoid; margin: 0 0 14px; position: relative; }
.masonry__item button { display: block; width: 100%; padding: 0; border: 0; background: var(--raised); cursor: zoom-in; overflow: hidden; position: relative; }
.masonry__item img { width: 100%; height: auto; transition: transform .9s var(--ease), opacity .4s; }
.masonry__item button:hover img { transform: scale(1.035); }
.masonry__item button::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--red); transition: box-shadow .3s; }
.masonry__item button:hover::after, .masonry__item button:focus-visible::after { box-shadow: inset 0 0 0 2px var(--red); }
.masonry__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-size: .9rem; color: var(--white); background: linear-gradient(transparent, rgba(8,9,11,.85)); opacity: 0; transition: opacity .3s; pointer-events: none; }
.masonry__item:hover figcaption { opacity: 1; }
@media (hover: none) { .masonry__item figcaption { opacity: 1; } }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 18vw, 260px); gap: 10px; }
.strip .masonry__item { margin: 0; height: 100%; }
.strip .masonry__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.strip .masonry__item:nth-child(4), .strip .masonry__item:nth-child(5), .strip .masonry__item:nth-child(6) { grid-column: span 2; }
.strip .masonry__item button, .strip .masonry__item picture { height: 100%; }
.strip .masonry__item img { height: 100%; object-fit: cover; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: rgba(5, 6, 7, .96); padding: 64px clamp(8px, 6vw, 96px); }
.lightbox.is-open { display: flex; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.lightbox__img.is-loading { opacity: .3; }
.lightbox__caption { color: var(--muted); text-align: center; font-size: .95rem; min-height: 1.4em; }
.lightbox__counter { position: absolute; top: 22px; left: 24px; font-family: var(--font-display); letter-spacing: .2em; color: var(--subtle); }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(8,9,11,.6); color: var(--white); cursor: pointer; transition: background-color .25s, border-color .25s; }
.lightbox__btn:hover { background: var(--red); border-color: var(--red); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lightbox { padding: 60px 0 90px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; } .lightbox__prev { left: calc(50% - 64px); } .lightbox__next { right: calc(50% - 64px); } }

/* ---------- Partenaires ---------- */
.partner-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.partner-feature__media { position: relative; }
.partner-feature__media > picture img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.partner-feature__logo { position: absolute; left: -1px; bottom: -1px; width: clamp(130px, 18vw, 200px); background: var(--black); padding: 12px; border-top: 3px solid var(--red); }
.partner-feature__logo img { width: 100%; height: auto; }
.code-box { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 28px 0; padding: 20px 22px; border: 1px dashed rgba(215,25,32,.6); background: rgba(215,25,32,.06); }
.code-box__label { font-size: .95rem; color: var(--muted); margin: 0; }
.code-box__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: .08em; color: var(--white); }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--white); cursor: pointer; font: 600 .9rem var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.copy-btn:hover { border-color: var(--white); }
.copy-btn.is-copied { border-color: var(--red); color: var(--red-bright); }

.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 185px), 1fr)); gap: 14px; }
.logo-tile { display: flex; flex-direction: column; text-decoration: none; background: var(--anthracite); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.logo-tile:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.logo-tile__logo { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 22px 28px; background: #F5F5F5; }
.logo-tile__logo img { max-height: 92px; width: auto; max-width: 100%; object-fit: contain; }
.logo-tile__body { display: block; padding: 16px 18px 18px; }
.logo-tile__desc { display: block; margin-top: 6px; font-size: .92rem; color: var(--muted); }
.logo-tile__name { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15; }
.logo-tile__name .icon { width: 16px; height: 16px; color: var(--subtle); }

/* ---------- Boutique ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.product { display: flex; flex-direction: column; background: var(--anthracite); border: 1px solid var(--line); }
.product__media { aspect-ratio: 1; overflow: hidden; background: radial-gradient(circle at 50% 40%, #23262c, var(--raised)); display: grid; place-items: center; }
.product__media picture, .product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product:hover .product__media img { transform: scale(1.04); }
.product__media--empty img { width: 42%; height: auto; object-fit: contain; opacity: .85; }
.product__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__body h3 { font-size: 1.7rem; margin: 0; }
.product__price { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .06em; color: var(--red-bright); text-transform: uppercase; margin: 0; }
.product__desc { color: var(--muted); font-size: .97rem; }
.product__desc p, .product__desc ul { margin-bottom: .6em; }
.product__desc ul { padding-left: 1.1em; }
.order-panel { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); background: linear-gradient(110deg, var(--anthracite) 40%, rgba(215,25,32,.16)); }
.order-panel h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: 10px; }
.order-panel p { margin: 0; color: var(--muted); max-width: 60ch; }
.pricelist { max-width: 520px; margin-inline: auto; }
.pricelist button { display: block; padding: 0; border: 1px solid var(--line); background: none; cursor: zoom-in; width: 100%; }

/* ---------- Club ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 46%; height: 46%; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); z-index: -1; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.value { padding: clamp(28px, 3.5vw, 44px) clamp(20px, 2.5vw, 36px) 0 0; }
.value + .value { padding-left: clamp(20px, 2.5vw, 36px); border-left: 1px solid var(--line); }
.value__num { font-family: var(--font-display); font-size: 3.6rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(245,245,245,.35); margin-bottom: 18px; }
.value h3 { margin-bottom: 10px; }
.value p { color: var(--muted); margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.member { margin: 0; }
.member__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--raised); margin-bottom: 18px; position: relative; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); transition: filter .5s, transform .9s var(--ease); }
.member:hover .member__photo img { filter: none; transform: scale(1.03); }
.member__photo::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); transition: width .5s var(--ease); }
.member:hover .member__photo::after { width: 100%; }
.member__name { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; line-height: 1.05; margin: 0 0 4px; }
.member__role { margin: 0 0 8px; color: var(--red-bright); font-family: var(--font-display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; }
.member__car { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: .95rem; }
.member__car .icon { width: 18px; height: 18px; }

/* ---------- Appel à rejoindre ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(90px, 13vw, 170px); }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media picture, .cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,9,11,.95) 0%, rgba(8,9,11,.75) 50%, rgba(8,9,11,.35) 100%); }
.cta-band h2 { font-size: clamp(3rem, 1.8rem + 5vw, 6rem); max-width: 11ch; }
.cta-band p { max-width: 44ch; font-size: 1.2rem; color: rgba(245,245,245,.84); margin-bottom: 32px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px clamp(18px, 3vw, 30px); background: var(--black); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--red); line-height: 1; }
.step h3 { margin: 0 0 4px; font-size: 1.5rem; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Formulaires ---------- */
.form-card { background: var(--anthracite); border: 1px solid var(--line); padding: clamp(22px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,245,245,.85); }
.field .opt { color: var(--subtle); text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 400; font-size: .85rem; }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--black); color: var(--white); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(215,25,32,.25); }
.field input::placeholder, .field textarea::placeholder { color: rgba(245,245,245,.35); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #ff5a5f; }
.field__error { color: #ff8a8e; font-size: .9rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); flex: none; }
.check a { color: var(--white); }
.form-note { font-size: .88rem; color: var(--subtle); margin: 0; }

.alert { padding: 16px 20px; border-left: 3px solid; margin-bottom: 24px; background: var(--raised); }
.alert--success { border-color: #3ecf74; }
.alert--error { border-color: #ff5a5f; }
.alert--info { border-color: var(--white); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.contact-list a { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--black); text-decoration: none; transition: background-color .25s; }
.contact-list a:hover { background: var(--anthracite); }
.contact-list .icon { color: var(--red); width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--subtle); font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.contact-list span { font-weight: 500; word-break: break-word; }
.mini-team { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mini-team li { display: flex; align-items: center; gap: 14px; }
.mini-team img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.mini-team strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .04em; line-height: 1.1; }
.mini-team span { color: var(--muted); font-size: .92rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--anthracite); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 90px); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: var(--gutter); width: 140px; height: 3px; background: var(--red); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand img { margin-bottom: 18px; }
.site-footer__brand p { color: var(--muted); max-width: 34ch; }
.site-footer__title { font-size: 1rem; letter-spacing: .2em; color: var(--subtle); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: rgba(245,245,245,.82); }
.site-footer ul a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); }
.site-footer ul .icon { width: 18px; height: 18px; color: var(--red); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--subtle); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: var(--muted); }

/* ---------- Animations d'apparition ---------- */
[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-pending { opacity: 0; transform: translateY(26px); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }

/* ---------- Divers ---------- */
.center { text-align: center; }
.mt-l { margin-top: clamp(32px, 4vw, 56px); }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 120px 80px; }
.notfound__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(7rem, 30vw, 16rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--red); margin: 0 0 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .event-detail { grid-template-columns: 1fr; }
  .event-detail__poster { position: static; max-width: 520px; }
  .timeline__item { grid-template-columns: 90px 110px 1fr; }
  .timeline__actions { grid-column: 3; align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 860px) {
  .intro, .split, .partner-feature, .contact-layout { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .intro__emblem { width: min(70%, 300px); order: -1; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 340px; }
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .event-feature { grid-template-columns: 1fr; }
  .event-feature__media { max-width: 420px; }
  .order-panel { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .strip { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .strip .masonry__item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .strip .masonry__item:nth-child(n) { grid-column: span 1; }
  .strip .masonry__item:nth-child(1) { grid-column: span 2; }
  .strip .masonry__item:nth-child(n+6) { display: none; }
  .split__media::after { right: -8px; bottom: -8px; }
}
@media (max-width: 640px) {
  .event-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 84px 1fr; gap: 16px; align-items: start; }
  .timeline__date b { font-size: 2.4rem; }
  .timeline__thumb { display: none; }
  .timeline__body, .timeline__actions { grid-column: 2; }
  .timeline__date { grid-row: span 2; }
  .empty-state { grid-template-columns: 1fr; }
  .team-grid { gap: 14px; }
  .member__name { font-size: 1.3rem; }
  .masonry { columns: 2 150px; column-gap: 8px; }
  .masonry__item { margin-bottom: 8px; }
  .btn-row .btn { flex: 1 1 auto; }
  .step { grid-template-columns: auto 1fr; }
  .step .btn { grid-column: 1 / -1; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal].is-pending { opacity: 1; transform: none; }
}

/* Images remplissant un cadre à ratio fixe (robuste quel que soit le format de la photo) */
.timeline__thumb, .event-card__media, .album-card, .product__media, .member__photo { position: relative; }
.timeline__thumb > picture, .event-card__media > picture, .album-card > picture, .product__media > picture, .member__photo > picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.album-card__body { z-index: 2; }
.album-card::after { z-index: 1; }

/* ---------- Ajustements mobiles (sliders, bienvenue, boutique) ---------- */

/* Les légendes restent dans la visionneuse et le texte alternatif, pas sur les vignettes */
.masonry__item figcaption { display: none; }

/* Réseaux sociaux : toujours sur une seule ligne */
.socials { flex-wrap: nowrap; gap: 8px; }
.social-chip { flex: 0 1 auto; justify-content: center; white-space: nowrap; }

/* Points de navigation des sliders (créés en JS, visibles sur mobile uniquement) */
.slider-dots { display: none; }

@media (max-width: 860px) {
  /* Bienvenue plus compacte */
  #presentation { padding-block: 56px; }
  .intro { gap: 0; }
  .intro__emblem { display: none; }
  .intro__text h2 { font-size: clamp(2rem, 9vw, 2.6rem); max-width: none; margin-bottom: 14px; }
  .intro__text .prose { font-size: 1rem; }
  .intro__text .prose p { margin-bottom: .6em; }
  .socials { margin-top: 20px; }
  .social-chip { flex: 1 1 0; min-width: 0; padding: 10px 8px; font-size: .92rem; gap: 7px; }
  .social-chip .icon { width: 18px; height: 18px; }

  /* Sliders horizontaux avec aimantation */
  [data-slider] {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  [data-slider]::-webkit-scrollbar { display: none; }
  [data-slider] > * { flex: 0 0 82%; scroll-snap-align: start; }
  .pillars[data-slider] { background: none; border: 0; grid-template-columns: none; }
  .pillars[data-slider] .pillar { min-height: 380px; border: 1px solid var(--line); }
  .event-grid--slider[data-slider] { grid-template-columns: none; }
  .event-grid--slider .event-card:hover { transform: none; }

  .slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line-strong); cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
  .slider-dots button[aria-current="true"] { width: 26px; background: var(--red); }
}

@media (max-width: 640px) {
  /* Boutique : 2 articles par rangée */
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product__body { padding: 14px 12px 16px; gap: 6px; }
  .product__body h3 { font-size: 1.2rem; }
  .product__price { font-size: 1.05rem; }
  .product__desc { font-size: .86rem; line-height: 1.5; }
  .product__desc ul { padding-left: 1em; }
}
