/* ============================================================
   STRASSTOI — la page de vente d'une formation
   (/formation/essentiel, /double-certification, /signature)

   Chargée après pages.css, seulement sur formation.php. Tout
   est rangé sous .page-formation : rien ne déborde sur les
   autres pages.

   Le principe : moins grand, plus serré, plus de rose.
     - des titres de section ramenés à la taille d'un magazine,
       avec la fin du titre en italique rose ;
     - un rythme vertical resserré : on voit plus d'une idée
       par écran ;
     - l'alternance noir / lilas / brume / studio des autres
       pages (voir style.css, section 30) ;
     - le rose sur ce qui compte : les prix, les heures, les
       numéros, la barre de la journée, les boutons.
   ============================================================ */


/* --- 1. Rythme et titres ------------------------------------ */

.page-formation .fv-section,
.page-formation .rentabilite,
.page-formation .temoignages,
.page-formation .sessions,
.page-formation .qr-section {
  padding-block: clamp(3.6rem, 9vh, 6.2rem);
}

.page-formation .tete {
  gap: clamp(1rem, 3vw, 3.5rem);
  margin-bottom: clamp(1.8rem, 3.6vw, 2.8rem);
  padding-bottom: 1.2rem;
  border-bottom: 0;
  position: relative;
}
/* Le filet sous le titre : un court trait rose, puis le filet
   habituel. */
.page-formation .tete::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--rose) 0, var(--rose) 56px, var(--filet) 56px);
}

.page-formation .tete h2,
.page-formation .fv-resultats__tete h2,
.page-formation .fv-fin h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -.012em;
}
.page-formation .tete h2 br { display: none; }

.page-formation :is(.tete, .fv-resultats__tete, .fv-fin, .qr__tete, .fv-assureur__tete) :is(h2, h3) em {
  font-style: italic;
  color: var(--rose);
}

.page-formation .tete p {
  font-size: .93rem;
  line-height: 1.7;
  max-width: 46ch;
  justify-self: end;
}

/* Un titre seul, dans une colonne (le kit). */
.page-formation .tete--seule { grid-template-columns: 1fr; gap: .9rem; }
.page-formation .tete--seule p { justify-self: start; }

@media (max-width: 900px) {
  .page-formation .tete { grid-template-columns: 1fr; gap: .8rem; }
  .page-formation .tete p { justify-self: start; }
}


/* --- 2. Les boutons sur le lilas ----------------------------
   La règle générale des pages de formation colore le bouton
   avec --rose, qui devient un rose foncé sur le lilas : le texte
   y était lilas sur prune. Sur fond clair, le bouton garde le
   rose de la marque et un texte noir, comme sur les autres
   pages. */

