:root {
  --fond: #0c0a14;
  --surface: #15121f;
  --ligne: rgba(255, 255, 255, .08);
  --texte: #f4f2fa;
  --doux: #a7a2b9;
  --accent: #a891e8;
  --accent-fort: #8a6fd8;
  --violet: #3b2f73;
  --ressort: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--fond);
  color: var(--texte);
  font: 18px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Grain très léger, fixe, pour casser l'aplat numérique. */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Barre du haut */
.barre {
  position: sticky; top: 0; z-index: 10;
  padding: 14px max(24px, calc((100% - 1132px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(12, 10, 20, .72);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.marque { display: flex; align-items: center; gap: 10px; color: var(--texte); text-decoration: none; font-weight: 650; font-size: 19px; letter-spacing: -.01em; }
.marque img { width: 34px; height: 34px; border-radius: 9px; }
.petit-bouton {
  padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 600;
  color: var(--texte); text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--ligne);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: background .3s var(--ressort);
}
.petit-bouton:hover { background: rgba(255, 255, 255, .11); }

/* Bouton principal */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 28px; border-radius: 999px;
  background: var(--accent-fort); color: #fff; text-decoration: none; font-weight: 650; font-size: 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 14px 30px -12px rgba(40, 20, 90, .8);
  transition: transform .4s var(--ressort), background .3s var(--ressort);
}
.bouton:hover { transform: translateY(-2px); background: #9378e0; }
.bouton:active { transform: scale(.98); }
.bouton svg { width: 20px; height: 20px; }
.sous-bouton { margin: 14px 0 0; font-size: 14px; color: var(--doux); }

/* Apparitions */
.entree { opacity: 0; transform: translateY(14px); animation: monte .9s var(--ressort) forwards; animation-delay: calc(var(--i) * 110ms + 150ms); }
@keyframes monte { to { opacity: 1; transform: none; } }
.revele { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ressort), transform 1s var(--ressort); }
.revele.vu { opacity: 1; transform: none; }
.bloc .ecran.revele { transition-delay: .12s; }

/* Haut de page */
.hero { position: relative; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(50% 55% at 28% 40%, rgba(90, 70, 170, .45), transparent 70%);
}
.hero-int {
  position: relative; max-width: 1180px; margin: 0 auto; padding: 10px 24px 90px;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  min-height: min(760px, calc(100dvh - 70px));
}
.systeme { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; justify-self: center; }
.anneau {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  transform: translate(-50%, -50%) scale(.6); opacity: 0;
  animation: anneau 1.4s var(--ressort) forwards;
}
.a1 { width: 26%; height: 26%; animation-delay: .1s; }
.a2 { width: 52%; height: 52%; animation-delay: .25s; }
.a3 { width: 98%; height: 98%; animation-delay: .4s; border-style: dashed; border-color: rgba(255, 255, 255, .1); }
@keyframes anneau { to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
#cartes { position: absolute; left: 50%; top: 50%; }
.carte {
  position: absolute; left: 0; top: 0; width: 86px; height: 86px; padding: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border-radius: 22px; background: #17151f; border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 26px -10px rgba(0, 0, 0, .7);
  font-size: 11px; line-height: 1.15; font-weight: 550; text-align: center; color: rgba(255, 255, 255, .88);
  will-change: transform; opacity: 0; transition: opacity 1s var(--ressort);
}
.carte.la { opacity: 1; }
.pastille { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.pastille svg { width: 16px; height: 16px; }
.bulle {
  position: absolute; left: 50%; top: 50%; width: 19%; height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 30px rgba(20, 10, 50, .7));
  animation: flotte 5s ease-in-out infinite alternate;
}
@keyframes flotte { from { margin-top: 5px; } to { margin-top: -5px; } }

.surtitre { margin: 0 0 18px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--accent); }
.texte h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 22px; font-weight: 700; max-width: 12ch; }
.chapo { color: var(--doux); margin: 0 0 32px; max-width: 30em; font-size: 19px; }

/* Ruban de pensées */
.boucle {
  border-block: 1px solid var(--ligne); padding: 22px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ruban { display: flex; gap: 48px; width: max-content; animation: defile 48s linear infinite; }
.ruban span { white-space: nowrap; font-size: 20px; font-style: italic; color: rgba(244, 242, 250, .55); font-family: Georgia, "Times New Roman", serif; }
@keyframes defile { to { transform: translateX(calc(-50% - 24px)); } }

/* Les 4 blocs, en zig-zag */
.blocs { max-width: 1080px; margin: 0 auto; padding: 120px 24px 40px; display: flex; flex-direction: column; gap: 150px; }
.bloc { display: grid; grid-template-columns: 1fr 340px; align-items: center; gap: 80px; }
.bloc:nth-child(even) { grid-template-columns: 340px 1fr; }
.bloc:nth-child(even) .bloc-texte { order: 2; }
.numero { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.bloc h2, .confiance h2, .final h2, .etapes h2, .moments h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 18px; font-weight: 700; }
.bloc-texte { max-width: 460px; }
.bloc-texte p:last-child { color: var(--doux); margin: 0; }

/* Faux écrans */
.ecran {
  position: relative; width: 340px; padding: 30px 24px; border-radius: 38px;
  background: linear-gradient(180deg, #1b1828, #121019);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 80px -30px rgba(10, 5, 30, .9);
  display: flex; flex-direction: column; gap: 16px;
  transform-style: preserve-3d;
}
.ecran p { margin: 0; }
.etiquette { font-size: 12px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.faux-bouton { align-self: stretch; text-align: center; padding: 13px; border-radius: 999px; font-size: 15px; font-weight: 600; background: rgba(255, 255, 255, .1); color: #fff; }
.faux-bouton.clair { align-self: flex-end; padding: 10px 20px; background: #f4f2fa; color: #15121f; }
.ecrit { white-space: pre-wrap; }
.curseur { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }

.ecran-depot { background: linear-gradient(180deg, #5d3a63, #24172c); }
.ecran-titre { text-align: center; font-size: 24px; font-weight: 700; color: #fff; }
.papier {
  background: #fbf8f2; color: #2a2433; border-radius: 14px; padding: 18px; min-height: 156px;
  font: italic 17px/1.45 Georgia, serif; transform: rotate(-1.5deg);
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .45);
}
.puce { position: absolute; z-index: 2; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; animation: flotte-puce 4s ease-in-out infinite alternate; }
.p1 { left: -26px; top: 150px; background: var(--accent-fort); --r: -8deg; }
.p2 { right: -22px; top: 18px; background: #4f7d6f; --r: 6deg; animation-delay: -2s; }
@keyframes flotte-puce { from { transform: rotate(var(--r)) translateY(3px); } to { transform: rotate(var(--r)) translateY(-3px); } }
.etoile { position: absolute; z-index: 2; right: 22px; top: 214px; width: 22px; height: 22px; fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .8)); animation: brille 2.4s ease-in-out infinite alternate; }
.etoile svg { width: 100%; height: 100%; }
@keyframes brille { from { opacity: .35; transform: scale(.85) rotate(-10deg); } to { opacity: 1; transform: scale(1.05) rotate(8deg); } }

.question { font-size: 19px; line-height: 1.35; font-weight: 650; color: #fff; }
.reponse { background: rgba(255, 255, 255, .05); border: 1px solid var(--ligne); border-radius: 16px; padding: 14px; font-size: 15px; color: rgba(255, 255, 255, .86); min-height: 96px; }

.jauge { width: 100%; fill: none; stroke-width: 12; stroke-linecap: round; }
.fond-jauge { stroke: rgba(255, 255, 255, .1); }
.trait-jauge { stroke: var(--accent); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--ressort) .3s; }
.ecran-jauge.vu .trait-jauge { stroke-dashoffset: 28; }
.niveau { display: flex; flex-direction: column; align-items: center; margin-top: -72px !important; }
.niveau b { font-size: 46px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.niveau span { font-size: 13px; color: var(--doux); }
.semaine { display: flex; justify-content: space-between; margin-top: 10px; }
.semaine i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 650; background: rgba(255, 255, 255, .06); color: var(--doux); transition: background .5s var(--ressort), color .5s, transform .5s var(--ressort); }
.ecran-jauge.vu .semaine i.ok { background: var(--accent-fort); color: #fff; transform: scale(1.06); transition-delay: calc(var(--j) * 120ms + 700ms); }

.ecran-amis { align-items: center; padding-top: 96px; }
.notif {
  position: absolute; left: -20px; right: -20px; top: 18px; display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; border-radius: 20px; font-size: 14px; line-height: 1.25;
  background: rgba(44, 40, 60, .82); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 16px 30px -12px rgba(0, 0, 0, .7);
  transform: translateY(-14px) scale(.96); opacity: 0;
  transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), opacity .4s ease;
}
.notif.la { transform: none; opacity: 1; }
.notif small { margin-left: auto; align-self: flex-start; font-size: 11px; color: var(--doux); }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f6a5c0, #d77aa0); color: #fff; font-weight: 700; }
.enveloppe { width: 150px; height: 150px; object-fit: contain; -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 71%); mask-image: radial-gradient(circle, #000 55%, transparent 71%); animation: flotte-env 4.5s ease-in-out infinite alternate; }
@keyframes flotte-env { from { transform: translateY(4px) rotate(-2deg); } to { transform: translateY(-4px) rotate(2deg); } }
.message { background: rgba(255, 255, 255, .06); border: 1px solid var(--ligne); border-radius: 16px; padding: 14px; font-size: 15px; text-align: center; color: rgba(255, 255, 255, .9); }

/* Confidentialité : titre à gauche, liste à droite */
.confiance { max-width: 1080px; margin: 0 auto; padding: 140px 24px 110px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.confiance ul { list-style: none; margin: 0; padding: 0; }
.confiance li { padding: 22px 0; border-top: 1px solid var(--ligne); display: grid; gap: 4px; }
.confiance li:last-child { border-bottom: 1px solid var(--ligne); }
.confiance b { font-weight: 650; font-size: 19px; }
.confiance li span { color: var(--doux); font-size: 16px; }

/* Appel final */
.final {
  position: relative; max-width: 1080px; margin: 0 auto 60px; padding: 70px 64px; border-radius: 40px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; overflow: hidden;
  background: radial-gradient(80% 120% at 85% 50%, rgba(110, 86, 200, .5), transparent 65%), var(--surface);
  border: 1px solid var(--ligne); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.final h2 { max-width: 13ch; margin-bottom: 30px; }
.final-bulle { width: 200px; height: auto; filter: drop-shadow(0 20px 30px rgba(20, 10, 50, .7)); animation: flotte-env 5s ease-in-out infinite alternate; }

/* Pied de page */
.pied { max-width: 1180px; margin: 0 auto; padding: 32px 24px 44px; border-top: 1px solid var(--ligne); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; font-size: 14px; color: var(--doux); }
.pied nav { display: flex; flex-wrap: wrap; gap: 20px; }
.pied a { color: var(--doux); text-decoration: none; transition: color .3s; }
.pied a:hover { color: var(--texte); }
.pied .marque { color: var(--texte); }
.pied p { width: 100%; margin: 0; font-size: 13px; opacity: .7; }

/* Pages secondaires */
.page { max-width: 720px; margin: 0 auto; padding: 30px 24px 80px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -.03em; margin: 0 0 24px; }
.page h2 { font-size: 21px; margin: 38px 0 10px; letter-spacing: -.01em; }
.page p, .page li { color: var(--doux); }
.page a { color: var(--accent); }
.page ul { padding-left: 20px; }
.urgence { margin-top: 36px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--ligne); }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .barre { padding: 14px 16px; }
  .hero-int { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 16px 70px; min-height: 0; text-align: center; }
  .systeme { width: 430px; max-width: none; margin: -10px 0 -70px;
    -webkit-mask-image: linear-gradient(#000 68%, transparent 92%); mask-image: linear-gradient(#000 68%, transparent 92%); }
  .carte { width: 66px; height: 66px; border-radius: 17px; font-size: 9px; gap: 4px; }
  .pastille { width: 26px; height: 26px; }
  .pastille svg { width: 13px; height: 13px; }
  .texte h1 { margin-inline: auto; }
  .chapo { margin-inline: auto; font-size: 17px; }
  .bouton { width: 100%; }
  .ruban span { font-size: 17px; }
  .blocs { padding: 80px 16px 20px; gap: 90px; }
  .bloc, .bloc:nth-child(even) { grid-template-columns: 1fr; gap: 36px; justify-items: center; text-align: center; }
  .bloc:nth-child(even) .bloc-texte { order: 0; }
  .ecran { width: 300px; }
  .p1 { left: -10px; } .p2 { right: -10px; } .notif { left: -12px; right: -12px; }
  .confiance { grid-template-columns: 1fr; gap: 20px; padding: 100px 16px 80px; }
  .final { grid-template-columns: 1fr; margin: 0 16px 40px; padding: 48px 24px; text-align: center; justify-items: center; }
  .final-bulle { order: -1; width: 120px; }
  .final h2 { margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .entree, .revele, .notif { opacity: 1 !important; transform: none !important; }
  .carte { opacity: 1 !important; }
  .anneau { opacity: 1 !important; transform: translate(-50%, -50%) !important; }
  .trait-jauge { stroke-dashoffset: 28; }
}

/* ---- Textes vivants ----
   Les titres montent mot par mot depuis une fente, le surtitre se dessine
   de gauche à droite, le paragraphe passe du flou au net. */
.mot { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin: 0 -.02em -.1em; }
.mot > span {
  display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: 0 100%;
  transition: transform 1.1s var(--ressort); transition-delay: calc(var(--m) * 55ms + var(--base, 0ms));
}
.vu .mot > span, .mots-la .mot > span { transform: none; }

.bloc-texte.revele, .confiance-titre.revele, .final-texte.revele { opacity: 1; transform: none; }
.revele .numero {
  display: inline-flex; align-items: center; gap: 10px;
  clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ressort);
}
.revele .numero::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.vu .numero { clip-path: inset(0 0 0 0); }
.bloc-texte > p:last-child, .confiance li, .final .bouton {
  opacity: 0; filter: blur(8px); transform: translateY(16px);
  transition: opacity 1s var(--ressort), filter 1s var(--ressort), transform 1s var(--ressort);
  transition-delay: .45s;
}
.vu > p:last-child, .vu li, .vu .bouton { opacity: 1; filter: none; transform: none; }
.confiance ul.revele { opacity: 1; transform: none; }
.confiance li:nth-child(2) { transition-delay: .6s; }
.confiance li:nth-child(3) { transition-delay: .75s; }
.vu .bouton:hover { transform: translateY(-2px); }

/* Les faux écrans, une fois posés, suivent le défilement (parallaxe douce). */
.ecran.revele { transform: translateY(60px) scale(.96); }
.ecran.revele.vu { transform: translateY(var(--py, 0px)); }
.ecran.pose { transition: opacity 1s var(--ressort); }
.ruban.vivant { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .mot > span, .numero, .bloc-texte > p:last-child, .confiance li, .final .bouton { transform: none !important; opacity: 1 !important; filter: none !important; clip-path: none !important; }
  .ecran.revele { transform: none !important; }
}

/* ---- Trois rituels : la section reste collée à l'écran pendant que le
   défilement fait avancer les trois features, puis la page reprend. ---- */
.etapes { position: relative; height: 320vh; }
.etapes-colle { position: sticky; top: 0; height: 100vh; height: 100dvh; max-width: 1080px; margin: 0 auto; padding: 72px 24px 28px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.etapes-titre { max-width: 560px; }
.etapes-titre h2 { margin-bottom: 0; }
.parcours { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.parcours::before { content: ""; position: absolute; left: 14%; right: 14%; top: 14px; border-top: 1px dashed rgba(255,255,255,.15); }
.etape { display: flex; flex-direction: column; align-items: center; gap: 16px; opacity: .38; transform: scale(.94); filter: saturate(.6); transition: opacity .7s var(--ressort), transform .7s var(--ressort), filter .7s; }
.etape.actif { opacity: 1; transform: none; filter: none; }
.etape-nom { position: relative; padding: 4px 14px; border-radius: 999px; background: var(--fond); border: 1px solid var(--ligne); font-size: 14px; font-weight: 600; white-space: nowrap; transition: border-color .5s; }
.etape-nom b { color: var(--accent); margin-right: 4px; }
.etape.actif .etape-nom { border-color: rgba(168,145,232,.55); }
.mini { position: relative; width: 100%; max-width: 250px; aspect-ratio: 9 / 13; max-height: 46vh; border-radius: 30px; padding: 22px 18px; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(180deg, #1b1828, #121019); border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 30px 60px -30px rgba(10,5,30,.9); }
.mini-question { margin: 0; font-weight: 650; font-size: 16px; line-height: 1.3; }
.mini-reponse { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--ligne); font-size: 14px; color: rgba(255,255,255,.85); }
.mini-plie { background: linear-gradient(180deg, #5d3a63, #24172c); align-items: center; }
.mini-titre { margin: 0; text-align: center; font-weight: 700; font-size: 18px; }
.mini-papier { background: #fbf8f2; color: #2a2433; border-radius: 12px; padding: 14px; font: italic 15px/1.4 Georgia, serif; min-height: 110px; }
.pli { width: 88%; transform: rotate(-1.5deg); transform-origin: 50% 50%; }
.etape.actif .pli { animation: plie 3s var(--ressort) infinite; }
@keyframes plie { 0%, 15% { transform: rotate(-1.5deg); opacity: 1; } 50% { transform: scale(.55, .2) rotate(6deg); opacity: 1; border-radius: 40px; } 65%, 100% { transform: scale(.05); opacity: 0; } }
.mini-etoile { position: absolute; left: 50%; top: 52%; width: 34px; height: 34px; margin: -17px 0 0 -17px; opacity: 0; background: #fff; clip-path: polygon(50% 0, 61% 36%, 98% 38%, 68% 60%, 79% 96%, 50% 75%, 21% 96%, 32% 60%, 2% 38%, 39% 36%); filter: drop-shadow(0 0 8px #fff); }
.etape.actif .mini-etoile { animation: nait 3s var(--ressort) infinite; }
@keyframes nait { 0%, 55% { opacity: 0; transform: scale(.2) rotate(-40deg); } 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(30px, -120px) scale(.5); } }
.mini-souffle { align-items: center; }
.mini-souffle .rond { width: 150px; height: 150px; margin: auto 0; }
.etape:not(.actif) .rond, .etape:not(.actif) .rond span { animation-play-state: paused; }
.jauge-etape { width: 60%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.jauge-etape i { display: block; height: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.etapes-textes { display: grid; max-width: 560px; }
.etape-texte { grid-area: 1 / 1; margin: 0; color: var(--doux); opacity: 0; transform: translateY(12px); filter: blur(6px); transition: opacity .6s var(--ressort), transform .6s var(--ressort), filter .6s var(--ressort); }
.etape-texte b { color: var(--texte); font-weight: 650; }
.etape-texte.actif { opacity: 1; transform: none; filter: none; }

/* ---- Pour chaque moment : onglets qui avancent tout seuls ---- */
.moments { max-width: 1080px; margin: 0 auto; padding: 120px 24px 0; }
.moments-titre { max-width: 560px; }
.onglets { display: flex; gap: 8px; margin: 36px 0 22px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--ligne); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.onglets button { position: relative; overflow: hidden; flex: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--doux); background: none; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: color .3s, background .3s; }
.onglets button[aria-selected="true"] { color: var(--texte); background: rgba(255,255,255,.07); }
.onglets button i { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.onglets button[aria-selected="true"] i { animation: avance var(--duree, 6s) linear forwards; }
.onglets.arret button i { animation: none; }
@keyframes avance { to { transform: scaleX(1); } }
.scene { position: relative; display: grid; border-radius: 36px; background: var(--surface); border: 1px solid var(--ligne); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); overflow: hidden; min-height: 400px; }
.volet { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 48px 56px; opacity: 0; visibility: hidden; transition: opacity .6s var(--ressort), visibility .6s; }
.volet.actif { opacity: 1; visibility: visible; }
.volet h3 { font-size: 28px; letter-spacing: -.02em; margin: 0 0 12px; }
.volet-texte p { color: var(--doux); margin: 0; }
.volet .volet-texte, .volet .volet-visuel { transform: translateY(18px); transition: transform .8s var(--ressort); }
.volet.actif .volet-texte, .volet.actif .volet-visuel { transform: none; }
.volet.actif .volet-visuel { transition-delay: .08s; }
.volet-visuel { display: flex; justify-content: center; }
.ecran.petit { width: 300px; }
.souffle { align-items: center; }
.rond { position: relative; width: 170px; height: 170px; margin: 10px 0; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), rgba(133,201,230,.25) 45%, rgba(133,201,230,.08) 70%); border: 1px solid rgba(133,201,230,.35);
  animation: souffle 10s ease-in-out infinite; }
.rond span { position: absolute; font-weight: 600; font-size: 17px; }
.inspire { animation: mot-a 10s ease-in-out infinite; }
.expire { animation: mot-b 10s ease-in-out infinite; }
@keyframes souffle { 0%, 100% { transform: scale(.7); } 50% { transform: scale(1); } }
@keyframes mot-a { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } }
@keyframes mot-b { 0%, 45% { opacity: 0; } 50%, 95% { opacity: 1; } }
.gratitude { display: grid; gap: 10px; }
.gratitude b { font-weight: 500; font-size: 15px; padding: 12px 14px; border-radius: 14px; background: #f3ead9; color: #3a3226; }

@media (max-width: 860px) {
  .moments { padding: 90px 16px 0; text-align: center; }
  .moments-titre, .etapes-titre { margin-inline: auto; }
  .etapes-colle { padding: 64px 16px 20px; text-align: center; gap: 20px; }
  .parcours { grid-template-columns: 1fr; }
  .parcours::before { display: none; }
  .etape:not(.actif) { display: none; }
  .mini { max-width: 230px; }
  .etapes-textes { margin-inline: auto; }
  .onglets { margin-inline: auto; }
  .volet { grid-template-columns: 1fr; padding: 32px 20px; gap: 28px; text-align: center; }
  .ecran.petit { width: 270px; }
}
@media (prefers-reduced-motion: reduce) {
  .rond { transform: scale(.85); }
  .expire { opacity: 0; }
}
