/* Fichier généré par scripts/realisations/convertir-maquette.py depuis maquettes/pages-projet/projets/arc-en-ciel-equipe.css.
   Ne pas le modifier à la main : retoucher la maquette, puis relancer le script. */
/* L’Arc en Ciel, espace équipe (23/11) : les écrans du logiciel dans des montages. Toutes les classes commencent par eq-.
   Charte de l’admin : brun #2C1810, crème #FBF7EE / #F5EFE0 / #EFE7D2, or #B8922F, or clair #E8C97A, sauge #7C8E6F,
   rouge #C0392B, terracotta #C4956A. Aucun texte dans les montages (les écrans sont des images) : aucune police chargée.
   L’ancienne feuille (écrans recomposés à la main) est dans docs/sauvegardes/2026-11-23-arc-en-ciel-equipe/.

   Tout est mesuré en « u » (--u), l’unité de la scène : 1 % de la largeur de la tuile sur ordinateur (cqw), où la tuile
   garde ses proportions ; sur téléphone, les cartes ont une hauteur fixe pour une largeur de 288 à 440 px : u suit alors
   la plus petite des deux (voir « .vue-tel » en bas), la scène tient toujours dans sa carte, centrée.
   Le mouvement tient en deux variables posées par la maquette au défilement : --e (entrée, 0 → 1) et --p (traversée,
   0 → 1). Sans mouvement, les valeurs ci-dessous restent : la pose finale. */
.eq-t { position: absolute; inset: 0; display: block; overflow: hidden; container-type: size; --u: 1cqw; }
.eq-t img { display: block; width: 100%; -webkit-user-drag: none; user-select: none; }
/* ——— La salle : trois tablettes en éventail (le plan, la commande devant, l’addition) ———
   Les deux tablettes de côté s’écartent et s’inclinent de 7° ; derrière, l’arc du logo (or, rouge, sauge) se trace
   à mesure que l’éventail s’ouvre. */