.page-formation :is(.fond-lilas, .fond-brume, .fond-studio) .btn:not(.btn--fantome) {
  --fond: #D9A7BD;
  --texte: #0A0A0A;
}
.page-formation :is(.fond-lilas, .fond-brume, .fond-studio) .btn:not(.btn--fantome)::before { background: var(--prune); }
.page-formation :is(.fond-lilas, .fond-brume, .fond-studio) .btn:not(.btn--fantome):hover { color: #F6F5F3; }


/* --- 3. Le premier écran ------------------------------------ */

.page-formation .cabine { min-height: 100vh; min-height: 100svh; border-bottom: 0; }
@media (max-width: 1000px) {
  .page-formation .cabine { align-content: end; }
}

.cabine--vente h1 { font-size: clamp(2.5rem, 5.2vw, 4.8rem); margin-bottom: 1.4rem; }
.cabine--vente .cabine__inner { max-width: 34rem; }
.cabine--vente .vente-hero__texte { font-size: clamp(.98rem, .92rem + .3vw, 1.1rem); max-width: 44ch; margin-bottom: 1.8rem; }
.cabine--vente .vente-hero__prix { padding: 1.1rem 0; margin-bottom: 1.4rem; }
.cabine--vente .vente-hero__prix b { color: var(--rose); font-size: clamp(2.1rem, 3.6vw, 3rem); }
.cabine--vente .prochaine { margin: 0 0 1.6rem; }
.cabine--vente .hero__actions { flex-wrap: wrap; gap: .8rem; }
.cabine--vente .cabine__gages { margin-top: 1.8rem; }

/* Les photos en hauteur (Camillia à la lampe, Camillia assise) :
   le cadre commence plus à droite pour ne pas les recadrer à
   l'excès, le visage reste dans le tiers haut. */
@media (min-width: 1001px) {
  .cabine--portrait .cabine__media {
    inset: 0 0 0 40%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
  }
  .cabine--portrait .cabine__media img { object-position: 50% 24%; }
  .cabine--portrait .cabine__voile {
    background:
      linear-gradient(90deg, var(--noir) 0%, var(--noir) 36%, rgba(10,10,10,.5) 46%, rgba(10,10,10,0) 58%),
      linear-gradient(180deg, rgba(10,10,10,.55) 0%, transparent 20%, transparent 78%, var(--noir) 100%);
  }
}
@media (max-width: 1000px) {
  .cabine--portrait .cabine__media img { object-position: 50% 22%; }
}


/* --- 4. Ce que ça peut rapporter ----------------------------- */

.page-formation .rentabilite { border-top: 0; }
.page-formation .simulateur {
  position: relative;
  padding: clamp(1.6rem, 3.6vw, 3.2rem);
}
/* Le reflet de strass sur l'arête du haut. */
.page-formation .simulateur::before {
  content: "";
  position: absolute;
  left: -1px; right: -1px; top: -1px;
  height: 2px;
  background: var(--eclat); background-size: 260% 100%; background-position: var(--lumiere, 50%) 50%;
}
.page-formation .sim__ligne { margin-bottom: 1.5rem; }
.page-formation .sim__ligne b { color: var(--rose); font-size: clamp(1.8rem, 3vw, 2.5rem); }
.page-formation .sim__label b { font-size: 1.6rem; }
.page-formation .sim__champ { margin-bottom: 1.8rem; }
.page-formation .sim__formule.est-actif { background: var(--rose); color: #F6F5F3; }
.page-formation .rentabilite input[type="range"]::-webkit-slider-thumb { background: var(--rose); }
.page-formation .rentabilite input[type="range"]::-moz-range-thumb { background: var(--rose); }
.page-formation .rentabilite .mention {
  margin: 1.2rem 0 0;
  font-size: .74rem;
  line-height: 1.6;
  color: var(--sourdine);
  max-width: 90ch;
}


/* --- 5. Ce que vous saurez poser ----------------------------- */

.fv-resultats {
  padding-block: clamp(3.6rem, 9vh, 6.2rem);
  background: var(--noir);
}
.fv-resultats__tete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem clamp(1rem, 3vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.fv-resultats__tete p {
  margin: 0;
  justify-self: end;
  max-width: 44ch;
  font-size: .93rem;
  color: var(--brume);
}

.fv-resultats__bande {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding-inline: var(--marge);
  max-width: 1560px;
  margin-inline: auto;
}
.fv-resultats__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--encre);
}
.fv-resultats__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .fv-resultats__tete { grid-template-columns: 1fr; }
  .fv-resultats__tete p { justify-self: start; }
  /* Sur téléphone, la bande défile au doigt. */
  .fv-resultats__bande {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 68vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .fv-resultats__bande::-webkit-scrollbar { display: none; }
  .fv-resultats__photo { scroll-snap-align: start; }
}


/* --- 6. Pour qui, et pour qui pas ---------------------------- */

.fv-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.fv-carte { padding: clamp(1.5rem, 2.8vw, 2.4rem); border: 1px solid var(--filet); }
.fv-carte--oui {
  background: var(--lilas);
  border-color: transparent;
  box-shadow: inset 0 2px 0 var(--rose);
}
.fv-carte h3 {
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}
.fv-carte--non h3 { color: var(--brume); }
.fv-carte ul { list-style: none; margin: 0; padding: 0; }
.fv-carte li {
  position: relative;
  padding: .62rem 0 .62rem 1.5rem;
  border-top: 1px solid var(--filet);
  font-size: .9rem;
  line-height: 1.55;
  color: var(--brume);
}
.fv-carte li:first-child { border-top: 0; }
.fv-carte--oui li::before {
  content: "";
  position: absolute;
  left: 2px; top: 1.18em;
  width: 6px; height: 6px;
  transform: rotate(45deg);
  background: var(--rose);
}
.fv-carte--non li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.4em;
  width: 9px; height: 1px;
  background: var(--sourdine);
}

