@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-italique.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }

/* vivii — liste d'attente. Ambiance « Nuit » de l'app.
   Mise en page : une colonne sur téléphone ; sur grand écran, l'ouverture
   et le fil du jour passent en deux colonnes, le reste garde sa mesure. */
:root {
  --nuit-0: #040919;
  --nuit-1: #0B1838;
  --nuit-2: #13285A;
  --encre: #EFF3FF;
  --doux: #A9B6D6;
  --pale: #6F7FA8;
  --accent: #9CC4FF;
  --lueur: #A78BFA;
  --cyan: #6EC6D9;
  --bouton: #E6EEFF;
  --bouton-encre: #0B1838;
  --verre: rgba(16, 32, 72, .62);
  --verre-bord: rgba(255, 255, 255, .14);
  --pastille: rgba(255, 255, 255, .07);
  --pastille-bord: rgba(255, 255, 255, .16);
  --erreur: #FFB4C0;

  --titre: 'Cormorant Garamond', 'Cormorant', Garamond, Georgia, serif;
  --texte: 'Figtree', 'Helvetica Neue', system-ui, sans-serif;

  --mesure: 1120px;
  --gouttiere: clamp(18px, 5vw, 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--nuit-0); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--nuit-0);
  color: var(--encre);
  font: 400 17px/1.55 var(--texte);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Le ciel ── */
#ciel {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0;
  background: linear-gradient(180deg, var(--nuit-0), var(--nuit-1) 55%, var(--nuit-2));
}
.voile {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 0%, transparent 40%, rgba(2, 6, 20, .45));
}

/* Les étoiles de l'app : nettes, au-dessus des nuages */
#etoiles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* Le contenu passe devant le ciel */
main, .pied { position: relative; z-index: 1; }

/* ── Barre ── */
.barre {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gouttiere) 12px;
  transition: background .4s, backdrop-filter .4s;
}
.barre.collee { background: rgba(4, 9, 25, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--encre); text-decoration: none; font: 400 30px/1 var(--titre); letter-spacing: .02em; }
.logo canvas { width: 30px; height: 30px; }
.bouton-petit {
  height: 40px; padding: 0 16px; border-radius: 20px; display: inline-flex; align-items: center;
  background: var(--pastille); border: 1px solid var(--pastille-bord); color: var(--encre);
  font: 600 14px var(--texte); text-decoration: none; white-space: nowrap;
  transition: background .25s, transform .25s;
}
.bouton-petit:hover { background: rgba(255, 255, 255, .14); transform: translateY(-1px); }

main > section { width: min(100%, var(--mesure)); margin-inline: auto; padding-inline: var(--gouttiere); }
.ouverture, .essai, .fil, .ouverture-texte, .ouverture-vivi, .fin, .inscription { grid-template-columns: minmax(0, 1fr); }
main > section > * { min-width: 0; }

/* ── Typo ── */
h1, h2, h3 { font-family: var(--titre); font-weight: 500; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(50px, 12.5vw, 96px); line-height: .98; letter-spacing: -.015em; }
h2 { font-size: clamp(36px, 7.2vw, 62px); line-height: 1.04; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: 0; font-weight: 600; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.etiquette, .sur-titre { margin: 0 0 14px; font: 700 12px var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--doux); }
p { margin: 0; text-wrap: pretty; }

/* ── Ouverture ── */
.ouverture {
  display: grid; gap: 8px;
  padding-block: clamp(8px, 3vw, 40px) clamp(56px, 10vw, 120px);
}
.ouverture-vivi { order: -1; display: grid; justify-items: center; gap: 4px; position: relative; }
.scene-orbe { --t: min(74vw, 360px); width: var(--t); aspect-ratio: 1; position: relative; margin-bottom: calc(var(--t) * -.09); }
.scene-orbe canvas, #orbe { width: 100%; height: 100%; display: block; }

