/* Scène « prototype gratuit », version 3 (24 septembre, demande de Théo :
   « met bien celle de pizza 2 buch mais change de nom le resto juste, et
   fais un scroll complet du proto »). Un seul appareil, l'ordinateur du
   prospect, dans Chrome : le questionnaire envoyé, le mail de Théo, le lien,
   puis le VRAI prototype Pizza 2 Buch, rebaptisé Pizza Lucie : on s'en sert
   (commande à emporter), puis la page défile en entier. Le curseur et le
   rideau viennent du kit.

   32 SECONDES, et non 12 : la durée du kit est remplacée sur cette seule
   scène (règle plus bas). Écrit par assembler4.py, en secondes (les deux
   premiers actes accélérés à la demande de Théo) :
      1,2 s  « Recevoir mon prototype gratuit »
      2,5 s  l'onglet « (1) Messagerie » ; 3 s le mail ; 4,2 s le lien
      4,3 s  nouvel onglet, la roue, puis le prototype (5 à 5,5 s)
      7,4 s  « Commander à emporter » ; 9 s la Margherita ; 10,4 s la Reine
       12 s  « Passer au retrait » ; 13,4 s 19:30 ; 14,8 s « Envoyer » ;
     16,4 s  « Fermer »
     17,3 s  la page défile section après section, jusqu'au pied (26 s)
     30,4 s  fondu au blanc (95 %) ; remise entre 98,4 et 99,9 %

   LA TOILE : 520 x 470. La fenêtre Chrome de (4, 2) à (516, 464) ; sa vue,
   de 510 x 396, commence 68 px plus bas. */
.fn-scene--prototype {
  --sc-haut: 470px;
  /* Les filets, tous neutres. */
  --line-chrome: #E3E6EA; --line-bwf: #E5E5E5; --line-mail: #ECEDEF; --line-proto: rgba(44, 58, 23, .22);
  /* Les cibles du curseur, mesurées au banc : la pointe de la flèche. */
  --sc-pt-envoyer: 165.4px, 331.7px; --sc-pt-onglet: 220.4px, 18.7px; --sc-pt-mail: 295.4px, 134.7px; --sc-pt-lien: 225.4px, 295px; --sc-pt-emporter: 86.4px, 287.7px; --sc-pt-marg: 390.1px, 187px; --sc-pt-reine: 390.1px, 245px; --sc-pt-retrait: 255.1px, 377px; --sc-pt-h1930: 217.4px, 250.7px; --sc-pt-envoi: 265.1px, 377px; --sc-pt-fermer: 245.1px, 377px; --sc-pt-repos: 465.4px, 300px;
  line-height: 1.35;
}
/* duree-voulue : la durée du kit (12 s) remplacée pour cette scène, Théo
   la voulait plus lente (24 septembre). Même sélecteur que le kit, plus
   précis d'un cran. Le vérificateur l'accepte grâce à ce marqueur. */
.fn-scene.fn-scene--prototype [class*="sc-"] { animation-duration: 32s; }
.fn-scene--prototype svg { display: block; }
.fn-scene--prototype p { margin: 0; }
.fn-scene--prototype i { font-style: normal; }
.sc-prototype-pile { display: grid; }
.sc-prototype-pile > i { grid-area: 1 / 1; }