@media (max-width: 900px) {
  .fv-duo { grid-template-columns: 1fr; }
}


/* --- 7. La journée, en un coup d'œil -------------------------
   Une ligne par étape : l'heure en rose, le titre, la durée.
   Le détail s'ouvre au clic. La barre au-dessus de chaque
   colonne montre la part de chaque étape : la pratique en rose
   plein, la démonstration en rose léger, le déjeuner en gris. */

.fv-cle {
  display: block;
  margin-top: .7rem;
  font-size: .84rem;
  color: var(--brume);
}
.fv-cle b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--rose);
  margin-right: .3rem;
}

.fv-jour {
  display: grid;
  grid-template-columns: repeat(var(--colonnes, 2), minmax(0, 1fr));
  gap: clamp(1.6rem, 4vw, 4rem);
}

.fv-jour__tete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.fv-jour__tete h3 { font-size: 1.15rem; }
.fv-jour__tete span {
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--sourdine);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}


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

.fv-etape { border-bottom: 1px solid var(--filet); }
.fv-etape summary {
  display: grid;
  grid-template-columns: 3.9rem minmax(0, 1fr) auto 12px;
  align-items: baseline;
  gap: .9rem;
  padding: .78rem 0;
  cursor: pointer;
  list-style: none;
}
.fv-etape summary::-webkit-details-marker { display: none; }
.fv-etape summary:focus-visible { outline-offset: 2px; }

.fv-etape__heure {
  font-family: var(--serif);
  font-size: .98rem;
  color: var(--rose);
  font-variant-numeric: tabular-nums;
}
.fv-etape__titre { font-size: .93rem; line-height: 1.4; color: var(--blanc); }
.fv-etape__duree {
  font-size: .76rem;
  color: var(--sourdine);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.fv-etape--pratique .fv-etape__titre { font-weight: 500; }
.fv-etape--pause .fv-etape__titre { font-style: italic; color: var(--sourdine); }

/* Le plus, qui devient un moins à l'ouverture. */
.fv-etape summary i {
  position: relative;
  align-self: center;
  width: 11px; height: 11px;
}
.fv-etape summary i::before,
.fv-etape summary i::after {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 11px; height: 1px;
  background: var(--sourdine);
  transition: transform var(--moyen), background var(--vif);
}
.fv-etape summary i::after { transform: rotate(90deg); }
.fv-etape[open] summary i::after { transform: rotate(0deg); }
.fv-etape summary:hover i::before,
.fv-etape summary:hover i::after,
.fv-etape[open] summary i::before,
.fv-etape[open] summary i::after { background: var(--rose); }

.fv-etape p {
  margin: 0;
  padding: 0 1.6rem .95rem 4.8rem;
  font-size: .86rem;
  line-height: 1.65;
  color: var(--brume);
  max-width: 60ch;
}

@media (max-width: 900px) {
  .fv-jour { grid-template-columns: 1fr; gap: 2.2rem; }
  .fv-etape summary { grid-template-columns: 3.4rem minmax(0, 1fr) auto 12px; gap: .7rem; }
  .fv-etape p { padding-left: 4.1rem; padding-right: 0; }
}


/* --- 8. Ce que vous emportez --------------------------------- */

.fv-kit {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.fv-kit__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.fv-kit__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.fv-kit__photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--eclat); background-size: 260% 100%; background-position: var(--lumiere, 50%) 50%;
}

.fv-kit__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: kit;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1.2rem, 3vw, 2.6rem);
}
.fv-kit__liste li {
  counter-increment: kit;
  padding: 1rem 0 1.05rem;
  border-top: 1px solid var(--filet);
}
.fv-kit__liste h4 {
  display: flex;
  gap: .7rem;
  align-items: baseline;
  margin: 0 0 .35rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.04rem;
  line-height: 1.3;
}
.fv-kit__liste h4::before {
  content: counter(kit, decimal-leading-zero);
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--rose);
}
.fv-kit__liste p { margin: 0; padding-left: 1.75rem; font-size: .84rem; line-height: 1.6; color: var(--brume); }

/* Le dossier pour l'assureur : une carte un ton plus pâle que
   le fond studio. */
