/* Présentation V2 en slides : copie adaptée du moteur de la première étape (../../presentation/).
   Une diapositive par écran, navigation clavier, balayage, molette. */
html, body { height: 100%; }
body { overflow: hidden; background: var(--nuit); }

.deck { position: fixed; inset: 0; }
.slide {
  position: absolute; inset: 0; display: grid; align-items: center; overflow-y: auto; overflow-x: hidden;
  padding: 84px clamp(20px, 5vw, 72px) 96px; visibility: hidden; opacity: 0; transform: translateX(40px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .55s;
  background: #fff; color: var(--texte);
}
.slide.avant { transform: translateX(-40px); }
.slide.active { visibility: visible; opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.slide.sombre { background: var(--nuit); color: #fff; }
.slide.lilas { background: var(--lilas); }
.slide .in { width: 100%; max-width: 1180px; margin: 0 auto; display: grid; gap: 24px; min-width: 0; }

/* apparition des éléments, en cascade */
.slide [data-a] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms + 150ms); }
.slide.active [data-a] { opacity: 1; transform: none; }

/* décor : calque qui ne rallonge pas la diapositive (dans la première étape, les halos ajoutaient un défilement vide) */
.deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob.a { width: 62vmax; height: 62vmax; right: -24vmax; top: -26vmax; background: radial-gradient(circle at 35% 35%, rgba(255, 0, 251, .42), rgba(128, 43, 255, .25) 45%, transparent 70%); }
.blob.b { width: 50vmax; height: 50vmax; left: -22vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(128, 43, 255, .38), transparent 65%); }
.slide > .in { position: relative; z-index: 1; }

