/* ============================================================
   Timothée Bussy — styles.css
   Mobile first · CSS pur · Variables CSS · Premium
   ============================================================ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --foret:  #143226;
  --vert:   #1E5C46;
  --lime:   #D7E84C;
  --creme:  #F2EEE2;
  --encre:  #11211A;
  --sauge:  #8DA295;

  --font-title: 'Sora', sans-serif;
  --font-body:  'Inter', sans-serif;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;

  --max-w: 1180px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.37, 0, 0.63, 1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--creme);
  color: var(--encre);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img   { display: block; max-width: 100%; height: auto; }
section[id] { scroll-margin-top: 76px; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 6vw, 3.5rem);
}

/* ── Typographie utilitaire ─────────────────────────────────── */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow--lime  { color: var(--lime); }
.eyebrow--sauge { color: var(--sauge); }
.eyebrow--muted { color: var(--encre); opacity: 0.45; }

.section-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.section-title--creme { color: var(--creme); }
.section-title--encre { color: var(--encre); }

.section-sub {
  margin-top: 1.1rem;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  max-width: 54ch;
}
.section-sub--sauge { color: var(--sauge); }
.section-sub--muted { color: var(--encre); opacity: 0.62; }

/* ── Boutons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.9rem 1.75rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), opacity 0.18s;
}
.btn:hover  { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(17,33,26,0.18); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }

.btn--lime      { background: var(--lime);  color: var(--encre); }
.btn--foret     { background: var(--foret); color: var(--creme); }
.btn--ghost     { border-color: rgba(242,238,226,0.45); color: var(--creme); }
.btn--ghost-dark{ border-color: rgba(17,33,26,0.3); color: var(--encre); }

.btn--lime:hover  { box-shadow: 0 8px 28px rgba(215,232,76,0.35); }
.btn--foret:hover { box-shadow: 0 8px 28px rgba(20,50,38,0.35); }

.icon-wa { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }
.reveal--d4 { transition-delay: 0.32s; }
.reveal--d5 { transition-delay: 0.40s; }

/* ── Motif topographique SVG ────────────────────────────────── */
.topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 238, 226, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17,33,26,0.07);
  transition: box-shadow 0.3s;
}
.nav--scrolled { box-shadow: 0 4px 28px rgba(17,33,26,0.09); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 66px;
}

/* Monogramme */
.monogram {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
}
.monogram--dark  .mono-t { color: var(--foret); }
.monogram--dark  .mono-b { color: var(--vert); }
.monogram--light .mono-t { color: var(--creme); }
.monogram--light .mono-b { color: var(--lime); }

.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.nav__name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.83rem;
  color: var(--encre);
  display: none;
}
@media (min-width: 460px) { .nav__name { display: block; } }

/* Liens */
.nav__links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}
.nav__links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--encre);
  opacity: 0.65;
  position: relative;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1.5px;
  background: var(--encre);
  border-radius: 2px;
  transition: width 0.28s var(--ease-out);
}
.nav__links a:hover        { opacity: 1; }
.nav__links a:hover::after { width: 100%; }
.nav__links a:focus-visible { outline: 2px solid var(--lime); border-radius: 3px; }

@media (min-width: 800px) { .nav__links { display: flex; } }

.nav__cta { display: none; }
@media (min-width: 800px) { .nav__cta { display: inline-flex; } }

/* Burger */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--encre);
  border-radius: 2px;
  transition: transform 0.28s var(--ease-out), opacity 0.2s;
  transform-origin: center;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 800px) { .nav__burger { display: none; } }

/* Menu mobile */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--creme);
  border-top: 1px solid rgba(17,33,26,0.07);
  padding: 0.5rem clamp(1.25rem,6vw,3.5rem) 1.5rem;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--encre);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(17,33,26,0.06);
  transition: opacity 0.2s;
}
.nav__mobile a:hover { opacity: 0.6; }
.nav__mobile .btn { margin-top: 1rem; align-self: flex-start; }

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  background: var(--foret);
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
/* Hero « livre » : plus compact sur mobile pour rapprocher prix + CTA */
.hero--livre { padding-block: clamp(2.5rem, 7vw, 7rem); }
.hero__inner--livre { gap: clamp(1.5rem, 4vw, 4rem); }