.fv-assureur {
  margin-top: clamp(2.2rem, 5vw, 3.6rem);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--lilas);
  border: 1px solid rgba(10, 10, 10, .06);
}
.fv-assureur__tete {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 1rem clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: 1.6rem;
}
.fv-assureur__tete h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.2; }
.fv-assureur__tete p { margin: 0; font-size: .84rem; line-height: 1.65; color: var(--brume); max-width: 64ch; }

.fv-assureur__pieces {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: piece;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 1.2rem clamp(1rem, 2vw, 1.8rem);
}
.fv-assureur__pieces li {
  counter-increment: piece;
  padding-top: .9rem;
  border-top: 1px solid var(--filet-fort);
}
.fv-assureur__pieces li::before {
  content: counter(piece, decimal-leading-zero);
  display: block;
  margin-bottom: .45rem;
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--rose);
}
.fv-assureur__pieces b { display: block; font-weight: 500; font-size: .86rem; line-height: 1.4; margin-bottom: .3rem; }
.fv-assureur__pieces span { display: block; font-size: .78rem; line-height: 1.55; color: var(--brume); }

@media (max-width: 900px) {
  .fv-kit { grid-template-columns: 1fr; }
  .fv-kit__photo { aspect-ratio: 4 / 3; margin-inline: calc(var(--marge) * -1); }
  .fv-kit__liste { grid-template-columns: 1fr; }
  .fv-assureur__tete { grid-template-columns: 1fr; }
}


/* --- 9. Le cadre légal --------------------------------------- */

.fv-loi {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 3rem);
}
.fv-loi__col h3 {
  font-size: 1.1rem;
  padding-bottom: .8rem;
  margin-bottom: .2rem;
  border-bottom: 1px solid var(--filet-fort);
}
.fv-loi__col--oui h3 { color: var(--rose); border-bottom-color: var(--rose); }
.fv-loi__col ul { list-style: none; margin: 0; padding: 0; }
.fv-loi__col li {
  position: relative;
  padding: .6rem 0 .6rem 1.3rem;
  border-bottom: 1px solid var(--filet);
  font-size: .86rem;
  line-height: 1.55;
  color: var(--brume);
}
.fv-loi__col li::before {
  content: "";
  position: absolute;
  left: 1px; top: 1.15em;
  width: 5px; height: 5px;
  transform: rotate(45deg);
  background: var(--rose);
}
.fv-loi__col--non li::before { background: transparent; border: 1px solid var(--sourdine); }

@media (max-width: 900px) {
  .fv-loi { grid-template-columns: 1fr; gap: 2rem; }
}


/* --- 10. Témoignages et dates -------------------------------- */

.page-formation .sessions__vide { display: none; }


/* --- 11. Le tarif --------------------------------------------- */

.fv-tarif { border-top: 1px solid var(--filet); }

/* Deux disciplines : deux cartes avec leur photo. */
.fv-offres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.fv-offre {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--filet);
  background: var(--encre);
  transition: border-color var(--moyen);
}
.fv-offre:hover { border-color: rgba(217, 167, 189, .5); }
.fv-offre__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}
.fv-offre__photo img { width: 100%; height: 100%; object-fit: cover; }
.fv-offre__photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--eclat); background-size: 260% 100%; background-position: var(--lumiere, 50%) 50%;
}
.fv-offre__corps {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.fv-offre__duree { margin: 0 0 .5rem; font-size: .78rem; letter-spacing: .06em; color: var(--sourdine); }
.fv-offre h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: .7rem; }
.fv-offre__resume { font-size: .88rem; line-height: 1.6; color: var(--brume); margin-bottom: 1.4rem; }
.fv-offre__prix {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem 1rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--filet);
  margin-bottom: 1.4rem;
}
.fv-offre__prix b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.4vw, 2.8rem);
  line-height: 1;
  color: var(--rose);
  font-variant-numeric: tabular-nums;
}
.fv-offre__prix span { font-size: .8rem; color: var(--sourdine); }
.fv-offre .btn { width: 100%; --fond: var(--rose); --texte: var(--noir); }
.fv-offre .btn::before { background: var(--prune); }
.fv-offre .btn:hover { color: var(--blanc); }

