/* ==========================================================================
   Casa Padel
   Règle de forme : tout bloc reprend le monogramme du logo, deux angles
   arrondis en diagonale (haut-gauche et bas-droite), les deux autres vifs.
   ========================================================================== */

:root {
  --bg: #0a0b0d;
  --bg-2: #111317;
  --bg-3: #181b21;
  --line: rgba(241, 242, 238, 0.1);
  --line-strong: rgba(241, 242, 238, 0.22);
  --text: #f1f2ee;
  --muted: #9b9fa7;
  --blue: #2b55ff;
  --blue-deep: #1838c9;
  --error: #ff7a6b;

  --r: 28px;
  --r-sm: 14px;
  --shape: var(--r) 0 var(--r) 0;
  --shape-sm: var(--r-sm) 0 var(--r-sm) 0;

  --font: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1400px;
  --nav-h: 72px;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--shape-sm); }
.skip:focus { top: 16px; }

/* ---------- Typographie ---------- */
.h2 {
  margin: 0 0 24px;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 112;
  text-transform: uppercase;
}
.h2 em, .hero__title em {
  font-style: italic;
  color: var(--blue);
  font-weight: 800;
}
.lead { margin: 0 0 32px; max-width: 52ch; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.eyebrow {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- Boutons ---------- */
.btn {
  --pad: 18px 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad);
  border-radius: var(--shape-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .5s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn i { font-size: 18px; transition: transform .5s var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn--sm { --pad: 11px 18px; font-size: 15px; }
.btn--full { width: 100%; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: #fff; color: var(--bg); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(10, 11, 13, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--text); background: var(--text); color: var(--bg); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  transition: background-color .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(10, 11, 13, 0.78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 32px; }
.nav__logo img { width: 92px; height: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav__links a { position: relative; color: var(--muted); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__gift { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); transition: color .3s; }
.nav__gift:hover { color: var(--text); }
.nav__gift i { font-size: 18px; }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: transparent; border-radius: var(--shape-sm); cursor: pointer; position: relative; }
.nav__burger span:not(.sr-only) { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: transform .5s var(--ease); }
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 40; background: var(--bg); padding: calc(var(--nav-h) + 32px) var(--gutter) 32px; display: flex; flex-direction: column; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; font-variation-settings: "wdth" 112; padding: 10px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); animation: menuIn .6s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.12); animation: heroZoom 2.4s var(--ease) .1s forwards; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,13,.85) 0%, rgba(10,11,13,.35) 55%, rgba(10,11,13,0) 80%), linear-gradient(0deg, var(--bg) 0%, rgba(10,11,13,0) 45%); }
@keyframes heroZoom { to { transform: scale(1); } }

.hero__content { padding-top: calc(var(--nav-h) + 48px); padding-bottom: clamp(40px, 7vh, 80px); }
.hero__title {
  margin: 0 0 clamp(28px, 4vh, 48px);
  font-size: clamp(3rem, 8.4vw, 8.4rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 118;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; padding-right: 0.06em; }
@keyframes lineUp { to { transform: none; } }

.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.hero__lead { margin: 0; max-width: 40ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(241,242,238,.82); opacity: 0; animation: fadeUp 1s var(--ease) .45s forwards; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s var(--ease) .6s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Parallaxe douce du visuel, uniquement si le navigateur gère les animations liées au défilement */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__media { animation: heroDrift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes heroDrift { to { transform: translateY(18%); opacity: .4; } }
  }
}

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: clamp(40px, 6vw, 72px); }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 0 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variation-settings: "wdth" 115; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: 15px; }

/* ---------- Clubs ---------- */
.clubs { padding-block: clamp(80px, 10vw, 140px); }
.clubs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.clubs__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: club; }

.club-row { border-bottom: 1px solid var(--line); }
.club-row__btn {
  width: 100%; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px;
  padding: 22px 0; background: none; border: 0; text-align: left; cursor: pointer;
  color: var(--muted); transition: color .35s, padding .6s var(--ease);
}
.club-row__idx { font-family: var(--mono); font-size: 13px; }
.club-row__name { font-size: clamp(1.35rem, 2.1vw, 2rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variation-settings: "wdth" 100; transition: font-variation-settings .6s var(--ease); }
.club-row__meta { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.club-row__meta i { font-size: 22px; transform: rotate(-45deg); opacity: 0; transition: transform .6s var(--ease), opacity .3s; }
.club-row.is-active .club-row__btn, .club-row__btn:hover { color: var(--text); }
.club-row.is-active .club-row__btn { padding-left: 12px; }
.club-row.is-active .club-row__name { font-variation-settings: "wdth" 116; }
.club-row.is-active .club-row__meta i, .club-row__btn:hover .club-row__meta i { opacity: 1; transform: none; color: var(--blue); }
.club-row__detail { display: none; }

.clubs__preview { position: sticky; top: calc(var(--nav-h) + 24px); }
.preview__media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--shape); overflow: hidden; background: var(--bg-3); }
.preview__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 100%); transform: scale(1.08); transition: clip-path .9s var(--ease), transform 1.4s var(--ease); }
.preview__media img.is-current { clip-path: inset(0 0 0 0); transform: none; }
.preview__media img.is-leaving { clip-path: inset(0 0 0 0); z-index: -1; }
.preview__tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: var(--shape-sm); background: rgba(10,11,13,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; font-weight: 600; }

