/* ==============================================================
   SHOTAI — MAQUETTE C (animée). Les scènes posées sur un seul
   plateau collant : le défilement ne fait pas défiler la page, il
   fait avancer le film. Tout ce qui bouge est piloté par js/main.js ;
   ici on ne pose que les états de départ et les matières.
   Rappel de la règle de Quentin (21/10) : texte sombre sur un fond
   de couleur = le 950 de la gamme de ce fond.
   ============================================================== */
html { background: var(--nuit); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { overflow-x: clip; }
html.souris, html.souris * { cursor: none !important; }
html.souris input { cursor: text !important; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--lime); color: var(--lime-950); }

/* ---------- LE CHARGEMENT ---------- */
#chargement { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--nuit); pointer-events: none; }
.sans-intro #chargement { display: none; }
.chargement-media { width: 64px; height: 64px; }
.ch-symbole { width: 100%; height: 100%; fill: var(--d50); }

/* ---------- LA BARRE DU HAUT ---------- */
.barre-fixe { position: fixed; z-index: 50; left: 0; right: 0; top: 0; height: var(--barre); padding: 0 var(--marge); display: flex; align-items: center; justify-content: space-between; color: var(--d50); pointer-events: none; transition: color 0.45s ease; }
.barre-fixe > * { pointer-events: auto; }
.barre-logo { display: flex; align-items: center; gap: 0; height: 24px; color: inherit; }
.barre-logo svg { height: 100%; fill: currentColor; display: block; }
.bl-symbole { width: calc(24px * 109.6 / 110); }
.bl-mot { width: calc(24px * 475 / 110); margin-left: calc(24px * 36.4 / 110); }
.barre-droite { display: flex; gap: 8px; align-items: center; }
.barre-fixe .barre-droite { opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 0.6s; }
.barre-fixe.avec-boutons .barre-droite { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
/* sur un fond clair, la barre prend le 950 du fond */
.barre-fixe.sur-ciel { color: var(--ciel-950); }
.barre-fixe::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 14, 8, 0.72); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); box-shadow: inset 0 -1px rgba(255,255,255,0.08); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.barre-fixe.verre::before { opacity: 1; }
.barre-fixe.verre.sur-ciel { color: var(--d50); }
.barre-fixe.sur-rouge { color: var(--rouge-950); }
.barre-fixe.sur-ciel .btn-verre { background: rgba(255,255,255,0.28); border-color: rgba(22,39,85,0.14); color: var(--ciel-950); }
.barre-fixe.sur-rouge .btn-verre { background: rgba(255,255,255,0.18); border-color: rgba(68,6,8,0.16); color: var(--rouge-950); }
@media (max-width: 639px) { .barre-logo { height: 19px; } .bl-symbole { width: calc(19px * 109.6 / 110); } .bl-mot { width: calc(19px * 475 / 110); margin-left: calc(19px * 36.4 / 110); } }

/* ---------- LE PLATEAU ---------- */
#defil { position: relative; }
#plateau { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; isolation: isolate; contain: layout paint; }
#fond { position: absolute; inset: 0; z-index: -2; background: var(--nuit); }
.lumiere { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; }
#lueurAccueil { opacity: 0; background:
    radial-gradient(40vw 34vw at 52% 58%, rgba(118, 168, 24, 0.36), rgba(70, 110, 14, 0.12) 55%, rgba(11, 17, 1, 0) 100%),
    radial-gradient(120% 90% at 50% 50%, rgba(11, 17, 1, 0) 55%, rgba(4, 7, 0, 0.8) 100%); }
#haloOrbite { background:
    radial-gradient(30vw 15vw at 50% 37%, rgba(231, 166, 192, 0.30), rgba(231, 166, 192, 0.08) 60%, rgba(231, 166, 192, 0) 100%),
    radial-gradient(60vw 40vw at 50% 40%, rgba(120, 60, 90, 0.20), rgba(11, 17, 1, 0) 70%); }
#solOrbite { left: 2vw; right: 2vw; top: 43%; bottom: auto; height: 34vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0)); }
#haloTel { background:
    radial-gradient(34vw 36vw at 66% 52%, rgba(118, 168, 24, 0.16), rgba(70, 110, 14, 0.05) 55%, rgba(11, 17, 1, 0) 100%),
    radial-gradient(120% 90% at 50% 50%, rgba(11, 17, 1, 0) 50%, rgba(4, 7, 0, 0.85) 100%); }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; display: block; visibility: hidden; touch-action: pan-y; }
#couche3d { position: absolute; inset: 0; z-index: 16; pointer-events: none; }
#couche3d .css3d { position: absolute; inset: 0; pointer-events: none; }
#couche3d .css3d > div { pointer-events: none; }