/* Un seul prix : la carte en deux, le chiffre à gauche. */
.fv-prix {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  border: 1px solid var(--filet);
  background: var(--encre);
}
.fv-prix::before {
  content: "";
  position: absolute;
  left: -1px; right: -1px; top: -1px;
  height: 2px;
  background: var(--eclat); background-size: 260% 100%; background-position: var(--lumiere, 50%) 50%;
}
.fv-prix__chiffre {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.8rem, 4vw, 3.2rem);
  border-right: 1px solid var(--filet);
}
.fv-prix__nom { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--brume); }
.fv-prix__chiffre b {
  margin: .5rem 0 .4rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 5.4vw, 4.4rem);
  line-height: .95;
  color: var(--rose);
  font-variant-numeric: tabular-nums;
}
.fv-prix__chiffre del { color: var(--sourdine); text-decoration-thickness: 1px; }
.fv-prix__duree { margin-top: .9rem; font-size: .8rem; color: var(--sourdine); }

.fv-prix__detail { padding: clamp(1.8rem, 4vw, 3.2rem); }
.fv-prix__detail h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.fv-echeances { list-style: none; margin: 0 0 1rem; padding: 0; }
.fv-echeances li {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: .7rem 0;
  border-top: 1px solid var(--filet);
}
.fv-echeances li:last-child { border-bottom: 1px solid var(--filet); }
.fv-echeances b {
  flex: none;
  min-width: 4.8rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--rose);
  font-variant-numeric: tabular-nums;
}
.fv-echeances span { font-size: .86rem; color: var(--brume); }
.fv-mention { margin: 0 0 1.4rem; font-size: .8rem; color: var(--sourdine); }

/* Ce qui est compris : une ligne de petites pastilles. */
.fv-inclus {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.8rem;
  margin: 1.8rem 0 0;
  padding: 0;
}
.fv-inclus li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .84rem;
  color: var(--brume);
}
.fv-inclus li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  transform: rotate(45deg);
  background: var(--eclat); background-size: 260% 100%; background-position: var(--lumiere, 50%) 50%;
}

.fv-tarif__pied {
  margin: 1.8rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--filet);
  font-size: .84rem;
  color: var(--sourdine);
  max-width: none;
}
.fv-tarif__pied a {
  color: var(--blanc);
  background: linear-gradient(var(--rose), var(--rose)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
}
.fv-tarif__pied a:hover { color: var(--rose); }

@media (max-width: 900px) {
  .fv-offres { grid-template-columns: 1fr; }
  .fv-prix { grid-template-columns: 1fr; }
  .fv-prix__chiffre { border-right: 0; border-bottom: 1px solid var(--filet); }
  .fv-prix__detail .btn { width: 100%; }
}


/* --- 12. Les questions --------------------------------------- */

.page-formation .qr__tete h2 em { font-style: italic; }


/* --- 13. Quatre places par session --------------------------- */

.fv-fin__grille {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.fv-fin h2 { margin-bottom: 1rem; }
.fv-fin__texte p { font-size: .95rem; color: var(--brume); max-width: 40ch; margin-bottom: 1.8rem; }
.fv-fin__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.fv-fin__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 1200 / 680;
  overflow: hidden;
}
.fv-fin__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.fv-fin__photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--eclat); background-size: 260% 100%; background-position: var(--lumiere, 50%) 50%;
}

.fv-autres { margin-top: clamp(2.6rem, 6vw, 4.2rem); }
.fv-autres__titre {
  margin: 0 0 .9rem;
  font-size: .82rem;
  color: var(--sourdine);
}
.fv-autres__liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.8rem, 1.6vw, 1.2rem);
}
.fv-autre {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "nom   prix"
    "texte fleche";
  gap: .3rem 1.2rem;
  padding: 1.3rem 1.5rem;
  background: var(--lilas);
  border: 1px solid rgba(10, 10, 10, .06);
  transition: background var(--moyen), border-color var(--moyen);
}
.fv-autre b { grid-area: nom; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.fv-autre span { grid-area: texte; font-size: .84rem; color: var(--brume); }
.fv-autre em {
  grid-area: prix;
  justify-self: end;
  font-style: normal;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--rose);
  font-variant-numeric: tabular-nums;
}
.fv-autre i {
  grid-area: fleche;
  justify-self: end;
  font-style: normal;
  color: var(--rose);
  transition: transform var(--moyen);
}
.fv-autre:hover { background: var(--lilas-brume); border-color: var(--rose); }

