/* =========================================================
   IFMA — L'Hortus · version 3 (Académie · Manon Mary)
   Couche visuelle enrichie. Repose sur style.css (tokens +
   composants de base) et n'ajoute QUE des nouveautés et
   quelques raffinements propres à cette page.
   Clin d'œil à « L'Hortus » (le jardin) : motifs botaniques
   discrets, dégradés doux, timeline « système ».
   ========================================================= */

:root {
  --rose-glow:  rgba(212, 83, 126, 0.16);
  --burgundy-3: #5B1C31;
  --gold:       #C9A24B;        /* filet précieux, très parcimonieux */
  --shadow-lg:  0 24px 60px rgba(114, 36, 62, 0.14);
  --measure-wide: 46rem;
  --flow-lg:    clamp(1.7rem, 3vw, 2.25rem);  /* respiration autour des encadrés/grilles */
}

/* ---------------------------------------------------------
   Barre de progression de lecture (effet discret)
   --------------------------------------------------------- */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--rose), var(--burgundy));
  z-index: 60;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ---------------------------------------------------------
   CTA flottant (apparaît après le hero)
   --------------------------------------------------------- */
.float-cta {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 55;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.float-cta.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.float-cta .btn { box-shadow: var(--shadow-lg); }
@media (max-width: 560px) {
  .float-cta { left: 1rem; right: 1rem; }
  .float-cta .btn { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------
   Numéro d'éxergue dans les kickers
   --------------------------------------------------------- */
.kicker--num::before { display: none; }
.kicker__idx {
  font-family: var(--title);
  font-weight: 600;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--rose);
  letter-spacing: 0;
  text-transform: none;
  margin-right: 0.1rem;
}

/* ---------------------------------------------------------
   Motif botanique (sprig) — décor discret
   --------------------------------------------------------- */
.sprig {
  display: block;
  width: 2.4rem;
  height: auto;
  color: var(--rose);
  opacity: 0.5;
  margin: 0 auto 1.4rem;
}
.sprig--lg { width: 3.4rem; opacity: 0.42; }
.section__divider {
  display: grid;
  place-items: center;
  gap: 0;
  margin-bottom: 0.4rem;
}

/* =========================================================
   HERO — version 3 (plus travaillé)
   ========================================================= */
.hero--v3 {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 18% 8%, #FCE3EC 0%, transparent 60%),
    radial-gradient(55% 45% at 88% 4%, #FBE6EE 0%, transparent 58%),
    linear-gradient(180deg, #FCE7EF 0%, #FBEAF0 26%, var(--paper) 78%);
}
.hero--v3::before,
.hero--v3::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  z-index: 0;
  pointer-events: none;
}
.hero--v3::before {
  width: 26rem; height: 26rem;
  background: radial-gradient(circle, var(--rose-glow) 0%, transparent 70%);
  top: -8rem; left: -6rem;
}
.hero--v3::after {
  width: 22rem; height: 22rem;
  background: radial-gradient(circle, rgba(114,36,62,0.10) 0%, transparent 70%);
  bottom: -10rem; right: -5rem;
}
.hero--v3 .hero__inner { position: relative; z-index: 1; }
.hero--v3 .hero__title { max-width: 18ch; }

/* Mini-bandeau de confiance sous le hero */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.6rem 0;
  margin: 2.4rem auto 0;
  padding: 0.4rem 0;
  max-width: 47rem;
  width: 100%;
  border: 1px solid var(--pink);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-soft);
}
.trust__item {
  flex: 1 1 0;
  min-width: 7.5rem;
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  padding: 0.7rem 0.9rem;
  position: relative;
}
.trust__item + .trust__item::before {
  content: "";
  position: absolute;
  left: 0; top: 22%;
  height: 56%;
  width: 1px;
  background: var(--pink);
}
.trust__num {
  font-family: var(--title);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--burgundy);
}
.trust__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  text-align: center;
  line-height: 1.25;
}

/* ---------------------------------------------------------
   Hero — placeholder photo avec badge flottant
   --------------------------------------------------------- */
.hero--v3 .hero__photo {
  position: relative;
  margin-top: 2.8rem;
  max-width: 27rem;
}
.hero__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--pink);
  box-shadow: var(--shadow);
}

/* Portrait rond (section « Qui je suis ») */
.portrait__round {
  width: 100%;
  max-width: 14rem;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}
