/* EACE Club — design system. Sombre éditorial par défaut, variante « papier » (.paper) pour reçus et admin. */

@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/display.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --ink: #0f0e0d;
  --ink-2: #171513;
  --ink-3: #211e1b;
  --ivory: #f6f1ea;
  --ivory-2: #ece4d8;
  --paper: #fffdfa;
  --red: #e2372b;
  --red-hot: #ff5a4d;      /* rouge lisible sur fond sombre */
  --red-deep: #b9281e;     /* rouge lisible sur fond clair */
  --ok: #3ba776;
  --warn: #e0a02f;
  --accent: var(--red-hot);     /* couleur des mots mis en avant */
  --surface-2: var(--ink);
  --nav-bg: rgba(15, 14, 13, .72);
  --glow: .34;
  --mark: .16;
  color-scheme: dark;

  --fg: var(--ivory);
  --fg-dim: rgba(246, 241, 234, .68);
  --fg-faint: rgba(246, 241, 234, .42);
  --bg: var(--ink);
  --surface: var(--ink-2);
  --line: rgba(246, 241, 234, .12);
  --line-strong: rgba(246, 241, 234, .24);

  --display: "Jakarta", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 18px;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1180px;
}

.paper {
  --accent: var(--red-deep);
  --fg: #1a1816;
  --fg-dim: #5c554d;
  --fg-faint: #8d857a;
  --bg: var(--ivory);
  --surface: var(--paper);
  --line: rgba(26, 24, 22, .12);
  --line-strong: rgba(26, 24, 22, .24);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Grain discret sur toute la page */
body.grain::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* Typographie */
.eyebrow { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.display { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; margin: 0; }
.display em { font-style: normal; font-weight: inherit; color: var(--accent); }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.03em; margin: 0; }
.h2 em { font-style: normal; font-weight: inherit; color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--fg-dim); max-width: 38em; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 1.7em; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(226, 55, 43, .7); }
.btn-primary:hover { background: #f0463a; transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(226, 55, 43, .8); }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--fg); background: rgba(127, 127, 127, .08); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: var(--nav-bg); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.brand img { height: 44px; width: auto; }
.marque { display: flex; flex-direction: column; line-height: 1; }
.marque b { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: .06em; }
.marque small { margin-top: 4px; font-size: .6rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: .92rem; color: var(--fg-dim); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--fg); }
.nav .btn { min-height: 42px; padding: 0 1.2em; font-size: .88rem; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(226, 55, 43, var(--glow)), transparent 70%); z-index: -1; filter: blur(20px); animation: respire 9s ease-in-out infinite; }
.hero-mark { position: absolute; right: max(-6vw, -80px); top: 50%; translate: 0 -50%; width: min(46vw, 520px); opacity: var(--mark); z-index: -1; pointer-events: none; animation: flotte 14s ease-in-out infinite; }
.hero h1 { font-size: clamp(2.3rem, 6.2vw, 5.3rem); max-width: 15ch; }
.hero .lead { margin: 28px 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.proof { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); }
.proof div { display: flex; flex-direction: column; }
.proof strong { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.02em; line-height: 1.1; }
.proof span { font-size: .82rem; color: var(--fg-faint); letter-spacing: .04em; }
@keyframes respire { 50% { transform: scale(1.12); opacity: .8; } }
@keyframes flotte { 50% { transform: translateY(-14px) rotate(2deg); } }

/* Bandeau défilant */
.ruban { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; background: var(--surface); }
.ruban-piste { display: flex; width: max-content; gap: 48px; animation: defile 48s linear infinite; }
.ruban:hover .ruban-piste { animation-play-state: paused; }
.ruban span { font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.6rem); color: var(--fg-dim); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.ruban span::after { content: ""; width: 10px; height: 10px; background: var(--red); border-radius: 50% 50% 50% 0; rotate: -45deg; }
@keyframes defile { to { transform: translateX(-50%); } }

/* Sections */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 150px) 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 56px; }
.section-head .h2 { max-width: 14ch; margin-top: 14px; }