@media (max-width: 900px) {
  .fv-fin__grille { grid-template-columns: 1fr; }
  .fv-fin__photo { order: -1; margin-inline: calc(var(--marge) * -1); }
  .fv-fin__actions .btn { width: 100%; }
  .fv-autres__liste { grid-template-columns: 1fr; }
}


/* --- 14. Accessibilité --------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .fv-resultats__photo img,
  .fv-offre__photo img,
  .fv-autre i,
  .fv-etape summary i::after { transition: none; }
}


/* --- 15. Finitions ------------------------------------------- */

/* Sur téléphone, le dossier pour l'assureur passe sur deux
   colonnes : cinq pièces l'une sous l'autre faisaient une liste
   aussi longue que tout le reste du bloc. */
@media (max-width: 600px) {
  .fv-assureur__pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .9rem; }
  .fv-assureur__pieces span { font-size: .74rem; }
}


/* --- 13. Formations individuelles (octobre 2026) ---------------
   La journée en une seule colonne, toujours ouverte ; « pour
   qui » en une seule carte ; la loi en deux colonnes ; le suivi
   sous le kit. */

.fv-duo--seul { grid-template-columns: minmax(0, 1fr); max-width: 46rem; }

.fv-etapes--fixe { max-width: 52rem; }
.fv-etapes--fixe .fv-etape__haut {
  display: grid;
  grid-template-columns: 3.9rem minmax(0, 1fr);
  align-items: baseline;
  gap: .9rem;
  padding: .85rem 0;
}
.fv-etapes--fixe .fv-etape__titre { font-weight: 500; }
.fv-etapes--fixe .fv-etape p { padding-left: 4.8rem; }
@media (max-width: 900px) {
  .fv-etapes--fixe .fv-etape__haut { grid-template-columns: 3.4rem minmax(0, 1fr); gap: .7rem; }
  .fv-etapes--fixe .fv-etape p { padding-left: 4.1rem; }
}

.fv-carte__texte { margin: 0; font-size: .9rem; line-height: 1.65; color: var(--brume); }

.fv-loi--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 60rem; }
@media (max-width: 900px) {
  .fv-loi--deux { grid-template-columns: 1fr; }
}

.fv-apres {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--filet-fort);
}
.fv-apres h3 { font-size: 1.15rem; margin: 0 0 .6rem; }
.fv-apres p { margin: 0; max-width: 52ch; font-size: .9rem; line-height: 1.7; color: var(--brume); }


/* ============================================================
   16. LA PAGE CONDENSÉE (octobre 2026)
   Les tarifs avec la bascule, la formation en détail en cinq
   volets, les autres formations en grand.
   ============================================================ */

/* --- Les tarifs -------------------------------------------- */
.fv-tarif__grille {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.fv-tarif__texte h2 { margin: 0 0 1rem; font-size: clamp(2rem, 3.6vw, 3rem); }
.fv-tarif__texte h2 em { font-style: italic; color: var(--rose); }
.fv-tarif__texte p { margin: 0 0 1.8rem; font-size: .95rem; color: var(--brume); max-width: 40ch; }
.fv-prix--seul { grid-template-columns: minmax(0, 1fr); min-height: 15rem; }
.fv-prix--seul .fv-prix__chiffre { border-right: 0; }
.fv-prix--seul .fv-prix__chiffre b .prix-barre { color: var(--sourdine); }
.fv-prix--seul .fv-echeances { margin: 1rem 0 0; }
.fv-prix--seul .fv-echeances b { min-width: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.fv-prix--seul .fv-echeances li { padding: .9rem 0; }
.fv-tarif .fv-inclus { margin-top: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 900px) {
  .fv-tarif__grille { grid-template-columns: minmax(0, 1fr); }
  .fv-prix--seul { min-height: 0; }
}

/* --- La formation en détail ------------------------------- */
.fv-detail { scroll-margin-top: 90px; }

.fv-detail__onglets {
  display: flex;
  gap: 0;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
  border-bottom: 1px solid var(--filet);
  overflow-x: auto;
  scrollbar-width: none;
}
.fv-detail__onglets::-webkit-scrollbar { display: none; }
.fv-detail__onglets[hidden] { display: none; }
.fv-detail__onglets button {
  flex: none;
  position: relative;
  padding: .9rem 1.3rem 1rem 0;
  margin-right: 1.3rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sourdine);
  white-space: nowrap;
  transition: color var(--vif);
}
.fv-detail__onglets button span { font-family: var(--serif); font-style: italic; letter-spacing: 0; text-transform: none; margin-right: .3rem; }
.fv-detail__onglets button::after {
  content: "";
  position: absolute;
  left: 0; right: 1.3rem; bottom: -1px;
  height: 2px;
  background: var(--eclat); background-size: 260% 100%; background-position: var(--lumiere, 50%) 50%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.65, 0, .25, 1);
}
.fv-detail__onglets button:hover { color: var(--blanc); }
.fv-detail__onglets button[aria-selected="true"] { color: var(--blanc); }
.fv-detail__onglets button[aria-selected="true"]::after { transform: scaleX(1); }