.preview__body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; padding: 28px 4px 0; }
.preview__block h3 { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.preview__block p { margin: 0; }
.preview__block a { transition: color .3s; }
.preview__block a:hover { color: var(--blue); }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.preview__actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line-strong); border-radius: var(--shape-sm); font-size: 22px; transition: background-color .3s, color .3s, border-color .3s; }
.icon-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.preview__fade { animation: fadeUp .6s var(--ease) both; }

/* ---------- ADN ---------- */
.adn { padding-block: clamp(80px, 10vw, 140px); background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.adn__intro { margin: 0 0 clamp(40px, 5vw, 64px); color: var(--muted); }
.adn__track { display: flex; gap: 8px; height: clamp(380px, 46vw, 520px); }
.letter {
  position: relative; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px 0; align-items: center; border-radius: var(--shape); background: var(--bg-3); border: 1px solid var(--line);
  overflow: hidden; cursor: pointer; text-align: left;
  transition: flex-grow .8s var(--ease), background-color .5s, border-color .5s;
}
.letter__char { font-size: clamp(2.4rem, 3.8vw, 4rem); font-weight: 900; line-height: .8; letter-spacing: -0.05em; font-variation-settings: "wdth" 125; color: var(--muted); transition: color .5s; }
.letter__body { width: min(440px, 100%); padding-inline: 28px; align-self: flex-start; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .6s var(--ease); pointer-events: none; }
.letter__word { display: block; margin-bottom: 10px; font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-variation-settings: "wdth" 110; }
.letter__text { margin: 0; color: rgba(255,255,255,.86); font-size: 16px; }
.letter:hover { border-color: var(--line-strong); }
.letter.is-active { flex-grow: 10; align-items: flex-start; padding-inline: 28px; background: var(--blue); border-color: var(--blue); }
.letter.is-active .letter__char { color: #fff; }
.letter.is-active .letter__body { padding-inline: 0; opacity: 1; transform: none; transition-delay: .25s; }

/* ---------- Événements ---------- */
.events { padding-block: clamp(80px, 10vw, 140px); }
.events__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.events__media { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto; }
.events__img { margin: 0; overflow: hidden; border-radius: var(--shape); }
.events__img img { width: 100%; height: 100%; object-fit: cover; }
.events__img--main { grid-column: 1 / 10; grid-row: 1; aspect-ratio: 4 / 5; }
.events__img--side { grid-column: 7 / 13; grid-row: 1; align-self: end; aspect-ratio: 3 / 4; margin-bottom: -12%; border: 6px solid var(--bg); border-radius: calc(var(--r) + 6px) 0 calc(var(--r) + 6px) 0; }
.formats { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 20px; }
.formats li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.formats i { display: grid; place-items: center; width: 48px; height: 48px; font-size: 22px; color: var(--blue); background: rgba(43, 85, 255, .12); border-radius: var(--shape-sm); }
.formats strong { display: block; font-size: 18px; margin-bottom: 2px; }
.formats span { color: var(--muted); font-size: 15px; }
.events__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Bento offres ---------- */
.offres { padding-block: clamp(80px, 10vw, 140px) clamp(40px, 5vw, 80px); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(240px, auto); gap: 12px; margin-top: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; min-height: 240px; border-radius: var(--shape); overflow: hidden; isolation: isolate;
  background: var(--bg-3); border: 1px solid var(--line);
}
.tile--large { grid-column: span 2; grid-row: span 2; }
.tile--haute { grid-column: span 2; }
.tile--normale { grid-column: span 1; }
.tile__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,11,13,0) 25%, rgba(10,11,13,.9) 100%); }
.tile--plain { background: var(--blue); border-color: var(--blue); }
.tile--plain::before { display: none; }
.tile--plain .tile__text { color: rgba(255,255,255,.88); }
.tile__title { margin: 0 0 6px; font-size: clamp(1.4rem, 2.2vw, 2.1rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; font-variation-settings: "wdth" 112; }
.tile__text { margin: 0; color: rgba(241,242,238,.78); max-width: 38ch; font-size: 15px; }
.tile__arrow { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--shape-sm); background: rgba(241,242,238,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 20px; transition: transform .6s var(--ease), background-color .3s, color .3s; }
.tile:hover .tile__img { transform: scale(1.05); }
.tile:hover .tile__arrow { transform: rotate(-45deg); background: var(--text); color: var(--bg); }

/* ---------- Application ---------- */
.app { padding-block: clamp(40px, 5vw, 80px) clamp(80px, 10vw, 140px); }
.app__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  padding: clamp(32px, 5vw, 72px);
  background: var(--blue); border-radius: calc(var(--r) * 1.6) 0 calc(var(--r) * 1.6) 0;
}
.app__title { margin: 0 0 16px; font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.04em; line-height: .92; font-variation-settings: "wdth" 118; }
.app__copy p { margin: 0 0 32px; max-width: 44ch; color: rgba(255,255,255,.88); font-size: 18px; }
.app__stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px; background: var(--bg); color: var(--text); border-radius: var(--shape-sm); transition: transform .5s var(--ease), background-color .3s; }
.store:hover { transform: translateY(-3px); background: #000; }
.store i { font-size: 28px; }
.store span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 17px; }
.store small { font-weight: 400; font-size: 11px; color: var(--muted); }
.app__qr { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px; background: #fff; color: var(--bg); border-radius: var(--shape); }
.app__qr img { width: 168px; height: 168px; }
.app__qr span { font-family: var(--mono); font-size: 12px; }

/* ---------- Contact ---------- */
.contact { padding-block: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__info { position: sticky; top: calc(var(--nav-h) + 32px); }
.contact__mail { display: inline-flex; flex-direction: column; gap: 4px; padding: 20px 24px; border: 1px solid var(--line-strong); border-radius: var(--shape); font-weight: 600; font-size: clamp(15px, 1.4vw, 18px); word-break: break-all; transition: border-color .3s, background-color .3s; }
.contact__mail span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; word-break: normal; }
.contact__mail:hover { border-color: var(--blue); background: rgba(43,85,255,.08); }

.form { display: grid; gap: 22px; padding: clamp(24px, 3.5vw, 44px); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--shape); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form__type { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form__type legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: var(--shape-sm); font-size: 15px; color: var(--muted); transition: all .3s; }
.chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--shape-sm);
  transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(241,242,238,.4); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,85,255,.3); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.select { position: relative; }
