/* Poinçon, site de présentation (v2, tout en sombre).
   Couleurs de la marque (noir #141414, or #D8B24C) et thème sombre de l'app ; titres en Hedvig Letters Serif, texte en
   Schibsted Grotesk, toutes deux servies depuis le site (aucun appel extérieur). */

:root {
  --nuit: #141414;
  --nuit-2: #1C1C1E;
  --nuit-3: #252528;
  --or: #D8B24C;
  --or-clair: #F1DA92;
  --or-sombre: #8C6B1F;
  --blanc: #F2F2F0;
  --jour: #FBFBFA;
  --jour-2: #F0F0EE;
  --encre: #1D1D1F;
  --encre-2: #55555A;
  --encre-3: #8E8E93;
  --gris: #A6A6A0;
  --gris-2: #909097;
  --trait: rgba(255, 255, 255, .1);
  --corps-objet: #1A1916;
  /* thème sombre de l'app */
  --app-encre2: #B4B4BA;
  --app-encre3: #909097;
  --app-trait: rgba(255, 255, 255, .08);
  --niv-sur: #4ADE80;
  --niv-tres: #8CCB9B;
  --niv-probable: #B5D65A;
  --niv-incertaine: #F5B93D;
  --niv-piste: #FB8559;
  --alerte: #FF8A80;
  --f-titre: 'Hedvig Letters Serif', 'Iowan Old Style', Georgia, serif;
  --f-texte: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-logo: 'Young Serif', Georgia, serif;   /* le mot « Poinçon » à côté du losange */
  --f-app: Roboto, 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gouttiere: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --doux: cubic-bezier(.2, .8, .2, 1);
  --appuye: cubic-bezier(.7, 0, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--blanc);
  font: 400 1.0625rem/1.6 var(--f-texte);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
svg { display: block; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 4px; border-radius: 6px; }

/* grain très léger sur toute la page, comme une photo argentique */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.losange { display: inline-block; flex: none; width: 8px; height: 8px; background: var(--or); transform: rotate(45deg); }
.insecable { white-space: nowrap; }
.conteneur { max-width: var(--max); margin: 0 auto; padding: 0 var(--gouttiere); }
.titre-section { font: 400 clamp(2.5rem, 5.2vw, 4.75rem)/1 var(--f-titre); letter-spacing: -.025em; margin: 0 0 20px; text-wrap: balance; }
.chapo { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--gris); max-width: 34em; }

/* ------------------------------------------------------------------ ouverture */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; background-color: var(--nuit); transition: background-color .55s ease .15s;
}
.intro.ouvre { background-color: rgba(20, 20, 20, 0); pointer-events: none; }
.intro-logo { width: 120px; height: 120px; }
.intro-logo svg { width: 100%; height: 100%; overflow: visible; }
.intro-trace {
  fill: none; stroke: var(--or); stroke-width: 4.2; stroke-dasharray: 100.98 999; stroke-dashoffset: 100.98;
  animation: tracer .8s cubic-bezier(.45, 0, .2, 1) .1s forwards;
}
.intro-centre {
  fill: var(--or); transform-box: fill-box; transform-origin: center; transform: scale(0);
  animation: grandir .28s cubic-bezier(.2, .8, .2, 1) .86s forwards;
}
.intro-nom { font: 400 3rem/1 var(--f-logo); letter-spacing: -.015em; transform-origin: 0 0; opacity: 0; animation: paraitre .4s ease .3s forwards; }
.intro.efface .intro-nom { animation: disparaitre .25s ease forwards; }
/* le mot a rejoint l'en-tête : celui de l'en-tête prend sa place sans fondu */
.js.nom-pose .entete .marque span { transition: none; }
@keyframes tracer { to { stroke-dashoffset: 0; } }
@keyframes grandir { to { transform: scale(1); } }
@keyframes paraitre { to { opacity: 1; } }
@keyframes disparaitre { from { opacity: 1; } to { opacity: 0; } }