.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Animations d'entrée hero (le livre reste statique pour un LCP rapide) */
.hero__eyebrow,
.hero__title,
.hero__sub,
.hero__price,
.hero__btns {
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hero__eyebrow { animation: heroFadeUp 0.7s var(--ease-out) 0.1s  both; }
.hero__title   { animation: heroFadeUp 0.8s var(--ease-out) 0.22s both; }
.hero__sub     { animation: heroFadeUp 0.8s var(--ease-out) 0.35s both; }
.hero__price   { animation: heroFadeUp 0.7s var(--ease-out) 0.47s both; }
.hero__btns    { animation: heroFadeUp 0.7s var(--ease-out) 0.58s both; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

.hero__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.15rem, 6vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
  color: var(--creme);
  margin-block: 0.85rem 1.1rem;
}
.hero__title em { font-style: normal; color: var(--lime); }

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--sauge);
  max-width: 46ch;
  line-height: 1.7;
}

/* Prix dans le hero */
.hero__price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.hero__price-value {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  color: var(--lime);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero__price-unit {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sauge);
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Hero « livre » : couverture mise en avant */
.hero--livre .hero__book { order: -1; }           /* mobile : couverture en premier */
@media (min-width: 820px) {
  .hero__inner--livre { grid-template-columns: 1fr minmax(280px, 380px); }
  .hero--livre .hero__book { order: 0; }           /* desktop : couverture à droite */
}

.hero__book {
  display: block;
  justify-self: center;
  width: 100%;
  max-width: 236px;
  transition: transform 0.35s var(--ease-out);
}
@media (min-width: 820px) { .hero__book { max-width: 330px; } }
.hero__book img {
  width: 100%;
  height: auto;
  border-radius: 5px 12px 12px 5px;
  box-shadow:
    -6px 0 0 rgba(0,0,0,0.22),
    0 26px 60px rgba(0,0,0,0.45);
}
.hero__book:hover { transform: translateY(-5px); }
.hero__book:focus-visible { outline: 3px solid var(--lime); outline-offset: 6px; border-radius: 8px; }

/* ═══════════════════════════════════════════════════════════════
   ATHLÈTE
═══════════════════════════════════════════════════════════════ */
.athlete {
  background: var(--creme);
  padding-block: clamp(5rem, 9vw, 8rem);
}

.athlete__inner {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}
@media (min-width: 820px) {
  .athlete__inner { grid-template-columns: 1fr 1fr; }
}

.athlete__header { margin-bottom: 2rem; }

.athlete__bio p {
  font-size: clamp(0.95rem, 1.6vw, 1.02rem);
  color: var(--encre);
  opacity: 0.78;
  line-height: 1.8;
  margin-bottom: 1.3rem;
}
.athlete__bio p:last-child { margin-bottom: 0; }

.athlete__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.athlete__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--foret);
  color: var(--creme);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
}
.athlete__pill::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}

.athlete__photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--vert);
  position: sticky;
  top: 82px;
}
.athlete__photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════
   PALMARÈS
═══════════════════════════════════════════════════════════════ */
.palmares {
  background: var(--foret);
  padding-block: clamp(5rem, 9vw, 8rem);
  position: relative;
  overflow: hidden;
}

.palmares__header { margin-bottom: 3.5rem; }

.palmares__body {
  position: relative;
  z-index: 1;
}

