/* =========================================================
   AresCoaching — reprise de la structure « Rachel PT » (Framer)
   Valeurs relevées à 1440 px. Points de rupture : 1199 / 809.
   ========================================================= */

:root {
  /* Palette Ares (modèle : #121212 / #2b2b2b / #a8a8a8 / #f9652f) */
  --bg: #0e0d0b;
  --surface: #221f1a;
  --line: #2c2923;
  --text: #f1ebe0;
  --muted: #b7aea0;
  --accent: #c9a24b;
  --on-accent: #0e0d0b;
  --glass: rgba(0, 0, 0, .65);

  --font: "General Sans", system-ui, sans-serif;
  --font-script: "Covered By Your Grace", cursive;

  --container: 1200px;
  --gutter: 40px;
  --section-y: 96px;

  --ease: cubic-bezier(.44, 0, .56, 1);
  --spring: cubic-bezier(.34, 1.36, .64, 1); /* ≈ spring(d=0.4, b=0.2) */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
/* les apparitions latérales ne doivent jamais élargir la page (mobile) */
@supports (overflow: clip) { html { overflow-x: clip; } }
main, .footer { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "case" on;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { flex: none; }

/* ---------- Typo (échelle relevée) ---------- */
.t-14 { font-size: 14px; line-height: 21px; letter-spacing: 0; }
.t-16 { font-size: 16px; line-height: 25.6px; letter-spacing: -.16px; }
.t-18 { font-size: 18px; line-height: 28.8px; letter-spacing: -.18px; }
.t-20 { font-size: 20px; line-height: 24px; letter-spacing: -.4px; font-weight: 500; }
.h-32 { font-size: 32px; line-height: 44.8px; letter-spacing: -.96px; font-weight: 500; }
.h-48 { font-size: 48px; line-height: 52.8px; letter-spacing: -1.44px; font-weight: 500; }
.muted { color: var(--muted); }
.dim { opacity: .7; }
.eyebrow { font-size: 16px; line-height: 25.6px; letter-spacing: -.16px; font-weight: 400; color: var(--muted); }
.eyebrow--light { color: var(--text); }

.icon-24 { width: 24px; height: 24px; }
.icon-29 { width: 29px; height: 29px; }
.icon-32 { width: 32px; height: 32px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 888px; display: flex; flex-direction: column; gap: 16px; }
.section { padding: var(--section-y) 0; background: var(--bg); position: relative; }
.anchor { position: absolute; top: 0; }

.heading { display: flex; flex-direction: column; gap: 12px; }
.heading--center { text-align: center; max-width: 560px; margin: 0 auto; align-items: center; }
.heading--560 { max-width: 560px; }

/* ---------- Boutons ---------- */
.arrow-box {
  position: absolute; right: 5px; top: 50%;
  width: 40px; height: 40px; margin-top: -20px;
  border-radius: 8px; overflow: hidden;
  background: var(--bg); color: var(--text);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.arrow-box svg {
  position: absolute; top: 10px; left: 10px; width: 20px; height: 20px;
  transition: transform .4s var(--spring);
}
.arrow-box svg + svg { left: -20px; }
a:hover .arrow-box svg, button:hover .arrow-box svg { transform: translateX(30px); }

.btn {
  position: relative; display: inline-flex; align-items: center;
  height: 50px; padding: 16px 69px 16px 24px;
  border-radius: 8px;
  font-size: 16px; line-height: 25.6px; letter-spacing: -.16px;
  transition: background-color .4s var(--ease), color .4s var(--ease);
  white-space: nowrap;
}
.btn > span:first-child { position: relative; z-index: 2; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--bg); color: var(--text); }
.btn--accent:hover .arrow-box { background: var(--accent); color: var(--on-accent); }
.btn--dark { background: var(--bg); color: var(--text); }
.btn--dark .arrow-box { background: var(--surface); }
.btn--dark:hover { background: var(--accent); color: var(--on-accent); }
.btn--dark:hover .arrow-box { background: var(--bg); color: var(--text); }

.social {
  width: 32px; height: 32px; border-radius: 64px; background: #000; color: var(--text);
  display: grid; place-items: center; transition: background-color .3s var(--ease), color .3s var(--ease);
}
.social svg { width: 16px; height: 16px; }
.social:hover { background: var(--accent); color: var(--on-accent); }

.stars { display: flex; gap: 2px; color: var(--accent); }
.stars svg { width: 21px; height: 21px; }

/* ---------- Apparitions (état initial, JS actif) ---------- */
.js [data-reveal], .js [data-hero] { opacity: 0; }
.js [data-split] .w { opacity: 0; }
.w { display: inline-block; white-space: pre; will-change: transform; }

/* =========================================================
   0. NAVIGATION
   ========================================================= */
.nav {
  position: fixed; z-index: 50; top: 40px;
  left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--container); padding: 0 var(--gutter);
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: inline-flex; flex-direction: column;
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 30px; padding: 8px 16px;
  overflow: hidden;
}
.nav__bar { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 0; }
.nav__logo { display: flex; align-items: center; height: 40px; margin-right: 8px; }
.nav__logo img { height: 26px; width: auto; }
.nav__toggle { position: relative; width: 40px; height: 40px; border-radius: 40px; }
.nav__toggle span {
  position: absolute; left: 10px; width: 20px; height: 2px; border-radius: 10px; background: var(--text);
  transition: transform .5s var(--spring), opacity .2s var(--ease), top .5s var(--spring);
}
.nav__toggle span:nth-child(1) { top: 12px; }
.nav__toggle span:nth-child(2) { top: 19px; }
.nav__toggle span:nth-child(3) { top: 26px; }
.nav__pill[data-open="true"] .nav__toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav__pill[data-open="true"] .nav__toggle span:nth-child(2) { opacity: 0; }
.nav__pill[data-open="true"] .nav__toggle span:nth-child(3) { top: 19px; transform: rotate(-45deg); }
.nav__menu { width: 268px; }
.nav__links { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 30px 40px 10px 20px; }
.nav__links a {
  font-size: 32px; line-height: 44.8px; letter-spacing: -.96px; font-weight: 500;
  transition: color .3s var(--ease);
}
.nav__links a:hover { color: var(--accent); }
.nav__social { display: flex; gap: 4px; padding: 20px; }

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  padding-top: 150px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__bg { position: absolute; inset: 0; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__dim {
  position: absolute; left: 0; right: 0; bottom: 0; height: 460px;
  background: linear-gradient(rgba(0, 0, 0, 0) 35%, #000 100%); opacity: .75;
  pointer-events: none;
}
/* voile léger pour la lisibilité (la photo Ares est plus claire que celle du modèle) */
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .18); pointer-events: none; }
.hero__content { position: relative; z-index: 2; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 40px; gap: 40px; }
.hero__left { display: flex; flex-direction: column; gap: 24px; max-width: 842px; flex: 1 1 auto; }
.hero__validation { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 24px;
  background: var(--bg); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.proof { display: flex; align-items: center; gap: 8px; }
.proof__avatars {
  display: flex; gap: 4px; padding: 2px; border-radius: 22px;
  background: var(--bg); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.proof__avatars img { width: 40px; height: 40px; border-radius: 20px; object-fit: cover; }
.proof__rating { display: flex; align-items: center; gap: 4px; }
.proof__rating .star { width: 19px; height: 19px; color: var(--accent); }

.hero__title {
  font-size: 65px; line-height: 65px; letter-spacing: -2.6px; font-weight: 400;
  max-width: 842px;
}

.hero__line { display: block; white-space: nowrap; }
.hero__right { display: flex; flex-direction: column; gap: 8px; width: 278px; flex: none; }
.cta-card {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  height: 104px; padding: 16px; border-radius: 16px;
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 .6px .6px -1.25px rgba(0,0,0,.18), 0 2.3px 2.3px -2.5px rgba(0,0,0,.16), 0 10px 10px -3.75px rgba(0,0,0,.06);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.cta-card__text { display: flex; flex-direction: column; }
.cta-card .t-16 { font-size: 16px; line-height: 25.6px; letter-spacing: -.16px; }
.cta-card .arrow-box { top: auto; bottom: 16px; right: 16px; margin: 0; }
.cta-card:hover { background: var(--bg); color: var(--text); }
.cta-card:hover .arrow-box { background: var(--accent); color: var(--on-accent); }
.hero__note { opacity: .8; }

/* =========================================================
   2. CHIFFRES
   ========================================================= */
.stats__grid { display: grid; grid-template-columns: repeat(4, 222px); gap: 40px; justify-content: center; }
.stat { display: flex; flex-direction: column; gap: 16px; }
.stat__num {
  display: flex; align-items: baseline;
  font-size: 64px; line-height: 64px; letter-spacing: -1.92px; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.stat__txt { display: flex; flex-direction: column; gap: 2px; }
.stat__txt .muted { opacity: .8; }

/* =========================================================
   3. TÉMOIGNAGE
   ========================================================= */
.quote__text { max-width: 808px; }
.person { display: flex; align-items: center; gap: 16px; }
.person__img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 48% 28%; }

/* =========================================================
   4. COACH
   ========================================================= */
.about { padding-bottom: 96px; }
.about__row { display: flex; gap: 40px; align-items: stretch; }
.about__media { flex: 0 0 600px; height: 794px; border-radius: 40px; overflow: hidden; background: var(--surface); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__side { flex: 1 1 480px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.about__top { display: flex; flex-direction: column; gap: 12px; }
.about__desc { display: flex; flex-direction: column; gap: 16px; }
.signature {
  align-self: flex-end; margin-top: 4px;
  font-family: var(--font-script); font-size: 32px; line-height: 44.8px; letter-spacing: -.96px;
  transform: rotate(-3deg);
}
.values { display: flex; flex-direction: column; gap: 16px; }
.values__cards { display: flex; gap: 16px; }
.value-card {
  flex: 1 1 0; height: 152px; padding: 16px; border-radius: 24px; background: var(--surface);
  display: flex; flex-direction: column; justify-content: space-between;
}

/* Ticker : 40 px/s vers la droite, fondu 45 % de chaque côté, opacité 0.2 */
.ticker {
  margin: 40px var(--gutter) 0; padding: 32px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 45%, #000 55%, transparent 100%);
}
.ticker__track { display: flex; width: max-content; opacity: .2; will-change: transform; }
.ticker__list { display: flex; gap: 32px; padding-right: 32px; flex: none; }
.ticker__list li {
  width: max-content; min-width: 150px; height: 48px; display: grid; place-items: center;
  font-size: 18px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}

/* =========================================================
   5. SERVICES / 6. MÉTHODE (split 540 | 540)
   ========================================================= */
.split { display: flex; gap: 40px; align-items: center; justify-content: center; }
.split--top { align-items: flex-start; }
.split__left { flex: 0 1 540px; display: flex; flex-direction: column; align-items: flex-start; }
.services__left { gap: 16px; max-width: 540px; }
.services__left .heading { max-width: 432px; }

.services__grid { flex: 0 1 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card {
  background: var(--surface); border-radius: 24px; padding: 24px; min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  overflow: hidden;
  box-shadow: .24px .6px .65px -1.25px rgba(0,0,0,.07), .92px 2.29px 2.46px -2.5px rgba(0,0,0,.06), 4px 10px 10.8px -3.75px rgba(0,0,0,.02);
}
.card--tall { grid-row: span 2; min-height: 416px; }
.card__big { font-size: 65px; line-height: 65px; letter-spacing: -2.6px; font-weight: 400; }
.card__txt { display: flex; flex-direction: column; gap: 4px; }
.card--wide { grid-column: span 2; height: 416px; flex-direction: row; gap: 24px; align-items: stretch; }
.card--wide__txt { flex: 1 1 0; display: flex; flex-direction: column; justify-content: space-between; }
.card--wide__img { flex: 1 1 0; border-radius: 16px; overflow: hidden; }
.card--wide__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

.img-hover img { transition: transform .6s cubic-bezier(.3, 1.25, .5, 1); }
.img-hover:hover img { transform: scale(1.02); }

.how__left { gap: 24px; position: sticky; top: 150px; }
.how__img { width: 100%; height: 460px; border-radius: 24px; overflow: hidden; background: var(--surface); }
.how__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.steps { flex: 0 1 540px; display: flex; flex-direction: column; gap: 40px; }
.step { display: flex; flex-direction: column; gap: 2px; }
.step__num { font-size: 20px; line-height: 24px; letter-spacing: -.4px; font-weight: 500; color: var(--muted); }
.step .h-32 { margin-top: 0; }

/* =========================================================
   7. PROGRAMMES
   ========================================================= */
.programs__inner { display: flex; flex-direction: column; gap: 40px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 0; max-width: 1120px; margin: 0 auto; width: 100%; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 32px;
  padding: 20px; border-radius: 24px; background: var(--surface); overflow: hidden;
}
.plan__top { display: flex; flex-direction: column; gap: 8px; }
.plan__icon {
  width: 40px; height: 40px; padding: 8px; border-radius: 8px; background: var(--bg); color: var(--text);
  display: grid; place-items: center;
}
.plan__icon svg { width: 22px; height: 22px; }
.plan__price { display: flex; align-items: flex-end; gap: 2px; }
.plan__amount { font-size: 40px; line-height: 40px; letter-spacing: -.4px; font-weight: 600; }
.plan__incl { display: flex; flex-direction: column; gap: 8px; opacity: .8; }
.plan__incl ul { display: flex; flex-direction: column; gap: 8px; }
.plan__incl li { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 25.6px; letter-spacing: -.16px; }
.plan__incl li svg { width: 22px; height: 22px; }
.plan .btn { margin-top: auto; }
.plan--focus { background: var(--accent); color: var(--on-accent); }
.plan__tag {
  position: absolute; top: 20px; right: 20px; z-index: 1;
  padding: 8px 12px; border-radius: 8px; background: var(--bg); color: var(--text);
  font-size: 14px; line-height: 21px;
}

/* =========================================================
   8. RÉSULTATS
   ========================================================= */
.results__row { display: flex; gap: 32px; align-items: center; justify-content: center; }
.results__left { flex: 0 1 544px; display: flex; flex-direction: column; gap: 48px; }
.testimonial { display: flex; flex-direction: column; gap: 16px; }
.testimonial__who { display: flex; flex-direction: column; gap: 8px; }
.testimonial__who img { width: 72px; height: 72px; border-radius: 36px; object-fit: cover; object-position: 50% 0; }
.testimonial__who > div { display: flex; flex-direction: column; gap: 2px; }

.compare-wrap { flex: 0 1 544px; display: flex; flex-direction: column; gap: 16px; }
.compare {
  position: relative; height: 680px; border-radius: 24px; overflow: hidden;
  background: var(--surface);
}
/* Fondu léger entre la photo avant et la photo après */
.compare__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  transition: opacity .8s cubic-bezier(.4, 0, .2, 1), transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .8s ease;
}
.compare__img--apres { opacity: 0; transform: scale(1.03); filter: blur(4px); }
.compare[data-state="apres"] .compare__img--avant { opacity: 0; transform: scale(1.03); filter: blur(4px); }
.compare[data-state="apres"] .compare__img--apres { opacity: 1; transform: none; filter: none; }
.compare.is-loading .compare__img { opacity: 0 !important; }
.compare__info {
  position: absolute; top: 24px; left: 24px; z-index: 3; pointer-events: none;
  display: flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 8px;
  background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 14px; line-height: 21px; color: #fff;
}
.compare__info strong { font-weight: 500; }
.compare__info span { color: var(--accent); }
.compare__toggle {
  position: absolute; left: 50%; bottom: 24px; z-index: 3; transform: translateX(-50%);
  display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px;
  background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .14);
}
.compare__toggle button {
  position: relative; z-index: 1; min-width: 96px; height: 40px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; line-height: 21px; font-weight: 500; color: #fff; transition: color .4s var(--ease);
}
.compare__toggle button[aria-pressed="true"] { color: var(--on-accent); }
.compare__pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px;
  background: var(--accent); transition: transform .5s var(--spring);
}
.compare[data-state="apres"] .compare__pill { transform: translateX(100%); }
.compare-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.compare-tab {
  padding: 10px 16px; border-radius: 8px; background: var(--surface); color: var(--text);
  font-size: 14px; line-height: 21px; transition: background-color .3s var(--ease), color .3s var(--ease);
}
.compare-tab:hover { background: #2e2a23; }
.compare-tab.is-active { background: var(--accent); color: var(--on-accent); }
.compare__label--r { right: 24px; }

/* =========================================================
   9. FAQ
   ========================================================= */
.faq__row { display: flex; gap: 32px; align-items: flex-start; padding: 0 48px; }
.faq__left { flex: 1 1 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.accordion { flex: 1 1 0; display: flex; flex-direction: column; }
.acc { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.acc__q {
  width: 100%; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 24px 0 9px; text-align: left;
  font-size: 16px; line-height: 25.6px; letter-spacing: -.16px;
}
.acc__a { overflow: hidden; }
.acc__a p { color: var(--muted); font-size: 16px; line-height: 25.6px; letter-spacing: -.16px; }
.pm { position: relative; width: 19px; height: 24px; flex: none; }
.pm::before, .pm::after {
  content: ""; position: absolute; left: 4px; top: 11px; width: 11px; height: 2px; border-radius: 1px; background: var(--text);
  transition: transform .4s var(--spring);
}
.pm::after { transform: rotate(90deg); }
.acc.is-open .pm::after { transform: rotate(0deg); }

/* =========================================================
   10. CONTACT
   ========================================================= */
.contact__inner { display: flex; flex-direction: column; gap: 40px; }
.contact__row { display: flex; gap: 32px; align-items: flex-start; }
.contact__cards { flex: 1 1 0; display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  position: relative; height: 229px; padding: 24px; border-radius: 24px; background: var(--surface);
  display: flex; flex-direction: column; justify-content: space-between;
}
.contact-card > div { display: flex; flex-direction: column; gap: 5px; padding-right: 56px; }
.contact-card .arrow-box { top: auto; bottom: 24px; right: 24px; margin: 0; }
.contact-card:hover .arrow-box { background: var(--accent); color: var(--on-accent); }
.contact__form { flex: 1 1 0; display: flex; flex-direction: column; gap: 16px; }
.form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field input, .field textarea {
  width: 100%; padding: 16px; border: 0; border-bottom: 2px solid var(--line); border-radius: 0;
  background: transparent; color: var(--text);
  font: inherit; font-size: 16px; line-height: 19px; letter-spacing: -.16px;
  transition: border-color .3s var(--ease);
}
.field textarea { height: 100px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--text); }

/* =========================================================
   11. PIED DE PAGE
   ========================================================= */
.footer { padding: 24px; background: var(--bg); }
.footer__box {
  max-width: var(--container); margin: 0 auto; min-height: 450px; padding: 40px;
  border-radius: 24px; background: var(--surface);
  display: flex; flex-direction: column; justify-content: space-between;
}
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer__logo img { height: 27px; width: auto; }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; }
.footer__links a { font-size: 20px; line-height: 24px; letter-spacing: -.4px; font-weight: 500; transition: color .3s var(--ease); }
.footer__links a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 8px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   TABLETTE 810–1199
   ========================================================= */
@media (max-width: 1199px) {
  :root { --gutter: 32px; --section-y: 72px; }
  .hero__title { font-size: 52px; line-height: 54px; letter-spacing: -2px; }
  .h-48 { font-size: 40px; line-height: 46px; letter-spacing: -1.2px; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 300px)); gap: 48px 40px; }

  .about__row, .split, .results__row, .faq__row, .contact__row { flex-direction: column; align-items: stretch; }
  .faq__row { padding: 0 var(--gutter); }
  .about__media { flex: none; height: 640px; }
  .split__left, .services__grid, .steps, .results__left, .compare-wrap { flex: none; width: 100%; max-width: none; }
  .services__left .heading { max-width: 560px; }
  .how__left { position: static; }
  .how__img { height: 520px; }
  .compare { height: 620px; }
  .plans { gap: 16px; }
  .plan__incl li { font-size: 15px; }
}

/* =========================================================
   MOBILE ≤ 809
   ========================================================= */
@media (max-width: 809px) {
  :root { --gutter: 16px; --section-y: 56px; }
  .nav { top: 16px; }
  /* Le hero occupe l'écran ; la carte CTA n'apparaît qu'après un premier scroll */
  .hero { height: auto; min-height: 0; padding-top: 0; }
  .hero__bottom { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 40px; }
  .hero__left { min-height: 100svh; justify-content: flex-end; padding: 150px 0 24px; }
  /* CTA mobile = barre compacte comme le modèle (358 × 50, sans icône) */
  .cta-card { height: 50px; padding: 0 16px; flex-direction: row; align-items: center; justify-content: flex-start; border-radius: 8px; }
  .cta-card > .icon-24 { display: none; }
  .cta-card .arrow-box { top: 50%; bottom: auto; right: 5px; margin-top: -20px; }
  .hero__title { font-size: min(40px, 9vw); line-height: 1.05; letter-spacing: -.04em; }
  .hero__bg img { object-position: 36% 30%; }
  .hero__dim { height: 100%; background: linear-gradient(rgba(0, 0, 0, 0) 25%, #000 85%); opacity: .85; }
  .hero__right { width: 100%; }
  .h-48 { font-size: 31px; line-height: 40.3px; letter-spacing: -.93px; }
  .h-32 { font-size: 26px; line-height: 36px; letter-spacing: -.78px; }
  .stats__grid { grid-template-columns: 1fr; gap: 40px; }
  .stat__num { font-size: 56px; line-height: 56px; }

  .about__media { height: 480px; border-radius: 24px; }
  /* bandeau plus serré : 40 px au-dessus, 72 px jusqu'à la section suivante */
  .about { padding-bottom: 0; }
  .ticker { margin-top: 24px; padding: 16px 0; }
  .values__cards { gap: 8px; }
  .value-card { height: 140px; padding: 12px; border-radius: 20px; }
  .value-card p { font-size: 13px; line-height: 18px; }

  .services__grid { grid-template-columns: 1fr; }
  .card--tall { grid-row: auto; min-height: 280px; }
  .card--wide { grid-column: auto; height: auto; flex-direction: column; }
  .card--wide__txt { gap: 80px; }
  .card--wide__img { flex: none; height: 320px; }

  .how__img { height: 400px; }
  .steps { gap: 32px; }
  .plans { grid-template-columns: 1fr; }
  .compare { height: 500px; }
  .contact-card { height: 200px; }
  .footer { padding: 16px; }
  .footer__box { padding: 24px; min-height: 420px; }
  .footer__top { flex-direction: column; }
  .footer__right { align-items: flex-start; }
  .footer__links { justify-content: flex-start; gap: 16px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* =========================================================
   PAGES INTÉRIEURES (même DA que l'accueil)
   ========================================================= */
.nav__links a[aria-current="page"] { color: var(--accent); }
.nav__links .nav__login {
  margin-top: 8px; font-size: 16px; line-height: 25.6px; letter-spacing: -.16px; font-weight: 400;
  color: var(--on-accent);
}
.nav__links .nav__login:hover { color: var(--text); }

.hero--page { height: 88vh; min-height: 640px; }
.hero--page .hero__line { white-space: normal; }
.hero__intro { max-width: 560px; opacity: .9; }

.heading--wide { max-width: 640px; }
.section-head { display: flex; flex-direction: column; gap: 40px; }

/* Chiffres sur 3 colonnes */
.stats__grid--3 { grid-template-columns: repeat(3, 300px); }

/* Expertises */
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.expertise-grid .value-card { height: 180px; padding: 24px; }
.expertise-grid .value-card p { font-size: 20px; line-height: 24px; letter-spacing: -.4px; font-weight: 500; }

/* Système XP */
.xp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.xp-card { justify-content: flex-start; gap: 24px; padding: 32px; }
.xp-list { display: flex; flex-direction: column; width: 100%; }
.xp-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 16px; line-height: 25.6px; letter-spacing: -.16px;
}
.xp-list li:last-child { border-bottom: 0; }
.xp-list li > span:first-child { display: flex; flex-direction: column; }
.xp-list .xp-val { font-weight: 500; color: var(--accent); white-space: nowrap; }
.xp-list small { font-size: 14px; line-height: 21px; color: var(--muted); letter-spacing: 0; }

/* Challenge de pas */
.challenges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.challenge { position: relative; min-height: 360px; justify-content: space-between; }
.challenge .card__big { font-weight: 500; }
.challenge--focus { background: var(--accent); color: var(--on-accent); }
.chip {
  display: inline-flex; padding: 8px 12px; border-radius: 8px; background: var(--bg); color: var(--text);
  font-size: 14px; line-height: 21px;
}
.challenge .chip { position: absolute; top: 24px; right: 24px; }

/* Cartes programmes */
.prog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.prog-card { display: flex; flex-direction: column; border-radius: 24px; background: var(--surface); overflow: hidden; }
.prog-card__img { height: 320px; overflow: hidden; }
.prog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.prog-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; flex: 1; }
.prog-card__body .btn { margin-top: auto; }
.prog-card .chip { margin-bottom: 4px; }
.prog-card--focus .chip { background: var(--accent); color: var(--on-accent); }

/* Avis clients */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.review.review--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr; column-gap: 48px; row-gap: 24px; padding: 40px; }
.review--featured .review__mark { grid-column: 2; grid-row: 1; }
.review--featured blockquote { grid-column: 2; grid-row: 2; }
.review.review--featured .person { grid-column: 1; grid-row: 1 / span 2; margin: 0; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 16px; }
.review.review--featured .person__img { width: 100%; height: 360px; border-radius: 16px; }
.review__mark { width: 32px; height: 32px; color: var(--accent); }
.review blockquote p + p { margin-top: 12px; }
.review picture { display: contents; }
.review picture source { display: none; }
.testimonial__more { align-self: flex-start; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; transition: color .3s var(--ease); }
.testimonial__more:hover { color: var(--accent); }
.review { margin: 0; display: flex; flex-direction: column; gap: 24px; padding: 32px; border-radius: 24px; background: var(--surface); }
.review blockquote { margin: 0; font-size: 18px; line-height: 28px; letter-spacing: -.2px; }
.review--featured blockquote { font-size: 20px; line-height: 31px; }
.review .person { margin-top: auto; }
.review .person__img { width: 48px; height: 48px; }

/* Bandeau d'appel à l'action */
.cta-band__box {
  position: relative; overflow: hidden; border-radius: 40px; min-height: 520px; padding: 64px;
  display: flex; align-items: flex-end; background: var(--surface);
}
.cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cta-band__box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.2) 100%); }
.cta-band__content { position: relative; z-index: 1; max-width: 560px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-band__content .btn { margin-top: 8px; }

@media (max-width: 1199px) {
  .stats__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xp-grid, .reviews { grid-template-columns: 1fr; }
  .review.review--featured { grid-template-columns: 1fr; padding: 32px; }
  .review.review--featured .review__mark, .review.review--featured blockquote, .review.review--featured .person { grid-column: 1; grid-row: auto; }
  .review.review--featured .person { flex-direction: row; align-items: center; order: 3; }
  .review.review--featured .person__img { width: 48px; height: 48px; border-radius: 50%; }
  .challenges { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
}
@media (max-width: 809px) {
  .hero--page { height: auto; min-height: 0; }
  .stats__grid--3 { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .expertise-grid .value-card { height: 150px; padding: 16px; border-radius: 20px; }
  .expertise-grid .value-card p { font-size: 16px; line-height: 20px; }
  .xp-card { padding: 24px; }
  .challenges, .prog-grid { grid-template-columns: 1fr; }
  .challenge { min-height: 280px; }
  .prog-card__img { height: 240px; }
  .review { padding: 24px; }
  .review blockquote { font-size: 18px; line-height: 27px; }
  .cta-band__box { padding: 32px 24px; min-height: 480px; border-radius: 24px; }
  .cta-band__box::after { background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.85) 60%); }
}

/* Formules : lien détail + version complète */
.plans__more { text-align: center; }
.plans__more a { text-decoration: underline; text-underline-offset: 4px; color: var(--muted); transition: color .3s var(--ease); }
.plans__more a:hover { color: var(--accent); }
.plan--full .plan__incl li { align-items: flex-start; }
.plan--full .plan__incl li svg { margin-top: 2px; }

/* Galerie avant / après */
.transfo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.transfo { display: flex; flex-direction: column; border-radius: 24px; background: var(--surface); overflow: hidden; }
.transfo__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: 360px; }
.transfo__imgs figure { position: relative; margin: 0; overflow: hidden; }
.transfo__imgs img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.transfo__imgs figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 0 10px; border-radius: 6px;
  background: rgba(255, 255, 255, .48); border: 1px solid rgba(255, 255, 255, .24);
  font-family: Inter, var(--font); font-size: 13px; line-height: 24px; font-weight: 500; color: #000;
}
.transfo__body { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px 24px; }
.transfo__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.transfo__delta { font-size: 32px; line-height: 40px; letter-spacing: -.96px; font-weight: 500; color: var(--accent); }
.transfo-cta { display: flex; justify-content: center; }

/* Bonus */
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bonus-grid .value-card { height: 200px; padding: 24px; }
.bonus-grid .value-card svg { color: var(--accent); }
.bonus-grid .value-card p { font-size: 20px; line-height: 26px; letter-spacing: -.4px; font-weight: 500; }

/* Citation du coach */
.statement { text-align: center; max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; align-items: center; }

@media (max-width: 1199px) {
  .transfo-grid { grid-template-columns: 1fr 1fr; }
  .bonus-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 809px) {
  .transfo-grid, .bonus-grid { grid-template-columns: 1fr; }
  .transfo__imgs { height: 300px; }
  .bonus-grid .value-card { height: 150px; }
  .compare__info { top: 16px; left: 16px; }
}

/* =========================================================
   POP-UP (bilan / WhatsApp / Instagram)
   ========================================================= */
.popup { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.popup[hidden] { display: none; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.popup__card {
  position: relative; display: grid; grid-template-columns: 240px 1fr; width: 100%; max-width: 720px;
  border-radius: 24px; background: var(--surface); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.popup__card:focus { outline: none; }
.popup__img { position: relative; min-height: 100%; }
.popup__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.popup__body { display: flex; flex-direction: column; gap: 16px; padding: 40px 32px 32px; }
.popup__body .h-32 { padding-right: 24px; }
.popup__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.popup__alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.popup__alt a {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 8px;
  background: var(--bg); font-size: 16px; transition: background-color .3s var(--ease), color .3s var(--ease);
}
.popup__alt a:hover { background: var(--accent); color: var(--on-accent); }
.popup__alt svg { width: 20px; height: 20px; }
.popup__close {
  position: absolute; top: 16px; right: 16px; z-index: 1; width: 40px; height: 40px; border-radius: 40px;
  display: grid; place-items: center; background: rgba(0, 0, 0, .35); color: var(--text); transition: background-color .3s var(--ease);
}
.popup__close:hover { background: rgba(0, 0, 0, .6); }
.popup__close span { position: absolute; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.popup__close span:first-child { transform: rotate(45deg); }
.popup__close span:last-child { transform: rotate(-45deg); }
.popup__note { font-size: 14px; line-height: 21px; color: var(--muted); }
@media (max-width: 809px) {
  .popup { align-items: flex-end; padding: 0; }
  .popup__card { grid-template-columns: 1fr; border-radius: 24px 24px 0 0; max-height: 92svh; overflow-y: auto; }
  .popup__img { height: 200px; }
  .popup__body { padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