/* ------------------------------------------------------------------ en-tête */
.entete {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(var(--gouttiere), calc((100% - var(--max)) / 2 + var(--gouttiere)));   /* calé sur la largeur de la page */
}
.entete::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s ease;
  background: rgba(20, 20, 20, .66); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--trait);
}
.entete.voile::before { opacity: 1; }
.js .entete .marque span, .js .entete .entete-cta { opacity: 0; transition: opacity .6s ease .1s; }
.js .entete .marque svg { opacity: 0; }
.js.arrive .entete .marque span, .js.arrive .entete .entete-cta, .js.arrive .entete .marque svg { opacity: 1; }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.0625rem/1 var(--f-logo); letter-spacing: -.015em; }
.marque svg { width: 28px; height: 28px; }
.entete .marque { gap: 12px; font-size: 1.375rem; }
.entete .marque svg { width: 36px; height: 36px; }
.entete-cta {
  font-weight: 600; font-size: .9375rem; text-decoration: none; padding: 10px 20px; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px rgba(242, 242, 240, .5); transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.entete-cta:hover { background: var(--blanc); color: var(--nuit); box-shadow: none; }

/* ------------------------------------------------------------------ badges officiels des stores */
.magasins { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.magasins-bientot {
  flex-basis: 100%; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--or);
}
.badge { display: block; border-radius: 9px; transition: transform .3s var(--doux), box-shadow .3s ease; }
.badge img { height: 46px; width: auto; }
.badge:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(216, 178, 76, .6); }
/* le badge Apple n'a pas de liseré : on lui donne le même contour que celui de Google */
.badge[data-magasin="ios"] img { border-radius: 8px; box-shadow: 0 0 0 1px #A6A6A6; }

/* ------------------------------------------------------------------ accueil */
.accueil { overflow-x: clip;
  position: relative; display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh; max-width: var(--max); margin: 0 auto;
  padding: clamp(92px, 13vh, 132px) var(--gouttiere) 0;
}
.accueil-haut { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px 48px; align-items: start; position: relative; z-index: 2; }
/* sur ordinateur, la carte se pose juste au-dessus de la table (et grandit vers le haut) au lieu de rester en haut de l'écran */
@media (min-width: 900px) {
  .accueil-haut { flex: 1 0 auto; }
  .fiche { align-self: end; margin-bottom: 18px; }
}
/* sur un écran assez haut, le texte se centre dans la place libre entre l’en-tête et la table, un peu au-dessus du milieu */
@media (min-width: 900px) and (min-height: 800px) {
  .accueil-texte { align-self: center; margin-bottom: 7vh; }
}
.accueil-titre {
  font: 400 min(5.6vw, 10.6vh, 5.75rem)/.96 var(--f-titre); letter-spacing: -.03em; margin: 0 0 clamp(18px, 3.2vh, 30px);
}
.ligne { display: block; overflow: hidden; padding: .02em 0 .12em; margin-bottom: -.12em; }
.ligne > span { display: block; }
.js .ligne > span { transform: translateY(135%); transition: transform 1.1s var(--doux); }
.js.arrive .ligne > span { transform: none; }
.js.arrive .ligne:nth-child(2) > span { transition-delay: .09s; }
.accueil-sous { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.5; color: var(--gris); max-width: 27em; margin-bottom: clamp(18px, 3.4vh, 32px); }
.js .apparait { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--doux), transform .9s var(--doux); }
.js.arrive .apparait { opacity: 1; transform: none; }
.js.arrive .accueil-sous { transition-delay: .3s; }
.js.arrive .magasins.apparait { transition-delay: .4s; }
.js.arrive .etal-consigne { transition-delay: 1.1s; }