/* Records */
.palmares__records {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 1px;
  background: rgba(141,162,149,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 4rem;
}

.record-card {
  background: rgba(255,255,255,0.03);
  padding: 2rem 1.75rem;
  transition: background 0.3s;
}
.record-card:hover { background: rgba(255,255,255,0.07); }

.record-card__value {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  color: var(--lime);
  letter-spacing: -0.05em;
  line-height: 1;
  display: block;
}
.record-card__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sauge);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.45rem;
}
.record-card__detail {
  display: block;
  font-size: 0.76rem;
  color: var(--sauge);
  opacity: 0.55;
  margin-top: 0.2rem;
}

/* Colonnes par année */
.palmares__years {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 560px) {
  .palmares__years { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.year-col__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--lime);
  letter-spacing: -0.04em;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(141,162,149,0.18);
}

.year-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.year-col li {
  font-size: 0.88rem;
  color: var(--creme);
  opacity: 0.82;
  line-height: 1.45;
  padding-left: 1rem;
  position: relative;
}
.year-col li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.52em;
  width: 4px; height: 4px;
  background: var(--lime);
  border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════════════
   APPROCHE
═══════════════════════════════════════════════════════════════ */
.approche {
  background: var(--vert);
  padding-block: clamp(5rem, 9vw, 8rem);
}

.approche__header { margin-bottom: 3.5rem; max-width: 640px; }

.approche__steps {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 620px) {
  .approche__steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  transition: transform 0.35s var(--ease-out), background 0.3s, border-color 0.3s;
}
.step:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(215,232,76,0.2);
}

.step__num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 3.2rem;
  color: var(--lime);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}
.step__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--creme);
  margin-bottom: 0.6rem;
}
.step__desc {
  font-size: 0.88rem;
  color: var(--sauge);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   APERÇU / CE QUE LE LIVRE APPORTE
═══════════════════════════════════════════════════════════════ */
.apercu {
  background: var(--creme);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}
.apercu__header { max-width: 640px; margin-bottom: 3rem; }

.apercu__grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 560px) { .apercu__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .apercu__grid { grid-template-columns: repeat(4, 1fr); } }

.benefit {
  border: 1.5px solid rgba(17,33,26,0.1);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  background: #fff;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.benefit:hover { transform: translateY(-4px); border-color: rgba(17,33,26,0.2); }
.benefit__num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--vert);
  opacity: 0.35;
  margin-bottom: 0.9rem;
}
.benefit__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--encre);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.benefit__desc {
  font-size: 0.86rem;
  color: var(--encre);
  opacity: 0.65;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   ACHETER LE LIVRE
═══════════════════════════════════════════════════════════════ */
.buy {
  background: var(--vert);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  position: relative;
  overflow: hidden;
}
.buy__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 820px) { .buy__inner { grid-template-columns: 1fr 1fr; } }

.buy__price {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin: 1.1rem 0 1.2rem;
}
.buy__price-value {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: var(--lime);
  letter-spacing: -0.04em;
  line-height: 1;
}
.buy__price-unit {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sauge);
}
.buy__note {
  font-size: 0.92rem;
  color: var(--sauge);
  line-height: 1.7;
  max-width: 42ch;
}

.buy__form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.buy__fields {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 480px) { .buy__fields { grid-template-columns: 1fr 1fr; } }
.buy__submit { width: 100%; }
.buy__form .form-privacy { margin-top: 1rem; }

/* ═══════════════════════════════════════════════════════════════
   COACHING — 2 FORMULES
═══════════════════════════════════════════════════════════════ */
.coaching {
  background: var(--creme);
  padding-block: clamp(5rem, 9vw, 8rem);
}

.coaching__header { margin-bottom: 2.75rem; max-width: 640px; }

.coaching__disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3.5rem;
}
.discipline-tag {
  background: var(--foret);
  color: var(--creme);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
}

/* Grille des cartes d'accompagnement (2 offres) */
.coaching__cards {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}
@media (min-width: 620px) {
  .coaching__cards { grid-template-columns: repeat(2, 1fr); }
}
/* Duo centré et resserré sur grand écran pour éviter des cartes trop larges */
.coaching__cards--duo {
  max-width: 820px;
  margin-inline: auto;
}

