/* ElyseA Industries — feuille de style du site public (écrite à la main).
   V0.2 (SITE2 · Claude Fable, 05/12/2026) : le site comme une fenêtre sur ElyseA. Décors peints montrés tels quels
   (aucun filtre ni voile sombre devant les images), personnages en pixel art par-dessus, textes plus petits et plus aérés.
   Une seule structure HTML ; trois variantes selon <html data-variante="A|B|C"> (A discrète, B équilibrée, C immersive). */

@font-face { font-family: "Inter"; src: url("/polices/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Michroma"; src: url("/polices/Michroma-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/polices/CormorantGaramond-MediumItalic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --nuit: #070B16;
  --nuit-2: #0A1424;
  --petrole: #0B2A3D;
  --petrole-2: #0E3B52;
  --cyan: #5CE1FF;
  --cyan-vif: #22D3F5;
  --blanc: #EAF6FF;
  --gris: #9FB3C8;
  --or: #D4A94C;
  --or-clair: #F2D58A;
  --ambre: #F6C453;
  --encre-bulle: #26213B;
  --verre: rgba(14, 40, 62, 0.55);
  --verre-fort: rgba(9, 24, 42, 0.82);
  --filet: rgba(92, 225, 255, 0.28);
  --filet-or: rgba(212, 169, 76, 0.45);
  --ombre: 0 20px 60px rgba(0, 0, 0, 0.45);
  --halo: 0 0 40px rgba(92, 225, 255, 0.18);
  --r1: 14px; --r2: 22px; --r3: 32px;
  --titre: "Michroma", "Eurostile", "Bank Gothic", "Segoe UI", system-ui, sans-serif;
  --corps: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --encre: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --main: "Segoe Script", "Snell Roundhand", "Bradley Hand", "Dancing Script", "Cormorant Garamond", cursive;
  --haut-entete: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--haut-entete) + 12px); background: var(--nuit); }
body { margin: 0; min-height: 100vh; font-family: var(--corps); font-size: 1rem; line-height: 1.62; color: var(--blanc); background: var(--nuit); overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; }
img { height: auto; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.aller-contenu { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--cyan); color: var(--nuit); padding: 8px 14px; border-radius: 8px; }
.aller-contenu:focus { left: 8px; }