/* la fiche : le résultat, comme dans l'app */
.fiche {
  position: relative; width: 340px; margin-top: 6px; padding: 18px 20px 18px;
  background: var(--nuit-2); border: 1px solid var(--trait); border-radius: 20px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(216, 178, 76, .04);
  opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s ease, transform .6s var(--doux);
}
.fiche.visible { opacity: 1; transform: none; }
.fiche-recherche { display: none; align-items: center; gap: 14px; font-weight: 600; padding: 22px 0 18px; justify-content: center; flex-direction: column; color: var(--gris); }
.fiche.cherche .fiche-recherche { display: flex; }
.fiche-resultat { display: none; }
.fiche.trouve .fiche-resultat { display: block; animation: monter .5s var(--doux); }
@keyframes monter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fiche-etat { font-size: .8125rem; font-weight: 600; color: var(--app-encre2); margin-bottom: 8px; }
.fiche-niveau { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.fiche-niveau .jauge { width: 26px; height: 26px; color: var(--niv, var(--or)); }
.fiche-nom { font: 700 1.5rem/1.12 var(--f-texte); letter-spacing: -.02em; margin: 0 0 4px; }
.fiche-ligne { color: var(--gris); font-size: .9375rem; margin-bottom: 16px; }
.fiche-prix-libelle { font-size: .8125rem; color: var(--app-encre2); }
.fiche-prix { font: 700 1.625rem/1.2 var(--f-texte); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.fiche-prix small { font-size: .9375rem; font-weight: 600; letter-spacing: 0; }
.fiche-savoir { font-size: .875rem; line-height: 1.5; padding-top: 12px; border-top: 1px solid var(--trait); }

.jauge { width: 22px; height: 22px; overflow: visible; flex: none; }
.jauge path { fill: none; stroke-width: 4.2; }
.jauge .jauge-piste { stroke: currentColor; opacity: .2; }
.jauge .jauge-trait { stroke: currentColor; stroke-dasharray: 0 999; transition: stroke-dasharray .9s var(--doux) .15s; }
.jauge .jauge-centre { fill: currentColor; stroke: none; }
.jauge-charge { width: 40px; height: 40px; color: var(--or); }
.jauge-charge .jauge-trait { transition: none; animation: charger 1.1s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes charger {
  0% { stroke-dasharray: 0 999; stroke-dashoffset: 0; }
  55% { stroke-dasharray: 107.5 999; stroke-dashoffset: 0; }
  100% { stroke-dasharray: 107.5 999; stroke-dashoffset: -107.5; }
}

/* la table */
.etal { position: relative; z-index: 2; margin-top: auto; padding-top: 22px; }
.etal-consigne { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .875rem; font-weight: 600; color: var(--gris); margin: 22px 0 clamp(24px, 5vh, 52px); position: relative; }
.etal-scene { position: relative; }
.etal-rangs { display: flex; position: relative; }
.etal-rangs::before {
  /* le bord de la table, en or, et le plateau qui s'enfonce dessous */
  content: ""; position: absolute; left: -3%; right: -3%; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 178, 76, .75) 10%, rgba(216, 178, 76, .75) 90%, transparent);
}
.etal-rangs::after {
  content: ""; position: absolute; left: -3%; right: -3%; top: 100%; height: 110px; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 0, rgba(216, 178, 76, .11), transparent 70%);
}
.etal-fleche { display: none; }
.visite-cran { display: none; }
.etal-rang { flex: 1 1 0; display: flex; justify-content: space-around; align-items: flex-end; gap: 8px; }
.objet {
  --k: 1;
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  height: calc(var(--h) * var(--u, 1px) * var(--k) * var(--ajuste, 1)); padding: 0 4px; margin: 0; border: 0; background: none;
  color: var(--or); cursor: pointer; -webkit-tap-highlight-color: transparent;
  -webkit-box-reflect: below 1px linear-gradient(transparent 55%, rgba(0, 0, 0, .22));
  transition: color .35s ease, opacity .5s ease, filter .35s ease, transform .5s var(--doux);
}
.js .objet { opacity: 0; transform: translateY(26px); }
.js.arrive .objet { opacity: 1; transform: none; transition: color .35s ease, opacity .8s ease var(--retard, 0s), filter .35s ease, transform .9s var(--doux) var(--retard, 0s); }
.objet svg { height: 100%; width: auto; overflow: visible; }
.objet path { fill: var(--corps-objet); stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; transition: fill .35s ease; }
.objet .f { fill: none; opacity: .4; }
.objet .l { fill: none; }
.objet .plein { fill: currentColor; stroke: none; }
.objet .interieur { fill: #24221d; }
.js.arrive .objet:hover { color: var(--or-clair); transform: translateY(-4px); transition-delay: 0s; }
.objet.choisi { color: var(--or-clair); filter: drop-shadow(0 0 16px rgba(216, 178, 76, .45)); }
.objet.choisi path:not(.f):not(.l):not(.plein) { fill: #26221a; }
.etal.occupe .objet:not(.choisi):not(:hover) { opacity: .5; }
.objet:focus-visible { outline-offset: 8px; }
/* le poinçon laissé sur l'objet reconnu, là où la frappe est tombée */
.objet .marque-poincon {
  position: absolute; left: var(--px, 50%); top: var(--py, 55%); width: 18px; height: 18px; margin: -9px 0 0 -9px;
  opacity: 0; transform: scale(2.4) rotate(-20deg);
  transition: opacity .3s ease, transform .45s cubic-bezier(.34, 1.6, .64, 1);
}
.objet .marque-poincon path { stroke-width: 4.2; vector-effect: none; stroke: var(--or-clair); fill: none; }
.objet .marque-poincon .plein { fill: var(--or-clair); }
.objet.poinconne .marque-poincon { opacity: 1; transform: none; }

.viseur { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0;
  transition: transform .5s var(--doux), width .5s var(--doux), height .5s var(--doux), opacity .3s ease; }
.viseur i { position: absolute; width: 18px; height: 18px; border: 2px solid var(--or-clair); }
.viseur i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.viseur i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.viseur i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.viseur i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.viseur.survol { opacity: .45; }
.viseur.actif { opacity: 1; }
.viseur-flash { position: absolute; inset: 0; border-radius: 10px; background: #fff; opacity: 0; }
.viseur.flash .viseur-flash { animation: flash .45s ease-out; }
.viseur-scan {
  position: absolute; left: 8px; right: 8px; bottom: 0; height: 2px; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--or-clair), transparent);
  box-shadow: 0 0 18px 3px rgba(241, 218, 146, .55);
}
.viseur.scan .viseur-scan { animation: balayer .95s var(--appuye) forwards; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }
@keyframes balayer { 0% { bottom: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { bottom: 100%; opacity: 0; } }

.frappe { position: absolute; left: 0; top: 0; width: 80px; height: 80px; pointer-events: none; opacity: 0; overflow: visible;
  filter: drop-shadow(0 0 18px rgba(241, 218, 146, .7)); }
.onde-etal { position: absolute; pointer-events: none; border: 2px solid var(--or-clair); transform: rotate(45deg); opacity: 0; }
.eclat { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--or-clair); pointer-events: none; }

/* le fil qui relie la fiche à l'objet */
.fil { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.fil path { fill: none; stroke: url(#fil-or); stroke-width: 1.2; stroke-dasharray: 3 5; opacity: 0; transition: opacity .3s ease; }
.fil circle { fill: var(--or); opacity: 0; transition: opacity .3s ease; }
.fil.visible path { opacity: 1; }
.fil.visible circle { opacity: .9; }

/* ------------------------------------------------------------------ les grands noms */
.noms { position: relative; padding: clamp(96px, 14vh, 160px) 0 clamp(80px, 12vh, 140px); }
.defile { overflow: hidden; padding: .06em 0; }
@supports (overflow: clip) { .defile { overflow-x: clip; overflow-y: visible; } }   /* ne coupe que sur les côtés : accents et jambages entiers */
.defile:first-of-type { margin-top: 28px; }
.defile-piste {
  display: flex; align-items: center; width: max-content; white-space: nowrap; will-change: transform;
  font: 400 clamp(2.25rem, 5vw, 5rem)/1.08 var(--f-titre); letter-spacing: -.03em;
}
.defile-piste span { display: inline-flex; align-items: center; }
.defile-piste .sep { width: .16em; height: .16em; margin: 0 .5em; background: var(--or); transform: rotate(45deg); flex: none; }
.defile-piste.contour { color: transparent; -webkit-text-stroke: 1.2px var(--or); }
.defile-piste.contour .sep { background: transparent; box-shadow: inset 0 0 0 1.2px var(--or); }
.noms-texte { margin: 0 0 clamp(36px, 5.5vh, 60px); }

/* visite guidée : le téléphone épinglé */
.visite { position: relative; height: 280vh; }
/* sur ordinateur, le contenu épinglé est centré dans la hauteur : on remonte la section pour que le vide sous les
   grands noms reste proche de celui du haut de leur section (environ 150 px), quelle que soit la hauteur de l'écran */
@media (min-width: 900px) {
  .noms { padding-bottom: 0; }
  .visite { margin-top: min(0px, calc(344px - 50vh)); }
}
.visite-collant {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px;
  max-width: var(--max); margin: 0 auto; padding: 84px var(--gouttiere) 32px;
}
.visite-textes .titre-section { font-size: clamp(2.25rem, 3.8vw, 3.5rem); }
.etapes { position: relative; list-style: none; margin: 36px 0 0; padding: 0; min-height: 15em; }
.etape { position: absolute; left: 0; top: 0; right: 0; opacity: 0; transform: translateY(28px); transition: opacity .45s ease, transform .7s var(--doux); }
.etape.active { opacity: 1; transform: none; }
.etape h3 { font: 400 clamp(1.75rem, 2.6vw, 2.5rem)/1.08 var(--f-titre); letter-spacing: -.02em; margin: 0 0 16px; }
.etape p { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; color: var(--gris); max-width: 29em; }
.progres { display: flex; gap: 6px; margin-top: 8px; }
.progres button {
  width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center;
}
.progres button::before { content: ""; width: 11px; height: 11px; transform: rotate(45deg); box-shadow: inset 0 0 0 1.5px var(--gris-2); transition: background-color .3s ease, box-shadow .3s ease, transform .4s var(--doux); }
.progres button.active::before { background: var(--or); box-shadow: none; transform: rotate(45deg) scale(1.25); }

.visite-tel { display: flex; justify-content: center; align-items: center; perspective: 1600px; height: 100%; }
.telephone {
  flex: none; width: 300px; height: 624px; padding: 11px; border-radius: 52px; background: #0F0F10;
  box-shadow: inset 0 0 0 1.5px #3A3A3C, 0 0 0 1px rgba(255, 255, 255, .03), 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 90px -30px rgba(216, 178, 76, .22);
  transform-origin: 50% 50%; will-change: transform;
}
.ecran { position: relative; width: 100%; height: 100%; border-radius: 41px; background: var(--jour); overflow: hidden; color: var(--encre); }
.ecran-defile { transition: transform .8s var(--doux); }
.z { padding: 14px 20px; transition: opacity .5s ease; }
.ecran.focus .z:not(.active) { opacity: .26; }
.z-photo { position: relative; height: 196px; padding: 0; background: var(--jour-2); display: grid; place-items: center; }
.statut { position: absolute; left: 26px; right: 22px; top: 14px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; }
.statut-icones { display: flex; gap: 4px; align-items: center; }
.statut-icones i { width: 14px; height: 7px; border-radius: 2px; background: var(--encre); opacity: .8; }
.statut-icones i:nth-child(1) { width: 10px; }
.statut-icones i:nth-child(2) { width: 10px; }
.photo-objet { height: 118px; width: auto; margin-top: 18px; }
.photo-objet path { fill: none; stroke: var(--encre); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.photo-objet .f { opacity: .35; }
.z-nom { padding-top: 18px; }
.t-niveau { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #4F9A6E; margin-bottom: 6px; }
.t-niveau .jauge { width: 18px; height: 18px; }
.t-niveau .jauge .jauge-trait { transition: none; }
.t-titre { font-size: 23px; line-height: 1.15; font-weight: 700; letter-spacing: -.5px; }
.t-detail { font-size: 12.5px; line-height: 1.45; color: var(--encre-2); margin-top: 3px; }
.t-legende { font-size: 11px; color: var(--encre-3); }
.t-prix { font-size: 20px; font-weight: 700; letter-spacing: -.3px; line-height: 1.3; }
.t-lien { font-size: 12.5px; font-weight: 600; margin-top: 6px; }
.t-bloc { background: var(--jour-2); border-radius: 18px; padding: 14px 14px 12px; }
.t-section { font-size: 14px; font-weight: 700; letter-spacing: -.1px; }
.t-bouton { margin-top: 10px; height: 36px; border-radius: 999px; box-shadow: inset 0 0 0 1.2px rgba(29, 29, 31, .35); display: grid; place-items: center; font-size: 12.5px; font-weight: 600; }
.t-message { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; }
.t-message p { font-size: 12px; line-height: 1.4; background: var(--jour-2); border-radius: 4px 14px 14px 14px; padding: 8px 10px; }
.t-reponse { padding-left: 18px; }
.t-avatar { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--encre); color: var(--jour); font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.t-avatar-or { background: var(--or); color: var(--encre); }
.ecran-viseur { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; transition: transform .8s var(--doux), width .8s var(--doux), height .8s var(--doux); }
.ecran-viseur i { position: absolute; width: 14px; height: 14px; border: 2px solid var(--or); }
.ecran-viseur i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.ecran-viseur i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.ecran-viseur i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.ecran-viseur i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
/* miniatures des photos (cases vides) */
.t-miniatures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.ecran .ph { background: #E4E4E1; box-shadow: none; border-radius: 8px; }

/* ------------------------------------------------------------------ gratuit : le ticket du mois */
.gratuit { padding: clamp(72px, 11vh, 130px) 0; }
.gratuit-grille { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.faits { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; max-width: 32em; }
.faits li { display: flex; gap: 14px; align-items: baseline; color: var(--gris); }
.faits .losange { transform: translateY(-2px) rotate(45deg); width: 7px; height: 7px; }
.ticket-zone { perspective: 1200px; display: flex; justify-content: center; }
.ticket {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: flex; width: min(100%, 470px); aspect-ratio: 1.95; border-radius: 18px;
  background: linear-gradient(140deg, #2B2720 0%, #1D1B17 55%, #191815 100%);
  box-shadow: inset 0 0 0 1px rgba(216, 178, 76, .45), 0 50px 90px -50px rgba(0, 0, 0, 1), 0 20px 80px -40px rgba(216, 178, 76, .25);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-3deg); transition: transform .5s var(--doux);
  color: var(--blanc);
}
.ticket.suit { transition: transform .12s linear; }
/* encoches de la ligne de découpe */
.ticket::before, .ticket::after {
  content: ""; position: absolute; left: 72%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: var(--nuit);
  box-shadow: inset 0 0 0 1px rgba(216, 178, 76, .45);
}
.ticket::before { top: -13px; clip-path: inset(50% 0 0 0); }
.ticket::after { bottom: -13px; clip-path: inset(0 0 50% 0); }
.ticket-corps { flex: 0 0 72%; padding: 22px 26px 20px; display: flex; flex-direction: column; }
.ticket-haut { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.ticket-no { color: var(--gris-2); letter-spacing: .1em; }
.ticket-nombre {
  font: 400 clamp(4.5rem, 8.4vw, 7.25rem)/.9 var(--f-titre); letter-spacing: -.04em; margin-top: auto; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #F6E3A6 0%, #D8B24C 55%, #9C7A2A 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ticket-mot { font: 400 1.5rem/1.1 var(--f-titre); margin-top: 2px; }
.ticket-valide { font-size: .8125rem; color: var(--gris); margin-top: 10px; }
.ticket-utilise { font-size: .8125rem; color: var(--or-clair); min-height: 1.3em; }
.ticket-talon {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--or);
  border-left: 2px dashed rgba(216, 178, 76, .35); padding: 16px 10px;
}
.ticket-talon svg { width: 46px; height: 46px; }
.ticket-talon span { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: center; line-height: 1.4; color: var(--gris); }
.ticket-tampon {
  position: absolute; right: 33%; top: 27%; padding: 6px 14px; border-radius: 8px;
  font: 700 1.25rem/1 var(--f-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--or-clair);
  box-shadow: inset 0 0 0 2px var(--or-clair), inset 0 0 0 5px rgba(0, 0, 0, 0), inset 0 0 0 6px rgba(241, 218, 146, .55);
  transform: rotate(-14deg); opacity: .92; mix-blend-mode: screen;
}
.js .ticket-tampon { opacity: 0; transform: rotate(-14deg) scale(2.4); }
.ticket-tampon.pose { animation: tamponner .5s cubic-bezier(.7, 0, .3, 1) forwards; }
@keyframes tamponner {
  0% { opacity: 0; transform: rotate(-14deg) scale(2.4); }
  70% { opacity: .95; transform: rotate(-14deg) scale(.94); }
  100% { opacity: .92; transform: rotate(-14deg) scale(1); }
}
.ticket-reflet {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: soft-light; opacity: .9;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 240, 200, .55), transparent 45%);
}

/* ------------------------------------------------------------------ honnêteté */
.piste { padding: 0 0 clamp(80px, 12vh, 140px); }
.piste-boite {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 5vw, 80px); align-items: start;
  border: 1px solid var(--trait); border-radius: 28px; padding: clamp(28px, 5vw, 56px); background: linear-gradient(180deg, #191919, #161616);
}
.piste h2 { font: 400 clamp(1.875rem, 3.2vw, 3rem)/1.06 var(--f-titre); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.piste p { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; color: var(--gris); max-width: 33em; }

/* ------------------------------------------------------------------ téléchargement */
.final {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 92vh; min-height: 92svh; padding: 120px var(--gouttiere) 110px;
}
/* lueur et éclat couvrent la section et s'estompent avant ses bords : rien de coupé net sur la section du dessus */
.final::before, .final-eclat {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 180px, #000 calc(100% - 120px), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 180px, #000 calc(100% - 120px), transparent);
}
.final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% var(--eclat-y, 30%), rgba(216, 178, 76, .10), transparent min(45vw, 450px)); pointer-events: none;
  opacity: 0; transition: opacity 1.2s ease 1.5s;   /* pas de lueur avant l'animation : elle reste après l'éclat */
}
.final.revele::before { opacity: 1; }
.final-p { width: min(40vw, 150px); height: auto; aspect-ratio: 1; overflow: visible; margin-bottom: 44px; position: relative; }
.final-trace { fill: none; stroke: url(#or-final); stroke-width: 4.2; stroke-dasharray: 100.98 999; stroke-dashoffset: 100.98; }
.final-centre { fill: url(#or-final); transform-box: fill-box; transform-origin: center; transform: scale(0); }
.final-p.trace .final-trace { animation: tracer 1.2s cubic-bezier(.45, 0, .2, 1) forwards; }
.final-p.trace .final-centre { animation: grandir .34s cubic-bezier(.34, 1.8, .64, 1) 1.15s forwards; }
.final-titre { font: 400 clamp(2.5rem, 5.6vw, 5.25rem)/1.12 var(--f-titre); letter-spacing: -.03em; max-width: 13em; margin: 0 0 40px; position: relative; text-wrap: balance; }
.magasins-centre { justify-content: center; position: relative; }
.magasins-centre .magasins-bientot { text-align: center; }
.magasins-centre .badge img { height: 50px; }
/* le P tracé, son centre posé : un éclat doré passe sur le fond, puis le texte apparaît */
.final-eclat {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% var(--eclat-y, 30%), rgba(241, 218, 146, .3), rgba(216, 178, 76, .13) 260px, rgba(216, 178, 76, .035) 480px, transparent 720px);
}
.final.revele .final-eclat { animation: eclater 1.3s cubic-bezier(.2, .7, .3, 1) 1.38s forwards; }
@keyframes eclater { 0% { opacity: 0; } 14% { opacity: 1; } 100% { opacity: 0; } }
.js .final-titre, .js .final .magasins-centre { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .9s var(--doux); }
.js .final.revele .final-titre, .js .final.revele .magasins-centre { opacity: 1; transform: none; }
.js .final.revele .final-titre { transition-delay: 1.55s; }
.js .final.revele .magasins-centre { transition-delay: 1.75s; }

/* ------------------------------------------------------------------ pied de page */
.pied { border-top: 1px solid var(--trait); padding: 36px var(--gouttiere) calc(36px + env(safe-area-inset-bottom)); }
.pied-interne { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; color: var(--gris); font-size: .9375rem; }
.pied .marque { color: var(--blanc); }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.pied nav a { text-decoration: none; padding: 4px 0; }
.pied nav a:hover { color: var(--blanc); text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------------ message bref */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 70; max-width: calc(100vw - 32px);
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  padding: 14px 22px; border-radius: 999px; background: var(--blanc); color: var(--nuit); font-weight: 600; font-size: .9375rem;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); transition: opacity .35s ease, transform .45s var(--doux);
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ hauteur d'écran limitée (ordinateur) */
/* les objets suivent la taille de l'écran, sans paliers : taille pleine dès 1140 px de haut et 1470 px de large, au plus petit 60 % */
@media (min-width: 900px) { .objet { --u: clamp(.6px, min(.088vh, .068vw), 1px); } }

/* ------------------------------------------------------------------ mobile et tablette */
@media (max-width: 899px) {
  .accueil { min-height: 0; padding-top: 92px; }
  .accueil-haut { display: contents; }
  .accueil-texte { order: 1; }
  .etal { order: 2; margin-top: 4px; padding-top: 0; }
  .fiche { order: 3; width: auto; margin: 14px 0 56px; }
  .accueil-titre { font-size: clamp(2.75rem, 12.2vw, 4.5rem); }
  .accueil-sous { margin-bottom: 24px; }
  .badge img, .magasins-centre .badge img { height: 38px; }
  /* en haut de l’accueil : badges petits et grisés, sur la même ligne que « Bientôt disponible », pour que la carte remonte */
  .accueil .magasins { gap: 8px; }
  .accueil .magasins-bientot { flex-basis: auto; margin-right: 4px; font-size: .75rem; }
  .accueil .badge img { height: 28px; }
  .accueil .badge { filter: grayscale(1); opacity: .5; }
  .defile-piste { font-size: clamp(2.75rem, 12vw, 3.5rem); }
  .etal { display: flex; flex-direction: column; }
  /* la consigne passe sous les dessins, juste au-dessus de la carte résultat */
  .etal-consigne { justify-content: flex-start; margin: 0; }
  /* la table sur une seule ligne, qu'on fait glisser du doigt (ou avec les flèches), d'un bord de l'écran à l'autre */
  .etal-scene { margin: 0 calc(-1 * var(--gouttiere)); }
  .etal-rangs {
    align-items: flex-end; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    padding: 28px var(--gouttiere) 34px; scroll-padding: 0 var(--gouttiere); scrollbar-width: none;
    background: linear-gradient(90deg, transparent, rgba(216, 178, 76, .75) 10%, rgba(216, 178, 76, .75) 90%, transparent) left 0 bottom 34px / 100% 1px no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gouttiere), #000 calc(100% - var(--gouttiere)), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 var(--gouttiere), #000 calc(100% - var(--gouttiere)), transparent);
  }
  .etal-rangs::-webkit-scrollbar { display: none; }
  .etal-rangs::before, .etal-rangs::after { display: none; }
  .etal-rang { display: contents; }
  .objet { --k: .72; flex: none; padding: 0 14px; scroll-snap-align: center; }
  .viseur.suit { transition: opacity .3s ease; }
  /* visite du téléphone : un cran par étape (voir script.js), seulement en descendant */
  html { scroll-snap-type: y proximity; }
  .visite-cran { display: block; position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; scroll-snap-align: start; scroll-snap-stop: always; }
  .visite.remonte .visite-cran { scroll-snap-align: none; }
  .etal-fleche {
    display: grid; place-items: center; position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; padding: 0;
    border-radius: 50%; border: 1px solid rgba(216, 178, 76, .5); background: rgba(24, 24, 24, .88); color: var(--or-clair); cursor: pointer;
    transition: opacity .3s ease; -webkit-tap-highlight-color: transparent;
  }
  .etal-fleche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .etal-fleche-g { left: 6px; }
  .etal-fleche-d { right: 6px; }
  .etal-fleche.cache { opacity: 0; pointer-events: none; }
  .js.arrive .objet:hover { transform: none; }
  .fil { display: none; }

  .defile:first-of-type { margin-top: 20px; }

  .visite { height: 300vh; }
  .visite-collant {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; align-items: stretch;
    padding: 72px var(--gouttiere) 20px;
  }
  .visite-textes { display: contents; }
  .visite-textes .titre-section { grid-row: 1; font-size: 1.75rem; margin: 0; }
  .visite-tel { grid-row: 2; min-height: 0; }
  .etapes { grid-row: 3; margin: 0; min-height: 10.5em; }
  .etape h3 { font-size: 1.5rem; margin-bottom: 8px; }
  .etape p { font-size: 1rem; line-height: 1.5; }
  .progres { position: absolute; right: calc(var(--gouttiere) - 6px); top: 50%; margin: 0; flex-direction: column; transform: translateY(-50%); }
  .progres button { width: 28px; height: 28px; }

  .gratuit-grille { grid-template-columns: minmax(0, 1fr); }
  .ticket-zone { justify-content: flex-start; }
  .ticket { transform: rotate(-2deg); }
  .ticket-tampon { right: 31%; top: 22%; font-size: 1rem; padding: 5px 11px; }
  .piste-boite { grid-template-columns: minmax(0, 1fr); }

  .final { min-height: 0; padding: 110px var(--gouttiere) 96px; }
  .pied-interne { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .ticket-corps { padding: 18px 18px 16px; }
}

/* ------------------------------------------------------------------ mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .intro { display: none; }
  .js .ligne > span, .js .apparait, .js .objet { transform: none; opacity: 1; transition: none; }
  .js .entete .marque span, .js .entete .entete-cta, .js .entete .marque svg { opacity: 1; }
  .viseur.scan .viseur-scan, .viseur.flash .viseur-flash { animation: none; }
  .jauge-charge .jauge-trait { animation: none; stroke-dasharray: 80 999; }
  .etape, .ecran-defile, .ecran-viseur, .fiche { transition-duration: .01s; }
  .js .ticket-tampon { opacity: .92; transform: rotate(-14deg); }
  .final-trace { stroke-dashoffset: 0; }
  .final-centre { transform: none; }
  .js .final-titre, .js .final .magasins-centre { opacity: 1; transform: none; transition: none; }
  .final-eclat { display: none; }
}

/* ------------------------------------------------------------------ pages légales */
.page-legale .entete .marque span, .page-legale .entete .entete-cta, .page-legale .entete .marque svg { opacity: 1; }
.page-legale .entete::before { opacity: 1; }
.legal { max-width: 720px; margin: 0 auto; padding: 128px var(--gouttiere) 96px; }
.legal h1 { font: 400 clamp(2.5rem, 6vw, 4rem)/1 var(--f-titre); letter-spacing: -.025em; margin: 0 0 12px; }
.legal .maj { color: var(--gris-2); font-size: .9375rem; margin-bottom: 48px; }
.legal h2 { font: 400 1.625rem/1.15 var(--f-titre); letter-spacing: -.015em; margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid var(--trait); }
.legal p, .legal li { color: var(--gris); line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; margin: 12px 0 0; }
.legal li { margin: 6px 0; }
.legal a { color: var(--blanc); text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0; }
.legal dt { color: var(--gris-2); }
.legal dd { margin: 0; color: var(--blanc); }
@media (max-width: 560px) {
  .legal dl { grid-template-columns: 1fr; gap: 0; }
  .legal dd { margin-bottom: 10px; }
}

/* ------------------------------------------------------------------ cases d'image vides (aucune photo, aucun dessin) */
.ph {
  display: block; width: 100%; aspect-ratio: 1; border-radius: 8px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

/* pages légales : sous-titres et paragraphe après une liste de définitions */
.legal h3 { font: 600 1rem/1.4 var(--f-texte, inherit); color: var(--blanc); margin: 28px 0 6px; }
.legal h2 + h3 { margin-top: 8px; }
.legal dl + p, .legal .legal-suite { margin-top: 16px; }
.legal dl dt { line-height: 1.5; }
.legal dl dd { line-height: 1.5; }
.legal dl.deux-colonnes { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 10px 32px; }
.legal ul + p { margin-top: 16px; }
@media (max-width: 640px) { .legal dl.deux-colonnes { grid-template-columns: 1fr; gap: 0; } }