/* Carte de base */
.formula-card {
  background: #fff;
  border: 1.5px solid rgba(17,33,26,0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s;
}
.formula-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(20,50,38,0.1);
  border-color: rgba(17,33,26,0.14);
}

.formula-card__name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--encre);
  margin-top: 1.25rem;
  margin-bottom: 0.2rem;
}

.formula-card__price {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: -0.05em;
  color: var(--encre);
  line-height: 1.05;
}

.formula-card__unit {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--encre);
  opacity: 0.45;
  /* Annule le letter-spacing negatif herite du prix, sinon les lettres se chevauchent */
  letter-spacing: normal;
  font-family: var(--font-body);
  white-space: nowrap;
}

/* Mention d'engagement sous le prix (offres mensuelles) */
.formula-card__note {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: rgba(17,33,26,0.06);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--encre);
  opacity: 0.6;
}
  background: rgba(255,255,255,0.1);
  color: var(--creme);
  opacity: 0.85;
}

.formula-card__desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--encre);
  opacity: 0.6;
  margin-top: 0.6rem;
}

.formula-card__divider {
  border: none;
  border-top: 1px solid rgba(17,33,26,0.08);
  margin-block: 1.5rem;
  flex-shrink: 0;
}

.formula-card__perks {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  margin-bottom: 1.75rem;
}
.formula-card__perks li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--encre);
  opacity: 0.75;
  line-height: 1.5;
}
.formula-card__perks li::before {
  content: '✓';
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--lime);
  flex-shrink: 0;
  margin-top: 0.1em;
}

.formula-card .btn { width: 100%; font-size: 0.88rem; padding: 0.88rem 1rem; }

/* Séances ponctuelles */
.coaching__ponctuel {
  display: grid;
  gap: 1rem;
}
@media (min-width: 560px) {
  .coaching__ponctuel { grid-template-columns: repeat(2, 1fr); }
}

.ponctuel-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1.5px solid rgba(17,33,26,0.1);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), background 0.3s;
}
.ponctuel-card:hover {
  border-color: rgba(17,33,26,0.22);
  transform: translateY(-3px);
  background: rgba(17,33,26,0.02);
}
.ponctuel-card__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--encre);
}
.ponctuel-card__desc {
  font-size: 0.78rem;
  color: var(--encre);
  opacity: 0.45;
  margin-top: 0.2rem;
}
.ponctuel-card__price {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: var(--foret);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   BLOC FINAL
═══════════════════════════════════════════════════════════════ */
.cta-block {
  background: var(--lime);
  padding-block: clamp(5rem, 9vw, 8rem);
  position: relative;
  overflow: hidden;
}

.cta-block__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.cta-block__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
  color: var(--foret);
  margin-bottom: 1.1rem;
}

.cta-block__sub {
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  color: var(--foret);
  opacity: 0.68;
  margin-bottom: 2.25rem;
  max-width: 50ch;
  margin-inline: auto;
  line-height: 1.7;
}

.cta-block__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.cta-block__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.75rem;
  font-size: 0.78rem;
  color: var(--foret);
  opacity: 0.5;
}
.cta-block__contact a { transition: opacity 0.2s; }
.cta-block__contact a:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--foret);
  padding-block: 3.5rem 2rem;
}

.footer__inner {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 580px) {
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; align-items: start; }
}

.footer__brand-name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--creme);
  margin-top: 0.55rem;
}
.footer__brand-sub {
  font-size: 0.72rem;
  color: var(--sauge);
  margin-top: 0.15rem;
  opacity: 0.7;
}

.footer__col-title {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sauge);
  opacity: 0.6;
  margin-bottom: 1.1rem;
}

