/* ==========================================================================
   www.arcadegamesatlantique.com : bornes d'arcade et redaction jeux de Philippe
   Ambiance salle d'arcade : nuit, neons rose et cyan, jaune "insert coin",
   bleu ocean pour l'Atlantique. Illustrations construites en HTML/CSS,
   animees image par image (steps()).
   ========================================================================== */
:root {
  --nuit: #0b0b1a; --nuit-2: #13132a; --nuit-3: #1b1b3a; --ligne: #2a2a52;
  --rose: #ff2bd6; --cyan: #22e4ff; --jaune: #ffd23f; --rouge: #ff4d5e; --vert: #39ff88; --ocean: #0e4a7a; --ocean-2: #1d78b8; --sable: #f3d38a;
  --t: #e9e9f7; --t2: #a6a6cc; --t3: #c9c9e6;
  --titre: "Bungee", "Arial Black", Impact, sans-serif; --pixel: "Press Start 2P", "Courier New", monospace;
  --police: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--nuit); color: var(--t); font: 400 17px/1.7 var(--police); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--cyan); }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; color: #fff; line-height: 1.12; margin: 0 0 .8rem; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1.1rem; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 10px; top: 10px; z-index: 99; background: #fff; color: #000; padding: .5rem; }
.eti { display: inline-block; font: 400 .62rem/1.6 var(--pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--jaune); margin-bottom: 1rem; }
.eti::before { content: "\25B6\00a0"; color: var(--rose); }