/* typographie des slides */
.titre-xl { font-size: clamp(40px, 7vw, 88px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; }
.titre { font-size: clamp(30px, 4.2vw, 54px); font-weight: 800; }
.titre-fin { font-size: clamp(36px, 5vw, 64px); font-weight: 900; letter-spacing: -0.03em; }
.chapo { font-size: clamp(17px, 1.7vw, 21px); font-weight: 300; color: var(--texte-2); max-width: 64ch; }
.sombre .chapo { color: #ddd3f2; }
.petit { font-size: 14px; color: var(--texte-3); }
.sombre .petit { color: #b7acd3; }
.tete { display: grid; gap: 14px; }
.ph { font-style: normal; font-size: .92em; color: #9a1a8a; background: #fbe9fa; border-radius: 6px; padding: 0 5px; }
.sombre .ph { color: #ffc4f7; background: rgba(255, 0, 251, .14); }
.actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* barre du haut et commandes */
.barre { position: fixed; z-index: 10; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px clamp(16px, 4vw, 40px); pointer-events: none; }
.barre > * { pointer-events: auto; }
.barre .logo { height: 34px; display: block; }
.barre .logo.d { display: none; }
body.clair .barre .logo.l { display: none; }
body.clair .barre .logo.d { display: block; }
.barre .retour { font-size: 13px; font-weight: 600; text-decoration: none; color: #cfc4ea; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); }
body.clair .barre .retour { color: var(--texte-2); border-color: var(--trait); background: rgba(255, 255, 255, .8); }

.commandes { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 16px clamp(16px, 4vw, 40px) calc(16px + env(safe-area-inset-bottom, 0px)); }
.points { display: flex; gap: 7px; flex: 1; flex-wrap: wrap; }
.points button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .3); cursor: pointer; transition: width .3s ease, background .3s ease; }
.points button.on { width: 28px; background: var(--grad); }
body.clair .points button { background: #d8cdee; }
body.clair .points button.on { background: var(--grad); }
.compteur { font-size: 13px; font-variant-numeric: tabular-nums; color: #b7acd3; min-width: 52px; text-align: right; }
body.clair .compteur { color: var(--texte-3); }
.nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; font-size: 20px; cursor: pointer; display: grid; place-items: center; transition: background .2s ease; }
.nav:hover { background: rgba(255, 255, 255, .16); }
.nav.suiv { background: var(--grad); border: 0; }
body.clair .nav { color: var(--nuit); border-color: var(--trait); background: #fff; }
body.clair .nav.suiv { color: #fff; background: var(--grad); }
.nav:disabled { opacity: .3; cursor: default; }
.progression { position: fixed; z-index: 11; left: 0; top: 0; height: 3px; background: var(--grad); transition: width .5s ease; }

/* 1. couverture */
.couv .in { gap: 30px; }
.couv .indice { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #b7acd3; flex-wrap: wrap; }
.couv .indice kbd { font-family: inherit; font-size: 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px; padding: 1px 7px; }
.pastille-v2 { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); font-size: 13px; font-weight: 600; color: #e4dcf6; }
.pastille-v2 b { display: grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 12px; letter-spacing: .04em; }

/* 2. décisions du 7 octobre */
.citation { position: relative; font-size: clamp(22px, 3vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; padding-left: 34px; max-width: 30ch; }
.citation::before { content: "«"; position: absolute; left: -6px; top: -14px; font-size: 64px; line-height: 1; color: var(--magenta); }
.qui { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--texte-2); }
.qui img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.puces6 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.puces6 > div { display: grid; gap: 6px; align-content: start; padding: 16px 18px; border-radius: 16px; background: var(--lilas); min-width: 0; }
.puces6 b { font-size: 15.5px; line-height: 1.3; }
.puces6 span { font-size: 14px; color: var(--texte-2); }
.puces6 i { font-style: normal; font-weight: 800; font-size: 13px; color: var(--violet); }
.deux { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.deux > * { min-width: 0; }

/* 3. le site en un schéma */
.ecran { border-radius: 18px; background: #fff; box-shadow: var(--ombre); border: 1px solid var(--trait); overflow: hidden; min-width: 0; }
.ecran .chrome { display: flex; gap: 6px; padding: 10px 14px; background: #f1edf8; border-bottom: 1px solid var(--trait); align-items: center; }
.ecran .chrome i { width: 9px; height: 9px; border-radius: 50%; background: #d4cbe6; flex: none; }
.ecran .chrome span { margin-left: 10px; font-size: 11px; color: var(--texte-3); }
.ecran .nav-site { display: flex; gap: 6px 16px; flex-wrap: wrap; align-items: center; padding: 12px 16px; background: var(--nuit); color: #fff; font-size: 12px; font-weight: 600; }
.ecran .nav-site .lg { font-weight: 800; margin-right: 6px; }
.ecran .nav-site .tel { margin-left: auto; color: var(--accent-sombre); white-space: nowrap; }
.ecran .nav-site .rdv { padding: 5px 11px; border-radius: 99px; background: var(--grad); white-space: nowrap; }
.ecran .corps { padding: 14px 16px; display: grid; gap: 10px; }
.accueil-l { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--lilas); font-size: 13px; color: var(--texte-2); }
.accueil-l b { font-size: 13px; color: var(--texte); text-transform: uppercase; letter-spacing: .08em; }
.accueil-l q { quotes: "« " " »"; font-weight: 600; color: var(--texte); }
.plan-site { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 10px; }
.plan-site .col { display: grid; gap: 6px; align-content: start; min-width: 0; }
.plan-site .col > b { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--violet); padding: 2px 2px 4px; border-bottom: 2px solid var(--lilas-2); }
.plan-site .pg { padding: 6px 10px; border-radius: 10px; border: 1px solid var(--trait); background: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.plan-site .pg small { display: block; font-weight: 400; color: var(--texte-3); font-size: 11.5px; margin-top: 2px; }
.plan-site .pg.fort { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.plan-site .pg.fort small { color: #cfc4ea; }
.hors-menu { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: var(--texte-3); }
.hors-menu span { padding: 4px 10px; border-radius: 99px; background: #f1edf8; color: var(--texte-2); font-weight: 600; }
.gestes { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; padding: 14px 18px; border-radius: 16px; background: var(--nuit); color: #fff; }
.gestes > b { font-size: 14px; }
.gestes span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #e4dcf6; }
.gestes span i { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 12px; }
.gestes img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.gestes .btn { margin-left: auto; font-size: 14px; }

/* 4. deux profils */
.profils { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.profil { display: grid; gap: 10px; align-content: start; padding: 18px 20px; border-radius: 20px; border: 1px solid var(--trait); background: #fff; box-shadow: 0 10px 30px -20px rgba(14, 0, 36, .35); min-width: 0; }
.profil .nom { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.profil .nom h3 { font-size: 26px; font-weight: 800; }
.profil .nom span { font-size: 12.5px; color: var(--texte-3); }
.profil .accroche { font-size: 19px; font-weight: 700; color: var(--violet); quotes: "« " " »"; }
.profil .sous { display: flex; gap: 6px; flex-wrap: wrap; }
.profil .sous span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--lilas-2); color: var(--violet); }
.situations { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: s; }
.situations li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; font-size: 14px; line-height: 1.35; padding: 4px 8px; border-radius: 10px; transition: background .3s ease; }
.situations li::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--lilas); color: var(--violet); font-weight: 800; font-size: 13px; transition: background .3s ease, color .3s ease; }
.situations li.on { background: var(--lilas); }
.situations li.on::before { background: var(--violet); color: #fff; }
.profil .offre { font-size: 13.5px; color: var(--texte-2); padding-top: 10px; border-top: 1px solid var(--trait); }
.profil .offre b { color: var(--texte); }
.question-v { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--nuit); color: #fff; }
.question-v small { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-sombre); font-weight: 700; }
.question-v p { font-size: 15px; font-weight: 600; }
.bas-profils { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; align-items: center; }
.parcours { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; }
.parcours span { padding: 5px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--trait); font-weight: 600; opacity: .35; transition: opacity .35s ease, border-color .35s ease; }
.parcours span.on { opacity: 1; border-color: var(--violet); }
.parcours span.fin { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.parcours i { font-style: normal; color: var(--texte-3); }

/* 5. ce qui disparaît */
.sortent { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sort { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); min-width: 0; }
.sort b { font-size: 15px; line-height: 1.3; color: #fff; text-decoration: line-through; text-decoration-color: rgba(255, 0, 251, .75); text-decoration-thickness: 2px; }
.sort span { font-size: 13.5px; color: #d9cff0; }
.chiffre-cle { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.chiffre-cle .v { font-size: clamp(44px, 6vw, 72px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.chiffre-cle p { max-width: 56ch; color: var(--texte-2); }
.sombre .chiffre-cle p { color: #ddd3f2; }

/* 6. rassurance */
.chemin { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.chemin .pas { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px 20px; border-radius: 20px; background: #fff; box-shadow: var(--ombre); min-width: 0; }
.chemin .pas .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 17px; }
.chemin .pas h3 { font-size: 21px; font-weight: 800; }
.chemin .pas p { color: var(--texte-2); font-size: 14.5px; }
.chemin .pas img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; position: absolute; right: 18px; top: 18px; border: 2px solid var(--lilas-2); }
.garde-fous { display: grid; gap: 10px; padding: 18px 20px; border-radius: 18px; background: var(--nuit); color: #fff; }
.garde-fous b { font-size: 15px; }
.garde-fous ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.garde-fous li { position: relative; padding-left: 20px; font-size: 14px; color: #e4dcf6; }
.garde-fous li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-sombre); font-weight: 800; }

/* 7. ce qui reste à trancher */
.trancher { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.point { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 16px; border: 1px solid var(--trait); background: #fff; min-width: 0; }
.point .q { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.point .q i { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--grad); color: #fff; letter-spacing: 0; font-size: 13px; }
.point b { font-size: 15px; line-height: 1.3; }
.point .av { font-size: 13.5px; color: var(--texte-2); }
.point .av::before { content: "Notre avis : "; font-weight: 700; color: var(--ok); }
.point.large { grid-column: 1 / -1; grid-template-columns: minmax(150px, max-content) 1fr 1fr; align-items: baseline; column-gap: 18px; }
.badge-reco { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; justify-self: start; }

/* 8. ce qu'on attend */
.attentes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.attente { display: grid; gap: 8px; align-content: start; padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); min-width: 0; }
.attente h3 { display: flex; gap: 10px; align-items: center; font-size: 19px; font-weight: 800; }
.attente h3 img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.attente ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.attente li { position: relative; padding-left: 20px; font-size: 14.5px; color: #e4dcf6; }
.attente li::before { content: "→"; position: absolute; left: 0; color: var(--accent-sombre); font-weight: 800; }
.attente li b { color: #fff; }
.fin .echeance { display: flex; gap: 20px; align-items: center; justify-self: start; padding: 20px 28px 22px 22px; border-radius: 24px; background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(232, 107, 255, .65); box-shadow: 0 24px 60px -30px rgba(255, 0, 251, .55); }
.fin .echeance .pic { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); }
.fin .echeance .pic svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fin .echeance .lbl { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-sombre); margin-bottom: 4px; }
.fin .echeance strong { display: block; font-size: clamp(28px, 4vw, 50px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; color: #fff; }
.fin .echeance .apres { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 15px; color: #ddd3f2; }
.fin .echeance .apres b { color: #fff; }

/* adaptation mobile et petits écrans */
@media (max-width: 1080px) {
  .sortent, .trancher { grid-template-columns: repeat(2, 1fr); }
  .point.large { grid-template-columns: 1fr; }
  .plan-site { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chemin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .deux, .profils, .attentes, .bas-profils { grid-template-columns: 1fr; }
  .gestes .btn { margin-left: 0; }
}
@media (max-width: 720px) {
  .slide { align-items: start; padding: 76px 16px 96px; }
  .puces6, .sortent, .trancher, .chemin { grid-template-columns: 1fr; }
  .plan-site { grid-template-columns: 1fr 1fr; }
  .garde-fous ul { grid-template-columns: 1fr; }
  .ecran .nav-site { font-size: 11px; gap: 4px 10px; }
  .ecran .nav-site .tel { margin-left: 0; }
  .fin .echeance { gap: 14px; padding: 16px 18px; }
  .fin .echeance .pic { width: 48px; height: 48px; border-radius: 14px; }
  .fin .echeance .pic svg { width: 24px; height: 24px; }
  .barre .retour { display: none; }
  .nav { width: 42px; height: 42px; }
  .commandes { background: linear-gradient(rgba(14, 0, 36, 0), rgba(14, 0, 36, .94) 45%); }
  body.clair .commandes { background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .96) 45%); }
  .barre { background: linear-gradient(rgba(14, 0, 36, .96) 72%, rgba(14, 0, 36, 0)); } /* fond plein sous le logo quand la diapositive défile */
  body.clair .barre { background: linear-gradient(rgba(255, 255, 255, .97) 72%, rgba(255, 255, 255, 0)); }
  body.lilas-fond .barre { background: linear-gradient(rgba(248, 244, 254, .97) 72%, rgba(248, 244, 254, 0)); }
}
@media (max-height: 760px) and (min-width: 721px) {
  .slide { align-items: start; padding-top: 76px; }
}
/* diapositive 7 sur un écran d'ordinateur peu haut (1 920 × 970, 1 536 × 864, 1 440 × 790, 1 366 × 768,
   barre du navigateur déduite) : neuf points sans dépasser, la carte 9 jamais sous la barre de navigation */
@media (min-width: 1081px) and (max-height: 1000px) {
  .slide:has(.trancher) { padding-top: 64px; padding-bottom: 84px; }
  .slide:has(.trancher) .in { gap: 14px; }
  .slide:has(.trancher) .tete { gap: 8px; }
  .slide:has(.trancher) .titre { font-size: 40px; }
  .slide:has(.trancher) .badge-reco { padding: 5px 14px; font-size: 13px; }
  .slide:has(.trancher) .chapo { font-size: 16px; max-width: none; }
  .trancher { gap: 10px; }
  .trancher .point { padding: 12px 14px; gap: 6px; }
  .trancher .point b { font-size: 14px; line-height: 1.25; }
  .trancher .point .av { font-size: 12.5px; line-height: 1.4; }
  .point.large { grid-template-columns: minmax(150px, max-content) 1fr 1.3fr; }
}
@media (min-width: 1081px) and (max-height: 760px) {
  .slide:has(.trancher) { padding-top: 58px; padding-bottom: 80px; }
  .slide:has(.trancher) .in { gap: 10px; }
  .slide:has(.trancher) .titre { font-size: 34px; }
  .slide:has(.trancher) .chapo { font-size: 15px; }
  .trancher { gap: 8px; }
  .trancher .point { padding: 10px 12px; gap: 4px; }
  .trancher .point .q { font-size: 11px; }
  .trancher .point .q i { width: 22px; height: 22px; font-size: 12px; }
}