.portrait__round img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Marqueur de crédibilité YouTube (discret, ouvre un nouvel onglet) */
.yt-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.7rem;
  padding: 0.7rem 1.15rem 0.7rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.3;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.yt-proof:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--pink); }
.yt-proof:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }
.yt-proof__icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
  border-radius: 9px;
  background: #FF0000;
  color: #fff;
}
.yt-proof__icon svg { width: 1.25rem; height: 1.25rem; }
.yt-proof strong { color: var(--burgundy); font-weight: 600; }
.yt-proof__arrow { color: var(--muted-2); margin-left: 0.1rem; transition: transform 0.16s ease; }
.yt-proof:hover .yt-proof__arrow { transform: translate(2px, -2px); }
.photo__badge {
  position: absolute;
  left: clamp(0.6rem, 2vw, 1.2rem);
  bottom: clamp(0.6rem, 2vw, 1.2rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--pink);
  border-radius: var(--pill);
  padding: 0.5rem 0.95rem;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  color: var(--burgundy);
}
.photo__badge strong { font-weight: 600; }
.photo__badge .dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 3px rgba(212,83,126,0.18);
}

/* =========================================================
   Bloc « problème » — la boucle quand on avance seule
   ========================================================= */
.loop {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.loop__item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--muted);
}
.loop__item::before {
  content: "↻";
  flex: none;
  font-size: 1.05rem;
  color: var(--rose);
  transform: translateY(-0.05em);
}

/* =========================================================
   Bandeau de chiffres « signature » (Manon Mary)
   ========================================================= */
.figures {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.figure {
  position: relative;
  text-align: center;
  background:
    linear-gradient(180deg, #fff 0%, var(--pink-2) 100%);
  border: 1px solid var(--pink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.7rem 1.1rem;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.figure:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.figure__num {
  font-family: var(--title);
  font-weight: 600;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--rose-dark);
  display: block;
}
.figure__label {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.35;
}

/* =========================================================
   « On part de toi » — encadré signature
   ========================================================= */
.spotlight {
  position: relative;
  margin-top: 2rem;
  text-align: center;
  border: 1px solid var(--pink);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(160deg, #FCE7EF 0%, var(--pink-2) 60%, #FBF1F4 100%);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 5vw, 3rem);
}
.spotlight p {
  font-family: var(--title);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw + 1rem, 2.2rem);
  line-height: 1.25;
  color: var(--burgundy);
  margin: 0;
  max-width: 22ch;
  margin-inline: auto;
}

/* =========================================================
   TIMELINE « système » — les piliers reliés
   ========================================================= */
.timeline {
  position: relative;
  margin-top: 2.8rem;
  display: grid;
  gap: 1.1rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 1.85rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--rose) 0%, var(--pink-3) 50%, transparent 100%);
  z-index: 0;
}
.tl {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 1.6rem);
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.3rem, 3vw, 1.8rem);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.tl:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--pink);
}
.tl__num {
  display: grid;
  place-items: center;
  width: 3.7rem;
  height: 3.7rem;
  flex: none;
  font-family: var(--title);
  font-weight: 600;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--paper), 0 6px 16px rgba(212,83,126,0.30);
}
.tl__title {
  font-family: var(--title);
  font-weight: 600;
  font-size: clamp(1.3rem, 1.4vw + 1rem, 1.6rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.tl__text { color: var(--muted); }
.tl__plus {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line-2);
  font-size: 0.95rem;
  color: var(--burgundy);
  font-style: italic;
  font-family: var(--title);
}
.tl--key {
  background: linear-gradient(160deg, var(--pink-2) 0%, #fff 100%);
  border-color: var(--pink);
}

/* Intro « je t'ouvre mon business » — bloc d'accroche */
.opener {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 1.6rem);
  align-items: center;
  margin-top: 2.2rem;
  background: var(--burgundy);
  color: #F8E7EE;
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}
.opener__key {
  display: grid;
  place-items: center;
  width: 3.4rem; height: 3.4rem;
  flex: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
}
.opener__key svg { width: 1.5rem; height: 1.5rem; color: var(--pink-3); }
.opener h3 {
  font-family: var(--title);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.6vw + 1rem, 1.8rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.opener p { margin: 0; color: #F0D6DF; font-size: 1rem; line-height: 1.55; }
.opener mark.hl { color: #fff; background: linear-gradient(to bottom, transparent 10%, rgba(212,83,126,0.55) 10%, rgba(212,83,126,0.55) 92%, transparent 92%); }

/* =========================================================
   POUR QUI — chips de domaines
   ========================================================= */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.6rem 0 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--burgundy);
  background: var(--card);
  border: 1px solid var(--pink);
  border-radius: var(--pill);
  padding: 0.5rem 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.16s ease, background 0.16s ease;
}
.chip::before {
  content: "";
  width: 0.4rem; height: 0.4rem; border-radius: 50%;
  background: var(--rose);
}
.chip:hover { transform: translateY(-2px); background: var(--pink-2); }
.chips__more {
  align-self: center;
  font-style: italic;
  font-family: var(--title);
  color: var(--muted-2);
  font-size: 1rem;
}

/* =========================================================
   CE QUE COMPREND L'ACADÉMIE — cartes à icône
   ========================================================= */
.includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}
.inc {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.4rem, 3vw, 1.8rem);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.inc:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.inc__icon {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink-2), var(--pink));
  color: var(--burgundy);
  border: 1px solid var(--pink);
}
.inc__icon svg { width: 1.45rem; height: 1.45rem; }
.inc__title {
  font-family: var(--title);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.inc__text { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.inc__tag {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rose-dark);
  background: var(--pink-2);
  border-radius: var(--pill);
  padding: 0.25rem 0.7rem;
}

/* =========================================================
   TÉMOIGNAGES — masonry mobile-first (captures + vidéos)
   ========================================================= */
.testi-intro {
  max-width: 38rem;
  margin: 0.4rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Sous-titres de groupe (Vidéo / Captures) */
.testi-subhead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-align: center;
  font-family: var(--title);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--burgundy);
  margin: 2.8rem 0 0.4rem;
}
.testi-subhead--first { margin-top: 2rem; }
.testi-subhead svg { width: 1.15rem; height: 1.15rem; color: var(--rose); flex: none; }

