/* =====================================================================
   LIONEL ISELIN — style.css  (mobile first)
   ===================================================================== */

/* ---------- Polices (hébergées sur le site) ---------- */
@font-face {
  font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/anton-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #18191B;
  --surface: #222327;
  --surface-2: #1D1E21;
  --line: #2C2D31;
  --line-strong: #44454B;
  --text: #F2F2EE;
  --muted: #9A9AA0;
  --accent: #8A9456;           /* verde kaki scuro */
  --accent-hover: #A0AA6C;
  --on-accent: #0B0B0C;

  --font-title: "Anton", "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --container: 1240px;
  --section-y: 38px;           /* spazio sopra/sotto ogni sezione (mobile) */
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Scala tipografica unica */
  --fs-label: 12px;   /* etichette maiuscole, eyebrow */
  --fs-small: 14px;   /* meta, didascalie, footer */
  --fs-body: 16px;    /* testo corrente, liste, card */
  --fs-lead: 17px;    /* paragrafi introduttivi (18px su desktop) */
}

@media (min-width: 720px)  { :root { --gutter: 32px; --section-y: 53px; } }
@media (min-width: 1024px) { :root { --fs-lead: 18px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; --section-y: 62px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  -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; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: 10px 14px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.only-desktop { display: none; }
@media (min-width: 720px) { .only-desktop { display: inline; } .only-mobile { display: none; } }

/* ---------- Typo ---------- */
.eyebrow {
  font-size: var(--fs-label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}

.section__title {
  font-family: var(--font-title); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.5rem, 6.8vw, 4.6rem); line-height: 1; letter-spacing: .005em;
  margin-bottom: 28px;
}
.section__title--sm { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.section__title--narrow { max-width: 24ch; }
.section__intro { color: #BDBDB8; max-width: 46ch; margin-top: -14px; margin-bottom: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1.2; text-align: center;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: var(--fs-small); }
.btn--block { width: 100%; }

.link { color: var(--text); border-bottom: 1px solid var(--accent); }
.link:hover { color: var(--accent); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(24, 25, 27, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
@media (min-width: 1024px) { .header__inner { height: 72px; } }
.logo { font-family: var(--font-title); font-size: 20px; letter-spacing: .03em; line-height: 1; }
.logo span { color: var(--accent); }
.logo .logo__tag { font-family: var(--font-text); font-weight: 400; color: var(--text); text-transform: none; letter-spacing: .01em; font-size: .78em; margin-left: 4px; }
@media (min-width: 1024px) { .logo { font-size: 22px; } }

.nav { display: none; gap: 32px; font-size: 15px; color: #CFCFCA; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__cta { display: none; }
/* Lingua: bandiere (la lingua attiva è piena, l'altra attenuata) */
.lang { display: flex; align-items: center; gap: 6px; }
.lang__btn { display: grid; background: none; border: 0; padding: 6px 3px; cursor: pointer; opacity: .45; transition: opacity .2s; }
.lang__btn:hover { opacity: .8; }
.lang__btn[aria-current="true"] { opacity: 1; }
.flag { display: block; width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }

.burger {
  display: grid; gap: 4px; place-content: center; width: 40px; height: 40px;
  background: none; border: 0; cursor: pointer; margin-right: -8px;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--text); transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); height: calc(100dvh - 64px); overflow-y: auto; }
.mobile-menu__nav { display: flex; flex-direction: column; padding-top: 16px; padding-bottom: 32px; }
.mobile-menu__nav a:not(.btn) {
  font-family: var(--font-title); font-size: 34px; text-transform: uppercase; line-height: 1.1;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu__nav .btn { margin-top: 28px; }

@media (min-width: 1024px) {
  .nav, .header__cta { display: flex; }
  .burger, .mobile-menu { display: none !important; }
}

/* ---------- Photos ---------- */
.photo { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { padding-top: 36px; }
.hero__grid { display: grid; gap: 40px; }
.hero__title {
  font-family: var(--font-title); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.9rem, 13vw, 7.4rem); line-height: .96; letter-spacing: .005em;
  margin-bottom: 24px;
}
.hero__subtitle { color: #C9C9C4; max-width: 44ch; margin-bottom: 28px; font-size: var(--fs-lead); }
.hero__ctas { display: grid; gap: 10px; }

@media (min-width: 720px) {
  .hero { padding-top: 56px; }
  .hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
}
@media (min-width: 1024px) {
  .hero__title { font-size: clamp(4.2rem, 6.1vw, 6.6rem); }
}

/* Hero avec vidéo de fond */
.hero__bg, .hero__controls { display: none; }
.hero--video { position: relative; isolation: isolate; padding-top: 0; }
.hero--video .hero__bg { display: block; position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
/* Voile : lisibilité du texte + fondu vers la page */
.hero--video .hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 25, 27, .35) 0%, rgba(24, 25, 27, .55) 45%, rgba(24, 25, 27, .92) 82%, var(--bg) 100%);
}
.hero--video .hero__grid { grid-template-columns: 1fr; min-height: calc(100svh - 64px - 96px); align-content: end; padding-top: 96px; padding-bottom: 16px; }
.hero--video .hero__title { text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero--video .hero__subtitle { color: #E4E4DF; }
.hero--video .btn--ghost { background: rgba(11, 11, 12, .35); border-color: rgba(242, 242, 238, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero--video .stats-band { margin-top: 32px; position: relative; }

.hero--video .hero__controls { display: flex; gap: 8px; position: absolute; z-index: 2; right: var(--gutter); top: 20px; }
.hero--video .hero__toggle {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  background: rgba(11, 11, 12, .45); border: 1px solid rgba(242, 242, 238, .35); color: var(--text);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .2s;
}
.hero--video .hero__toggle:hover { border-color: var(--accent); }
/* icône pause (deux barres) / lecture (triangle) */
.hero__toggle-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero__sound .snd-on { display: none; }
.hero__sound[aria-pressed="true"] .snd-on { display: inline; }
.hero__sound[aria-pressed="true"] .snd-off { display: none; }
.hero__sound[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.hero__toggle[aria-pressed="true"] .hero__toggle-icon {
  width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor; margin-left: 3px;
}

@media (min-width: 1024px) {
  /* Desktop : voile plus dense à gauche, là où se trouve le texte */
  .hero--video .hero__bg::after {
    background:
      linear-gradient(90deg, rgba(24, 25, 27, .9) 0%, rgba(24, 25, 27, .7) 38%, rgba(24, 25, 27, .2) 75%, rgba(24, 25, 27, .1) 100%),
      linear-gradient(180deg, transparent 60%, var(--bg) 100%);
  }
  .hero--video .hero__grid { min-height: calc(100svh - 72px - 110px); align-content: center; padding-top: 72px; padding-bottom: 40px; }
  .hero--video .hero__text { max-width: 680px; }
  .hero--video .hero__controls { top: 24px; }   /* in alto a destra (in basso toccava la fascia dei numeri) */
}

/* Hero « pannello » : cornice attorno al video ; su desktop il video occupa solo il lato destro
   (quasi nessun ingrandimento → più nitido). Togliere .hero--panel = video a tutto schermo. */
.hero--panel { --hero-frame: 10px; }
.hero--panel .hero__bg { inset: var(--hero-frame) var(--hero-frame) 0; }
.hero--panel .hero__controls { right: calc(var(--gutter) + var(--hero-frame)); top: calc(20px + var(--hero-frame)); }
@media (min-width: 720px) { .hero--panel { --hero-frame: 20px; } }
@media (min-width: 1024px) {
  .hero--panel .hero__bg { top: 20px; left: auto; right: var(--gutter); width: min(52%, 760px); }
  .hero--panel .hero__bg::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(24, 25, 27, .55) 22%, rgba(24, 25, 27, .1) 55%, rgba(24, 25, 27, .05) 100%),
      linear-gradient(180deg, transparent 62%, var(--bg) 100%);
  }
  .hero--panel .hero__video { object-position: center 35%; }
  .hero--panel .hero__controls { right: calc(var(--gutter) + 20px); top: 40px; bottom: auto; }
}

/* Stats */
.stats-band { margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 26px 8px 26px 14px; border-right: 1px solid var(--line); min-width: 0; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__value { font-family: var(--font-title); font-size: clamp(1.9rem, 8vw, 4.2rem); line-height: 1; text-transform: uppercase; }
.stat__value .acc { color: var(--accent); }
.stat__label { font-size: 13px; color: #C9C9C4; margin-top: 12px; letter-spacing: .02em; line-height: 1.4; }
@media (min-width: 720px) {
  .stat { padding: 40px 24px 38px 40px; }
  .stat__label { font-size: 15px; }
  .stat:first-child { padding-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section + .section:not(.section--surface) { border-top: 1px solid var(--line); }
.section__intro + .grid-3, .section__intro + .grid-2 { margin-top: 48px; }
.section__title + .grid-2 { margin-top: 40px; }
.section--surface { background: var(--surface); border-top: 1px solid var(--accent); }

.grid-3, .grid-2 { display: grid; gap: 14px; }
@media (min-width: 720px)  { .grid-2 { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 900px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); padding: 24px; }
@media (min-width: 720px) { .card { padding: 28px; } }
.card__text { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* Programme sur mesure (un seul bloc) */
.custom { display: grid; gap: 28px; border: 1px solid var(--accent); background: var(--surface); padding: 28px 22px; }
@media (min-width: 720px) { .custom { padding: 40px; } }
@media (min-width: 900px) { .custom { grid-template-columns: 1fr 300px; gap: 56px; align-items: center; } }
@media (min-width: 900px) { .custom:has(.section-video:not([hidden])) { grid-template-columns: 300px 1fr 280px; gap: 48px; } }

/* Vidéos verticales dans les sections (Programmes, Coaching) */
.section-video { display: block; width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 9 / 16; object-fit: cover; background: #000; border: 1px solid var(--line); }
@media (min-width: 900px) { .section-video { max-width: none; } }
/* Coaching : étapes + cartes à gauche, grande vidéo à droite (même section) */
.coach-layout { display: grid; gap: 24px; grid-template-areas: "steps" "video" "cards"; }
.coach-layout .steps { grid-area: steps; margin-bottom: 0; }
.coach-layout__video { grid-area: video; max-width: 340px; }
.coach-layout__cards { grid-area: cards; }
@media (min-width: 1024px) {
  .coach-layout { grid-template-columns: 1fr 380px; grid-template-areas: "steps video" "cards video"; column-gap: 40px; row-gap: 32px; align-items: start; }
  .coach-layout .steps { grid-template-columns: 1fr; }
  .coach-layout__video { max-width: none; height: 100%; aspect-ratio: auto; align-self: stretch; }
}
.custom .section__intro { margin-top: 14px; }
.custom__tags { margin-top: 18px; font-size: var(--fs-small); color: var(--accent); font-weight: 600; letter-spacing: .02em; }
.custom__note { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); text-align: center; }

/* Quiz (popup) */
#quiz-dialog .quiz__body { margin-top: 28px; }
.quiz__step { font-size: var(--fs-label); color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.quiz__progress { height: 2px; background: var(--line); margin-bottom: 24px; }
.quiz__progress span { display: block; height: 100%; background: var(--accent); transition: width .35s var(--ease); }
.quiz__q { font-size: 23px; font-weight: 600; margin-bottom: 18px; line-height: 1.3; }
.quiz__options { display: grid; gap: 10px; }
.quiz__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; text-align: left; padding: 16px 18px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: var(--fs-body); font-weight: 500; transition: border-color .2s, background .2s;
}
.quiz__opt::after { content: "→"; color: var(--muted); transition: transform .2s, color .2s; }
.quiz__opt:hover, .quiz__opt.is-selected { border-color: var(--accent); }
.quiz__opt:hover::after { color: var(--accent); transform: translateX(3px); }
.quiz__opt small { display: block; margin-top: 3px; font-size: var(--fs-small); color: var(--muted); font-weight: 400; }
.quiz__back { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; padding: 4px 0; }
.quiz__back:hover { color: var(--text); }
.quiz__result { border: 1px solid var(--accent); background: var(--surface); padding: 24px; }
.quiz__result h3 { font-family: var(--font-title); font-weight: 400; text-transform: uppercase; font-size: clamp(1.9rem, 4.4vw, 2.6rem); line-height: 1.02; margin-bottom: 12px; }

/* Fiche : champs, puces, récapitulatif */
.fiche__form { display: grid; gap: 14px; }
.fiche__form .btn { margin-top: 10px; }
.fiche__form .btn:disabled { opacity: .4; cursor: not-allowed; }
.fiche__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fiche__names { display: grid; gap: 14px; }
@media (min-width: 520px) { .fiche__names { grid-template-columns: 1fr 1fr; gap: 10px; } }
.fiche__field { display: grid; gap: 7px; }
.fiche__field > span:first-child, .fiche__label { font-size: var(--fs-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fiche__field small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.fiche__label { margin-top: 4px; }
.fiche__unit { position: relative; display: block; }
.fiche__unit em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: var(--fs-small); pointer-events: none; }
.fiche__field input, .fiche__field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font-size: var(--fs-body);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius); transition: border-color .2s;
}
.fiche__unit input { padding-right: 40px; -moz-appearance: textfield; }
.fiche__unit input::-webkit-inner-spin-button, .fiche__unit input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.fiche__field textarea { resize: vertical; min-height: 90px; }
.fiche__field input:focus, .fiche__field textarea:focus { outline: none; border-color: var(--accent); }
.fiche__field ::placeholder { color: #5D5D62; }
.fiche__hint { font-size: var(--fs-small); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 14px; min-height: 42px; cursor: pointer; font-size: var(--fs-small); font-weight: 500;
  background: transparent; color: var(--text); border: 1px solid var(--line-strong); border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.fiche__sum { border-top: 1px solid var(--line); margin: 6px 0 18px; }
.fiche__sum div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.fiche__sum dt { color: var(--muted); }
.fiche__sum dd { font-weight: 500; }
.quiz__result .fiche__send { margin: 0 0 10px; width: 100%; }
.quiz__result .fiche__send svg { flex: none; }
@media (max-width: 480px) { .fiche__sum div { grid-template-columns: 92px 1fr; } .quiz__result { padding: 20px 16px; } }
.quiz__restart { margin-top: 16px; }

/* Coaching — 3 passaggi "come funziona" */
.steps { display: grid; gap: 0; margin-bottom: 32px; border-top: 1px solid var(--line); counter-reset: none; }
.steps li { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps__num { font-family: var(--font-title); color: var(--accent); font-size: 22px; line-height: 1; min-width: 28px; }
.steps strong { display: block; font-weight: 600; font-size: 17px; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 2px; }
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); column-gap: 32px; margin-bottom: 40px; }
}
.section__title + .steps { margin-top: 8px; }

/* Coaching */
.coach { display: flex; flex-direction: column; }
.coach__title { font-family: var(--font-title); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 2.8rem); line-height: 1; margin-bottom: 14px; }
.checklist { margin: 20px 0 24px; border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); font-size: var(--fs-body); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.checklist li.tbd { color: var(--muted); font-size: var(--fs-small); }
.checklist li.tbd::before { border-color: var(--line-strong); }
.coach__price { margin-top: auto; margin-bottom: 20px; font-size: 15px; color: var(--muted); }
.coach__price strong { color: var(--text); font-weight: 600; margin-left: 6px; }
.coach .btn { align-self: flex-start; }

/* Split (athlètes / à propos) */
.split { display: grid; gap: 40px; align-items: center; }
.split__media { aspect-ratio: 1000 / 800; }
.split__media--portrait { aspect-ratio: 4 / 5; }      /* foto À propos verticale */
/* Bande photos défilante (section Athlètes) */
.split__media.strip { aspect-ratio: auto; min-width: 0; }
.strip__track {
  display: flex; gap: 10px; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.strip__track::-webkit-scrollbar { display: none; }
.strip__item {
  flex: 0 0 62%; aspect-ratio: 2 / 3; scroll-snap-align: start;
  overflow: hidden; background: var(--surface); border: 1px solid var(--line);
}
.strip__item img { width: 100%; height: 100%; object-fit: cover; }
.strip__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.strip__btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: transparent; color: var(--text); border: 1px solid var(--line-strong);
  font-size: 16px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.strip__btn:hover:not(:disabled) { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.strip__btn:disabled { opacity: .3; cursor: default; }

@media (prefers-reduced-motion: reduce) { .strip__track { scroll-behavior: auto; } }
.strip--videos .strip__item { position: relative; flex-basis: 62%; aspect-ratio: 9 / 16; cursor: pointer; }
.strip__item video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px) { .strip--videos .strip__item { flex-basis: 31%; } }
@media (min-width: 1024px) { .strip--videos .strip__item { flex-basis: calc((100% - 30px) / 4); } }

.split__lead { color: #C9C9C4; font-size: var(--fs-lead); max-width: 54ch; margin-top: -10px; margin-bottom: 28px; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .split--reverse { grid-template-columns: 1.1fr 0.9fr; }
  .split--reverse .split__media { order: 2; }
}

/* Fiches joueurs (section Athlètes) */
.roster { margin-bottom: 56px; }
.roster__title { margin-bottom: 24px; }
.roster__list { display: grid; gap: 16px; }
.pcard { display: grid; grid-template-columns: 112px 1fr; gap: 18px; background: var(--bg); border: 1px solid var(--line); padding: 14px; }
.pcard__photo { align-self: start; }
.pcard__photo img, .pcard__initials {
  display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top;
}
.pcard__initials { display: grid; place-items: center; background: var(--surface); font-family: var(--font-title); font-size: 2.4rem; color: var(--muted); }
.pcard__credit { font-size: 11px; line-height: 1.35; color: var(--muted); margin-top: 6px; }
.pcard__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pcard__body { min-width: 0; }
.pcard__role { font-size: var(--fs-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pcard__name { font-family: var(--font-title); font-weight: 400; text-transform: uppercase; font-size: clamp(1.9rem, 6.5vw, 2.7rem); line-height: 1; margin: 6px 0 4px; }
.pcard__nat { font-size: 15px; color: #C9C9C4; }
.pcard__facts { margin: 14px 0 0; }
.pcard__facts > div { padding: 9px 0; border-top: 1px solid var(--line); }
.pcard__facts dt { font-size: var(--fs-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.pcard__facts dd { margin: 0; font-size: 15px; line-height: 1.5; }
.pcard__facts strong { font-weight: 600; }
.pcard__note { color: var(--muted); }
.pcard__career { color: #C9C9C4; }
.pcard__career span { color: var(--accent); }
.pcard__career b { font-weight: inherit; white-space: nowrap; }
@media (min-width: 720px) {
  .pcard { grid-template-columns: 170px 1fr; gap: 24px; padding: 18px; }
}
@media (min-width: 1024px) {
  .roster { margin-bottom: 80px; }
  .roster__list { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--fs-label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-size: var(--fs-body); }
.facts .tbd { color: var(--muted); }
@media (min-width: 560px) { .facts div { grid-template-columns: 160px 1fr; align-items: baseline; } }

/* Résultats */
#before-after:not(:empty) + #testimonials:not(:empty) { margin-top: 16px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ba figure { position: relative; aspect-ratio: 3 / 4; }
.ba figcaption { position: absolute; left: 8px; bottom: 8px; background: var(--bg); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 6px; }
.ba__caption { grid-column: 1 / -1; font-size: var(--fs-small); color: var(--muted); padding-top: 10px; }
/* Telefono/tablet (1 colonna): prime 2 coppie + pulsante "Voir plus" */
.ba-more:not([hidden]) { display: flex; width: fit-content; margin: 18px auto 0; }
@media (max-width: 899px) { #before-after.is-collapsed > .ba:nth-child(n+3) { display: none; } }
@media (min-width: 900px) { .ba-more:not([hidden]) { display: none; } }
.quote__text { font-size: var(--fs-lead); line-height: 1.6; margin: 0 0 20px; }
.quote__text::before { content: "“"; display: block; font-family: var(--font-title); color: var(--accent); font-size: 44px; line-height: .7; margin-bottom: 8px; }
.quote__name { font-weight: 600; font-size: 15px; }
.quote__result { font-size: var(--fs-small); color: var(--accent); }

/* FAQ */
.faq { display: grid; gap: 12px; }
@media (min-width: 1024px) { .faq { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 17px; font-weight: 600;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-text); font-weight: 400; font-size: 24px; line-height: 1; color: var(--accent); transition: transform .25s var(--ease);
}
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list summary:hover { color: var(--accent); }
.faq__list details p { color: var(--muted); font-size: var(--fs-body); padding: 0 40px 22px 0; max-width: 62ch; }

/* Dialog */
.dialog {
  width: min(600px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 28px 22px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
}
@media (min-width: 720px) { .dialog { padding: 40px; } }
.dialog::backdrop { background: rgba(0, 0, 0, .75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog .section__title { margin-bottom: 8px; padding-right: 40px; }
.dialog .card__text { margin-bottom: 8px; }
.dialog__close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
  background: none; border: 1px solid var(--line-strong); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer;
}
.dialog__close:hover { border-color: var(--accent); color: var(--accent); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-top: 48px; font-size: var(--fs-small); }
.footer__inner { display: grid; gap: 28px; padding-bottom: 36px; }
.footer__tagline { color: var(--muted); margin-top: 12px; max-width: 34ch; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; color: #CFCFCA; }
.footer__nav a:hover, .footer__legal a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; padding-top: 20px; padding-bottom: 28px; color: var(--muted); font-size: 13px; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1fr auto; align-items: start; } }

/* ---------- WhatsApp (bottone flottante) ---------- */
.wa-float {
  border: 0; cursor: pointer;
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .45); }
.wa-float svg { width: 32px; height: 32px; }
.menu-open .wa-float, .menu-open .wa-chat, .menu-open .wa-teaser { display: none; }
@media (min-width: 720px) { .wa-float { right: 24px; bottom: 24px; width: 66px; height: 66px; } .wa-float svg { width: 34px; height: 34px; } }

/* Petit saut à chaque scroll */
.wa-float.is-nudging { animation: wa-nudge .9s var(--ease); }
@keyframes wa-nudge {
  0%, 100% { transform: none; }
  20% { transform: translateY(-10px) rotate(-8deg); }
  40% { transform: translateY(0) rotate(6deg); }
  55% { transform: translateY(-4px) rotate(-4deg); }
  70% { transform: translateY(0) rotate(2deg); }
}

/* Étiquette "Une question ? Écris-moi" qui sort à gauche de l'icône */
.wa-teaser {
  position: fixed; z-index: 40; right: 88px; bottom: 26px;
  padding: 10px 14px; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  background: #fff; color: #0B0B0C; font-weight: 600; font-size: var(--fs-small);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateX(14px) scale(.96); transform-origin: right center; pointer-events: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.wa-teaser::after {
  content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px;
  background: #fff; transform: translateY(-50%) rotate(45deg); border-radius: 2px;
}
.wa-teaser.is-shown { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 720px) { .wa-teaser { right: 104px; bottom: 39px; } }
@media (prefers-reduced-motion: reduce) {
  .wa-float.is-nudging { animation: none; }
  .wa-teaser { transform: none; transition: opacity .3s; }
}

/* Fenêtre WhatsApp (au-dessus du bouton flottant) */
.wa-chat {
  position: fixed; right: 16px; bottom: 90px; z-index: 41;
  width: min(330px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  animation: wa-in .22s var(--ease);
}
.wa-chat[hidden] { display: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .wa-chat { animation: none; } }
@media (min-width: 720px) { .wa-chat { right: 24px; bottom: 102px; } }
.wa-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); }
.wa-chat__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.wa-chat__name { font-weight: 700; font-size: var(--fs-body); line-height: 1.2; }
.wa-chat__status { font-size: var(--fs-small); color: var(--muted); display: flex; align-items: center; gap: 6px; }
.wa-chat__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #25D366; }
.wa-chat__close {
  margin-left: auto; align-self: flex-start; width: 32px; height: 32px; flex: none;
  background: none; border: 0; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer;
}
.wa-chat__close:hover { color: var(--text); }
.wa-chat__body { padding: 18px 16px; background: var(--surface-2); }
.wa-chat__bubble {
  position: relative; max-width: 92%; padding: 11px 14px; font-size: var(--fs-body); line-height: 1.45;
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px 12px 12px 12px;
}
.wa-chat__btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 16px 16px;
  width: calc(100% - 32px); border: 0; cursor: pointer; padding: 10px 18px; text-align: center;
  min-height: 48px; border-radius: 999px; background: #25D366; color: #0B0B0C;
  font-weight: 700; font-size: var(--fs-body); transition: background .2s;
}
.wa-chat__btn:hover { background: #3BE07A; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
