/* =========================================================
   page-fv-mon-parcours.css — page "Mon parcours"
   Construit PAR-DESSUS FV-base.css (h1-page, h1-page-baseline,
   fv-h2, white-bg, purple-line ne sont pas redéfinis ici).
   Toutes les classes propres à cette page sont préfixées
   .fv-mp- pour éviter toute collision. Nav de bas de page
   réutilise les classes .benefices-nav-* (fv-benefices.css,
   chargé globalement) pour garantir une navigation identique
   entre les pages du Hub.
   Mobile-first — 3 breakpoints : base (<640px), tablette
   (>=640px), desktop (>=1024px). Grid/Flexbox uniquement,
   aucune largeur figée en px.
   Palette : #9F0070 (primaire) + variantes rgba, fond #fff7ff.
   Polices : Optima (corps, héritée de FV-base body), Cinzel
   (titres, héritée de .fv-h2 / .h1-page), Great Vibes (script),
   Josefin Sans (labels/nav/boutons).
   ========================================================= */

.fv-mp-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ---------- Sous-titre italique narratif ---------- */
.fv-mp-subtitle {
  font-style: italic;
  color: rgba(159, 0, 112, 0.7);
  margin: -0.4em 0 0.8em;
  text-align: left;
}

/* ---------- Sections alternées photo / texte ---------- */
.fv-mp-story {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fv-mp-story-media {
  width: 100%;
}

.fv-mp-story-content {
  width: 100%;
}

.fv-mp-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(90, 0, 70, 0.15);
}

/* ---------- Témoignages ---------- */
.fv-mp-testimonials-title {
  text-align: center;
}

.fv-mp-testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.fv-mp-testi-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: #fff7ff;
  border: 1px solid rgba(159, 0, 112, 0.15);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 6px 20px rgba(90, 0, 70, 0.08);
}

.fv-mp-testi-head {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.fv-mp-testi-name {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: #9F0070;
}

.fv-mp-testi-preview,
.fv-mp-testi-full {
  margin: 0;
  text-align: left;
}

.fv-mp-testi-full {
  display: none;
}

.fv-mp-testi-toggle {
  align-self: flex-start;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #9F0070;
  background: rgba(159, 0, 112, 0.08);
  border: 1px solid rgba(159, 0, 112, 0.3);
  border-radius: 999px;
  padding: 0.5em 1.2em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.fv-mp-testi-toggle:hover {
  background: rgba(159, 0, 112, 0.16);
  transform: translateY(-1px);
}

/* ---------- Clôture (script) ---------- */
.fv-mp-closing {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35;
  text-align: center;
  color: rgba(159, 0, 112, 0.78);
  max-width: 44rem;
  margin: 0.5rem auto 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* =========================================================
   TABLETTE — >= 640px
   ========================================================= */
@media (min-width: 640px) {
  .fv-mp-body {
    gap: 3rem;
  }

  .fv-mp-testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   DESKTOP — >= 1024px
   ========================================================= */
@media (min-width: 1024px) {
  .fv-mp-story {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .fv-mp-story--alt {
    flex-direction: row-reverse;
  }

  .fv-mp-story-media {
    flex: 0 0 30%;
  }

  .fv-mp-story-content {
    flex: 1 1 70%;
  }

  .fv-mp-testi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