/* ---------------------------------------------------------
   Carrousel défilant (auto-scroll + swipe + flèches)
   --------------------------------------------------------- */
.testi-carousel { position: relative; margin-top: 0.9rem; }

/* Quand le contenu tient sur une ligne -> centré, sans défilement */
.testi-track--fit { justify-content: center; }

/* Fondus sur les bords -> on devine qu'il y a d'autres cartes */
.testi-carousel::before,
.testi-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(1.2rem, 5vw, 3.5rem);
  z-index: 3;
  pointer-events: none;
}
.testi-carousel::before { left: 0;  background: linear-gradient(90deg, var(--paper-tint) 12%, transparent); }
.testi-carousel::after  { right: 0; background: linear-gradient(270deg, var(--paper-tint) 12%, transparent); }

.testi-track {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.4rem 0.2rem 1.2rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.testi-track::-webkit-scrollbar { display: none; }

.tcard {
  flex: 0 0 auto;
  width: min(82vw, 320px);
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
@media (min-width: 600px) { .tcard { width: 320px; } }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--pink); }

/* Bandeau EN HAUT : le sujet du message, bien mis en avant */
.tcard__banner {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.15rem;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
}
.tcard__quote { width: 1.2rem; height: 1.2rem; flex: none; opacity: 0.92; }
.tcard__theme {
  font-family: var(--title);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.1;
}

/* Média (image) cliquable — ouvre le lightbox */
.tcard__media {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
  line-height: 0;
}
.tcard__media img { display: block; width: 100%; height: auto; }
.tcard__media:focus-visible { outline: 3px solid var(--rose); outline-offset: -3px; }
.tcard__zoomicon {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--burgundy);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.tcard__zoomicon svg { width: 1.1rem; height: 1.1rem; }
.tcard:hover .tcard__zoomicon { opacity: 1; transform: none; }
@media (hover: none) { .tcard__zoomicon { opacity: 0.9; transform: none; } }

/* Carte vidéo */
.tcard__video-wrap { line-height: 0; position: relative; background: #2a1119; }
.tcard__video-wrap video { display: block; width: 100%; height: auto; }
.tcard__banner--video { background: linear-gradient(135deg, var(--burgundy-2), var(--burgundy)); }

/* ---------------------------------------------------------
   Flèches de navigation
   --------------------------------------------------------- */
.testi-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1px solid var(--pink);
  background: rgba(255, 255, 255, 0.94);
  color: var(--burgundy);
  font-family: var(--title);
  font-size: 1.6rem;
  line-height: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.16s ease, background 0.16s ease;
}
.testi-nav:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.testi-nav:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 2px; }
.testi-nav--prev { left: -0.4rem; }
.testi-nav--next { right: -0.4rem; }
.testi-nav span { display: block; transform: translateY(-0.08em); }
@media (max-width: 599px) { .testi-nav { display: none; } }