/* Sans JavaScript : les volets l'un sous l'autre. Avec : tous au
   même endroit, un seul visible, la hauteur du plus grand. */
.fv-detail__volets { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 3rem); }
.fv-volet, .fv-volet__corps { min-width: 0; }
.fv-detail.est-pret .fv-detail__volets { gap: 0; }
.fv-detail.est-pret .fv-volet { grid-area: 1 / 1; }
.fv-detail.est-pret .fv-volet:not(.est-actif) { visibility: hidden; opacity: 0; pointer-events: none; }
.fv-detail.est-pret .fv-volet { transition: opacity .5s ease, visibility 0s linear .5s; }
.fv-detail.est-pret .fv-volet.est-actif { transition: opacity .6s ease .05s, visibility 0s; }
.fv-detail.est-pret .fv-volet.est-actif .fv-volet__photo img { animation: volet-photo 1.1s cubic-bezier(.22, .61, .36, 1); }
.fv-detail.est-pret .fv-volet.est-actif .fv-volet__corps > * { animation: volet-texte .6s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes volet-photo { from { transform: scale(1.04); } to { transform: none; } }
@keyframes volet-texte { from { opacity: 0; transform: translateY(8px); } }

.fv-volet {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: stretch;
}
.fv-volet__photo {
  position: relative;
  margin: 0;
  min-height: 26rem;
  overflow: hidden;
  background: var(--encre);
}
.fv-volet__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.fv-volet__photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--eclat); background-size: 260% 100%; background-position: var(--lumiere, 50%) 50%;
}
.fv-volet__corps { display: flex; flex-direction: column; padding: .4rem 0; }
.fv-volet__num { margin: 0 0 .8rem; font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--sourdine); }
.fv-volet__corps h3 { margin: 0 0 1.1rem; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.08; }
.fv-volet__corps h3 em { font-style: italic; color: var(--rose); }
.fv-volet__intro { margin: 0 0 1.4rem; max-width: 52ch; font-size: .95rem; line-height: 1.7; color: var(--brume); }

.fv-volet__liste { list-style: none; margin: 0; padding: 0; max-width: 46ch; }
.fv-volet__liste li {
  position: relative;
  padding: 1rem 0 1rem 1.6rem;
  border-top: 1px solid var(--filet);
  font-size: 1rem;
  line-height: 1.55;
}
.fv-volet__liste li:last-child { border-bottom: 1px solid var(--filet); }
.fv-volet__liste li::before {
  content: "";
  position: absolute;
  left: .2rem; top: 1.55rem;
  width: 6px; height: 6px;
  transform: rotate(45deg);
  background: var(--eclat); background-size: 260% 100%; background-position: var(--lumiere, 50%) 50%;
}