/* ---------- utilitaires ---------- */
.conteneur { width: min(1200px, 100% - 48px); margin-inline: auto; }
.doux { color: var(--gris); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.a-remplir { display: inline-block; background: rgba(246, 196, 83, 0.14); border: 1px dashed var(--ambre); color: var(--ambre); border-radius: 8px; padding: 2px 10px; font-weight: 600; }
.signature { margin: 0; font-style: normal; }
.coeur { width: 1em; height: 0.9em; }
.cy { color: var(--cyan); text-shadow: 0 0 30px rgba(92, 225, 255, 0.45); }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--filet); background: transparent; color: var(--blanc); font: 600 0.97rem/1 var(--corps); text-decoration: none; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s; }
.btn:hover { color: var(--blanc); transform: translateY(-2px); border-color: var(--cyan); box-shadow: 0 0 28px rgba(92, 225, 255, 0.3); }
.btn-plein { background: linear-gradient(180deg, rgba(92, 225, 255, 0.24), rgba(34, 211, 245, 0.1)); border-color: var(--cyan); box-shadow: inset 0 0 20px rgba(92, 225, 255, 0.12), 0 0 26px rgba(92, 225, 255, 0.2); }
.btn-contour { background: rgba(7, 11, 22, 0.45); }
.btn-petit { padding: 9px 16px; font-size: 0.875rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn .pict { width: 1.4em; height: 1.4em; flex: none; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- en-tête ---------- */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--haut-entete); background: linear-gradient(180deg, rgba(1, 10, 30, 0.9), rgba(1, 10, 30, 0.62)); border-bottom: 1px solid rgba(92, 225, 255, 0.14); transition: background 0.3s; }
@supports (backdrop-filter: blur(1px)) { .entete { backdrop-filter: blur(14px) saturate(1.2); } }
.entete.scrolle { background: rgba(7, 11, 22, 0.92); }
.entete-int { height: 100%; width: min(1360px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.marque { display: flex; align-items: center; gap: 12px; color: var(--blanc); text-decoration: none; }
.logo-s, .logo-c { mix-blend-mode: screen; display: block; }
.logo-s { width: 42px; height: 42px; }
.marque-nom { display: grid; font-family: var(--titre); line-height: 1.1; }
.marque-nom span:first-child { font-size: 1.05rem; letter-spacing: 0.22em; }
.marque-nom span:last-child { font-size: 0.56rem; letter-spacing: 0.5em; color: var(--gris); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav .nav-mobile { display: none; }
.nav a { position: relative; display: block; padding: 10px 13px; color: #B6C7D8; text-decoration: none; font-size: 0.94rem; font-weight: 500; border-radius: 10px; }
.nav a:hover, .nav a.actif { color: var(--blanc); }
.nav a.actif::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); border-radius: 2px; }
.entete-droite { display: flex; align-items: center; gap: 14px; }
.btn-demo { padding: 10px 18px; font-size: 0.9rem; border-color: var(--cyan); background: rgba(92, 225, 255, 0.1); box-shadow: 0 0 22px rgba(92, 225, 255, 0.18); animation: pulse 3.6s ease-in-out infinite; }
.lien-langue { display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid var(--filet); border-radius: 10px; color: var(--blanc); text-decoration: none; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; }
.btn-menu { display: none; width: 44px; height: 44px; border: 1px solid var(--filet); border-radius: 12px; background: transparent; color: var(--blanc); cursor: pointer; align-items: center; justify-content: center; }
.btn-menu .ico { width: 24px; height: 24px; }

/* ---------- bulles de dialogue (les mêmes que dans la démonstration) ---------- */
.bulle { position: absolute; left: 0; top: 0; z-index: 9; width: max-content; max-width: min(210px, 62vw); margin: 0; padding: 5px 11px 6px; border-radius: 12px; border: 2.5px solid var(--encre-bulle); background: rgba(255, 255, 255, 0.97); color: var(--encre-bulle); font: 600 0.84rem/1.25 var(--corps); letter-spacing: 0; text-align: center; text-shadow: none; pointer-events: none; transform: translate(-50%, -100%); transform-origin: 50% 100%; animation: bulle-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both; box-shadow: 0 3px 0 rgba(38, 33, 59, 0.22); }
.bulle::after { content: ""; position: absolute; left: calc(50% + var(--fl, 0px)); top: 100%; margin-left: -7px; border: 7px solid transparent; border-top: 9px solid var(--encre-bulle); border-bottom: 0; }
.bulle::before { content: ""; position: absolute; z-index: 1; left: calc(50% + var(--fl, 0px)); top: calc(100% - 1px); margin-left: -4px; border: 4px solid transparent; border-top: 5px solid #fff; border-bottom: 0; }
.bulle.part { animation: bulle-fin 0.35s ease forwards; }
@keyframes bulle-pop { from { opacity: 0; transform: translate(-50%, -100%) scale(0.3); } to { opacity: 1; transform: translate(-50%, -100%) scale(1); } }
@keyframes bulle-fin { to { opacity: 0; transform: translate(-50%, -112%) scale(0.92); } }

/* les huit Pilloux : une seule petite planche, une case par personnage */
.s-bullon { --i: 0; } .s-pilo { --i: 1; } .s-pousset { --i: 2; } .s-brizou { --i: 3; } .s-tartiglu { --i: 4; } .s-carillou { --i: 5; } .s-boingy { --i: 6; } .s-solio { --i: 7; }

/* ---------- hero : l'illustration entière, ancrée à droite sous l'en-tête ; le texte dans le ciel ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; --mg: clamp(24px, 3.4vw, 64px); --hh: clamp(500px, min(100vh - var(--haut-entete), 56.28vw), 1280px); --u: calc(var(--hh) / 100); --aw: calc(var(--hh) * 1.7768); height: calc(var(--hh) + var(--haut-entete)); background: linear-gradient(180deg, #000d25 0%, #001434 16%, #01224e 32%, #023062 40%, #084177 46%, #0b4f8a 50%, #18649f 54%, #3f7bb4 60%, #4b87bf 66%, #3f9cc2 74%, #2b8db6 100%) no-repeat 0 var(--haut-entete) / 100% var(--hh), #000d25; border-bottom: 1px solid rgba(92, 225, 255, 0.24); }
@supports (height: 100svh) { .hero { --hh: clamp(500px, min(100svh - var(--haut-entete), 56.28vw), 1280px); } }
.hero-art { position: absolute; top: var(--haut-entete); right: 0; height: var(--hh); aspect-ratio: 1672 / 941; }
.hero-art .fond { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-lumiere { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 24% 36% at 99% 57%, rgba(255, 216, 156, 0.36), rgba(255, 216, 156, 0) 70%); mix-blend-mode: screen; animation: soleil 7s ease-in-out infinite; }
.particules { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-int { position: absolute; z-index: 3; left: 0; top: var(--haut-entete); width: 100%; height: var(--hh); pointer-events: none; }
.hero-texte { position: absolute; left: var(--mg); top: calc(3.6 * var(--u)); width: calc(100% - var(--aw) * 0.433 - max(var(--aw) * 0.155, 236px) - var(--mg) - 24px); max-width: 600px; pointer-events: auto; }
.indicateur { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 calc(1.4 * var(--u)); font-family: var(--titre); font-size: clamp(0.62rem, calc(1.15 * var(--u)), 0.74rem); letter-spacing: 0.24em; text-transform: uppercase; color: #D3E4F2; }
.drapeau { border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); }
.hero-titre { font-family: var(--corps); font-weight: 700; font-size: clamp(2.5rem, calc(5.2 * var(--u)), 3.5rem); letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 calc(1.6 * var(--u)); color: #fff; text-shadow: 0 2px 22px rgba(0, 8, 30, 0.6); text-wrap: balance; }
.hero-titre .cy { display: block; }
.hero .description { max-width: 35em; margin: 0; font-size: clamp(0.94rem, calc(1.75 * var(--u)), 1.0625rem); line-height: 1.5; color: rgba(255, 255, 255, 0.93); text-shadow: 0 1px 6px rgba(0, 8, 30, 0.6); }
.hero .boutons { margin-top: calc(2.3 * var(--u)); }
.hero .btn { padding: 11px 18px; font-size: clamp(0.875rem, calc(1.6 * var(--u)), 0.97rem); }
.hero .btn-contour { background: rgba(6, 18, 48, 0.5); border-color: rgba(255, 255, 255, 0.5); }
.signature-hero { width: max-content; max-width: 100%; margin-top: calc(2.5 * var(--u)); padding-left: 14px; border-left: 2px solid var(--cyan); }
.signature .sig-a { display: block; font-family: var(--encre); font-style: italic; font-weight: 500; font-size: clamp(1.12rem, calc(2.5 * var(--u)), 1.62rem); line-height: 1.1; color: var(--cyan); text-shadow: 0 0 18px rgba(92, 225, 255, 0.4), 0 1px 2px rgba(0, 8, 30, 0.5); }
.signature .sig-b { position: relative; display: inline-flex; align-items: flex-end; gap: 6px; margin-left: 1.2em; margin-top: 3px; font-family: var(--main); font-style: italic; font-weight: 500; font-size: clamp(1.05rem, calc(2.5 * var(--u)), 1.55rem); line-height: 1.15; color: #C6F5FF; text-shadow: 0 0 20px rgba(92, 225, 255, 0.5), 0 1px 2px rgba(0, 8, 30, 0.5); transform: rotate(-4deg); transform-origin: left bottom; }
.signature .sig-b .coeur { width: 0.62em; height: 0.56em; margin-bottom: 0.32em; color: var(--cyan); }
.signature .encre { position: absolute; left: 0; right: 0; bottom: -6px; width: 100%; height: 7px; margin: 0; color: var(--cyan); opacity: 0.9; }

/* le coin de LIA : repère calé sur l'illustration (mêmes proportions), pour viser le ciel libre à gauche de ses oreilles */
.hero-lia { position: absolute; z-index: 4; top: var(--haut-entete); right: 0; width: var(--aw); height: var(--hh); pointer-events: none; }
.hero-lia > * { pointer-events: auto; }
.lia-fenetre { position: absolute; right: 43.3%; top: 6.5%; width: max(15.5%, 236px); padding: 11px 14px 14px; border-radius: 16px; background: linear-gradient(160deg, rgba(20, 70, 108, 0.46), rgba(6, 22, 50, 0.6)); border: 1px solid rgba(92, 225, 255, 0.78); box-shadow: 0 10px 30px rgba(0, 8, 30, 0.32), 0 0 26px rgba(92, 225, 255, 0.24), inset 0 0 20px rgba(92, 225, 255, 0.1); transition: opacity 0.4s, transform 0.4s; }
@supports (backdrop-filter: blur(1px)) { .lia-fenetre { backdrop-filter: blur(10px) saturate(1.3); } }
.lia-fenetre::before { content: ""; position: absolute; left: 14%; top: 100%; border: 9px solid transparent; border-top: 13px solid rgba(92, 225, 255, 0.78); border-bottom: 0; filter: drop-shadow(0 0 5px rgba(92, 225, 255, 0.5)); }
.lia-fenetre::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(160, 240, 255, 0.14) 50%, transparent 62%); background-size: 260% 100%; animation: holo 6.5s ease-in-out infinite; }
.lia-fenetre[data-etat="reduite"], .lia-fenetre[data-etat="fermee"] { opacity: 0; transform: scale(0.85) translateY(10px); pointer-events: none; visibility: hidden; }
.lia-entete { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.lia-nom { font-family: var(--titre); font-size: 0.76rem; letter-spacing: 0.16em; color: var(--cyan); }
.onde { width: 40px; height: 16px; color: var(--cyan); opacity: 0.95; filter: drop-shadow(0 0 5px rgba(92, 225, 255, 0.7)); }
.onde .barre { transform-box: fill-box; transform-origin: center; animation: onde 2.4s ease-in-out infinite; }
.onde .b2 { animation-delay: 0.2s; } .onde .b3 { animation-delay: 0.4s; } .onde .b4 { animation-delay: 0.15s; } .onde .b5 { animation-delay: 0.55s; } .onde .b6 { animation-delay: 0.3s; } .onde .b7 { animation-delay: 0.7s; }
.lia-actions { position: relative; z-index: 1; display: flex; margin-left: auto; }
.lia-btn { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; color: #BFD3E4; cursor: pointer; }
.lia-btn:hover { color: #fff; background: rgba(92, 225, 255, 0.14); }
.lia-corps p { margin: 0 0 4px; font-size: clamp(0.8rem, calc(1.42 * var(--u)), 0.9rem); line-height: 1.42; color: #fff; }
.lia-corps p:first-child { font-weight: 700; font-size: clamp(0.86rem, calc(1.55 * var(--u)), 0.97rem); }
.lia-corps .lia-ligne { opacity: 0; transform: translateY(6px); animation: ligne 0.7s ease forwards; }
.lia-corps .lia-ligne:nth-child(1) { animation-delay: 0.3s; } .lia-corps .lia-ligne:nth-child(2) { animation-delay: 0.9s; } .lia-corps .lia-ligne:nth-child(3) { animation-delay: 1.5s; }
.lia-fort { margin: 8px 0 10px; font-size: clamp(0.8rem, calc(1.42 * var(--u)), 0.9rem); line-height: 1.35; font-weight: 700; color: #DDF6FF; opacity: 0; animation: ligne 0.7s 1.9s ease forwards; }
.lia-pied { position: relative; z-index: 1; opacity: 0; animation: ligne 0.7s 2.2s ease forwards; }
.lia-pied .btn { width: 100%; padding: 9px 12px; font-size: 0.84rem; white-space: nowrap; }
.lia-icone { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 62px; height: 62px; padding: 0; border-radius: 50%; border: 1px solid var(--cyan); background: rgba(9, 24, 42, 0.9); box-shadow: 0 0 26px rgba(92, 225, 255, 0.4); cursor: pointer; display: flex; align-items: center; justify-content: center; animation: pulse 3.2s ease-in-out infinite; }
.lia-icone img { width: 30px; height: auto; image-rendering: pixelated; }

/* la petite LIA en pixel art, posée sur sa motte d'herbe comme les îlots du tableau */
.lia-mini { position: absolute; left: 44.4%; bottom: 33%; width: 0; height: 0; --lh: clamp(100px, calc(16.5 * var(--u)), 190px); }
.lia-mini-perso { position: absolute; left: 0; bottom: 0; padding: 0; border: 0; background: none; cursor: pointer; transform: translate(-50%, 0); animation: mini-flotte 5s ease-in-out infinite; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.lia-mini-perso:focus-visible { outline-offset: 6px; border-radius: 14px; }
.lia-mini-img { display: block; width: auto; max-width: none; height: var(--lh); image-rendering: pixelated; filter: drop-shadow(0 8px 10px rgba(0, 12, 44, 0.42)); transform-origin: 50% 90%; transition: transform 0.25s; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.lia-mini .bulle { left: 0; top: calc(-1 * var(--lh) - 10px); }
.lia-mini.penche .lia-mini-img { transform: rotate(-4deg) scale(1.05); }
.lia-mini.chatouille .lia-mini-img { animation: mini-chat 0.15s linear infinite; }
.lia-mini.saute .lia-mini-img { animation: mini-saut 0.62s cubic-bezier(0.3, 0.6, 0.4, 1); }
.lia-mini.glisse .lia-mini-img { animation: mini-glisse 1.6s ease-in-out; }
.lia-mini.secoue .lia-mini-img { animation: mini-secoue 0.4s ease-in-out; }
.lia-mini.cachee .lia-mini-img { visibility: hidden; }
.lia-carton { position: absolute; left: 0; bottom: 0; display: block; width: calc(var(--lh) * 0.56); max-width: none; height: auto; image-rendering: pixelated; transform: translate(-50%, 0); transform-origin: 50% 100%; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0, 12, 44, 0.4)); animation: carton 2.2s ease-in-out infinite; }
.mini-coeur { position: absolute; left: 0; top: calc(-0.72 * var(--lh)); translate: var(--x, 0px) 0; color: #FF8FB5; font: 700 15px/1 var(--corps); pointer-events: none; opacity: 0; animation: mini-coeur 1.15s ease-out forwards; text-shadow: 0 1px 0 rgba(120, 20, 60, 0.35); }

/* les Pilloux qui répondent : ils surgissent du bord bas de l'image */
.pilloux-bord { position: absolute; left: 0; right: 0; bottom: 0; height: 0; z-index: 5; pointer-events: none; }
.pb { position: absolute; bottom: 0; width: 0; height: 0; --ph: clamp(54px, calc(7.6 * var(--u)), 84px); }
.pb-corps { position: absolute; left: 0; bottom: 0; width: var(--ph); height: var(--ph); margin-left: calc(var(--ph) / -2); background: url("/images/univers/pilloux.webp") calc(var(--ph) * -1 * var(--i)) 0 / calc(var(--ph) * 8) var(--ph) no-repeat; image-rendering: pixelated; transform: translateY(108%); transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1); filter: drop-shadow(0 -2px 8px rgba(0, 12, 44, 0.35)); }
.pb.monte .pb-corps { transform: translateY(12%); }
.pb.penche .pb-corps { rotate: 14deg; }
.pb .bulle { left: 0; top: calc(var(--ph) * -0.92 - 8px); }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(44px, 5vw, 76px); }
.surtitre { font-family: var(--corps); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: #BFE6F5; margin-bottom: 10px; }
.surtitre .barres { color: var(--cyan); letter-spacing: 0.05em; margin-left: 4px; }
.titre-section { font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
.chapeau { max-width: 38em; font-size: clamp(1rem, 1.2vw, 1.0625rem); line-height: 1.65; color: #D8E7F2; }

/* Architect : peu de mots, LIA en rollers montrée en entier */
.section-architect { background: radial-gradient(ellipse 60% 70% at 76% 50%, rgba(14, 59, 82, 0.34), transparent 70%), var(--nuit-2); }
.architect-grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.titre-produit { display: flex; align-items: center; gap: 12px; font-size: clamp(1.75rem, 2.8vw, 2.25rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.titre-produit .pict { width: 1em; height: 1em; flex: none; color: var(--cyan); filter: drop-shadow(0 0 10px rgba(92, 225, 255, 0.6)); }
.sous-titre { font-size: clamp(1.05rem, 1.35vw, 1.2rem); font-weight: 600; line-height: 1.35; margin-bottom: 12px; color: #fff; }
.architect-texte p { max-width: 34em; color: #D5E5F1; }
.notions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.notions li { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--filet); background: rgba(92, 225, 255, 0.06); font-size: 0.86rem; font-weight: 500; color: #DDF3FB; }
.architect-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.architect-texte .badge-etat { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--filet-or); color: var(--or-clair); font-size: 0.88rem; font-weight: 600; }
.badge-etat .point { width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 10px var(--or); animation: pulse 2.6s ease-in-out infinite; }
.architect-visuel .visuel { display: block; width: 100%; height: auto; border-radius: var(--r2); border: 1px solid rgba(92, 225, 255, 0.3); box-shadow: 0 0 44px rgba(92, 225, 255, 0.14), var(--ombre); }

/* « Pendant ce temps, chez ElyseA… » : une seule fenêtre, le décor peint, les Pilloux et LIA en pixel art par-dessus */
.section-univers { background: linear-gradient(180deg, var(--nuit-2), #060d1c 55%, var(--nuit-2)); }
.univers-tete { text-align: center; margin-bottom: clamp(20px, 2.6vw, 32px); }
.univers-tete .chapeau { margin-inline: auto; margin-bottom: 0; text-wrap: balance; }
.fenetre-univers { position: relative; }
.fu-cadre { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r2); border: 1.5px solid rgba(92, 225, 255, 0.6); background: #0b1a2c; box-shadow: 0 0 0 6px rgba(92, 225, 255, 0.05), 0 0 60px rgba(92, 225, 255, 0.18), var(--ombre); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.fu-decor { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.fu-decor:not([src]) { visibility: hidden; }
.fu-decor-fixe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.fu-scene { display: none; }
.fu-actif .fu-decor, .fu-actif .fu-scene { position: absolute; left: 0; top: 0; display: block; width: 1024px; max-width: none; height: 576px; transform-origin: 0 0; }
.fu-effets, .fu-bulles, .fu-voile { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; pointer-events: none; }
.fu-bulles { overflow: hidden; }
.fu-voile { display: grid; place-items: center; background: #060b18; color: var(--gris); font-size: 0.9rem; opacity: 0; transition: opacity 0.42s ease; }
.fu-transition .fu-voile { opacity: 1; }
.fu-banniere, .fu-compteur { position: absolute; left: 14px; margin: 0; padding: 7px 13px 8px; border-radius: 12px; background: rgba(6, 14, 30, 0.74); pointer-events: none; }
@supports (backdrop-filter: blur(1px)) { .fu-banniere, .fu-compteur { backdrop-filter: blur(6px); } }
.fu-banniere { top: 14px; display: grid; gap: 1px; max-width: 70%; border: 1px solid var(--filet-or); }
.fu-banniere strong { font-family: var(--titre); font-weight: 400; font-size: clamp(0.72rem, 1.25vw, 0.92rem); letter-spacing: 0.08em; color: var(--or-clair); }
.fu-banniere span { font-size: clamp(0.72rem, 1.05vw, 0.84rem); line-height: 1.3; color: #BFEFFF; }
.fu-banniere.arrive { animation: banniere 0.7s ease both; }
.fu-compteur { bottom: 14px; border: 1px solid var(--filet); font-size: 0.82rem; font-weight: 600; color: #DDF6FF; }
.fu-agrandir { position: absolute; right: 12px; top: 12px; z-index: 12; display: inline-flex; align-items: center; gap: 8px; min-width: 40px; height: 40px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--filet); background: rgba(6, 14, 30, 0.74); color: var(--blanc); font: 600 0.84rem/1 var(--corps); cursor: pointer; }
.fu-agrandir:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(92, 225, 255, 0.35); }
.fu-agrandir .ico { width: 16px; height: 16px; }
.fu-ouvrir { position: absolute; left: 50%; bottom: 16px; z-index: 12; display: none; transform: translateX(-50%); background: rgba(6, 22, 48, 0.82); white-space: nowrap; }
.fu-ouvrir:hover { transform: translateX(-50%) translateY(-2px); }
.fu-barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-top: 14px; }
.fu-onglets { display: flex; flex-wrap: wrap; gap: 6px; }
.fu-onglet { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--filet); background: rgba(7, 11, 22, 0.4); color: #B6C7D8; font: 600 0.875rem/1 var(--corps); cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.fu-onglet:hover { color: #fff; border-color: var(--cyan); }
.fu-onglet[aria-selected="true"] { color: var(--nuit); background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 18px rgba(92, 225, 255, 0.4); }
.fu-astuce { margin: 0; font-size: 0.84rem; color: var(--gris); }
.univers-note { max-width: 48em; margin: 18px auto 0; text-align: center; font-size: 0.86rem; line-height: 1.55; color: var(--gris); }

/* personnages de la scène : l'origine est aux pieds ; l'échelle et la position viennent du script */
.fu-p { position: absolute; left: -106px; top: -202px; z-index: 1; width: 212px; height: 212px; padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 106px 202px; -webkit-tap-highlight-color: transparent; }
.fu-p::before { content: ""; position: absolute; left: 41px; bottom: -12px; width: 130px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 15, 30, 0.5), rgba(20, 15, 30, 0)); }
.fu-p:focus-visible { outline: 8px solid var(--cyan); outline-offset: 4px; border-radius: 40px; }
.fu-pb, .fu-pi { position: absolute; inset: 0; transform-origin: 50% 95%; }
.fu-pi { background: url("/images/univers/pilloux.webp") calc(-212px * var(--i, 0)) 0 / 1696px 212px no-repeat; image-rendering: pixelated; }
.fu-p.gauche .fu-pi { scale: -1 1; }
/* LIA : sa taille est posée directement (--s vient du script), au pixel d'écran près : elle reste nette en se déplaçant */
.fu-lia { --s: 1; left: calc(-39px * var(--s)); top: calc(-102px * var(--s)); width: calc(78px * var(--s)); height: calc(102px * var(--s)); transform-origin: 50% 100%; }
.fu-lia::before { left: 14%; bottom: -6%; width: 72%; height: 16%; }
.fu-lia:focus-visible { outline-width: 3px; border-radius: 14px; }
.fu-lia .fu-pi { background: url("/images/univers/lia-patine.webp") 0 0 / 100% 100% no-repeat; image-rendering: auto; animation: lia-repos 2.6s ease-in-out infinite; }
.m-travail .fu-pi, .m-reunion .fu-pi { animation: p-bob 0.7s ease-in-out infinite; }
.m-travail .fu-pb, .m-reunion .fu-pb { animation: p-balance 3.1s ease-in-out infinite; }
.m-dort .fu-pb { transform: rotate(16deg); }
.m-dort .fu-pi { animation: p-dodo 3.9s ease-in-out infinite; }
.m-lit .fu-pb { animation: p-lit 7.8s ease-in-out infinite; }
.m-lit .fu-pi { animation: p-dodo 3.1s ease-in-out infinite; }
.fu-p.marche .fu-pi { animation: p-marche 0.29s linear infinite; }
.fu-p.marche .fu-pb, .fu-p.reveil .fu-pb { animation: none; transform: none; }
.fu-p.saute .fu-pb { animation: p-saut 0.45s ease-out; }
.fu-lia.chatouille .fu-pb { animation: lia-chat 0.17s linear infinite; }
.fu-lia.saute .fu-pb { animation: lia-saut 0.7s cubic-bezier(0.3, 0.5, 0.5, 1); }
.fu-objet { position: absolute; left: 71px; top: -44px; width: 70px; height: 48px; border-radius: 8px; border: 8px solid var(--encre-bulle); background: #fff linear-gradient(135deg, transparent 46%, rgba(38, 33, 59, 0.5) 47%, rgba(38, 33, 59, 0.5) 53%, transparent 54%); animation: p-bob 0.6s ease-in-out infinite; }
.fu-objet.livre { left: 76px; top: -58px; width: 60px; height: 74px; border-width: 7px; border-left-width: 16px; background: var(--cyan); }
.fu-porte { position: absolute; z-index: 600; width: 46px; height: 46px; margin: -23px 0 0 -23px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fu-porte::before { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: #BDF3FF; box-shadow: 0 0 0 5px rgba(92, 225, 255, 0.28), 0 0 16px 4px rgba(92, 225, 255, 0.75); animation: porte 2.2s ease-in-out infinite; }
.fu-porte span { position: absolute; left: 50%; bottom: 100%; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--filet); background: rgba(6, 14, 30, 0.86); color: #fff; font: 600 12px/1.2 var(--corps); white-space: nowrap; opacity: 0; transform: translate(-50%, 4px); transition: opacity 0.2s, transform 0.2s; pointer-events: none; }
.fu-porte.bas span { bottom: auto; top: -22px; }
.fu-porte:hover span, .fu-porte:focus-visible span { opacity: 1; transform: translate(-50%, 0); }

/* la fenêtre agrandie : tout l'écran, Échap ou le bouton pour revenir */
html.fu-verrou { overflow: hidden; }
.fu-plein { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: #050914; opacity: 1 !important; transform: none !important; }
.fu-plein .fu-cadre { flex: 1; min-height: 0; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
.fu-plein .fu-barre { margin: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--filet); }
.fu-plein .fu-agrandir::after { content: attr(aria-label); }
.fu-plein .fu-ouvrir { display: none !important; }

/* notre vision */
.section-vision { background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(14, 59, 82, 0.4), transparent 70%), var(--nuit-2); }
.vision-grille { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.vision-image { margin: 0; }
#vision-titre .cy { white-space: nowrap; }
.cadre-image { display: block; width: 100%; height: auto; border-radius: var(--r2); border: 1.5px solid rgba(92, 225, 255, 0.6); box-shadow: 0 0 40px rgba(92, 225, 255, 0.22), var(--ombre); }
.verbes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; }
.verbes li { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: var(--r1); border: 1px solid rgba(92, 225, 255, 0.2); background: rgba(92, 225, 255, 0.04); }
.verbes .pict { flex: none; width: 26px; height: 26px; color: var(--cyan); }
.verbes strong { display: block; font-size: 0.97rem; line-height: 1.3; }
.verbes span { display: block; margin-top: 2px; font-size: 0.84rem; line-height: 1.4; color: #C8DAE8; }
.vision-symbole { margin: 20px 0 0; display: flex; align-items: center; gap: 14px; max-width: 38em; }
.vision-symbole img { flex: none; width: 60px; height: 60px; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%); mask-image: radial-gradient(circle, #000 55%, transparent 72%); }
.vision-symbole figcaption { font-size: 0.82rem; line-height: 1.45; color: var(--gris); font-style: italic; }

/* collaborer : la cité de nuit à gauche, laissée telle quelle ; le texte sur le ciel sombre, l'encart en verre */
.section-collab { overflow: hidden; background: #060a16; padding-block: clamp(64px, 8vw, 120px); border-top: 1px solid rgba(92, 225, 255, 0.14); }
.collab-fond { position: absolute; inset: 0; z-index: 0; }
.collab-fond .fond-collab { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0% 62%; }
.collab-int { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(24px, 3.4vw, 52px); align-items: center; padding-left: clamp(0px, 28%, 360px); width: min(1360px, 100% - 48px); }
.collab-texte p:last-child { margin: 0; color: #D5E5F1; }
.collab-encart { padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r2); border: 1.5px solid rgba(92, 225, 255, 0.6); background: linear-gradient(150deg, rgba(14, 54, 82, 0.66), rgba(6, 20, 40, 0.8)); box-shadow: var(--ombre), 0 0 40px rgba(92, 225, 255, 0.2); }
@supports (backdrop-filter: blur(1px)) { .collab-encart { backdrop-filter: blur(10px); } }
.collab-encart h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin-bottom: 6px; }
.collab-encart h3 .pict { width: 34px; height: 34px; color: var(--cyan); }
.collab-encart p { color: #D5E5F1; margin-bottom: 16px; font-size: 0.97rem; }
.entrees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.entree { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; border-radius: var(--r1); border: 1px solid var(--filet); background: rgba(7, 11, 22, 0.4); color: var(--blanc); font: 600 0.86rem/1.2 var(--corps); cursor: pointer; transition: border-color 0.25s, box-shadow 0.25s; }
.entree:hover { border-color: var(--or); box-shadow: 0 0 24px rgba(212, 169, 76, 0.25); }
.entree-pastille { width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 10px var(--or); }
.collab-encart .btn { width: 100%; padding-block: 14px; }

/* ---------- pied ---------- */
.pied { position: relative; border-top: 1px solid var(--filet); background: #050914; padding: 0 0 26px; }
.valeurs { width: min(1360px, 100% - 48px); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding: 24px 0; border-bottom: 1px solid rgba(92, 225, 255, 0.16); }
.valeurs li { display: flex; align-items: center; gap: 12px; color: #E6F4FF; font-size: 0.95rem; font-weight: 500; }
.valeurs .pict { width: 30px; height: 30px; color: var(--cyan); }
.pied-int { width: min(1360px, 100% - 48px); margin: 0 auto; padding-top: 28px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pied-marque { display: flex; gap: 20px; align-items: center; }
.logo-c { width: 84px; height: 84px; flex: none; -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%); mask-image: radial-gradient(circle, #000 55%, transparent 72%); }
.pied-nom { font-family: var(--titre); letter-spacing: 0.24em; margin: 0 0 8px; }
.pied .signature .sig-a { font-size: 1.15rem; }
.pied .signature .sig-b { font-size: 1.1rem; margin-left: 0.6em; }
.signature-pied .encre { display: none; }
.pied-projet { margin: 12px 0 0; color: var(--gris); font-size: 0.88rem; }
.pied-liens ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 14px; }
.pied-liens a { color: var(--gris); text-decoration: none; font-size: 0.94rem; }
.pied-liens a:hover { color: var(--blanc); }
.reglage-anim { background: transparent; border: 1px solid var(--filet); color: var(--gris); border-radius: 999px; padding: 6px 14px; font: 500 0.85rem var(--corps); cursor: pointer; }
.reglage-anim:hover { color: var(--blanc); border-color: var(--cyan); }
.pied-bas { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 18px; border-top: 1px solid rgba(92, 225, 255, 0.12); color: var(--gris); font-size: 0.85rem; }

/* ---------- fenêtres modales ---------- */
.modale { padding: 0; border: 0; background: transparent; color: var(--blanc); width: min(560px, 94vw); max-width: none; max-height: 94svh; overflow: visible; margin: auto; }
.modale::backdrop { background: rgba(3, 6, 14, 0.78); }
@supports (backdrop-filter: blur(1px)) { .modale::backdrop { backdrop-filter: blur(8px); } }
.modale[open] .modale-cadre { animation: entre 0.35s ease both; }
.modale-cadre { position: relative; max-height: 94svh; overflow: auto; padding: 30px 30px 26px; border-radius: var(--r3); background: linear-gradient(165deg, #0E2C44, #08162A 70%); border: 1px solid var(--cyan); box-shadow: var(--ombre), 0 0 60px rgba(92, 225, 255, 0.25), inset 0 0 30px rgba(92, 225, 255, 0.06); }
.modale-fermer { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--filet); background: transparent; color: var(--gris); cursor: pointer; display: grid; place-items: center; }
.modale-fermer:hover { color: #fff; border-color: var(--cyan); }
.modale-tete { display: flex; gap: 18px; align-items: center; margin: 4px 36px 20px 0; }
.modale-tete h2 { font-size: 1.35rem; margin: 0 0 8px; }
.modale-intro { margin: 0; color: #C8DAE8; font-size: 0.97rem; }
.modale-pixel { width: 70px; height: auto; image-rendering: pixelated; flex: none; animation: respire 3.4s ease-in-out infinite; }
.badge-fondateur { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--filet-or); color: var(--or-clair); font-size: 0.85rem; font-weight: 600; }
.badge-fondateur .ico { width: 1em; height: 1em; color: var(--or); }
.formulaire { display: grid; gap: 14px; }
.champ { display: grid; gap: 6px; }
.champ-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ label { font-size: 0.9rem; font-weight: 600; color: #D5E5F1; }
.champ input[type="text"], .champ input[type="email"], .champ select, .champ textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--filet); background: rgba(3, 10, 22, 0.7); color: var(--blanc); font: 400 1rem var(--corps); }
.champ textarea { resize: vertical; min-height: 120px; }
.champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan); }
.champ [aria-invalid="true"] { border-color: var(--ambre); }
.champ-case { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.champ-case input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--cyan); }
.champ-case label { font-weight: 400; font-size: 0.9rem; color: #C8DAE8; }
.champ-erreur { color: var(--ambre); font-size: 0.85rem; margin: 0; }
.formulaire-etat { min-height: 1.4em; margin: 0; font-size: 0.92rem; color: #C8DAE8; }
.formulaire-etat.est-erreur { color: var(--ambre); font-weight: 600; }
.formulaire .btn-plein { width: 100%; padding-block: 15px; }
.donnees { font-size: 0.85rem; color: var(--gris); border-top: 1px solid rgba(92, 225, 255, 0.14); padding-top: 12px; }
.donnees summary { cursor: pointer; font-weight: 600; color: var(--gris); }
.donnees p { margin: 10px 0 0; }
.merci { text-align: center; padding: 16px 0 6px; }
.merci h3 { font-size: 1.6rem; color: var(--cyan); }
.merci p { color: #D5E5F1; }
.merci:focus { outline: none; }
.modale-cadre.avec-joie::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 30%, rgba(212, 169, 76, 0.28), transparent 60%); animation: eclat 1.4s ease-out forwards; border-radius: inherit; }

/* ---------- pages secondaires ---------- */
.page-secondaire { padding-top: var(--haut-entete); min-height: 70vh; }
.page-entete { padding: clamp(48px, 8vw, 96px) 0 24px; background: radial-gradient(ellipse 60% 100% at 20% 0%, rgba(14, 59, 82, 0.5), transparent 70%); }
.page-entete h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.page-entete .accroche { max-width: 720px; color: #C8DAE8; font-size: 1.05rem; font-weight: 400; }
.page-secondaire .section { padding-block: 32px 80px; }
.texte-long { max-width: 880px; }
.texte-long h2 { font-size: 1.4rem; margin-top: 2.2em; color: var(--blanc); }
.texte-long h3 { font-size: 1.12rem; margin-top: 1.6em; color: var(--cyan); }
.regles { padding-left: 1.2em; }
.regles li { margin-bottom: 0.9em; list-style: decimal; }
.tableau-defile { overflow-x: auto; margin: 18px 0; border: 1px solid var(--filet); border-radius: var(--r1); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 640px; }
caption { text-align: left; padding: 12px 14px; }
th, td { padding: 10px 14px; text-align: left; vertical-align: top; border-top: 1px solid rgba(92, 225, 255, 0.14); }
thead th { color: var(--cyan); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; border-top: 0; }
tbody th { font-weight: 600; color: var(--blanc); }
.page-404 { padding-top: var(--haut-entete); }
.p404 { min-height: 78vh; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; padding: 60px 24px; position: relative; }
.p404-pixel { width: 130px; height: auto; image-rendering: pixelated; animation: respire 3s ease-in-out infinite; }
.p404-logo { width: 120px; height: auto; mix-blend-mode: screen; margin-top: 10px; -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%); mask-image: radial-gradient(circle, #000 55%, transparent 72%); }
.p404 h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-top: 14px; }
.p404 p { color: #C8DAE8; }

/* ---------- apparitions et animations ---------- */
.js .revele { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .revele.vu { opacity: 1; transform: none; }
.js .revele[data-delai="1"] { transition-delay: 0.15s; } .js .revele[data-delai="2"] { transition-delay: 0.3s; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 18px rgba(92, 225, 255, 0.16); } 50% { box-shadow: 0 0 36px rgba(92, 225, 255, 0.42); } }
@keyframes onde { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1.25); } }
@keyframes ligne { to { opacity: 1; transform: none; } }
@keyframes respire { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes entre { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes eclat { from { opacity: 1; } to { opacity: 0; } }
@keyframes soleil { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes holo { 0%, 100% { background-position: 130% 0; } 50% { background-position: -30% 0; } }
@keyframes banniere { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes porte { 0%, 100% { transform: scale(0.85); opacity: 0.8; } 50% { transform: scale(1.15); opacity: 1; } }
/* petite LIA du hero */
@keyframes mini-flotte { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -7px); } }
@keyframes mini-chat { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-5px); } }
@keyframes mini-saut { 0% { transform: translateY(0) scale(1.08, 0.9); } 45% { transform: translateY(-38%) scale(0.96, 1.06); } 80% { transform: translateY(0) scale(1.1, 0.88); } 100% { transform: none; } }
@keyframes mini-glisse { 0%, 100% { transform: none; } 30% { transform: translateX(-16px) rotate(-3deg); } 70% { transform: translateX(16px) rotate(3deg); } }
@keyframes mini-secoue { 0%, 100% { transform: none; } 25% { transform: translateX(-5px) rotate(-3deg); } 75% { transform: translateX(5px) rotate(3deg); } }
@keyframes mini-coeur { 0% { opacity: 0; transform: translateY(0) scale(0.5); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-46px) scale(1.15); } }
@keyframes carton { 0%, 80%, 100% { transform: translate(-50%, 0) rotate(0); } 85% { transform: translate(-50%, 0) rotate(-4deg); } 92% { transform: translate(-50%, 0) rotate(4deg); } }
/* personnages de la scène (mêmes mouvements que la démonstration : rebond, écrasement, balancement, petit saut) */
@keyframes p-bob { 0%, 100% { transform: translateY(0) scale(1.03, 0.97); } 50% { transform: translateY(-11px) scale(0.97, 1.03); } }
@keyframes p-balance { 0%, 100% { transform: rotate(-2.9deg); } 50% { transform: rotate(2.9deg); } }
@keyframes p-dodo { 0%, 100% { transform: scale(1.05, 0.95); } 50% { transform: scale(0.97, 1.04); } }
@keyframes p-lit { 0%, 100% { transform: rotate(-4.6deg); } 50% { transform: rotate(4.6deg); } }
@keyframes p-marche { 0%, 100% { transform: translateY(0) scale(1.07, 0.93); } 50% { transform: translateY(-34px) scale(0.94, 1.07); } }
@keyframes p-saut { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-110px); } }
@keyframes lia-repos { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(calc(-2px * var(--s, 1))); } }
@keyframes lia-chat { 0%, 100% { transform: rotate(-11deg) translateY(0); } 50% { transform: rotate(11deg) translateY(calc(-7px * var(--s, 1))); } }
@keyframes lia-saut { 0% { transform: translateY(0) rotate(0); } 50% { transform: translateY(calc(-70px * var(--s, 1))) rotate(180deg); } 100% { transform: translateY(0) rotate(360deg); } }
.fu-lia.saute .fu-pb { transform-origin: 50% 55%; }

/* animations réduites : préférence du système OU réglage du pied de page */
html.anim-reduit *, html.anim-reduit *::before, html.anim-reduit *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.anim-reduit .lia-corps .lia-ligne, html.anim-reduit .lia-fort, html.anim-reduit .lia-pied { opacity: 1; transform: none; }
html.anim-reduit .revele { opacity: 1 !important; transform: none !important; }
html.anim-reduit .particules, html.anim-reduit .fu-effets, html.anim-reduit .mini-coeur { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lia-corps .lia-ligne, .lia-fort, .lia-pied { opacity: 1; transform: none; }
  .js .revele { opacity: 1; transform: none; }
  .particules, .fu-effets, .mini-coeur { display: none; }
}

/* ======================= VARIANTES ======================= */
/* Même page, mêmes composants ; seule la présence de l'univers vivant change. */
/* A — discrète : LIA plus petite, fenêtre sur l'univers plus étroite, moins d'effets. */
[data-variante="A"] .lia-mini { --lh: clamp(84px, calc(12.5 * var(--u)), 140px); }
[data-variante="A"] .hero-lumiere { animation: none; opacity: 0.6; }
[data-variante="A"] .lia-fenetre::after { display: none; }
[data-variante="A"] .fenetre-univers:not(.fu-plein) { max-width: 980px; margin-inline: auto; }
/* B — équilibrée (par défaut) : la fenêtre, ses onglets, et le bouton « Agrandir » pour l'immersion à la demande. */
/* C — immersive à la demande : LIA plus présente ; l'univers s'annonce par un bandeau qui s'ouvre en plein écran. */
[data-variante="C"] .lia-mini { --lh: clamp(112px, calc(19.5 * var(--u)), 220px); }
[data-variante="C"] .fenetre-univers:not(.fu-plein) .fu-cadre { aspect-ratio: 21 / 8; }
[data-variante="C"] .fenetre-univers:not(.fu-plein) .fu-barre, [data-variante="C"] .fenetre-univers:not(.fu-plein) .fu-agrandir { display: none; }
[data-variante="C"] .fu-ouvrir { display: inline-flex; }

/* ---------- sélecteur de variante (affiché seulement en local) ---------- */
.choix-variante { position: fixed; right: 12px; bottom: 96px; z-index: 90; display: flex; gap: 4px; padding: 6px; border-radius: 12px; background: rgba(3, 6, 14, 0.85); border: 1px dashed var(--ambre); font-size: 0.8rem; }
.choix-variante button { border: 1px solid var(--filet); background: transparent; color: var(--blanc); border-radius: 8px; padding: 4px 10px; cursor: pointer; font: 600 0.8rem var(--corps); }
.choix-variante button[aria-pressed="true"] { background: var(--cyan); color: var(--nuit); }

/* ======================= RESPONSIVE ======================= */
/* écrans plus larges que l'illustration : son bord gauche se fond dans le ciel prolongé */
@media (min-width: 1280px) and (min-aspect-ratio: 161/100) {
  .hero-art { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%); mask-image: linear-gradient(90deg, transparent 0, #000 7%); }
}
@media (min-width: 1280px) and (max-height: 720px) { .hero .indicateur { display: none; } }
@media (min-width: 2200px) { .hero { --hh: clamp(500px, min(100vh - var(--haut-entete), 56.28vw), 1500px); } }

/* en dessous de 1280 px : l'illustration en haut, entière en hauteur ; le texte et le coin de LIA dessous */
@media (max-width: 1279px) {
  .nav a { padding: 10px 9px; font-size: 0.9rem; }
  .entete-int { gap: 14px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); height: auto; padding: var(--haut-entete) 0 86px; --u: 7.4px; background: var(--nuit); }
  .hero-art { position: relative; top: auto; grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 60vh; }
  .hero-art .fond { object-position: 88% 0; }
  .hero-int { position: static; width: auto; height: auto; padding: 26px 0 0 var(--mg); pointer-events: auto; }
  .hero-texte { position: static; width: auto; max-width: 620px; }
  .hero-lia { position: relative; top: auto; right: auto; width: auto; height: auto; display: flex; align-items: flex-end; justify-content: flex-end; gap: 12px; align-self: start; padding: 30px var(--mg) 0 20px; pointer-events: auto; }
  .lia-fenetre { position: relative; right: auto; top: auto; flex: 1 1 auto; width: auto; max-width: 340px; }
  .lia-fenetre::before { left: auto; right: -13px; top: 58%; border: 8px solid transparent; border-left: 13px solid rgba(92, 225, 255, 0.78); border-right: 0; }
  .lia-fenetre[data-etat="reduite"], .lia-fenetre[data-etat="fermee"] { display: none; }
  .lia-mini { position: relative; left: auto; bottom: auto; flex: none; width: 100px; height: 146px; --lh: 140px; }
  .lia-mini-perso, .lia-carton { left: 50%; }
  .lia-mini .bulle { left: 50%; top: -6px; }
  .mini-coeur { left: 50%; top: 22%; }
}
@media (max-width: 999px) {
  :root { --haut-entete: 64px; }
  .btn-menu { display: inline-flex; }
  .btn-demo { display: none; }
  .nav { position: fixed; inset: var(--haut-entete) 0 auto 0; margin: 0; padding: 12px 20px 22px; background: rgba(7, 11, 22, 0.97); border-bottom: 1px solid var(--filet); transform: translateY(-120%); transition: transform 0.35s; visibility: hidden; }
  .nav-ouvert .nav { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav .nav-mobile { display: block; padding-top: 10px; }
  .nav .nav-mobile .btn { width: 100%; }
  .nav a { padding: 14px 8px; font-size: 1.05rem; }
  .entete-droite { margin-left: auto; }
  .architect-grille, .vision-grille, .collab-int { grid-template-columns: minmax(0, 1fr); }
  .fu-cadre { aspect-ratio: 4 / 3; }
  [data-variante="C"] .fenetre-univers:not(.fu-plein) .fu-cadre { aspect-ratio: 16 / 9; }
  .section-collab { padding-top: 0; }
  .collab-fond { position: relative; aspect-ratio: 16 / 9; max-height: 46vh; }
  .collab-fond .fond-collab { object-position: 4% 50%; }
  .collab-int { padding-left: 0; margin-top: 28px; }
  .valeurs { justify-content: flex-start; }
  .pied-int { grid-template-columns: 1fr; }
  .modale { width: 100vw; max-height: 100svh; height: 100svh; }
  .modale-cadre { min-height: 100svh; max-height: 100svh; border-radius: 0; border-inline: 0; padding: 24px 20px 28px; }
}
@media (max-width: 760px) {
  .conteneur { width: min(1200px, 100% - 36px); }
  .hero { grid-template-columns: minmax(0, 1fr); --mg: 20px; }
  .hero-int { padding-right: var(--mg); }
  .hero-titre { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .indicateur { font-size: 0.6rem; letter-spacing: 0.16em; gap: 8px; }
  .lia-mini { width: 88px; height: 128px; --lh: 122px; }
  .hero-lia { justify-content: space-between; padding-left: var(--mg); }
  .verbes { grid-template-columns: minmax(0, 1fr); }
  .fu-barre { justify-content: center; }
  .fu-onglets { justify-content: center; }
  .fu-astuce { width: 100%; text-align: center; }
}
@media (max-width: 560px) {
  .hero-art { aspect-ratio: 5 / 4; }
  .fu-cadre { aspect-ratio: 4 / 5; }
  [data-variante="C"] .fenetre-univers:not(.fu-plein) .fu-cadre { aspect-ratio: 4 / 3; }
  .fu-onglet { padding: 8px 12px; font-size: 0.82rem; }
  .fu-banniere { max-width: calc(100% - 76px); }
  .entrees { grid-template-columns: 1fr; }
  .entree { flex-direction: row; justify-content: flex-start; padding: 14px 16px; }
  .champ-duo { grid-template-columns: 1fr; }
  .boutons .btn { width: 100%; }
  .architect-actions .btn { width: 100%; }
  .modale-tete { margin-right: 44px; }
  .valeurs { flex-direction: column; }
}