.eq-salle { --e: 1; --l: calc(46 * var(--u)); --dx: calc(27.5 * var(--u)); --dy: calc(2.6 * var(--u)); --rot: 7deg;
  background: radial-gradient(ellipse 85% 80% at 50% 110%, #6B4326 0%, #3A2114 42%, #2C1810 70%, #21110B 100%); }
.eq-arc { position: absolute; inset: 0; width: 100%; height: 100%; }
.eq-arc path { fill: none; stroke-width: 7; stroke-linecap: round; opacity: 0.62; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--e)); }
.eq-arc-1 { stroke: #B8922F; }
.eq-arc-2 { stroke: #C0392B; }
.eq-arc-3 { stroke: #7C8E6F; }
/* une tablette : cadre noir chaud, écran 4:3 ; posée au milieu de la tuile (haute de 0,761 fois sa largeur) */
.eq-tab { position: absolute; left: 50%; top: 50%; display: block; width: var(--l); margin: calc(var(--l) * -0.38) 0 0 calc(var(--l) / -2);
  padding: calc(var(--l) * 0.022); border-radius: calc(var(--l) * 0.05); background: #120B08;
  box-shadow: inset 0 0 0 calc(var(--l) * 0.003) #4A382E, 0 calc(3 * var(--u)) calc(6 * var(--u)) rgba(8, 3, 1, 0.5), 0 calc(0.5 * var(--u)) calc(1.2 * var(--u)) rgba(8, 3, 1, 0.4); }
.eq-tab img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--l) * 0.03); }
.eq-tab-g { transform: translate(calc(var(--dx) * -1 * (0.25 + 0.75 * var(--e))), calc(var(--dy) * var(--e))) rotate(calc(var(--rot) * -1 * var(--e))) scale(0.87); }
.eq-tab-d { transform: translate(calc(var(--dx) * (0.25 + 0.75 * var(--e))), calc(var(--dy) * var(--e))) rotate(calc(var(--rot) * var(--e))) scale(0.87); }
.eq-tab-c { transform: translateY(calc((1 - var(--e)) * 2.5 * var(--u))); }
/* ——— La cuisine : l’écran mural, sombre, sur un mur de carreaux clairs (il s’en détache) ; il se pose en arrivant ——— */
.eq-cuisine { --e: 1;
  background: radial-gradient(ellipse 90% 80% at 50% 40%, rgba(255, 253, 248, 0.7) 0%, transparent 70%),
    repeating-linear-gradient(0deg, rgba(44, 24, 16, 0.09) 0 1px, transparent 1px calc(9.5 * var(--u))),
    repeating-linear-gradient(90deg, rgba(44, 24, 16, 0.09) 0 1px, transparent 1px calc(9.5 * var(--u))), #EFE7D2; }
.eq-ecran-mural { position: absolute; left: 50%; top: 50%; display: block; width: calc(88 * var(--u)); margin: calc(-27.1 * var(--u)) 0 0 calc(-44 * var(--u));
  padding: calc(1.1 * var(--u)); border-radius: calc(1.8 * var(--u)); background: #0C0705;
  box-shadow: inset 0 0 0 calc(0.15 * var(--u)) #3B2C24, 0 calc(4 * var(--u)) calc(8 * var(--u)) rgba(44, 24, 16, 0.32), 0 calc(0.8 * var(--u)) calc(2 * var(--u)) rgba(44, 24, 16, 0.22);
  transform: translateY(calc((1 - var(--e)) * 4 * var(--u))) scale(calc(0.94 + 0.06 * var(--e))); }
.eq-ecran-mural img { aspect-ratio: 160 / 97; object-fit: cover; border-radius: calc(0.9 * var(--u)); }
/* ——— Le client : deux téléphones penchés l’un vers l’autre (l’accueil du QR code, puis la carte) ——— */
.eq-client { --e: 1; --p: 0.5; --l: calc(38 * var(--u));
  background: radial-gradient(ellipse 80% 60% at 50% 30%, #FFFDF8 0%, #F5EFE0 60%, #E9DFC8 100%); }
/* Un téléphone posé (24/11, Kévin : « les mockups sont pas très bien posés », puis « fais pareil pour tous les autres
   téléphones »). --l : sa largeur. De l'extérieur vers l'intérieur : la tranche en métal (0,9 % de la largeur) et ses
   boutons, le verre noir (2,2 %), l'écran. L'écran garde exactement les proportions de la capture (600 × 1298) : rien n'est
   rogné. Dessus : l'heure et les pictos, l'encoche, le trait du bas, un reflet très léger. Les images …-ecr-… sont des
   écrans complets : une zone d'heure (47 points sur 844) prolonge le haut de la page, puis la page. */
.eq-tel { position: absolute; display: block; width: var(--l); aspect-ratio: 1 / 2.0912; padding: calc(var(--l) * 0.009); border-radius: calc(var(--l) * 0.158);
  background: linear-gradient(140deg, #8E8884 0%, #3D3937 14%, #1B1918 48%, #37332F 84%, #7E7873 100%); }
.eq-tel::before, .eq-tel::after { content: ''; position: absolute; width: calc(var(--l) * 0.013); border-radius: calc(var(--l) * 0.006); background: #2D2A28; }
.eq-tel::before { left: calc(var(--l) * -0.009); top: 17.5%; height: 3.4%; box-shadow: 0 calc(var(--l) * 0.135) 0 0 #2D2A28, 0 calc(var(--l) * 0.255) 0 0 #2D2A28; }
.eq-tel::after { right: calc(var(--l) * -0.009); top: 25.5%; height: 9%; }
.eq-app-verre { display: block; width: 100%; height: 100%; padding: calc(var(--l) * 0.022); border-radius: calc(var(--l) * 0.149); background: #050505; }
.eq-app-ecran { position: relative; display: block; width: 100%; height: 100%; border-radius: calc(var(--l) * 0.127); overflow: hidden; background: #131110; }
.eq-app-ecran img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; -webkit-user-drag: none; user-select: none; }
.eq-app-ecran::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 18%, rgba(255, 255, 255, 0) 34%); box-shadow: inset 0 0 0 calc(var(--l) * 0.003) rgba(255, 255, 255, 0.07); }
.eq-app-etat { position: absolute; left: 0; right: 0; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: 5.57%; padding: calc(var(--l) * 0.012) 7.5% 0 10.5%;
  font-family: system-ui, sans-serif; font-size: calc(var(--l) * 0.044); font-weight: 700; line-height: 1; letter-spacing: 0; }
.eq-app-etat b { font-weight: 700; }
.eq-app-etat svg { display: block; width: calc(var(--l) * 0.2); height: auto; }
.eq-app-ile { position: absolute; left: 50%; top: 1.3%; z-index: 1; display: block; width: 31%; height: 3.2%; margin-left: -15.5%; border-radius: 999px; background: #000000; }
.eq-app-trait { position: absolute; left: 50%; bottom: 0.85%; z-index: 1; display: block; width: 35%; height: 0.42%; margin-left: -17.5%; border-radius: 999px; background: currentColor; opacity: 0.6; }
.eq-app-clair { color: #1C1A19; }
.eq-app-sombre { color: #FFFFFF; }
.eq-client .eq-tel { box-shadow: calc(0.25 * var(--u)) calc(0.5 * var(--u)) calc(1 * var(--u)) rgba(44, 24, 16, 0.40), calc(0.8 * var(--u)) calc(1.7 * var(--u)) calc(3.4 * var(--u)) rgba(44, 24, 16, 0.26), calc(1.8 * var(--u)) calc(4 * var(--u)) calc(8 * var(--u)) rgba(44, 24, 16, 0.15); }
.eq-tel-g { left: calc(50% - 39 * var(--u)); top: calc(50% - 44.6 * var(--u));
  transform: translate(calc((1 - var(--e)) * -6 * var(--u)), calc((0.5 - var(--p)) * 5 * var(--u))) rotate(calc(-5deg - (1 - var(--e)) * 4deg)); }
.eq-tel-d { left: calc(50% + 1 * var(--u)); top: calc(50% - 36.6 * var(--u));
  transform: translate(calc((1 - var(--e)) * 6 * var(--u)), calc((var(--p) - 0.5) * 5 * var(--u))) rotate(calc(4deg + (1 - var(--e)) * 4deg)); }
/* ——— Le bureau : quatre fenêtres de l’admin posées à plat sur un plan vu de trois quarts, en deux rangées décalées
   qui glissent en sens contraire. Chaque fenêtre est soulevée du plan, son ombre reste au sol (::before).
   Aucun overflow ni filtre entre le plan et les fenêtres (ils aplatiraient la 3D). ——— */
.eq-bureau { --p: 0.5; --s: 0.85; perspective: calc(340 * var(--u)); perspective-origin: 50% 42%; forced-color-adjust: none;
  background: radial-gradient(ellipse 75% 70% at 50% 40%, #FBF3DC 0%, #EFE0B8 55%, #E2CE9C 100%); }
.eq-bureau-plan { position: absolute; left: 50%; top: 50%; display: block; width: 0; height: 0; transform-style: preserve-3d;
  transform: translate(calc(-1 * var(--u)), calc(-1 * var(--u))) scale(var(--s)) rotateX(54deg) rotateZ(-24deg); }
.eq-bureau-rang { position: absolute; left: 0; top: 0; display: flex; gap: calc(4 * var(--u)); transform-style: preserve-3d; }
.eq-bureau-a { transform: translate(calc(-50% - 3 * var(--u) + (var(--p) - 0.5) * 6 * var(--u)), calc(-100% - 2 * var(--u))); }
.eq-bureau-b { transform: translate(calc(-50% + 3 * var(--u) + (0.5 - var(--p)) * 6 * var(--u)), calc(2 * var(--u))); }
.eq-fen { position: relative; display: block; flex: none; width: calc(41 * var(--u)); border-radius: calc(1.3 * var(--u)); background: #FFFDF8;
  transform-style: preserve-3d; transform: translateZ(calc(2.2 * var(--u))); box-shadow: 0 0 0 calc(0.1 * var(--u)) rgba(44, 24, 16, 0.2); }
.eq-fen-barre { display: flex; align-items: center; gap: calc(0.7 * var(--u)); height: calc(2.6 * var(--u)); padding: 0 calc(1.2 * var(--u));
  border-radius: calc(1.3 * var(--u)) calc(1.3 * var(--u)) 0 0; background: #2C1810; }
.eq-fen-barre i { display: block; width: calc(0.8 * var(--u)); height: calc(0.8 * var(--u)); border-radius: 50%; background: #6B5446; }
.eq-fen img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 0 0 calc(1.3 * var(--u)) calc(1.3 * var(--u)); }
.eq-fen::before { content: ''; position: absolute; inset: calc(1.2 * var(--u)) calc(-1.6 * var(--u)) calc(-2 * var(--u)) calc(1.4 * var(--u)); border-radius: calc(1.3 * var(--u));
  background: rgba(70, 44, 14, 0.42); filter: blur(calc(1.8 * var(--u))); transform: translateZ(calc(-2.2 * var(--u))); }
/* ——— Téléphone du visiteur : les scènes dans leur carte (hauteur fixe, largeur de 288 à 440 px). u = le plus petit de
   1 % de la largeur et de la part de hauteur qui donne la même taille dans une carte de 340 px de large ——— */
@media (max-width: 899px) { .realisation .eq-salle { --u: min(1cqw, 1.172cqh); --l: calc(60 * var(--u)); --dx: calc(20 * var(--u)); --dy: calc(2.5 * var(--u)); } }
@media (max-width: 899px) { .realisation .eq-cuisine { --u: min(1cqw, 1.36cqh); } }
@media (max-width: 899px) { .realisation .eq-client { --u: min(1cqw, 0.81cqh); --l: calc(40 * var(--u)); } }
@media (max-width: 899px) { .realisation .eq-bureau { --u: min(1cqw, 1.85cqh); } }