/* Jumelo — site vitrine.
   Palette Jumelo (identite/couleurs.md) · Rajdhani + JetBrains Mono · même langage visuel que l'application :
   anneaux, pointillés, étiquettes en capitales espacées, halos. */
@import url("fonts.css");

:root {
  --fond: #0A0D10;
  --fond-2: #0E1418;
  --surface: #161E25;
  --surface-2: #1D2932;
  --ligne: #27343F;
  --menthe: #3DF5B0;
  --bleu: #4DA8FF;
  --orange: #FF9B3D;
  --rouge: #FF5470;
  --texte: #E6ECEF;
  --texte-2: #C3CCD1;
  --attenue: #88949C;
  --largeur: 1180px;
  --rayon: 16px;
  --titre: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --entree: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 500 18px/1.6 var(--titre);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(61, 245, 176, .3); color: #fff; }
a { color: var(--menthe); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, video, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--menthe); outline-offset: 3px; border-radius: 6px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Fond vivant ---------- */
#reseau { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.halos { position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(700px 500px at 88% 4%, rgba(77, 168, 255, .16), transparent 70%),
    radial-gradient(760px 520px at 0% 72%, rgba(61, 245, 176, .09), transparent 70%),
    var(--fond);
}
.grain { position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.lueur-curseur { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(61, 245, 176, .07), transparent 60%); transition: opacity .4s; opacity: 0; }

.conteneur { width: min(var(--largeur), 100% - 40px); margin-inline: auto; }

/* ---------- Typo utilitaire ---------- */
.etiquette { font: 400 12px/1.4 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--menthe); display: inline-flex; align-items: center; gap: 10px; }
.etiquette::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.accent { color: var(--menthe); }
.orange { color: var(--orange); }
.attenue { color: var(--attenue); }

/* ---------- En-tête ---------- */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.entete.defile { background: rgba(10, 13, 16, .78); backdrop-filter: blur(14px) saturate(140%); border-color: var(--ligne); }
.entete .conteneur { display: flex; align-items: center; gap: 28px; height: 74px; }
.marque { display: flex; align-items: center; gap: 12px; color: var(--texte); }
.marque:hover { text-decoration: none; }
.marque svg { width: 40px; height: 40px; overflow: visible; }
.marque .mot { font: 700 23px/1 var(--titre); letter-spacing: .3em; }
.marque:hover .orbite { animation-duration: 3s; }
.orbite { transform-origin: 50px 53px; animation: tourne 18s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; color: var(--attenue); font-weight: 600; font-size: 16px; letter-spacing: .02em; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--menthe); transition: right .35s var(--entree); box-shadow: 0 0 8px var(--menthe); }
.nav a:hover { color: var(--texte); text-decoration: none; }
.nav a:hover::after { right: 0; }

/* ---------- Boutons ---------- */
.bouton { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 12px; border: 1px solid var(--menthe);
  background: linear-gradient(180deg, rgba(61, 245, 176, .2), rgba(61, 245, 176, .08));
  color: #F3FFFA; font: 700 16px/1 var(--titre); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(61, 245, 176, .4), 0 10px 40px -12px rgba(61, 245, 176, .5);
  transition: transform .3s var(--entree), box-shadow .3s; }
.bouton::before { content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); transition: transform .8s var(--entree); }
.bouton:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(61, 245, 176, .12), 0 16px 50px -12px rgba(61, 245, 176, .7); }
.bouton:hover::before { transform: translateX(120%) skewX(-20deg); }
.bouton .fleche { transition: transform .3s var(--entree); }
.bouton:hover .fleche { transform: translateX(4px); }
.bouton.fantome { border-color: var(--ligne); background: rgba(22, 30, 37, .5); box-shadow: none; color: var(--texte-2); }
.bouton.fantome:hover { border-color: var(--attenue); color: var(--texte); box-shadow: none; }
.bouton.petit { padding: 11px 18px; font-size: 14px; }
.bouton[disabled] { opacity: .6; cursor: progress; }

