.home-hero {
  clip-path: none;
  border-bottom: 1px solid #c6dbef;
  background:
    radial-gradient(ellipse at 22% 38%, #f8fbff 0%, transparent 66%),
    linear-gradient(147deg, #e8f1fc 12%, #e0edfb 52%, #a4c7eb 100%);
}
.home-hero::before, .home-hero::after { content: none; }
/* Ruban réel avec transparence intégrée : aucun raccord rectangulaire.
   Le dégradé de l'image se fond dans le fond natif du hero. */
.home-ribbon {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto auto;
  width: min(65%, 990px);
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 47%;
  pointer-events: none;
}
/* Accueil seulement : même axe gauche pour hero et modules ;
   plus de plafond à 1376px qui laisse un vide latéral sur grands écrans. */
.home-edition,
.paths-section > .path-layout {
  width: calc(100% - var(--gutter) - var(--gutter));
  max-width: none;
  margin-inline: auto;
}
.home-edition {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(400px, 33vw, 495px);
  padding-block: clamp(38px, 3.8vw, 56px);
}
.home-edition .hero-copy { width: min(61%, 850px); }
.home-edition .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: .12em;
}
.home-edition .eyebrow::before {
  width: 31px;
  height: 3px;
  flex: none;
  border-radius: 2px;
  background: var(--blue);
  content: "";
}
.home-edition h1 {
  margin-top: 22px;
  font-size: clamp(40px, 3.8vw, 58px);
  line-height: 1.07;
}
.home-title-line { display: block; }
.home-edition .lead {
  max-width: 50ch;
  margin-top: 19px;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.46;
}
.home-edition .actions { margin-top: clamp(23px, 2.2vw, 34px); }
.home-edition .actions .button {
  min-height: 50px;
  padding: 10px 19px;
  font-size: 16px;
}

.paths-section {
  padding-block: clamp(28px, 2.4vw, 38px) clamp(40px, 3.6vw, 56px);
  background: linear-gradient(150deg, #f6f9fd 10%, #edf4fc 63%, #dfedfb);
}
.paths-section::before {
  background: linear-gradient(122deg, #eef5fd 55%, #c5dff8);
  clip-path: polygon(100% 0, 100% 100%, 52% 100%);
}
.paths-section .path-layout { gap: clamp(19px, 1.85vw, 28px); }
.paths-section .paths {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 1.3vw, 20px);
}
.paths-section .section-heading h2 { font-size: clamp(28px, 2.6vw, 39px); }
.paths-section .section-heading h2::before {
  display: block;
  width: 56px;
  height: 4px;
  margin-bottom: 11px;
  border-radius: 3px;
  background: var(--blue);
  content: "";
}
.paths-section .path {
  --fold: #afcff1;
  min-height: 264px;
  padding: clamp(22px, 1.85vw, 29px) clamp(22px, 2.2vw, 34px);
  border-color: #bcd6f2;
  border-radius: 16px;
  background: linear-gradient(140deg, #fbfcff 18%, #eff5fc 59%, #dceafb);
  box-shadow: 0 14px 32px -16px #244f844d;
}
.paths-section .path::before {
  width: 24%;
  height: 43%;
  background: linear-gradient(140deg, var(--fold) 18%, transparent 98%);
  clip-path: polygon(75% 0, 100% 0, 100% 100%, 0 40%);
}
.paths-section .path-dark {
  --fold: #3576bb;
  border-color: #1b4574;
  background: linear-gradient(145deg, #183f69 0%, #0e2d53 56%, #071d3c 100%);
  box-shadow: 0 18px 34px -18px #0b2a5666;
}
.paths-section .path .label { gap: 9px; margin-bottom: 11px; }
.paths-section .path .label::before { content: none; }
.module-emblem { position: relative; width: 25px; height: 19px; flex: none; }
.module-emblem::before {
  position: absolute;
  inset: 0 0 2px;
  background: currentColor;
  clip-path: polygon(evenodd,
    0 37%, 50% 4%, 100% 37%, 50% 70%, 0 37%,
    12% 37%, 50% 61%, 88% 37%, 50% 13%, 12% 37%);
  content: "";
}
.module-emblem::after {
  position: absolute;
  inset: auto 6px 2px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 55% 55%;
  content: "";
}
.paths-section .path h3 { font-size: clamp(23px, 2.08vw, 30px); }
.paths-section .path p:not(.label) {
  padding-bottom: 22px;
  font-size: 17px;
  line-height: 1.49;
}
.paths-section .path .button {
  min-height: 47px;
  padding: 10px 17px;
  font-size: 15px;
}
.paths-section .path-dark .button { background: #f3f8ff; }
.paths-section .path-dark .button:hover { background: #dcecff; }

@media (max-width: 900px) {
  .home-edition .hero-copy { width: clamp(480px, 70%, 530px); }
  .home-ribbon { width: 67%; }
  .paths-section .paths { grid-template-columns: minmax(0, 1fr); }
  .paths-section .path { min-height: 0; }
}
@media (760px < width < 1024px) {
  .home-edition .lead { max-width: min(50ch, 42vw); }
}
@media (min-width: 1024px) {
  .home-edition .lead {
    max-width: min(72ch, calc(45vw + 40px));
    text-wrap: balance;
  }
}
@media (max-width: 760px) {
  .paths-section .paths { grid-template-columns: minmax(0, 1fr); }
  .paths-section .path { min-height: 0; }
  .paths-section .path p:not(.label) { font-size: 16px; }
  .home-edition { min-height: 0; padding-block: 31px 87px; }
  .home-edition .hero-copy { width: min(100%, 550px); }
  .home-edition .eyebrow { gap: 9px; font-size: 12px; letter-spacing: .095em; }
  .home-edition .eyebrow::before { width: 20px; }
  .home-edition h1 { margin-top: 17px; font-size: clamp(32px, 6vw, 40px); }
  .home-title-line { display: inline; }
  .home-edition .lead { margin-top: 13px; font-size: 16px; }
  .home-edition .actions { margin-top: 19px; }
  .home-edition .actions .button { font-size: 15px; }
  .home-ribbon {
    inset: auto 0 0 auto;
    width: min(86%, 480px);
    height: 96px;
    object-fit: cover;
    object-position: right 68%;
  }
}
@media (max-width: 465px) {
  .home-edition .actions { display: grid; grid-template-columns: minmax(0, 1fr); }
}


.proof-stage {
  background: radial-gradient(ellipse at 75% 16%, #dcecff, #f1f7fd 47%, #e9f2fd 100%);
  border-block: 1px solid #d0e1f6;
}
.proof-layout { align-items: start; column-gap: clamp(24px, 4.6vw, 70px); row-gap: 18px; }
.proof-copy { grid-column: 1 / 6; }
.proof-copy h2 { max-width: 20ch; }
.proof-copy p:not(.eyebrow) { margin-top: 12px; }
.proof-steps {
  grid-column: 1 / 6;
  grid-row: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: preuve;
}
.proof-steps li {
  position: relative;
  counter-increment: preuve;
  padding: 17px 0 19px 48px;
  border-top: 1px solid #b9cfe9;
}
.proof-steps li::before {
  position: absolute;
  top: 15px;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #bfd6f0;
  border-radius: 7px;
  background: #f7fbff;
  color: var(--link);
  content: counter(preuve, decimal-leading-zero);
  font-size: 13px;
  font-weight: 600;
}
.proof-steps h3 { font-size: clamp(20px, 2vw, 26px); }
.proof-steps p { max-width: 44ch; margin-top: 8px; }
.proof-steps .proof-step-label {
  margin: 0 0 6px;
  color: var(--link);
  font-size: 13px;
  font-weight: 600;
}
.proof-steps a { color: var(--link); }

.proof-figure {
  position: relative;
  grid-column: 6 / -1;
  grid-row: 1 / span 2;
  align-self: start;
  isolation: isolate;
  padding: clamp(16px, 2.45vw, 32px);
  border: 1px solid #2f577d;
  border-radius: 17px;
  background: linear-gradient(143deg, #204e7f, #0d294d 69%, #0a2345);
  box-shadow: 0 18px 42px #0d31562b;
}
.proof-figure::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background:
    repeating-linear-gradient(90deg, #abd1ff13 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, #abd1ff13 0 1px, transparent 1px 24px);
  mask-image: linear-gradient(160deg, #0009, transparent 85%);
  content: "";
  pointer-events: none;
}
.proof-progress { display: none; }
.proof-work { display: grid; gap: 12px; align-items: stretch; position: relative; }
.proof-view {
  min-width: 0;
  padding: clamp(16px, 2.3vw, 32px);
  border: 1px solid #cdd9e5;
  border-radius: 5px 10px 10px 6px;
  color: var(--navy);
  background: #f8fbff;
  box-shadow: 0 10px 22px #071d3b5e;
}
.proof-view {display:flex;flex-direction:column;justify-content:center;overflow:hidden;padding:0;background:#fff;border:1px solid #cbd8e6}
.proof-work {align-items:stretch}
.brief-sheet {padding:clamp(16px,2.1vw,30px);background:linear-gradient(115deg,#fff 65%,#eff6fc);height:100%}
.brief-kicker {color:var(--link);font-size:13px;font-weight:600}
.brief-title {margin:7px 0 17px;color:var(--navy);max-width:22ch;font-size:clamp(21px,2.1vw,30px);line-height:1.14;letter-spacing:-.025em;font-weight:600}
.brief-sheet dl {margin:0}
.brief-sheet dl div {display:grid;grid-template-columns:7.5em 1fr;gap:12px;padding:9px 0;border-top:1px solid #d3dfeb;font-size:15px;line-height:1.38}
.brief-sheet dt {color:#49617d}
.brief-sheet dd {margin:0}
.proof-shot {display:block;width:100%;height:clamp(224px,20vw,296px);object-fit:contain;object-position:center;background:#f3f6fa}
.proof-pdf {object-fit:cover;object-position:center 36%}
.model-fields {
  display: grid;
  align-content: center;
  flex: 1;
  padding: 12px;
  background: #fafcff;
}
.model-fields img { display: block; width: 100%; height: auto; }
.field-model { display: none; }
@media (max-width: 1000px) {
  /* Two details from the same source, kept at a readable scale on narrow displays. */
  .model-fields { justify-items: center; gap: 6px; }
  .field-title, .field-model { width: min(100%, 350px); overflow: hidden; }
  .field-title { aspect-ratio: 420 / 100; }
  .field-model { display: block; aspect-ratio: 420 / 94; }
  .model-fields img { width: 204.52%; max-width: none; }
  .field-model img { transform: translate(-50.5%, -49%); }
}
.plate-legend {padding:9px 14px;color:#2b4a6f;border-top:1px solid #d0deea;font-size:13px}
.document-access {grid-row:3;grid-column:1 / 6}
@media(max-width:760px){
 .proof-layout .document-access {grid-row:4}
 .brief-title {margin-bottom:13px}
 .brief-sheet dl div {font-size:14px;padding:7px 0;grid-template-columns:6.5em 1fr}
 .proof-view {padding:0!important}
 .proof-shot {height:195px}
}


.proof-figure figcaption { margin-top: 11px; color: #d4e9ff; font-size: 13px; text-align: right; }

@media (min-width: 761px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  [data-proof-active] .proof-figure {
    position: sticky;
    z-index: 1;
    top: calc(var(--header) + 24px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-proof-active] .proof-steps li {
    min-height: clamp(172px, 19.5vh, 225px);
  }
  [data-proof-active] .proof-steps li::before { transition: background-color 280ms ease, color 280ms ease; }
  [data-proof-active=notes] [data-proof-step=notes]::before,
  [data-proof-active=consigne] [data-proof-step=consigne]::before,
  [data-proof-active=resultat] [data-proof-step=resultat]::before {
    border-color: var(--blue);
    background: var(--blue);
    color: white;
  }
  [data-proof-active] .proof-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    margin-bottom: 15px;
    color: #d6e6fb;
    font-size: 13px;
  }
  .proof-progress::before, .proof-progress::after {
    position: absolute;
    inset: 4px 16.667% auto;
    height: 2px;
    background: #7698bc;
    content: "";
  }
  .proof-progress::after {
    background: #99d0ff;
    transform: scaleX(var(--proof-progress, 0));
    transform-origin: left;
  }
  .proof-progress button {
    position: relative;
    z-index: 1;
    padding-top: 14px;
    text-align: center;
    font-weight: 600;
    transition: color 280ms ease;
  }
  .proof-progress button::before {
    position: absolute;
    inset: 0 auto auto calc(50% - 5px);
    width: 10px;
    height: 10px;
    border: 2px solid #9ab9dc;
    border-radius: 50%;
    background: #173f6b;
    content: "";
    transition: background-color 280ms ease, transform 280ms ease;
  }
  [data-proof-active=notes] .proof-progress button:nth-child(1),
  [data-proof-active=consigne] .proof-progress button:nth-child(2),
  [data-proof-active=resultat] .proof-progress button:nth-child(3) {
    color: white;
  }
  [data-proof-active=notes] .proof-progress button:nth-child(1)::before,
  [data-proof-active=consigne] .proof-progress button:nth-child(2)::before,
  [data-proof-active=resultat] .proof-progress button:nth-child(3)::before {
    background: #c1e2ff;
    transform: scale(1.16);
  }
  [data-proof-active] .proof-view {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translate(var(--proof-translate-x, 0), 12px) scale(.98);
    pointer-events: none;
    transition: opacity 240ms ease, transform 350ms cubic-bezier(.22,.75,.26,1);
  }
  [data-proof-active=notes] [data-proof-view=notes],
  [data-proof-active=consigne] [data-proof-view=consigne],
  [data-proof-active=resultat] [data-proof-view=resultat] {
    opacity: 1;
    transform: none;
    transition: opacity 420ms 70ms ease, transform 490ms 70ms cubic-bezier(.22,.75,.26,1);
  }
}

@media (max-width: 760px) {
  .proof-layout .proof-steps { grid-row: auto; }
  .proof-layout .proof-figure { grid-row: auto; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  [data-proof-active] .proof-layout .proof-figure { grid-row: 2; }
  [data-proof-active] .proof-layout .proof-steps { grid-row: 3; }
  [data-proof-active] .proof-steps li { min-height: 163px; }
  .proof-figure { padding: 13px; }
}


/* ALVYNO Accueil — V3 : grille commune et finition du démonstrateur.
   Exclusivement sur l'Accueil : aucun effet sur Formations, Accompagnement, Contact.
   Les propriétés animées / le script des étapes restent intacts. */
.home-premium-page {
  --home-content-width: 1680px;
}
.home-premium-page .masthead-inner,
.home-premium-page .home-edition,
.home-premium-page .paths-section > .path-layout,
.home-premium-page .proof-stage > .proof-layout,
.home-premium-page .home-orientation > .orientation-layout,
.home-premium-page .footer-inner {
  width: min(calc(100% - 2 * var(--gutter)), var(--home-content-width));
  max-width: none;
  margin-inline: auto;
}

/* Un même axe de composition pour la promesse, les modules et la preuve.
   La présentation occupe la largeur, la progression reste reliée à l'aperçu. */
.home-premium-page .proof-stage {
  border-top: 1px solid #cadef2;
  background: linear-gradient(180deg, #e6f1fd 0%, #f0f7ff 33%, #e6f2ff 100%);
}
.home-premium-page .proof-layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  column-gap: clamp(28px, 4.5vw, 76px);
  row-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.home-premium-page .proof-copy {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  column-gap: clamp(28px, 5vw, 92px);
  align-items: end;
}
.home-premium-page .proof-copy .eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 10px;
}
.home-premium-page .proof-copy h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: none;
  font-size: clamp(30px, 2.45vw, 40px);
  line-height: 1.14;
}
.home-premium-page .proof-copy > p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / 3;
  max-width: 54ch;
  margin: 0 0 3px;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.5;
}
.home-premium-page .proof-steps {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}
.home-premium-page .proof-steps li {
  padding-block: 13px 15px;
}
.home-premium-page .proof-steps h3 {
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.2;
}
.home-premium-page .proof-steps p:not(.proof-step-label) {
  max-width: 57ch;
  margin-top: 6px;
  font-size: clamp(14px, 1.04vw, 16px);
  line-height: 1.47;
}
.home-premium-page .proof-steps .proof-step-label { margin-bottom: 4px; }
.home-premium-page .document-access {
  grid-column: 2;
  grid-row: 3;
  min-width: 0;
  justify-self: end;
  margin-top: 0;
}
.home-premium-page .proof-figure {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  max-width: none;
  min-width: 0;
  justify-self: stretch;
  padding: clamp(18px, 2vw, 30px);
}

/* Le premier état présente une logique de création, pas un tableau de saisie. */
.home-premium-page .brief-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(290px, 23vw, 355px);
  padding: clamp(22px, 2.4vw, 38px);
  background: linear-gradient(135deg, #ffffff 12%, #f9fcff 64%, #edf6ff);
}
.home-premium-page .brief-sheet::before {
  display: block;
  width: 54px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 3px;
  background: var(--blue);
  content: "";
}
.home-premium-page .brief-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.home-premium-page .brief-title {
  max-width: none;
  margin: 9px 0 clamp(20px, 2.6vw, 35px);
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1.16;
}
.home-premium-page .brief-sheet dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  margin-top: auto;
}
.home-premium-page .brief-sheet dl div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  padding: clamp(13px, 1.2vw, 20px);
  border: 1px solid #d5e5f6;
  border-radius: 9px;
  background: #f1f7fe;
}
.home-premium-page .brief-sheet dt {
  color: var(--link);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.home-premium-page .brief-sheet dd {
  margin: 0;
  color: var(--navy);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 600;
  line-height: 1.4;
}
.home-premium-page .proof-figure figcaption {
  margin-top: 12px;
  color: #dbeaff;
  text-align: left;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .home-premium-page .proof-layout { column-gap: 27px; }
  .home-premium-page .proof-copy { column-gap: 24px; }
  .home-premium-page .proof-copy h2 { font-size: clamp(29px, 3vw, 33px); }
  .home-premium-page .brief-sheet { padding: 19px; }
  .home-premium-page .brief-sheet dl { grid-template-columns: 1fr; gap: 6px; }
  .home-premium-page .brief-sheet dl div { padding: 8px 12px; gap: 2px; }
  .home-premium-page .brief-title { margin-bottom: 15px; font-size: 23px; }
  .home-premium-page .proof-figure { padding: 16px; }
}
@media (max-width: 760px) {
  .home-premium-page .proof-layout { grid-template-columns: minmax(0, 1fr); }
  .home-premium-page .proof-copy,
  .home-premium-page .proof-steps,
  .home-premium-page .proof-figure,
  .home-premium-page .document-access { grid-column: 1; }
  .home-premium-page .proof-copy {
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .home-premium-page .proof-copy .eyebrow { grid-row: 1; }
  .home-premium-page .proof-copy h2 { grid-row: 2; font-size: clamp(26px, 6.8vw, 33px); }
  .home-premium-page .proof-copy > p:not(.eyebrow) {
    grid-column: 1;
    grid-row: 3;
    margin-top: 11px;
    font-size: 15px;
  }
  .home-premium-page .proof-figure { grid-row: 2; }
  .home-premium-page .proof-steps { grid-row: 3; }
  .home-premium-page .document-access { grid-row: 4; justify-self: start; }
  .home-premium-page .brief-sheet { min-height: 250px; padding: 19px; }
  .home-premium-page .brief-sheet dl { grid-template-columns: 1fr; gap: 7px; }
  .home-premium-page .brief-sheet dl div { gap: 3px; padding: 9px 12px; }
  .home-premium-page .brief-title { margin: 7px 0 16px; font-size: 24px; }
}

/* Garder intégralement visible la capture du PDF, même en tablette. */
.home-premium-page .proof-pdf { object-fit: contain; object-position: center; background: #fff; }


/* V5 — finition de la démonstration, sans modifier l'Accueil ni les autres pages. */
/* L'introduction revient sous son titre, sur un même axe éditorial. */
.home-premium-page .proof-copy {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  max-width: 1140px;
}
.home-premium-page .proof-copy .eyebrow { grid-column: 1; grid-row: 1; }
.home-premium-page .proof-copy h2 { grid-column: 1; grid-row: 2; }
.home-premium-page .proof-copy > p:not(.eyebrow) {
  grid-column: 1;
  grid-row: 3;
  max-width: 75ch;
  margin: 12px 0 0;
}

/* Chaque étape est sélectionnable au clic, au clavier ou depuis les repères de l'aperçu. */
.home-premium-page [data-proof-active] .proof-steps li {
  min-height: 0;
  padding-block: 18px 21px;
  cursor: pointer;
}
.home-premium-page .proof-step-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 2px 2px 2px 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  cursor: pointer;
}
.home-premium-page .proof-step-trigger:disabled { cursor: default; }
.home-premium-page .proof-step-trigger:not(:disabled):hover { color: var(--link); }
.home-premium-page .proof-step-trigger[aria-pressed="true"] { color: var(--navy); }
.home-premium-page .proof-step-chevron {
  flex: none;
  color: var(--link);
  font-family: Arial, sans-serif;
  font-size: 29px;
  font-weight: 400;
  line-height: .7;
  opacity: .56;
  transition: transform 200ms ease, opacity 200ms ease;
}
.home-premium-page .proof-step-trigger[aria-pressed="true"] .proof-step-chevron {
  transform: translateX(3px);
  opacity: 1;
}
.home-premium-page .proof-steps li[aria-current="step"]::before {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

/* La progression affiche de vrais boutons : plus de défilement automatique. */
.home-premium-page [data-proof-active] .proof-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 15px;
  color: #d6e6fb;
  font-size: 13px;
}
.home-premium-page .proof-progress button {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 43px;
  padding: 15px 6px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 180ms ease;
}
.home-premium-page .proof-progress button::before {
  position: absolute;
  inset: 0 auto auto calc(50% - 5px);
  width: 10px;
  height: 10px;
  border: 2px solid #9ab9dc;
  border-radius: 50%;
  background: #173f6b;
  content: "";
}
.home-premium-page .proof-progress button:disabled { cursor: default; }
.home-premium-page .proof-progress button:hover:not(:disabled),
.home-premium-page .proof-progress button[aria-pressed="true"] { color: white; }
.home-premium-page .proof-progress button[aria-pressed="true"]::before {
  background: #c1e2ff;
  transform: scale(1.16);
}
.home-premium-page .proof-progress::before,
.home-premium-page .proof-progress::after {
  position: absolute;
  inset: 4px 16.667% auto;
  height: 2px;
  content: "";
  background: #7698bc;
  pointer-events: none;
}
.home-premium-page .proof-progress::after {
  background: #99d0ff;
  transform: scaleX(var(--proof-progress, 0));
  transform-origin: left;
}

/* Affichage d'un seul aperçu après initialisation, quelle que soit la préférence de mouvement. */
.home-premium-page [data-proof-active] .proof-work > .proof-view {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 240ms ease, transform 260ms ease, visibility 0s 260ms;
}
.home-premium-page [data-proof-active="notes"] .proof-view[data-proof-view="notes"],
.home-premium-page [data-proof-active="consigne"] .proof-view[data-proof-view="consigne"],
.home-premium-page [data-proof-active="resultat"] .proof-view[data-proof-view="resultat"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity 330ms ease, transform 360ms ease, visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
  .home-premium-page [data-proof-active] .proof-work > .proof-view,
  .home-premium-page .proof-step-chevron,
  .home-premium-page .proof-progress button { transition: none; transform: none; }
}


/* V6 — première référence client, après les trois modules.
   Sans image ni faux logo : seule la formation communiquée est mentionnée. */
.home-premium-page .client-reference {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid #d6e3f3;
  background: linear-gradient(125deg, #fff 0%, #fafcff 56%, #eff6ff 100%);
}
.home-premium-page .client-reference::before {
  position: absolute;
  z-index: -1;
  width: min(46vw, 650px);
  aspect-ratio: 1;
  right: -16%;
  top: -145%;
  border-radius: 50%;
  background: radial-gradient(circle, #b9d7f760, #b9d7f700 69%);
  content: "";
  pointer-events: none;
}
.home-premium-page .client-reference-inner {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: center;
  width: min(calc(100% - 2 * var(--gutter)), var(--home-content-width));
  margin-inline: auto;
  padding-block: clamp(44px, 5vw, 78px);
}
.home-premium-page .client-reference-intro { min-width: 0; }
.home-premium-page .client-reference-intro .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  font-size: 12px;
  letter-spacing: .11em;
}
.home-premium-page .client-reference-intro .eyebrow::before {
  width: 30px;
  height: 3px;
  flex: none;
  border-radius: 3px;
  background: var(--blue);
  content: "";
}
.home-premium-page .client-reference-intro h2 {
  max-width: 22ch;
  font-size: clamp(29px, 2.65vw, 42px);
  line-height: 1.12;
}
.home-premium-page .client-reference-intro > p:not(.eyebrow) {
  max-width: 48ch;
  margin-top: 14px;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
}
.home-premium-page .client-reference-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: clamp(230px, 19vw, 290px);
  padding: clamp(25px, 2.6vw, 41px);
  overflow: hidden;
  border: 1px solid #245187;
  border-radius: 17px;
  background: linear-gradient(125deg, #163e70 0%, #102d56 56%, #071e40 100%);
  color: #fff;
  box-shadow: 0 20px 42px -27px #0b335b75;
}
.home-premium-page .client-reference-card::before {
  position: absolute;
  inset: 0 0 auto auto;
  width: 37%;
  height: 64%;
  background: linear-gradient(132deg, #509de644, #2b71b71c 54%, transparent);
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 0);
  pointer-events: none;
  content: "";
}
.home-premium-page .client-reference-card::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #65b5ff, #0066ef);
  content: "";
}
.home-premium-page .client-reference-card-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.home-premium-page .client-reference-card-kicker {
  color: #c6e2ff;
  font-size: clamp(12px, .85vw, 14px);
  font-weight: 600;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.home-premium-page .client-reference-index {
  color: #afcceb;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.home-premium-page .client-reference-name {
  position: relative;
  max-width: 24ch;
  margin: auto 0;
  color: #fff;
  font-size: clamp(28px, 2.5vw, 41px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.17;
  text-wrap: balance;
}
.home-premium-page .client-reference-card-foot {
  position: relative;
  padding-top: 14px;
  border-top: 1px solid #b5d3ed55;
  color: #d3e5fa;
  font-size: 14px;
  line-height: 1.3;
}
@media (max-width: 760px) {
  .home-premium-page .client-reference-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
    padding-block: 36px 42px;
  }
  .home-premium-page .client-reference-card {
    min-height: 211px;
    padding: 25px;
  }
  .home-premium-page .client-reference-name { font-size: clamp(27px, 7vw, 34px); }
}