/* Filtres */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 8px 18px; font-size: .88rem; cursor: pointer; color: var(--fg-dim); transition: all .2s; }
.chip:hover { color: var(--fg); border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Liste de formations */
.formations { border-top: 1px solid var(--line); counter-reset: f; }
.formation { counter-increment: f; position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1.4fr) auto 48px; align-items: center; gap: 24px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 34px 12px; cursor: pointer; transition: background .35s var(--ease), padding .35s var(--ease); color: inherit; }
.formation::before { content: "0" counter(f); font-family: var(--display); font-weight: 700; color: var(--fg-faint); font-weight: 600; font-size: 1rem; }
.formation:hover, .formation:focus-visible { background: linear-gradient(90deg, rgba(226, 55, 43, .12), transparent 70%); padding-inline: 28px 12px; }
.formation h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -.02em; line-height: 1.1; }
.formation p { margin: 0; color: var(--fg-dim); font-size: .95rem; max-width: 36em; }
.formation .prix { text-align: right; font-weight: 600; white-space: nowrap; }
.formation .prix small { display: block; font-weight: 400; color: var(--fg-faint); font-size: .75rem; }
.formation .go { padding: 0; background: none; color: inherit; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: all .3s var(--ease); }
.formation:hover .go { background: var(--red); border-color: var(--red); rotate: -45deg; }
.formation.complet { opacity: .5; cursor: not-allowed; }
.tag { display: inline-block; margin-top: 8px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--warn); }
.tag.complet { color: var(--accent); }
@media (max-width: 860px) {
  .formation { grid-template-columns: 40px 1fr auto; gap: 14px 16px; padding: 26px 4px; }
  .formation p { grid-column: 2 / 4; grid-row: 2; }
  .formation .go { display: none; }
}
.squelette { height: 112px; border-bottom: 1px solid var(--line); background: linear-gradient(100deg, transparent 30%, rgba(127, 127, 127, .14) 50%, transparent 70%) 0 0 / 200% 100%; animation: brille 1.4s linear infinite; }
@keyframes brille { to { background-position: -200% 0; } }

/* Comment ça marche */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.etape { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s, transform .4s var(--ease); }
.etape:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.etape b { display: block; font-family: var(--display); font-weight: 700; font-size: 2.8rem; line-height: 1; color: var(--accent); margin-bottom: 24px; }
.etape h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 600; }
.etape p { margin: 0; color: var(--fg-dim); font-size: .95rem; }
@media (max-width: 860px) { .etapes { grid-template-columns: 1fr; } }

/* Inscription */
.inscription { background: var(--surface); border-block: 1px solid var(--line); }
.insc-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.insc-aside { position: sticky; top: 110px; }
.insc-aside .h2 { margin: 14px 0 22px; }
.recap { margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.recap dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-faint); }
.recap dd { margin: 4px 0 18px; font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; }
.recap dd:last-child { margin-bottom: 0; color: var(--accent); font-size: 1.8rem; }
.garanties { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: var(--fg-dim); font-size: .92rem; }
.garanties li { display: flex; gap: 12px; align-items: flex-start; }
.garanties svg { flex: none; margin-top: 3px; color: var(--ok); }
@media (max-width: 900px) { .insc-grid { grid-template-columns: 1fr; } .insc-aside { position: static; } }