.select i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.select option { background: var(--bg-2); }
.field__help { margin: 0; font-size: 13px; color: var(--muted); }
.field__error { margin: 0; font-size: 13px; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.form__success { margin: 0; display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--shape-sm); background: rgba(43,85,255,.14); font-size: 15px; }
.form__success i { font-size: 22px; color: var(--blue); flex-shrink: 0; }

/* ---------- Footer ---------- */
.footer { padding-top: clamp(64px, 8vw, 110px); background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__col h3 { margin: 0 0 18px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col:first-child ul { grid-template-columns: 1fr 1fr; column-gap: 32px; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--blue); }
.footer__social { grid-auto-flow: column; justify-content: start; gap: 10px !important; }
.footer__social a { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: var(--shape-sm); font-size: 21px; transition: background-color .3s, color .3s, border-color .3s; }
.footer__social a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.footer__word {
  margin: clamp(48px, 7vw, 96px) 0 0; white-space: nowrap; text-align: center;
  font-size: 11.1vw; font-weight: 900; line-height: .78; letter-spacing: -0.055em;
  font-variation-settings: "wdth" 125; color: transparent; -webkit-text-stroke: 1px var(--line-strong);
  user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--text); }

/* ---------- Apparitions au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Chargement (squelettes tant que data.json n'est pas lu) ---------- */
.skeleton { background: linear-gradient(90deg, var(--bg-3) 0%, #20242b 50%, var(--bg-3) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: var(--shape-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }
.load-error { padding: 24px; border: 1px dashed var(--line-strong); border-radius: var(--shape); color: var(--muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { gap: 20px; }
  .nav__gift span { display: none; }
}

@media (max-width: 960px) {
  .nav__links, .nav__gift { display: none; }
  .nav__burger { display: block; }
  .nav__actions { margin-left: auto; gap: 10px; }

  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }

  /* Clubs : la liste devient un accordéon, l'aperçu passe dans chaque ligne */
  .clubs__grid { grid-template-columns: 1fr; }
  .clubs__preview { display: none; }
  .club-row.is-active .club-row__btn { padding-left: 0; }
  .club-row.is-active .club-row__detail { display: block; padding-bottom: 28px; }
  .club-row__detail .preview__body { padding-top: 20px; }
  .club-row__detail .preview__media img { clip-path: none; transform: none; }

  .adn__track { flex-direction: column; height: auto; }
  .letter { flex: none; flex-direction: row; align-items: center; justify-content: flex-start; gap: 20px; padding: 16px 20px; }
  .letter__char { font-size: 2.6rem; width: 1.2em; flex-shrink: 0; }
  .letter__body { width: auto; display: none; }
  .letter.is-active { flex-direction: column; align-items: flex-start; }
  .letter.is-active .letter__body { display: block; }

  .events__grid { grid-template-columns: 1fr; }
  .events__media { margin-bottom: 12%; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--large { grid-column: span 2; grid-row: span 1; min-height: 360px; }
  .tile--haute { grid-column: span 2; }

  .app__card { grid-template-columns: 1fr; }
  .app__qr { display: none; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { position: static; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero__title { font-size: 10.4vw; font-variation-settings: "wdth" 100; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .stat { padding: 0 0 0 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .club-row__meta span { display: none; }
  .club-row__btn { grid-template-columns: 32px 1fr auto; }
  .preview__body { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile--large, .tile--haute, .tile--normale { grid-column: span 1; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__col:first-child ul { grid-template-columns: 1fr; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
