/* ==========================================================================
   RUN PROGRESS — feuille de style du site
   Reprise fidèle du thème Shopify « Horizon » (préréglage Run Progress) :
   palette, polices Syne / Inter, en-tête transparent sur l'accueil,
   sections héros, blocs personnalisés et pop-up e-book.
   ========================================================================== */

/* ---------- Polices (hébergées sur le site, licence SIL OFL) ---------- */
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/syne-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-italic.woff2") format("woff2");
}

/* ---------- Variables ---------- */
:root {
  /* Palette du thème */
  --color-background: #ffffff;
  --color-foreground: #0b1732;
  --color-navy: #162e66;
  --color-navy-dark: #0d1b3e;
  --color-orange: #f5a623;
  --color-mist: #f5f7fa;
  --color-teal: #00b295;
  --color-sky: #4fa8e8;
  --color-accent: #e4572e;

  /* Polices */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Syne", "Inter", system-ui, sans-serif;

  /* Mise en page (largeur « wide » du thème) */
  --page-margin: 16px;
  --page-content-width: 150rem;

  /* En-tête : logo 38 px sur mobile, 44 px sur ordinateur */
  --logo-height: 38px;
  --header-padding: 10px;
  --header-height: calc(var(--logo-height) + var(--header-padding) * 2);

  /* Hauteurs de section du thème */
  --section-height-small: 15rem;
  --section-height-medium: 25rem;
  --section-height-large: 35rem;

  /* Typographie des titres (tailles fluides du thème) */
  --font-h1: clamp(3rem, 7.2vw, 4.5rem);
  --font-h2: clamp(2.25rem, 4.8vw, 3rem);
  --font-h3: 2rem;
  --font-h4: 1.5rem;
  --font-h5: 1.125rem;
  --font-h6: 1rem;

  --radius-button: 37px;
  --radius-input: 8px;
}

@media screen and (min-width: 40em) {
  :root {
    --section-height-small: 40svh;
    --section-height-medium: 55svh;
    --section-height-large: 70svh;
  }
}

@media screen and (min-width: 750px) {
  :root {
    --page-margin: 40px;
    --logo-height: 44px;
    --header-padding: 12px;
  }
}

@media screen and (min-width: 60em) {
  :root {
    --section-height-small: 50svh;
    --section-height-medium: 65svh;
    --section-height-large: 80svh;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 0.25em;
}

h1 {
  font-size: var(--font-h1);
  line-height: 1;
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--font-h2);
  line-height: 1.1;
}

h3 {
  font-size: var(--font-h3);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--font-h4);
  line-height: 1.1;
}

p {
  margin: 0 0 0.5em;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-sky);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--color-foreground);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.page-width {
  width: 100%;
  max-width: calc(var(--page-content-width) + var(--page-margin) * 2);
  margin-inline: auto;
  padding-inline: var(--page-margin);
}

/* ---------- Boutons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--radius-button);
  background: var(--color-foreground);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.button:hover {
  background: #1d2c55;
}

.button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.button--outline {
  background: transparent;
  color: currentColor;
  border: 1px solid currentColor;
}

.button--outline:hover {
  background: #fff;
  color: var(--color-navy);
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: var(--color-navy);
  color: #fff;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Accueil : en-tête transparent posé sur la première image, opaque au défilement */
.template-index .site-header {
  margin-bottom: calc(var(--header-height) * -1);
  background: transparent;
}

.template-index .site-header.is-scrolled,
.template-index .site-header.is-open {
  background: var(--color-navy);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.site-header__start {
  display: flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
}

.site-header__end {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
}

.site-nav {
  display: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  position: relative;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  padding-block: 6px;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--logo-height);
  text-decoration: none;
}

.site-logo img {
  height: var(--logo-height);
  width: auto;
  max-width: 46vw;
  object-fit: contain;
}

.site-logo__text {
  display: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-logo.is-missing img {
  display: none;
}

.site-logo.is-missing .site-logo__text {
  display: block;
}

.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.header-icon:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header-icon svg {
  width: 22px;
  height: 22px;
}

.header-cta {
  display: none;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-button);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-cta:hover {
  background: #fff;
  color: var(--color-navy);
}

@media screen and (min-width: 750px) {
  .header-cta {
    display: inline-flex;
  }
}

@media screen and (min-width: 1200px) {
  .site-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }
}

.header-icon__svg {
  width: 20px;
  height: 20px;
}

/* ---------- Menu mobile (tiroir) ---------- */
.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  pointer-events: none;
}

.menu-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.menu-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 28, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(86vw, 30rem);
  display: flex;
  flex-direction: column;
  background: var(--color-background);
  color: var(--color-foreground);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
  overflow-y: auto;
}

.menu-drawer.is-open .menu-drawer__overlay {
  opacity: 1;
}

.menu-drawer.is-open .menu-drawer__panel {
  transform: translateX(0);
}

.menu-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}

.menu-drawer__head .header-icon:hover {
  background: var(--color-mist);
}

.menu-drawer__list {
  margin: 0;
  padding: 8px 24px;
  list-style: none;
}

