  :root {
    --asphalte: #1E262B;
    --craie: #F2F4F3;
    --blanc: #FFFFFF;
    --rouge: #C92E20;
    --rouge-vif: #E8432F;
    --acier: #5D6A72;
    --trait: #D5DBDE;
    --titre: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
    --texte: "Barlow", "Helvetica Neue", Arial, sans-serif;
  }

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

  html { scroll-behavior: smooth; }

  body {
    margin: 0;
    background: var(--craie);
    color: var(--asphalte);
    font-family: var(--texte);
    
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }

  a:focus-visible, .btn:focus-visible {
    outline: 3px solid var(--rouge-vif);
    outline-offset: 3px;
  }

  h1, h2, h3 {
    font-family: var(--titre);
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.005em;
  }

  p { margin: 0 0 1em; max-width: 62ch; }

  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    overflow: hidden;
    background: var(--asphalte);
    color: var(--craie);
    padding: clamp(56px, 10vw, 128px) 0 clamp(56px, 9vw, 112px);
  }

  .hero .wrap { position: relative; z-index: 1; }

    .hero h1 {
      font-size: clamp(2.85rem, 8.5vw, 5.75rem);
      line-height: 0.95;
      max-width: 10ch;
      margin-bottom: 0.35em;
    }

  .hero .sous-titre {
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    max-width: 30ch;
    margin-bottom: 1.6em;
  }

  .hero-actions { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }

  .ring {
    position: absolute;
    top: 50%;
    right: -18vw;
    width: min(86vw, 900px);
    height: auto;
    transform: translateY(-50%);
    animation: tour 2.2s cubic-bezier(.2, .7, .2, 1) both;
  }

  @keyframes tour {
    from { transform: translateY(-50%) rotate(-32deg); }
    to   { transform: translateY(-50%) rotate(0deg); }
  }

  @media (prefers-reduced-motion: reduce) {
    .ring { animation: none; }
    html { scroll-behavior: auto; }
  }

  /* ---------- Boutons et liens ---------- */
  .btn {
    display: inline-block;
    background: var(--rouge);
    color: var(--blanc);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.8em 1.4em;
    border-radius: 3px;
    text-decoration: none;
  }
  .btn:hover { background: #A9251A; }

  .lien-clair {
    color: var(--craie);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
  }
  .lien-clair:hover { text-decoration-color: var(--rouge-vif); color:var(--rouge-vif);  }

  /* ---------- Principe ---------- */
  .principe { padding: clamp(56px, 8vw, 104px) 0; }

  .principe .wrap {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px 64px;
  }

  .principe h2 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1;
  }

  .principe h3 { font-size: 1.6rem; margin-bottom: 0.15em; }
  .principe .point + .point { margin-top: 1.75em; }
  .principe .point p { margin-bottom: 0; }

  /* ---------- Formations ---------- */
  .formations { padding: 0 0 clamp(56px, 8vw, 104px); }

  .formations > .wrap > h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1;
    margin-bottom: 0.4em;
  }

  .formations .intro { margin-bottom: 2.25rem; }

  /* Carrousel : une carte visible, défilement horizontal au doigt/molette,
     navigation par flèches et par points. */
  .carrousel { position: relative; }

  .carrousel { overflow: hidden; }

  .piste {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .piste::-webkit-scrollbar { display: none; }

  .niveau {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    background: var(--blanc);
    border: 1px solid var(--trait);
    border-radius: 16px;
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-width: 0;
  }

  .carrousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 24px;
  }

  .fleche {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--trait);
    background: var(--blanc);
    color: var(--asphalte);
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
  }
  .fleche:hover { border-color: var(--asphalte); }
  .fleche:disabled { opacity: 0.35; cursor: default; }
  .fleche:disabled:hover { border-color: var(--trait); }
  .fleche svg { width: 20px; height: 20px; }

  .points { display: flex; gap: 10px; }

  .point-nav {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--trait);
    cursor: pointer;
  }
  .point-nav[aria-current="true"] { background: var(--rouge); }

  .niveau-info {
    padding: 32px;
    border-right: 1px solid var(--trait);
  }

  .niveau-prog { padding: 32px; }

  .jauge { display: flex; gap: 10px; margin-bottom: 24px; }
  .jauge .point-nav { width: 12px; height: 12px; }

  .niveau h3 { font-size: 2.75rem; line-height: 1; margin-bottom: 0.3em; }

  .niveau .pour-qui { color: var(--acier); margin-bottom: 1.4em; }

  .facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 20px;
    margin: 0 0 1.2em;
  }
  .facts dt { color: var(--acier); }
  .facts dd { margin: 0; font-weight: 600; }

  .niveau .note { color: var(--acier); font-size: 0.95rem; margin-bottom: 1.4em; }

  .niveau-prog h4 { font-size: 1.15rem; font-weight: 600; margin: 0 0 0.6em; }

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

  .checklist li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid var(--trait);
  }
  .checklist li:first-child { border-top: 1px solid var(--trait); }

  .checklist li::before {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    border: 2px solid var(--asphalte);
    border-radius: 2px;
    transform: translateY(2px);
  }

  .checklist .quoi { flex: 1; }
  .checklist .duree {
    color: var(--acier);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  .checklist li.pause { color: var(--acier); }
  .checklist li.pause::before { border-style: dashed; border-color: var(--acier); }

  .niveau-prog .note { margin-top: 0.9em; margin-bottom: 0; }

  .repart {
    margin-top: 1.6em;
    padding-left: 16px;
    border-left: 4px solid var(--rouge-vif);
  }
  .repart h4 { margin-bottom: 0.2em; }
  .repart p { margin: 0; }

  /* ---------- Infos pratiques ---------- */
  .pratique {
    background: var(--blanc);
    border-top: 1px solid var(--trait);
    border-bottom: 1px solid var(--trait);
    padding: clamp(40px, 6vw, 72px) 0;
  }

  .pratique .wrap {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 32px 64px;
  }

  .pratique h2 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1; }
  .pratique h3 { font-size: 1.5rem; margin-bottom: 0.15em; }
  .pratique .point + .point { margin-top: 1.4em; }
  .pratique .point p { margin-bottom: 0; }

  /* ---------- Réservation ---------- */
  .reservation { padding: clamp(56px, 8vw, 96px) 0; }
  .reservation h2 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1; margin-bottom: 0.4em; }
  .reservation p { margin-bottom: 1.4em; }

  footer {
    background: var(--asphalte);
    color: var(--craie);
    padding: 28px 0;
    font-size: 0.95rem;
  }
  footer p { margin: 0; max-width: none; }

  /* ---------- Mobile ---------- */
  @media (max-width: 860px) {
    .principe .wrap, .pratique .wrap { grid-template-columns: 1fr; }
    .niveau { grid-template-columns: 1fr; }
    .niveau-info { border-right: 0; border-bottom: 1px solid var(--trait); padding: 24px; }
    .niveau-prog { padding: 24px; }
    .ring { right: -40vw; width: 110vw; opacity: 0.7; }
  }