.fv-volet__formules { display: grid; gap: 1rem; max-width: 40rem; }
.fv-volet__formules > div { padding: 1.3rem 1.5rem; border: 1px solid var(--filet); }
.fv-volet__formules > div + div { border-top: 1px solid var(--rose); }
.fv-volet__formules h4 { margin: 0 0 .5rem; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.fv-volet__formules h4 .prix-barre { font-size: .7em; vertical-align: .1em; }
.fv-volet__formules p { margin: 0; font-size: .9rem; line-height: 1.65; color: var(--brume); }

.fv-volet .fv-etapes--fixe { max-width: none; }
.fv-volet .fv-apres { margin-top: 0; }
.fv-volet .fv-kit__liste + .fv-apres { margin-top: 1.4rem; }
.fv-volet .fv-apres h4 { margin: 0 0 .6rem; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.fv-volet .fv-loi--deux { gap: clamp(1.2rem, 3vw, 2.4rem); }
.fv-volet .fv-loi__col h4 {
  margin: 0 0 .4rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--filet-fort);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
}
.fv-volet .fv-loi__col--oui h4 { color: var(--rose); border-bottom-color: var(--rose); }

.fv-volet__nav {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: auto;
  padding-top: clamp(1.6rem, 3vw, 2.4rem);
}
.fv-volet__nav[hidden] { display: none; }
.fv-volet__prec {
  width: 3.2rem; height: 3.2rem;
  flex: none;
  border: 1px solid var(--filet-fort);
  color: var(--blanc);
  transition: border-color var(--vif), background var(--vif);
}
.fv-volet__prec:hover { border-color: var(--blanc); }
.fv-volet:first-child .fv-volet__prec { visibility: hidden; }
.fv-volet__nav .btn { flex: 1 1 auto; max-width: 24rem; }

@media (max-width: 900px) {
  .fv-volet { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .fv-volet__photo { min-height: 0; width: 100%; align-self: start; aspect-ratio: 4 / 3; }
  .fv-detail.est-pret .fv-volet__photo { aspect-ratio: 16 / 10; }
  .fv-volet__nav .btn { max-width: none; }
  .fv-detail__onglets { margin-inline: calc(var(--marge) * -1); padding-inline: var(--marge); }
}
@media (prefers-reduced-motion: reduce) {
  .fv-detail.est-pret .fv-volet,
  .fv-detail.est-pret .fv-volet.est-actif { transition: none; }
  .fv-detail.est-pret .fv-volet.est-actif .fv-volet__photo img,
  .fv-detail.est-pret .fv-volet.est-actif .fv-volet__corps > * { animation: none; }
}

/* --- Les autres formations, en grand ---------------------- */
.fv-fin .fv-autres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: 0;
}
.fv-autre--grand {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--lilas-brume);
  border: 1px solid rgba(10, 10, 10, .08);
  overflow: hidden;
}
.fv-autre__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--encre);
}
.fv-autre__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 1.2s cubic-bezier(.22, .61, .36, 1);
}
.fv-autre--grand:hover .fv-autre__photo img { transform: scale(1.04); }
.fv-autre--grand .fv-autre__etiquette {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: .4rem .75rem;
  background: #0A0A0A;
  color: #F6F5F3;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.fv-autre__corps {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
}
.fv-autre--grand h3 { margin: 0 0 .5rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.08; }
.fv-autre__corps > p { margin: 0 0 1.2rem; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--brume); }
.fv-autre__corps > .fv-autre__prix { font-style: normal; font-family: var(--sans); }
.fv-autre__prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; margin: auto 0 1.4rem; }
.fv-autre__prix b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--blanc);
  font-variant-numeric: tabular-nums;
}
.fv-autre--grand .fv-autre__prix span { font-size: .8rem; color: var(--sourdine); }
.fv-autre--grand .fv-autre__lien {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: #0A0A0A;
  color: #F6F5F3;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background var(--moyen);
}
.fv-autre--grand .fv-autre__lien i { font-style: normal; color: inherit; transition: transform var(--moyen); }
.fv-autre--grand:hover { background: var(--lilas-brume); border-color: var(--rose); }
.fv-autre--grand:hover .fv-autre__lien { background: var(--prune); }
.fv-autre--grand:hover .fv-autre__lien i { transform: translateX(5px); }

.fv-date {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 2.5rem;
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  padding-top: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid var(--filet-fort);
}
.fv-date h2 { margin: 0; font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.fv-date h2 em { font-style: italic; color: var(--rose); }
.fv-date p { margin: 0; font-size: .92rem; color: var(--brume); }
.fv-date__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

@media (max-width: 900px) {
  .fv-fin .fv-autres { grid-template-columns: minmax(0, 1fr); }
  .fv-date { grid-template-columns: minmax(0, 1fr); }
  .fv-date__actions .btn { width: 100%; }
}