/* Glisser à la souris */
.testi-track { cursor: grab; }
.testi-track.is-dragging { cursor: grabbing; user-select: none; }
.testi-track img { -webkit-user-drag: none; user-select: none; }

/* ---------------------------------------------------------
   Cartes vidéo (format vertical) — Vimeo/YouTube (façade) ou auto-hébergé
   --------------------------------------------------------- */
.tcard--video { width: min(72vw, 264px); }
@media (min-width: 600px) { .tcard--video { width: 264px; } }

/* Lecteur natif (auto-hébergé) en vertical */
.tcard__video-wrap--vertical { aspect-ratio: 9 / 16; }
.tcard__video-wrap--vertical video { width: 100%; height: 100%; object-fit: cover; }

/* Façade : aperçu cliquable + bouton play (charge le player au clic) */
.video-facade {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  position: relative;
  aspect-ratio: 9 / 16;
  cursor: pointer;
  background: #2a1119;
  overflow: hidden;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-facade__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--burgundy);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.16s ease;
}
.video-facade:hover .video-facade__play { transform: scale(1.08); }
.video-facade:focus-visible { outline: 3px solid var(--rose); outline-offset: -3px; }
.video-facade__play svg { width: 1.4rem; height: 1.4rem; margin-left: 0.15rem; }

/* Player embarqué (iframe Vimeo/YouTube) une fois cliqué */
.tcard__embed { position: relative; aspect-ratio: 9 / 16; background: #000; }
.tcard__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================
   LIGHTBOX — agrandissement des captures
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(26, 22, 20, 0.86);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s;
}
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox__img {
  max-width: min(94vw, 720px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.28s ease;
}
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__close {
  position: absolute;
  top: clamp(0.8rem, 3vw, 1.4rem);
  right: clamp(0.8rem, 3vw, 1.4rem);
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  transition: background 0.18s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* =========================================================
   Rythme vertical — les encadrés & grilles ne collent plus
   le texte qui les suit (marges symétriques, site-wide)
   ========================================================= */
.note,
.callout,
.spotlight,
.opener { margin-block: var(--flow-lg); }

.loop,
.quote-grid,
.reality-grid,
.fit-grid,
.chips { margin-bottom: var(--flow-lg); }

/* =========================================================
   Constat — encadré « réalisation » + cartes d'affirmations
   (retouches visuelles ; texte inchangé)
   ========================================================= */
/* Encadré rosé : accent rose (au lieu du filet bordeaux dur),
   coins plus doux, un peu plus d'air — s'harmonise avec les cartes */
.note {
  border-left-color: var(--rose);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-soft);
}

/* Les 6 « je veux… » : filet rose à gauche, guillemet en texture
   discrète, padding homogène, léger hover comme les autres cartes */
.quote-card {
  border-left: 3px solid var(--rose);
  padding: 2rem 1.5rem 1.5rem;
  line-height: 1.5;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.quote-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.quote-card__mark {
  top: 0.55rem;
  left: 1.4rem;
  font-size: 2.1rem;
  opacity: 0.32;
}

/* =========================================================
   Reveals décalés (stagger) — effet discret
   ========================================================= */
[data-reveal][style*="--d"] {
  transition-delay: calc(var(--d, 0) * 80ms);
}

/* =========================================================
   Responsive — version 3
   ========================================================= */
@media (max-width: 760px) {
  .loop { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr 1fr; }
  .includes { grid-template-columns: 1fr; }
  .opener { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 440px) {
  .figures { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; }
  .tl__num { margin-bottom: 0.3rem; }
  .timeline::before { display: none; }
  .trust { border-radius: var(--radius); }
  .trust__item { flex-basis: 50%; }
}

/* Accessibilité : mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .read-progress, .float-cta, .lightbox { transition: none; }
  .lightbox__img { transform: none; }
  .tcard, .tcard__zoomicon { transition: none; }
  [data-reveal][style*="--d"] { transition-delay: 0ms; }
}