.footer__nav ul,
.footer__social ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer__nav a,
.footer__social a {
  font-size: 0.86rem;
  color: var(--creme);
  opacity: 0.55;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__nav a:hover,
.footer__social a:hover { opacity: 1; }
.footer__nav a:focus-visible,
.footer__social a:focus-visible { outline: 2px solid var(--lime); border-radius: 2px; }

/* Bouton WhatsApp du footer (ouvre la modale) */
.footer__link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--creme);
  opacity: 0.55;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__link-btn:hover { opacity: 1; }
.footer__link-btn:focus-visible { outline: 2px solid var(--lime); border-radius: 2px; }

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(141,162,149,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer__legal {
  font-size: 0.7rem;
  color: var(--sauge);
  opacity: 0.45;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  font-size: 0.7rem;
  color: var(--sauge);
}
.footer__legal-links a {
  color: var(--sauge);
  opacity: 0.55;
  transition: opacity 0.2s;
}
.footer__legal-links a:hover { opacity: 1; }
.footer__legal-links a:focus-visible { outline: 2px solid var(--lime); border-radius: 2px; }
.footer__legal-links span { opacity: 0.3; }

.footer__credit {
  font-size: 0.7rem;
  color: var(--sauge);
  opacity: 0.35;
}
.footer__credit a {
  color: var(--sauge);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.footer__credit a:hover { opacity: 0.8; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════════ */
.faq {
  background: var(--vert);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}
.faq__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 820px) { .faq__inner { grid-template-columns: 0.8fr 1.2fr; } }

.faq__header { max-width: 420px; }

.faq__list { display: flex; flex-direction: column; }
.faq__item {
  border-top: 1px solid rgba(141,162,149,0.22);
}
.faq__item:last-child { border-bottom: 1px solid rgba(141,162,149,0.22); }

.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 2.5rem 1.2rem 0;
  position: relative;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--creme);
  transition: color 0.2s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '';
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.28s var(--ease-out);
}
.faq__item[open] .faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.faq__q:hover { color: var(--lime); }
.faq__q:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 3px; }

.faq__a {
  padding: 0 2.5rem 1.3rem 0;
  font-size: 0.92rem;
  color: var(--sauge);
  line-height: 1.7;
  max-width: 60ch;
}

/* Lien de preuve (profil sportif) dans la section athlète */
.athlete__proof {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--encre);
  opacity: 0.7;
}
.athlete__proof a {
  color: var(--vert);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.athlete__proof a:hover { opacity: 0.75; }

/* Groupe de radios en ligne (Oui / Non) */
.form-radio-group--inline { flex-direction: row; }

/* ═══════════════════════════════════════════════════════════════
   MODALE QUESTIONNAIRE
═══════════════════════════════════════════════════════════════ */
body.modal-open { overflow: hidden; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
/* Indispensable : l'attribut hidden serait sinon écrasé par display:flex */
.modal[hidden] { display: none; }
@media (min-width: 640px) {
  .modal { align-items: center; padding: 2rem; }
}

/* État final visible par défaut : si l'animation est throttlée par le
   navigateur, la modale reste utilisable (apparition instantanée) */
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,33,26,0.78);
}
.modal.is-open .modal__backdrop { animation: modalFadeIn 0.3s ease both; }

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translate3d(0, 40px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

.modal__panel {
  position: relative;
  background: var(--foret);
  border: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
@media (min-width: 640px) {
  .modal__panel { border-radius: var(--radius-lg); }
}
.modal.is-open .modal__panel { animation: modalSlideUp 0.35s var(--ease-out) both; }

.modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: var(--creme);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.modal__close:hover { background: rgba(255,255,255,0.15); transform: rotate(90deg); }
.modal__close:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.modal__close svg { width: 16px; height: 16px; }

.modal__head { margin-bottom: 2rem; padding-right: 3rem; }
.modal__head .eyebrow { margin-bottom: 0.6rem; }

.modal__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--creme);
  margin-bottom: 0.6rem;
}

.modal__sub {
  font-size: 0.86rem;
  color: var(--sauge);
  line-height: 1.6;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.modal__form .form-submit .btn { width: 100%; }