/* ---------- Accueil ---------- */
.accueil { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.accueil .conteneur { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.slogan { font: 700 15px/1.4 var(--titre); letter-spacing: .36em; text-transform: uppercase; color: var(--orange);
  text-shadow: 0 0 22px rgba(255, 155, 61, .45); min-height: 1.4em; }
.accueil h1 { font-size: clamp(42px, 6.2vw, 78px); margin: 22px 0 26px; }
.js .accueil h1[data-mots] { visibility: hidden; }
.js .accueil h1.pret { visibility: visible; }
.accueil h1 .mot { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(2deg); filter: blur(8px);
  animation: monte .9s var(--entree) forwards; animation-delay: calc(.35s + var(--i) * .07s); }
@keyframes monte { to { opacity: 1; transform: none; filter: none; } }
.accueil h1 .jumeau { position: relative; color: var(--menthe); text-shadow: 0 0 34px rgba(61, 245, 176, .35); }
.accueil h1 .jumeau::after { content: attr(data-texte); position: absolute; left: 0; top: 0; color: var(--bleu); opacity: .45;
  transform: translate(6px, -4px); filter: blur(.5px); animation: dedouble 6s ease-in-out infinite 1.6s; pointer-events: none; }
@keyframes dedouble { 0%, 100% { transform: translate(6px, -4px); opacity: .45; } 45%, 60% { transform: translate(0, 0); opacity: 0; } }
.chapeau { font-size: 21px; line-height: 1.55; color: var(--texte-2); max-width: 32em; }
.chapeau + .chapeau { margin-top: 12px; font-size: 18px; color: var(--attenue); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.etats { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font: 400 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--attenue); }
.etats span { display: inline-flex; align-items: center; gap: 9px; }
.etats span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--menthe); box-shadow: 0 0 0 0 rgba(61, 245, 176, .6); animation: pouls 2s infinite; }
.etats span.encours::before { background: var(--orange); animation: none; box-shadow: 0 0 10px var(--orange); }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(61, 245, 176, .6); } 70% { box-shadow: 0 0 0 10px rgba(61, 245, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 245, 176, 0); } }
.indice-defile { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 22px; height: 36px; border: 1.5px solid var(--ligne); border-radius: 12px; }
.indice-defile::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--menthe); animation: roulette 1.8s var(--entree) infinite; }
@keyframes roulette { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Scène du clonage */
.scene { position: relative; border: 1px solid var(--ligne); border-radius: 22px; padding: 22px;
  background: linear-gradient(160deg, rgba(29, 41, 50, .75), rgba(14, 20, 24, .85)); backdrop-filter: blur(6px);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04);
  opacity: 0; transform: perspective(1200px) rotateY(-12deg) translateY(30px); animation: arrive 1.4s var(--entree) .5s forwards; }
@keyframes arrive { to { opacity: 1; transform: perspective(1200px) rotateY(-4deg); } }
.scene::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, rgba(61, 245, 176, .8) 80%, rgba(77, 168, 255, .8) 90%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: bord 6s linear infinite; }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes bord { to { --angle: 360deg; } }
.scene-tete { display: flex; justify-content: space-between; align-items: center; font: 400 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--attenue); margin-bottom: 8px; }
.scene-tete .points { display: flex; gap: 6px; }
.scene-tete .points i { width: 8px; height: 8px; border-radius: 50%; background: var(--ligne); }
.scene svg { width: 100%; height: auto; }
.scene .noeud-texte { font: 700 13px var(--mono); fill: var(--texte); }
.scene .legende { font: 400 10.5px var(--mono); fill: var(--attenue); letter-spacing: .06em; }
.scene .legende.verte { fill: var(--menthe); }
.journal { margin-top: 10px; height: 152px; overflow: hidden; border-top: 1px dashed var(--ligne); padding-top: 12px;
  font: 400 12.5px/1.75 var(--mono); color: var(--texte-2);
  -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
.journal p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: ligne .5s var(--entree) both; }
.journal .ok { color: var(--menthe); }
.journal .att { color: var(--orange); }
.journal .bleu { color: var(--bleu); }
@keyframes ligne { from { opacity: 0; transform: translateX(-8px); } }
.curseur::after { content: "▋"; color: var(--menthe); animation: clignote 1s steps(1) infinite; margin-left: 2px; }
@keyframes clignote { 50% { opacity: 0; } }