/* ---------- 1. L'ACCUEIL ---------- */
.s1 { position: absolute; inset: 0; z-index: 4; }
.s1-scene { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.s1-pivot { position: absolute; left: -171px; top: -260px; width: 342px; height: 520px; will-change: transform; }
.s1-ombre { position: absolute; left: 6%; right: 6%; top: 12%; bottom: -4%; border-radius: 20px; background: rgba(0, 0, 0, 0.75); filter: blur(40px); transform: translate(26px, 50px); }
.s1-flou { position: absolute; inset: 0; filter: blur(3.2px) brightness(0.72); }
.reflet { position: absolute; inset: 0; z-index: 5; border-radius: 10px; pointer-events: none; mix-blend-mode: screen; background: linear-gradient(118deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.12) 44%, rgba(255,255,255,0.03) 52%, rgba(255,255,255,0) 60%); }
.phrase { position: absolute; z-index: 10; left: 0; right: 0; top: max(104px, 16.7vh); text-align: center; font-family: var(--f-texte); font-weight: 500; font-size: min(6.95vw, 11.1vh); line-height: 0.98; letter-spacing: -0.032em; color: var(--d50); text-shadow: 0 12px 60px rgba(0, 0, 0, 0.55); pointer-events: none; }
.phrase .ligne { display: block; overflow: hidden; padding: 0.04em 0 0.1em; margin: -0.04em 0 -0.1em; }
.phrase .ligne-int { display: inline-block; white-space: nowrap; will-change: transform; }
.phrase .m { display: inline-block; }
.phrase .l { display: inline-block; transform-origin: 0% 100%; will-change: transform, opacity; }
.phrase em { font-style: normal; font-family: var(--f-titre); font-weight: 400; letter-spacing: -0.012em; color: var(--lime); }
.s1-actions { position: absolute; z-index: 11; left: 0; right: 0; top: calc(77.8vh); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.s1-actions .ligne { display: flex; gap: 10px; }
.mention { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: rgba(243, 243, 244, 0.7); }
.mention .ico { color: var(--lime); font-size: 14px; }
.objets { position: absolute; inset: 0; z-index: 12; pointer-events: none; }
@media (max-width: 639px) {
  .phrase { top: 112px; font-size: 10.2vw; }
  .s1-actions { top: auto; bottom: 24px; left: 16px; right: 16px; }
  .s1-actions .ligne { width: 100%; } .s1-actions .ligne .btn-primary { flex: 1; }
}

/* ---------- LES OBJETS QU'ON MANIPULE (émojis, badges) ---------- */
.obj { position: absolute; left: 0; top: 0; will-change: transform; pointer-events: none; }
.obj-cible { position: absolute; left: 0; top: 0; pointer-events: auto; touch-action: none; user-select: none; -webkit-user-select: none; }
.obj-cible img { display: block; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }
.obj-cible .puce { pointer-events: none; }
.obj.sans-main .obj-cible { pointer-events: none; }
.obj-cadre { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; transform-origin: 50% 50%; }
.obj-cadre .bord { position: absolute; inset: 0; border: 1.5px solid var(--lime); border-radius: 4px; }
.obj-cadre .p, .obj-cadre .rot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; pointer-events: auto; touch-action: none; }
.obj-cadre .p::after { content: ""; position: absolute; left: 5.5px; top: 5.5px; width: 11px; height: 11px; background: #fff; border: 1.5px solid var(--lime); border-radius: 3px; box-shadow: 0 2px 6px rgba(0,0,0,0.35); box-sizing: border-box; }
.obj-cadre .p1 { left: 0; top: 0; } .obj-cadre .p2 { left: 100%; top: 0; } .obj-cadre .p3 { left: 100%; top: 100%; } .obj-cadre .p4 { left: 0; top: 100%; }
.obj-cadre .rot { left: 50%; top: -30px; }
.obj:not(.cadre-on) .obj-cadre .p, .obj:not(.cadre-on) .obj-cadre .rot { pointer-events: none; }
.obj-cadre .rot::after { content: ""; position: absolute; left: 4.5px; top: 4.5px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 1.5px solid var(--lime); box-shadow: 0 2px 6px rgba(0,0,0,0.35); box-sizing: border-box; }
.obj-cadre .tige { position: absolute; left: 50%; top: -19px; width: 1.5px; height: 19px; margin-left: -0.75px; background: var(--lime); }
.obj-cadre .cote { position: absolute; left: 50%; bottom: -34px; translate: -50% 0; height: 22px; padding: 0 8px; display: grid; place-items: center; border-radius: 6px; background: var(--lime); color: var(--lime-950); font-size: 11px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity 0.2s; }
.obj.actif .obj-cadre .cote.voir { opacity: 1; }
.puce { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 6px; border-radius: 999px; font-size: 18px; font-weight: 500; white-space: nowrap; box-shadow: 0 14px 30px rgba(0,0,0,0.35); }
.puce img { width: 38px; height: 38px; }

/* ---------- 2. LE MANÈGE ---------- */
#mot { position: absolute; z-index: 15; left: 0; right: 0; top: 20.9vh; padding: 0 6vw; text-align: center; font-family: var(--f-titre); font-weight: 400; font-size: 8.9vw; line-height: 0.94; letter-spacing: -0.02em; color: var(--lime); text-shadow: 0 0 40px rgba(11, 17, 1, 0.6); pointer-events: none; visibility: hidden; transform-origin: 50% 50%; perspective: 900px; }
#mot .mt-couche { display: inline-block; text-wrap: balance; }
#mot .mt-couche.part { position: absolute; left: 6vw; right: 6vw; top: 0; }
#mot { text-wrap: balance; }
#mot .mt-mot { display: inline-block; white-space: nowrap; }
#mot .mt-l { display: inline-block; transform-origin: 50% 80%; backface-visibility: hidden; }
.legende-orbite { position: absolute; z-index: 15; left: var(--marge); bottom: 40px; width: calc(3 * var(--col) + 2 * var(--gout)); font-size: 15px; line-height: 1.45; color: rgba(243, 243, 244, 0.62); opacity: 0; pointer-events: none; }
.legende-orbite b { color: var(--d50); font-weight: 500; }
@media (max-width: 639px) {
  #mot { top: 22.5vh; font-size: 12.4vw; padding: 0 16px; }
  #mot .mt-couche.part { left: 16px; right: 16px; }
  .legende-orbite { right: var(--marge); width: auto; bottom: 28px; text-align: center; font-size: 14px; }
}

/* Le jumeau HTML d'une carte survolée : il devient l'écran d'une page */
.jumeau { width: 0; height: 0; }
.jm-boite { position: absolute; left: 50%; top: 50%; width: 342px; height: 520px; transform: translate(-50%, -50%); border-radius: 10px; overflow: hidden; background: #0A1204; pointer-events: auto;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 120px rgba(231, 166, 192, 0.12); }
.jm-carte { position: absolute; left: 0; top: 0; }
.jm-page { position: absolute; inset: 0; }
.jm-page > .pg { transform-origin: 0 0; }
.jm-reflet { position: absolute; inset: 0; z-index: 30; pointer-events: none; background: linear-gradient(112deg, rgba(255,255,255,0) 18%, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0) 44%); }

/* ---------- LA PAGE ÉVÈNEMENT (ordinateur et téléphone) ---------- */
.pg { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--d50); text-align: left; }
.pg-ordi { width: 1440px; height: 1000px; }
.pg-fond { position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% 0%, rgba(84, 132, 14, 0.95) 0%, rgba(46, 84, 8, 0.75) 32%, rgba(14, 26, 4, 0) 70%), linear-gradient(180deg, #2F5508 0%, #1A3105 22%, #0A1204 46%, #050605 70%); }
.navig { position: absolute; left: 0; top: 0; width: 1440px; height: 44px; background: #141613; box-shadow: inset 0 -1px rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; }
.navig .points { position: absolute; left: 18px; top: 16px; display: flex; gap: 8px; }
.navig .points i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.navig .url { display: flex; align-items: center; gap: 8px; height: 28px; min-width: 420px; justify-content: center; padding: 0 16px; border-radius: 8px; background: rgba(255,255,255,0.07); color: rgba(243,243,244,0.9); font-size: 14px; font-weight: 500; }
.navig .url .ico { color: rgba(243,243,244,0.5); font-size: 13px; }
.tete { position: absolute; left: 0; top: 44px; width: 1440px; height: 72px; }
.tete .logo { position: absolute; left: 144px; top: 25px; height: 22px; color: #F3F3F4; }
.tete nav { position: absolute; right: 144px; top: 16px; display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.tete nav span { display: inline-flex; align-items: center; gap: 8px; }
.bloc { position: absolute; }
.avatar { width: 38px; height: 38px; display: grid !important; place-items: center; border-radius: 50%; background: #E6E6E7; color: #4D4D51; font-size: 14px; font-weight: 600; box-shadow: 0 0 0 2px rgba(193,253,58,0.9); }
.invites { width: 342px; height: 116px; padding: 12px 12px 0; border-radius: 10px; background: rgba(10, 12, 9, 0.82); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); text-align: center; }
.invites p { font-size: 12px; font-weight: 500; }
.invites .cases { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.invites .cases div { height: 61px; padding-top: 10px; border-radius: 8px; background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); }
.invites b { display: block; font-size: 19px; line-height: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.invites small { display: block; margin-top: 3px; font-size: 10px; color: var(--d300); }
.pg-w { position: absolute; width: 342px; }
.pg-w > .w { position: relative; transition: none; }
.w-texte .wt { font-family: var(--f-titre); font-weight: 400; color: var(--lime-200); letter-spacing: -0.01em; line-height: 1.06; }
.wt-mesure { position: absolute; left: -9999px; top: 0; margin: 0; font-family: var(--f-titre); line-height: 1.06; letter-spacing: -0.01em; visibility: hidden; }
.w-album .wa-photo { width: 104px; height: 138px; }
.wg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gif-points { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; display: flex; gap: 5px; z-index: 2; }
.gif-points i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.gif-points i:first-child { background: #fff; }
/* le petit numéro d'un widget à son arrivée */
.num { position: absolute; left: 0; top: -21px; display: inline-flex; gap: 6px; align-items: baseline; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lime-200); opacity: 0; white-space: nowrap; }
.num b { font-variant-numeric: tabular-nums; color: var(--lime); }
/* page du téléphone */
.pg-tel { width: 390px; background: #050605; }
.pt-banniere { position: absolute; left: 0; top: 0; width: 390px; height: 470px; object-fit: cover; object-position: 50% 30%; }
.pt-degrade { position: absolute; left: 0; top: 0; width: 390px; height: 560px; background: linear-gradient(180deg, rgba(5,6,5,0.35) 0%, rgba(5,6,5,0) 22%, rgba(5,6,5,0) 48%, rgba(5,6,5,0.85) 74%, #050605 92%); }
.pt-infos { position: absolute; left: 24px; right: 24px; top: 330px; }
.pt-orga { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.pt-orga .couronne { width: 24px; height: 24px; } .pt-orga .couronne .ico { font-size: 13px; }
.pt-orga > .ico { font-size: 18px; }
.pt-titre { margin-top: 14px; font-family: var(--f-titre); font-size: 40px; line-height: 1; }
.pt-ligne { margin-top: 14px; display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 500; }
.pt-ligne .ico { font-size: 19px; }
.pt-invites { left: 24px; top: 528px; width: 342px; height: 104px; }
.pt-invites .cases div { height: 56px; padding-top: 8px; }

/* ---------- 3. LES WIDGETS ---------- */
.s3 { position: absolute; inset: 0; z-index: 6; visibility: hidden; }
.s3-plateau { position: absolute; inset: 0; perspective: 1900px; perspective-origin: 50% 50%; }
.s3-page { position: absolute; left: 0; top: 0; width: 1440px; height: 1000px; transform-origin: 0 0; }
.s3-page > .pg { border-radius: 16px; box-shadow: 0 60px 120px rgba(37, 37, 39, 0.38), 0 20px 40px rgba(37, 37, 39, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.25); }
.s3-page.tel > .pg { border-radius: 22px; }
.selection { position: absolute; z-index: 9; border-radius: 10px; box-shadow: inset 0 0 0 2px var(--lime-200); pointer-events: none; opacity: 0; }
.barre-tuile { position: absolute; z-index: 10; height: 32px; opacity: 0; }
.barre-tuile svg.onglet { position: absolute; left: 0; top: 0; }
.barre-tuile .rangee { position: relative; height: 32px; display: flex; align-items: center; padding: 0 11px; }
.bt-b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; color: #476C08; transition: background-color 0.2s, color 0.2s; }
.bt-b .ico { font-size: 16px; } .bt-b.forme .ico { font-size: 24px; }
.bt-b.marque { background: #476C08; color: var(--lime-200); }
.bt-b.survol:not(.marque) { background: rgba(61, 91, 12, 0.18); }
.bt-b.appui:not(.marque) { background: rgba(61, 91, 12, 0.32); }
.bt-b.suppr { color: #ED1B09; }
.bt-sep { width: 7px; height: 32px; display: grid; place-items: center; } .bt-sep::after { content: ""; width: 1px; height: 14px; background: #476C08; opacity: 0.28; }
/* téléphone : la même barre, flottante, à la taille du doigt */
.barre-tuile.flottante { height: 46px; } .barre-tuile.flottante .rangee { height: 46px; padding: 0 6px; gap: 2px; border-radius: 14px; background: var(--lime-200); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.barre-tuile.flottante .bt-b { width: 38px; height: 38px; border-radius: 9px; } .barre-tuile.flottante .bt-b .ico { font-size: 20px; } .barre-tuile.flottante .bt-b.forme .ico { font-size: 28px; }
.barre-tuile.flottante .bt-sep { height: 46px; }
.bulle-info { position: absolute; z-index: 11; height: 30px; padding: 0 10px; display: grid; place-items: center; border-radius: 6px; background: #F3F3F4; border: 1px solid #E6E6E7; color: #4D4D51; font-size: 12px; font-weight: 500; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,0.35); opacity: 0; pointer-events: none; }
.bulle-info::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; margin-left: -5px; background: #F3F3F4; border-right: 1px solid #E6E6E7; border-bottom: 1px solid #E6E6E7; transform: rotate(45deg); }
.reflet-page { position: absolute; inset: 0; z-index: 30; pointer-events: none; background: linear-gradient(112deg, rgba(255,255,255,0) 18%, rgba(255,255,255,0.07) 30%, rgba(255,255,255,0) 44%); }
.legende-widgets { margin-top: 26px; max-width: 22em; font-size: 16px; line-height: 1.45; color: rgba(22, 39, 85, 0.75); opacity: 0; }
.legende-widgets b { color: var(--ciel-950); font-weight: 600; }
.copie { position: absolute; z-index: 12; height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; background: var(--lime); color: var(--lime-950); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 12px 26px rgba(0,0,0,0.35); opacity: 0; pointer-events: none; }


/* ---------- LE CURSEUR « DÉMO » ---------- */
.fantome { position: absolute; z-index: 40; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; }
.f-point { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(11, 17, 1, 0.85); transition: transform 0.15s; }
.fantome.appui .f-point { transform: scale(0.7); }
.f-bulle { position: absolute; left: 14px; top: 14px; height: 40px; padding: 0 15px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--lime); color: var(--lime-950); font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2); transform-origin: 0 0; }
.fantome.doigt .f-point { left: -32px; top: -32px; width: 64px; height: 64px; background: radial-gradient(closest-side, rgba(255,255,255,0.55), rgba(255,255,255,0.18) 70%, rgba(255,255,255,0)); box-shadow: 0 0 0 1.5px rgba(255,255,255,0.65); }
.fantome.doigt .f-bulle { display: none; }

/* ---------- 4. PARTAGE, BULLES, TÉLÉPHONE ---------- */
.s4 { position: absolute; inset: 0; z-index: 7; visibility: hidden; }
.s4-lien { position: absolute; left: 0; top: 0; z-index: 9; display: flex; align-items: center; justify-content: center; gap: 8px; height: 28px; padding: 0 16px; border-radius: 14px; white-space: nowrap; font-size: 14px; font-weight: 500; color: rgba(243,243,244,0.9); background: #1F211E; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); transform-origin: 50% 50%; visibility: hidden; }
.s4-lien .ico { font-size: 14px; }
.s4-bulles { position: absolute; inset: 0; perspective: 1400px; perspective-origin: 50% 45%; transform-origin: 0 0; }
.s4-texte { position: absolute; z-index: 10; left: var(--marge); top: 31.8vh; width: calc(7 * var(--col) + 6 * var(--gout)); pointer-events: none; }
.s4-titre { font-family: var(--f-titre); font-size: 6.3vw; line-height: 0.95; letter-spacing: -0.02em; color: var(--d50); }
.s4-titre .ligne, .s4-nuit .ligne { display: block; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.s4-titre .ligne-int, .s4-nuit .ligne-int { display: inline-block; will-change: transform; }
.s4-nuit { margin-top: 18px; font-family: var(--f-titre); font-size: 3.5vw; line-height: 1.05; color: var(--braise); }
.s4-sous { margin-top: 34px; max-width: 25em; font-size: 17px; line-height: 1.5; color: rgba(243, 243, 244, 0.62); }
.s4-sous b { color: var(--d50); font-weight: 500; }
.s4-reponses { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.rep { position: absolute; left: 0; top: 0; }
.rep .puce { height: 52px; font-size: 19px; }
.puce-oui { background: var(--orange); color: var(--orange-950); box-shadow: inset 0 0 0 1px var(--orange-600), 0 14px 30px rgba(0,0,0,0.35); }
.puce-peut { background: var(--bleu); color: var(--bleu-950); box-shadow: inset 0 0 0 1px var(--bleu-400), 0 14px 30px rgba(0,0,0,0.35); }
.puce-non { background: var(--violet); color: var(--violet-950); box-shadow: inset 0 0 0 1px #BE29CC, 0 14px 30px rgba(0,0,0,0.35); }
.s4-tel3d { position: absolute; z-index: 5; left: 0; top: 0; width: 0; height: 0; perspective: 1700px; }
.appareil { position: absolute; left: -207px; top: -434px; width: 414px; height: 868px; border-radius: 64px; background: #060805; padding: 12px; transform-origin: 50% 50%; will-change: transform;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), inset 0 0 0 4px #1a1c18, 0 0 0 1px rgba(255,255,255,0.05), 0 60px 110px rgba(0, 0, 0, 0.7); }
.appareil::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 70%, rgba(255,255,255,0.04) 100%); }
.ecr { position: relative; width: 390px; height: 844px; border-radius: 52px; overflow: hidden; background: #050605; color: var(--d50); }
.ecr .pg-tel { position: absolute; left: 0; top: 0; }
.ilot { position: absolute; z-index: 9; left: 50%; top: 11px; width: 122px; height: 35px; margin-left: -61px; border-radius: 20px; background: #000; }
.etat { position: absolute; z-index: 8; left: 0; right: 0; top: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 4px 34px 0 46px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.etat .icones { display: flex; gap: 6px; align-items: center; }
.etat .barres { display: flex; gap: 2px; align-items: flex-end; height: 12px; } .etat .barres i { width: 3px; border-radius: 1px; background: #fff; }
.etat .batt { width: 25px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5); padding: 2px; } .etat .batt i { display: block; width: 62%; height: 100%; border-radius: 2px; background: #fff; }
.t-url { position: absolute; z-index: 8; left: 50%; top: 60px; translate: -50% 0; height: 36px; padding: 0 16px; display: flex; align-items: center; gap: 7px; border-radius: 999px; background: rgba(20, 20, 18, 0.6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); font-size: 14px; font-weight: 500; white-space: nowrap; }
.t-url .ico { font-size: 13px; color: rgba(255,255,255,0.6); }
.t-bt { position: absolute; z-index: 7; top: 108px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(30, 22, 12, 0.8); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); font-size: 18px; }
.ecr .pt-invites .cases div.chaud { background: rgba(252, 65, 33, 0.22); box-shadow: inset 0 0 0 1px rgba(252, 65, 33, 0.65); }
.feuille { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 300px; padding: 44px 14px 0; text-align: center; background: linear-gradient(180deg, rgba(5,6,5,0) 0, rgba(5,6,5,0.94) 34px, #050605 50px); }
.feuille .q { font-family: var(--f-titre); font-size: 58px; line-height: 1; }
.choix { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choix .c { display: flex; flex-direction: column; align-items: center; gap: 8px; transition: opacity 0.35s; }
.choix img { width: 78px; height: 78px; transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s; }
.choix .c > span { display: grid; place-items: center; width: 100%; height: 36px; border-radius: 999px; font-size: 16px; font-weight: 500; white-space: nowrap; transition: box-shadow 0.3s, transform 0.3s; }
.c-oui > span { background: var(--orange); color: var(--orange-950); box-shadow: inset 0 0 0 1px var(--orange-600); }
.c-peut > span { background: var(--bleu); color: var(--bleu-950); }
.c-non > span { background: var(--violet); color: var(--violet-950); }
.choix.repondu .c-oui img { transform: scale(1.14) rotate(-6deg); filter: drop-shadow(0 10px 18px rgba(252,65,33,0.45)); }
.choix.repondu .c-oui > span { box-shadow: 0 0 0 3px #fff, 0 10px 24px rgba(252, 65, 33, 0.5); transform: scale(0.97); }
.choix.repondu .c:not(.c-oui) { opacity: 0.55; }
.deja { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; opacity: 0.8; }
.barre-maison { position: absolute; z-index: 9; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: rgba(255,255,255,0.85); }
.onde { position: absolute; z-index: 10; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,0.55), rgba(255,255,255,0.18) 70%, rgba(255,255,255,0)); box-shadow: 0 0 0 1.5px rgba(255,255,255,0.65); opacity: 0; pointer-events: none; }
.ecr .vierge { position: absolute; inset: 0; opacity: 0; }
.ecr .vierge .carte { width: 100%; height: 100%; border-radius: inherit; }
/* la lumière rouge qui sort du téléphone et envahit l'écran (douce, sans bord) */
#lumiereFin { inset: auto; left: 0; top: 0; width: 200vmax; height: 200vmax; margin: -100vmax 0 0 -100vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(252, 65, 33, 1) 0%, rgba(252, 65, 33, 0.92) 30%, rgba(252, 65, 33, 0.55) 58%, rgba(252, 65, 33, 0.18) 80%, rgba(252, 65, 33, 0) 100%); will-change: transform, opacity; }
@media (max-width: 639px) {
  .s4-texte { top: 76px; left: var(--marge); right: var(--marge); width: auto; }
  .s4-titre { font-size: 10.3vw; } .s4-nuit { margin-top: 10px; font-size: 6.2vw; } .s4-sous { display: none; }
}

/* ---------- 5. LA FIN (le style vit ici, la scène dans js/fin-a.js) ---------- */
.s5 { position: absolute; inset: 0; z-index: 8; visibility: hidden; }
.s5-question-ancien { position: absolute; z-index: 10; left: 0; right: 0; top: max(76px, 10.2vh); text-align: center; font-family: var(--f-titre); font-size: 11.2vw; line-height: 1; letter-spacing: -0.025em; color: var(--rouge-950); white-space: nowrap; pointer-events: none; }
.s5-question .ligne { display: inline-block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; vertical-align: top; }
.s5-question .ligne-int { display: inline-block; }
.s5-actions-ancien { position: absolute; }
.s5-actions .btn-primary { box-shadow: 0 16px 30px rgba(68, 6, 8, 0.28); }
.s5-actions .mention { color: var(--rouge-950); font-weight: 600; }
.s5-actions .mention .ico { color: var(--rouge-950); }
.carte-vierge .c-titre.ecrit { display: inline-flex; align-items: center; color: #fff; min-height: 32px; }
.caret { display: inline-block; width: 3px; height: 31px; margin-left: 4px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 12px rgba(193, 253, 58, 0.9); }
.caret.clignote { animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.c-vide { color: var(--d300) !important; }
.chg-ban { position: absolute; right: 18px; top: 18px; z-index: 2; height: 32px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border-radius: 6px; background: rgba(11, 17, 1, 0.35); border: 1px solid rgba(255,255,255,0.18); color: #fff; font-size: 12px; font-weight: 500; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.chg-ban .ico { font-size: 14px; }
.s5-carte { position: absolute; z-index: 9; left: 50%; top: 0; width: 0; height: 0; perspective: 1300px; }
.s5-pivot { position: absolute; left: -171px; top: -260px; width: 342px; height: 520px; cursor: pointer; }
.s5-pivot .carte { box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 30px 60px rgba(68, 6, 8, 0.35); }
.s5-ombre { position: absolute; left: 6%; right: 6%; top: 12%; bottom: -4%; border-radius: 20px; background: rgba(68, 6, 8, 0.55); filter: blur(36px); transform: translate(22px, 40px); }
@media (max-width: 639px) {
  .s5-question { top: 80px; font-size: 20vw; line-height: 0.92; white-space: normal; }
  .s5-question .ligne { display: block; }
  .s5-actions { left: 16px; right: 16px; bottom: 24px; flex-direction: column; gap: 12px; }
  .s5-actions .btn { width: 100%; }
}

/* ---------- LE PIED DE PAGE (sobre, js/pied.js) ---------- */
.pied { position: relative; z-index: 20; margin-top: -40px; border-radius: 32px 32px 0 0; background: var(--nuit); color: var(--d50); padding: 56px var(--marge) 0; box-shadow: none; }
.pd-haut { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gout); align-items: start; }
.pd-marque { grid-column: 1 / span 3; display: flex; flex-direction: column; gap: 14px; }
.pd-logo { display: block; width: 132px; height: auto; fill: var(--d50); }
.pd-france { font-family: var(--f-texte); font-weight: 500; font-size: 15px; line-height: 1.4; color: rgba(243,243,244,0.72); }
.pd-france img { display: inline-block; width: 22px; height: 15px; margin-right: 8px; vertical-align: 1px; border-radius: 2px; }
.pd-haut > .pd-col:nth-child(2) { grid-column: 4 / span 2; }
.pd-haut > .pd-col:nth-child(3) { grid-column: 6 / span 2; }
.pd-haut > .pd-col:nth-child(4) { grid-column: 8 / span 2; }
.pd-rs { grid-column: 10 / span 3; display: flex; justify-content: flex-end; gap: 22px; }
.pd-rs a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: rgba(243,243,244,0.72); font-size: 24px; transition: color 0.2s, background-color 0.2s; }
.pd-rs a:hover { color: var(--lime); background: rgba(255,255,255,0.05); }
.pd-t { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(243,243,244,0.45); margin-bottom: 4px; }
.pd-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 15px; color: rgba(243,243,244,0.82); }
.pd-col a { display: inline-flex; align-items: center; gap: 10px; background-image: linear-gradient(var(--lime), var(--lime)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s; }
.pd-col a:hover { color: #fff; background-size: 100% 1px; }
.pd-col .ico { font-size: 17px; }
/* le sol où se posent les émojis tombés de « T'attends quoi ? » */
.pd-sol { height: 240px; margin-bottom: 0; }
.pd-bas { display: flex; justify-content: space-between; padding: 16px 0 22px; font-size: 13px; color: rgba(243,243,244,0.45); }
@media (max-width: 639px) {
  .pied { padding: 40px var(--marge) 0; border-radius: 24px 24px 0 0; }
  .pd-haut { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .pd-marque { grid-column: 1 / -1; }
  .pd-haut > .pd-col:nth-child(n) { grid-column: auto; }
  .pd-haut > .pd-col:nth-child(4) { grid-column: 1 / -1; }
  .pd-rs { grid-column: 1 / -1; justify-content: flex-start; gap: 14px; margin-left: -8px; }
  .pd-sol { height: 200px; }
}
#volants { position: fixed; inset: 0; z-index: 30; pointer-events: none; }

/* ---------- LA FIN : texte à gauche, carte à droite (ordinateur) ---------- */
.s5-texte { position: absolute; z-index: 10; left: var(--marge); top: 50%; transform: translateY(-50%); width: calc(6 * var(--col) + 5 * var(--gout)); }
.s5-question { position: static; text-align: left; font-family: var(--f-titre); font-weight: 400; font-size: 9.4vw; line-height: 0.92; letter-spacing: -0.025em; color: var(--rouge-950); white-space: nowrap; pointer-events: none; }
.s5-question .ligne { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.s5-question .ligne-int { display: inline-block; }
.s5-actions { position: static; margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.s5-actions .btn-primary { box-shadow: 0 16px 30px rgba(68, 6, 8, 0.28); }
.s5-actions .mention { color: var(--rouge-950); font-weight: 600; }
.s5-actions .mention .ico { color: var(--rouge-950); }
.s5-carte { left: 0; }
@media (max-width: 639px) {
  .s5-texte { left: 0; right: 0; top: 80px; width: auto; transform: none; position: absolute; }
  .s5-question { text-align: center; font-size: 20vw; white-space: normal; }
  .s5-actions { position: fixed; left: 16px; right: 16px; bottom: 24px; margin: 0; align-items: stretch; }
  .s5-actions .btn { width: 100%; }
  .s5-actions .mention { justify-content: center; }
}

/* ---------- L'EXEMPLE EN GRAND (« Utiliser ce modèle ») ---------- */
#apercu { position: fixed; inset: 0; z-index: 80; }
#apercu[hidden] { display: none; }
.ap-voile { position: absolute; inset: 0; background: rgba(5, 8, 1, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; }
.ap-cadre { position: absolute; left: 0; top: 0; overflow: hidden; border-radius: 16px; background: #050605; box-shadow: 0 50px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.14); }
.ap-page { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.ap-page .pg { position: relative; }
.ap-barre { position: absolute; left: 50%; bottom: 28px; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 16px; background: rgba(11, 17, 1, 0.72); border: 1px solid rgba(255,255,255,0.12); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); transform: translateX(-50%); opacity: 0; white-space: nowrap; }
.ap-titre { display: flex; flex-direction: column; margin-right: 18px; min-width: 0; }
.ap-titre small { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
.ap-titre b { font-family: var(--f-titre); font-weight: 400; font-size: 22px; line-height: 1.1; color: var(--d50); overflow: hidden; text-overflow: ellipsis; max-width: 360px; }
.ap-fermer { position: absolute; right: 22px; top: 18px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); background: rgba(11, 17, 1, 0.6); color: #fff; font-size: 20px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; }
@media (max-width: 639px) {
  .ap-cadre { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .ap-barre { left: 12px; right: 12px; bottom: 12px; transform: none; padding: 8px; }
  .ap-titre, .ap-barre [data-fermer] { display: none; }
  .ap-barre #apUtiliser { flex: 1; height: 52px; font-size: 17px; }
  .ap-fermer { right: 14px; top: 14px; }
  .ap-voile { background: rgba(5, 8, 1, 0.55); }
}

/* ---------- LE FORMULAIRE (aperçu simple) ---------- */
#formulaire { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; }
#formulaire[hidden] { display: none; }
.fo-voile { position: absolute; inset: 0; background: rgba(5, 8, 1, 0.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; }
.fo-fenetre { position: relative; display: flex; gap: 40px; align-items: center; padding: 40px; border-radius: 24px; background: rgba(20, 28, 8, 0.86); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 50px 120px rgba(0,0,0,0.6); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.fo-carte { position: relative; width: 342px; height: 520px; flex: none; }
.fo-champs { width: 360px; display: flex; flex-direction: column; gap: 14px; }
.fo-sur { font-family: var(--f-titre); font-size: 36px; line-height: 1; margin-bottom: 8px; }
.fo-champ { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(243,243,244,0.6); }
.fo-champ input, .fo-faux { height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); color: var(--d50); font: 500 16px var(--f-texte); display: flex; align-items: center; gap: 10px; }
.fo-faux { color: var(--d300); }
.fo-champ input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(193,253,58,0.2); }
.fo-note { font-size: 13px; color: rgba(243,243,244,0.5); }
.fo-fenetre .ap-fermer { opacity: 1; right: 14px; top: 14px; width: 38px; height: 38px; font-size: 17px; }
.fo-champs .btn { width: 100%; margin-top: 4px; }
.fo-champs .mention { justify-content: center; }
@media (max-width: 639px) {
  .fo-fenetre { flex-direction: column; gap: 18px; padding: 20px 16px; width: calc(100vw - 24px); max-height: calc(100vh - 24px); overflow-y: auto; }
  .fo-carte { width: 342px; height: 520px; transform: scale(0.6); margin: -104px 0 -104px; }
  .fo-champs { width: 100%; }
}

/* ---------- LE CURSEUR MAISON ---------- */
#curseur { position: fixed; z-index: 100; left: 0; top: 0; width: 0; height: 0; pointer-events: none; display: none; }
.souris #curseur { display: block; }
.cu-point { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px rgba(11,17,1,0.5); transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s, opacity 0.2s; }
.cu-disque { position: absolute; left: -44px; top: -44px; width: 88px; height: 88px; border-radius: 50%; background: var(--lime); color: var(--lime-950); display: grid; place-items: center; transform: scale(0); transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s, color 0.3s; box-shadow: 0 14px 34px rgba(0,0,0,0.3); }
.cu-mot { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.cu-geste { position: absolute; left: 14px; top: 14px; height: 40px; padding: 0 15px 0 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: var(--lime); color: var(--lime-950); font-size: 14px; font-weight: 600; white-space: nowrap; transform: scale(0); transform-origin: 0 0; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s, color 0.3s; box-shadow: 0 14px 34px rgba(0,0,0,0.35); }
.cu-ico svg { display: block; width: 15px; height: 15px; }
#curseur.disque .cu-disque { transform: scale(1); }
#curseur.disque .cu-point { transform: scale(0); }
#curseur.geste .cu-geste { transform: scale(1); }
#curseur.cache .cu-point { transform: scale(0); }
#curseur.appui .cu-disque { transform: scale(0.88); }
#curseur.sur-ciel .cu-point, #curseur.sur-ciel .cu-disque, #curseur.sur-ciel .cu-geste { background: var(--nuit); color: var(--lime); }
#curseur.sur-rouge .cu-point, #curseur.sur-rouge .cu-disque, #curseur.sur-rouge .cu-geste { background: var(--rouge-950); color: var(--lime); }
#curseur.sur-rouge .cu-point, #curseur.sur-ciel .cu-point { box-shadow: 0 0 0 2px rgba(255,255,255,0.35); }

/* Les boutons aimantés */
[data-aimant] { will-change: transform; }
.btn-primary { transition: background-color 0.25s, box-shadow 0.25s; }
.btn-primary:hover { background: var(--lime-300, #CFFF52); box-shadow: 0 0 0 4px rgba(193, 253, 58, 0.18); }
.btn-verre:hover { border-color: rgba(255,255,255,0.24); }
/* (Quentin, 23/10 : « ça manque d'un hover sur les boutons ») des survols plus francs, et un appui qui
   s'enfonce (« scale » se compose avec l'aimant, qui pilote « transform ») */
@media (hover: hover) and (pointer: fine) {
  .btn { transition: background-color 0.25s, box-shadow 0.25s, border-color 0.25s, scale 0.2s; }
  .btn-primary:hover { background: #D8FF73; box-shadow: 0 0 0 5px rgba(193, 253, 58, 0.22), 0 12px 26px rgba(0, 0, 0, 0.22); }
  .btn-verre:not([aria-disabled="true"]):hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }
  .store { transition: translate 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s; }
  .store:hover { translate: 0 -2px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 10px 22px rgba(0, 0, 0, 0.3); }
}
.btn:active, .store:active { scale: 0.97; }
.appareil.sans-reflet::after { opacity: 0; }

/* ---------- « CRÉER UN ÉVÈNEMENT » : la carte qui vole jusqu'au vrai formulaire (js/creation.js) ----------
   (au-dessus du site, qui tourne dans la page à z-index 60 : la vraie page de création glisse dessous) */
#creation { position: fixed; inset: 0; z-index: 85; pointer-events: none; }
#creation[hidden] { display: none; }
/* la carte qui vole et se retourne */
.cr-vol { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.cr-tour { position: absolute; left: 0; top: 0; width: 342px; height: 520px; transform-origin: 50% 50%; transform-style: preserve-3d; will-change: transform; }
.cr-face { position: absolute; inset: 0; }
.cr-f2 { transform: rotateY(180deg); }
.cr-dos { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; background: #0A0E08; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); transform: scaleX(-1); }
.cr-dos i { position: absolute; inset: -12%; background-size: cover; background-position: center; filter: blur(32px) saturate(1.5); }
.cr-dos::after { content: ""; position: absolute; inset: 0; background: rgba(10, 14, 8, 0.5), linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0) 60%); background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0) 60%), rgba(10, 14, 8, 0.5); }
.cr-dos svg { position: absolute; left: 50%; top: 50%; width: 176px; transform: translate(-50%, -50%) scaleX(-1); fill: #fff; opacity: 0.24; z-index: 2; }
/* la carte-formulaire */
.cf .c-photo { height: 62%; } .cf .c-miroir { display: none; }
.cf-prive { position: absolute; left: 24px; top: 24px; z-index: 2; height: 32px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: #F3F3F4; border: 1px solid #E6E6E7; color: #4D4D51; font-size: 10.8px; font-weight: 500; white-space: nowrap; box-shadow: 0 0 12.5px rgba(0,0,0,0.25); }
.cf-prive .ico { font-size: 12px; }
.cf-banniere { position: absolute; left: 50%; top: 143px; z-index: 2; transform: translate(-50%, -50%); height: 48px; padding: 0 18px; display: inline-flex; align-items: center; gap: 10px; border-radius: 10px; background: rgba(20, 26, 12, 0.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); color: #fff; font-size: 16px; font-weight: 600; white-space: nowrap; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cf-banniere .ico { font-size: 20px; }
.cf-champs { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.cf-orga { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.cf-pastille { flex: 1; height: 48px; padding: 0 12px; display: flex; align-items: center; gap: 10px; border-radius: 999px; background: rgba(20, 26, 12, 0.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); font-size: 16px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.cf-pastille .couronne { width: 22px; height: 22px; } .cf-pastille .couronne .ico { font-size: 12px; }
.cf-plus { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(20, 26, 12, 0.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); color: #fff; font-size: 22px; }
.cf-vide { color: rgba(255,255,255,0.5); }
.cf-titre { font-family: var(--f-titre); font-size: 30px; line-height: 30px; color: rgba(255,255,255,0.5); padding: 4px 0 6px; }
.cf-titre.rempli { color: #fff; }
.cf-ligne { display: flex; align-items: center; gap: 12px; height: 40px; font-size: 14px; color: #fff; }
.cf-ligne .ico { font-size: 16px; }
/* téléphone : la feuille qui monte */

/* l'exemple devenu « ton » évènement (Utiliser ce modèle) */
.ap-toast { position: absolute; left: 50%; bottom: 28px; display: flex; align-items: center; gap: 14px; max-width: min(620px, calc(100vw - 32px)); padding: 14px 20px 14px 14px; border-radius: 16px; background: rgba(11, 17, 1, 0.82); border: 1px solid rgba(193, 253, 58, 0.35); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); opacity: 0; pointer-events: none; }
.ap-toast-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--lime); color: var(--lime-950); font-size: 20px; }
.ap-toast b { display: block; font-family: var(--f-titre); font-weight: 400; font-size: 22px; line-height: 1.1; color: #fff; }
.ap-toast span { font-size: 14px; color: rgba(243,243,244,0.75); }
.ap-toast em { font-style: normal; color: var(--lime); font-weight: 600; }
#apercu.cree .ap-cadre { overflow-y: auto; box-shadow: none; }
.url-neuve { color: var(--lime); }
.crayon { position: absolute; right: 10px; top: 10px; z-index: 6; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--lime-200); color: #476C08; font-size: 17px; box-shadow: 0 6px 16px rgba(0,0,0,0.35); }
.contour-edition { position: absolute; inset: 0; z-index: 5; border-radius: 10px; box-shadow: inset 0 0 0 2px var(--lime-200); pointer-events: none; opacity: 0; }
@media (max-width: 639px) { .ap-toast { left: 12px; right: 12px; bottom: 12px; } }
/* le compteur des participants qui saute à chaque réponse */
@keyframes saut { 0% { transform: scale(1); } 35% { transform: scale(1.5); color: #FF9572; } 100% { transform: scale(1); } }
.invites b.saute { animation: saut 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* le téléphone qui se retourne en carte (deux faces) */
.flip { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.appareil { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.dos-carte { position: absolute; left: -171px; top: -260px; width: 342px; height: 520px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.dos-carte .carte { box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 30px 60px rgba(68, 6, 8, 0.35); }
/* le raccord avec l'image de la bulle (même cadrage) */
.ecr .raccord { position: absolute; z-index: 20; left: 0; top: 60px; width: 390px; object-fit: cover; object-position: 50% 30%; pointer-events: none; }
/* la page de la scène 3 : assez haute pour la colonne de widgets entière */
.pg-ordi { height: 1064px; }
.wm { display: inline-block; }

/* revenir en arrière depuis le formulaire (retour du 21/10) */
/* « Retour » : le composant Link du DS (atoms/Link.tsx, couleur « dark » = dark-200 sur fond sombre) :
   texte souligné, pas de fond ni de contour ; au survol il passe en secondary-500 (comme dans l'app)
   et la flèche recule d'un rien. Assez d'air entre lui et la carte du formulaire. */
.cr-retour { position: absolute; left: max(48px, calc(50% - 576px)); top: 86px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; margin: -6px -8px; padding: 6px 8px; border: 0; background: none; color: #CFD0D2; font: 500 15px/20px var(--f-texte); cursor: pointer; pointer-events: auto; transition: color 0.2s; }
.cr-retour span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(207, 208, 210, 0.45); transition: text-decoration-color 0.2s; }
.cr-retour .ico { font-size: 16px; transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.28, 1); }
.cr-retour:hover { color: #FC4121; }
.cr-retour:hover span { text-decoration-color: currentColor; }
.cr-retour:hover .ico { transform: translateX(-3px); }
.cr-retour:focus-visible { outline: 2px solid rgba(193, 253, 58, 0.7); outline-offset: 2px; border-radius: 6px; }

/* LE BOUTON-LIEN : un seul rendu (retour du 21/10, la capture préférée de Quentin) — sur la
   carte au moment du copier, et pour la pilule envoyée aux invités. Lime en relief : une
   ombre douce en haut, un léger dégradé, l'anneau sombre autour, une grande icône. */
.bouton-lien { position: relative; isolation: isolate; }
.bouton-lien .pl-fond { position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0;
  background: radial-gradient(46% 72% at 50% 0%, rgba(96, 132, 18, 0.36), rgba(96, 132, 18, 0) 100%), linear-gradient(180deg, #D4FF66 0%, #C6FD45 55%, #C1FD3A 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -0.18em 0.35em rgba(60, 92, 0, 0.18); }
.s4-lien { background: transparent; box-shadow: none; }
.s4-lien .ico { font-size: 1.25em; }
.s4-lien .pl-fond { opacity: 1; }
/* (22/10) le relief de la pilule détachée : son épaisseur (lime foncé, dessous) et ses bords éclairés */
.bouton-lien .pl-epais { position: absolute; inset: 0; z-index: -2; border-radius: inherit; opacity: 0; background: linear-gradient(180deg, #8FD100, #6FA300); box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.35); }
.bouton-lien .pl-bords { position: absolute; inset: 0; z-index: 1; border-radius: inherit; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 7%, rgba(255, 255, 255, 0) 90%, rgba(255, 255, 255, 0.45) 100%);
  box-shadow: inset 0.12em 0 0.18em rgba(255, 255, 255, 0.65), inset -0.12em 0 0.18em rgba(255, 255, 255, 0.4), inset 0 -0.16em 0.3em rgba(60, 92, 0, 0.3); }
.c-bouton .pl-bords, .c-bouton .pl-epais { display: none; }
.bulle-lien { display: inline-flex; align-items: center; gap: 5px; z-index: 12; transform-origin: 50% 100%; }
.bulle-lien .ico { font-size: 13px; color: #1E3300; }
/* l'emplacement d'un widget à venir */
.emplacement { position: absolute; border-radius: 10px; border: 1.5px dashed rgba(229, 255, 145, 0.3); background: rgba(229, 255, 145, 0.025); opacity: 0; pointer-events: none; }

/* « LES WIDGETS » : dans l'espace Ciel à gauche de la page inclinée (retour du 21/10) */
.titre-widgets { position: absolute; z-index: 10; left: var(--marge); top: 50%; transform: translateY(-50%); width: calc(33vw - var(--marge)); pointer-events: none; }
.tw-titre { font-family: var(--f-titre); font-weight: 400; font-size: 5.1vw; line-height: 0.92; letter-spacing: -0.01em; text-transform: uppercase; color: var(--ciel-950); }
.tw-titre .ligne { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.tw-titre .ligne-int { display: inline-block; will-change: transform; }
@media (max-width: 639px) {
  .titre-widgets { left: 0; right: 0; top: 0; width: auto; transform: none; padding: 70px var(--marge) 34px; background: linear-gradient(180deg, var(--ciel) 82%, rgba(179, 203, 228, 0)); }
  .tw-titre { font-size: 13vw; display: flex; gap: 0.25em; }
  .tw-titre .ligne { display: inline-block; }
  .legende-widgets { margin-top: 8px; font-size: 14px; }
}

/* ---------- LES SECTIONS : timeline + titre/description à gauche (js/sections.js) ---------- */
#sections { position: fixed; inset: 0; z-index: 45; pointer-events: none; }
#sections, .sec-bloc { --enc: var(--d50); --doux: rgba(243,243,244,0.62); --trait: rgba(243,243,244,0.18); --point: var(--lime); }
#sections.sur-ciel, .sec-bloc.sur-ciel { --enc: var(--ciel-950); --doux: rgba(22,39,85,0.7); --trait: rgba(22,39,85,0.2); --point: var(--ciel-950); }
#sections.sur-rouge, .sec-bloc.sur-rouge { --enc: var(--rouge-950); --doux: rgba(68,6,8,0.72); --trait: rgba(68,6,8,0.22); --point: var(--rouge-950); }
.tl { position: absolute; left: var(--marge); top: 50%; transform: translateY(calc(-50% + var(--decal, 0px))); width: 150px; display: flex; flex-direction: column; gap: 20px; pointer-events: auto; visibility: hidden; transition: color 0.4s; }
.tl-i { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 12px; font-size: 12.5px; line-height: 1.25; font-weight: 500; color: var(--doux); opacity: 0.55; transition: opacity 0.35s, color 0.4s; }
.tl-i:hover { opacity: 1; }
/* (Quentin, 23/10 : « ça manque d'un hover sur les boutons ») la timeline répond au survol : l'intitulé
   prend la couleur pleine et glisse un peu, la pastille grossit et se remplit */
.tl-n { display: inline-block; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
@media (hover: hover) and (pointer: fine) {
  .tl-i:hover { color: var(--enc); }
  .tl-i:hover .tl-n { transform: translateX(4px); }
  .tl-i:not(.en-cours):hover .tl-p { transform: scale(1.3); background: var(--enc); box-shadow: none; }
}
.tl-p { flex: none; width: 9px; height: 9px; margin-top: 3px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--doux); background: var(--nuit-fond, transparent); transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s, box-shadow 0.4s; }
.tl-i.vu { opacity: 0.85; }
.tl-i.vu .tl-p { background: var(--doux); box-shadow: none; }
.tl-i.en-cours { opacity: 1; color: var(--enc); font-weight: 600; }
.tl-i.en-cours .tl-p { background: var(--point); box-shadow: 0 0 0 4px color-mix(in srgb, var(--point) 22%, transparent); transform: scale(1.25); }
.tl-ligne { position: absolute; left: 4px; top: 7px; bottom: 7px; width: 1px; background: var(--trait); }
.tl-plein { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: var(--doux); transition: height 0.7s cubic-bezier(0.65, 0, 0.35, 1); }
.sec-bloc { position: absolute; z-index: 5; left: calc(var(--marge) + 180px); top: 50%; transform: translateY(calc(-50% + var(--decal, 0px))); width: 380px; visibility: hidden; color: var(--enc); pointer-events: none; }
.sec-titre { font-family: var(--f-titre); font-weight: 400; font-size: clamp(40px, 3.55vw, 51px); line-height: 1.02; letter-spacing: -0.01em; color: var(--enc); transition: color 0.4s; }
.sec-titre .ligne { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.sec-titre .ligne-int { display: inline-block; }
.sec-desc { margin-top: 18px; font-size: 16px; line-height: 1.5; color: var(--doux); transition: color 0.4s; }
.sec-desc b { color: var(--enc); font-weight: 600; }
.sec-actions { margin-top: 26px; pointer-events: auto; }
.sec-actions .mention { color: var(--doux); }
.stores { position: relative; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 14px 0 11px; border-radius: 10px; background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28); }
.store .ico { font-size: 24px; } .store svg { width: 22px; height: 24px; }
.store span { display: flex; flex-direction: column; line-height: 1.05; }
.store small { font-size: 10px; font-weight: 500; opacity: 0.85; } .store b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.stores.bientot .store { opacity: 0.55; }
.stores-bientot { order: -1; flex-basis: 100%; width: max-content; flex-grow: 0; margin-bottom: 2px; }
.stores-bientot { max-width: max-content; }
@media (max-width: 639px) {
  .tl { left: 16px; top: 66px; transform: translateY(var(--decal, 0px)); width: auto; flex-direction: row; gap: 12px; align-items: center; }
  .tl-i { gap: 0; } .tl-i .tl-n { display: none; } .tl-i.en-cours .tl-n { display: inline; margin-left: 8px; }
  .tl-i { padding: 6px 0; } .tl-p { margin-top: 0; }
  .tl-ligne { left: 4px; right: auto; top: 50%; bottom: auto; height: 1px; width: calc(100% - 8px); }
  .tl-plein { height: 1px !important; transition: width 0.7s cubic-bezier(0.65, 0, 0.35, 1); }
  /* (audit téléphone, 22/10) plus de timeline au téléphone ; le bloc respire : marges de 24,
     titre lisible, description de 2 lignes au plus, en 15 px */
  .tl { display: none !important; }
  .sec-bloc { left: 0; right: 0; top: 0; transform: none; width: auto; padding: 0 24px 18px; }
  .sec-titre { font-size: clamp(31px, 9vw, 40px); line-height: 1.04; }
  .sec-desc { margin-top: 10px; font-size: 15px; line-height: 1.45; max-width: 30em; }
  .sec-actions { position: fixed; left: 24px; right: 24px; bottom: calc(22px + var(--bas-cache, 0px)); margin: 0; }
  .sec-actions .btn { width: 100%; }
  .stores { justify-content: center; }
}

/* la colonne des sections reste libre : les visuels s'effacent à sa lisière (ordinateur) */
@media (min-width: 640px) {
  #gl, .s4 { -webkit-mask-image: linear-gradient(to right, transparent calc(var(--zx, 600px) - 40px), #000 calc(var(--zx, 600px) + 10px)); mask-image: linear-gradient(to right, transparent calc(var(--zx, 600px) - 40px), #000 calc(var(--zx, 600px) + 10px)); }
}
/* au téléphone, le bloc du haut a le fond de la scène (rien ne passe dessous) */
@media (max-width: 639px) {
  .sec-bloc { top: 0; padding-top: 78px; z-index: 20; background: linear-gradient(180deg, var(--fond-sec, #0B1101) 84%, transparent); }
  #sections .tl { z-index: 2; }
  .sec-bloc { --fond-sec: #0B1101; } .sec-bloc.sur-ciel { --fond-sec: #B3CBE4; } .sec-bloc.sur-rouge { --fond-sec: #FC4121; }
}

@media (max-width: 639px) {
  .stores { flex-wrap: nowrap; gap: 8px; }
  .store { height: 42px; padding: 0 10px 0 9px; gap: 7px; } .store b { font-size: 14px; } .store small { font-size: 9px; } .store .ico { font-size: 20px; } .store svg { width: 18px; height: 20px; }
  .stores-bientot { position: absolute; left: 50%; top: -13px; transform: translateX(-50%) rotate(-3deg); margin: 0; z-index: 1; }
}

/* LE VOLET : panneau plein, coins arrondis en haut, ombre de son bord ; au-dessus des lumières
   de la scène d'avant, sous les visuels (la carte, la page, le téléphone restent devant) */
#volet { position: absolute; left: 0; right: 0; top: 0; z-index: -1; height: 100vh; border-radius: 52px 52px 0 0; transform-origin: 50% 50%; visibility: hidden; will-change: transform;
  box-shadow: 0 -10px 26px rgba(0, 0, 0, 0.34), 0 -40px 80px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.10); }
@media (max-width: 639px) { #volet { border-radius: 28px 28px 0 0; } }

/* le widget Texte : ses trois mises en page superposées, mises à l'échelle depuis le coin */
.w-texte .wt { transform-origin: 0 0; will-change: transform, opacity; }
.w-texte .wt-bandeau, .w-texte .wt-rectangle { opacity: 0; }
/* les scènes couvrent tout l'écran mais laissent passer les clics vers le bloc des sections */
.s3, .s4, .s5 { pointer-events: none; }
.s5-pivot { pointer-events: auto; }

/* « Nos modèles » sur fond clair (dark-50 #F3F3F4) : textes, barre et timeline en dark-950 */
#sections.sur-clair-d, .sec-bloc.sur-clair-d { --enc: #252527; --doux: rgba(37,37,39,0.68); --trait: rgba(37,37,39,0.18); --point: #252527; }
/* (Quentin, 22/10 : « la timeline devient blanche à un moment donné ») seul l'intitulé que la page sombre
   des widgets recouvre VRAIMENT passe en clair ; les autres gardent les couleurs du fond clair */
#sections .tl-i.sur-page { --enc: var(--d50); --doux: rgba(243,243,244,0.62); --point: var(--lime); }
/* un clic dans la timeline : pas de cadre de focus qui reste affiché (il reste pour la navigation au clavier) */
.tl-i:focus { outline: none; }
.tl-i:focus-visible { outline: 2px solid var(--point); outline-offset: 3px; border-radius: 6px; }
.pg-coin { position: absolute; width: 0; height: 0; pointer-events: none; }
.sec-bloc.sur-clair-d { --fond-sec: #F3F3F4; }
.barre-fixe.sur-clair-d { color: #252527; }
/* (finitions 22/10) au téléphone, sur le fond clair des widgets, la barre passait en verre SOMBRE avec
   un logo sombre : gris sale et logo illisible. Sur fond clair, le verre est clair (le fond de la scène). */
.barre-fixe.verre.sur-clair-d::before { background: rgba(243, 243, 244, 0.8); box-shadow: inset 0 -1px rgba(37, 37, 39, 0.08); }
.barre-fixe.sur-clair-d .btn-verre { background: rgba(255,255,255,0.6); border-color: rgba(37,37,39,0.14); color: #252527; }
#curseur.sur-clair-d .cu-point { box-shadow: 0 0 0 2px #252527; }
#curseur.sur-clair-d .cu-disque, #curseur.sur-clair-d .cu-geste { box-shadow: 0 0 0 1.5px rgba(37,37,39,0.5), 0 14px 34px rgba(0,0,0,0.18); }

/* derrière la section qui recule : un fond plus profond (l'effet de cartes empilées) */
#plateau { background: #0B1101; }
#fond { transform-origin: 50% 40%; will-change: transform; }

/* téléphone : le bloc se décale par « top » (une transformation casserait le bouton fixé en bas) */
@media (max-width: 639px) { .sec-bloc { top: var(--decal, 0px) !important; transform: none !important; } }

/* l'accueil : la phrase en bas passe devant la carte ; une ombre douce de la couleur du fond
   la détache du bas de la carte (sans halo coloré) */
.phrase { text-shadow: 0 2px 24px rgba(11, 17, 1, 0.9), 0 0 2px rgba(11, 17, 1, 0.6); }
.s1-actions .ligne .btn { box-shadow: 0 10px 28px rgba(11, 17, 1, 0.55); }

/* fond lime (« Invites tes potes ») : textes, barre, timeline et curseur en primary-950 */
#sections.sur-lime, .sec-bloc.sur-lime { --enc: #1E3300; --doux: rgba(30,51,0,0.72); --trait: rgba(30,51,0,0.22); --point: #1E3300; }
.sec-bloc.sur-lime { --fond-sec: #C1FD3A; }
.sec-bloc.sur-ciel { --fond-sec: #BEDFFF; }
.barre-fixe.sur-lime { color: #1E3300; }
.barre-fixe.sur-lime .btn-primary { background: #1E3300; border-color: #1E3300; color: var(--lime); }
#curseur.sur-lime .cu-point, #curseur.sur-lime .cu-disque, #curseur.sur-lime .cu-geste { background: #1E3300; color: var(--lime); }
/* (22/10) au-dessus d'un élément lime (bouton principal…), le curseur passe en vert 950 */
#curseur.sur-vert .cu-point, #curseur.sur-vert .cu-disque, #curseur.sur-vert .cu-geste { background: var(--lime-950); color: var(--lime); }
#curseur.sur-vert .cu-point { box-shadow: 0 0 0 2px rgba(229, 255, 145, 0.7); }
/* « Obtenir l'app » : jamais rose — la variante vitrée prend le 950 du fond */
.barre-fixe.sur-rouge .btn-verre { background: rgba(68, 6, 8, 0.08); border-color: rgba(68, 6, 8, 0.22); color: var(--rouge-950); }
.barre-fixe.sur-ciel .btn-verre { background: rgba(22, 39, 85, 0.06); border-color: rgba(22, 39, 85, 0.2); color: var(--ciel-950); }
.barre-fixe.sur-lime .btn-verre { background: rgba(30, 51, 0, 0.06); border-color: rgba(30, 51, 0, 0.24); color: #1E3300; }
/* la pastille « Bientôt » : un autocollant posé sur le coin du bouton, pas dedans */
.btn-app-b { position: relative; overflow: visible; }
.btn-app-b > .badge { position: absolute; top: -10px; right: -12px; transform: rotate(8deg); box-shadow: 0 4px 10px rgba(0,0,0,0.25); pointer-events: none; }
.btn-xl.btn-app-b > .badge { top: -11px; right: -14px; }
.barre-fixe .barre-droite { gap: 18px; }
.barre-fixe.sur-lime .btn-app-b > .badge { box-shadow: 0 0 0 1.5px #1E3300, 0 4px 10px rgba(30,51,0,0.25); }

/* L'ACCUEIL D'APRÈS LA MAQUETTE DE QUENTIN : une lueur lime portée par la carte (l'objet éclaire),
   le titre grand et blanc/lime, les deux étiquettes « Sans compte » et « Waouuuh » */
.s1-lueur { position: absolute; inset: 4% -6% 18% -6%; border-radius: 40px; background: rgba(193, 253, 58, 0.42); filter: blur(70px); pointer-events: none; }
.phrase { text-shadow: 0 6px 30px rgba(11, 17, 1, 0.55); line-height: 0.98; }
.s1-actions .ligne .btn { box-shadow: none; }
.etiquette { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 999px; font-size: 19px; font-weight: 500; white-space: nowrap; box-shadow: 0 10px 24px rgba(0,0,0,0.3); }
.etq-compte { background: var(--orange); color: var(--orange-950); box-shadow: inset 0 0 0 1px var(--orange-600), 0 10px 24px rgba(0,0,0,0.3); }
.etq-waou { height: 42px; background: rgba(230, 230, 231, 0.88); color: #4D4D51; font-size: 18px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 639px) { .s1-lueur { filter: blur(44px); } }

/* accueil téléphone (maquette mobile de Quentin) : titre aligné à gauche, bouton pleine largeur,
   lueur lime forte vers le haut */
@media (max-width: 639px) {
  /* (finitions 22/10) « Crée un évènement » mesure ~9 fois la taille du texte : au-delà, en 390 px,
     le « t » sortait de la ligne (masquée pour l'animation) et disparaissait. On plafonne la taille
     pour que la ligne la plus longue tienne toujours entre les deux marges de 26 px. */
  .phrase { text-align: left; padding: 0 26px; font-size: min(10.2vw, calc((100vw - 52px) / 9)); }
  .s1-actions { left: 10px; right: 10px; }
  .s1-lueur { inset: -26% -22% 34% -22%; background: rgba(193, 253, 58, 0.5); filter: blur(56px); }
}

/* la page des widgets, ouverte : les widgets peuvent arriver du dehors (pas de découpe) */
.pg.ouverte { overflow: visible; }
.pg.ouverte .pg-fond { border-radius: inherit; }
.pg-ordi .navig { border-radius: 16px 16px 0 0; }
.pg-w > .w { transform-origin: 50% 0; }
.pg-w { transform-origin: 50% 0; }
/* l'ombrage d'un widget qui se pose : le haut touche, le milieu se creuse un peu */
.w .pli { position: absolute; inset: 0; z-index: 9; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(0,0,0,0.32) 38%, rgba(0,0,0,0.12) 70%, rgba(255,255,255,0.05) 100%); }

/* la carte courbée (le widget en bandes) et son ombre portée */
.pg-w { perspective: 1100px; perspective-origin: 50% 0; }
.arc { position: absolute; left: 0; top: 0; width: 342px; transform-style: preserve-3d; transform-origin: 50% 0; pointer-events: none; visibility: hidden; }
.arc-s { position: absolute; left: 0; width: 342px; transform-style: preserve-3d; transform-origin: 50% 0; }
.arc-band { position: relative; width: 342px; overflow: hidden; }
.arc-clone { position: absolute; left: 0; width: 342px; }
.arc-clone > .w { position: relative !important; visibility: visible !important; }
.arc-clone .num { display: none; }
.arc-lum { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.arc-ombre { position: absolute; left: 6px; right: 6px; top: 6px; border-radius: 12px; background: rgba(0,0,0,0.75); filter: blur(16px); opacity: 0; visibility: hidden; pointer-events: none; }

/* le pied de page monte lui aussi comme une feuille : grands coins, ombre de son bord */
.pied { border-radius: 48px 48px 0 0; box-shadow: 0 -10px 26px rgba(0, 0, 0, 0.3), 0 -40px 80px rgba(0, 0, 0, 0.18); }
@media (max-width: 639px) { .pied { border-radius: 32px 32px 0 0; } #volet { border-radius: 36px 36px 0 0; } }

/* la copie du titre et des boutons de l'accueil, au-dessus de la carte qui vole */
.cr-dessus { position: absolute; inset: 0; z-index: 6; pointer-events: none; will-change: transform; }
.cr-dessus .phrase, .cr-dessus .s1-actions { visibility: visible !important; }

.arc-s.arc-x { transform-origin: 0 50%; }
.arc-x > .arc-band { position: relative; }

/* (téléphone) le widget qui arrive vole au-dessus de la page rognée par sa fenêtre */
.arc-hors { z-index: 6; color: var(--d50); text-align: left; pointer-events: none; }

/* (audit téléphone, 22/10) zones de toucher d'au moins 44 px ; le sol du pied tient son tas */
@media (max-width: 639px) {
  .barre .btn-m { position: relative; }
  .barre .btn-m::after { content: ""; position: absolute; inset: -4px -2px; }
  .pd-col { gap: 0; }
  .pd-t { margin-bottom: 2px; }
  .pd-col a { min-height: 44px; }
  .pd-rs { gap: 6px; }
  .pd-rs a { width: 44px; height: 44px; }
  .pd-sol { height: 220px; }
  /* (Safari d'iPhone) le sol du tas reste au-dessus de la barre flottante */
  .pied { padding-bottom: var(--bas-cache, 0px); }
}

/* ==== LA RAFALE DE RÉPONSES (retour de Quentin, 22/10 : « plus dynamique et plus waouh ») ====
   L'écran du téléphone est recomposé : l'en-tête plus court, la Liste des invités remonte et
   reste visible AU-DESSUS de la feuille « Tu viens ? », qui ne se replie plus. */
.ecr .pt-banniere { height: 400px; }
.ecr .pt-degrade { height: 480px; background: linear-gradient(180deg, rgba(5,6,5,0.35) 0%, rgba(5,6,5,0) 20%, rgba(5,6,5,0) 40%, rgba(5,6,5,0.85) 70%, #050605 90%); }
.ecr .pt-infos { top: 248px; }
.ecr .pt-invites { top: 416px; }
/* le compteur mécanique (chaque chiffre est une bande qui défile) */
.odo { display: inline-flex; justify-content: center; height: 22px; overflow: hidden; vertical-align: top; }
.odo-c { position: relative; display: block; width: 0.6em; height: 22px; overflow: hidden; }
.odo-c > span { display: flex; flex-direction: column; will-change: transform; }
.odo-c i { display: block; height: 22px; line-height: 22px; font-style: normal; text-align: center; }
/* les notifications, façon iOS, empilées en haut de l'écran */
.notifs { position: absolute; z-index: 12; left: 12px; right: 12px; top: 56px; height: 0; pointer-events: none; }
.notif { position: absolute; left: 0; right: 0; top: 0; height: 66px; padding: 12px 14px 12px 12px; display: flex; align-items: center; gap: 11px; border-radius: 22px; background: rgba(37, 37, 39, 0.82); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 14px 30px rgba(0,0,0,0.4); color: #F3F3F4; transform-origin: 50% 0; opacity: 0; will-change: transform, opacity; }
.nf-app { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--lime); }
.nf-app svg { width: 22px; height: 22px; fill: #1E3300; }
.nf-txt { flex: 1; min-width: 0; }
.nf-t { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; line-height: 18px; }
.nf-t b { font-weight: 600; } .nf-t small { font-size: 12px; opacity: 0.55; }
.nf-m { font-size: 16px; line-height: 21px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-e { flex: none; width: 34px; height: 34px; }
/* les flammes qui sortent de l'écran vers nous, et l'explosion finale */
.s4-flammes { position: absolute; inset: 0; z-index: 12; pointer-events: none; visibility: hidden; }
.flm { position: absolute; left: 0; top: 0; width: 80px; height: 80px; margin: -40px 0 0 -40px; opacity: 0; will-change: transform, opacity; filter: drop-shadow(0 12px 18px rgba(0,0,0,0.35)); }

/* le clic sur le lien : l'onde lime qui part du point touché */
.onde-lien { position: absolute; z-index: 11; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(193,253,58,0.35), rgba(193,253,58,0.12) 70%, rgba(193,253,58,0)); box-shadow: 0 0 0 2px rgba(193,253,58,0.85); }
.bouton-lien { transition: none; }

/* « en train d'écrire » : trois points qui sautillent */
@keyframes ecrit { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-5px); opacity: 1; } }

/* ==== RESTRUCTURATION (22/10, validée par Quentin) ==== */
/* A. la carte de l'évènement qui compte les réponses */
.s4-morph, .s4-morph-img { position: absolute; left: 0; top: 0; z-index: 11; visibility: hidden; pointer-events: none; will-change: transform; }
.s4-morph { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 20px 40px rgba(0,0,0,0.3); }
.s4-morph-img { object-fit: cover; object-position: 50% 30%; }
.s4-fla { z-index: 13; }
/* les réponses dans les conversations */
html.tel .bu-lien img { height: 118px; }

/* B. l'écran verrouillé, puis l'écran d'accueil */
.lk, .acc { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; will-change: transform, opacity; }
.acc { opacity: 0; }
.lk-fond { position: absolute; inset: 0; background: radial-gradient(90% 46% at 50% 26%, rgba(193, 253, 58, 0.26), rgba(193, 253, 58, 0) 72%), linear-gradient(180deg, #16290A 0%, #0B1101 52%, #050605 100%); }
.lk-sym { position: absolute; left: 50%; bottom: -70px; width: 360px; margin-left: -180px; fill: rgba(193, 253, 58, 0.07); }
.lk-cadenas { position: absolute; left: 0; right: 0; top: 64px; text-align: center; font-size: 20px; color: rgba(243,243,244,0.8); }
.lk-date { position: absolute; left: 0; right: 0; top: 96px; text-align: center; font-size: 20px; font-weight: 600; color: rgba(243,243,244,0.82); }
.lk-heure { position: absolute; left: 0; right: 0; top: 118px; text-align: center; font-family: var(--f-titre); font-size: 108px; line-height: 1; letter-spacing: -0.02em; color: #F3F3F4; }
.lk .notifs { top: 272px; }
.lk-b { position: absolute; right: 44px; bottom: 44px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(243,243,244,0.14); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); font-size: 24px; color: #F3F3F4; }
.etat-h { opacity: 0; }
.notif { height: 84px; align-items: center; }
.nf-m { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15.5px; line-height: 19px; }
.nf-m b { font-weight: 700; }
.nf-th { flex: none; width: 44px; height: 44px; border-radius: 8px; object-fit: cover; object-position: 50% 30%; }
html.tel .notif { height: 96px; padding: 12px 14px 12px 12px; }
html.tel .nf-m { font-size: 18.5px; line-height: 22px; }
html.tel .nf-t { font-size: 15px; } html.tel .nf-app { width: 44px; height: 44px; }
.acc-grille { position: absolute; left: 22px; right: 22px; top: 78px; display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 22px; }
.app { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.app-i { position: relative; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 17px; background: rgba(243,243,244,0.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); color: #CFD0D2; font-size: 30px; will-change: transform; transform-origin: 50% 100%; }
.app small { font-size: 12px; font-weight: 500; color: rgba(243,243,244,0.85); }
.app-shotai .app-i { background: var(--lime); box-shadow: 0 10px 24px rgba(193,253,58,0.25); }
.app-shotai .app-i svg { width: 34px; height: 34px; fill: #1E3300; }
.app-badge { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: #FC4121; color: #fff; font-size: 13px; font-weight: 700; opacity: 0; }
.acc-dock { position: absolute; left: 14px; right: 14px; bottom: 26px; height: 92px; display: flex; justify-content: space-around; align-items: center; border-radius: 34px; background: rgba(243,243,244,0.1); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }

/* B. « Préviens-moi » : le champ e-mail du DS (input contained-dark), son bouton, la confirmation */
.alerte { width: 100%; }
.al-ligne { display: flex; gap: 8px; }
.al-champ { flex: 1; min-width: 0; height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 8px; background: #444546; box-shadow: inset 0 0 0 1px #4D4D51; transition: box-shadow 0.2s; cursor: text; }
@media (hover: hover) and (pointer: fine) { .al-champ:hover { box-shadow: inset 0 0 0 1px #5A5B60; } }
.al-champ:focus-within { box-shadow: inset 0 0 0 1px #C1FD3A; }
.al-champ.erreur { box-shadow: inset 0 0 0 1px #DA4AEB; }
.al-champ .ico { flex: none; font-size: 19px; color: #AEAFB2; }
.al-champ input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: none; outline: none; color: #F3F3F4; font: 400 16px/1.2 var(--f-texte); }
.al-champ input::placeholder { color: #85868B; }
.al-ligne .btn { flex: none; }
.al-note { margin-top: 10px; font-size: 13.5px; line-height: 1.4; color: var(--doux); transition: color 0.2s; }
.al-note.erreur { color: #E97CF6; }
.al-ok { display: none; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px; border-radius: 8px; background: rgba(193, 253, 58, 0.12); box-shadow: inset 0 0 0 1px rgba(193, 253, 58, 0.55); color: #F3F3F4; font-size: 16px; font-weight: 600; }
.al-ok .ico { flex: none; font-size: 24px; color: #C1FD3A; }
.alerte.envoye .al-ligne { display: none; }
.alerte.envoye .al-ok { display: flex; }
.stores-b { margin-top: 20px; }
.stores-b .store { position: relative; }
.stores-b .badge { position: absolute; top: -10px; right: -8px; }
@media (max-width: 639px) {
  .al-champ { height: 52px; } .al-ligne .btn { height: 52px; padding: 0 18px; font-size: 16px; }
  .al-note { margin-top: 8px; font-size: 13px; text-align: center; }
  .stores-b { margin-top: 12px; }
  .stores-b .store { height: 42px; }
  /* au téléphone, le formulaire du bas a le fond de la scène (le visuel passe dessous) */
  .sec-actions::before { content: ""; position: absolute; z-index: -1; left: -24px; right: -24px; top: -46px; bottom: calc(-22px - var(--bas-cache, 0px)); background: linear-gradient(180deg, transparent, var(--fond-sec, #0B1101) 46px); pointer-events: none; }
}

@media (max-width: 639px) { .sec-actions .al-ligne .btn { width: auto; } }

@media (max-width: 639px) { .stores-b { margin-top: 18px; } .stores-b .badge { top: -13px; right: -4px; transform: scale(0.86); transform-origin: 100% 100%; } }

/* « Voir tous les modèles → » : le bouton-lien du DS (Link), une porte vers le site */
.lien-voir { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 500; color: var(--enc); }
.lien-voir span, .lien-voir { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.lien-voir .ico { font-size: 17px; transform: rotate(180deg); transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.28, 1); }
@media (hover: hover) and (pointer: fine) { .lien-voir:hover { color: #FC4121; text-decoration-color: currentColor; } .lien-voir:hover .ico { transform: rotate(180deg) translateX(-4px); } }
.sec-actions:has(.lien-voir) { margin-top: 14px; }
@media (max-width: 639px) { .sec-actions:has(.lien-voir) { display: flex; justify-content: center; } .sec-actions:has(.lien-voir)::before { display: none; } }

/* ==== LE FOND TEINTÉ DES PAGES ÉVÈNEMENT (mise à jour du site, 22/10) : uni, au cran 80 de la gamme de
   SA bannière ; les verres au cran 70 ; un halo de la bannière sous la carte (ordinateur) ==== */
.pg-fond { background: var(--pg-fond, #212222); }
.pg-halo { position: absolute; z-index: 0; width: 342px; height: 520px; object-fit: cover; opacity: 0.3; filter: blur(24px) brightness(0.7) saturate(1.2); pointer-events: none; }
.pg .invites { background: var(--pg-verre, rgba(10, 12, 9, 0.82)); }
.pg-tel { background: var(--pg-fond, #050605); }
.pg-tel .pt-degrade { background: linear-gradient(180deg, rgba(var(--pg-fond-rvb), 0.35) 0%, rgba(var(--pg-fond-rvb), 0) 22%, rgba(var(--pg-fond-rvb), 0) 48%, rgba(var(--pg-fond-rvb), 0.85) 74%, var(--pg-fond) 92%); }

/* la pastille du widget Cagnotte = celle de l'app (WidgetTypeTile) : arrondi 8, contour 0,58 px, glyphe 32 */
.w-tuile.w-tuile-app { border-radius: 8px; box-shadow: inset 0 0 0 0.582px var(--b); }
.w-tuile.w-tuile-app .ico { font-size: 32px; }

/* ==== « INVITES TES POTES », v3 (concept de Quentin, 22/10) : la bulle du lien, les messages qui en
   sortent, la bulle qui se retourne en évènement (maquettes « 01 - Page évènement », images 86 et 87) ==== */
/* l'évènement (360 × 610, comme sa maquette ; origine au centre) */
.ev-ban { position: absolute; left: 0; top: 0; width: 360px; height: 285px; object-fit: cover; object-position: 50% 32%; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 92%); mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 92%); }
.ev-orga { position: absolute; left: 22px; top: 222px; display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 22px; font-weight: 500; white-space: nowrap; }
.ev-orga b { font-weight: 700; margin-left: -4px; }
.ev-orga > .ico { font-size: 18px; }
.ev-orga .couronne { width: 22px; height: 22px; }
.ev-titre { position: absolute; left: 22px; right: 18px; top: 252px; font-family: var(--f-titre); font-size: 28px; line-height: 1.08; letter-spacing: -0.01em; white-space: nowrap; }
.ev-ligne { position: absolute; left: 22px; display: flex; align-items: center; gap: 13px; font-size: 15px; line-height: 28px; font-weight: 500; white-space: nowrap; }
.ev-pic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: rgba(243, 243, 244, 0.1); }
.ev-pic .ico { font-size: 16px; }
.ev-invites { position: absolute; left: 22px; right: 22px; top: 368px; height: 86px; border-radius: 12px; background: var(--ev-verre); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); text-align: center; }
.ev-invites > p { margin-top: 12px; font-size: 13px; font-weight: 600; }
.ev-cpt { display: flex; align-items: center; margin-top: 7px; }
.ev-cpt > div { flex: 1; display: flex; flex-direction: column; align-items: center; }
.ev-cpt small { margin-top: 2px; font-size: 11.5px; font-weight: 500; color: rgba(243,243,244,0.82); }
.ev-filet { flex: none; width: 1px; height: 40px; background: rgba(243,243,244,0.18); }
.odo2 { display: inline-flex; height: 26px; overflow: hidden; font-size: 22px; line-height: 26px; font-weight: 600; font-variant-numeric: tabular-nums; will-change: transform; }
.odo2 .oc { display: block; width: 0.62em; height: 26px; overflow: hidden; }
.odo2 .oc > span { display: flex; flex-direction: column; will-change: transform; }
.odo2 .oc i { display: block; height: 26px; font-style: normal; text-align: center; }
/* les émojis-autocollants : grands, par-dessus la carte, ils en débordent (image 87) */
.ev-stick { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 3; }
.ev-s { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; will-change: transform, opacity; }
.ev-s img { position: absolute; left: -58px; top: -58px; width: 116px; height: 116px; filter: drop-shadow(0 10px 16px rgba(0,0,0,0.35)); will-change: transform; }
.ev-lab { position: absolute; left: 0; top: 52px; transform: translateX(-50%); height: 32px; padding: 0 15px; display: grid; place-items: center; border-radius: 16px; font-size: 15px; font-weight: 500; white-space: nowrap; box-shadow: 0 8px 18px rgba(0,0,0,0.3); }
.ev-s-oui .ev-lab { background: #FC4121; color: #440608; box-shadow: inset 0 0 0 1px #ED1B09, 0 8px 18px rgba(0,0,0,0.3); }
.ev-s-peut .ev-lab { top: 50px; background: #8DC9FF; color: #162755; box-shadow: inset 0 0 0 1px #5DAEFD, 0 8px 18px rgba(0,0,0,0.3); }
.ev-s-non .ev-lab { background: #DA4AEB; color: #3B0442; box-shadow: inset 0 0 0 1px #BE29CC, 0 8px 18px rgba(0,0,0,0.3); }

/* la pilule du lien passe AU-DESSUS de la bulle qui naît d'elle (son texte reste lisible pendant le fondu) */
#s4Lien { z-index: 12; }

/* ==== LE CLIC DANS LA PILULE (22/10, 2e version) : icône → coche, adresse → « Lien copié », reflet ==== */
.bouton-lien { overflow: hidden; }
.pl-ico { position: relative; display: inline-grid; place-items: center; width: 1em; height: 1em; flex: none; }
.pl-ico > * { grid-area: 1 / 1; }
.pl-ico .ico { font-size: 1em; will-change: transform, opacity; }
.pl-coche { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; }
.c-bouton .pl-ico { font-size: 12px; }
.pl-txt { position: relative; display: inline-grid; overflow: hidden; line-height: 1.35; }
.pl-txt > span { grid-area: 1 / 1; text-align: center; white-space: nowrap; will-change: transform, opacity; }
.pl-l2 { font-weight: 600; opacity: 0; transform: translateY(105%); }
.pl-reflet { position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0; background: linear-gradient(105deg, rgba(255,255,255,0) 42%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 58%) no-repeat; background-size: 260% 100%; background-position: 130% 0; }
.s4-lien .pl-ico { font-size: 1.25em; }
/* les curseurs de démonstration : discrets ; le doigt (téléphone) est un petit point, pas un cercle */
.f-bulle { left: 12px; top: 12px; height: 28px; padding: 0 11px; background: rgba(11, 17, 1, 0.9); color: #F3F3F4; font-size: 12.5px; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(243,243,244,0.14), 0 8px 20px rgba(0, 0, 0, 0.3); }
.fantome.doigt .f-point { left: -10px; top: -10px; width: 20px; height: 20px; background: rgba(243, 243, 244, 0.92); box-shadow: 0 0 0 1px rgba(11, 17, 1, 0.25), 0 6px 14px rgba(0, 0, 0, 0.35); }
.fantome.appui .f-point { transform: scale(0.72); }
/* la barre d'actions du widget Texte : le bouton touché s'enfonce, rien autour */
.bt-b { transition: background-color 0.2s, color 0.2s, transform 0.14s cubic-bezier(0.34, 1.56, 0.64, 1); }
.bt-b.appui { transform: scale(0.86); }

/* RSVP sur la nuit : les messages en verre clair (lisibles sur le fond sombre) */
/* le point du curseur de démonstration : clair, lisible sur le lime comme sur le sombre */
.f-point { background: #F3F3F4; box-shadow: 0 0 0 2px rgba(11, 17, 1, 0.85), 0 4px 10px rgba(0, 0, 0, 0.3); }

/* ==== « DANS LA POCHE » : la page de l'évènement dans le téléphone (maquettes 86 / 87) ==== */
.tp { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--tp-fond); color: #F3F3F4; visibility: hidden; will-change: clip-path, opacity; }
.lk { z-index: 2; }
.tp-ban { position: absolute; left: 0; top: 0; width: 390px; height: 440px; object-fit: cover; object-position: 50% 32%; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 48%, transparent 95%); mask-image: linear-gradient(180deg, #000 0%, #000 48%, transparent 95%); }
.tp-orga { position: absolute; left: 24px; top: 352px; display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 24px; font-weight: 500; white-space: nowrap; }
.tp-orga b { font-weight: 700; margin-left: -4px; }
.tp-orga > .ico { font-size: 19px; }
.tp-orga .couronne { width: 24px; height: 24px; }
.tp-titre { position: absolute; left: 24px; top: 384px; font-family: var(--f-titre); font-size: 34px; line-height: 1.05; letter-spacing: -0.01em; white-space: nowrap; }
.tp-ligne { position: absolute; left: 24px; display: flex; align-items: center; gap: 14px; font-size: 16.5px; line-height: 32px; font-weight: 500; white-space: nowrap; }
.tp-ligne .ev-pic { width: 32px; height: 32px; }
.tp-invites { position: absolute; left: 24px; right: 24px; top: 528px; height: 96px; border-radius: 14px; background: var(--tp-verre); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); text-align: center; }
.tp-invites > p { margin-top: 13px; font-size: 14px; font-weight: 600; }
.tp-invites .ev-cpt b { font-size: 24px; line-height: 28px; font-weight: 600; }
.tp-invites .ev-cpt small { font-size: 12px; }
.tp-s { position: absolute; width: 0; height: 0; opacity: 0; will-change: transform, opacity; }
.tp-s img { position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; filter: drop-shadow(0 10px 16px rgba(0,0,0,0.35)); will-change: transform; }
.tp-s .ev-lab { top: 54px; height: 34px; padding: 0 16px; font-size: 16px; border-radius: 17px; }
.tp-s.ev-s-peut .ev-lab { top: 52px; }

/* ==== LE ROULEAU DES THÈMES (22/10) ==== */
.theme { position: absolute; z-index: 15; left: 0; top: 0; pointer-events: none; visibility: hidden; will-change: transform, opacity; }
.th-pre { display: flex; align-items: center; gap: 0.28em; height: var(--th-ha); font-family: var(--f-texte); font-weight: 400; font-size: var(--th-fa); line-height: var(--th-ha); color: #CFD0D2; letter-spacing: -0.01em; }
.roul { position: relative; display: block; perspective: 900px; perspective-origin: 50% 50%; }
.roul-axe { position: absolute; inset: 0; transform-style: preserve-3d; }
.roul-f { position: absolute; left: 0; top: 0; white-space: nowrap; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform-origin: 50% 50%; will-change: transform, opacity; }
.th-art { width: 2.4em; height: var(--th-ha); }
.th-art .roul-f { height: var(--th-ha); line-height: var(--th-ha); }
.th-mot { height: var(--th-h); width: 1px; overflow: visible; }
.th-mot .roul-f { height: var(--th-h); line-height: var(--th-h); font-family: var(--f-titre); font-weight: 400; font-size: var(--th-fs); letter-spacing: -0.02em; color: #F3F3F4; text-shadow: 0 0 40px rgba(11, 17, 1, 0.6); }


/* ==== « INVITES TES POTES » — direction A « La constellation » (22/10) : le HTML/CSS des images clés
   du designer (landing-images-cles/invites), repris tel quel et rangé sous .iv ==== */
/* la lumière de la scène : Braise (« Je suis chaud »), en halo */
.iv-halo { position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none;
  background:
    radial-gradient(30vw 28vw at var(--hx, 72%) var(--hy, 52%), rgba(217, 96, 63, 0.26), rgba(217, 96, 63, 0.07) 55%, rgba(217, 96, 63, 0) 100%),
    radial-gradient(120% 90% at 50% 50%, rgba(11, 17, 1, 0) 55%, rgba(3, 5, 0, 0.8) 100%); }

/* ---------- la scène 3D à droite ---------- */
.iv .vis { position: absolute; z-index: 10; inset: 0; perspective: 1600px; perspective-origin: 72% 50%; pointer-events: none; }
.iv .obj { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.iv .face, .iv .dos { position: absolute; left: 0; top: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.iv .dos { transform: rotateY(180deg); }
.iv /* ---------- avatars ---------- */
.av { flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--nuit), 0 6px 14px rgba(0,0,0,0.45); background: #333; }
.iv .av img { width: 100%; height: 100%; object-fit: cover; }
.iv /* ---------- un message entrant (bulle de verre sombre) ---------- */
.msg { display: flex; align-items: flex-end; gap: 9px; }
.iv .msg .col { display: flex; flex-direction: column; gap: 4px; }
.iv .msg .nom { padding-left: 13px; font-size: 12px; font-weight: 600; color: rgba(243, 243, 244, 0.6); }
.iv .msg .nom i { font-style: normal; font-weight: 500; color: rgba(243, 243, 244, 0.4); margin-left: 6px; }
.iv .bulle { position: relative; display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 15px 11px; border-radius: 20px 20px 20px 6px; background: #1D2414; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 18px 40px rgba(0, 0, 0, 0.45); color: var(--d50); font-size: 16px; line-height: 1.3; font-weight: 500; white-space: nowrap; }
.iv .bulle .h { font-size: 11px; font-weight: 500; color: rgba(243, 243, 244, 0.42); }
.iv /* réaction (tapback) en autocollants Shotai */
.reac { position: absolute; z-index: 3; top: -15px; right: -10px; height: 28px; padding: 0 8px 0 4px; display: inline-flex; align-items: center; gap: 2px; border-radius: 999px; background: #2A3220; box-shadow: 0 0 0 2px var(--nuit), 0 6px 14px rgba(0,0,0,0.4); color: var(--d50); font-size: 12px; font-weight: 600; }
.iv .reac img { width: 21px; height: 21px; }
.iv .reac b { margin-left: 3px; font-weight: 600; }
.iv /* ---------- la bulle sortante + l'aperçu du lien (lime : le geste de l'organisatrice) ---------- */
.sortant { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.iv .b-out { border-radius: 20px 20px 6px 20px; background: var(--lime); color: var(--lime-950); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.iv .b-out .h { color: rgba(30, 51, 0, 0.55); }
.iv .lien { position: relative; width: 340px; padding: 5px; border-radius: 24px 24px 7px 24px; background: var(--lime); color: var(--lime-950); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 10px 24px rgba(0, 0, 0, 0.35); }
.iv .lien .apercu { border-radius: 19px 19px 4px 19px; overflow: hidden; background: #10160A; color: var(--d50); }
.iv .lien .apercu img { display: block; width: 100%; height: 190px; object-fit: cover; }
.iv .lien .meta { padding: 13px 16px 15px; }
.iv .lien .meta b { display: block; font-family: var(--f-titre); font-weight: 400; font-size: 23px; line-height: 1.05; }
.iv .lien .meta span { display: block; margin-top: 5px; font-size: 13px; color: rgba(243, 243, 244, 0.6); }
.iv .lien .url { display: flex; align-items: center; gap: 8px; padding: 9px 12px 7px; font-size: 13.5px; font-weight: 600; }
.iv .lien .url .s { width: 18px; height: 18px; border-radius: 5px; background: var(--nuit); display: grid; place-items: center; }
.iv .lien .url .s i { width: 11px; height: 11px; background: var(--lime); -webkit-mask: url("../assets/img/logo-light.svg") 0 50% / auto 100% no-repeat; mask: url("../assets/img/logo-light.svg") 0 50% / auto 100% no-repeat; }
.iv .lien .url .h { margin-left: auto; font-size: 11px; font-weight: 500; color: rgba(30, 51, 0, 0.6); }
.iv .statut { font-size: 11px; font-weight: 500; color: rgba(243, 243, 244, 0.45); padding-right: 6px; }
.iv .horodatage { font-size: 12px; font-weight: 500; color: rgba(243, 243, 244, 0.42); text-align: center; letter-spacing: 0.01em; }
.iv .horodatage b { color: rgba(243, 243, 244, 0.72); font-weight: 600; }
.iv .ecrit { display: inline-flex; gap: 5px; padding: 15px 16px; border-radius: 20px 20px 20px 6px; background: #1D2414; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 18px 40px rgba(0,0,0,0.45); }
.iv .ecrit i { width: 8px; height: 8px; border-radius: 50%; background: rgba(243,243,244,0.55); }
.iv .ecrit i:nth-child(2) { opacity: 0.7; }
.iv .ecrit i:nth-child(3) { opacity: 0.4; }
.iv /* ---------- l'autocollant RSVP (dos des bulles) ---------- */
.rsvp { display: flex; flex-direction: column; align-items: center; gap: 0; }
.iv .rsvp img { width: 92px; height: 92px; filter: drop-shadow(0 12px 18px rgba(0,0,0,0.45)); }
/* (23/10) l'émoji de réponse posé au-dessus d'un message, avant de filer dans la carte */
.iv .rep-emo { display: block; width: 58px; height: 58px; filter: drop-shadow(0 10px 14px rgba(0,0,0,0.45)); }
.iv .rsvp span { margin-top: -10px; height: 32px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.iv .r-oui span { background: var(--orange); color: var(--orange-950); box-shadow: inset 0 0 0 1px var(--orange-600); }
.iv .r-peut span { background: var(--bleu); color: var(--bleu-950); box-shadow: inset 0 0 0 1px var(--bleu-400); }
.iv .r-non span { background: var(--violet); color: var(--violet-950); box-shadow: inset 0 0 0 1px #BE29CC; }
.iv /* ---------- LA CARTE ÉVÈNEMENT (maquette Figma de Quentin, .iv images 86/87) ---------- */
.ev { position: relative; width: 360px; height: 640px; border-radius: 30px; color: var(--d50); }
.iv .ev .fond { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: #0C0C0A; box-shadow: 0 50px 90px rgba(0, 0, 0, 0.6), 0 14px 30px rgba(0, 0, 0, 0.4); }
.iv .ev .fond img { position: absolute; left: 0; top: 0; width: 100%; height: 56%; object-fit: cover; }
.iv .ev .fond .lum { position: absolute; inset: 0; background:
    linear-gradient(180deg, rgba(255, 214, 120, 0.18) 0%, rgba(255, 214, 120, 0) 28%),
    linear-gradient(180deg, rgba(12,12,10,0) 30%, rgba(12,12,10,0.75) 47%, #0C0C0A 58%); }
.iv .ev .fond .cont { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px rgba(230, 230, 231, 0.5); }
.iv .ev .infos { position: absolute; left: 22px; right: 22px; top: 268px; }
.iv .ev .orga { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.iv .ev .orga b { font-weight: 600; }
.iv .ev .orga .ico { font-size: 19px; }
.iv .ev .orga .em { width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.iv .ev .orga .em img { width: 24px; height: 24px; }
.iv .ev .titre { margin-top: 12px; font-family: var(--f-titre); font-size: 32px; line-height: 1; }
.iv .ev .ln { margin-top: 10px; display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.iv .ev .ln .tu { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; background: rgba(255, 255, 255, 0.1); }
.iv .ev .ln .tu .ico { font-size: 17px; color: rgba(243,243,244,0.85); }
.iv .ev .ln.gris { color: rgba(243, 243, 244, 0.5); }
.iv .ev .liste { margin-top: 16px; padding: 12px 6px 12px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); background: linear-gradient(100deg, rgba(150, 50, 25, 0.28), rgba(60, 22, 40, 0.3)); text-align: center; }
.iv .ev .liste p { font-size: 13px; font-weight: 600; }
.iv .ev .cpt { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr 1fr; }
.iv .ev .cpt div + div { box-shadow: inset 1px 0 rgba(255, 255, 255, 0.2); }
.iv .ev .cpt b { display: block; font-size: 25px; line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; }
.iv .ev .cpt small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: rgba(243,243,244,0.85); }
.iv .ev .emo3 { position: absolute; left: 0; right: 0; bottom: -46px; height: 170px; }
.iv .ev .e3 { position: absolute; display: flex; flex-direction: column; align-items: center; }
.iv .ev .e3 img { width: 120px; height: 120px; filter: drop-shadow(0 14px 20px rgba(0,0,0,0.5)); }
.iv .ev .e3 span { margin-top: -12px; height: 34px; padding: 0 15px; display: grid; place-items: center; border-radius: 999px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.iv .ev .e3.oui { left: -16px; top: 0; }
.iv .ev .e3.oui span { background: var(--orange); color: var(--orange-950); box-shadow: inset 0 0 0 1px var(--orange-600); }
.iv .ev .e3.peut { left: 50%; translate: -50% 0; top: 16px; }
.iv .ev .e3.peut span { background: var(--bleu); color: var(--bleu-950); box-shadow: inset 0 0 0 1px var(--bleu-400); }
.iv .ev .e3.non { right: -16px; top: 0; }
.iv .ev .e3.non span { background: var(--violet); color: var(--violet-950); box-shadow: inset 0 0 0 1px #BE29CC; }
.iv .plus1 { position: absolute; height: 26px; padding: 0 9px; display: grid; place-items: center; border-radius: 999px; background: var(--lime); color: var(--lime-950); font-size: 13px; font-weight: 700; box-shadow: 0 8px 18px rgba(0,0,0,0.4); font-variant-numeric: tabular-nums; }
.iv /* ---------- B : la fenêtre de conversation ---------- */
.fen { width: 404px; height: 660px; border-radius: 30px; overflow: hidden; background: #12180B; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 60px 120px rgba(0,0,0,0.6); color: var(--d50); }
.iv /* le flux de réponses (B, .iv image 4) : la conversation devenue liste */
.flux { display: flex; flex-direction: column; gap: 10px; }
.iv /* la preuve en direct (image 4) */
.direct { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(243, 243, 244, 0.12); display: flex; align-items: center; gap: 14px; }
.iv /* B : la place vide laissée dans le fil par le lien qui décolle */
.fente { display: block; width: 214px; height: 186px; border-radius: 16px 16px 5px 16px; box-shadow: inset 0 0 0 1.5px rgba(193, 253, 58, 0.55), 0 0 40px rgba(193, 253, 58, 0.12); background: rgba(193, 253, 58, 0.05); }
.sec-bloc .direct .pile { display: flex; }
.sec-bloc .direct .pile .av { position: relative; width: 32px; height: 32px; box-shadow: 0 0 0 2px var(--nuit); }
.sec-bloc .direct .dtxt { font-size: 14px; line-height: 1.35; color: rgba(243, 243, 244, 0.62); }
.sec-bloc .direct .dtxt b { color: var(--d50); font-weight: 600; }
.sec-bloc .direct small { display: flex; align-items: center; gap: 7px; margin-top: 3px; font-size: 12px; color: rgba(243, 243, 244, 0.45); }
.sec-bloc .direct small i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(193, 253, 58, 0.2); }
.iv .obj { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform-origin: 50% 50%; will-change: transform; visibility: hidden; pointer-events: none; }
.iv .face { white-space: nowrap; }
.iv .ev .cpt b.odo3 { display: inline-flex; justify-content: center; height: 27.5px; line-height: 27.5px; overflow: hidden; transform-origin: 50% 60%; }
.iv .odo3 .oc { display: block; width: 0.62em; height: 27.5px; overflow: hidden; }
.iv .odo3 .oc > span { display: flex; flex-direction: column; will-change: transform; }
.iv .odo3 .oc i { display: block; height: 27.5px; font-style: normal; text-align: center; }
.iv .ev .cpt > div { display: flex; flex-direction: column; align-items: center; }
.iv .ev .e3 img { will-change: transform; }
.iv .plus1 { left: 12px; top: 472px; z-index: 4; opacity: 0; }
/* (22/10) les stickers de réponse se touchent : chacun ajoute une réponse à son compteur */
.iv .ev .e3, .tp-s img { pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.iv .ev .e3 img, .tp-s img { -webkit-user-drag: none; }
.iv .cpt > div, .tp-invites .ev-cpt > div { position: relative; }
.plus-clic { position: absolute; left: 50%; top: -4px; margin-left: -17px; width: 34px; height: 22px; display: grid; place-items: center; border-radius: 999px; background: var(--lime); color: var(--lime-950); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: 0 6px 14px rgba(0,0,0,0.35); pointer-events: none; z-index: 5; }
.tp-invites .ev-cpt b { display: inline-block; }
.iv .reac { opacity: 0; }
.sec-bloc .direct { overflow: hidden; height: 0; opacity: 0; }
.sec-actions:has(#secDirect) { margin-top: 0; }

/* le rouleau, centré et fixe (22/10) : « Organise un » centré au-dessus, le thème centré */
.th-pre { justify-content: center; }
.roul-f { text-align: center; }
.th-mot { width: 100%; }

.sec-bloc .direct .av { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--nuit); background: #333; }
.sec-bloc .direct { align-items: center; }
.sec-bloc .direct { padding-top: 22px; border-top: 1px solid rgba(243, 243, 244, 0.12); display: flex; gap: 14px; }
/* (23/10) les widgets de l'évènement dans le téléphone de « Dans la poche », sous les réponses */
.tp-defil { position: absolute; left: 0; top: 0; width: 390px; height: 1800px; will-change: transform; }
.tp-w { position: absolute; left: 24px; }
.tp-w > .w { position: relative; }
/* le fondu sous la barre d'état du téléphone, quand la page défile */
.tp-haut { position: absolute; left: 0; right: 0; top: 0; height: 64px; z-index: 3; opacity: 0; pointer-events: none; background: linear-gradient(180deg, var(--tp-fond) 55%, transparent); }
/* (23/10) l'écran du téléphone, une fois la page ouverte : il reçoit la molette et le doigt */
.ecr.defilable { pointer-events: auto; touch-action: none; }
/* (Quentin, 23/10) la carte vierge de « T'attends quoi ? » : un vrai champ titre (caché, recopié dans la
   carte pour garder le grand curseur lime), la date et le lieu qu'on tape, le lien à la place du bouton */
.carte-vierge .c-titre.ecrit { position: relative; display: block; white-space: normal; overflow-wrap: anywhere; }
.carte-vierge .c-titre .caret { vertical-align: -5px; margin-left: 2px; }
.carte-vierge .c-titre.vide .caret { margin-left: 0; margin-right: 3px; }
.carte-vierge .c-indice { color: rgba(243, 243, 244, 0.36); }
.carte-vierge .c-titre:not(.vide) .c-indice { display: none; }
.carte-vierge .c-titre:not(.actif) .caret { opacity: 0; }
.carte-vierge .c-champ { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; margin: 0; background: transparent; font: inherit; color: transparent; caret-color: transparent; cursor: text; }
.carte-vierge .c-champ-ligne { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; margin: 0; background: transparent; font: inherit; color: #fff; caret-color: var(--lime); outline: none; cursor: text; }
.carte-vierge .c-champ-ligne::placeholder { color: var(--d300, #B7B7BA); opacity: 1; }
.carte-vierge .c-ligne:has(.c-champ-ligne:not(:placeholder-shown)) { color: #fff; }
.c-lien-vierge { font-variant-numeric: tabular-nums; }
/* (23/10) pied de page : le contact en un bouton ; un sol plus haut pour des émojis plus gros */
.pd-contact { gap: 12px; }
.pd-contacte { gap: 8px; text-decoration: none; background-image: none !important; color: var(--lime-950) !important; }
.pd-contacte .ico { font-size: 17px; }
.pd-sol { height: 300px; }
@media (max-width: 639px) { .pd-sol { height: 330px; } .pd-contact .btn { min-height: 44px; } }
/* (Quentin, 23/10, comparaison avec shotai.fr sur iPhone) la feuille de création au téléphone, comme le
   vrai site : sous la bannière, le fond prend la teinte de la bannière (vert sombre, qui fonce vers le bas)
   au lieu du noir ; le lieu vide en gris ; le compteur « 80 » calé en haut du titre */
/* (23/10) les pastilles des modèles sous le manège : du verre discret ; au survol, le lime de ce qui se touche */
.mod-badges { position: absolute; z-index: 15; left: 0; top: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 640px; visibility: hidden; pointer-events: auto; }
.mod-badge { height: 34px; padding: 0 15px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(243, 243, 244, 0.06); box-shadow: inset 0 0 0 1px rgba(243, 243, 244, 0.16); color: rgba(243, 243, 244, 0.86); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, translate 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
@media (hover: hover) and (pointer: fine) { .mod-badge:hover { background: var(--lime); color: var(--lime-950); box-shadow: inset 0 0 0 1px var(--lime-500); translate: 0 -2px; } }
.mod-badge:active { scale: 0.96; }
@media (max-width: 639px) { .mod-badges { max-width: calc(100vw - 40px); gap: 6px; } .mod-badge { height: 32px; padding: 0 12px; font-size: 13px; } }
/* (Quentin, 23/10) « Suivez-nous » au-dessus des réseaux, des logos plus serrés ; au survol, chaque réseau
   prend SES couleurs (dégradé Instagram, TikTok blanc à reflets cyan/rose, bleu LinkedIn, X blanc), plus le vert */
.pd-rs { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; gap: 6px; }
.pd-rs-liste { display: flex; gap: 2px; margin-right: -9px; }
.pd-rs a:hover { color: rgba(243, 243, 244, 0.72); background: rgba(255, 255, 255, 0.07); }
.pd-rs a .ico { transition: background 0.25s, filter 0.25s; }
.pd-rs a.rs-instagram:hover .ico { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.pd-rs a.rs-tiktok:hover .ico { background: #FFFFFF; filter: drop-shadow(-1.5px -1px 0 #25F4EE) drop-shadow(1.5px 1px 0 #FE2C55); }
.pd-rs a.rs-linkedin:hover .ico { background: #0A66C2; }
.pd-rs a.rs-x:hover .ico { background: #FFFFFF; }
@media (max-width: 639px) { .pd-rs { align-items: flex-start; } .pd-rs-liste { margin: 0 0 0 -10px; gap: 0; } }
/* (23/10) le widget Carte (plan dessiné, point, adresse en pastille en haut) */
.w-carte .wm-plan { position: absolute; inset: 0; width: 100%; height: 100%; }
.w-carte .wm-pin { position: absolute; left: 50%; top: 58%; width: 34px; height: 34px; margin: -34px 0 0 -17px; display: grid; place-items: center; border-radius: 50% 50% 50% 4px; rotate: -45deg; background: var(--lime); box-shadow: 0 8px 18px rgba(0,0,0,0.45); }
.w-carte .wm-pin .ico { rotate: 45deg; font-size: 16px; color: var(--lime-950); }
.w-carte .wm-adresse { position: absolute; left: 12px; top: 12px; height: 32px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: rgba(11, 17, 1, 0.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); color: #fff; font-size: 13px; font-weight: 500; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.w-carte .wm-adresse .ico { font-size: 14px; }
/* le Texte qui s'écrit tout seul (le premier widget, au téléphone) */
.wt-caret { display: inline-block; width: 0.07em; height: 0.92em; margin-left: 0.04em; vertical-align: -0.1em; background: var(--lime); border-radius: 2px; animation: clignote 1s steps(1) infinite; }
.pt-lien-bas { z-index: 30; }
/* (23/10) la carte de « T'attends quoi ? » : la date qu'on choisit, la bannière qu'on change */
.carte-vierge .c-date { position: relative; color: #fff; }
.carte-vierge .c-date-natif { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; margin: 0; cursor: pointer; color-scheme: dark; }
.carte-vierge .chg-ban { cursor: pointer; pointer-events: auto; }
.ban-choix { position: absolute; z-index: 5; right: 14px; top: 58px; width: 228px; padding: 12px; border-radius: 12px; background: rgba(11, 17, 1, 0.86); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 18px 40px rgba(0,0,0,0.45); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); pointer-events: auto; }
.ban-choix[hidden] { display: none; }
.ban-choix p { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: rgba(243,243,244,0.72); }
.ban-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ban-vignette { aspect-ratio: 1; border: 0; border-radius: 8px; background-size: cover; background-position: center; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); transition: scale 0.2s; }
.ban-vignette:hover { scale: 1.06; }
.ban-vignette.on { box-shadow: 0 0 0 2px var(--lime); }
.carte-vierge .c-titre.suggestion .c-saisie { color: rgba(243, 243, 244, 0.92); }
/* (Quentin, 23/10 : « le composant du mail ne semble pas être celui du DS ») le champ e-mail de l'app
   (page de connexion) : un champ vitré — verre léger rgba(10,14,8,0.5), contour blanc à 10 %, rayon 10,
   texte blanc 16 px, icône enveloppe, indication à 50 % — avec le contour lime quand on écrit */
.al-champ { height: 56px; padding: 0 20px; gap: 12px; border-radius: 10px; background: rgba(10, 14, 8, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
@media (hover: hover) and (pointer: fine) { .al-champ:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); } }
.al-champ:focus-within { box-shadow: inset 0 0 0 1px #99E300; }
.al-champ .ico { color: #fff; font-size: 20px; }
.al-champ input { font-size: 16px; font-weight: 500; color: #fff; }
.al-champ input::placeholder { color: rgba(255, 255, 255, 0.5); }
.al-champ:focus-within input::placeholder { color: rgba(255, 255, 255, 0.3); }
/* (23/10) au téléphone, la pile de cartes des modèles : rien ne s'y touche */
.pile { position: absolute; z-index: 14; left: 0; top: 0; width: 0; height: 0; pointer-events: none; visibility: hidden; }
.pile-carte { position: absolute; left: 0; top: 0; width: 342px; height: 520px; transform-origin: 50% 50%; will-change: transform, opacity; }
.pile-carte .carte { box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 24px 50px rgba(0,0,0,0.5); }
/* (Quentin, 23/10 : « les émojis apparaissent à l'envers sur mobile » dans « T'attends quoi ? ») c'était le
   reflet de la bannière (image retournée sous la photo) : sur la bannière d'émojis par défaut, il se lit comme
   des émojis à l'envers. La carte vierge n'a plus de reflet, comme la carte du formulaire du site */
.carte-vierge > .c-miroir { display: none; }
.carte-vierge > .c-photo { height: 62%; }
/* (23/10) au téléphone, la carte de « T'attends quoi ? » ne se touche pas : on ne peut pas y écrire */
.tel-seul-lecture .s5-pivot, .tel-seul-lecture .s5-pivot * { pointer-events: none !important; }
/* (Quentin, 23/10 : « réduis les espaces entre chaque lien… et entre les infos du footer et les émojis : les
   émojis plus haut, pour un footer moins long ») des liens resserrés, un sol plus bas */
.pd-col { gap: 5px; }
.pd-sol { height: 210px; }
@media (max-width: 639px) {
  .pd-haut { row-gap: 18px; }
  .pd-col { gap: 0; }
  .pd-col a { min-height: 32px; }
  .pd-t { margin-bottom: 2px; }
  .pd-sol { height: 230px; }
}
/* (Quentin, 23/10) au téléphone, la carte vierge ne montre plus « Changer la bannière » : elle ne se touche pas */
@media (max-width: 639px) {
  .carte-vierge .chg-ban { display: none; }
  .pd-rs { margin-left: 0; }
  .pd-rs-liste { margin-left: -10px; }
}
/* (23/10) au téléphone, les pastilles tiennent en deux rangées, pour laisser la place aux cartes */
@media (max-width: 639px) { .mod-badges { gap: 6px; } .mod-badge { height: 28px; padding: 0 10px; font-size: 12px; } }
/* (23/10) au téléphone, les widgets un par un, sur le fond de la section */
.wtel { position: absolute; inset: 0; z-index: 8; pointer-events: none; visibility: hidden; }
.wt-item { position: absolute; left: 0; top: 0; width: 342px; transform-origin: 0 0; will-change: transform, opacity; visibility: hidden; }
.wt-item > .w { position: relative; box-shadow: 0 18px 40px rgba(37, 37, 39, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.wt-nom { display: inline-flex; align-items: center; gap: 8px; height: 22px; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #252527; }
.wt-nom b { display: grid; place-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--lime); color: var(--lime-950); font-size: 11px; }
.wt-item-lien { width: auto; }
.wt-lien { position: relative; }
.wt-barre { position: absolute; right: 0; top: -14px; transform: translateY(-100%); opacity: 0; }
.wt-barre .wt-taille { position: absolute; top: -40px; opacity: 0; }
.wt-bulle { position: absolute; z-index: 12; }
/* le bouton-lien de la fin, sur le fond clair : une pilule nuit, bien lisible (elle prend le lime au clic) */
.wt-item-lien { display: flex; flex-direction: column; align-items: center; }
.wt-item-lien .wt-nom b { padding: 0 6px; }
.wt-item-lien .wt-nom b .ico { font-size: 12px; }
.wt-lien { height: 46px; padding: 0 20px; gap: 8px; border-radius: 23px; background: var(--nuit); border: 0; color: #F3F3F4; font-size: 15px; box-shadow: 0 16px 34px rgba(37, 37, 39, 0.3); }
.wt-lien .pl-ico .ico { color: var(--lime); }
/* (23/10) « Pas mal non ? » : la barre d'actions sur la ligne de l'étiquette, à droite (plus au-dessus du widget) */
.wt-barre { top: -10px; right: 0; transform: none; }
.wt-barre .wt-taille { display: none; }
.wt-barre { transform: scale(0.72); transform-origin: 100% 0; top: -8px; }
/* (23/10) sur ordinateur, les pastilles des modèles dans la colonne de gauche, sous la description */
.mod-badges.mod-badges-col { position: static; visibility: inherit; justify-content: flex-start; max-width: 400px; margin: 0 0 22px; transform: none; }
.sec-actions .mod-badges-col + .lien-voir { display: inline-flex; }
/* (23/10) la poignée du bas du widget Texte, sur sa sélection : on la tire pour changer sa taille */
.poignee-redim { position: absolute; z-index: 11; width: 46px; height: 10px; border-radius: 5px; background: var(--lime); box-shadow: 0 0 0 2px #0B1101, 0 4px 10px rgba(0,0,0,0.4); opacity: 0; pointer-events: none; transition: scale 0.2s; }
.poignee-redim.tenue { scale: 1.12; background: #D8FF73; }

/* ==============================================================
   (28/10) LA CARTE-FORMULAIRE DE SECOURS DU VOL (js/creation.js), calée sur la vraie (CarteFormulaireEvenement,
   mesurée à 1440 × 900) : elle ne se voit que si la vraie page tarde à se dessiner — sinon la carte qui vole prend la
   vraie elle-même (29/10)
   ============================================================== */
/* les champs de la carte, posés depuis le bas comme sur le site : lieu, date (40 px), titre, organisateur */
.cf .cf-champs { gap: 0; }
.cf .cf-orga { margin-bottom: 8px; }
.cf .cf-titre { padding-bottom: 12px; }
.cf .cf-ligne.cf-vide { color: rgba(243, 243, 244, 0.5); }
/* la bannière occupe 55 % de la carte, comme ZONE_PHOTO du site (le motif garde la même taille au relais) */
.cf .c-photo { height: 55%; }
.cf .c-miroir { display: block; }   /* (et son reflet dessous, comme toute carte : pas de bord net sous la photo) */

/* ==============================================================
   (28/10) LE MENU DE L'APP SUR LA LANDING, SUR ORDINATEUR (DesktopNavBar, src/styles/web.css) : en haut de l'accueil,
   toute la largeur (1248 px au plus, 48 px de marge) ; dès qu'on défile, une pilule vitrée de 920 px, centrée
   (« is-compact »). Liens de 36 px (px-3), 14/18 Medium, 4 px entre eux, 8 px avant le bouton.
   ============================================================== */
.barre-liens { display: flex; align-items: center; gap: 4px; font-size: 14px; line-height: 18px; font-weight: 500; }
.bn-lien { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 6px; color: inherit; transition: background-color 0.17s cubic-bezier(0.22, 0.8, 0.28, 1); }
.bn-lien .ico { font-size: 16px; }
.bn-lien.bn-icone { width: 36px; padding: 0; justify-content: center; }
.souris .bn-lien:hover { background-color: rgba(255, 255, 255, 0.08); }
@media (min-width: 640px) {
  .barre-fixe { --pl: max(16px, calc((100vw - 920px) / 2)); height: 72px; padding: 0 max(48px, calc((100vw - 1248px) / 2 + 48px));
    transition: color 0.45s ease, padding 0.3s cubic-bezier(0.22, 0.8, 0.28, 1); }
  .barre-fixe .barre-logo { height: 18px; }
  .barre-fixe .bl-symbole { width: calc(18px * 109.6 / 110); }
  .barre-fixe .bl-mot { width: calc(18px * 475 / 110); margin-left: calc(18px * 36.4 / 110); }
  .barre-fixe .barre-droite { gap: 4px; }
  .barre-fixe .barre-droite > .btn { margin-left: 4px; }
  .barre-fixe::before { transition: opacity 0.3s ease, inset 0.3s cubic-bezier(0.22, 0.8, 0.28, 1), border-radius 0.3s; }
  /* resserrée : la pilule de verre sombre, et ses marges intérieures (20 px à gauche, 12 px à droite) */
  #barre.compacte { padding: 0 calc(var(--pl) + 12px) 0 calc(var(--pl) + 20px); color: var(--d50); }
  #barre.compacte::before { opacity: 1; inset: 6px var(--pl); border-radius: 10px; background: rgba(10, 14, 8, 0.78); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); }
}
/* (28/10) l'icône de l'app, au chargement, et sa copie posée sur le logo de la barre, qui s'écrit */
.ch-icone { position: absolute; left: 50%; top: 50%; translate: -50% -50%; will-change: transform; }
.ch-icone svg, .logo-ecrit svg { display: block; width: 100%; height: 100%; overflow: visible; }
.logo-ecrit { position: fixed; z-index: 95; pointer-events: none; }
.ch-icone .ic-trame, .ch-icone svg { position: absolute; inset: 0; width: 100%; height: 100%; }   /* (la trame sous le S, au même endroit) */