/* En-tete */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(11,11,26,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne); }
.entete .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.marque { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; font: 400 1.05rem/1.05 var(--titre); }
.marque img { width: 38px; height: 38px; flex: 0 0 38px; }
.marque span { color: var(--rose); }
.menu { display: flex; gap: 1.3rem; }
.menu a { color: var(--t2); text-decoration: none; font-weight: 500; font-size: .93rem; }
.menu a:hover, .menu a[aria-current=page] { color: #fff; }
.menu a[aria-current=page] { box-shadow: 0 2px 0 var(--rose); }
.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; border-radius: 10px; padding: .85rem 1.4rem; line-height: 1; font-size: .96rem; }
.btn-neon { background: var(--jaune); color: #1a1400; box-shadow: 0 4px 0 #b38a00, 0 0 24px rgba(255,210,63,.35); }
.btn-neon:hover { color: #1a1400; filter: brightness(1.06); }
.btn-ligne { border: 2px solid var(--cyan); color: var(--cyan); box-shadow: 0 0 16px rgba(34,228,255,.15) inset; }
.btn-ligne:hover { background: rgba(34,228,255,.1); color: #fff; }
.btn-petit { padding: .6rem 1rem; font-size: .86rem; }
@media (max-width: 960px) { .menu { display: none; } }
@media (max-width: 420px) { .entete .btn-petit { display: none; } }

/* Accueil */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 75% 30%, rgba(255,43,214,.18), transparent 55%), radial-gradient(ellipse at 20% 90%, rgba(34,228,255,.12), transparent 50%), var(--nuit); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2.4rem; align-items: center; padding: 4rem 24px 4.6rem; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 2.4rem; } }
@media (max-width: 600px) { .hero .wrap { padding-left: 16px; padding-right: 16px; } }
.hero h1 span { display: block; color: var(--rose); text-shadow: 0 0 18px rgba(255,43,214,.55); }
.hero .accroche { font-size: 1.15rem; color: var(--t3); max-width: 34rem; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.reseaux { display: flex; gap: .7rem; flex-wrap: wrap; }
.reseaux a { display: inline-flex; align-items: center; gap: .45rem; color: var(--t); text-decoration: none; font-size: .88rem; border: 1px solid var(--ligne); border-radius: 999px; padding: .45rem .9rem; }
.reseaux a:hover { border-color: var(--cyan); color: #fff; }
.reseaux i { font-style: normal; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: .7rem; font-weight: 700; color: #fff; }
.r-bc i { background: var(--rose); } .r-bo i { background: var(--ocean-2); } .r-pe i { background: #6d4bd8; }
.page-hero .wrap { padding-top: 3.4rem; padding-bottom: 3.6rem; }
.fil { font-size: .85rem; color: var(--t2); margin-bottom: 1rem; }
.fil a { color: var(--t2); } .fil a:hover { color: #fff; }

/* Salle d'arcade du hero : deux bornes, sol en perspective, portrait */
.salle { position: relative; aspect-ratio: 1.2; border-radius: 22px; overflow: hidden; border: 1px solid var(--ligne);
  background: radial-gradient(ellipse at 50% 25%, rgba(255,43,214,.25), transparent 60%), linear-gradient(#141432, #0b0b1a 62%); }
.salle .sol { position: absolute; left: -30%; right: -30%; bottom: -8%; height: 46%; transform: perspective(300px) rotateX(58deg); transform-origin: 50% 100%;
  background: repeating-linear-gradient(90deg, rgba(34,228,255,.45) 0 2px, transparent 2px 48px), repeating-linear-gradient(0deg, rgba(34,228,255,.45) 0 2px, transparent 2px 48px);
  animation: sol 1.6s steps(8) infinite; }
@keyframes sol { from { background-position: 0 0, 0 0; } to { background-position: 0 0, 0 48px; } }
.salle .enseigne { position: absolute; left: 50%; top: 4%; z-index: 3; transform: translateX(-50%); font: 400 clamp(.5rem, 1.4vw, .72rem) var(--pixel); color: var(--cyan); white-space: nowrap;
  text-shadow: 0 0 8px var(--cyan); border: 2px solid var(--cyan); border-radius: 8px; padding: .5em .9em; box-shadow: 0 0 14px rgba(34,228,255,.4), inset 0 0 10px rgba(34,228,255,.3);
  animation: neon 3s steps(1) infinite; }
@keyframes neon { 0%, 100% { opacity: 1; } 47% { opacity: .35; } 49% { opacity: 1; } 51% { opacity: .5; } 53% { opacity: 1; } }
.salle .borne { position: absolute; bottom: 7%; width: 25%; }
.salle .borne.g { left: 4%; } .salle .borne.d { right: 4%; }
.salle .portrait { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); width: 32%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; z-index: 4;
  border: 4px solid var(--rose); box-shadow: 0 0 0 4px var(--nuit), 0 0 0 7px var(--cyan), 0 0 40px rgba(255,43,214,.55); background: #111; }
.salle .portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.salle .bulle { position: absolute; left: 50%; bottom: 45%; transform: translateX(-50%); z-index: 5; font: 400 clamp(.45rem, 1.1vw, .6rem) var(--pixel); color: #1a1400;
  background: var(--jaune); padding: .7em .9em; border-radius: 4px; white-space: nowrap; box-shadow: 4px 4px 0 #b38a00; animation: clignote 1.2s steps(1) infinite; }
.salle .bulle::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--jaune); border-bottom: 0; }
@keyframes clignote { 50% { opacity: 0; } }
.salle .piece-vol { position: absolute; left: 47%; top: 26%; z-index: 5; }

/* ==========================================================================
   Composant borne d'arcade (vue de face). Les pieces sont placees en %
   par variables, ce qui permet les variantes bartop et 2 joueurs.
   ========================================================================== */
.borne { --cote: #1b1b3a; --cote-2: #2b2b5a; --face: #101024; --fronton: var(--rose); --bouton-1: var(--rouge); --bouton-2: var(--jaune); --bouton-3: var(--cyan); --boule: var(--rouge); --liseret: #c9c9e6;
  --f-top: 2%; --f-h: 12%; --e-top: 16%; --e-h: 33%; --p-top: 50%; --p-h: 10%; --porte: block; --ratio: .42;
  position: relative; aspect-ratio: var(--ratio); border-radius: 10% 10% 3% 3% / 5% 5% 1% 1%; background: linear-gradient(90deg, var(--cote-2), var(--cote) 10%, var(--cote) 90%, var(--cote-2));
  box-shadow: inset 0 0 0 3px var(--liseret), 0 24px 40px rgba(0,0,0,.6); }
.borne::before { content: ""; position: absolute; inset: 1.5% 6% 0; background: var(--face); border-radius: 6% 6% 0 0 / 3% 3% 0 0; }
.b-fronton { position: absolute; left: 8%; right: 8%; top: var(--f-top); height: var(--f-h); border-radius: 6px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.35), transparent 40%), var(--fronton); box-shadow: 0 0 18px var(--fronton), inset 0 0 0 2px rgba(255,255,255,.4); }
.b-fronton span { font: 400 clamp(.36rem, 1.05vw, .62rem)/1.2 var(--pixel); color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,.45); text-align: center; padding: 0 4%; }
.b-ecran { position: absolute; left: 10%; right: 10%; top: var(--e-top); height: var(--e-h); padding: 5%; border-radius: 6px; background: linear-gradient(#262645, #0d0d1c); box-shadow: inset 0 0 0 2px #000; }
.crt { position: relative; width: 100%; height: 100%; border-radius: 10% / 12%; overflow: hidden; background: #050510; box-shadow: inset 0 0 14px rgba(0,0,0,.9); }
.crt::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 9; background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px), radial-gradient(ellipse, transparent 55%, rgba(0,0,0,.55)); }
.b-panneau { position: absolute; left: 2%; right: 2%; top: var(--p-top); height: var(--p-h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #2c2c55, #191935 70%, #0c0c1c);
  box-shadow: inset 0 0 0 2px var(--liseret), 0 8px 14px rgba(0,0,0,.5); }
.b-panneau .stick { position: absolute; left: 16%; top: 28%; width: 6%; height: 52%; transform-origin: 50% 100%; background: linear-gradient(90deg, #888, #ddd, #888); border-radius: 3px; animation: stick 1.6s steps(1) infinite; }
.b-panneau .stick::before { content: ""; position: absolute; left: 50%; top: -55%; width: 260%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.75), var(--boule) 45%, rgba(0,0,0,.35) 100%); }
@keyframes stick { 0% { rotate: 0deg; } 25% { rotate: -18deg; } 50% { rotate: 0deg; } 75% { rotate: 18deg; } }
.b-panneau .bt { position: absolute; width: 9%; aspect-ratio: 1; border-radius: 50%; top: 30%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.7), var(--c) 50%, rgba(0,0,0,.4));
  box-shadow: 0 2px 0 rgba(0,0,0,.5); }
.b-panneau .bt.b1 { --c: var(--bouton-1); left: 42%; } .b-panneau .bt.b2 { --c: var(--bouton-2); left: 56%; top: 22%; } .b-panneau .bt.b3 { --c: var(--bouton-3); left: 70%; top: 18%; }
.b-panneau .bt.b4 { --c: var(--bouton-1); left: 49%; top: 60%; } .b-panneau .bt.b5 { --c: var(--bouton-2); left: 63%; top: 54%; } .b-panneau .bt.b6 { --c: var(--bouton-3); left: 77%; top: 50%; }
.b-panneau .bt.b1 { animation: appui 1.6s steps(1) infinite; } .b-panneau .bt.b5 { animation: appui 1.6s steps(1) .8s infinite; }
@keyframes appui { 0%, 100% { filter: none; } 50% { filter: brightness(1.8) drop-shadow(0 0 4px var(--c)); } }
.b-porte { display: var(--porte); position: absolute; left: 31%; right: 31%; top: 66%; height: 20%; border-radius: 4px; background: linear-gradient(180deg, #23234a, #15152e); box-shadow: inset 0 0 0 2px var(--liseret); }
.b-porte .fente { position: absolute; top: 18%; width: 26%; height: 34%; border-radius: 3px; background: var(--rouge); box-shadow: 0 0 10px var(--rouge); animation: clignote 1.4s steps(1) infinite; }
.b-porte .fente::after { content: ""; position: absolute; left: 44%; top: 18%; width: 12%; height: 64%; background: #200; border-radius: 2px; }
.b-porte .fente:first-child { left: 16%; } .b-porte .fente:last-child { right: 16%; animation-delay: .7s; }
.b-plinthe { position: absolute; left: 6%; right: 6%; bottom: 0; height: 4%; background: #07070f; }
/* Variante bartop : borne posee sur un meuble, sans porte de monnayeur */
.borne.bartop { --ratio: .78; --f-top: 3%; --f-h: 16%; --e-top: 22%; --e-h: 50%; --p-top: 74%; --p-h: 19%; --porte: none; border-radius: 12% 12% 4% 4% / 8% 8% 3% 3%; }
.borne.bartop .b-plinthe { height: 5%; }
/* Variante 2 joueurs : panneau plus large, deux sticks */
.borne.duo-j { --ratio: .5; }
.borne.duo-j .stick.s2 { left: 60%; animation-delay: .4s; }
.borne.duo-j .bt.b1 { left: 28%; } .borne.duo-j .bt.b2 { left: 38%; } .borne.duo-j .bt.b3 { left: 48%; top: 22%; }
.borne.duo-j .bt.b4 { left: 72%; top: 30%; } .borne.duo-j .bt.b5 { left: 82%; top: 22%; } .borne.duo-j .bt.b6 { left: 90%; top: 22%; width: 7%; }
/* Table cocktail, vue de dessus */
.cocktail { position: relative; aspect-ratio: 1.25; border-radius: 12px; background: var(--cote, #1b1b3a); box-shadow: inset 0 0 0 3px var(--liseret, #c9c9e6), 0 24px 40px rgba(0,0,0,.6); }
.cocktail .vitre { position: absolute; left: 22%; right: 22%; top: 14%; bottom: 14%; padding: 4%; border-radius: 8px; background: #0d0d1c; box-shadow: inset 0 0 0 2px #000; }
.cocktail .cmd { position: absolute; top: 25%; bottom: 25%; width: 15%; border-radius: 8px; background: #191935; box-shadow: inset 0 0 0 2px var(--liseret, #c9c9e6); }
.cocktail .cmd.g { left: 4%; } .cocktail .cmd.d { right: 4%; }
.cocktail .cmd i { position: absolute; left: 50%; width: 46%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8, var(--c, var(--rouge)) 50%, #0006); }
.cocktail .cmd i:nth-child(1) { top: 10%; width: 56%; --c: var(--rouge); } .cocktail .cmd i:nth-child(2) { top: 50%; --c: var(--jaune); } .cocktail .cmd i:nth-child(3) { top: 74%; --c: var(--cyan); }

/* Scenes d'ecran (pixel art anime image par image) */
.scene, .sc-wrap { position: absolute; inset: 0; }
.hud { position: absolute; left: 5%; right: 5%; top: 5%; display: flex; justify-content: space-between; font: 400 clamp(.26rem, .8vw, .45rem)/1 var(--pixel); color: #fff; z-index: 6; }
.hud b { font-weight: 400; color: var(--jaune); }
.compteur { display: inline-flex; }
.compteur span { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.compteur span i { display: block; font-style: normal; animation: odo 2.5s steps(10) infinite; }
.compteur span:nth-child(1) i { animation-duration: 250s; } .compteur span:nth-child(2) i { animation-duration: 25s; }
@keyframes odo { to { transform: translateY(-10em); } }
.insert { position: absolute; left: 0; right: 0; bottom: 8%; text-align: center; font: 400 clamp(.26rem, .8vw, .45rem) var(--pixel); color: var(--jaune); z-index: 6; animation: clignote 1s steps(1) infinite; }
/* Plage : ciel, ocean qui deroule, crabe qui marche */
.sc-plage { background: linear-gradient(#ff8fb3 0 18%, #ffb36b 18% 34%, #ffd27a 34% 46%, var(--ocean-2) 46% 70%, var(--sable) 70%); }
.sc-plage .soleil { position: absolute; left: 62%; top: 22%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: repeating-linear-gradient(0deg, #fff36b 0 3px, transparent 3px 5px); clip-path: inset(0 0 40% 0); }
.sc-plage .vagues { position: absolute; left: 0; right: 0; top: 60%; height: 12%; background: repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 14px, #9fe3ff 14px 18px, transparent 18px 28px); opacity: .85; animation: vague 1.2s steps(4) infinite; }
@keyframes vague { to { background-position: 28px 0; } }
.sc-plage .marcheur { position: absolute; bottom: 9%; left: 0; animation: traverse 6s steps(30) infinite; }
@keyframes traverse { from { transform: translateX(-30%); } to { transform: translateX(var(--course, 520%)); } }
/* Nuit : etoiles, phare et goeland */
.sc-nuit { background: linear-gradient(#0a0a2a 0 62%, #0b2e52 62% 80%, #071a30 80%); }
.sc-nuit .etoiles { position: absolute; inset: 0 0 40% 0; background-image: radial-gradient(#fff 1px, transparent 1.5px), radial-gradient(#9fe3ff 1px, transparent 1.5px); background-size: 23px 19px, 31px 27px; background-position: 3px 5px, 12px 9px; animation: scintille 2s steps(2) infinite; }
@keyframes scintille { 50% { background-position: 5px 7px, 10px 11px; opacity: .7; } }
.sc-nuit .phare { position: absolute; left: 12%; bottom: 20%; width: 9%; height: 42%; background: repeating-linear-gradient(180deg, #fff 0 18%, var(--rouge) 18% 36%); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
.sc-nuit .faisceau { position: absolute; left: 16.5%; bottom: 58%; width: 80%; height: 16%; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(255,240,150,.85), transparent); clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 60%);
  animation: faisceau 3.2s steps(8) infinite; }
@keyframes faisceau { 0% { transform: rotate(-12deg) scaleX(1); } 50% { transform: rotate(10deg) scaleX(.4); } 100% { transform: rotate(-12deg) scaleX(1); } }
.sc-nuit .vol { position: absolute; top: 30%; left: 0; animation: traverse 5s steps(25) infinite; --course: 600%; }
/* Ecran titre */
.sc-titre { background: radial-gradient(circle at 50% 40%, #2a1060, #050510 70%); display: grid; place-items: center; }
.sc-titre .logo-j { font: 400 clamp(.4rem, 1.3vw, .8rem)/1.4 var(--pixel); text-align: center; color: var(--rose); text-shadow: 2px 2px 0 var(--cyan); animation: titre 1.6s steps(4) infinite; }
@keyframes titre { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
/* Briques */
.sc-briques { background: #050510; }
.sc-briques .mur { position: absolute; left: 6%; right: 6%; top: 18%; height: 26%; background: linear-gradient(var(--rouge) 0 25%, var(--jaune) 25% 50%, var(--vert) 50% 75%, var(--cyan) 75%);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(12.5% - 2px), transparent calc(12.5% - 2px) 12.5%), repeating-linear-gradient(0deg, #000 0 calc(25% - 2px), transparent calc(25% - 2px) 25%); -webkit-mask-composite: source-in;
  mask: repeating-linear-gradient(90deg, #000 0 calc(12.5% - 2px), transparent calc(12.5% - 2px) 12.5%), repeating-linear-gradient(0deg, #000 0 calc(25% - 2px), transparent calc(25% - 2px) 25%); mask-composite: intersect; }
.sc-briques .balle { position: absolute; width: 5%; aspect-ratio: 1; background: #fff; animation: balle 2.4s steps(24) infinite; }
@keyframes balle { 0% { left: 20%; top: 80%; } 25% { left: 50%; top: 48%; } 50% { left: 80%; top: 80%; } 75% { left: 50%; top: 48%; } 100% { left: 20%; top: 80%; } }
.sc-briques .raquette { position: absolute; bottom: 8%; width: 24%; height: 4%; background: var(--rose); animation: raquette 2.4s steps(24) infinite; }
@keyframes raquette { 0%, 100% { left: 10%; } 50% { left: 68%; } }
/* Duel deux joueurs : barres de vie qui baissent image par image */
.sc-duel { background: linear-gradient(#3b1a6b 0 60%, #1a0f33 60%); }
.sc-duel .vie { position: absolute; top: 16%; width: 38%; height: 6%; background: #400; box-shadow: 0 0 0 2px #fff; }
.sc-duel .vie::after { content: ""; position: absolute; inset: 0; background: var(--jaune); transform-origin: var(--o); animation: vie 4s steps(8) infinite; }
.sc-duel .vie.v1 { left: 6%; --o: 100% 50%; } .sc-duel .vie.v2 { right: 6%; --o: 0 50%; }
.sc-duel .vie.v2::after { animation-delay: -1.5s; }
@keyframes vie { from { transform: scaleX(1); } to { transform: scaleX(.1); } }
.sc-duel .vs { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); font: 400 clamp(.5rem, 1.6vw, 1rem) var(--pixel); color: var(--jaune); text-shadow: 2px 2px 0 var(--rouge); animation: clignote .8s steps(1) infinite; }
.sc-duel .j { position: absolute; bottom: 40%; }
.sc-duel .j.j1 { left: 16%; } .sc-duel .j.j2 { right: 16%; transform: scaleX(-1); }

/* Sprites pixel : une cellule = 1em, taille reglee par font-size */
.sprite { position: relative; display: inline-block; font-size: var(--px, 3px); }
.sprite i { position: absolute; left: 0; top: 0; width: 1em; height: 1em; }
.f1 { animation: f1 .4s steps(1) infinite; } .f2 { animation: f2 .4s steps(1) infinite; }
@keyframes f1 { 50% { opacity: 0; } } @keyframes f2 { 0% { opacity: 0; } 50% { opacity: 1; } }
.piece { display: block; width: clamp(18px, 3vw, 30px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6b0, var(--jaune) 45%, #b38a00); box-shadow: inset 0 0 0 3px #d9a400;
  display: grid; place-items: center; font: 400 .5rem var(--pixel); color: #7a5a00; animation: tourne 1s steps(1) infinite; }
@keyframes tourne { 0% { transform: scaleX(1); } 25% { transform: scaleX(.55); } 50% { transform: scaleX(.12); } 75% { transform: scaleX(.55); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .f2 { opacity: 0; }
}

/* Chiffres */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: 16px; overflow: hidden; margin-top: -1.6rem; position: relative; z-index: 2; }
@media (max-width: 760px) { .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chiffres div { background: var(--nuit-2); padding: 1.3rem 1rem; text-align: center; }
.chiffres b { display: block; font: 400 1.6rem/1.2 var(--titre); color: var(--jaune); }
.chiffres span { color: var(--t2); font-size: .88rem; }

/* Sections */
.bloc { padding: 4.4rem 0; }
.bloc.alt { background: var(--nuit-2); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.texte p, .texte li { color: var(--t3); }
.intro { max-width: 46rem; color: var(--t3); font-size: 1.06rem; }
.cartes-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2rem; }
@media (max-width: 900px) { .cartes-grille { grid-template-columns: minmax(0, 1fr); } }
.fiche { position: relative; background: var(--nuit); border: 1px solid var(--ligne); border-radius: 14px; padding: 1.5rem 1.4rem 1.3rem; }
.fiche .coin { position: absolute; top: 1.1rem; right: 1.1rem; font: 400 .7rem var(--pixel); color: var(--rose); }
.fiche .coin.c { color: var(--cyan); } .fiche .coin.j { color: var(--jaune); }
.fiche h3 { padding-right: 2.4rem; }
.fiche p { color: #b8b8d8; margin: 0; font-size: .95rem; }
.fiche a { font-weight: 600; }

/* Cadre d'illustration */
.illu { position: relative; aspect-ratio: 1.2; border-radius: 22px; overflow: hidden; border: 1px solid var(--ligne);
  background: radial-gradient(circle at 30% 20%, rgba(34,228,255,.18), transparent 60%), radial-gradient(circle at 80% 90%, rgba(255,43,214,.18), transparent 55%), var(--nuit-2); }
.illu .borne { position: absolute; bottom: 6%; }
.atelier .borne.a1 { left: 8%; width: 26%; } .atelier .borne.a2 { left: 44%; width: 46%; bottom: 10%; }
.atelier .etabli { position: absolute; left: 40%; right: 4%; bottom: 4%; height: 7%; background: linear-gradient(#8a5a2b, #5c3a18); border-radius: 4px; }
.atelier .outil { position: absolute; left: 12%; top: 10%; font: 400 clamp(.4rem, 1vw, .6rem) var(--pixel); color: var(--jaune); }
.atelier .scie { position: absolute; right: 8%; top: 12%; width: 16%; aspect-ratio: 1; border-radius: 50%; background: repeating-conic-gradient(#c9c9e6 0 10deg, #6a6a92 10deg 20deg); animation: scie 1s steps(6) infinite; }
.atelier .scie::after { content: ""; position: absolute; inset: 38%; border-radius: 50%; background: var(--nuit-2); }
@keyframes scie { to { rotate: 60deg; } }
/* Illustration redaction : article de blog sur ecran d'ordinateur */
.ordi { position: absolute; left: 8%; right: 8%; top: 10%; height: 62%; border-radius: 12px; background: #1c1c38; padding: 3%; box-shadow: 0 20px 40px rgba(0,0,0,.5), inset 0 0 0 2px #3a3a6a; }
.ordi::after { content: ""; position: absolute; left: 38%; right: 38%; bottom: -14%; height: 14%; background: linear-gradient(#2a2a50, #15152b); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.page-blog { position: relative; height: 100%; border-radius: 6px; background: #f6f5ff; padding: 5% 6%; overflow: hidden; }
.page-blog .bandeau { height: 14%; border-radius: 4px; background: linear-gradient(90deg, var(--rose), #6d4bd8); margin-bottom: 5%; display: flex; align-items: center; padding-left: 4%; font: 400 clamp(.3rem, .9vw, .5rem) var(--pixel); color: #fff; }
.page-blog i { display: block; height: 6%; border-radius: 3px; background: #d6d4ee; margin-bottom: 4%; }
.page-blog i.court { width: 60%; } .page-blog i.moyen { width: 82%; }
.page-blog .curseur { display: inline-block; width: 3%; height: 7%; background: #1b1b3a; vertical-align: middle; animation: clignote .8s steps(1) infinite; }
.page-blog .tapee { display: block; height: 6%; width: 0; border-radius: 3px; background: #b4b0e6; animation: tape 4s steps(12) infinite; }
@keyframes tape { 0% { width: 0; } 70%, 100% { width: 70%; } }
.illu .mini-rouleaux { position: absolute; left: 10%; bottom: 7%; width: 40%; height: 18%; display: flex; gap: 4%; padding: 2.5%; border-radius: 8px; background: linear-gradient(#ffd23f, #c99a00); box-shadow: 0 10px 20px rgba(0,0,0,.4); }
.mini-rouleaux span { flex: 1; overflow: hidden; border-radius: 4px; background: #fff; font: 400 clamp(.5rem, 1.4vw, .9rem)/1.6 var(--pixel); text-align: center; color: var(--rouge); }
.mini-rouleaux span i { display: block; font-style: normal; animation: rouleau 1.2s steps(5) infinite; }
.mini-rouleaux span:nth-child(2) i { animation-duration: 1.5s; } .mini-rouleaux span:nth-child(3) i { animation-duration: 1.8s; }
@keyframes rouleau { to { transform: translateY(-83.333%); } }
.illu .manette { position: absolute; right: 9%; bottom: 7%; width: 34%; height: 18%; border-radius: 40px; background: #2b2b55; box-shadow: inset 0 0 0 2px #4a4a8a, 0 10px 20px rgba(0,0,0,.4); }
.manette .croix { position: absolute; left: 14%; top: 30%; width: 16%; aspect-ratio: 1; background: linear-gradient(#777, #777) center/34% 100% no-repeat, linear-gradient(#777, #777) center/100% 34% no-repeat; }
.manette .ab { position: absolute; top: 34%; width: 12%; aspect-ratio: 1; border-radius: 50%; background: var(--rouge); }
.manette .ab.a { right: 14%; animation: appui 1s steps(1) infinite; --c: var(--rouge); } .manette .ab.b { right: 30%; top: 48%; background: var(--cyan); }

/* Realisations (onglets) */
.onglets { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 1.2rem; }
.onglets button { background: transparent; border: 1.5px solid var(--ligne); color: var(--t2); border-radius: 10px; padding: .55rem 1rem; font: 600 .9rem var(--police); cursor: pointer; }
.onglets button[aria-selected=true] { border-color: var(--rose); color: #fff; background: rgba(255,43,214,.12); }
.liste-real { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 800px) { .liste-real { grid-template-columns: minmax(0, 1fr); } }
.real { display: flex; gap: 1rem; align-items: flex-start; background: var(--nuit); border: 1px solid var(--ligne); border-radius: 14px; padding: 1.1rem 1.2rem; text-decoration: none; color: var(--t); transition: border-color .2s, transform .2s; }
.real:hover { border-color: var(--rose); transform: translateY(-2px); color: #fff; }
.real .ico { flex: 0 0 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font: 400 .6rem var(--pixel); color: #fff; background: var(--ocean); }
.real .ico.r { background: #a01a8a; } .real .ico.o { background: #6b5510; }
.real b { display: block; color: #fff; font-weight: 600; line-height: 1.35; }
.real span { display: block; color: var(--t2); font-size: .86rem; margin-top: .2rem; }
.cache { display: none !important; }
.frise { list-style: none; margin: 1.6rem 0 0; padding: 0 0 0 1.4rem; border-left: 2px dashed var(--cyan); }
.frise li { position: relative; margin: 0 0 1.4rem; }
.frise li::before { content: ""; position: absolute; left: -1.95rem; top: .35rem; width: .9rem; height: .9rem; background: var(--jaune); box-shadow: 0 0 10px var(--jaune); }
.frise b { color: #fff; display: block; } .frise span { color: #b8b8d8; }

/* Galerie de bornes (page Nos realisations) */
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 1.6rem; }
@media (max-width: 960px) { .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .galerie { grid-template-columns: minmax(0, 1fr); } }
.projet { margin: 0; background: var(--nuit); border: 1px solid var(--ligne); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.projet .vitrine { position: relative; aspect-ratio: 1.05; display: grid; place-items: end center; padding: 8% 0 6%;
  background: radial-gradient(ellipse at 50% 30%, var(--halo, rgba(255,43,214,.25)), transparent 65%), linear-gradient(#17173a, #0b0b1a); }
.projet .vitrine .borne { width: 34%; } .projet .vitrine .borne.bartop { width: 52%; } .projet .vitrine .borne.duo-j { width: 40%; } .projet .vitrine .cocktail { width: 74%; margin-bottom: 10%; }
.projet figcaption { padding: 1.2rem 1.3rem 1.3rem; }
.projet .format { font: 400 .55rem var(--pixel); color: var(--cyan); text-transform: uppercase; }
.projet h3 { margin: .5rem 0 .5rem; }
.projet p { color: #b8b8d8; font-size: .94rem; margin: 0 0 .6rem; }
.projet ul { margin: 0; padding-left: 1.1rem; color: var(--t2); font-size: .88rem; }

/* Configurateur (page Personnalisation) */
.config { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; align-items: start; margin-top: 1.6rem; }
@media (max-width: 860px) { .config { grid-template-columns: minmax(0, 1fr); } }
.config .apercu { position: sticky; top: 90px; display: grid; place-items: end center; aspect-ratio: .9; border-radius: 18px; border: 1px solid var(--ligne); padding: 6% 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(34,228,255,.18), transparent 65%), linear-gradient(#17173a, #0b0b1a); }
@media (max-width: 860px) { .config .apercu { position: relative; top: 0; max-width: 420px; width: 100%; margin: 0 auto; } }
.config .apercu .borne { width: 40%; } .config .apercu .borne.bartop { width: 60%; }
.choix fieldset { border: 1px solid var(--ligne); border-radius: 14px; padding: 1rem 1.1rem 1.1rem; margin: 0 0 1rem; background: var(--nuit-2); min-width: 0; }
.choix legend { font: 400 .6rem var(--pixel); color: var(--jaune); padding: 0 .4rem; text-transform: uppercase; }
.choix .opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.choix label { display: inline-flex; align-items: center; gap: .45rem; border: 1.5px solid var(--ligne); border-radius: 10px; padding: .45rem .8rem; cursor: pointer; font-size: .9rem; color: var(--t3); }
.choix label:has(input:checked) { border-color: var(--rose); color: #fff; background: rgba(255,43,214,.1); }
.choix input[type=radio] { accent-color: var(--rose); margin: 0; }
.choix .pastille { width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.choix input[type=text] { width: 100%; max-width: 22rem; background: var(--nuit); color: #fff; border: 1.5px solid var(--ligne); border-radius: 10px; padding: .6rem .8rem; font: 400 .7rem var(--pixel); text-transform: uppercase; }
.choix input[type=text]:focus { outline: none; border-color: var(--cyan); }
.choix .aide { font-size: .82rem; color: var(--t2); margin: .5rem 0 0; }
.recap { font-size: .9rem; color: var(--t3); background: rgba(34,228,255,.06); border: 1px dashed var(--cyan); border-radius: 12px; padding: .9rem 1rem; }
.recap b { color: #fff; }
.tableau { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .94rem; }
.tableau th, .tableau td { text-align: left; padding: .75rem .8rem; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tableau th { font: 400 .58rem var(--pixel); color: var(--jaune); text-transform: uppercase; }
.tableau td { color: var(--t3); } .tableau td:first-child { color: #fff; font-weight: 600; }
.defile { overflow-x: auto; }
@media (max-width: 640px) { .tableau { font-size: .88rem; } .tableau th, .tableau td { padding: .6rem .5rem; } }

/* Principes, etapes, FAQ, contact, pied */
.principes { counter-reset: p; display: grid; gap: 1rem; margin-top: 1.6rem; }
.principe { counter-increment: p; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 1.1rem; background: var(--nuit-2); border: 1px solid var(--ligne); border-radius: 14px; padding: 1.3rem; }
.principe::before { content: "0" counter(p); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 8px; background: var(--nuit); color: var(--jaune); font: 400 .9rem var(--pixel);
  box-shadow: inset 0 0 0 2px var(--rose), 0 0 14px rgba(255,43,214,.35); }
.principe:nth-child(even)::before { color: var(--cyan); box-shadow: inset 0 0 0 2px var(--cyan), 0 0 14px rgba(34,228,255,.35); }
.principe h3 { margin-bottom: .4rem; } .principe p { color: #b8b8d8; margin: 0; }
@media (max-width: 520px) { .principe { grid-template-columns: minmax(0, 1fr); } }
.etapes { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: e; }
@media (max-width: 900px) { .etapes { grid-template-columns: minmax(0, 1fr); } }
.etapes li { counter-increment: e; background: var(--nuit); border: 1px solid var(--ligne); border-radius: 14px; padding: 1.2rem; }
.etapes li::before { content: "P" counter(e); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--jaune); color: #1a1400; font: 400 .62rem var(--pixel); margin-bottom: .8rem; }
.etapes b { display: block; color: #fff; } .etapes span { color: var(--t2); font-size: .92rem; }
.faq details { border: 1px solid var(--ligne); border-radius: 12px; padding: 1rem 1.2rem; margin: .6rem 0; background: var(--nuit-2); }
.faq summary { cursor: pointer; font-weight: 600; color: #fff; }
.faq details p { margin: .7rem 0 .1rem; color: var(--t3); }
.contact { text-align: center; border-radius: 22px; padding: 3rem 1.4rem; border: 2px solid var(--rose);
  background: radial-gradient(ellipse at 50% 0, rgba(255,43,214,.25), transparent 60%), linear-gradient(135deg, #1a1040, #0b1a3a); box-shadow: 0 0 40px rgba(255,43,214,.2); }
.contact p { color: var(--t3); max-width: 38rem; margin-left: auto; margin-right: auto; }
.contact .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.contact .insert-coin { font: 400 .62rem var(--pixel); color: var(--jaune); animation: clignote 1.2s steps(1) infinite; margin-bottom: 1rem; }
.encadre { border-left: 4px solid var(--jaune); background: rgba(255,210,63,.07); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.4rem 0; }
.encadre p { margin: 0; color: var(--t3); }
.pied { border-top: 1px solid var(--ligne); padding: 2.4rem 0 2rem; color: var(--t2); font-size: .88rem; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.6rem; }
@media (max-width: 800px) { .pied-grille { grid-template-columns: minmax(0, 1fr); } }
.pied h3 { font-size: .95rem; } .pied ul { list-style: none; margin: 0; padding: 0; } .pied li { margin: .35rem 0; }
.pied a { color: var(--t2); text-decoration: none; } .pied a:hover { color: #fff; }
.pied .legal { border-top: 1px solid var(--ligne); margin-top: 1.6rem; padding-top: 1.2rem; }
/* Sprites generes : chaque pixel est une ombre portee de 1em */
.sp-crabe { width: 13em; height: 8em; }
.sp-crabe .f1 { left: -1em; top: -1em; box-shadow: 3em 1em #ffffff, 11em 1em #ffffff, 3em 2em #111111, 11em 2em #111111, 1em 3em #ff5a4e, 4em 3em #ff5a4e, 10em 3em #ff5a4e, 13em 3em #ff5a4e, 1em 4em #ff5a4e, 2em 4em #ff5a4e, 4em 4em #ff5a4e, 5em 4em #ff5a4e, 6em 4em #ff5a4e, 7em 4em #ff5a4e, 8em 4em #ff5a4e, 9em 4em #ff5a4e, 10em 4em #ff5a4e, 12em 4em #ff5a4e, 13em 4em #ff5a4e, 2em 5em #ff5a4e, 3em 5em #ff5a4e, 4em 5em #ff5a4e, 5em 5em #ff5a4e, 6em 5em #ff5a4e, 7em 5em #ff5a4e, 8em 5em #ff5a4e, 9em 5em #ff5a4e, 10em 5em #ff5a4e, 11em 5em #ff5a4e, 12em 5em #ff5a4e, 3em 6em #ff5a4e, 4em 6em #ff5a4e, 5em 6em #b3261e, 6em 6em #ff5a4e, 7em 6em #ff5a4e, 8em 6em #ff5a4e, 9em 6em #b3261e, 10em 6em #ff5a4e, 11em 6em #ff5a4e, 3em 7em #ff5a4e, 5em 7em #ff5a4e, 9em 7em #ff5a4e, 11em 7em #ff5a4e, 2em 8em #ff5a4e, 5em 8em #ff5a4e, 9em 8em #ff5a4e, 12em 8em #ff5a4e; }
.sp-crabe .f2 { left: -1em; top: -1em; box-shadow: 3em 1em #ffffff, 11em 1em #ffffff, 3em 2em #111111, 11em 2em #111111, 2em 3em #ff5a4e, 4em 3em #ff5a4e, 10em 3em #ff5a4e, 12em 3em #ff5a4e, 1em 4em #ff5a4e, 2em 4em #ff5a4e, 4em 4em #ff5a4e, 5em 4em #ff5a4e, 6em 4em #ff5a4e, 7em 4em #ff5a4e, 8em 4em #ff5a4e, 9em 4em #ff5a4e, 10em 4em #ff5a4e, 12em 4em #ff5a4e, 13em 4em #ff5a4e, 2em 5em #ff5a4e, 3em 5em #ff5a4e, 4em 5em #ff5a4e, 5em 5em #ff5a4e, 6em 5em #ff5a4e, 7em 5em #ff5a4e, 8em 5em #ff5a4e, 9em 5em #ff5a4e, 10em 5em #ff5a4e, 11em 5em #ff5a4e, 12em 5em #ff5a4e, 3em 6em #ff5a4e, 4em 6em #ff5a4e, 5em 6em #b3261e, 6em 6em #ff5a4e, 7em 6em #ff5a4e, 8em 6em #ff5a4e, 9em 6em #b3261e, 10em 6em #ff5a4e, 11em 6em #ff5a4e, 4em 7em #ff5a4e, 6em 7em #ff5a4e, 8em 7em #ff5a4e, 10em 7em #ff5a4e, 3em 8em #ff5a4e, 6em 8em #ff5a4e, 8em 8em #ff5a4e, 11em 8em #ff5a4e; }
.sp-goeland { width: 11em; height: 5em; }
.sp-goeland .f1 { left: -1em; top: -1em; box-shadow: 1em 1em #ffffff, 11em 1em #ffffff, 2em 2em #ffffff, 10em 2em #ffffff, 3em 3em #ffffff, 4em 3em #ffffff, 8em 3em #ffffff, 9em 3em #ffffff, 5em 4em #ffffff, 6em 4em #ffffff, 7em 4em #ffffff, 8em 4em #ffffff, 9em 4em #ffb020, 10em 4em #ffb020, 5em 5em #9aa3b5, 6em 5em #9aa3b5, 7em 5em #9aa3b5; }
.sp-goeland .f2 { left: -1em; top: -1em; box-shadow: 5em 2em #ffffff, 6em 2em #ffffff, 7em 2em #ffffff, 8em 2em #ffffff, 9em 2em #ffb020, 10em 2em #ffb020, 3em 3em #ffffff, 4em 3em #ffffff, 5em 3em #ffffff, 6em 3em #9aa3b5, 7em 3em #ffffff, 8em 3em #ffffff, 9em 3em #ffffff, 2em 4em #ffffff, 10em 4em #ffffff, 1em 5em #ffffff, 11em 5em #ffffff; }
.sp-lutteur { width: 8em; height: 8em; }
.sp-lutteur .f1 { left: -1em; top: -1em; box-shadow: 3em 1em #ff2bd6, 4em 1em #ff2bd6, 5em 1em #ff2bd6, 3em 2em #ff2bd6, 4em 2em #f2c6a0, 5em 2em #f2c6a0, 3em 3em #ff2bd6, 4em 3em #ff2bd6, 5em 3em #ff2bd6, 2em 4em #22e4ff, 3em 4em #22e4ff, 4em 4em #22e4ff, 5em 4em #22e4ff, 6em 4em #22e4ff, 1em 5em #22e4ff, 3em 5em #22e4ff, 4em 5em #22e4ff, 5em 5em #22e4ff, 7em 5em #22e4ff, 1em 6em #f2c6a0, 3em 6em #22e4ff, 4em 6em #22e4ff, 5em 6em #22e4ff, 7em 6em #f2c6a0, 3em 7em #1b1b3a, 5em 7em #1b1b3a, 2em 8em #1b1b3a, 3em 8em #1b1b3a, 5em 8em #1b1b3a, 6em 8em #1b1b3a; }
.sp-lutteur .f2 { left: -1em; top: -1em; box-shadow: 3em 1em #ff2bd6, 4em 1em #ff2bd6, 5em 1em #ff2bd6, 3em 2em #ff2bd6, 4em 2em #f2c6a0, 5em 2em #f2c6a0, 3em 3em #ff2bd6, 4em 3em #ff2bd6, 5em 3em #ff2bd6, 2em 4em #22e4ff, 3em 4em #22e4ff, 4em 4em #22e4ff, 5em 4em #22e4ff, 6em 4em #22e4ff, 7em 4em #f2c6a0, 8em 4em #f2c6a0, 1em 5em #22e4ff, 3em 5em #22e4ff, 4em 5em #22e4ff, 5em 5em #22e4ff, 1em 6em #f2c6a0, 3em 6em #22e4ff, 4em 6em #22e4ff, 5em 6em #22e4ff, 3em 7em #1b1b3a, 6em 7em #1b1b3a, 2em 8em #1b1b3a, 3em 8em #1b1b3a, 6em 8em #1b1b3a, 7em 8em #1b1b3a; }