/* ── La démo : l'orbe raconte ── */
.orbe-bouton {
  appearance: none; border: 0; padding: 0; margin: 0; background: none; color: inherit; font: inherit;
  display: block; width: 100%; height: 100%; border-radius: 50%; cursor: pointer;
  -webkit-tap-highlight-color: transparent; position: relative;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.orbe-bouton:active { transform: scale(.97); }
.orbe-bouton:focus-visible { outline: 2px solid var(--accent); outline-offset: -14%; }
/* Au repos, un halo bat doucement pour inviter à toucher. */
.orbe-bouton::after {
  content: ''; position: absolute; inset: 24%; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(156, 196, 255, .35), 0 0 40px rgba(143, 184, 255, .25);
  animation: appel 2.8s ease-out infinite; opacity: 0;
}
.demo-joue .orbe-bouton::after, .demo-vue .orbe-bouton::after { animation: none; }
@keyframes appel { 0% { transform: scale(.92); opacity: 0; } 30% { opacity: .9; } 100% { transform: scale(1.32); opacity: 0; } }

/* Les paroles d'accueil et les mots de l'histoire partagent la même place. */
.voix-off { display: grid; width: 100%; justify-items: center; position: relative; pointer-events: none; }
.voix-off > * { grid-area: 1 / 1; }
.parole, .sous-titre {
  min-height: 3.2em; max-width: 30ch; text-align: center;
  font: 500 clamp(22px, 5.2vw, 27px)/1.25 var(--titre); letter-spacing: 0; color: var(--encre);
}
.parole .mot { white-space: nowrap; opacity: 0; transition: opacity .35s ease, filter .35s ease; filter: blur(3px); }
.parole .mot.vu { opacity: 1; filter: none; }
.parole { transition: opacity .5s ease; }
.demo-joue .parole { opacity: 0; pointer-events: none; }
.sous-titre { display: grid; align-content: start; margin: 0; max-width: 24ch; pointer-events: none; text-shadow: 0 0 24px rgba(143, 184, 255, .45), 0 2px 14px rgba(2, 6, 20, .7); }
.sous-titre .ligne { grid-area: 1 / 1; display: block; transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1), filter .7s ease; }
.sous-titre .ligne.part { opacity: 0; transform: translateY(-26px) scale(.96); filter: blur(8px); transition: opacity .38s ease, transform .6s ease-out, filter .38s ease; }
.sous-titre .m { display: inline-block; white-space: nowrap; opacity: 0; will-change: transform, opacity; }
.sous-titre .m.vu {
  opacity: 1; transform: none !important; filter: none !important;
  transition: opacity .55s ease, transform .9s cubic-bezier(.16, .84, .3, 1), filter .7s ease;
}