/* ═══ CHROME ══════════════════════════════════════════════════════════ */
.sc-prototype-chrome {
  position: absolute; top: 2px; left: 4px;
  display: flex; flex-direction: column;
  width: 512px; height: 462px; overflow: hidden;
  border: 1px solid #C7CCD4; border-radius: 8px; background: #FFFFFF;
  box-shadow: 0 8px 22px rgba(31, 36, 46, .12);
}
.sc-prototype-onglets { position: relative; flex: none; height: 30px; background: #DEE3EA; }
.sc-prototype-onglet {
  position: absolute; top: 6px;
  display: flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 8px 0 9px;
  border-radius: 8px 8px 0 0; color: #474747;
}
.sc-prototype-onglet > svg { width: 10px; height: 10px; flex: none; color: #474747; }
.sc-prototype-onglet--a { left: 10px; width: 142px; background: #FFFFFF; color: #1F1F1F; }
.sc-prototype-onglet--b { left: 154px; width: 158px; }
.sc-prototype-onglet--c { left: 314px; width: 112px; opacity: 0; }
.sc-prototype-o-titre { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 0.6875rem; }
.sc-prototype-fav { display: grid; place-items: center; flex: none; width: 13px; height: 13px; border-radius: 3px; }
.sc-prototype-fav--bwf { border-radius: 50%; background: linear-gradient(135deg, #3F7BFF, #5BC4E8); }
.sc-prototype-fav--mail { color: #1A73E8; }
.sc-prototype-fav--mail svg { width: 13px; height: 13px; }
.sc-prototype-fav--cl { background: #0A0A0A; color: #FFFFFF; font-size: 8px; font-weight: 800; line-height: 1; }
/* La roue de chargement de l'onglet, avant que le site ne s'affiche. */
.sc-prototype-roue {
  position: absolute; left: 9px; top: 5.5px;
  width: 13px; height: 13px; border: 2px solid #1A73E8; border-right-color: transparent; border-radius: 50%;
  background: #FFFFFF; opacity: 0;
}
.sc-prototype-b1 { opacity: 0; }
.sc-prototype-plus { position: absolute; top: 10px; left: 432px; color: #474747; }
.sc-prototype-plus svg { width: 12px; height: 12px; }
.sc-prototype-fen { position: absolute; top: 0; right: 0; display: flex; height: 100%; }
.sc-prototype-fen i { display: grid; place-items: center; width: 24px; height: 100%; color: #1F1F1F; }
.sc-prototype-fen svg { width: 10px; height: 10px; }
.sc-prototype-outils {
  display: flex; align-items: center; gap: 1px; flex: none;
  height: 34px; padding: 0 4px 0 8px;
  border-bottom: 1px solid var(--line-chrome); color: #474747;
}
.sc-prototype-outils > i { display: grid; place-items: center; width: 24px; height: 24px; }
.sc-prototype-outils > i svg { width: 13px; height: 13px; }
.sc-prototype-off { color: #C4C7C5; }
.sc-prototype-adresse {
  display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0;
  height: 26px; margin: 0 3px; padding: 0 9px;
  border-radius: 13px; background: #EDF1F7;
  font-size: 0.75rem; color: #1F1F1F; white-space: nowrap;
}
.sc-prototype-adresse > svg { width: 12px; height: 12px; flex: none; }
.sc-prototype-u-b, .sc-prototype-u-c { opacity: 0; }
.sc-prototype-etoile { margin-left: auto; }
.sc-prototype-etoile svg { width: 12px; height: 12px; }
.sc-prototype-vue { position: relative; flex: 1; overflow: hidden; background: #FFFFFF; }
.sc-prototype-page { position: absolute; inset: 0; overflow: hidden; }
.sc-prototype-page--b, .sc-prototype-page--c { opacity: 0; }

/* ═══ 1. LE QUESTIONNAIRE ═════════════════════════════════════════════ */
.sc-prototype-page--a { background: #FAFAFA; color: #0A0A0A; }
.sc-prototype-bwf-nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 36px; padding: 0 18px; border-bottom: 1px solid var(--line-bwf); background: #FFFFFF;
  font-size: 0.6875rem; color: #525252;
}
.sc-prototype-bwf-logo { display: flex; align-items: center; gap: 7px; font-size: 0.8125rem; font-weight: 700; color: #0A0A0A; letter-spacing: -.01em; }
.sc-prototype-bwf-logo i { display: block; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #3F7BFF, #5BC4E8); }
.sc-prototype-q { display: flex; flex-direction: column; align-items: flex-start; padding: 18px 22px; }
.fn-scene--prototype .sc-prototype-q-kick { font-size: 0.6875rem; font-weight: 700; line-height: 14px; letter-spacing: .08em; text-transform: uppercase; color: #3F7BFF; }
.fn-scene--prototype .sc-prototype-q-h { margin: 4px 0 14px; font-size: 1.25rem; font-weight: 800; line-height: 25px; letter-spacing: -.02em; }
.sc-prototype-q-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; width: 100%; }
.sc-prototype-champ { display: flex; flex-direction: column; gap: 5px; }
.sc-prototype-champ small { font-size: 0.6875rem; font-weight: 600; line-height: 14px; color: #525252; }
.sc-prototype-champ span { display: flex; align-items: center; height: 34px; padding: 0 11px; border: 1px solid var(--line-bwf); border-radius: 10px; background: #FFFFFF; font-size: 0.75rem; }
.sc-prototype-envoyer {
  display: flex; align-items: center; gap: 8px; height: 40px; margin-top: 18px; padding: 0 16px;
  border-radius: 10px; background: #0A0A0A; color: #FFFFFF;
  font-size: 0.75rem; font-weight: 600;
}
.sc-prototype-envoyer b { font-weight: 600; }
.sc-prototype-merci {
  position: absolute; top: 36px; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 0 60px; background: #FAFAFA; text-align: center;
  opacity: 0;
}
.sc-prototype-merci i { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 50%; background: #EAF8EF; color: #22C55E; }
.sc-prototype-merci i svg { width: 24px; height: 24px; stroke-width: 2.2; }
.sc-prototype-merci b { font-size: 1.0625rem; font-weight: 800; letter-spacing: -.01em; }
.sc-prototype-merci span { font-size: 0.75rem; line-height: 17px; color: #525252; }

/* ═══ 2. LA MESSAGERIE ════════════════════════════════════════════════ */
.sc-prototype-page--b { color: #1F1F1F; }
.sc-prototype-m-barre { display: flex; align-items: center; height: 46px; padding: 0 12px; border-bottom: 1px solid var(--line-mail); }
.sc-prototype-m-cherche {
  display: flex; align-items: center; gap: 8px; width: 100%; height: 30px; padding: 0 12px;
  border-radius: 8px; background: #F1F3F4; font-size: 0.75rem; color: #5F6368;
}
.sc-prototype-m-cherche svg { width: 14px; height: 14px; }
.sc-prototype-m-corps { position: relative; display: flex; height: calc(100% - 46px); }
.sc-prototype-m-cote { display: flex; flex-direction: column; gap: 2px; flex: none; width: 118px; padding: 10px 8px; }
.sc-prototype-m-dossier { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 8px; font-size: 0.75rem; color: #3C4043; }
.sc-prototype-m-dossier svg { width: 14px; height: 14px; flex: none; }
.sc-prototype-m-dossier--ici { background: #E8EDF5; font-weight: 700; color: #1F1F1F; }
.sc-prototype-m-liste { display: block; flex: 1; min-width: 0; padding-top: 4px; }
.sc-prototype-m-autres { display: block; }
.sc-prototype-m-l {
  display: grid; grid-template-columns: 138px 1fr auto; align-items: center; column-gap: 10px;
  height: 40px; padding: 0 14px 0 10px; font-size: 0.75rem; white-space: nowrap;
}
.sc-prototype-m-l b { overflow: hidden; font-weight: 500; }
.sc-prototype-m-l span { overflow: hidden; color: #5F6368; }
.sc-prototype-m-l small { font-size: 0.6875rem; color: #5F6368; }
.sc-prototype-m-l + .sc-prototype-m-l,
.sc-prototype-m-autres .sc-prototype-m-l:first-child { border-top: 1px solid var(--line-mail); }
.sc-prototype-m-l--neuf { background: #F2F6FC; }
.sc-prototype-m-l--neuf b, .sc-prototype-m-l--neuf span, .sc-prototype-m-l--neuf small { font-weight: 700; color: #1F1F1F; }
/* Le mail ouvert, par-dessus la liste. */
.sc-prototype-m-lu {
  position: absolute; top: 0; left: 118px; right: 0; bottom: 0;
  display: flex; flex-direction: column; align-items: flex-start; padding: 12px 18px;
  background: #FFFFFF; opacity: 0;
}
.sc-prototype-m-retour { display: flex; align-items: center; gap: 6px; font-size: 0.6875rem; color: #5F6368; }
.sc-prototype-m-retour svg { width: 13px; height: 13px; }
.sc-prototype-m-objet { margin: 10px 0 10px; font-size: 1rem; font-weight: 700; line-height: 20px; }
.sc-prototype-m-de { display: flex; align-items: center; gap: 9px; width: 100%; margin-bottom: 12px; }
.sc-prototype-m-de > i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #3F7BFF, #5BC4E8); color: #FFFFFF; font-size: 0.75rem; font-weight: 700; }
.sc-prototype-m-de > span { display: flex; flex-direction: column; flex: 1; line-height: 15px; }
.sc-prototype-m-de b { font-size: 0.75rem; font-weight: 700; }
.sc-prototype-m-de small { font-size: 0.6875rem; color: #5F6368; }
.sc-prototype-m-texte { margin-bottom: 8px; font-size: 0.75rem; line-height: 17px; }
.sc-prototype-m-lien { margin-bottom: 8px; font-size: 0.75rem; line-height: 17px; color: #1A56DB; text-decoration: underline; text-underline-offset: 2px; }

/* ═══ 3. SON SITE : LE VRAI PROTOTYPE ═════════════════════════════════
   La page entière, capturée à 1020 px et affichée à 510 : elle défile sous
   son en-tête, qui reste collé en haut comme sur le vrai site. La fenêtre
   de commande reprend celle du prototype (crème, cadre vert, ombre franche,
   titre en Fraunces 900). */
@font-face {
  font-family: 'BWF Proto Fraunces';
  src: url('../fonts/fraunces-900soft.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
.sc-prototype-page--c { background: #2C3A17; }
.sc-prototype-p { position: absolute; inset: 0; overflow: hidden; }
.sc-prototype-p-page { position: absolute; top: 0; left: 0; display: block; width: 510px; height: auto; }
.sc-prototype-p-tete { position: absolute; top: 0; left: 0; z-index: 1; display: block; width: 510px; height: auto; }
/* Le compteur du panier, posé sur l'icône de l'en-tête (à 146, 13 dans la
   vue, 23 px de côté). Un peu plus grand que l'échelle, pour se lire. */
.sc-prototype-p-compte {
  position: absolute; top: 5px; left: 160px; z-index: 2;
  min-width: 15px; height: 15px; padding: 0 3px; border-radius: 5px;
  background: #EFA63E; color: #2C3A17; font-size: 0.6875rem; font-weight: 800; line-height: 15px; text-align: center;
  opacity: 0;
}
.sc-prototype-c2 { opacity: 0; }

/* La commande à emporter : le voile flouté, la fenêtre, le toast. */
.sc-prototype-voile {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(31, 36, 46, .5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0;
}
.sc-prototype-module {
  position: absolute; top: 38px; left: 90px; z-index: 3;
  display: flex; flex-direction: column; width: 330px; height: 304px;
  border: 2px solid #2C3A17; border-radius: 16px; background: #F2F0E3; color: #2C3A17;
  box-shadow: 7px 7px 0 rgba(31, 36, 46, .35);
  opacity: 0;
}
.sc-prototype-mo-tete {
  display: flex; align-items: center; justify-content: space-between; flex: none;
  height: 46px; padding: 0 14px 0 16px; border-bottom: 1px dashed var(--line-proto);
}
.sc-prototype-mo-tete b { font-family: 'BWF Proto Fraunces', Georgia, serif; font-size: 1rem; font-weight: 900; line-height: 1.1; }
.sc-prototype-e2, .sc-prototype-e3 { opacity: 0; }
.sc-prototype-mo-x { display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid #2C3A17; border-radius: 8px; }
.sc-prototype-mo-x svg { width: 12px; height: 12px; }
.sc-prototype-mo-corps { position: relative; flex: 1; overflow: hidden; }
.sc-prototype-mo-etape { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 8px 14px; }
.sc-prototype-mo-etape--2, .sc-prototype-mo-etape--3 { opacity: 0; }
.sc-prototype-mo-ligne {
  display: grid; grid-template-columns: 44px 1fr auto 28px; align-items: center; column-gap: 10px;
  height: 58px; border-bottom: 1px dashed var(--line-proto);
}
.sc-prototype-mo-ligne:last-child { border-bottom-color: transparent; }
.sc-prototype-mo-vignette { display: block; width: 44px; height: 44px; border-radius: 50%; background-size: 132px 44px; background-position: 0 0; }
.sc-prototype-mo-vignette--2 { background-position: -44px 0; }
.sc-prototype-mo-vignette--3 { background-position: -88px 0; }
.sc-prototype-mo-dit { display: flex; flex-direction: column; min-width: 0; line-height: 16px; white-space: nowrap; }
.sc-prototype-mo-dit b { font-size: 0.75rem; font-weight: 700; }
.sc-prototype-mo-dit small { font-size: 0.6875rem; color: #5A6148; }
.sc-prototype-mo-prix { font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.sc-prototype-mo-plus { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #2C3A17; color: #F2F0E3; }
.sc-prototype-mo-plus svg { width: 13px; height: 13px; stroke-width: 2; }
.sc-prototype-mo-recap {
  display: flex; align-items: baseline; justify-content: space-between; margin-top: 4px; padding: 10px 12px;
  border: 1px dashed var(--line-proto); border-radius: 12px; font-size: 0.75rem;
}
.sc-prototype-mo-lab { margin: 12px 0 6px; font-size: 0.6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5A6148; }
.sc-prototype-mo-heures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sc-prototype-mo-heures i {
  display: grid; place-items: center; height: 34px;
  border: 1.5px solid rgba(44, 58, 23, .25); border-radius: 9px; background: #F7F5EA;
  font-size: 0.75rem; font-weight: 700;
}
.sc-prototype-mo-note { margin-top: 12px; font-size: 0.6875rem; line-height: 15px; color: #5A6148; }
.sc-prototype-mo-etape--3 { align-items: center; justify-content: center; gap: 5px; text-align: center; }
.sc-prototype-mo-ok { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 50%; background: #2C3A17; color: #F2F0E3; }
.sc-prototype-mo-ok svg { width: 22px; height: 22px; stroke-width: 2.2; }
.sc-prototype-mo-etape--3 b { font-size: 0.9375rem; font-weight: 800; }
.sc-prototype-mo-etape--3 > span { font-size: 0.75rem; }
.sc-prototype-mo-gps { display: flex; gap: 5px; margin-top: 6px; }
.sc-prototype-mo-gps i {
  display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px;
  border: 1.5px solid rgba(44, 58, 23, .16); border-radius: 8px; background: #F7F5EA;
  font-size: 0.6875rem; font-weight: 600;
}
.sc-prototype-mo-gps svg { width: 11px; height: 11px; }
.sc-prototype-mo-pied { flex: none; height: 56px; padding: 9px 14px; border-top: 1px dashed var(--line-proto); }
.sc-prototype-mo-pied > i {
  display: grid; place-items: center; height: 38px; border-radius: 10px;
  background: #C64D2E; color: #FFFFFF; font-size: 0.75rem; font-weight: 700;
  box-shadow: 3px 3px 0 rgba(31, 36, 46, .35);
}
.sc-prototype-mo-pied > .sc-prototype-f0 { background: #E9E6D3; color: #5A6148; box-shadow: none; }
.sc-prototype-mo-pied > .sc-prototype-f4 { border: 1.5px solid #2C3A17; background: transparent; color: #2C3A17; box-shadow: none; }
.sc-prototype-f1, .sc-prototype-f2, .sc-prototype-f3, .sc-prototype-f4 { opacity: 0; }
.sc-prototype-toast {
  position: absolute; left: 50%; bottom: 10px; z-index: 4;
  padding: 9px 15px; border-radius: 10px; background: #2C3A17; color: #F2F0E3;
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(31, 36, 46, .25);
  opacity: 0; transform: translate(-50%, 8px);
}
.sc-prototype-t2 { opacity: 0; }
.sc-prototype-blanc { position: absolute; inset: 0; z-index: 5; background: #FFFFFF; }


/* ═══ LES NOMS D'ANIMATION ════════════════════════════════════════════ */
.sc-fin { animation-name: sc-conclure; }
.sc-cur      { animation-name: sc-cur-prototype; }
.sc-cur-onde { animation-name: sc-onde-prototype; }
.sc-prototype-envoyer   { animation-name: sc-prototype-envoyer; }
.sc-prototype-merci     { animation-name: sc-prototype-merci; }
.sc-prototype-b0        { animation-name: sc-prototype-b0; }
.sc-prototype-b1        { animation-name: sc-prototype-b1; }
.sc-prototype-onglet--a { animation-name: sc-prototype-oa; }
.sc-prototype-onglet--b { animation-name: sc-prototype-ob; }
.sc-prototype-onglet--c { animation-name: sc-prototype-oc; }
.sc-prototype-roue      { animation-name: sc-prototype-roue; }
.sc-prototype-u-a       { animation-name: sc-prototype-ua; }
.sc-prototype-u-b       { animation-name: sc-prototype-ub; }
.sc-prototype-u-c       { animation-name: sc-prototype-uc; }
.sc-prototype-page--a   { animation-name: sc-prototype-pa; }
.sc-prototype-page--b   { animation-name: sc-prototype-pb; }
.sc-prototype-page--c   { animation-name: sc-prototype-pc; }
.sc-prototype-m-l--neuf { animation-name: sc-prototype-neuf; }
.sc-prototype-m-lu      { animation-name: sc-prototype-lu; }
.sc-prototype-m-lien    { animation-name: sc-prototype-lien; }
.sc-prototype-blanc     { animation-name: sc-prototype-blanc; }
.sc-prototype-p-page    { animation-name: sc-prototype-defile; }
.sc-prototype-voile     { animation-name: sc-prototype-voile; }
.sc-prototype-module    { animation-name: sc-prototype-module; }
.sc-prototype-e1        { animation-name: sc-prototype-e1; }
.sc-prototype-e2        { animation-name: sc-prototype-e2; }
.sc-prototype-e3        { animation-name: sc-prototype-e3; }
.sc-prototype-mo-etape--1 { animation-name: sc-prototype-et1; }
.sc-prototype-mo-etape--2 { animation-name: sc-prototype-et2; }
.sc-prototype-mo-etape--3 { animation-name: sc-prototype-et3; }
.sc-prototype-mo-plus--1 { animation-name: sc-prototype-plus-1; }
.sc-prototype-mo-plus--2 { animation-name: sc-prototype-plus-2; }
.sc-prototype-p-compte  { animation-name: sc-prototype-compte; }
.sc-prototype-c1        { animation-name: sc-prototype-c1; }
.sc-prototype-c2        { animation-name: sc-prototype-c2; }
.sc-prototype-f0        { animation-name: sc-prototype-f0; }
.sc-prototype-f1        { animation-name: sc-prototype-f1; }
.sc-prototype-f2        { animation-name: sc-prototype-f2; }
.sc-prototype-f3        { animation-name: sc-prototype-f3; }
.sc-prototype-f4        { animation-name: sc-prototype-f4; }
.sc-prototype-mo-pied   { animation-name: sc-prototype-pied; }
.sc-prototype-mo-h1930  { animation-name: sc-prototype-h1930; }
.sc-prototype-toast     { animation-name: sc-prototype-toast; }
.sc-prototype-t1        { animation-name: sc-prototype-t1; }
.sc-prototype-t2        { animation-name: sc-prototype-t2; }

/* ═══ LE CURSEUR (onze clics, puis il se pose) ════════════════════════ */
@keyframes sc-cur-prototype {
  0%, 0.47%      { transform: translate(470px, 450px); opacity: 0; }
  0.7%           { transform: translate(470px, 450px); opacity: 1; animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  2.97%, 3.75%   { transform: translate(var(--sc-pt-envoyer)); }
  3.96%          { transform: translate(var(--sc-pt-envoyer)) scale(.86); }
  4.31%          { transform: translate(var(--sc-pt-envoyer)); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  7.19%, 7.81%   { transform: translate(var(--sc-pt-onglet)); }
  7.93%          { transform: translate(var(--sc-pt-onglet)) scale(.86); }
  8.12%          { transform: translate(var(--sc-pt-onglet)); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  8.91%, 9.53%   { transform: translate(var(--sc-pt-mail)); }
  9.82%          { transform: translate(var(--sc-pt-mail)) scale(.86); }
  10.3%          { transform: translate(var(--sc-pt-mail)); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  12.28%, 13.09% { transform: translate(var(--sc-pt-lien)); }
  13.44%         { transform: translate(var(--sc-pt-lien)) scale(.86); }
  14%            { transform: translate(var(--sc-pt-lien)); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  21.88%, 23.12% { transform: translate(var(--sc-pt-emporter)); }
  23.47%         { transform: translate(var(--sc-pt-emporter)) scale(.86); }
  24.03%         { transform: translate(var(--sc-pt-emporter)); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  26.88%, 28.12% { transform: translate(var(--sc-pt-marg)); }
  28.47%         { transform: translate(var(--sc-pt-marg)) scale(.86); }
  29.03%         { transform: translate(var(--sc-pt-marg)); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  31.25%, 32.5%  { transform: translate(var(--sc-pt-reine)); }
  32.84%         { transform: translate(var(--sc-pt-reine)) scale(.86); }
  33.41%         { transform: translate(var(--sc-pt-reine)); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  36.25%, 37.5%  { transform: translate(var(--sc-pt-retrait)); }
  37.84%         { transform: translate(var(--sc-pt-retrait)) scale(.86); }
  38.41%         { transform: translate(var(--sc-pt-retrait)); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  40.62%, 41.87% { transform: translate(var(--sc-pt-h1930)); }
  42.22%         { transform: translate(var(--sc-pt-h1930)) scale(.86); }
  42.78%         { transform: translate(var(--sc-pt-h1930)); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  45%, 46.25%    { transform: translate(var(--sc-pt-envoi)); }
  46.59%         { transform: translate(var(--sc-pt-envoi)) scale(.86); }
  47.16%         { transform: translate(var(--sc-pt-envoi)); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  50%, 51.25%    { transform: translate(var(--sc-pt-fermer)); }
  51.59%         { transform: translate(var(--sc-pt-fermer)) scale(.86); }
  52.16%         { transform: translate(var(--sc-pt-fermer)); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  53.75%, 98.4%  { transform: translate(var(--sc-pt-repos)); opacity: 1; }
  99.9%, 100%    { transform: translate(470px, 450px); opacity: 0; }
}
@keyframes sc-onde-prototype {
  0%             { transform: scale(.4); opacity: 0; }
  3.88%          { transform: scale(.4); opacity: 0; }
  3.96%          { transform: scale(.4); opacity: .9; }
  5.35%          { transform: scale(2.2); opacity: 0; }
  7.89%          { transform: scale(.4); opacity: 0; }
  7.93%          { transform: scale(.4); opacity: .9; }
  8.69%          { transform: scale(2.2); opacity: 0; }
  9.72%          { transform: scale(.4); opacity: 0; }
  9.82%          { transform: scale(.4); opacity: .9; }
  11.28%         { transform: scale(2.2); opacity: 0; }
  13.31%         { transform: scale(.4); opacity: 0; }
  13.44%         { transform: scale(.4); opacity: .9; }
  15.69%         { transform: scale(2.2); opacity: 0; }
  23.34%         { transform: scale(.4); opacity: 0; }
  23.47%         { transform: scale(.4); opacity: .9; }
  25.72%         { transform: scale(2.2); opacity: 0; }
  28.34%         { transform: scale(.4); opacity: 0; }
  28.47%         { transform: scale(.4); opacity: .9; }
  30.72%         { transform: scale(2.2); opacity: 0; }
  32.72%         { transform: scale(.4); opacity: 0; }
  32.84%         { transform: scale(.4); opacity: .9; }
  35.09%         { transform: scale(2.2); opacity: 0; }
  37.72%         { transform: scale(.4); opacity: 0; }
  37.84%         { transform: scale(.4); opacity: .9; }
  40.09%         { transform: scale(2.2); opacity: 0; }
  42.09%         { transform: scale(.4); opacity: 0; }
  42.22%         { transform: scale(.4); opacity: .9; }
  44.47%         { transform: scale(2.2); opacity: 0; }
  46.47%         { transform: scale(.4); opacity: 0; }
  46.59%         { transform: scale(.4); opacity: .9; }
  48.84%         { transform: scale(2.2); opacity: 0; }
  51.47%         { transform: scale(.4); opacity: 0; }
  51.59%         { transform: scale(.4); opacity: .9; }
  53.84%         { transform: scale(2.2); opacity: 0; }
  100%           { transform: scale(2.2); opacity: 0; }
}

/* ═══ 1. LE QUESTIONNAIRE ENVOYÉ ══════════════════════════════════════ */
@keyframes sc-prototype-envoyer {
  0%, 3.75%      { transform: none; }
  3.9%           { transform: scale(.97); }
  4.15%, 100%    { transform: none; }
}
@keyframes sc-prototype-merci {
  0%, 4.06%      { opacity: 0; transform: translateY(8px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  4.94%, 98.4%   { opacity: 1; transform: none; }
  99.9%, 100%    { opacity: 0; transform: translateY(8px); }
}

/* ═══ 2. LE MAIL ARRIVE, IL S'OUVRE ═══════════════════════════════════ */
@keyframes sc-prototype-b0 {
  0%, 6.19%      { opacity: 1; }
  6.25%, 9.66%   { opacity: 0; }
  9.74%, 100%    { opacity: 1; }
}
@keyframes sc-prototype-b1 {
  0%, 6.19%      { opacity: 0; }
  6.25%, 9.66%   { opacity: 1; }
  9.74%, 100%    { opacity: 0; }
}
@keyframes sc-prototype-oa {
  0%, 7.87%      { background: #FFFFFF; color: #1F1F1F; }
  7.9%, 98.4%    { background: rgba(255, 255, 255, 0); color: #474747; }
  99.9%, 100%    { background: #FFFFFF; color: #1F1F1F; }
}
@keyframes sc-prototype-ob {
  0%, 7.87%      { background: rgba(255, 255, 255, 0); color: #474747; }
  7.9%, 13.25%   { background: #FFFFFF; color: #1F1F1F; }
  13.34%, 100%   { background: rgba(255, 255, 255, 0); color: #474747; }
}
@keyframes sc-prototype-oc {
  0%, 13.25%     { opacity: 0; transform: translateX(-10px); background: #FFFFFF; color: #1F1F1F; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  14%, 98.4%     { opacity: 1; transform: none; background: #FFFFFF; color: #1F1F1F; }
  99.9%, 100%    { opacity: 0; transform: translateX(-10px); background: #FFFFFF; color: #1F1F1F; }
}
@keyframes sc-prototype-roue {
  0%, 13.25%     { opacity: 0; transform: rotate(0); }
  13.34%         { opacity: 1; transform: rotate(0); animation-timing-function: linear; }
  15.44%         { opacity: 1; transform: rotate(1080deg); }
  15.53%, 100%   { opacity: 0; transform: rotate(1080deg); }
}
@keyframes sc-prototype-ua {
  0%, 7.87%      { opacity: 1; }
  7.9%, 98.4%    { opacity: 0; }
  99.9%, 100%    { opacity: 1; }
}
@keyframes sc-prototype-ub {
  0%, 7.87%      { opacity: 0; }
  7.9%, 13.25%   { opacity: 1; }
  13.34%, 100%   { opacity: 0; }
}
@keyframes sc-prototype-uc {
  0%, 13.25%     { opacity: 0; }
  13.34%, 98.4%  { opacity: 1; }
  99.9%, 100%    { opacity: 0; }
}
@keyframes sc-prototype-pa {
  0%, 7.87%      { opacity: 1; }
  7.9%, 98.4%    { opacity: 0; }
  99.9%, 100%    { opacity: 1; }
}
@keyframes sc-prototype-pb {
  0%, 7.87%      { opacity: 0; }
  7.9%, 13.25%   { opacity: 1; }
  13.34%, 100%   { opacity: 0; }
}
@keyframes sc-prototype-pc {
  0%, 13.25%     { opacity: 0; }
  13.34%, 98.4%  { opacity: 1; }
  99.9%, 100%    { opacity: 0; }
}
@keyframes sc-prototype-neuf {
  0%, 9.66%      { background: #F2F6FC; }
  9.74%, 100%    { background: #E8EDF5; }
}
@keyframes sc-prototype-lu {
  0%, 9.74%      { opacity: 0; transform: translateX(10px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  10.78%, 98.4%  { opacity: 1; transform: none; }
  99.9%, 100%    { opacity: 0; transform: translateX(10px); }
}
@keyframes sc-prototype-lien {
  0%, 12.59%     { color: #1A56DB; }
  12.69%, 13.25% { color: #0B3AA8; }
  13.34%, 100%   { color: #1A56DB; }
}

/* ═══ 3. LE VRAI PROTOTYPE : LA COMMANDE, PUIS TOUTE LA PAGE ══════════ */
@keyframes sc-prototype-blanc {
  0%, 15.53%     { opacity: 1; }
  17.03%, 98.4%  { opacity: 0; }
  99.9%, 100%    { opacity: 1; }
}
@keyframes sc-prototype-voile {
  0%, 23.28%     { opacity: 0; }
  24.69%, 51.41% { opacity: 1; }
  52.81%, 100%   { opacity: 0; }
}
@keyframes sc-prototype-module {
  0%, 23.44%     { opacity: 0; transform: translateY(10px) scale(.97); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  25%, 51.41%    { opacity: 1; transform: none; }
  52.81%, 100%   { opacity: 0; transform: translateY(10px) scale(.97); }
}
@keyframes sc-prototype-e1 {
  0%, 37.72%     { opacity: 1; }
  37.81%, 98.4%  { opacity: 0; }
  99.9%, 100%    { opacity: 1; }
}
@keyframes sc-prototype-e2 {
  0%, 37.72%     { opacity: 0; }
  37.81%, 46.47% { opacity: 1; }
  46.56%, 100%   { opacity: 0; }
}
@keyframes sc-prototype-e3 {
  0%, 46.47%     { opacity: 0; }
  46.56%, 98.4%  { opacity: 1; }
  99.9%, 100%    { opacity: 0; }
}
@keyframes sc-prototype-et1 {
  0%, 37.81%     { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  38.91%, 98.4%  { opacity: 0; transform: translateX(-24px); }
  99.9%, 100%    { opacity: 1; transform: none; }
}
@keyframes sc-prototype-et2 {
  0%, 38.12%     { opacity: 0; transform: translateX(24px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  39.69%, 46.56% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  47.66%, 98.4%  { opacity: 0; transform: translateX(-24px); }
  99.9%, 100%    { opacity: 0; transform: translateX(24px); }
}
@keyframes sc-prototype-et3 {
  0%, 46.88%     { opacity: 0; transform: translateX(24px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  48.44%, 98.4%  { opacity: 1; transform: none; }
  99.9%, 100%    { opacity: 0; transform: translateX(24px); }
}
@keyframes sc-prototype-plus-1 {
  0%, 28.12%     { background: #2C3A17; transform: none; }
  28.47%         { background: #C64D2E; transform: scale(.88); }
  29.38%, 100%   { background: #2C3A17; transform: none; }
}
@keyframes sc-prototype-plus-2 {
  0%, 32.5%      { background: #2C3A17; transform: none; }
  32.84%         { background: #C64D2E; transform: scale(.88); }
  33.75%, 100%   { background: #2C3A17; transform: none; }
}
@keyframes sc-prototype-compte {
  0%, 28.34%     { opacity: 0; transform: scale(.4); animation-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
  29.38%, 32.72% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
  32.81%         { opacity: 1; transform: scale(1.3); }
  33.75%, 98.4%  { opacity: 1; transform: none; }
  99.9%, 100%    { opacity: 0; transform: scale(.4); }
}
@keyframes sc-prototype-c1 {
  0%, 32.72%     { opacity: 1; }
  32.81%, 98.4%  { opacity: 0; }
  99.9%, 100%    { opacity: 1; }
}
@keyframes sc-prototype-c2 {
  0%, 32.72%     { opacity: 0; }
  32.81%, 98.4%  { opacity: 1; }
  99.9%, 100%    { opacity: 0; }
}
@keyframes sc-prototype-f0 {
  0%, 28.34%     { opacity: 1; }
  28.44%, 98.4%  { opacity: 0; }
  99.9%, 100%    { opacity: 1; }
}
@keyframes sc-prototype-f1 {
  0%, 28.34%     { opacity: 0; }
  28.44%, 32.72% { opacity: 1; }
  32.81%, 100%   { opacity: 0; }
}
@keyframes sc-prototype-f2 {
  0%, 32.72%     { opacity: 0; }
  32.81%, 37.72% { opacity: 1; }
  37.81%, 100%   { opacity: 0; }
}
@keyframes sc-prototype-f3 {
  0%, 37.72%     { opacity: 0; }
  37.81%, 46.47% { opacity: 1; }
  46.56%, 100%   { opacity: 0; }
}
@keyframes sc-prototype-f4 {
  0%, 46.47%     { opacity: 0; }
  46.56%, 98.4%  { opacity: 1; }
  99.9%, 100%    { opacity: 0; }
}
@keyframes sc-prototype-pied {
  0%, 37.5%      { transform: none; }
  37.81%         { transform: scale(.98); }
  38.44%, 46.25% { transform: none; }
  46.56%         { transform: scale(.98); }
  47.19%, 51.25% { transform: none; }
  51.56%         { transform: scale(.98); }
  52.19%, 100%   { transform: none; }
}
@keyframes sc-prototype-h1930 {
  0%, 41.78%     { background: #F7F5EA; color: #2C3A17; border-color: rgba(44, 58, 23, .25); }
  41.87%, 98.4%  { background: #2C3A17; color: #F2F0E3; border-color: #2C3A17; }
  99.9%, 100%    { background: #F7F5EA; color: #2C3A17; border-color: rgba(44, 58, 23, .25); }
}
@keyframes sc-prototype-toast {
  0%, 28.44%     { opacity: 0; transform: translate(-50%, 8px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  29.53%, 36.25% { opacity: 1; transform: translate(-50%, 0); }
  37.34%, 100%   { opacity: 0; transform: translate(-50%, 8px); }
}
@keyframes sc-prototype-t1 {
  0%, 32.72%     { opacity: 1; }
  32.81%, 98.4%  { opacity: 0; }
  99.9%, 100%    { opacity: 1; }
}
@keyframes sc-prototype-t2 {
  0%, 32.72%     { opacity: 0; }
  32.81%, 98.4%  { opacity: 1; }
  99.9%, 100%    { opacity: 0; }
}
/* Le défilement complet, section après section, jusqu'au pied. */
@keyframes sc-prototype-defile {
  0%, 54.06%     { transform: translateY(0px); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  56.09%, 57.03% { transform: translateY(-298px); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  59.06%, 60%    { transform: translateY(-464px); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  62.03%, 62.97% { transform: translateY(-699px); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  65.31%, 66.25% { transform: translateY(-1056px); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  68.75%, 69.53% { transform: translateY(-1496px); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  71.56%, 72.5%  { transform: translateY(-1930px); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  74.53%, 75.47% { transform: translateY(-2516px); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  77.5%, 78.44%  { transform: translateY(-2924px); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  81.25%, 98.4%  { transform: translateY(-3674px); }
  99.9%, 100%    { transform: none; }
}

/* Moins de mouvement : l'état d'arrivée, le prototype ouvert en haut de
   page. */
@media (prefers-reduced-motion: reduce) {
  .sc-prototype-page--c, .sc-prototype-onglet--c, .sc-prototype-u-c { opacity: 1; }
  .sc-prototype-page--a, .sc-prototype-u-a, .sc-prototype-blanc { opacity: 0; }
  .sc-prototype-onglet--a { background: transparent; color: #474747; }
}
