/* =============================================================================
   COACHDIM — FEUILLE DE STYLE
   Sommaire :
   1. Polices & variables       6. Accueil : hero, cartes, qui suis-je, guide
   2. Base & utilitaires        7. Avis (carrousel), palmarès, galerie, bandeau final
   3. Boutons & titres          8. Pages intérieures (offres, étapes, tarifs, FAQ)
   4. En-tête & menu mobile     9. Formulaire de contact & pages légales
   5. Pied de page             10. Animations d'apparition & accessibilité
============================================================================= */

/* ---------- 1. Polices & variables ---------- */
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 900; font-display: swap; src: url("../fonts/barlow-condensed-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --red: #e10600;
  --red-dark: #b30500;
  --black: #0a0a0a;
  --ink: #141414;
  --dark-2: #1b1b1b;
  --light: #f2f2f2;
  --white: #fff;
  --grey: #8d8d8d;
  --text-light: #d6d6d6;
  --font-title: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --header-h: 76px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* ---------- 2. Base & utilitaires ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--black);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
p + p { margin-top: 1em; }
.icon { width: 1.5em; height: 1.5em; flex-shrink: 0; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.center { text-align: center; }
.hl { color: var(--red); }
.bw { filter: grayscale(1) contrast(1.08); }
.kicker { font-family: var(--font-title); font-style: italic; font-weight: 800; text-transform: uppercase; color: var(--red); font-size: 1.35rem; letter-spacing: 0.02em; }
.lead { font-size: 1.1rem; margin: 1rem 0 1.4rem; }
.note { font-size: 0.85rem; color: var(--grey); margin-top: 2rem; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.section { position: relative; padding: clamp(64px, 9vw, 110px) 0; overflow: hidden; }
.section--dark { background: radial-gradient(ellipse at 20% 0%, #1d1d1d 0%, var(--black) 60%); color: var(--text-light); }
.section--light {
  background: radial-gradient(circle at 15% 20%, #fff 0%, transparent 45%), radial-gradient(circle at 85% 80%, #fff 0%, transparent 40%), var(--light);
  color: #2a2a2a;
}
.section--light .title { color: var(--ink); }

/* Éclaboussures décoratives */
.splash { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.deco-tl { top: -60px; left: -80px; width: 340px; opacity: 0.7; }
.deco-tr { top: -40px; right: -90px; width: 360px; opacity: 0.7; transform: rotate(40deg); }
.deco-br { bottom: -30px; right: -120px; width: 620px; opacity: 0.6; transform: rotate(-8deg); }

/* ---------- 3. Boutons & titres ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  padding: 0.85em 1.6em;
  border: 2px solid var(--red); border-radius: 999px;
  background: var(--red); color: #fff;
  font-family: var(--font-title); font-weight: 700; font-size: 1.12rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(225, 6, 0, 0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(225, 6, 0, 0.45); }
.btn__arrow { width: 1.25em; height: 1.25em; transition: transform 0.2s; }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--lg { font-size: 1.25rem; padding: 0.9em 1.8em; }
.btn--sm { font-size: 1rem; padding: 0.6em 1.3em; }
.btn--outline { background: transparent; color: var(--red); box-shadow: none; }
.btn--outline:hover { color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; color: var(--red); font-weight: 700; text-decoration: none; margin-top: 2rem; }
.link-arrow .icon { width: 1.1em; }

.title {
  font-family: var(--font-title); font-weight: 900; font-style: italic; text-transform: uppercase;
  line-height: 0.95; letter-spacing: 0.005em; color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
}
.title--sm { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 1rem; }
.title--lg { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 1.2rem; }
.title--xl { font-size: clamp(2.8rem, 7vw, 5rem); }
.section-head { text-align: center; max-width: 1000px; margin: 0 auto clamp(32px, 5vw, 52px); }
.section-head .title::after { content: ""; display: block; width: 70px; height: 4px; background: var(--red); margin: 18px auto 0; border-radius: 2px; }
.section-head__sub { margin-top: 14px; font-size: 1.08rem; }
.section-head--dark .section-head__sub { color: var(--text-light); }

.checklist { display: grid; gap: 0.7rem; margin: 1.4rem 0 1.8rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist .icon { color: var(--red); width: 1.35em; height: 1.35em; margin-top: 0.1em; }

/* ---------- 4. En-tête & menu ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(10, 10, 10, 0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; }
.logo img { width: 170px; height: auto; }
.logo__tagline { font-size: 0.66rem; color: #cfcfcf; margin-top: 5px; padding-bottom: 4px; border-bottom: 1px solid var(--red); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav ul a {
  font-family: var(--font-title); font-weight: 700; text-transform: uppercase; font-size: 0.98rem; letter-spacing: 0.04em;
  text-decoration: none; color: #fff; padding: 6px 0; position: relative;
}
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform 0.25s; }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.burger { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.burger .icon { width: 30px; height: 30px; }
.burger__close { display: none; }

@media (max-width: 1080px) {
  .burger { display: grid; position: relative; z-index: 2; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 1;
    flex-direction: column; align-items: stretch; gap: 28px; padding: 32px var(--gutter);
    background: rgba(10, 10, 10, 0.98);
    opacity: 0; transform: translateY(-12px); visibility: hidden; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    overflow-y: auto;
  }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav ul a { display: block; font-size: 1.6rem; padding: 10px 0; border-bottom: 1px solid #222; }
  .main-nav ul a::after { display: none; }
  .main-nav ul a[aria-current="page"] { color: var(--red); }
  .main-nav__cta { align-self: flex-start; font-size: 1.2rem; }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .nav-open .burger__open { display: none; }
  .nav-open .burger__close { display: block; }
  .nav-open { overflow: hidden; }
}
/* En-tête plus haut et plus lisible sur téléphone / tablette */
@media (max-width: 1080px) {
  :root { --header-h: 90px; }
  .logo img { width: 215px; }
  .logo__tagline { font-size: 0.76rem; margin-top: 6px; }
  .burger { width: 54px; height: 54px; margin-right: -8px; display: grid; place-items: center; }
  .burger .icon { width: 36px; height: 36px; }
}
@media (max-width: 420px) {
  .logo img { width: 190px; }
  .logo__tagline { font-size: 0.67rem; }
}

/* ---------- 5. Pied de page ---------- */
.site-footer { background: #050505; border-top: 3px solid var(--red); padding: 60px 0 24px; font-size: 0.93rem; color: #bdbdbd; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer__brand p { margin: 18px 0; max-width: 300px; }
.site-footer__title { font-family: var(--font-title); font-weight: 800; font-style: italic; text-transform: uppercase; color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.site-footer__contact li { display: flex; gap: 10px; align-items: center; word-break: break-word; }
.site-footer__contact .icon { color: var(--red); width: 1.2em; height: 1.2em; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #333; color: #fff; transition: background 0.2s, border-color 0.2s; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.socials .icon { width: 20px; height: 20px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 20px; border-top: 1px solid #222; font-size: 0.82rem; color: #888; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- 6a. Hero (accueil) ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--black);
  min-height: clamp(600px, calc(100vh - var(--header-h)), 800px);
  display: flex; align-items: center;
}
/* Photo à droite, jamais agrandie au-delà de sa taille réelle (799 px de large) */
.hero__media { position: absolute; top: 0; bottom: 0; right: 0; width: min(62%, 790px); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(10, 10, 10, 0.75) 22%, rgba(10, 10, 10, 0.1) 55%, transparent 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.85) 0%, transparent 30%);
}
.hero__splash { right: -60px; bottom: 30px; width: 460px; transform: rotate(-24deg); opacity: 0.9; z-index: 1; mix-blend-mode: normal; }
.hero__splatter { left: 40%; top: 60px; width: 160px; opacity: 0.55; z-index: 1; }
.hero__inner { padding-top: 56px; padding-bottom: 56px; z-index: 2; }
.hero__title { font-family: var(--font-title); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: 0.88; transform: rotate(-4deg); transform-origin: left bottom; max-width: 640px; }
.hero__kicker { display: block; color: var(--red); font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.hero__main { display: block; color: #fff; font-size: clamp(3.2rem, 8.4vw, 6.6rem); text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.hero__subtitle { margin: 38px 0 30px; color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; font-size: clamp(0.85rem, 1.5vw, 1.05rem); line-height: 1.7; }
.hero__goals { display: flex; flex-wrap: wrap; margin-top: 40px; max-width: 640px; }
.hero__goals li { flex: 1 1 0; min-width: 130px; }
.hero__goals li + li { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.hero__goals a { display: flex; align-items: center; gap: 10px; padding: 6px 14px; text-decoration: none; color: #fff; font-family: var(--font-title); font-weight: 700; text-transform: uppercase; font-size: 0.95rem; line-height: 1.1; }
.hero__goals li:first-child a { padding-left: 0; }
.hero__goal-icon { color: var(--red); width: 34px; height: 34px; transition: transform 0.2s; }
.hero__goals a:hover .hero__goal-icon { transform: scale(1.12); }

@media (max-width: 800px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__media { position: relative; width: 100%; height: 62vh; min-height: 380px; max-height: 560px; }
  .hero__media { overflow: hidden; }
  .hero__media img { width: 125%; max-width: none; } /* recadrage : masque le logo d'événement en bas à droite */
  .hero__media::after { background: linear-gradient(0deg, var(--black) 4%, rgba(10, 10, 10, 0.8) 32%, transparent 62%); }
  .hero__kicker { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9); }
  .hero__inner { margin-top: -170px; padding-top: 0; }
  .hero__splash { width: 260px; bottom: auto; top: 6%; right: -110px; opacity: 0.7; }
  .hero__splatter { display: none; }
  .hero__subtitle { margin-top: 30px; }
  .hero__goals { gap: 14px 0; }
  .hero__goals li { flex: 1 1 50%; min-width: 0; }
  .hero__goals li:nth-child(3) { border-left: 0; }
  .hero__goals li:nth-child(3) a { padding-left: 0; }
}

/* ---------- 6b. Cartes coachings ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; transition: transform 0.25s; }
.card:hover { transform: translateY(-6px); }
.card__media { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.2; background: #222; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body {
  position: relative; z-index: 1; display: flex; gap: 12px; flex: 1;
  margin: -34px 10px 0; padding: 18px 16px; border-radius: 12px;
  background: #fff; box-shadow: var(--shadow); font-size: 0.9rem; color: #444;
}
.card__icon { color: var(--red); }
.card__icon .icon { width: 34px; height: 34px; }
.card__title { font-family: var(--font-title); font-weight: 800; font-style: italic; font-size: 1.3rem; text-transform: uppercase; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--red); }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- 6c. Qui suis-je ---------- */
.about { padding: 0; }
.about__media { position: absolute; left: 0; top: 0; bottom: 0; width: min(36%, 720px); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--black) 100%), linear-gradient(0deg, var(--black) 0%, rgba(10, 10, 10, 0.5) 12%, transparent 30%); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-top: clamp(64px, 8vw, 100px); padding-bottom: clamp(64px, 8vw, 100px); margin-left: max(36%, 0px); width: auto; max-width: none; padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.about__name { font-family: var(--font-title); font-weight: 900; font-size: clamp(3.4rem, 6vw, 5rem); color: #fff; line-height: 0.95; margin: 4px 0 6px; letter-spacing: -0.005em; }
.about__subtitle { font-family: var(--font-title); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 1.15rem; letter-spacing: 0.04em; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 2px solid var(--red); display: inline-block; }
.about__text p:not(.kicker):not(.about__subtitle) { font-size: 0.97rem; }
.about__text .btn { margin-top: 28px; }
.about__points { display: grid; gap: 30px; align-content: center; border-left: 1px solid #2c2c2c; padding-left: 36px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon { color: var(--red); flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(225, 6, 0, 0.1); }
.feature__icon .icon { width: 30px; height: 30px; }
.feature__title { font-family: var(--font-title); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 1.15rem; line-height: 1.1; }
.feature p { font-size: 0.85rem; color: #a9a9a9; margin-top: 2px; }
@media (max-width: 1080px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__points { border-left: 0; padding-left: 0; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .about__media { position: relative; width: 100%; height: 440px; }
  .about__media::after { background: linear-gradient(0deg, var(--black) 2%, transparent 45%); }
  .about__grid { margin-left: 0; padding-right: var(--gutter); padding-top: 10px; }
}
@media (max-width: 520px) { .about__points { grid-template-columns: 1fr; } }

/* ---------- 6d. Guide nutrition ---------- */
.guide { background: linear-gradient(110deg, #141414 0%, var(--black) 55%); border-top: 1px solid #1e1e1e; }
.guide__side { position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: min(100%, 720px); width: min(32%, 620px); } /* hauteur limitée à celle de la photo (720 px) */
.guide__side { overflow: hidden; }
.guide__side img { width: 128%; max-width: none; height: 100%; object-fit: cover; } /* recadrage : masque le logo d'événement à droite */
.guide__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 0%, rgba(10, 10, 10, 0.3) 40%, transparent 70%), linear-gradient(0deg, var(--black) 0%, transparent 28%), linear-gradient(180deg, var(--black) 0%, transparent 20%); }
.guide__grid { display: grid; grid-template-columns: 360px 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; padding-right: min(30%, 380px); }
.guide__text { position: relative; }
.guide__bubble-row { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.bubble {
  display: inline-block; padding: 14px 26px; border: 3px solid var(--red); border-radius: 22px;
  background: #fff; color: var(--red); transform: rotate(-4deg);
  font-family: var(--font-title); font-weight: 900; font-style: italic; text-transform: uppercase; text-align: center; line-height: 1; font-size: 1.25rem;
  box-shadow: 6px 6px 0 var(--red);
}
.guide__arrow { width: 80px; color: #fff; flex-shrink: 0; }

/* Couverture du guide (image fournie), légèrement inclinée */
.book { perspective: 1200px; width: 100%; max-width: 330px; margin: 0 auto; }
.book__img {
  width: 100%; height: auto; border-radius: 4px 8px 8px 4px;
  transform: rotateY(14deg) rotateZ(-2deg); transform-origin: left center;
  box-shadow: 22px 26px 50px rgba(0, 0, 0, 0.7);
}

@media (max-width: 1080px) {
  .guide__grid { grid-template-columns: 300px 1fr; padding-right: var(--gutter); }
  .guide__side { width: 34%; opacity: 0.35; }
}
@media (max-width: 760px) {
  .guide__grid { grid-template-columns: 1fr; }
  .guide__book { max-width: 280px; margin: 0 auto; }
  .guide__side { display: none; }
  .guide__arrow { display: none; }
}

/* ---------- 7a. Avis + palmarès ---------- */
.reviews__grid { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.reviews__grid--full { grid-template-columns: 1fr; }
.palmares { background: var(--ink); color: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.palmares__media { aspect-ratio: 4 / 3.6; }
.palmares__media img { width: 100%; height: 100%; object-fit: cover; }
.palmares__body { padding: 22px; }
.palmares__body .title { color: #fff; }
.palmares__body .kicker { font-size: 1.05rem; }
.palmares__body .title--sm { margin: 2px 0 12px; }
.palmares__line { display: flex; align-items: center; gap: 16px; }
.palmares__result { font-family: var(--font-title); font-weight: 900; font-style: italic; font-size: 2rem; color: var(--red); line-height: 1; min-width: 110px; }
.palmares__event { font-weight: 700; color: #fff; line-height: 1.2; }
.palmares__event small { display: block; font-weight: 400; color: #aaa; font-size: 0.82rem; }

.carousel { position: relative; min-width: 0; }
.carousel__controls { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 16px; }
.carousel__btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
.carousel__btn:hover { background: var(--red); color: #fff; }
.carousel__btn:disabled { opacity: 0.35; cursor: default; background: #fff; color: var(--ink); }
.carousel__btn .icon { width: 22px; height: 22px; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 22px) / 2); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 6px 4px 24px; scroll-padding-inline: 4px; scrollbar-width: none;
}
.reviews__grid--full .carousel__track { grid-auto-columns: calc((100% - 44px) / 3); }
.carousel__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; }
.review figure { height: 100%; background: #fff; border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review__quote { color: var(--red); width: 38px; height: 38px; }
.review blockquote { color: #333; font-size: 0.98rem; flex: 1; }
.review__stars { display: flex; gap: 3px; color: var(--red); }
.review__stars .icon { width: 20px; height: 20px; }
.review figcaption strong { display: block; color: var(--ink); }
.review figcaption span { font-size: 0.88rem; color: #666; }
@media (max-width: 1080px) { .reviews__grid--full .carousel__track { grid-auto-columns: calc((100% - 22px) / 2); } }
@media (max-width: 900px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .palmares { display: grid; grid-template-columns: 1fr 1fr; }
  .palmares__media { aspect-ratio: auto; min-height: 260px; }
}
@media (max-width: 640px) {
  .carousel__track, .reviews__grid--full .carousel__track { grid-auto-columns: 88%; }
  .palmares { grid-template-columns: 1fr; }
  .palmares__media { aspect-ratio: 4 / 3.4; }
}

/* ---------- 7b. Galerie ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery__grid li { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: #222; }
.gallery__grid figure { position: relative; height: 100%; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.05); transition: transform 0.6s, filter 0.4s; }
.gallery__grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 14px 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent);
  color: #fff; font-family: var(--font-title); font-weight: 700; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.02em; line-height: 1.15;
}
@media (max-width: 700px) { .gallery__grid figcaption { font-size: 0.82rem; padding: 26px 10px 8px; } }
.gallery__grid li:hover img { transform: scale(1.05); filter: none; }
@media (max-width: 700px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ---------- 7c. Bandeau final "Prêt à te dépasser ?" ---------- */
.final-cta { position: relative; overflow: hidden; background: var(--black); padding: clamp(70px, 9vw, 110px) 0; }
/* Photo centrée, limitée à sa taille réelle (1081 x 720 px) : jamais agrandie */
.final-cta__media { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(100%, 1081px); height: min(100%, 720px); }
.final-cta__media img { width: 100%; height: 100%; object-fit: cover; }
.final-cta__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(10, 10, 10, 0.55) 18%, rgba(10, 10, 10, 0.6) 72%, var(--black) 96%),
    linear-gradient(0deg, var(--black) 0%, transparent 40%),
    linear-gradient(180deg, var(--black) 0%, transparent 18%),
    rgba(10, 10, 10, 0.35);
}
.final-cta__splash { left: -120px; bottom: -120px; width: 420px; opacity: 0.85; z-index: 1; }
.final-cta__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.final-cta__title { font-family: var(--font-title); font-weight: 900; font-style: italic; text-transform: uppercase; color: #fff; line-height: 0.9; font-size: clamp(3rem, 7vw, 5.6rem); transform: rotate(-4deg); transform-origin: left bottom; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.final-cta__text { color: #f0f0f0; font-size: 1.15rem; margin: 28px 0 30px; max-width: 460px; }
.final-cta__price { margin-top: 18px; font-weight: 600; color: #fff; }
.final-cta__price a { text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.benefits { display: grid; gap: 22px; }
.benefits li { display: flex; gap: 16px; align-items: center; }
.benefits__icon { color: var(--red); width: 44px; height: 44px; }
.benefits strong { display: block; color: #fff; font-size: 1.05rem; }
.benefits span { color: #c8c8c8; font-size: 0.92rem; }
@media (max-width: 800px) {
  .final-cta { padding-top: 0; }
  .final-cta__media { position: relative; left: 0; transform: none; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .final-cta__media img { object-position: 50% 0 !important; } /* recadrage : masque le logo d'événement en bas */
  .final-cta__splash { display: none; }
  .final-cta__media::after { background: linear-gradient(0deg, var(--black) 0%, transparent 60%); }
  .final-cta__grid { grid-template-columns: 1fr; margin-top: -60px; }
}

/* ---------- 8. Pages intérieures ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 70% 0%, #222 0%, var(--black) 65%); padding: clamp(70px, 10vw, 120px) 0 clamp(50px, 7vw, 80px); }
.page-hero__splash { right: -140px; bottom: -10px; width: 640px; opacity: 0.85; transform: rotate(-10deg); }
.page-hero__intro { max-width: 640px; margin-top: 20px; font-size: 1.12rem; color: #e2e2e2; }
.page-hero .title { transform: rotate(-2deg); transform-origin: left bottom; }

.subnav { background: var(--ink); border-bottom: 1px solid #222; position: sticky; top: var(--header-h); z-index: 20; }
.subnav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: flex; gap: 8px; align-items: center; white-space: nowrap; padding: 14px 16px; text-decoration: none; color: #fff; font-family: var(--font-title); font-weight: 700; text-transform: uppercase; font-size: 1rem; }
.subnav a:hover { color: var(--red); }
.subnav .icon { color: var(--red); width: 22px; height: 22px; }

.offers .container { display: grid; gap: clamp(70px, 9vw, 120px); }
.offer { scroll-margin-top: calc(var(--header-h) + 70px); } /* place pour la sous-navigation collante */
.offer { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.offer--reverse .offer__media { order: 2; }
.offer__media { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 4.6; max-height: 620px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
.offer__media img { width: 100%; height: 100%; object-fit: cover; }
.offer__icon { color: var(--red); display: inline-block; margin-bottom: 10px; }
.offer__icon .icon { width: 46px; height: 46px; }
.offer__intro { font-size: 1.08rem; color: #e6e6e6; }
.offer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.offer__subtitle { font-family: var(--font-title); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 1.15rem; letter-spacing: 0.03em; }
.offer .checklist { margin: 12px 0 0; font-size: 0.93rem; }
.offer .btn { margin-top: 30px; }
@media (max-width: 900px) {
  .offer { grid-template-columns: 1fr; }
  .offer--reverse .offer__media { order: 0; }
  .offer__media { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 560px) { .offer__cols { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text .title--sm { margin-top: 2rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } .split__media { aspect-ratio: 4 / 3.6; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.step__icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: var(--red); background: rgba(225, 6, 0, 0.08); margin-bottom: 16px; }
.step__icon .icon { width: 30px; height: 30px; }
.step h3 { font-family: var(--font-title); font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--ink); font-size: 1.4rem; line-height: 1.05; margin-bottom: 8px; }
.step p { font-size: 0.93rem; color: #555; }
@media (max-width: 1000px) { .steps, .steps--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps, .steps--3 { grid-template-columns: 1fr; } }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 460px)); justify-content: center; gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 34px 28px; box-shadow: var(--shadow); color: #444; border: 2px solid transparent; }
.plan--featured { background: var(--ink); color: #ddd; border-color: var(--red); transform: translateY(-10px); box-shadow: 0 24px 50px rgba(225, 6, 0, 0.25); }
.plan__badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-family: var(--font-title); font-weight: 700; text-transform: uppercase; padding: 4px 16px; border-radius: 999px; font-size: 0.95rem; white-space: nowrap; }
.plan__name { font-family: var(--font-title); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 2rem; color: var(--ink); line-height: 1; }
.plan--featured .plan__name { color: #fff; }
.plan__desc { margin-top: 8px; font-size: 0.93rem; }
.plan__price { margin-top: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(128, 128, 128, 0.25); }
.plan__from { display: block; font-family: var(--font-title); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1rem; color: inherit; margin-bottom: 2px; }
.plan__price strong { font-family: var(--font-title); font-weight: 900; font-style: italic; font-size: 3.2rem; color: var(--red); line-height: 1; }
.plan .checklist { flex: 1; font-size: 0.94rem; }
.plan .btn { justify-content: center; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan--featured { transform: none; }

.faq { display: grid; gap: 12px; }
.faq__item { background: var(--dark-2); border-radius: 12px; border: 1px solid #262626; }
.faq__item summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 700; color: #fff; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 1.6rem; font-weight: 400; transition: transform 0.2s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 22px 20px; }

/* Curseur avant / après (le curseur est un vrai <input type="range"> : souris, doigt et clavier) */
.ba-wrap { margin: 0; }
.ba {
  position: relative; overflow: hidden; border-radius: 18px; background: #111;
  aspect-ratio: 600 / 1100; max-width: 400px; margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); user-select: none; touch-action: pan-y;
}
.ba .ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__label {
  position: absolute; top: 14px; z-index: 2; padding: 4px 12px; border-radius: 999px;
  font-family: var(--font-title); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1rem; color: #fff;
  background: rgba(10, 10, 10, 0.7);
}
.ba__label--before { left: 14px; }
.ba__label--after { right: 14px; background: var(--red); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 4px; margin-left: -2px; background: #fff; pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}
.ba__handle::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.ba__handle .icon { position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: #fff; z-index: 1; stroke-width: 3; }
.ba__handle .icon:first-child { right: 6px; }
.ba__handle .icon:last-child { left: 6px; }
.ba__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba:has(.ba__range:focus-visible) .ba__handle::before { outline: 3px solid #fff; outline-offset: 4px; }
.ba__caption { text-align: center; font-size: 0.9rem; color: #bbb; margin-top: 14px; }
.section--light .ba__caption { color: #555; }
.offer__ba { width: 100%; }

/* Résultats d'élèves (page À propos) */
.results { display: grid; grid-template-columns: minmax(280px, 380px) minmax(280px, 440px); justify-content: center; gap: clamp(30px, 5vw, 60px); align-items: start; }
.results__ba .title { text-align: center; }
.results .palmares { display: block; }
@media (max-width: 760px) { .results { grid-template-columns: 1fr; } .results .palmares { max-width: 440px; width: 100%; margin: 0 auto; } }

/* ---------- 9. Formulaire de contact & pages légales ---------- */
.contact__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.form { background: #fff; border-radius: 18px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); color: #333; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.field label span { color: var(--red); }
.field small { font-weight: 400; color: #888; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1.5px solid #d9d9d9; border-radius: 10px; background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.15); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.field--check label { font-weight: 400; font-size: 0.88rem; }
.field--check a { color: var(--red); }
.hidden-field { position: absolute; left: -9999px; }
.form .btn { margin-top: 6px; }
.form button[disabled] { opacity: 0.6; cursor: wait; }
.form__status { margin-top: 16px; font-weight: 600; }
.form__status.is-success { color: #157a2c; }
.form__status.is-error { color: var(--red); }
.form__hint { font-size: 0.82rem; color: #777; margin-top: 8px; }
.contact__aside .title { color: var(--ink); }
.contact__list { display: grid; gap: 12px; }
.contact__list a, .contact__static { display: flex; gap: 14px; align-items: center; padding: 14px 18px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); text-decoration: none; color: #555; transition: transform 0.2s; font-size: 0.92rem; word-break: break-word; }
.contact__list a:hover { transform: translateX(4px); }
.contact__list .icon { color: var(--red); width: 28px; height: 28px; }
.contact__list strong { display: block; color: var(--ink); }
.contact__photo { margin-top: 22px; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

.prose--light { color: #333; }
.prose--light h2 { font-family: var(--font-title); font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--ink); font-size: 1.6rem; margin: 2.2rem 0 0.6rem; }
.prose--light a { color: var(--red); }
.prose--light .note { margin: 0 0 1rem; padding: 12px 16px; background: #fff3f2; border-left: 4px solid var(--red); border-radius: 6px; color: #7a1a16; }

/* ---------- 10. Animations d'apparition & accessibilité ---------- */
/* Les éléments ne sont masqués que si JavaScript est actif (classe .js sur <html>). */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--delay, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .card[data-reveal].is-visible:hover { transform: translateY(-6px); transition-delay: 0ms; }

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