.carte-form { background: var(--paper); color: #1a1816; border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); --fg: #1a1816; --fg-dim: #5c554d; --fg-faint: #8d857a; --line: rgba(26, 24, 22, .14); --line-strong: rgba(26, 24, 22, .3); }
.steps { display: flex; gap: 8px; margin: 0 0 32px; padding: 0; }
.steps li { flex: 1; list-style: none; }
.steps .barre { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.steps .barre::after { content: ""; display: block; height: 100%; width: 0; background: var(--red); transition: width .5s var(--ease); }
.steps .fait .barre::after, .steps .actif .barre::after { width: 100%; }
.steps small { display: block; margin-top: 8px; font-size: .75rem; letter-spacing: .06em; color: var(--fg-faint); font-weight: 600; text-transform: uppercase; }
.steps .actif small { color: var(--red-deep); }
.etape-form { display: none; animation: entre .45s var(--ease); }
.etape-form.actif { display: block; }
@keyframes entre { from { opacity: 0; transform: translateX(18px); } }
.etape-form h3 { font-family: var(--display); font-weight: 700; font-size: 1.7rem; margin: 0 0 6px; letter-spacing: -.015em; }
.etape-form > p { margin: 0 0 26px; color: var(--fg-dim); font-size: .95rem; }

.champ { margin-bottom: 20px; }
.champ label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 8px; letter-spacing: .01em; }
.champ .ctrl { position: relative; display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.champ .ctrl:focus-within { border-color: #1a1816; box-shadow: 0 0 0 4px rgba(226, 55, 43, .14); }
.champ.invalide .ctrl { border-color: var(--red-deep); }
.champ input, .champ select { width: 100%; min-height: 54px; padding: 0 16px; border: 0; background: transparent; outline: 0; font-size: 1rem; color: #1a1816; }
.champ select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.champ .ctrl.select::after { content: ""; position: absolute; right: 18px; width: 8px; height: 8px; border-right: 2px solid #1a1816; border-bottom: 2px solid #1a1816; rotate: 45deg; translate: 0 -3px; pointer-events: none; }
.champ .pref { padding-left: 16px; color: var(--fg-faint); font-weight: 600; font-size: .95rem; user-select: none; }
.champ .pref + input { padding-left: 8px; }
.champ .pref.cache { display: none; }
.champ .pref.cache + input { padding-left: 16px; }
.champ .aide { margin: 6px 2px 0; font-size: .8rem; color: var(--fg-faint); }
.champ .err { display: none; margin: 6px 2px 0; font-size: .82rem; color: var(--red-deep); font-weight: 500; }
.champ.invalide .err { display: block; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .duo { grid-template-columns: 1fr; gap: 0; } }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--fg-dim); margin: 20px 0; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.consent a { color: var(--red-deep); }
.champ.invalide .consent { color: var(--red-deep); }
.resume { margin: 0 0 20px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.resume div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.resume div:last-child { border: 0; background: #faf3ec; }
.resume dt { color: var(--fg-faint); }
.resume dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }
.resume .total dd { color: var(--red-deep); font-family: var(--display); font-weight: 700; font-size: 1.35rem; }
.actions-form { display: flex; gap: 12px; margin-top: 28px; }
.actions-form .btn { flex: 1; }
.actions-form .btn-ghost { flex: 0 0 auto; border-color: var(--line-strong); color: #1a1816; }
.alerte { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fdecea; color: #8a1c14; font-size: .9rem; }
.alerte.visible { display: block; }
.mentions { margin: 18px 0 0; font-size: .8rem; color: var(--fg-faint); text-align: center; }
.paiements { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.paiements span { border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--fg-dim); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: tourne .7s linear infinite; }
@keyframes tourne { to { rotate: 360deg; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.6rem; color: var(--accent); transition: rotate .3s var(--ease); flex: none; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 26px; color: var(--fg-dim); max-width: 46em; }

/* Pied de page */
.footer { padding: 72px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-grid h4 { margin: 0 0 12px; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-faint); font-weight: 600; }
.footer-grid p, .footer-grid a { margin: 0 0 6px; color: var(--fg-dim); text-decoration: none; display: block; font-size: .95rem; }
.footer-grid a:hover { color: var(--fg); }
.footer-bas { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: var(--fg-faint); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

[hidden] { display: none !important; }
.no-top { padding-top: 0; }
.famille { color: var(--fg-faint); letter-spacing: .06em; text-transform: uppercase; font-size: .7rem; }
.hero { min-height: min(100svh, 920px); }
.hero-mark { height: auto; }
.t-haut img, .brand img { width: auto; }

/* ---------- Thème clair (le thème sombre reste le défaut du :root) ---------- */
html[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f6f3ee;
  --surface-2: #ffffff;
  --fg: #16130f;
  --fg-dim: #5a534b;
  --fg-faint: #8a8379;
  --line: rgba(22, 19, 15, .12);
  --line-strong: rgba(22, 19, 15, .26);
  --accent: #d12a1e;
  --nav-bg: rgba(255, 255, 255, .8);
  --glow: .13;
  --mark: .10;
  color-scheme: light;
}
html[data-theme="light"] .carte-form { box-shadow: 0 30px 60px -34px rgba(22, 19, 15, .28); border: 1px solid rgba(22, 19, 15, .08); }
html[data-theme="light"] .btn-primary { box-shadow: 0 10px 26px -12px rgba(226, 55, 43, .6); }
html[data-theme="light"] body.grain::after { opacity: .025; }
html[data-theme="light"] .ruban { background: var(--surface); }

/* Bouton de bascule de thème */
.theme-toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--fg); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s, rotate .5s var(--ease); flex: none; }
.theme-toggle:hover { border-color: var(--fg); background: rgba(127, 127, 127, .1); }
.theme-toggle:active { rotate: 25deg; }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .i-lune { display: none; }
html[data-theme="light"] .theme-toggle .i-soleil { display: none; }
html[data-theme="light"] .theme-toggle .i-lune { display: block; }

/* Accroche en diaporama */
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(48px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s .7s; }
.slide.actif { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.slide.sortie { transform: translateX(-48px); }
.pastilles { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; }
.pastilles button { position: relative; width: 44px; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; }
.pastilles button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 2px; background: var(--line-strong); }
.pastilles button::after { content: ""; position: absolute; left: 0; top: 10px; height: 4px; width: 0; border-radius: 2px; background: var(--accent); }
.pastilles button[aria-current="true"]::after { width: 100%; }
.slides-auto .pastilles button[aria-current="true"]::after { animation: progression var(--duree, 6s) linear; }
.slides-pause .pastilles button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes progression { from { width: 0; } to { width: 100%; } }
@media (max-width: 760px) { .marque small { font-size: .54rem; letter-spacing: .12em; } .brand img { height: 38px; } }
@media (prefers-reduced-motion: reduce) { .slide { transform: none; } .slide.sortie { transform: none; } }

/* ---------- Hero : images (R2) ---------- */
.hero-grid { display: block; }
.hero.a-visuel .hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero.a-visuel .hero-mark { display: none; }
.hero.a-visuel .hero h1, .hero.a-visuel h1 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.hero-visuel { position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: 640px; width: 100%; border-radius: 28px; overflow: hidden; background: var(--surface); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .55); isolation: isolate; }
.visuel-pistes { position: absolute; inset: 0; }
.visuel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.visuel-img.actif { opacity: 1; animation: zoom 9s ease-out forwards; }
@keyframes zoom { from { scale: 1.07; } to { scale: 1; } }
.hero-visuel::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(10, 9, 8, .62), transparent 42%); }
.visuel-legende { position: absolute; z-index: 2; left: 22px; right: 90px; bottom: 20px; color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.35; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.visuel-points { position: absolute; z-index: 2; right: 18px; bottom: 18px; display: flex; gap: 6px; }
.visuel-points button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: background .2s, width .3s var(--ease); }
.visuel-points button[aria-current="true"] { background: #fff; width: 24px; border-radius: 5px; }
@media (max-width: 960px) {
  .hero.a-visuel .hero-grid { grid-template-columns: 1fr; }
  .hero-visuel { aspect-ratio: 16 / 10; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .visuel-img.actif { animation: none; } }

/* Catalogue : titre cliquable vers la page de la formation, bouton d'inscription séparé */
.formation { cursor: pointer; }
.formation h3 a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.formation h3 a:hover, .formation h3 a:focus-visible { background-size: 100% 2px; }
.formation:hover .go:not([disabled]) { background: var(--red); border-color: var(--red); color: #fff; rotate: -45deg; }
.formation .go[disabled] { cursor: not-allowed; }
@media (max-width: 860px) {
  .formation { grid-template-columns: 32px minmax(0, 1fr) auto 44px; }
  .formation p { grid-column: 2 / 5; }
  .formation .go { display: grid; width: 44px; height: 44px; }
}

/* Présentation du club */
.club-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.club-grille .h2 { margin-top: 14px; max-width: 12ch; }
.club-texte p { margin: 0 0 18px; color: var(--fg-dim); font-size: 1.05rem; max-width: 46em; }
.club-texte strong { color: var(--fg); }
.club-texte a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 900px) { .club-grille { grid-template-columns: 1fr; } }

.footer-grid a.brand { display: flex; margin: 0 0 10px; }