.voix-choix {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 10px; padding: 4px;
  border-radius: 22px; background: rgba(4, 9, 25, .45); border: 1px solid var(--pastille-bord);
}
.voix-choix button {
  position: relative; z-index: 1; appearance: none; border: 0; background: none; cursor: pointer;
  height: 34px; padding: 0 16px; border-radius: 17px; color: var(--doux); font: 600 13.5px var(--texte); white-space: nowrap;
  transition: color .3s;
}
.voix-choix button[aria-checked="true"] { color: var(--bouton-encre); }
.voix-curseur {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 17px;
  background: var(--bouton); box-shadow: 0 0 18px rgba(156, 196, 255, .35);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.voix-choix[data-voix="homme"] .voix-curseur { transform: translateX(100%); }

.pastilles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.pastille {
  position: relative; overflow: hidden; isolation: isolate; appearance: none; cursor: pointer;
  height: 42px; padding: 0 18px; border-radius: 21px; white-space: nowrap;
  background: var(--pastille); border: 1px solid var(--pastille-bord); color: var(--encre);
  font: 500 19px/1 var(--titre); transition: background .3s, border-color .3s, transform .25s;
}
.pastille:hover { background: rgba(255, 255, 255, .12); transform: translateY(-1px); }
.pastille[aria-pressed="true"] { border-color: rgba(156, 196, 255, .75); background: rgba(156, 196, 255, .14); box-shadow: 0 0 22px -6px rgba(143, 184, 255, .7); }
/* Pendant l'écoute, la pastille choisie se remplit comme une barre de progression. */
.pastille::before {
  content: ''; position: absolute; inset: 0; z-index: -1; transform-origin: left; transform: scaleX(var(--avance, 0));
  background: linear-gradient(90deg, rgba(110, 198, 217, .28), rgba(167, 139, 250, .34));
}
.pastille[aria-pressed="false"]::before { transform: scaleX(0); }

.astuce { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 14px; color: var(--doux); min-height: 22px; }
.astuce svg { width: 20px; height: 20px; flex: none; fill: var(--accent); stroke: var(--accent); stroke-width: 0; }
.astuce .onde { fill: none; stroke-width: 1.8; stroke-linecap: round; animation: onde 1.6s ease-in-out infinite; }
.astuce .onde-2 { animation-delay: .25s; }
@keyframes onde { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.chapo { margin-top: 20px; max-width: 34ch; font-size: clamp(17px, 2.2vw, 20px); color: var(--doux); }
.ouverture-texte { display: grid; justify-items: start; }

/* ── Formulaire ── */
.inscription { width: 100%; max-width: 520px; margin-top: 28px; display: grid; gap: 10px; }
.champ {
  display: flex; gap: 6px; padding: 6px; border-radius: 34px;
  background: var(--verre); border: 1px solid var(--verre-bord);
  box-shadow: 0 20px 50px -24px rgba(46, 134, 255, .55);
  position: relative; isolation: isolate;
}
/* Le liseré qui fait le tour, comme le champ de l'app */
.champ::before {
  content: ''; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: conic-gradient(from var(--angle), transparent 0 55%, var(--lueur) 72%, #F2A07E 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: tour 5s linear infinite;
}
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes tour { to { --angle: 360deg; } }
.champ input {
  flex: 1; min-width: 0; height: 50px; padding: 0 16px; border: 0; border-radius: 26px;
  background: transparent; color: var(--encre); font: 500 17px var(--texte); outline: none;
}
.champ input::placeholder { color: var(--pale); }
.champ button {
  flex-shrink: 0; height: 50px; padding: 0 clamp(14px, 4vw, 20px); border: 0; border-radius: 25px; cursor: pointer;
  background: var(--bouton); color: var(--bouton-encre); font: 700 15px var(--texte);
  transition: transform .2s, box-shadow .3s;
}
.champ button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(156, 196, 255, .7); }
.champ button:disabled { opacity: .6; cursor: default; transform: none; }
.champ-double { flex-wrap: wrap; border-radius: 28px; }
.champ-double input { flex: 1 1 160px; }
.champ-double button { flex: 1 1 100%; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.note { font-size: 13.5px; color: var(--doux); padding-inline: 8px; }
.note.erreur { color: var(--erreur); }
.merci {
  padding: 22px 24px; border-radius: 28px; background: var(--verre); border: 1px solid var(--verre-bord);
  animation: monte .6s cubic-bezier(.2, .9, .3, 1.2) both;
}
.merci b { display: block; font: 600 26px/1.2 var(--titre); letter-spacing: 0; margin-bottom: 6px; }
.merci p { color: var(--doux); font-size: 15px; }
.merci button {
  margin-top: 14px; height: 40px; padding: 0 16px; border-radius: 20px; cursor: pointer;
  background: var(--pastille); border: 1px solid var(--pastille-bord); color: var(--encre); font: 600 14px var(--texte);
}
@keyframes monte { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ── Essai : le portail ── */
.essai { display: grid; gap: 28px; padding-block: clamp(40px, 8vw, 100px); }
.essai-intro p:last-child { margin-top: 14px; max-width: 46ch; color: var(--doux); }
.portail { display: grid; gap: 14px; min-width: 0; }
.zone {
  border-radius: 28px; padding: 18px 18px 14px;
  background: var(--verre); border: 1px solid var(--verre-bord);
  box-shadow: 0 30px 60px -30px rgba(2, 6, 20, .9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.zone textarea {
  width: 100%; min-height: 64px; resize: none; border: 0; background: transparent; outline: none;
  color: var(--encre); font: 500 25px/1.3 var(--titre); letter-spacing: 0;
}
.zone textarea::placeholder { color: var(--pale); }
.compris { display: flex; flex-wrap: wrap; gap: 6px; min-height: 26px; margin-top: 4px; }
.jeton {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 13px;
  background: rgba(156, 196, 255, .16); font: 700 12px var(--texte); animation: entree .45s cubic-bezier(.2, .9, .3, 1.3) both;
}
.jeton u { text-decoration: none; color: var(--doux); font-weight: 500; }
@keyframes entree { from { opacity: 0; transform: translateY(6px) scale(.9); } }
.reformule {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--pastille-bord);
  font-size: 15px; color: var(--doux); min-height: 3.1em;
}
.reformule b { color: var(--encre); font: 600 19px/1.3 var(--titre); }
.zone-bas { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.scene-puce { height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid var(--pastille-bord); display: inline-flex; align-items: center; font: 600 12.5px var(--texte); color: var(--doux); }
.ecouter {
  margin-left: auto; height: 44px; padding: 0 18px; border: 0; border-radius: 22px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bouton); color: var(--bouton-encre); font: 700 14.5px var(--texte);
  transition: opacity .3s, transform .2s;
}
.ecouter svg { width: 16px; height: 16px; fill: currentColor; }
.ecouter:disabled { opacity: .35; cursor: default; }
.ecouter:not(:disabled):hover { transform: translateY(-1px); }

/* Idées qui défilent (comme sous le champ de l'app) */
.defile {
  overflow: hidden; padding-block: 2px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.defile-piste { display: flex; gap: 8px; width: max-content; animation: defile 46s linear infinite; }
.defile:hover .defile-piste, .defile:focus-within .defile-piste { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }
.idee {
  height: 38px; padding: 0 15px; border-radius: 19px; border: 1px solid var(--pastille-bord); cursor: pointer;
  background: var(--pastille); color: var(--encre); font: 600 14px var(--texte); white-space: nowrap;
  transition: background .2s, transform .2s;
}
.idee:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }

.lecture { border-radius: 28px; padding: 22px 22px 26px; background: rgba(4, 9, 25, .55); border: 1px solid var(--verre-bord); }
.lecture-etiquette { font: 700 11px var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--doux); margin-bottom: 12px; }
.karaoke { font: 500 clamp(24px, 5.2vw, 31px)/1.3 var(--titre); letter-spacing: 0; }
.karaoke span { color: var(--doux); opacity: .4; transition: color .25s, opacity .25s; }
.karaoke span.lu { color: var(--encre); opacity: 1; }
.karaoke span.ici { color: var(--accent); opacity: 1; }

/* ── Étapes ── */
.etapes { padding-block: clamp(40px, 8vw, 100px); }
.etapes h2 { max-width: 18ch; }
.etapes ol { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; }
.etapes li {
  position: relative; display: grid; gap: 8px; padding: 22px 22px 24px; border-radius: 30px; align-content: start;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--verre-bord);
}
.etapes li p { color: var(--doux); }
.num {
  width: 34px; height: 34px; border-radius: 17px; display: grid; place-items: center;
  font: 700 15px var(--texte); color: var(--bouton-encre);
  background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 60%, var(--lueur));
  box-shadow: 0 0 18px rgba(156, 196, 255, .55);
}

/* ── Fil du jour ── */
.fil { display: grid; gap: 40px; padding-block: clamp(40px, 8vw, 100px); align-items: center; }
.fil-texte { min-width: 0; }
.moments { margin: 28px 0 0; display: grid; gap: 0; }
.moments div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--pastille-bord); }
.moments div:last-child { border-bottom: 1px solid var(--pastille-bord); }
.moments dt { font: 700 12px var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding-top: 4px; }
.moments dd { margin: 0; color: var(--encre); }