/* ---------- Bandeau de termes ---------- */
.bandeau { position: relative; padding: 26px 0; border-block: 1px solid var(--ligne); background: rgba(14, 20, 24, .6); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.piste { display: flex; gap: 44px; width: max-content; animation: defile 46s linear infinite; font: 400 15px/1 var(--mono); letter-spacing: .08em; color: var(--attenue); }
.piste + .piste { margin-top: 18px; animation-direction: reverse; animation-duration: 58s; }
.piste span { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.piste span::after { content: "◇"; color: var(--ligne); }
.piste b { font-weight: 400; color: var(--texte-2); }
.piste .q { color: var(--orange); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; padding: 128px 0; scroll-margin-top: 70px; }
.tete-section { max-width: 780px; margin-bottom: 56px; }
.tete-section h2 { font-size: clamp(34px, 4.6vw, 54px); margin: 16px 0 18px; }
.tete-section p { color: var(--texte-2); font-size: 20px; }

/* Apparition au défilement */
.revele { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 1s var(--entree), transform 1s var(--entree), filter 1s var(--entree); transition-delay: calc(var(--d, 0) * 90ms); }
.revele.vu { opacity: 1; transform: none; filter: none; }

/* Cartes à projecteur */
.grille { display: grid; gap: 20px; }
.deux { grid-template-columns: repeat(2, 1fr); }
.trois { grid-template-columns: repeat(3, 1fr); }
.quatre { grid-template-columns: repeat(4, 1fr); }
.carte { position: relative; border-radius: var(--rayon); padding: 28px; background: linear-gradient(180deg, rgba(29, 41, 50, .7), rgba(22, 30, 37, .7));
  border: 1px solid var(--ligne); overflow: hidden; isolation: isolate; transition: transform .5s var(--entree), border-color .4s; }
.carte::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 245, 176, .12), transparent 45%); }
.carte::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 245, 176, .9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.carte:hover { transform: translateY(-4px); }
.carte:hover::before, .carte:hover::after { opacity: 1; }
.carte h3 { font-size: 25px; margin: 14px 0 10px; }
.carte p { color: #B7C1C7; font-size: 17.5px; }
.carte .source { display: inline-flex; gap: 6px; margin-top: 16px; font: 400 12px/1.4 var(--mono); letter-spacing: .04em; }
.icone { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--ligne); background: rgba(10, 13, 16, .6); }
.icone svg { width: 24px; height: 24px; stroke: var(--menthe); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Compte à rebours */
.rebours { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-bottom: 20px; }
.rebours .principal { padding: 36px; border-color: rgba(255, 155, 61, .35); background: linear-gradient(160deg, rgba(255, 155, 61, .09), rgba(22, 30, 37, .75) 55%); }
.rebours .principal .etiquette { color: var(--orange); }
.compteur { display: flex; gap: 14px; margin: 22px 0 18px; flex-wrap: wrap; }
.compteur div { min-width: 92px; padding: 14px 12px 10px; border-radius: 12px; background: rgba(10, 13, 16, .7); border: 1px solid rgba(255, 155, 61, .25); text-align: center; }
.compteur b { display: block; font: 700 44px/1 var(--mono); color: var(--orange); text-shadow: 0 0 24px rgba(255, 155, 61, .45); font-variant-numeric: tabular-nums; }
.compteur small { font: 400 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--attenue); }