.menu-drawer__link {
  display: block;
  padding: 12px 0;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.menu-drawer__link[aria-current="page"] {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.menu-drawer__foot {
  margin-top: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-drawer__foot .button {
  width: 100%;
}

.menu-drawer__social {
  display: flex;
  gap: 12px;
}

.menu-drawer__social a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-navy);
  color: #fff;
}

.menu-drawer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

body.is-locked {
  overflow: hidden;
}

/* ==========================================================================
   Section « héros » (image de fond + voile + contenu)
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
}

.hero--small {
  min-height: var(--section-height-small);
}

.hero--medium {
  min-height: var(--section-height-medium);
}

.hero--large {
  min-height: var(--section-height-large);
}

/* L'image est posée sur un dégradé marine : si la photo manque, le dégradé reste. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image, none),
    linear-gradient(160deg, var(--color-navy-dark) 0%, var(--color-navy) 55%, #1e3d80 100%);
  background-size: cover, cover;
  background-position: var(--hero-position, center), center;
  background-repeat: no-repeat;
}

/* Fond de secours clair pour la page Forfaits (titre en noir sur la photo) */
.hero__media--light {
  background-image: var(--hero-image, none),
    linear-gradient(160deg, #eef5fb 0%, #c4e1f5 55%, #8ec9f0 100%);
}

@media screen and (max-width: 749px) {
  .hero__media {
    background-image: var(--hero-image-mobile, var(--hero-image, none)),
      linear-gradient(160deg, var(--color-navy-dark) 0%, var(--color-navy) 55%, #1e3d80 100%);
  }

  .hero__media--light {
    background-image: var(--hero-image-mobile, var(--hero-image, none)),
      linear-gradient(160deg, #eef5fb 0%, #c4e1f5 55%, #8ec9f0 100%);
  }
}

.hero__media--navy {
  background: var(--color-navy);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__overlay--readable {
  background: linear-gradient(to bottom, rgba(6, 12, 28, 0.5) 0%, rgba(6, 12, 28, 0.22) 45%, rgba(6, 12, 28, 0) 75%);
}

.hero__overlay--to-top {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
}

/* Section coach : la photo de piste est chargée, le voile garde le texte lisible */
.hero__overlay--to-bottom-dark {
  background: linear-gradient(to bottom, rgba(6, 12, 28, 0.74), rgba(6, 12, 28, 0.5));
}

.hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- 1. Accueil : « Un suivi 100 % personnalisé » ---------- */
.hero-intro {
  padding-bottom: 76px;
}

.hero-intro .hero__inner {
  align-items: center;
  justify-content: space-between;
  gap: 29px;
}

.hero-intro__spacer {
  height: 24px;
}

.tracking {
  width: 100%;
  padding: 100px 0;
  text-align: center;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.tracking__title {
  margin: 0 0 20px;
  text-wrap: balance;
  color: #fff;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0;
}

.tracking__description {
  margin: 0 auto 25px;
  max-width: 60rem;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.tracking__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.tracking__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 14px;
}

.tracking__feature svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.tracking__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}

.tracking__cta {
  display: inline-block;
  padding: 14px 30px;
  border: 2px solid #fff;
  border-radius: 30px;
  background: #fff;
  color: var(--color-navy-dark);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: none;
  box-shadow: 0 8px 24px rgba(6, 12, 28, 0.28);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.tracking__cta:hover {
  border-color: var(--color-navy);
  background: var(--color-navy);
  color: #fff;
  transform: translateY(-2px);
}

.tracking__cta--ghost {
  background: rgba(6, 12, 28, 0.28);
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.tracking__cta--ghost:hover {
  border-color: #fff;
  background: #fff;
  color: var(--color-navy-dark);
}

.hero-intro__marquee {
  height: 48px;
}

/*
 * Accueil : la photo remplit toute la largeur, sans bord flou, et elle est calée sur
 * le coureur plutôt que sur le centre de l'image : il reste entier et jamais caché
 * par le texte, quelle que soit la taille de l'écran ou le zoom.
 * Repères dans la photo (3:4) : le coureur occupe de 37,5 % (casquette) à 68 % (pieds)
 * de sa hauteur, et il est centré à 48,4 % de sa largeur.
 *
 * - Écran large (ordinateur, tablette à l'horizontale) : la photo occupe tout l'écran,
 *   le texte est centré en haut, le coureur au centre, pieds posés en bas.
 * - Écran étroit ou vertical (téléphone, tablette debout) : le texte en haut, la place
 *   du coureur réservée dessous ; au-dessus de la photo, le ciel continue.
 */
@supports (width: 1cqw) {
  .hero-intro {
    container-type: inline-size;
    /* hauteur du coureur à l'écran : au moins 41 % de la largeur, pour que la photo
       couvre toujours toute la largeur */
    --runner-h: 41cqw;
    --photo-h: calc(var(--runner-h) / 0.305);
    --feet-gap: 24px;
    padding-bottom: 0;
  }

  .hero-intro .hero__media {
    background: #77a0cf;
    overflow: hidden;
  }

  .hero-intro .hero__media::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(var(--feet-gap) - 0.32 * var(--photo-h));
    width: calc(0.75 * var(--photo-h));
    height: var(--photo-h);
    background-image: var(--hero-image, none);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transform: translateX(-48.4%);
    /* seul le haut de la photo se fond dans le ciel, quand elle ne monte pas jusqu'en haut */
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%);
    mask-image: linear-gradient(to bottom, transparent, #000 8%);
  }

  .hero-intro .tracking {
    padding-bottom: 0;
  }

  /* Place du coureur sous le bouton */
  .hero-intro__marquee {
    height: calc(var(--runner-h) + var(--feet-gap) + 16px);
  }

  /* ---------- Écran large : photo plein écran, texte centré en haut ---------- */
  @media screen and (min-width: 900px) and (min-aspect-ratio: 5/4) {
    .hero-intro {
      /* tout l'écran ; un peu plus sur les écrans très allongés (21:9), pour garder
         le coureur entier */
      --hero-h: max(100svh, 45vw);
      min-height: var(--hero-h);
    }

    /* La photo couvre tout l'écran ; ses pieds sont posés à --feet-gap du bas */
    .hero-intro .hero__media {
      background-image: var(--hero-image, none);
      background-repeat: no-repeat;
      background-size: cover;
      background-position: 48.4% calc(var(--hero-h) - var(--feet-gap) - 0.68 * 133.333cqw);
    }

    .hero-intro .hero__media::after {
      content: none;
    }

    /* Voile sombre en haut, sous le texte centré ; il s'efface vers le bas */
    .hero-intro .hero__overlay--readable {
      background: linear-gradient(to bottom, rgba(6, 12, 28, 0.62) 0%, rgba(6, 12, 28, 0.42) 32%, rgba(6, 12, 28, 0.08) 52%, rgba(6, 12, 28, 0) 62%);
    }

    .hero-intro .hero__inner {
      align-items: center;
      justify-content: flex-start;
      gap: 0;
    }

    .hero-intro__spacer,
    .hero-intro__marquee {
      display: none;
    }

    /* Texte centré, compact, en haut de l'écran */
    .hero-intro .tracking {
      width: min(64rem, 100%);
      padding: calc(var(--header-height) + 20px) 0 32px;
      text-align: center;
    }

    .hero-intro .tracking__title {
      margin-bottom: 14px;
      font-size: clamp(30px, 2.8vw, 46px);
      text-wrap: balance;
    }

    .hero-intro .tracking__description {
      max-width: 44rem;
      margin: 0 auto 18px;
      font-size: clamp(16px, 1.1vw, 18px);
    }

    .hero-intro .tracking__features {
      margin-bottom: 22px;
    }

    .hero-intro .tracking__feature {
      padding: 4px 12px;
      font-size: 15px;
    }
  }

  /* ---------- Téléphone : photo plus large que l'écran, bande centrale ---------- */
  @media screen and (max-width: 749px) {
    .hero-intro {
      /* au moins 41 % de la largeur (photo aussi large que l'écran), au plus 62 % */
      --runner-h: clamp(41cqw, 100svh - 664px, 62cqw);
    }

    .hero-intro .hero__media::after {
      background-image: var(--hero-image-mobile, var(--hero-image, none));
    }

    .hero-intro .tracking__features {
      gap: 0;
      margin-bottom: 18px;
    }

    .hero-intro .tracking__feature {
      padding: 6px 12px;
    }
  }

  /* Petits téléphones : texte un peu plus compact pour garder le coureur à l'écran */
  @media screen and (max-width: 400px) {
    .hero-intro .tracking__title {
      font-size: 28px;
    }

    .hero-intro .tracking__description {
      font-size: 15px;
    }
  }
}

@media screen and (max-width: 749px) {
  .tracking {
    padding: 70px 0;
  }

  .tracking__title {
    font-size: 32px;
  }

  .tracking__feature {
    font-size: 12.6px;
  }
}

/* ---------- 2. Les 4 étapes ---------- */
.steps {
  background: var(--color-navy);
  padding: 60px 20px;
  color: #fff;
}

.steps__container {
  max-width: 1200px;
  margin: 0 auto;
}

.steps__header {
  text-align: center;
  margin-bottom: 48px;
}

.steps__title {
  margin: 0 0 16px;
  color: #fff;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
}

.steps__subtitle {
  margin: 0;
  font-size: 18px;
  opacity: 0.9;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step__label {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.step__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
}

.step__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step__description {
  margin: 0;
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
}

@media screen and (max-width: 989px) {
  .steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .steps__title {
    font-size: 32px;
  }

  .steps__subtitle {
    font-size: 16.2px;
  }
}

@media screen and (max-width: 749px) {
  .steps {
    padding: 42px 16px;
  }

  .steps__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps__header {
    margin-bottom: 32px;
  }

  .steps__title {
    font-size: 28px;
  }

  .steps__subtitle {
    font-size: 15.3px;
  }
}

/* Image absente : on garde le cadre avec un pictogramme discret */
[data-media].is-missing img {
  display: none;
}

.step__media.is-missing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: center / 22% no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-opacity='.35' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
}

/* ---------- 3. Présentation du coach ---------- */
.coach {
  padding-top: 72px;
  padding-bottom: 64px;
}

.coach .hero__inner {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
}

.coach__group {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.coach__title {
  max-width: 9.75em;
  margin: 0;
  color: #fff;
  font-size: var(--font-h1);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.coach__text {
  font-size: 1.25rem;
  line-height: 1.4;
  text-wrap: pretty;
}

.coach__text p {
  margin: 0 0 0.5em;
}

.coach__text p:last-child {
  margin-bottom: 0;
}

.coach__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.coach__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  text-underline-offset: 4px;
}

.coach__more svg {
  width: 18px;
  height: 18px;
}

.coach__photo {
  width: 15%;
}

.coach__photo img {
  width: 100%;
  height: auto;
}

.coach__photo.is-missing {
  display: none;
}

@media screen and (max-width: 749px) {
  .coach .hero__inner {
    flex-direction: column;
    gap: 32px;
  }

  .coach__group {
    width: 100%;
  }

  .coach__text {
    font-size: 1.125rem;
  }

  .coach__photo {
    width: 30%;
  }
}

/* Frise « parcours » */
.rp-timeline {
  position: relative;
  max-width: 480px;
  padding: 8px 0 8px 28px;
  font-family: inherit;
}

.rp-timeline__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rp-line {
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.35) 15%, rgba(255, 255, 255, 0.35) 85%, rgba(255, 255, 255, 0.08));
}

.rp-item {
  position: relative;
  padding-bottom: 30px;
}

.rp-item:last-child {
  padding-bottom: 0;
}

.rp-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #0a1628;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.rp-dot--muted {
  border-color: rgba(255, 255, 255, 0.3);
}

.rp-dot--highlight {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
}

.rp-year {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  margin-bottom: 4px;
}

.rp-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rp-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.rp-sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}

.rp-item--highlight .rp-sub {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 640px) {
  .rp-timeline {
    max-width: 100%;
  }
}

/* ---------- Titres de section partagés (Pourquoi / FAQ / Forfaits) ---------- */
.rp-kicker {
  font-style: italic;
  font-size: 30px;
  color: var(--color-sky);
  text-decoration: underline;
  text-decoration-color: rgba(79, 168, 232, 0.5);
  margin: 0 0 12px;
}

/* Sur fond clair, le bleu du thème manque de contraste : on le fonce */
.section-intro .rp-kicker,
.latest-posts .rp-kicker,
.page-header .rp-kicker,
.rp-pricing__header .rp-kicker {
  color: #1f63ad;
  text-decoration-color: rgba(31, 99, 173, 0.45);
}

.section-intro--light .rp-kicker {
  color: var(--color-sky);
  text-decoration-color: rgba(79, 168, 232, 0.5);
}

.rp-kicker--title {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.rp-heading {
  font-size: 28px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0;
}

.rp-heading strong {
  font-weight: 700;
}

/* ---------- 4. Pourquoi me choisir ---------- */
.why-section {
  padding-block: 40px;
}

.why-section .hero__inner {
  align-items: center;
  justify-content: center;
}

.rp-why {
  width: 100%;
  background: var(--color-navy);
  padding: 64px 24px;
}

.rp-why__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.rp-why__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.rp-why__card {
  flex: 1 1 0;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 24px 20px;
}

.rp-why__name {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.35;
  letter-spacing: 0;
}

.rp-why__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

.rp-why__cta-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  margin-top: 40px;
  text-align: center;
}

.rp-why__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-underline-offset: 4px;
}

.rp-why__link svg {
  width: 18px;
  height: 18px;
}

.rp-why__cta {
  display: inline-block;
  background: #ffffff;
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  transition: opacity 0.15s ease;
}

.rp-why__cta:hover {
  opacity: 0.85;
}

@media (max-width: 860px) {
  .rp-why__grid {
    flex-direction: column;
  }

  .rp-why__card {
    min-width: 0;
  }
}

/* ---------- 5. FAQ ---------- */
.faq-section {
  padding-block: 40px;
}

.faq-section .hero__inner {
  justify-content: center;
}

.rp-faq {
  padding: 64px 24px;
}

.rp-faq__header {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.rp-faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rp-faq__item {
  background: var(--color-navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.rp-faq__item[open] {
  border-color: rgba(255, 255, 255, 0.25);
}

.rp-faq__question {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.rp-faq__question::-webkit-details-marker {
  display: none;
}

.rp-faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.rp-faq__icon::before,
.rp-faq__icon::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.rp-faq__icon::before {
  width: 12px;
  height: 2px;
}

.rp-faq__icon::after {
  width: 2px;
  height: 12px;
}

.rp-faq__item[open] .rp-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.rp-faq__answer {
  padding: 0 24px 22px;
}

.rp-faq__answer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ==========================================================================
   Page « Forfaits »
   ========================================================================== */
.pricing-section {
  padding-block: 40px;
}

.pricing-section .hero__inner {
  justify-content: center;
}

.rp-pricing {
  padding: 64px 24px;
}

.rp-pricing__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.rp-pricing__header .rp-heading {
  color: #000000;
}

.rp-pricing__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 160px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.rp-card {
  flex: 1 1 380px;
  max-width: 460px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.rp-card--dark {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.06);
}

.rp-card--light {
  background: #8ec9f0;
  box-shadow: 0 0 50px rgba(142, 201, 240, 0.45);
}

.rp-card__body {
  padding: 32px 32px 24px;
}

.rp-card--dark .rp-card__body {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rp-card--light .rp-card__body {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.rp-card__name {
  font-style: italic;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: 0;
}

.rp-card--dark .rp-card__name,
.rp-card--dark .rp-card__price {
  color: #ffffff;
}

.rp-card--light .rp-card__name,
.rp-card--light .rp-card__price {
  color: #0a1628;
}

.rp-card__price {
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 16px;
}

.rp-card__period {
  font-size: 15px;
  font-weight: 400;
  opacity: 0.7;
  margin-left: 4px;
}

.rp-card__desc {
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0 0 24px;
}

.rp-card--dark .rp-card__desc {
  color: rgba(255, 255, 255, 0.75);
}

.rp-card--light .rp-card__desc {
  color: rgba(10, 22, 40, 0.8);
}

.rp-card__cta {
  display: block;
  text-align: center;
  background: #0a0a0a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.rp-card__cta:hover {
  opacity: 0.85;
}

.rp-card__list {
  list-style: none;
  margin: 0;
  padding: 8px 32px 32px;
  flex: 1;
}

.rp-card__list li {
  position: relative;
  padding: 14px 0 14px 28px;
  font-size: 14.5px;
  line-height: 1.4;
}

.rp-card--dark .rp-card__list li {
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rp-card--light .rp-card__list li {
  color: #0a1628;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.rp-card__list li:last-child {
  border-bottom: none;
}

.rp-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 14px;
  font-weight: 700;
  color: #3ecf6e;
}

.rp-card__link {
  color: var(--color-sky);
  text-decoration: underline;
}

.rp-card--light .rp-card__link {
  color: #0a3a63;
}

@media (max-width: 860px) {
  .rp-pricing {
    padding: 40px 16px;
  }

  .rp-pricing__grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .rp-card {
    max-width: 460px;
    width: 100%;
  }
}

/* ==========================================================================
   Page « Contact »
   ========================================================================== */
.page-header {
  padding-top: 40px;
  text-align: center;
}

.page-header__title {
  margin: 0;
  font-size: var(--font-h2);
  line-height: 1.1;
}

.page-header__intro {
  max-width: 36rem;
  margin: 24px auto 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(11, 23, 50, 0.78);
}

.contact-page {
  padding-top: 32px;
  padding-bottom: 84px;
  display: flex;
  justify-content: center;
}

.contact-form {
  width: 50%;
}

@media screen and (max-width: 749px) {
  .contact-form {
    width: 100%;
  }
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media screen and (max-width: 749px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

.contact-form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dfe4ee;
  border-radius: var(--radius-input);
  background: var(--color-mist);
  color: var(--color-foreground);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.field__input::placeholder {
  color: rgba(11, 23, 50, 0.55);
}

.field__input:focus {
  outline: none;
  border-color: var(--color-navy);
  background: #fff;
}

.field__input--textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.form-message {
  scroll-margin-top: calc(var(--header-height) + 16px);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: var(--radius-input);
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-message[hidden] {
  display: none;
}

.form-message svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.form-message--success {
  background: rgba(0, 178, 149, 0.1);
  color: #00695a;
}

.form-message--error {
  background: rgba(228, 87, 46, 0.1);
  color: #a3341a;
}

.form-message a {
  font-weight: 600;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Pages légales
   ========================================================================== */
.policy {
  padding-block: 56px 96px;
}

.policy__container {
  max-width: 46rem;
  margin: 0 auto;
}

.policy__title {
  margin: 0 0 8px;
  font-size: var(--font-h2);
  text-align: center;
}

.policy__updated {
  margin: 0 0 40px;
  text-align: center;
  color: rgba(11, 23, 50, 0.6);
  font-size: 0.875rem;
}

.policy h2 {
  margin: 40px 0 12px;
  font-size: 1.375rem;
  line-height: 1.25;
}

.policy p,
.policy li {
  font-size: 1rem;
  line-height: 1.7;
}

.policy p {
  margin: 0 0 1em;
}

.policy ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.policy a {
  color: var(--color-navy);
  font-weight: 500;
}

.to-complete {
  padding: 1px 6px;
  border-radius: 4px;
  background: #fff3cd;
  color: #7a5200;
  font-weight: 600;
}

/* ==========================================================================
   Page 404
   ========================================================================== */
.not-found {
  min-height: var(--section-height-small);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-block: 80px;
  text-align: center;
}

.not-found__title {
  margin: 0;
  font-size: var(--font-h3);
}

.not-found__text {
  margin: 0 0 16px;
}

/* ==========================================================================
   Éléments communs ajoutés
   ========================================================================== */
.button--light {
  background: #fff;
  color: var(--color-navy);
}

.button--light:hover {
  background: #e8eefb;
}

.button--outline-dark {
  background: transparent;
  color: var(--color-navy);
  border: 1px solid var(--color-navy);
}

.button--outline-dark:hover {
  background: var(--color-navy);
  color: #fff;
}

.button svg {
  width: 18px;
  height: 18px;
}

.section-intro {
  max-width: 44rem;
  margin: 0 auto 40px;
  text-align: center;
}

.section-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  text-wrap: balance;
}

.section-lead {
  margin: 14px 0 0;
  color: rgba(11, 23, 50, 0.72);
  font-size: 1.05rem;
}

.section-intro--light .section-title {
  color: #fff;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Texte riche : articles, explications du calculateur */
.rte {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.rte > * + * {
  margin-top: 1.1em;
}

.rte p,
.rte ul,
.rte ol {
  margin-bottom: 0;
}

.rte h2 {
  margin: 2.2em 0 0;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.rte h3 {
  margin: 1.8em 0 0;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.rte h2 + *,
.rte h3 + * {
  margin-top: 0.6em;
}

.rte ul,
.rte ol {
  padding-left: 1.3em;
}

.rte li + li {
  margin-top: 0.4em;
}

.rte li::marker {
  color: var(--color-navy);
  font-weight: 700;
}

.rte a {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.rte a:hover {
  color: #2456b8;
}

.rte strong {
  font-weight: 650;
}

.rte table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

.rte th,
.rte td {
  padding: 12px 14px;
  border-bottom: 1px solid #e3e8f1;
  text-align: left;
  vertical-align: top;
}

.rte thead th,
.rte thead td {
  background: var(--color-navy);
  color: #fff;
  font-weight: 600;
}

.rte thead :first-child {
  border-top-left-radius: 10px;
}

.rte thead :last-child {
  border-top-right-radius: 10px;
}

.rte tbody tr:nth-child(even) {
  background: var(--color-mist);
}

/* Sur téléphone, les tableaux des articles deviennent des cartes empilées */
@media screen and (max-width: 640px) {
  .rte table,
  .rte thead,
  .rte tbody,
  .rte tr,
  .rte th,
  .rte td {
    display: block;
  }

  .rte thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .rte tbody tr {
    margin-bottom: 12px;
    border: 1px solid #e3e8f1;
    border-radius: 10px;
    overflow: hidden;
  }

  .rte tbody tr:nth-child(even) {
    background: none;
  }

  .rte td {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 10px;
    padding: 10px 14px;
    text-align: left !important;
  }

  .rte td::before {
    content: attr(data-label);
    color: rgba(11, 23, 50, 0.6);
    font-size: 0.8rem;
    font-weight: 600;
  }

  .rte td:first-child {
    display: block;
    background: var(--color-navy);
    color: #fff;
    font-weight: 700;
  }

  .rte td:first-child::before {
    content: attr(data-label) " ";
    color: rgba(255, 255, 255, 0.7);
  }

  .rte td[data-label=""]::before {
    content: none;
  }
}

.rte .callout {
  margin-left: 0;
  margin-right: 0;
  padding: 18px 22px;
  border-left: 4px solid var(--color-sky);
  border-radius: 0 10px 10px 0;
  background: #eef5fd;
}

.rte .callout p {
  margin: 0;
}

.rte figure {
  margin-left: 0;
  margin-right: 0;
}

.rte figure img {
  width: 100%;
  border-radius: 10px;
}

.rte figcaption {
  margin-top: 8px;
  color: rgba(11, 23, 50, 0.6);
  font-size: 0.875rem;
  text-align: center;
}

.rte code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--color-mist);
  font-size: 0.9em;
}

.rte hr {
  border: 0;
  border-top: 1px solid #e3e8f1;
}

/* --------------------------------------------------------------------------
   Blocs des articles : intertitres à pictogramme, chiffres clés, encadrés
   -------------------------------------------------------------------------- */
.post-content h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
}

.post-content h2::before {
  content: "";
  flex: none;
  width: 44px;
  height: 44px;
  background: url("/images/icone-intertitre.svg") center / contain no-repeat;
}

.post-content h2.has-icon::before {
  content: none;
}

.post-content .heading-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.post-content ul > li::marker {
  color: var(--color-accent);
}

.post-content h3 {
  color: var(--color-navy);
}

.key-figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  margin: 2em 0;
  border-radius: 14px;
  background: var(--color-navy);
  color: #fff;
  overflow: hidden;
}

.key-figure {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 18px;
  text-align: center;
}

.key-figure + .key-figure {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.key-figure strong {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.key-figure span {
  color: #c8d2e6;
  font-size: 0.875rem;
  line-height: 1.45;
}

.article-box {
  padding: 18px 22px;
  border-left: 5px solid var(--color-navy);
  border-radius: 0 12px 12px 0;
  background: #eef2f9;
  color: #0d1b3e;
}

.article-box p {
  margin: 0;
  font-style: italic;
}

.article-box p + p {
  margin-top: 0.6em;
}

.article-box .article-box__label {
  margin-bottom: 6px;
  color: var(--color-navy);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.article-box--key {
  border-left-color: var(--color-accent);
  background: #fdf0eb;
}

.article-box--key .article-box__label {
  color: #b23f1c;
}

.post-content figure img {
  height: auto;
  border: 1px solid #e3e8f1;
}

.article-closing {
  padding-left: 18px;
  border-left: 3px solid var(--color-accent);
  color: #3d4558;
  font-size: 1.1em;
  font-style: italic;
}

.article-small {
  color: #5b6478;
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.6;
}

.article-sources {
  margin-top: 2.5em;
  padding-top: 18px;
  border-top: 1px solid #e3e8f1;
  color: #5b6478;
  font-size: 0.85rem;
  line-height: 1.6;
}

.article-sources .article-sources__title {
  color: var(--color-navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-sources ol {
  margin-top: 8px;
}

.article-sources p {
  margin-top: 12px;
}

@media screen and (max-width: 640px) {
  .key-figures {
    grid-template-columns: 1fr;
  }

  .key-figure {
    padding: 16px 18px;
  }

  .key-figure + .key-figure {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .post-content h2 {
    gap: 12px;
  }

  .post-content h2::before,
  .post-content .heading-icon {
    width: 38px;
    height: 38px;
  }
}

/* ==========================================================================
   Accueil : encart calculateur et derniers articles
   ========================================================================== */
.tool-teaser {
  background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy) 60%, #1e3d80);
  color: #fff;
}

.tool-teaser__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px 64px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.tool-teaser__title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.15;
}

.tool-teaser__text p:not(.rp-kicker) {
  max-width: 34rem;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.6;
}

.tool-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.tool-pills a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  color: #fff;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tool-pills a:hover {
  background: #fff;
  color: var(--color-navy-dark);
}

.tool-teaser__sample {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.tool-teaser__sample dl {
  margin: 0;
}

.tool-teaser__sample dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tool-teaser__sample dt {
  color: rgba(255, 255, 255, 0.75);
}

.tool-teaser__sample dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tool-teaser__note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

@media screen and (max-width: 860px) {
  .tool-teaser__inner {
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

.latest-posts {
  padding-top: 72px;
  padding-bottom: 80px;
}

.latest-posts__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.latest-posts__title {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

.latest-posts__all,
.post-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
}

.latest-posts__all {
  color: var(--color-navy);
}

.latest-posts__all svg,
.post-cta__link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.latest-posts__all:hover svg,
.post-cta__link:hover svg {
  transform: translateX(4px);
}

/* Cartes d'articles */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media screen and (max-width: 989px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

.post-card[hidden] {
  display: none;
}

.post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e3e8f1;
  border-radius: 12px;
  background: #fff;
  color: var(--color-foreground);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(11, 23, 50, 0.12);
}

.post-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-mist);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card__link:hover .post-card__media img {
  transform: scale(1.04);
}

.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.post-card__meta,
.post-card__date {
  margin: 0;
  color: rgba(11, 23, 50, 0.6);
  font-size: 0.8rem;
}

.post-card__tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e6effc;
  color: var(--color-navy);
  font-size: 0.75rem;
  font-weight: 600;
}

.post-card__title {
  margin: 12px 0 10px;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.post-card__excerpt {
  display: -webkit-box;
  margin: 0 0 16px;
  overflow: hidden;
  color: rgba(11, 23, 50, 0.75);
  font-size: 0.925rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.post-card__date {
  margin-top: auto;
}

/* Variante sur fond bleu marine (page Articles) */
.post-grid--dark .post-card__link {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.post-grid--dark .post-card__link:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.post-grid--dark .post-card__meta,
.post-grid--dark .post-card__date {
  color: rgba(255, 255, 255, 0.6);
}

.post-grid--dark .post-card__excerpt {
  color: rgba(255, 255, 255, 0.75);
}

.post-grid--dark .post-card__tag {
  background: rgba(79, 168, 232, 0.18);
  color: #a9d4f5;
}

/* ==========================================================================
   Page « Articles »
   ========================================================================== */
.blog-hero {
  background: var(--color-navy);
  color: #fff;
  padding-top: 100px;
  padding-bottom: 97px;
}

.blog-hero__title {
  margin: 0;
  font-size: var(--font-h2);
}

.blog-hero__intro {
  max-width: 40rem;
  margin: 16px 0 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.6;
}

.blog-tools .blog-filters {
  margin-bottom: 12px;
}

.blog-tools .blog-count {
  margin-bottom: 22px;
}

.blog-tools[hidden] {
  display: none;
}

.blog-search {
  max-width: 26rem;
  margin-bottom: 18px;
}

.blog-search__input {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
}

.blog-search__input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.blog-search__input:focus {
  border-color: var(--color-sky);
  outline: 2px solid var(--color-sky);
  outline-offset: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.blog-count {
  min-height: 1.4em;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.blog-empty {
  margin: 8px 0 40px;
  color: rgba(255, 255, 255, 0.85);
}

.blog-empty a {
  color: #fff;
}

/*
 * Article sur ordinateur : une piste d'athlétisme bleue de chaque côté du texte.
 * Le couloir 1 est côté texte ; la piste part du bord de l'écran, avec 6 couloirs
 * au plus (moins sur les écrans plus petits, un espace blanc avant le texte sur les
 * grands écrans).
 * Départ en haut, repères de distance et ligne d'arrivée en bas ; la pastille orange
 * (le lecteur) descend le couloir 1 au fil de la lecture (public/assets/js/blog.js).
 */
.post-track {
  position: relative;
}

.track-side,
.track-toggle {
  display: none;
}

@media screen and (min-width: 1016px) {
  .post-track .post-body {
    position: relative;
    z-index: 1;
  }

  .track-side {
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    /* depuis le bord de l'écran, jusqu'à 32 px du texte (44rem de large) ;
       6 couloirs au plus (6 × 62 px + la bordure) : sur les grands écrans,
       un espace blanc sépare la piste de l'article */
    width: min(378px, calc((100% - 44rem) / 2 - 32px));
    background-image: url("/images/piste/depart-gauche.svg"), url("/images/piste/couloirs.svg");
    background-repeat: no-repeat, repeat;
    background-size: 496px 260px, 496px 400px;
    pointer-events: none;
  }

  /* bordure de la piste côté texte, puis la pelouse */
  .track-side--left {
    left: 0;
    border-right: 6px solid #dfe3ea;
    background-position: right top, right top;
    box-shadow: 8px 0 0 #6fa356;
  }

  .track-side--right {
    right: 0;
    border-left: 6px solid #dfe3ea;
    background-image: url("/images/piste/depart-droite.svg"), url("/images/piste/couloirs.svg");
    background-position: left top, left top;
    box-shadow: -8px 0 0 #6fa356;
  }

  /* Ligne d'arrivée en damier */
  .track-side::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 76px;
    height: 42px;
    background: repeating-conic-gradient(#fff 0 25%, #10224d 0 50%) 0 0 / 28px 28px;
  }

  .track-side::after {
    content: "Arrivée";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    padding: 8px 0;
    background: #10224d;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
  }

  /* Repères 100 m, 200 m… peints en travers des couloirs */
  .track-mark {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(242, 245, 250, 0.9);
  }

  .track-mark span {
    position: absolute;
    bottom: 8px;
    width: 62px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
  }

  .track-side--left .track-mark span {
    right: 62px;
  }

  .track-side--right .track-mark span {
    left: 62px;
  }

  /* Le lecteur, dans le couloir 1 */
  .track-runner {
    position: absolute;
    top: 0;
    right: 13px;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 4px 14px rgba(6, 12, 28, 0.35);
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.3s ease, opacity 0.3s ease, scale 0.3s ease;
  }

  .track-runner:hover {
    scale: 1.12;
  }

  .track-runner.is-leaving {
    opacity: 0;
    scale: 0.4;
  }

  /* Pour faire revenir la pastille, en bas à gauche, tant que la piste est à l'écran */
  .post-track.is-in-view .track-toggle:not([hidden]) {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 12px;
    border: 0;
    border-radius: 30px;
    background: var(--color-navy);
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(6, 12, 28, 0.3);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  .track-toggle::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--color-accent);
  }

  .post-track.is-in-view .track-toggle:hover {
    background: var(--color-navy-dark);
    transform: translateY(-2px);
  }

  .track-runner.is-finished {
    background: #2e9e5b;
  }

  .track-runner.is-finished::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 10px;
    width: 7px;
    height: 13px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
  }
}

/* Article : l'outil qui permet de mettre l'article en pratique */
.post-practice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 20px;
  margin-top: 40px;
  padding: 22px 24px;
  border: 1px solid #d6e6f7;
  border-radius: 16px;
  background: #eef5fd;
}

.post-practice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--color-navy);
  color: #fff;
}

.post-practice__icon svg {
  width: 26px;
  height: 26px;
}

.post-practice__text p {
  margin: 0;
  color: rgba(11, 23, 50, 0.75);
  font-size: 0.92rem;
  line-height: 1.5;
}

.post-practice .post-practice__kicker {
  color: #1f63ad;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-practice .post-practice__title {
  margin: 2px 0 4px;
  color: var(--color-navy-dark);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

@media screen and (max-width: 640px) {
  .post-practice {
    grid-template-columns: auto 1fr;
  }

  .post-practice .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* Article : progression de la lecture, sous le bord haut de l'écran */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.blog-filters[hidden] {
  display: none;
}

.blog-filter {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.blog-filter:hover {
  background: rgba(255, 255, 255, 0.1);
}

.blog-filter[aria-pressed="true"] {
  background: #fff;
  color: var(--color-navy);
}

.newsletter-band {
  background: var(--color-mist);
}

.newsletter-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.newsletter-band__title {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.newsletter-band p {
  margin: 0;
  color: rgba(11, 23, 50, 0.75);
}

.newsletter-band .button--light {
  background: var(--color-navy);
  color: #fff;
}

/* ==========================================================================
   Page d'un article
   ========================================================================== */
.post-hero {
  background: var(--color-navy);
  color: #fff;
  padding-top: 40px;
  padding-bottom: 120px;
}

.post-hero__inner {
  max-width: calc(50rem + var(--page-margin) * 2);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb [aria-current] {
  display: -webkit-box;
  overflow: hidden;
  max-width: 28ch;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.post-hero .post-card__tag {
  background: rgba(79, 168, 232, 0.2);
  color: #a9d4f5;
}

.post-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.post-hero__lead {
  max-width: 44rem;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  line-height: 1.6;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 0.95rem;
}

.post-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.post--no-cover .post-hero {
  padding-bottom: 56px;
}

.post-cover {
  position: relative;
  max-width: calc(62rem + var(--page-margin) * 2);
  margin-top: -88px;
}

.post-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(11, 23, 50, 0.25);
}

.post-cover.is-missing {
  display: none;
}

.post-body {
  max-width: calc(44rem + var(--page-margin) * 2);
  padding-top: 48px;
  padding-bottom: 64px;
}

.post-toc {
  margin-bottom: 36px;
  padding: 18px 22px;
  border: 1px solid #e3e8f1;
  border-radius: 12px;
  background: var(--color-mist);
}

.post-toc summary {
  font-weight: 700;
  cursor: pointer;
}

.post-toc ol {
  margin: 12px 0 0;
  padding-left: 1.3em;
  line-height: 1.6;
}

.post-toc a {
  color: var(--color-navy);
  text-decoration: none;
}

.post-toc a:hover {
  text-decoration: underline;
}

.post-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e3e8f1;
}

.post-share__label {
  margin-right: 6px;
  font-weight: 600;
}

.post-share__link {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #d5ddeb;
  border-radius: 10px;
  background: #fff;
  color: var(--color-navy);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.post-share__link:hover {
  background: var(--color-navy);
  color: #fff;
}

.post-share__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.post-share__link svg[fill="none"] {
  fill: none;
}

.post-share__status {
  color: #00695a;
  font-size: 0.875rem;
}

.author-box {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 32px;
  padding: 22px;
  border-radius: 14px;
  background: var(--color-mist);
}

.author-box img {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.author-box p {
  margin: 0;
  color: rgba(11, 23, 50, 0.8);
  line-height: 1.55;
}

.author-box .author-box__name {
  margin-bottom: 4px;
  color: var(--color-foreground);
  font-family: var(--font-heading);
  font-weight: 700;
}

.post-cta {
  margin-top: 32px;
  padding: 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy) 60%, #1e3d80);
  color: #fff;
}

.post-cta h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.post-cta p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.post-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.post-cta__link {
  color: #fff;
}

.related-posts {
  padding-top: 64px;
  padding-bottom: 80px;
  background: var(--color-mist);
}

.related-posts__title {
  margin: 0 0 28px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

@media screen and (max-width: 749px) {
  .post-hero {
    padding-bottom: 96px;
  }

  .post-cover {
    margin-top: -72px;
  }

  .post-body {
    padding-top: 32px;
  }

  .rte {
    font-size: 1rem;
  }

  .post-cta {
    padding: 24px;
  }
}

/* ==========================================================================
   Calculateur d'allures
   ========================================================================== */
.template-page-calculateur .page-header .rp-kicker {
  margin-bottom: 8px;
}

.calc {
  max-width: calc(56rem + var(--page-margin) * 2);
  padding-top: 32px;
  padding-bottom: 48px;
}

.calc__form {
  padding: 28px;
  border: 1px solid #e3e8f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 23, 50, 0.06);
}

.calc__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 24px;
  padding: 6px;
  border-radius: 12px;
  background: var(--color-mist);
}

.calc__mode {
  position: relative;
  cursor: pointer;
}

.calc__mode input {
  position: absolute;
  opacity: 0;
}

.calc__mode span {
  display: block;
  padding: 12px;
  border-radius: 9px;
  text-align: center;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.calc__mode input:checked + span {
  background: var(--color-navy);
  color: #fff;
}

.calc__mode input:focus-visible + span {
  outline: 2px solid var(--color-sky);
  outline-offset: 2px;
}

.calc__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc__fields[hidden] {
  display: none;
}

.calc__field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.calc__help {
  margin: 6px 0 0;
  color: rgba(11, 23, 50, 0.6);
  font-size: 0.85rem;
}

.calc__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 24px;
}

.calc__error {
  margin: 0;
  color: #a3341a;
  font-weight: 500;
}

.calc__error[hidden],
.calc__results[hidden] {
  display: none;
}

.calc__results {
  margin-top: 36px;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.calc__results:focus {
  outline: none;
}

.calc__summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.calc__stat {
  padding: 20px;
  border-radius: 14px;
  background: var(--color-navy);
  color: #fff;
}

.calc__stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.calc__stat-value {
  display: block;
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-variant-numeric: tabular-nums;
}

.calc__stat-value small {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.75;
}

.calc__heading {
  margin: 40px 0 14px;
  font-size: 1.35rem;
}

.calc__table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.calc__table th,
.calc__table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e3e8f1;
  text-align: left;
  vertical-align: top;
}

.calc__table thead th {
  background: var(--color-mist);
  color: rgba(11, 23, 50, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calc__table td {
  font-variant-numeric: tabular-nums;
}

.calc__table .calc__strong {
  font-weight: 700;
  white-space: nowrap;
}

.calc__table .calc__usage {
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.875rem;
}

.calc__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.calc__share-status {
  color: #00695a;
  font-size: 0.9rem;
}

.calc__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 36px;
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy) 60%, #1e3d80);
  color: #fff;
}

.calc__cta h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.calc__cta p {
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.calc-explain {
  max-width: calc(44rem + var(--page-margin) * 2);
  padding-bottom: 80px;
}

@media screen and (max-width: 640px) {
  .calc__form {
    padding: 20px;
  }

  .calc__fields {
    grid-template-columns: 1fr;
  }

  .calc__summary {
    gap: 8px;
  }

  .calc__stat {
    padding: 14px 12px;
  }

  .calc__stat-label {
    font-size: 0.75rem;
  }

  .calc__stat-value {
    font-size: 1.3rem;
  }

  .calc__stat-value small {
    display: block;
    font-size: 0.75rem;
  }

  .calc__mode span {
    padding: 10px 6px;
    font-size: 0.9rem;
  }

  /* Sur petit écran : zone et allure seulement */
  .calc__table--zones th:nth-child(2),
  .calc__table--zones td:nth-child(2),
  .calc__table--zones th:nth-child(4),
  .calc__table--zones td:nth-child(4),
  .calc__usage-col,
  .calc__table .calc__usage {
    display: none;
  }

  .calc__table {
    min-width: 0;
  }

  .calc__table th,
  .calc__table td {
    padding: 11px 10px;
  }
}

/* ==========================================================================
   Boîte à outils : cartes d'outils, tableau de marche, zones cardiaques, convertisseur
   ========================================================================== */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-grid--large {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 20px;
}

.tool-card {
  display: flex;
}

.tool-card__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
  border: 1px solid #e3e8f1;
  border-radius: 16px;
  background: #fff;
  color: var(--color-navy-dark);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(11, 23, 50, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tool-card__link:hover {
  border-color: var(--color-sky);
  box-shadow: 0 14px 32px rgba(11, 23, 50, 0.12);
  transform: translateY(-3px);
}

.tool-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--color-navy);
  color: #fff;
}

.tool-card__icon svg {
  width: 24px;
  height: 24px;
}

.tool-card__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.tool-grid--large .tool-card__title {
  font-size: 1.25rem;
}

.tool-card__text {
  flex: 1;
  margin: 0 0 16px;
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

.tool-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1f63ad;
  font-size: 0.9rem;
  font-weight: 600;
}

.tool-card__more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.tool-card__link:hover .tool-card__more svg {
  transform: translateX(3px);
}

.tools-hub {
  max-width: calc(68rem + var(--page-margin) * 2);
  padding-top: 40px;
  padding-bottom: 80px;
}

.tools-more {
  padding: 56px 0 72px;
  background: var(--color-mist);
}

.tools-more__title {
  margin: 0 0 24px;
  font-size: 1.5rem;
}

.calc__cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.calc__cta-link {
  color: #fff;
  font-weight: 600;
  text-underline-offset: 4px;
}

.calc__fieldset {
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.calc__fieldset legend {
  margin-bottom: 8px;
  padding: 0;
  font-weight: 600;
}

.calc__fieldset .calc__modes {
  margin-bottom: 0;
}

.calc__check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  cursor: pointer;
}

.calc__check input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-navy);
}

.calc-explain--wide {
  max-width: calc(56rem + var(--page-margin) * 2);
}

.calc-explain .calc__table {
  margin: 20px 0;
}

/* Test de VMA : chronomètre du demi-Cooper */
.vma-timer {
  margin-bottom: 24px;
  padding: 24px;
  border-radius: 16px;
  background: var(--color-navy);
  color: #fff;
  text-align: center;
  transition: background-color 0.3s ease;
}

.vma-timer.is-running {
  background: var(--color-navy-dark);
}

.vma-timer.is-done {
  background: #1d7a47;
}

.vma-timer__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vma-timer__time {
  margin: 4px 0;
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 12vw, 5.5rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}

.vma-timer__status {
  min-height: 1.5em;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.85);
}

.vma-timer__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.vma-timer .button {
  border-color: #fff;
  background: #fff;
  color: var(--color-navy-dark);
}

.vma-timer .button--outline-dark {
  background: transparent;
  color: #fff;
}

/* Tableau de marche */
.plan-print-title {
  display: none;
}

.plan-table th {
  font-weight: 500;
  white-space: nowrap;
}

.plan-table small {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 20px;
  background: #fdf0eb;
  color: #a3341a;
  font-size: 0.72rem;
  font-weight: 600;
  vertical-align: 1px;
}

.plan-table__key th,
.plan-table__key td {
  background: var(--color-mist);
  font-weight: 700;
}

.plan-table__finish th,
.plan-table__finish td {
  border-bottom: 0;
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
}

.plan-table__finish th {
  border-radius: 0 0 0 10px;
}

.plan-table__finish td:last-child {
  border-radius: 0 0 10px 0;
}

/* Zones cardiaques */
.zones-fcmax {
  margin: 0 0 18px;
  font-size: 1.1rem;
}

.zone-cards {
  display: grid;
  gap: 14px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.zone-card {
  --zone: var(--color-sky);
  display: grid;
  grid-template-columns: minmax(11rem, 0.9fr) 2fr;
  gap: 4px 28px;
  align-items: center;
  padding: 18px 22px 18px 20px;
  border: 1px solid #e3e8f1;
  border-left: 8px solid var(--zone);
  border-radius: 14px;
  background: #fff;
}

.zone-card--2 { --zone: #2f9e77; }
.zone-card--3 { --zone: #e2a53a; }
.zone-card--4 { --zone: #e4572e; }
.zone-card--5 { --zone: #b3261e; }

.zone-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: 1;
}

.zone-card__number {
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--color-navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.zone-card__percent {
  color: rgba(11, 23, 50, 0.65);
  font-size: 0.85rem;
  font-weight: 600;
}

.zone-card__name {
  grid-column: 1;
  margin: 6px 0 0;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.zone-card__bpm {
  grid-column: 1;
  margin: 2px 0 0;
  color: rgba(11, 23, 50, 0.65);
}

.zone-card__bpm strong {
  color: var(--color-navy-dark);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
}

.zone-card__facts {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.8fr;
  gap: 16px;
  margin: 0;
}

.zone-card__facts dt {
  margin-bottom: 4px;
  color: rgba(11, 23, 50, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.zone-card__facts dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
}

/* Convertisseur */
.convert {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 16px;
}

.convert__arrows {
  padding-bottom: 12px;
  color: var(--color-navy);
  font-size: 1.6rem;
}

.convert .field__input {
  font-size: 1.25rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media screen and (max-width: 749px) {
  .zone-card {
    grid-template-columns: 1fr;
    padding: 16px 18px 16px 16px;
  }

  .zone-card__facts {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e3e8f1;
  }

  .zone-card__facts > div {
    display: grid;
    grid-template-columns: 8.5rem 1fr;
    gap: 10px;
  }

  .zone-card__facts dt {
    margin: 2px 0 0;
  }

  .tools-more {
    padding: 40px 0 52px;
  }

  .calc__cta-actions {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .calc__table--wide {
    min-width: 30rem;
  }

  .convert {
    gap: 10px;
  }
}

/* ---------- Bouton WhatsApp flottant ---------- */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  height: 54px;
  padding: 0 14px;
  border-radius: 30px;
  background: #0f7a5f;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(6, 12, 28, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-fab:hover,
.site-footer .whatsapp-fab:hover {
  background: #0b5f4a;
  text-decoration: none;
  transform: translateY(-2px);
}

.whatsapp-fab svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Le texte « Une question ? » n'apparaît qu'au survol ou au clavier, sur ordinateur */
.whatsapp-fab__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.3s ease, margin-left 0.3s ease;
}

@media (hover: hover) and (min-width: 750px) {
  .whatsapp-fab:hover .whatsapp-fab__label,
  .whatsapp-fab:focus-visible .whatsapp-fab__label {
    max-width: 10rem;
    margin-left: 10px;
  }
}

@media screen and (max-width: 749px) {
  .whatsapp-fab {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
    justify-content: center;
    padding: 0;
  }
}

/* ---------- Lexique du coureur ---------- */
.lexique {
  max-width: calc(48rem + var(--page-margin) * 2);
  padding-top: 32px;
  padding-bottom: 72px;
}

.lexique__tools {
  margin-bottom: 16px;
}

.lexique__search {
  width: 100%;
}

.lexique__count {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: rgba(11, 23, 50, 0.65);
  font-size: 0.9rem;
}

.lexique__index ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lexique__index a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-mist);
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: none;
}

.lexique__index a:hover {
  background: var(--color-navy);
  color: #fff;
}

.lex-group {
  margin-top: 36px;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.lex-group[hidden],
.lex-entry[hidden] {
  display: none;
}

.lex-group__letter {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-navy);
  font-size: 1.7rem;
}

.lex-group__list {
  margin: 0;
}

.lex-entry {
  padding: 20px 0;
  border-bottom: 1px solid #e3e8f1;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.lex-entry:target {
  margin: 0 -16px;
  padding: 20px 16px;
  border-radius: 12px;
  background: #eef5fd;
}

.lex-entry__term {
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.lex-entry__def {
  margin: 0;
  line-height: 1.65;
}

.lex-entry__def p {
  margin: 0 0 8px;
}

.lex-entry__def a {
  color: var(--color-navy);
  font-weight: 600;
  text-underline-offset: 3px;
}

.lex-entry__def .lex-entry__source {
  margin: 10px 0 0;
  color: rgba(11, 23, 50, 0.65);
  font-size: 0.875rem;
}

.lexique__empty {
  margin: 32px 0 0;
}

.lexique .calc__cta {
  margin-top: 48px;
}

/* ==========================================================================
   Page « Forfaits » : engagements, quiz, comparatif, étapes, FAQ
   ========================================================================== */
.pricing-promises {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 56px auto 0;
  padding: 0;
  list-style: none;
}

.pricing-promises li {
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(11, 23, 50, 0.12);
}

.pricing-promises li::before {
  content: "✓ ";
  color: #1f9d55;
}

/* ==========================================================================
   Accueil : pour qui, formules, guide offert
   ========================================================================== */
.home-profiles {
  padding: 40px 0 8px;
  background: var(--color-navy);
  color: #fff;
}

.home-profiles__title {
  margin: 0 0 18px;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  text-align: center;
}

.home-profiles__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.home-profiles__list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.home-profiles__list a:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.home-profiles__list strong {
  font-size: 1rem;
}

.home-profiles__list span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  line-height: 1.45;
}

.home-plans {
  padding: 80px 0;
  background: var(--color-mist);
}

.home-plans__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 56rem;
  margin: 0 auto;
}

.home-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: 18px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-plan:hover {
  transform: translateY(-3px);
}

.home-plan--bien {
  background: #0a0a0a;
  color: #fff;
  box-shadow: 0 14px 34px rgba(10, 10, 10, 0.18);
}

.home-plan--perf {
  background: #8ec9f0;
  color: #0a1628;
  box-shadow: 0 14px 34px rgba(142, 201, 240, 0.45);
}

.home-plan__badge {
  position: absolute;
  top: -13px;
  right: 22px;
  padding: 5px 13px;
  border-radius: 999px;
  background: #b23f1c;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.home-plan__name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 700;
}

.home-plan__price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.home-plan__price small {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.7;
}

.home-plan__for {
  opacity: 0.85;
  line-height: 1.5;
}

.home-plan__list {
  display: grid;
  gap: 8px;
  margin: 6px 0 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(127, 127, 127, 0.3);
  font-size: 0.92rem;
}

.home-plan__list span::before {
  content: "✓ ";
  color: #34c27a;
  font-weight: 700;
}

.home-plan--perf .home-plan__list span::before {
  color: #0d6b3f;
}

.home-plan__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
}

.home-plan__more svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.home-plan:hover .home-plan__more svg {
  transform: translateX(3px);
}

.home-plans__quiz {
  margin: 28px 0 0;
  text-align: center;
}

.home-plans__quiz a {
  color: #1f63ad;
  font-weight: 700;
  text-underline-offset: 3px;
}

.home-guide {
  background: linear-gradient(135deg, #10224d, var(--color-navy) 60%, #1e3d80);
  color: #fff;
}

.home-guide__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px 56px;
  max-width: calc(60rem + var(--page-margin) * 2);
  padding-top: 56px;
  padding-bottom: 56px;
}

.home-guide__cover {
  width: 180px;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
  transform: rotate(-4deg);
}

.home-guide__title {
  margin: 4px 0 12px;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1.15;
}

.home-guide__text p:not(.rp-kicker) {
  max-width: 36rem;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

@media screen and (max-width: 989px) {
  .home-profiles__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
  .home-profiles__list {
    grid-template-columns: 1fr;
  }

  .home-plans {
    padding: 56px 0;
  }

  .home-plans__grid {
    grid-template-columns: 1fr;
  }

  .home-guide__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .home-guide__cover {
    width: 140px;
  }
}

/* ==========================================================================
   Page « Le coach » : parcours, méthode, préparation, engagements
   ========================================================================== */
.coach-hero {
  padding: 56px 0 0;
  background: linear-gradient(160deg, var(--color-navy-dark) 0%, var(--color-navy) 60%, #1e3d80 100%);
  color: #fff;
}

.coach-hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px 64px;
}

.coach-hero__title {
  margin: 8px 0 20px;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  text-wrap: balance;
}

.coach-hero__lead {
  max-width: 38rem;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.65;
}

.coach-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.coach-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  text-underline-offset: 4px;
}

.coach-hero__link svg {
  width: 18px;
  height: 18px;
}

.coach-hero__photo {
  justify-self: center;
  width: min(100%, 360px);
}

.coach-hero__photo img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06), 0 24px 60px rgba(6, 12, 28, 0.45);
}

.coach-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.coach-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 12px;
  text-align: center;
}

.coach-stats li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.coach-stats strong {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.coach-stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.coach-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px 72px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.coach-story__timeline {
  padding: 28px 28px 10px;
  border-radius: 18px;
  background: var(--color-navy);
}

/* Méthode */
.method {
  padding: 80px 0;
  background: var(--color-navy-dark);
  color: #fff;
  scroll-margin-top: var(--header-height);
}

.method .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 18px;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.principle {
  position: relative;
  padding: 26px 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.principle__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 700;
}

.principle__title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.principle__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.principle__links {
  display: grid;
  gap: 6px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
  font-size: 0.875rem;
}

.principle__links a {
  color: #a9d4f5;
  text-underline-offset: 3px;
}

.principle__links a:hover {
  color: #fff;
}

/* Phases d'une préparation */
.phases-section {
  padding: 80px 0;
}

.phases {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

/* la ligne qui relie les étapes */
.phases::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 10%;
  right: 10%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-navy), var(--color-accent));
}

.phase {
  position: relative;
  text-align: center;
}

.phase__step {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
}

.phase:last-child .phase__step {
  background: var(--color-accent);
}

.phase__when {
  margin: 0 0 4px;
  color: #1f63ad;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.phase__name {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.phase__text {
  margin: 0;
  color: rgba(11, 23, 50, 0.75);
  font-size: 0.92rem;
  line-height: 1.55;
}

.phases__note {
  max-width: 44rem;
  margin: 36px auto 0;
  color: rgba(11, 23, 50, 0.7);
  font-size: 0.92rem;
  text-align: center;
}

/* Engagements */
.promises-section {
  padding: 72px 0 80px;
  background: var(--color-mist);
}

.promises {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 16px;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.promise {
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(11, 23, 50, 0.05);
}

.promise__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #e7f6ee;
  color: #1f9d55;
}

.promise__icon svg {
  width: 18px;
  height: 18px;
}

.promise__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.promise__text {
  margin: 0;
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.coach-cta {
  max-width: calc(64rem + var(--page-margin) * 2);
  padding-top: 64px;
  padding-bottom: 72px;
}

@media screen and (max-width: 989px) {
  .coach-hero__inner,
  .coach-story {
    grid-template-columns: 1fr;
  }

  .coach-hero__photo {
    grid-row: 1;
    width: min(60vw, 260px);
  }

  .coach-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .coach-stats li:nth-child(3) {
    border-left: 0;
  }

  .coach-stats li:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .phases {
    grid-template-columns: 1fr;
    max-width: 34rem;
    gap: 0;
  }

  .phases::before {
    top: 22px;
    bottom: 22px;
    left: 21px;
    right: auto;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, var(--color-navy), var(--color-accent));
  }

  .phase {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding-bottom: 24px;
    text-align: left;
  }

  .phase__step {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 640px) {
  .coach-hero {
    padding-top: 36px;
  }

  .method,
  .phases-section {
    padding: 56px 0;
  }

  .coach-story {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* ---------- Forfaits : prix par semaine, badge, aide au choix ---------- */
.rp-card__body {
  position: relative;
}

.rp-card__price {
  margin-bottom: 4px;
}

.rp-card__equiv {
  margin: 0 0 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

.rp-card--dark .rp-card__equiv {
  color: #8ec9f0;
}

.rp-card--light .rp-card__equiv {
  color: #0d3b6e;
}

.rp-card__badge {
  position: absolute;
  top: -14px;
  right: 24px;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: #b23f1c;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(228, 87, 46, 0.35);
}

.pricing-hesitate {
  margin: 18px auto 0;
  padding: 10px 18px;
  width: fit-content;
  max-width: 100%;
  border-radius: 12px;
  background: rgba(13, 27, 62, 0.72);
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
}

.pricing-hesitate a {
  color: #fff;
  font-weight: 700;
  text-underline-offset: 3px;
}

/* Pour qui ? */
.profiles-section {
  padding: 80px 0 24px;
}

.profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 16px;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.profile {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid #e3e8f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(11, 23, 50, 0.05);
}

.profile__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.profile__text {
  flex: 1;
  margin: 0 0 16px;
  color: rgba(11, 23, 50, 0.75);
  font-size: 0.95rem;
  line-height: 1.5;
}

.profile__plan {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.profile__plan--bien-etre {
  background: #0a0a0a;
  color: #fff;
}

.profile__plan--performance {
  background: #8ec9f0;
  color: #0a1628;
}

.profile__plan:hover {
  text-decoration: underline;
}

/* Semaines types */
.weeks-section {
  padding: 72px 0 80px;
  background: var(--color-mist);
}

.weeks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 20px;
  max-width: 64rem;
  margin: 0 auto;
}

.week {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 23, 50, 0.06);
}

.week__head {
  padding: 20px 22px;
  background: #0a0a0a;
  color: #fff;
}

.week--perf .week__head {
  background: #8ec9f0;
  color: #0a1628;
}

.week__title {
  margin: 0;
  font-size: 1.3rem;
  font-style: italic;
  letter-spacing: 0;
}

.week__subtitle {
  margin: 4px 0 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.week__days {
  margin: 0;
  padding: 6px 0;
  list-style: none;
}

.week__day {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 12px;
  padding: 11px 22px;
  border-bottom: 1px solid #eef1f6;
}

.week__day:last-child {
  border-bottom: 0;
}

.week__name {
  color: rgba(11, 23, 50, 0.6);
  font-size: 0.875rem;
  font-weight: 600;
}

.week__what {
  font-weight: 600;
}

.week__what small {
  display: block;
  margin-top: 2px;
  color: rgba(11, 23, 50, 0.65);
  font-size: 0.85rem;
  font-weight: 400;
}

.week__day--rest .week__what {
  color: rgba(11, 23, 50, 0.62);
  font-weight: 500;
}

.weeks__note {
  max-width: 44rem;
  margin: 24px auto 0;
  color: rgba(11, 23, 50, 0.75);
  text-align: center;
}

/* Coaching, application ou plan gratuit */
.vs-section {
  padding: 80px 0;
}

.vs {
  max-width: 64rem;
  margin: 0 auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 23, 50, 0.08);
}

.vs table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
}

.vs th,
.vs td {
  padding: 14px 18px;
  border-bottom: 1px solid #e3e8f1;
  text-align: center;
  vertical-align: middle;
}

.vs tbody th {
  font-weight: 500;
  text-align: left;
}

.vs td {
  color: rgba(11, 23, 50, 0.6);
  font-size: 0.92rem;
}

.vs thead th {
  padding-top: 20px;
  padding-bottom: 16px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.vs thead th:last-child,
.vs td:last-child {
  background: var(--color-navy);
  color: #fff;
}

.vs td:last-child {
  font-weight: 600;
}

.vs tbody tr:last-child th,
.vs tbody tr:last-child td {
  border-bottom: 0;
}

/* Le prix, en clair */
.price-clear {
  padding: 72px 0 80px;
  background: var(--color-mist);
}

.price-clear__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 20px;
  max-width: 68rem;
  margin: 0 auto;
}

.price-clear__card {
  padding: 24px;
  border-radius: 16px;
  background: #0a0a0a;
  color: #fff;
}

.price-clear__card--perf {
  background: #8ec9f0;
  color: #0a1628;
}

.price-clear__card h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-style: italic;
  letter-spacing: 0;
}

.price-clear__card dl {
  margin: 0;
}

.price-clear__card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(127, 127, 127, 0.3);
}

.price-clear__card dt {
  font-size: 0.92rem;
  opacity: 0.85;
}

.price-clear__card dd {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  white-space: nowrap;
}

.price-clear__facts {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-clear__facts li {
  padding: 14px 16px 14px 44px;
  border-radius: 12px;
  background: #fff;
  font-size: 0.95rem;
  line-height: 1.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px 16px;
  background-size: 18px 18px;
}

/* Barre d'action en bas de l'écran, sur téléphone (page Forfaits) */
.sticky-cta {
  display: none;
}

@media screen and (max-width: 749px) {
  .sticky-cta:not([hidden]) {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--color-navy-dark);
    color: #fff;
    box-shadow: 0 -8px 24px rgba(6, 12, 28, 0.25);
  }

  .sticky-cta__text {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .sticky-cta__text strong {
    font-size: 1rem;
  }

  .sticky-cta__text span {
    color: rgba(255, 255, 255, 0.7);
  }

  .sticky-cta__button {
    padding: 12px 20px;
    border-radius: 30px;
    background: #fff;
    color: var(--color-navy-dark);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  /* le bouton WhatsApp remonte au-dessus de la barre */
  body:has(.sticky-cta:not([hidden])) .whatsapp-fab {
    bottom: 84px;
  }
}

@media screen and (max-width: 989px) {
  .price-clear__grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-clear__facts {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 640px) {
  .price-clear__grid {
    grid-template-columns: 1fr;
  }

  .profiles-section,
  .vs-section {
    padding: 56px 0;
  }

  .weeks-section,
  .price-clear {
    padding: 56px 0;
  }

  .week__day {
    grid-template-columns: 5.5rem 1fr;
    padding: 10px 16px;
  }

  /* Sur téléphone : une carte par critère, la réponse Run Progress mise en avant */
  .vs {
    background: none;
    box-shadow: none;
  }

  .vs table,
  .vs tbody,
  .vs tr,
  .vs th,
  .vs td {
    display: block;
    min-width: 0;
  }

  .vs thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .vs tbody tr {
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(11, 23, 50, 0.07);
  }

  .vs tbody th {
    padding: 14px 16px 8px;
    border: 0;
    font-weight: 700;
  }

  .vs td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
    border: 0;
    text-align: right;
  }

  .vs td::before {
    content: attr(data-label);
    color: rgba(11, 23, 50, 0.55);
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
  }

  .vs td:last-child {
    margin-top: 6px;
    padding: 12px 16px;
  }

  .vs td:last-child::before {
    color: rgba(255, 255, 255, 0.75);
  }

  .vs tbody tr:last-child th,
  .vs tbody tr:last-child td {
    border: 0;
  }
}

.quiz-section {
  padding-top: 80px;
  padding-bottom: 80px;
  scroll-margin-top: var(--header-height);
}

.quiz {
  max-width: 48rem;
  margin: 0 auto;
}

.quiz__question {
  margin: 0 0 18px;
  padding: 22px;
  border: 1px solid #e3e8f1;
  border-radius: 14px;
  background: #fff;
}

.quiz__legend {
  float: left;
  width: 100%;
  padding: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.quiz__index {
  margin-right: 8px;
  color: #1f63ad;
  font-variant-numeric: tabular-nums;
}

.quiz__answers {
  clear: both;
  display: grid;
  gap: 10px;
  padding-top: 14px;
}

.quiz__answer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #d5ddeb;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.quiz__answer:hover {
  border-color: var(--color-navy);
}

.quiz__answer input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--color-navy);
}

.quiz__answer:has(input:checked) {
  border-color: var(--color-navy);
  background: #eef3fc;
}

.quiz__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 8px;
}

.quiz__hint {
  margin: 0;
  color: #a3341a;
}

.quiz__hint[hidden],
.quiz__result[hidden] {
  display: none;
}

.quiz__result {
  margin-top: 28px;
  padding: 28px;
  border-radius: 16px;
  background: var(--color-navy);
  color: #fff;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.quiz__result:focus {
  outline: none;
}

.quiz__result-kicker {
  margin: 0 0 6px;
  color: var(--color-sky);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiz__result-title {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.quiz__result-text {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.quiz__result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quiz__result .button {
  background: #fff;
  color: var(--color-navy);
}

.quiz__result .button--outline-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.compare-section {
  padding-top: 72px;
  padding-bottom: 80px;
  background: var(--color-mist);
}

.compare {
  max-width: 56rem;
  margin: 0 auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 23, 50, 0.06);
}

.compare table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
}

.compare th,
.compare td {
  padding: 14px 18px;
  border-bottom: 1px solid #e3e8f1;
  text-align: center;
}

.compare tbody th {
  font-weight: 500;
  text-align: left;
}

.compare thead th {
  padding-top: 22px;
  padding-bottom: 18px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.compare thead th span {
  display: block;
  margin-top: 4px;
  color: rgba(11, 23, 50, 0.6);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
}

.compare thead th:last-child,
.compare td:last-child {
  background: #eef6fd;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

@media screen and (max-width: 640px) {
  .compare table {
    min-width: 0;
    font-size: 0.875rem;
  }

  .compare th,
  .compare td {
    padding: 11px 8px;
  }

  .compare tbody th {
    padding-left: 14px;
  }

  .compare thead th {
    font-size: 0.95rem;
    width: 26%;
  }

  .compare thead th:first-child {
    width: auto;
  }

  .compare thead th span {
    font-size: 0.75rem;
  }
}

.compare__yes {
  color: #1f9d55;
  font-size: 1.2rem;
  font-weight: 700;
}

.compare__no {
  color: rgba(11, 23, 50, 0.3);
}

.after-section {
  padding-top: 72px;
  padding-bottom: 80px;
  background: var(--color-navy);
  color: #fff;
}

.after {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.after__step {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.after__number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-sky);
  color: var(--color-navy-dark);
  font-weight: 800;
}

.after__title {
  margin: 14px 0 8px;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.after__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.55;
}

.after__cta {
  margin-top: 36px;
  text-align: center;
}

@media screen and (max-width: 989px) {
  .after {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 560px) {
  .after {
    grid-template-columns: 1fr;
  }
}

.page-faq {
  padding-top: 72px;
  padding-bottom: 80px;
}

/* Sur fond clair, les questions gardent leur style bleu marine */
.page-faq .rp-faq__list {
  max-width: 48rem;
}

/* ==========================================================================
   Contact : champ sujet, raccourcis
   ========================================================================== */
.field__input--select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1732' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 18px;
  cursor: pointer;
}

.contact-form__legal {
  margin: 0;
  color: rgba(11, 23, 50, 0.6);
  font-size: 0.85rem;
}

.contact-form__legal a {
  color: inherit;
}

.contact-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: calc(56rem + var(--page-margin) * 2);
  padding-bottom: 84px;
}

.contact-shortcut {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid #e3e8f1;
  border-radius: 14px;
  color: var(--color-foreground);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-shortcut:hover {
  border-color: var(--color-navy);
  transform: translateY(-2px);
}

.contact-shortcut svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  fill: var(--color-navy);
}

.contact-shortcut svg[fill="none"] {
  fill: none;
  stroke: var(--color-navy);
}

.contact-shortcut span {
  color: rgba(11, 23, 50, 0.65);
  font-size: 0.9rem;
}

.contact-shortcut strong {
  display: block;
  color: var(--color-foreground);
  font-size: 1rem;
}

@media screen and (max-width: 749px) {
  .contact-page {
    padding-bottom: 48px;
  }

  .contact-shortcuts {
    grid-template-columns: 1fr;
  }
}

.not-found__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.not-found__links a {
  color: var(--color-navy);
  font-weight: 600;
}

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer {
  background: #10224d;
  color: #fff;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px 48px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.site-footer__logo img {
  height: 56px;
  width: auto;
}

.site-footer__tagline {
  max-width: 22rem;
  margin: 16px 0 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-footer__social {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.site-footer__social a:hover {
  background: rgba(255, 255, 255, 0.12);
}



.site-footer__social svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.site-footer__heading {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
  padding-bottom: 20px;
  font-size: 0.75rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Logo Nolio sous la colonne Contact : rejoindre le groupe d'entraînement */
.site-footer__nolio {
  display: inline-flex;
  margin-top: 22px;
  line-height: 0;
}

.site-footer__nolio img {
  width: 96px;
  height: auto;
  transition: opacity 0.2s ease;
}

.site-footer__nolio:hover img {
  opacity: 0.8;
}

@media screen and (max-width: 749px) {
  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    padding-top: 36px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Pop-up newsletter + e-book offert
   ========================================================================== */
.rp-popup {
  --rp-navy: #162e66;
  --rp-navy-dark: #0d1b3e;
  --rp-accent: #e4572e;
  --rp-blue: #6fa8e8;
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: inherit;
}

.rp-popup.is-open {
  display: flex;
}

.rp-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 28, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: rp-fade 0.25s ease;
}

.rp-popup__box {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  overflow: auto;
  background: linear-gradient(135deg, var(--rp-navy-dark), var(--rp-navy));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  animation: rp-up 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.rp-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.rp-popup__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.rp-popup__visual {
  flex: 0 0 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  background: rgba(0, 0, 0, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px 0 0 16px;
}

.rp-popup__book {
  width: 100%;
  max-width: 190px;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.55));
  transform: rotate(-4deg);
}

.rp-popup__content {
  flex: 1;
  padding: 40px 36px;
}

.rp-popup__state[hidden] {
  display: none;
}

.rp-popup__badge {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 16px;
  background: rgba(228, 87, 46, 0.16);
  border: 1px solid rgba(228, 87, 46, 0.4);
  border-radius: 999px;
  color: var(--rp-accent);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rp-popup__badge--ok {
  background: rgba(62, 207, 110, 0.14);
  border-color: rgba(62, 207, 110, 0.4);
  color: #3ecf6e;
}

.rp-popup__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
}

.rp-popup__text {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
  line-height: 1.55;
}

.rp-popup__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.rp-popup__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.4;
}

.rp-popup__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rp-blue);
  font-weight: 700;
}

.rp-popup__label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rp-popup__row {
  display: flex;
  gap: 10px;
}

.rp-popup__input {
  flex: 1;
  min-width: 0;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  color: #fff;
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.rp-popup__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.rp-popup__input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--rp-blue);
}

.rp-popup__btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 13px 24px;
  /* orange du thème légèrement foncé pour un texte blanc lisible (contraste AA) */
  background: #c94820;
  border: none;
  border-radius: 9px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.rp-popup__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(228, 87, 46, 0.4);
}

.rp-popup__btn[disabled] {
  opacity: 0.65;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.rp-popup__error {
  margin: 10px 0 0;
  color: #ff9b7d;
  font-size: 13px;
}

.rp-popup__error[hidden] {
  display: none;
}

.rp-popup__error a {
  color: inherit;
}

.rp-popup__legal {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.45;
}

.rp-popup__legal a {
  color: inherit;
}

@keyframes rp-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rp-up {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  .rp-popup {
    padding: 14px;
  }

  .rp-popup__box {
    flex-direction: column;
  }

  .rp-popup__visual {
    flex: none;
    padding: 26px 20px 6px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px 16px 0 0;
  }

  .rp-popup__book {
    max-width: 120px;
  }

  .rp-popup__content {
    padding: 26px 22px 30px;
  }

  .rp-popup__title {
    font-size: 21px;
  }

  .rp-popup__row {
    flex-direction: column;
  }

  .rp-popup__btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   Impression (articles, plan 10 km, calculateur)
   ========================================================================== */
@media print {
  .site-header,
  .menu-drawer,
  .site-footer,
  .rp-popup,
  .skip-link,
  .post-share,
  .post-cta,
  .related-posts,
  .post-toc,
  .calc__form,
  .calc__share,
  .calc__cta,
  .calc-explain,
  .tools-more,
  .whatsapp-fab,
  .reading-progress,
  .track-side,
  .newsletter-band {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .post-hero,
  .blog-hero {
    padding: 0 0 12pt;
    background: none;
    color: #000;
  }

  .post-hero__lead,
  .post-hero__meta,
  .breadcrumb ol {
    color: #333;
  }

  .post-cover {
    margin-top: 0;
    max-width: 60%;
  }

  .post-cover img {
    box-shadow: none;
  }

  .rte a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: 400;
  }

  .rte table,
  .calc__table,
  .rte .callout {
    break-inside: avoid;
  }

  .calc__stat {
    border: 1px solid #000;
    background: none;
    color: #000;
  }

  .calc__stat-label {
    color: #333;
  }

  /* Tableau de marche : titre, chiffres et passages, sans le reste de la page */
  .template-page-outil .page-header {
    display: none;
  }

  .plan-print-title {
    display: block;
    margin: 0 0 10pt;
    font-family: var(--font-heading);
    font-size: 14pt;
    font-weight: 700;
  }

  .template-page-outil .calc {
    padding-top: 0;
  }

  .template-page-outil .calc__results {
    margin-top: 0;
  }

  .template-page-outil .calc__heading {
    margin-top: 14pt;
  }

  /* un long tableau peut continuer sur la feuille suivante, sans couper une ligne */
  .plan-table {
    break-inside: auto;
  }

  .plan-table tr {
    break-inside: avoid;
  }

  .plan-table th,
  .plan-table td {
    padding: 2.5pt 8pt;
  }

  .plan-table__finish th,
  .plan-table__finish td {
    border-top: 1.5pt solid #000;
    background: none;
    color: #000;
  }

  .plan-table small {
    border: 0.5pt solid #333;
    background: none;
    color: #000;
  }
}

/* ==========================================================================
   Calculateur de vitesse critique (onglets Course, Prédire, Trail)
   ========================================================================== */
.vc {
  max-width: calc(72rem + var(--page-margin) * 2);
  padding-top: 32px;
  padding-bottom: 48px;
}

.vc-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 24px;
  padding: 6px;
  border: 1px solid #e3e8f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(11, 23, 50, 0.04);
}

.vc-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(11, 23, 50, 0.72);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.vc-tab svg {
  width: 18px;
  height: 18px;
}

.vc-tab:hover {
  background: var(--color-mist);
  color: var(--color-foreground);
}

.vc-tab[aria-selected="true"] {
  background: var(--color-navy-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(13, 27, 62, 0.2);
}

.vc-tab:focus-visible {
  outline: 2px solid var(--color-sky);
  outline-offset: 2px;
}

.vc-panel > * + * {
  margin-top: 24px;
}

.vc-card {
  padding: 28px;
  border: 1px solid #eef1f6;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(11, 23, 50, 0.05);
}

.vc-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
}

.vc-card__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.vc-card__head .vc-card__title {
  margin: 0;
}

.vc-card__title > svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.vc-card__title--small {
  font-size: 1.15rem;
}

.vc-card__text {
  margin: 0 0 16px;
  color: rgba(11, 23, 50, 0.72);
}

.vc-badge {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e8f1fd;
  color: #1f63ad;
}

.vc-badge svg {
  width: 20px;
  height: 20px;
}

.vc-badge--green {
  background: #e3f7ef;
  color: #0b7a55;
}

.vc-badge--blue {
  background: #e9edff;
  color: #4338ca;
}

.vc-badge--violet {
  background: #a855f7;
  color: #fff;
}

.vc-badge--plain {
  background: var(--color-mist);
  color: rgba(11, 23, 50, 0.7);
}

.vc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--color-mist);
  color: rgba(11, 23, 50, 0.75);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.vc-chip input,
.vc-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-navy);
}

/* Cartes de saisie */
.vc-entries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vc-entry {
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid #e6ebf3;
  border-radius: 20px;
  background: #fafbfd;
}

.vc-entry[hidden] {
  display: none;
}

.vc-entry__title {
  display: flex;
  float: left;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 14px;
  padding: 0;
  font-weight: 600;
}

.vc-entry__title + .vc-label {
  clear: both;
}

.vc-entry__title--caps {
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vc-entry__num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #e6ebf3;
  border-radius: 50%;
  background: #fff;
  color: rgba(11, 23, 50, 0.7);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
}

.vc-label {
  display: block;
  margin: 12px 0 6px;
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vc-entry .vc-label:first-of-type,
.vc-hill-group legend + .vc-label,
.vc-hill-group legend + .vc-two .vc-label {
  margin-top: 0;
}

.vc-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #dfe4ee;
  border-radius: 12px;
  background: #fff;
  color: var(--color-foreground);
  font: inherit;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vc-input:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(79, 168, 232, 0.25);
}

.vc-unit-field {
  position: relative;
  display: block;
}

.vc-unit-field .vc-input {
  padding-right: 64px;
}

.vc-unit {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  pointer-events: none;
}

.vc-empty {
  margin: 16px 0 0;
  padding: 16px;
  border: 1px dashed #d5dce8;
  border-radius: 16px;
  background: var(--color-mist);
  color: rgba(11, 23, 50, 0.72);
  text-align: center;
  font-size: 0.9rem;
}

.vc-empty[hidden],
[data-vc-course-results][hidden],
[data-vc-predict-chart][hidden] {
  display: none;
}

/* Résultats principaux */
[data-vc-course-results] {
  margin-top: 24px;
}

.vc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.vc-stat {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 26px;
  color: #fff;
  box-shadow: 0 14px 30px -12px var(--vc-shadow, rgba(0, 0, 0, 0.3));
}

.vc-stat::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(18px);
  pointer-events: none;
}

.vc-stat--orange {
  --vc-shadow: rgba(234, 88, 12, 0.5);
  background: linear-gradient(135deg, #f97316, #e11d48 130%);
}

.vc-stat--blue {
  --vc-shadow: rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.vc-stat--green {
  --vc-shadow: rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #059669, #0f766e);
}

.vc-stat--pink {
  --vc-shadow: rgba(225, 29, 72, 0.5);
  background: linear-gradient(135deg, #e11d48, #be185d);
}

.vc-stat p {
  margin: 0;
}

.vc-stat__label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.vc-stat__value {
  margin-top: 4px !important;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.vc-stat__value small {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
}

.vc-stat__pill {
  display: inline-block;
  margin-top: 8px !important;
  padding: 2px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.85rem;
  font-weight: 600;
}

.vc-stat__note {
  margin-top: 8px !important;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
}

.vc-analysis {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid #e3e8f1;
  border-radius: 18px;
  background: #f8fafc;
  font-size: 0.95rem;
}

.vc-analysis p {
  margin: 0;
}

.vc-analysis__icon svg {
  width: 20px;
  height: 20px;
  color: rgba(11, 23, 50, 0.72);
}

.vc-analysis__label {
  margin-bottom: 4px !important;
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Graphiques */
.vc-chart-box {
  margin: 24px 0 0;
  padding: 12px 8px 14px;
  border: 1px solid #eef1f6;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 36px -20px rgba(11, 23, 50, 0.25);
}

.vc-chart-box--flat {
  border-color: #eef1f6;
  background: #fafbfd;
  box-shadow: none;
}

.vc-chart {
  position: relative;
  min-height: 320px;
  touch-action: pan-y;
}

.vc-chart--profile {
  min-height: 288px;
}

.vc-svg {
  display: block;
  overflow: visible;
}

.vc-svg__grid {
  stroke: #e2e8f0;
  stroke-dasharray: 3 3;
}

.vc-svg__tick {
  fill: #64748b;
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.vc-svg__axis {
  fill: #94a3b8;
  font-size: 11px;
  font-weight: 600;
}

.vc-svg__marker {
  fill: #7c3aed;
  font-size: 10px;
  font-weight: 700;
}

.vc-svg__cursor {
  stroke: #94a3b8;
  stroke-width: 1;
}

.vc-tip {
  position: absolute;
  z-index: 2;
  min-width: 170px;
  max-width: 240px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 28px rgba(11, 23, 50, 0.14);
  font-size: 0.78rem;
  pointer-events: none;
}

.vc-tip[hidden] {
  display: none;
}

.vc-tip p {
  margin: 0;
}

.vc-tip__badge {
  display: inline-block;
  margin-bottom: 8px !important;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f5f0ff;
  color: #6d28d9;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vc-tip__heading {
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.vc-tip__title {
  margin-bottom: 6px !important;
  color: var(--color-foreground);
  font-size: 0.9rem;
  font-weight: 700;
}

.vc-tip__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px !important;
  color: rgba(11, 23, 50, 0.7);
}

.vc-tip__row strong {
  color: var(--color-foreground);
  white-space: nowrap;
}

.vc-tip__foot {
  margin-top: 8px !important;
  color: #94a3b8;
  font-size: 0.7rem;
}

.vc-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 6px;
  font-size: 0.85rem;
  color: rgba(11, 23, 50, 0.75);
}

.vc-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vc-legend__swatch {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top: 3px solid currentColor;
  border-radius: 2px;
}

.vc-legend__swatch--red { color: #ef4444; }
.vc-legend__swatch--violet { color: #a855f7; }
.vc-legend__swatch--violet-dash { color: #8b5cf6; border-top-style: dashed; }
.vc-legend__swatch--grey { color: #94a3b8; border-top-width: 2px; }
.vc-legend__swatch--blue { color: #3b82f6; }
.vc-legend__swatch--green { color: #22c55e; }

/* Tableaux */
.vc-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 36px 0 14px;
  font-size: 1.15rem;
}

.vc-section-title .vc-badge {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.vc-section-title .vc-badge svg {
  width: 17px;
  height: 17px;
}

.vc-table-wrap {
  border: 1px solid #e3e8f1;
  border-radius: 18px;
}

.vc-table-wrap[hidden] {
  display: none;
}

.vc-table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.vc-table--compact {
  min-width: 20rem;
  font-size: 0.85rem;
}

.vc-table--wide {
  min-width: 58rem;
}

.vc-table th,
.vc-table td {
  padding: 13px 18px;
  border-bottom: 1px solid #eef1f6;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.vc-table--compact th,
.vc-table--compact td {
  padding: 9px 14px;
}

.vc-table tbody tr:last-child > * {
  border-bottom: 0;
}

.vc-table thead th {
  background: #f8fafc;
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.vc-table tbody th {
  font-weight: 700;
  white-space: nowrap;
}

.vc-table td {
  color: rgba(11, 23, 50, 0.78);
  white-space: nowrap;
}

.vc-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.vc-table td.vc-pace {
  color: #1d5fbf;
  font-weight: 600;
}

.vc-table td.vc-violet {
  color: #7e22ce;
  font-weight: 600;
}

/* Zones */
.vc-zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vc-zones[hidden] {
  display: none;
}

.vc-zones--five {
  grid-template-columns: repeat(5, 1fr);
}

.vc-zone {
  padding: 14px 16px;
  border: 1px solid var(--vc-zone-border);
  border-radius: 16px;
  background: #fff;
}

.vc-zone p {
  margin: 0;
}

.vc-zone__name {
  color: var(--vc-zone);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vc-zone__range {
  margin-top: 4px !important;
  color: var(--vc-zone);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.vc-zone__pace {
  margin-top: 2px !important;
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.8rem;
  font-weight: 500;
}

.vc-zone--z1 { --vc-zone: #1d4ed8; --vc-zone-border: #dbeafe; }
.vc-zone--z2 { --vc-zone: #047857; --vc-zone-border: #d1fae5; }
.vc-zone--z3 { --vc-zone: #4d7c0f; --vc-zone-border: #ecfccb; }
.vc-zone--z4 { --vc-zone: #b45309; --vc-zone-border: #fef3c7; }
.vc-zone--z5 { --vc-zone: #b91c1c; --vc-zone-border: #fee2e2; }
.vc-zone--z6 { --vc-zone: #7e22ce; --vc-zone-border: #f3e8ff; }

.vc-subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 24px 0 12px;
}

.vc-subhead p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.vc-tag {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--color-mist);
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
}

.vc-tag[hidden] {
  display: none;
}

/* Blocs sombres (sprint, estimateur) */
.vc-dark {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  padding: 28px;
  border-radius: 36px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 24px 50px -24px rgba(15, 23, 42, 0.6);
}

.vc-dark::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 256px;
  height: 256px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  filter: blur(40px);
  pointer-events: none;
}

.vc-dark--green::before {
  background: rgba(16, 185, 129, 0.12);
}

.vc-dark > * {
  position: relative;
}

.vc-dark p {
  margin: 0;
}

.vc-dark__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.vc-dark__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 24px;
  background: rgba(30, 41, 59, 0.55);
}

.vc-dark__card--soft {
  gap: 0;
  background: rgba(30, 41, 59, 0.3);
}

.vc-dark__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.vc-dark__row--top {
  margin-bottom: 24px;
}

.vc-dark__title {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
}

.vc-dark__title--big {
  font-size: 1.5rem;
}

.vc-dark__sub {
  margin-top: 4px !important;
  color: #94a3b8;
  font-size: 0.82rem;
}

.vc-dark__reserve {
  text-align: right;
}

.vc-dark__reserve strong {
  display: block;
  color: #60a5fa;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
}

.vc-dark__reserve span,
.vc-dark__mono {
  color: #94a3b8;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vc-dark__mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.vc-dark__label {
  display: block;
  margin: 14px 0 8px;
  color: #cbd5e1;
  font-size: 0.8rem;
}

.vc-dark__label--big {
  margin-top: 0;
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vc-dark__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #334155;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
}

.vc-dark__input::placeholder {
  color: #94a3b8;
}

.vc-dark__input:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
}

.vc-dark__input--big {
  font-size: 1.2rem;
}

.vc-dark__help {
  margin-top: 8px !important;
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.5;
}

.vc-dark__badge {
  flex: none;
  padding: 4px 12px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.vc-dark__profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid #334155;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.8);
}

.vc-dark__profile[hidden] {
  display: none;
}

.vc-dark__kicker {
  margin-bottom: 6px !important;
  color: #60a5fa;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.vc-dark__big {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.vc-dark__text {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.vc-bar__labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 500;
}

.vc-bar__track {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #334155;
}

.vc-bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.vc-bar__fill--blue {
  background: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.vc-bar__fill--red {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* Prédire */
.vc-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #e2edfb;
  border-radius: 14px;
  background: #f3f8fe;
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.92rem;
  font-weight: 500;
}

.vc-note svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #3b82f6;
}

.vc-range {
  padding: 14px 16px 0;
}

.vc-range__labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.8rem;
  font-weight: 500;
}

.vc-range input {
  width: 100%;
  accent-color: #9333ea;
}

.vc-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid #e3e8f1;
  border-radius: 18px;
  background: #fff;
}

.vc-switch-row p {
  margin: 0;
}

.vc-switch-row__kicker {
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.vc-switch-row__text {
  font-size: 0.9rem;
  font-weight: 500;
}

.vc-switch {
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.vc-switch span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.vc-switch[aria-checked="true"] {
  background: #9333ea;
}

.vc-switch[aria-checked="true"] span {
  transform: translateX(20px);
}

.vc-switch:focus-visible,
.vc-toggle__button:focus-visible,
.vc-quick button:focus-visible {
  outline: 2px solid var(--color-sky);
  outline-offset: 2px;
}

.vc-toggle {
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid #eef1f6;
  border-radius: 18px;
  background: #fff;
}

.vc-toggle__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vc-toggle__title {
  margin: 0;
  color: rgba(11, 23, 50, 0.72);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vc-toggle__button {
  flex: none;
  padding: 4px 14px;
  border: 2px solid #ddd6fe;
  border-radius: 999px;
  background: #fff;
  color: #6d28d9;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.vc-toggle__button::before {
  content: "▸ ";
}

.vc-toggle__button[aria-expanded="true"]::before {
  content: "▾ ";
}

.vc-toggle--green .vc-toggle__button {
  border-color: #a7f3d0;
  color: #047857;
}

.vc-toggle__body {
  margin-top: 16px;
}

.vc-toggle__body[hidden] {
  display: none;
}

.vc-toggle__body .vc-empty {
  margin-top: 0;
}

.vc-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.vc-quick button {
  padding: 6px 12px;
  border: 1px solid #334155;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.6);
  color: #e2e8f0;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.vc-quick button:hover {
  border-color: #34d399;
}

.vc-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 26px;
  background: rgba(16, 185, 129, 0.1);
  text-align: center;
}

.vc-result [hidden] {
  display: none;
}

.vc-result__kicker {
  margin-bottom: 8px !important;
  color: #6ee7b7;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.vc-result__value {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.vc-result__value small {
  color: rgba(167, 243, 208, 0.75);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
}

.vc-result__pill {
  display: inline-block;
  margin-top: 10px !important;
  padding: 3px 12px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
}

.vc-result__time {
  margin-top: 10px !important;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.vc-result__empty {
  color: #94a3b8;
  font-size: 0.85rem;
  font-style: italic;
}

/* Trail */
.vc-intro-box {
  padding: 14px 18px;
  border: 1px solid #e3e8f1;
  border-radius: 18px;
  background: #f8fafc;
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.9rem;
}

.vc-intro-box p {
  margin: 0;
}

.vc-intro-box__title {
  color: var(--color-foreground);
  font-weight: 600;
}

.vc-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 32px 20px;
  border: 2px dashed #cbd5e1;
  border-radius: 18px;
  background: #fafbfd;
  color: rgba(11, 23, 50, 0.7);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.vc-drop:hover,
.vc-drop.is-over {
  border-color: var(--color-sky);
  background: #f3f8fe;
}

.vc-drop:focus-within {
  outline: 2px solid var(--color-sky);
  outline-offset: 2px;
}

.vc-drop__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.vc-drop__text {
  font-weight: 500;
}

.vc-drop__hint {
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.8rem;
}

.vc-drop__error,
.vc-drop__ok {
  margin: 12px 0 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.vc-drop__error {
  color: #b91c1c;
}

.vc-drop__ok {
  color: #047857;
}

.vc-drop__error[hidden],
.vc-drop__ok[hidden],
[data-out="gpx-results"][hidden],
[data-out="gpx-empty"][hidden],
[data-out="h-table-block"][hidden] {
  display: none;
}

.vc-figures {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 20px 0 0;
}

.vc-figures div {
  padding: 14px 10px;
  border: 1px solid #eef1f6;
  border-radius: 14px;
  background: #f8fafc;
  text-align: center;
}

.vc-figures dt {
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vc-figures dd {
  margin: 4px 0 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.vc-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.vc-list {
  padding: 16px;
  border: 1px solid #eef1f6;
  border-radius: 14px;
}

.vc-list__title {
  margin: 0 0 10px;
  color: rgba(11, 23, 50, 0.72);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vc-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vc-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f4f8;
  font-size: 0.88rem;
}

.vc-list li:last-child {
  border-bottom: 0;
}

.vc-list .vc-list__empty {
  color: rgba(11, 23, 50, 0.72);
}

.vc-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.vc-highlight {
  padding: 14px 16px;
  border: 1px solid;
  border-radius: 14px;
  font-size: 0.9rem;
}

.vc-highlight p {
  margin: 0;
}

.vc-highlight__title {
  margin-bottom: 4px !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vc-highlight--red {
  border-color: #fecaca;
  background: #fef2f2;
}

.vc-highlight--red .vc-highlight__title {
  color: #b91c1c;
}

.vc-highlight--blue {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.vc-highlight--blue .vc-highlight__title {
  color: #1d4ed8;
}

.vc-hill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.vc-hill-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.vc-hill-group legend {
  width: 100%;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e3e8f1;
  font-weight: 600;
}

.vc-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vc-two[hidden] {
  display: none;
}

.vc-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 4px;
  color: rgba(11, 23, 50, 0.7);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.vc-locomotor {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
  border-radius: 18px;
  background: #f8fafc;
  text-align: center;
}

.vc-locomotor p {
  margin: 0;
}

.vc-locomotor__kicker {
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vc-locomotor__badge {
  margin-top: 10px !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
}

.vc-locomotor__badge--force { background: #dcfce7; color: #166534; }
.vc-locomotor__badge--speed { background: #ffedd5; color: #9a3412; }
.vc-locomotor__badge--balanced { background: #dbeafe; color: #1e40af; }

.vc-locomotor__index {
  margin-top: 14px !important;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
}

.vc-locomotor__sub {
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.8rem;
}

.vc-locomotor__note {
  max-width: 28rem;
  margin-top: 14px !important;
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.75rem;
}

.vc-slope-vc {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #c9f0dc;
  border-radius: 14px;
  background: #f1fbf6;
  text-align: center;
}

.vc-slope-vc p {
  margin: 0;
}

.vc-slope-vc__kicker {
  margin-bottom: 6px !important;
  color: #047857;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.vc-subcard {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #eef1f6;
  border-radius: 18px;
}

.vc-subcard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 14px;
}

.vc-subcard__head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.vc-subcard__head span {
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.8rem;
}

.vc-credit {
  margin: 32px 0 0;
  color: rgba(11, 23, 50, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

.vc-credit a {
  color: inherit;
}

@media screen and (max-width: 989px) {
  .vc-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .vc-zones--five {
    grid-template-columns: repeat(3, 1fr);
  }

  .vc-figures {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 749px) {
  .vc-card {
    padding: 18px 14px;
    border-radius: 20px;
  }

  .vc-entry {
    padding: 16px;
  }

  .vc-dark__card {
    padding: 16px;
  }

  .vc-entries,
  .vc-zones,
  .vc-dark__grid,
  .vc-hill-grid,
  .vc-lists,
  .vc-highlights,
  .vc-dark__profile {
    grid-template-columns: 1fr;
  }

  .vc-zones--five {
    grid-template-columns: repeat(2, 1fr);
  }

  .vc-figures {
    grid-template-columns: repeat(2, 1fr);
  }

  .vc-dark {
    padding: 18px 12px;
    border-radius: 24px;
  }

  .vc-dark__row--top {
    flex-direction: column;
  }

  .vc-result__value {
    font-size: 2.5rem;
  }

  .vc-tab {
    flex-direction: column;
    gap: 4px;
    padding: 10px 6px;
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 420px) {
  .vc-stats {
    grid-template-columns: 1fr;
  }
}

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