/* ── Atouts ── */
.atouts { padding-block: clamp(40px, 8vw, 100px); }
.atouts h2 { max-width: 20ch; }
.atouts ul { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; }
.atouts li { padding: 22px 0; border-top: 1px solid var(--pastille-bord); display: grid; gap: 6px; }
.atouts li p { color: var(--doux); max-width: 52ch; }

/* ── Questions ── */
.questions { padding-block: clamp(40px, 8vw, 100px); max-width: 820px; }
.questions h2 { margin-bottom: 20px; }
details { border-top: 1px solid var(--pastille-bord); }
details:last-of-type { border-bottom: 1px solid var(--pastille-bord); }
summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 600 22px/1.3 var(--titre); letter-spacing: 0;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--doux); border-bottom: 2px solid var(--doux); transform: rotate(45deg); transition: transform .3s;
}
details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details p { padding: 0 0 22px; color: var(--doux); max-width: 62ch; }

/* ── Fin ── */
.fin { display: grid; justify-items: center; text-align: center; gap: 14px; padding-block: clamp(40px, 8vw, 100px) clamp(60px, 10vw, 120px); }
.fin-orbe { width: 200px; height: 200px; }
.fin p { color: var(--doux); max-width: 40ch; }
.fin .inscription { justify-items: center; }