/* Étapes */
.etapes { position: relative; }
.rail { position: absolute; left: 0; right: 0; top: 52px; height: 2px; background: var(--ligne); border-radius: 2px; overflow: hidden; }
.rail i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--progression, 0)); background: linear-gradient(90deg, var(--menthe), var(--bleu)); box-shadow: 0 0 14px var(--menthe); }
.etape { padding-top: 26px; background: linear-gradient(180deg, rgba(22, 30, 37, .85), rgba(14, 20, 24, .85)); }
.etape .num { position: relative; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--ligne); background: var(--fond-2); color: var(--attenue); font: 700 17px/1 var(--mono); transition: all .6s var(--entree); }
.etape.allume .num { border-color: var(--menthe); color: var(--menthe); box-shadow: 0 0 0 6px rgba(61, 245, 176, .08), 0 0 26px rgba(61, 245, 176, .45); }
.etape .badge { position: absolute; top: 26px; right: 22px; font: 400 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 7px 9px; border-radius: 7px; }
.badge.dispo { color: var(--menthe); border: 1px solid rgba(61, 245, 176, .4); background: rgba(61, 245, 176, .08); }
.badge.dev { color: var(--attenue); border: 1px dashed var(--ligne); }
.note { margin-top: 26px; color: var(--attenue); font-size: 18px; }

/* Audit */
.audit { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.vitrine { position: relative; perspective: 1400px; }
.vitrine .cadre { border-radius: 18px; overflow: hidden; border: 1px solid var(--ligne); transform: rotateX(var(--rx, 10deg)) rotateY(var(--ry, -14deg)); transform-style: preserve-3d;
  transition: transform .8s var(--entree); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9), 0 0 60px -10px rgba(255, 155, 61, .18); }
.vitrine img { width: 100%; height: auto; aspect-ratio: 1280 / 770; object-fit: cover; object-position: top; }
.vitrine .reflet { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .08), transparent 40%); }
.puce { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: rgba(14, 20, 24, .92);
  border: 1px solid var(--ligne); font: 400 12px/1 var(--mono); letter-spacing: .06em; color: var(--texte); box-shadow: 0 14px 40px rgba(0, 0, 0, .6);
  backdrop-filter: blur(6px); animation: flotte 5s ease-in-out infinite; }
.puce i { width: 8px; height: 8px; border-radius: 50%; background: var(--menthe); box-shadow: 0 0 10px var(--menthe); }
.puce.p1 { top: -18px; left: 8%; }
.puce.p2 { bottom: 16%; right: -14px; animation-delay: -1.7s; }
.puce.p2 i { background: var(--rouge); box-shadow: 0 0 10px var(--rouge); }
.puce.p3 { bottom: -18px; left: 22%; animation-delay: -3.2s; }
.puce.p3 i { background: var(--bleu); box-shadow: 0 0 10px var(--bleu); }
@keyframes flotte { 50% { transform: translateY(-9px); } }
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.liste li { position: relative; padding-left: 34px; color: var(--texte-2); font-size: 18.5px; }
.liste li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--menthe); box-shadow: 0 0 12px rgba(61, 245, 176, .5); }
.liste li.o::before { border-color: var(--orange); box-shadow: 0 0 12px rgba(255, 155, 61, .5); }
.liste li.r::before { border-color: var(--rouge); box-shadow: 0 0 12px rgba(255, 84, 112, .5); }
.liste b { color: var(--texte); }
.legende-capture { margin-top: 40px; font: 400 12px/1.5 var(--mono); color: var(--attenue); }

/* Vidéo */
.lecteur { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--ligne); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9), 0 0 80px -20px rgba(61, 245, 176, .25); }
.lecteur video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.lecteur .lancer { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer;
  background: radial-gradient(circle at center, rgba(10, 13, 16, .15), rgba(10, 13, 16, .55)); transition: opacity .5s; }
.lecteur .lancer span { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; border: 2px solid var(--menthe);
  background: rgba(10, 13, 16, .6); box-shadow: 0 0 40px rgba(61, 245, 176, .45); transition: transform .4s var(--entree); }
