/* LE FOND DU SITE (7 octobre 2026) : la Côte sableuse peinte d'après le jeu (Outils/FondDeConnexion), animée, le même
   sur toutes les pages. Posé par fond.js ; ce fichier est l'ancien style de l'accueil, déplacé tel quel. */
/* LE FOND : la Côte sableuse, peinte d'après le jeu (Outils/FondDeConnexion). Une scène 16:9 qui COUVRE la fenêtre. */
.scene{position:fixed;inset:0;overflow:hidden;z-index:0}
.monde{position:absolute;left:50%;top:50%;width:max(100vw,177.78vh);height:max(56.25vw,100vh);transform:translate(-50%,-50%) scale(1.03)}
.monde img,.monde span{position:absolute;display:block}
.ciel{width:112%;height:112%;left:-6%;top:-6%;animation:derive 40s ease-in-out infinite alternate}
.decor{left:0;top:0;width:100%;height:100%}
.barque{left:70.068%;top:71.181%;width:29.834%;transform-origin:30% 60%;animation:houle 5.2s ease-in-out infinite}
.fumee{left:15.723%;top:49.479%;width:2.930%;aspect-ratio:1;background:url(fond-fumee.png) center/100% 100%;opacity:0;animation:fume 7s ease-out infinite}
.braise{top:53.125%;aspect-ratio:1;background:url(fond-braise.png) center/100% 100%;opacity:0;animation:monteA 3s ease-out infinite}
.f1{animation-delay:0.00s} .f2{animation-delay:1.17s} .f3{animation-delay:2.33s} .f4{animation-delay:3.50s} .f5{animation-delay:4.67s} .f6{animation-delay:5.83s}
.b1{left:17.085%;width:0.488%;animation-name:monteB;animation-duration:3.41s;animation-delay:3.70s}
.b2{left:17.204%;width:0.488%;animation-name:monteC;animation-duration:3.46s;animation-delay:0.74s}
.b3{left:17.467%;width:0.391%;animation-name:monteB;animation-duration:3.83s;animation-delay:0.38s}
.b4{left:16.308%;width:0.488%;animation-name:monteA;animation-duration:3.86s;animation-delay:2.77s}
.b5{left:18.186%;width:0.293%;animation-name:monteA;animation-duration:3.58s;animation-delay:2.46s}
.b6{left:17.900%;width:0.293%;animation-name:monteA;animation-duration:2.51s;animation-delay:0.14s}
.b7{left:17.785%;width:0.391%;animation-name:monteA;animation-duration:2.99s;animation-delay:2.36s}
.b8{left:17.489%;width:0.391%;animation-name:monteB;animation-duration:3.30s;animation-delay:2.65s}
.b9{left:16.987%;width:0.391%;animation-name:monteA;animation-duration:3.39s;animation-delay:3.73s}
.b10{left:16.791%;width:0.293%;animation-name:monteA;animation-duration:2.81s;animation-delay:1.16s}
.b11{left:16.974%;width:0.293%;animation-name:monteA;animation-duration:3.92s;animation-delay:1.55s}
.b12{left:16.572%;width:0.488%;animation-name:monteB;animation-duration:4.07s;animation-delay:0.21s}
.b13{left:17.015%;width:0.391%;animation-name:monteC;animation-duration:3.42s;animation-delay:0.79s}
.b14{left:16.837%;width:0.293%;animation-name:monteB;animation-duration:2.96s;animation-delay:0.06s}
.b15{left:16.402%;width:0.488%;animation-name:monteB;animation-duration:3.67s;animation-delay:0.04s}
.b16{left:16.495%;width:0.391%;animation-name:monteA;animation-duration:3.41s;animation-delay:1.79s}
.b17{left:17.014%;width:0.293%;animation-name:monteA;animation-duration:3.09s;animation-delay:1.58s}
.b18{left:16.693%;width:0.293%;animation-name:monteB;animation-duration:4.15s;animation-delay:3.21s}
/* Le voile : assez sombre au centre et en bas pour que le texte se lise, le haut reste clair. Plus dense
   derrière les pages de contenu, où le texte est long. */
.voile{position:fixed;inset:0;z-index:1;background:linear-gradient(180deg,rgba(10,12,16,.15) 0%,rgba(10,12,16,.35) 45%,rgba(10,12,16,.75) 100%)}
.voile.dense{background:linear-gradient(180deg,rgba(10,12,16,.30) 0%,rgba(10,12,16,.50) 40%,rgba(10,12,16,.78) 100%)}
@keyframes derive{from{transform:translateX(-4.5%)}to{transform:translateX(4.5%)}}
@keyframes houle{0%{transform:translateY(0) rotate(0deg)}25%{transform:translateY(-2.2%) rotate(-.5deg)}50%{transform:translateY(.3%) rotate(.15deg)}75%{transform:translateY(2.2%) rotate(.5deg)}100%{transform:translateY(0) rotate(0deg)}}
@keyframes fume{0%{opacity:0;transform:translate(0,0) scale(.6)}15%{opacity:.42}100%{opacity:0;transform:translate(70%,-420%) scale(3.4)}}
@keyframes monteA{0%{opacity:0;transform:translate(0,0) scale(1)}8%{opacity:1}40%{transform:translate(120%,-1100%) scale(.85)}100%{opacity:0;transform:translate(260%,-2600%) scale(.35)}}
@keyframes monteB{0%{opacity:0;transform:translate(0,0) scale(1)}8%{opacity:1}45%{transform:translate(-140%,-1200%) scale(.85)}100%{opacity:0;transform:translate(-60%,-2900%) scale(.35)}}
@keyframes monteC{0%{opacity:0;transform:translate(0,0) scale(1)}8%{opacity:1}50%{transform:translate(60%,-1500%) scale(.8)}100%{opacity:0;transform:translate(-120%,-3200%) scale(.3)}}
/* Qui a demandé moins de mouvement à son système n'en a pas. */
@media (prefers-reduced-motion: reduce){.ciel,.barque,.fumee,.braise{animation:none}.fumee,.braise{display:none}}
/* D'une page à l'autre, le fond et le menu RESTENT (navigateurs qui le savent : Chrome, Edge, Safari) ; seul le contenu change. */
@view-transition{navigation:auto}
.scene{view-transition-name:fond}
.navigation{view-transition-name:menu}