.pied {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  padding: 26px var(--gouttiere) calc(env(safe-area-inset-bottom, 0px) + 32px);
  font-size: 13.5px; color: var(--pale); border-top: 1px solid rgba(255, 255, 255, .08);
}
.pied a { color: var(--doux); }

/* Apparition douce au défilement (visible par défaut sans JS) */
.js .apparait { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .9, .3, 1); }
.js .apparait.vu { opacity: 1; transform: none; }

/* ── Grand écran ── */
@media (min-width: 640px) {
  .etapes ol { grid-template-columns: repeat(3, 1fr); }
  .champ-double button { flex: 0 0 auto; }
  .champ-double { flex-wrap: nowrap; border-radius: 34px; }
  .atouts ul { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}
@media (min-width: 960px) {
  .ouverture { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; padding-top: 40px; }
  .ouverture-vivi { order: 0; }
  .scene-orbe { --t: min(42vw, 480px); }
  .essai { grid-template-columns: .85fr 1.15fr; align-items: start; gap: 60px; }
  .essai-intro { position: sticky; top: 110px; }
  .fil { grid-template-columns: 1fr 1fr; gap: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .js .apparait { opacity: 1; transform: none; }
}

/* ── Page de texte (confidentialité) ── */
.page-texte { background: linear-gradient(180deg, var(--nuit-0), var(--nuit-1)); }
.texte-long { width: min(100%, 720px); margin-inline: auto; padding: 24px var(--gouttiere) 80px; display: grid; gap: 14px; }
.texte-long h1 { font-size: clamp(38px, 8vw, 56px); }
.texte-long h2 { font-size: 22px; margin-top: 18px; }
.texte-long p { color: var(--doux); }
.texte-long b { color: var(--encre); }

/* Sans WebGL : une orbe en dégradé, pour garder l'esprit */
.sans-webgl #orbe, .sans-webgl canvas.miroir {
  border-radius: 50%;
  background: radial-gradient(circle at 50% 48%, #fff 0, #C9DCFF 14%, rgba(143, 184, 255, .7) 34%, rgba(167, 139, 250, .25) 55%, transparent 70%);
}


/* ── iPhone : vraies captures de l'app ── */
.iphone {
  margin: 0; width: 100%; max-width: 300px; aspect-ratio: 590 / 1279; padding: 3.2%;
  border-radius: 15% / 7%; background: linear-gradient(145deg, #2A2F45, #0B0E1C 40%, #1C2135);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), inset 0 0 0 1.5px rgba(255, 255, 255, .06), 0 40px 80px -36px rgba(46, 134, 255, .7);
  position: relative;
}
.iphone-ecran { position: relative; width: 100%; height: 100%; border-radius: 12.5% / 5.8%; overflow: hidden; background: var(--nuit-1); container-type: inline-size; }
.iphone-ecran img { width: 100%; height: 100%; object-fit: cover; }
.ilot { position: absolute; top: 2.6%; left: 50%; width: 31%; height: 4.2%; transform: translateX(-50%); border-radius: 99px; background: #000; }
.statut {
  position: absolute; top: 2.9%; left: 9%; right: 8%; display: flex; justify-content: space-between; align-items: center;
  color: #fff; font: 600 4.2cqw/1 -apple-system, 'SF Pro Text', var(--texte);
}
.statut b { font-weight: 600; padding-left: 4%; }
.statut svg { width: 17cqw; height: auto; fill: currentColor; }
.barre-accueil { position: absolute; bottom: 1.2%; left: 50%; width: 35%; height: 1.4cqw; min-height: 3px; transform: translateX(-50%); border-radius: 99px; background: rgba(255, 255, 255, .85); }
.etapes .iphone { justify-self: center; max-width: 230px; margin-bottom: 14px; }
.fil .iphone.grand { justify-self: center; max-width: 320px; transform: rotate(-2deg); transition: transform .8s cubic-bezier(.2, .9, .3, 1); }
.fil .iphone.grand:hover { transform: rotate(0) translateY(-4px); }
.atouts-grille { display: grid; gap: 36px; margin-top: 36px; grid-template-columns: minmax(0, 1fr); }
.atouts-grille ul { margin-top: 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 520px; justify-self: center; width: 100%; }
.duo .iphone:first-child { transform: rotate(-3deg) translateY(10px); }
.duo .iphone:last-child { transform: rotate(3deg); }
@media (min-width: 960px) {
  .atouts-grille { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 60px; }
  .atouts-grille ul { grid-template-columns: 1fr 1fr; }
  .fil .iphone.grand { max-width: 340px; }
}

/* Changement de prénom : l'écran suivant apparaît en fondu */
.iphone-ecran img.fondu { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.iphone-ecran img.fondu.vu { opacity: 1; }

/* ── Téléphone : tout est centré, comme dans l'app ── */
@media (max-width: 959px) {
  main > section { text-align: center; }
  .ouverture-texte, .essai-intro, .fil-texte, .etapes li, .atouts li { justify-items: center; }
  .ouverture-texte { justify-items: center; }
  .chapo, .essai-intro p:last-child, .etapes h2, .atouts h2, .atouts li p, details p { margin-inline: auto; }
  .inscription { justify-self: center; justify-items: center; }
  .note { text-align: center; }
  .etapes li { text-align: center; }
  .num { justify-self: center; }
  .moments div { grid-template-columns: 1fr; gap: 4px; text-align: center; }
  .moments dt { padding-top: 0; }
  .questions { text-align: center; }
  summary { padding-inline: 40px; }
  .zone, .lecture { text-align: left; }
}

.fil-chapo { margin-top: 14px; color: var(--doux); max-width: 44ch; }
@media (max-width: 959px) { .fil-chapo { margin-inline: auto; } }

/* ── Guides (pages de contenu) ── */
.page-guide { background: linear-gradient(180deg, var(--nuit-0) 0%, var(--nuit-1) 40%, #0E1E48 100%); background-attachment: fixed; }
.logo-point { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 48%, #fff 0, #C9DCFF 22%, rgba(143, 184, 255, .7) 45%, rgba(167, 139, 250, .2) 65%, transparent 72%); box-shadow: 0 0 14px rgba(143, 184, 255, .6); }
.guide { width: min(100%, 740px); margin-inline: auto; padding: 8px var(--gouttiere) 40px; }
.fil-ariane { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--pale); margin-bottom: 22px; }
.fil-ariane a { color: var(--doux); text-decoration: none; }
.fil-ariane a:hover { text-decoration: underline; }
.guide h1 { font-size: clamp(34px, 8vw, 56px); line-height: 1.04; }
.chapo-guide { margin-top: 18px; font-size: clamp(18px, 2.4vw, 20px); color: var(--encre); opacity: .92; }
.maj { margin-top: 12px; font-size: 13.5px; color: var(--pale); }
.guide h2 { font-size: clamp(26px, 5vw, 34px); margin: 48px 0 14px; }
.guide h3 { font-size: 19px; margin: 22px 0 6px; }
.guide p, .guide li { color: var(--doux); }
.guide p + p { margin-top: 12px; }
.guide strong { color: var(--encre); font-weight: 600; }
.guide a { color: var(--accent); text-underline-offset: 3px; }
.guide ul { padding-left: 20px; display: grid; gap: 8px; }
.etapes-guide { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; counter-reset: etape; }
.etapes-guide li {
  counter-increment: etape; position: relative; padding: 18px 20px 18px 64px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--verre-bord);
}
.etapes-guide li::before {
  content: counter(etape); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 16px;
  display: grid; place-items: center; font: 700 15px var(--texte); color: var(--bouton-encre);
  background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 60%, var(--lueur)); box-shadow: 0 0 16px rgba(156, 196, 255, .5);
}
.etapes-guide h3 { margin: 4px 0 6px; color: var(--encre); }
.affirmations { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.affirmations li {
  padding: 12px 16px; border-radius: 16px; background: var(--pastille); border: 1px solid var(--pastille-bord);
  color: var(--encre) !important; font: 500 20px/1.3 var(--titre); letter-spacing: 0;
}
.scene {
  margin: 8px 0 0; padding: 20px 22px; border-radius: 22px; border: 1px solid var(--verre-bord);
  background: rgba(4, 9, 25, .5); font: 500 23px/1.4 var(--titre); color: var(--encre);
}
.note-guide { margin-top: 16px; font-size: 14px; }
.faq-guide { margin-top: 8px; }
.faq-guide details p { padding-bottom: 18px; }

.cta-guide {
  width: min(calc(100% - 2 * var(--gouttiere)), 740px); margin: 20px auto 0; padding: 32px clamp(20px, 5vw, 40px);
  border-radius: 32px; display: grid; justify-items: center; text-align: center; gap: 12px;
  background: radial-gradient(80% 60% at 50% 0%, rgba(46, 134, 255, .35), transparent 70%), var(--verre); border: 1px solid var(--verre-bord);
  grid-template-columns: minmax(0, 1fr);
}
.cta-guide h2 { font-size: clamp(26px, 5vw, 36px); }
.cta-guide p { color: var(--doux); max-width: 46ch; }
.orbe-statique {
  width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle at 50% 48%, #fff 0, #C9DCFF 14%, rgba(143, 184, 255, .75) 34%, rgba(167, 139, 250, .25) 56%, transparent 70%);
  animation: respire 6s ease-in-out infinite;
}
@keyframes respire { 50% { transform: scale(1.08); filter: brightness(1.15); } }

.guides-lies, .guides-accueil { width: min(100%, var(--mesure)); margin-inline: auto; padding: 56px var(--gouttiere) 40px; }
.guides-lies h2 { font-size: clamp(24px, 4.6vw, 32px); margin-bottom: 18px; }
.cartes-guides { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
.carte-guide {
  display: grid; gap: 6px; padding: 20px 22px; border-radius: 24px; text-decoration: none; color: var(--encre);
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid var(--verre-bord);
  transition: transform .25s, border-color .25s;
}
.carte-guide:hover { transform: translateY(-3px); border-color: rgba(156, 196, 255, .45); }
.carte-guide b { font: 600 23px/1.2 var(--titre); letter-spacing: 0; }
.carte-guide b::after { content: ' →'; color: var(--accent); }
.carte-guide span { color: var(--doux); font-size: 15px; }
@media (min-width: 760px) { .cartes-guides { grid-template-columns: repeat(3, 1fr); } .guides-lies .cartes-guides { grid-template-columns: 1fr 1fr; } }

.pied { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.pied-guides { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.pied-guides a { color: var(--doux); text-decoration: none; }
.pied-guides a:hover, .pied-guides a[aria-current] { color: var(--encre); text-decoration: underline; }
.pied-apropos { max-width: 52ch; color: var(--pale); }
.pied-bas { display: flex; gap: 22px; }

/* Téléphone : titres et cartes centrés comme l'app ; le texte long reste aligné à gauche pour la lecture */
@media (max-width: 959px) {
  .guide h1, .chapo-guide, .maj, .fil-ariane { text-align: center; justify-content: center; }
  .guides-lies, .guides-accueil { text-align: center; }
}
.nb { white-space: nowrap; }