.lecteur .lancer span::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed rgba(61, 245, 176, .5); animation: tourne 12s linear infinite; }
.lecteur .lancer span::after { content: ""; margin-left: 6px; border-left: 24px solid var(--menthe); border-block: 15px solid transparent; }
.lecteur .lancer:hover span { transform: scale(1.08); }
.lecteur.joue .lancer { opacity: 0; pointer-events: none; }

/* Méthode */
.methode { text-align: center; padding: 150px 0; }
.methode p { font: 700 clamp(36px, 6.4vw, 84px)/1.08 var(--titre); letter-spacing: -.01em; }
.methode .m { display: inline-block; color: #26313A; transition: color .7s var(--entree), text-shadow .7s; }
.methode .m.on { color: var(--texte); }
.methode .m.on.fin { color: var(--menthe); text-shadow: 0 0 40px rgba(61, 245, 176, .4); }

/* Liste d'attente */
.attente { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.attente .tete-section { margin-bottom: 0; position: sticky; top: 110px; }
.formulaire { padding: 34px; display: grid; gap: 18px; background: linear-gradient(170deg, rgba(29, 41, 50, .85), rgba(14, 20, 24, .9)); }
.formulaire .ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ { position: relative; }
.champ input, .champ select { width: 100%; padding: 24px 16px 10px; background: rgba(10, 13, 16, .75); border: 1px solid var(--ligne); border-radius: 12px;
  color: var(--texte); font: 400 15px/1.2 var(--mono); transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none; }
.champ select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--attenue) 50%), linear-gradient(135deg, var(--attenue) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.champ label { position: absolute; left: 17px; top: 18px; font: 400 13px/1 var(--mono); letter-spacing: .06em; color: var(--attenue); pointer-events: none; transition: all .25s var(--entree); }
.champ input:focus, .champ select:focus { outline: none; border-color: var(--menthe); box-shadow: 0 0 0 4px rgba(61, 245, 176, .12); }
.champ input:focus + label, .champ input:not(:placeholder-shown) + label, .champ select + label { top: 9px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--menthe); }
.champ .opt { color: var(--attenue); text-transform: none; letter-spacing: .02em; }
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .bouton { margin-top: 6px; width: 100%; }
.message { min-height: 1.4em; font: 400 13px/1.5 var(--mono); color: var(--rouge); }
.mention { font-size: 14px; color: var(--attenue); }
.succes { display: none; text-align: center; padding: 30px 10px; }
.succes svg { width: 84px; height: 84px; margin: 0 auto 18px; }
.succes circle { stroke: var(--menthe); stroke-width: 3; fill: none; stroke-dasharray: 240; stroke-dashoffset: 240; }
.succes path { stroke: var(--menthe); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.succes h3 { font-size: 30px; margin-bottom: 8px; }
.succes p { color: var(--texte-2); }
.formulaire.envoye > :not(.succes) { display: none; }
.formulaire.envoye .succes { display: block; }
.formulaire.envoye circle { animation: trace 1s var(--entree) forwards; }
.formulaire.envoye path { animation: trace .6s var(--entree) .7s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }

/* Pied de page */
.pied { border-top: 1px solid var(--ligne); padding: 56px 0 46px; color: var(--attenue); font-size: 15px; background: rgba(10, 13, 16, .7); }
.pied .conteneur { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 28px 40px; align-items: start; }
.pied .slogan { font-size: 12px; margin-top: 12px; }
.pied nav { display: grid; gap: 10px; }
.pied nav a { color: var(--attenue); }
.pied nav a:hover { color: var(--texte); }
.pied .feuille { font: 400 11px/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.pied .bas { grid-column: 1 / -1; border-top: 1px dashed var(--ligne); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; }

/* Pages simples (légal, merci, 404) */
.page-simple { min-height: 80vh; padding: 150px 0 110px; }
.page-simple .conteneur { max-width: 780px; }
.page-simple h1 { font-size: clamp(38px, 5vw, 54px); margin: 16px 0 30px; }
.page-simple h2 { font-size: 25px; margin: 40px 0 12px; }
.page-simple p, .page-simple li { color: var(--texte-2); }
.page-simple p + p { margin-top: 12px; }
.page-simple address { font-style: normal; color: var(--texte); line-height: 1.7; }
.page-centre { text-align: center; }
.page-centre .grand { font: 700 clamp(90px, 18vw, 180px)/1 var(--mono); color: var(--menthe); text-shadow: 0 0 60px rgba(61, 245, 176, .35); }

/* ---------- Écrans étroits ---------- */
@media (max-width: 1020px) {
  .accueil .conteneur, .audit, .attente, .rebours { grid-template-columns: minmax(0, 1fr); }
  .accueil { min-height: 0; padding-top: 130px; }
  .scene { animation-name: arrive-mobile; }
  .quatre { grid-template-columns: repeat(2, 1fr); }
  .trois { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .nav { display: none; }
  .entete .bouton { margin-left: auto; }
  .attente .tete-section { position: static; }
  .pied .conteneur { grid-template-columns: 1fr 1fr; }
  .indice-defile { display: none; }
  .vitrine .cadre { --rx: 4deg !important; --ry: -4deg !important; }
}
@keyframes arrive-mobile { to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  body { font-size: 17px; }
  section { padding: 88px 0; }
  .quatre, .deux, .formulaire .ligne { grid-template-columns: minmax(0, 1fr); }
  .marque .mot { font-size: 19px; letter-spacing: .24em; }
  .marque svg { width: 34px; height: 34px; }
  .entete .bouton { padding: 10px 12px; font-size: 12px; letter-spacing: .08em; }
  .slogan { letter-spacing: .24em; font-size: 13px; }
  .chapeau { font-size: 19px; }
  .compteur div { min-width: 70px; flex: 1; }
  .compteur b { font-size: 32px; }
  .puce { display: none; }
  .formulaire { padding: 24px; }
  .pied .conteneur { grid-template-columns: 1fr; }
  .methode { padding: 100px 0; }
}

/* Mouvement réduit : tout reste lisible, rien ne bouge */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .revele { opacity: 1; transform: none; filter: none; }
  .accueil h1 .mot { opacity: 1; transform: none; filter: none; }
  .scene { opacity: 1; transform: none; }
  .piste { animation: none; }
  .grain { display: none; }
}

/* Les colonnes de grille peuvent rétrécir sous la largeur de leur contenu (évite tout débordement sur petit écran) */
.accueil .conteneur > *, .grille > *, .audit > *, .attente > *, .rebours > *, .formulaire .ligne > * { min-width: 0; }
.entete .bouton { white-space: nowrap; }
.actions .bouton { white-space: normal; text-align: center; line-height: 1.25; }
@media (max-width: 380px) {
  .entete .conteneur { gap: 12px; }
  .marque .mot { font-size: 17px; letter-spacing: .2em; }
  .accueil h1 { font-size: 36px; }
  .actions .bouton { width: 100%; }
}

/* Questions fréquentes */
.faq { display: grid; gap: 14px; max-width: 900px; }
.faq details { border: 1px solid var(--ligne); border-radius: var(--rayon); background: linear-gradient(180deg, rgba(29, 41, 50, .65), rgba(22, 30, 37, .65)); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(61, 245, 176, .45); background: linear-gradient(180deg, rgba(29, 41, 50, .9), rgba(22, 30, 37, .9)); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font: 700 20px/1.3 var(--titre); color: var(--texte); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid var(--ligne); border-radius: 50%; font: 400 18px/1 var(--mono); color: var(--menthe); transition: transform .4s var(--entree), border-color .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); border-color: var(--menthe); }
.faq summary:hover { color: var(--menthe); }
.faq details p { padding: 0 26px 24px; color: var(--texte-2); max-width: 46em; animation: deplie .5s var(--entree); }
@keyframes deplie { from { opacity: 0; transform: translateY(-6px); } }
