/* « La rue », la page d'accueil si Technomania était une startup de produits (exploration, 2026-12-02).
   S'appuie sur carnet.css de E (jetons jour et nuit, boutons, scotch, polices). Préfixe su-. Jamais de violet
   (seul le logo de RangZero, couleur du produit, est indigo). */

:root {
  /* Couleurs de la scène et des cartes, les mêmes de jour et de nuit : la rue est une image claire, les photos sont
     des tirages papier, les étiquettes se posent sur la rue. */
  --su-scene-fond: #F6F0E4; --su-etiquette-fond: #FFFFFF; --su-etiquette-encre: #1B1F3B; --su-etiquette-actif: #D2F34C;
  --su-photo-fond: #FFFFFF; --su-icone-socle: #FFFFFF; --su-signe-citron: #D2F34C; --su-signe-noir: #0D0E10;
  --su-photo-tirage: #F4EFE6; --su-photo-encre: #2440E8; --su-vapeur: #FFFFFF; --su-lieu-survol: rgba(210, 243, 76, 0.14);
  --su-telephone: #15171C; --su-telephone-ombre: 0 1px 0 rgba(27, 31, 59, 0.08), 0 22px 40px -24px rgba(27, 31, 59, 0.55);
}
:root { --su-rue-rapport: 4.652; }
/* La hauteur de la rue suit la largeur de sa boîte (unités de conteneur), jamais 100vw : une barre de défilement de la
   page rétrécit la boîte sans faire déborder la scène. */
.su-rue__scene { --su-rue-h: clamp(300px, calc(100cqw / 4.652), 620px); }
@media (max-width: 699px) { .su-rue__scene { --su-rue-h: 360px; } }
@media (max-width: 699px) and (max-height: 700px) { .su-rue__scene { --su-rue-h: 340px; } }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.su-page { margin: 0; min-height: 100vh; }

/* ---------- En-tête ---------- */
.su-entete {
  position: sticky; top: 0; z-index: 20;
  background: var(--carnet-entete-verre); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--carnet-entete-filet);
}
html { scroll-padding-top: 88px; }
.su-entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.su-entete__marque { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--carnet-texte); text-decoration: none; }
.su-signe { width: 40px; height: 40px; flex: none; }
.su-entete__nom { font: 800 1.1875rem/1 var(--carnet-f-titre); letter-spacing: -0.02em; }
.su-entete__nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.su-entete__nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px;
  font: 600 1rem/1 var(--carnet-f-texte); color: var(--carnet-texte);
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: text-decoration-color 0.15s ease;
}
.su-entete__nav a:hover { text-decoration-color: var(--carnet-trait); }
@media (max-width: 599px) { html { scroll-padding-top: 76px; } .su-entete__barre { min-height: 64px; gap: 8px; } .su-signe { width: 36px; height: 36px; } .su-entete__nom { font-size: 1rem; } .su-entete__nav a { padding: 0 8px; font-size: 0.9375rem; } .su-entete__marque { min-width: 48px; } }
@media (max-width: 360px) { .su-entete__barre .su-entete__nom { display: none; } }
/* Même règle quand le texte est agrandi (réglage du téléphone) : si l'en-tête déborde, le nom s'efface, le signe reste. */
.su-entete__barre.su-sans-nom .su-entete__nom { display: none; }
@media (max-width: 439px) { .su-entete__nav-apps { display: none; } .su-entete__nom { font-size: 0.9375rem; } .su-entete__barre { gap: 6px; } }
.su-entete__nav a { white-space: nowrap; }

*, *::before, *::after { box-sizing: border-box; }
.su-entete__nav { margin-left: auto; }
.su-entete__wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 48px; min-height: 48px; padding: 0 16px 0 12px;
  border-radius: 999px; border: 2px solid var(--carnet-bouton-bord); background: var(--carnet-citron); color: var(--carnet-sur-citron);
  font: 600 1rem/1 var(--carnet-f-texte); text-decoration: none; box-shadow: var(--carnet-bouton-ombre);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.su-entete__wa:hover { transform: translate(-1px, -1px); box-shadow: var(--carnet-bouton-ombre-survol); }
.su-entete__wa .cn-icone { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 759px) { .su-entete__wa { padding: 0; width: 48px; } .su-entete__wa-texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.su-pied__contacts { display: flex; flex-wrap: wrap; gap: 0 28px; list-style: none; margin: 0; padding: 16px 0 0; }
.su-pied__contacts a { display: inline-flex; align-items: center; flex-wrap: wrap; column-gap: 0.3em; min-height: 48px; font-size: 1rem; }
.su-pied__contacts a > span { white-space: nowrap; }
/* Deux numéros WhatsApp (France, Sénégal) : chacun son lien de 48 px ; le pays en texte secondaire, le numéro jamais coupé. */
.su-pied__wa { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.3em; }
.su-pied__wa > span { white-space: nowrap; font-size: 1rem; }
.su-pied__wa a:not(:last-child) { margin-right: calc(20px - 0.3em); }
.su-pied__wa .su-pays { color: var(--carnet-pied-texte-2); }
.su-numero { white-space: nowrap; }

/* ---------- Ouverture ---------- */
.su-ouverture { padding-top: clamp(20px, 4vw, 48px); }
.su-ouverture__texte { position: relative; padding-bottom: clamp(18px, 2.6vw, 30px); }
.su-repere {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font: 600 0.9375rem/1.3 var(--carnet-f-texte); letter-spacing: 0.09em; text-transform: uppercase; color: var(--carnet-texte-2);
}
.su-titre {
  max-width: 15ch; margin: 0;
  font: 800 clamp(2.3rem, 1.2rem + 3.3vw, 4.4rem)/1.04 var(--carnet-f-titre); letter-spacing: -0.02em;
}
.su-annonce { max-width: 40ch; margin: 18px 0 0; font: 600 clamp(1.125rem, 0.9rem + 0.6vw, 1.375rem)/1.45 var(--carnet-f-texte); color: var(--carnet-texte); }
.su-annonce + .su-chapeau { margin-top: 8px; }
.su-chapeau { max-width: 34ch; margin: 16px 0 0; font-size: clamp(1.0625rem, 1.2vw + 0.75rem, 1.3125rem); line-height: 1.5; color: var(--carnet-texte-2); }
.su-note {
  /* Dans la rangée des commandes : sur téléphone, une ligne à elle au-dessus de la pause et des flèches ; à partir de
     820 px, juste à gauche de la pause, sa flèche descend dans la rue. */
  position: relative; z-index: 4; order: -1; flex: 1 0 100%; margin: 0 0 10px;
  font: 600 clamp(1.75rem, 2.4vw, 2.25rem)/1 var(--carnet-f-main); color: var(--carnet-trait);
  transform: rotate(-2deg); display: flex; align-items: flex-end; gap: 4px;
}
/* Sous 820 px, la note est une ligne au-dessus de la pause et des flèches : sa flèche viserait les boutons, on l'ôte. */
@media (max-width: 819px) { .su-note__fleche { display: none; } .su-note { margin-bottom: 6px; } }
/* Petit écran (320 × 568) : le haut de la rue doit entrer dans le premier écran ; seuls les espacements se resserrent. */
@media (max-width: 379px) {
  .su-ouverture { padding-top: 10px; }
  .su-ouverture__texte { padding-bottom: 8px; }
  .su-repere { margin-bottom: 8px; }
  .su-annonce { margin-top: 10px; line-height: 1.35; }
  .su-annonce + .su-chapeau { margin-top: 6px; }
  .su-chapeau { line-height: 1.4; }
  .su-rue__commandes { padding-bottom: 8px; }
}
@media (min-width: 820px) {
  .su-note { order: 0; flex: none; margin: 0 6px 0 0; }
  .su-note__fleche { margin-bottom: -22px; }
}
.su-note__fleche { width: 70px; height: 56px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }


/* ---------- La rue ---------- */
.su-rue { position: relative; }
.su-rue__piste {
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: none; container-type: inline-size;
  border-block: 2px solid var(--carnet-filet-fort);
  background: var(--su-scene-fond);
}
.su-rue__piste:focus { outline: none; }
/* Pas de barre native sous la rue : on la parcourt par les flèches, le glisser, la molette ou le clavier */
.su-rue__piste::-webkit-scrollbar { display: none; }
/* Fondu du bord où la rue continue : plancher à 0,7 pour que les étiquettes coupées restent lisibles (4,5:1) */
.su-rue.su-plus-droite .su-rue__piste { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), rgba(0,0,0,0.7)); mask-image: linear-gradient(to right, #000 calc(100% - 56px), rgba(0,0,0,0.7)); }
.su-rue.su-plus-gauche .su-rue__piste { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 56px), rgba(0,0,0,0.7)); mask-image: linear-gradient(to left, #000 calc(100% - 56px), rgba(0,0,0,0.7)); }
.su-rue.su-plus-gauche.su-plus-droite .su-rue__piste { -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.7), #000 56px, #000 calc(100% - 56px), rgba(0,0,0,0.7)); mask-image: linear-gradient(to right, rgba(0,0,0,0.7), #000 56px, #000 calc(100% - 56px), rgba(0,0,0,0.7)); }
.su-rue__scene {
  position: relative; height: var(--su-rue-h); width: calc(var(--su-rue-h) * var(--su-rue-rapport));
  min-width: 100%; margin-inline: auto;
}
@media (min-width: 700px) { .su-rue__scene { max-width: none; } }
.su-rue__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; display: block; }

/* Le livreur : garé par défaut (état final, sans script, en mouvement réduit) */
.su-scooter { position: absolute; top: 61.77%; height: 36.71%; width: auto; pointer-events: none; }
.su-scooter--arret { left: 42.94%; }
.su-scooter--roulant { left: 43.65%; opacity: 0; }
.su-rue.su-avant .su-scooter--arret { opacity: 0; }
.su-rue.su-avant .su-scooter--roulant { opacity: 1; transform: translateX(-540%); }
.su-rue.su-arrive .su-scooter--roulant { opacity: 1; transform: translateX(0); transition: transform 2.8s cubic-bezier(0.22, 0.72, 0.28, 1); animation: su-cahot 0.32s ease-in-out 9 alternate; }
.su-rue.su-gare .su-scooter--roulant { opacity: 0; transition: opacity 0.25s ease; }
.su-rue.su-gare .su-scooter--arret { opacity: 1; transition: opacity 0.25s ease; }
@keyframes su-cahot { from { translate: 0 0; } to { translate: 0 -1.2%; } }
.su-rue.su-sans-transition .su-scooter { transition: none; animation: none; }

/* La vapeur du plat de Kuizyn : ambiance en boucle, avec pause */
.su-vapeur { position: absolute; left: 71.1%; top: 34%; width: 1.7%; height: 13%; fill: none; stroke: var(--su-vapeur); stroke-width: 3; stroke-linecap: round; pointer-events: none; opacity: 0.75; }
.su-vapeur path { opacity: 0.7; }
@media (prefers-reduced-motion: no-preference) {
  html.js .su-vapeur path { animation: su-vapeur 3.4s ease-in-out infinite; opacity: 0; }
  html.js .su-vapeur path:nth-child(2) { animation-delay: 1.1s; }
  html.js .su-vapeur path:nth-child(3) { animation-delay: 2.2s; }
}
@keyframes su-vapeur { 0% { opacity: 0; transform: translateY(14%); } 35% { opacity: 0.85; } 100% { opacity: 0; transform: translateY(-16%); } }
.su-rue.su-en-pause .su-vapeur path { animation-play-state: paused; }

/* Les lieux : de vrais boutons posés sur la scène */
.su-lieu {
  position: absolute; display: block; margin: 0; padding: 0; border: 0; border-radius: 18px;
  background: transparent; color: var(--su-etiquette-encre); cursor: pointer; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.su-lieu--rangzero { left: 1.09%; top: 8.86%; width: 18.23%; height: 67.72%; }
.su-lieu--amnagaz { left: 20.03%; top: 17.72%; width: 19.59%; height: 58.86%; }
.su-lieu--atelier { left: 40.33%; top: 4.43%; width: 14.53%; height: 57%; }
.su-lieu--detour-zero { left: 42.94%; top: 61.77%; width: 9.28%; height: 36.71%; }
.su-lieu--kuizyn { left: 55.56%; top: 18.35%; width: 24.46%; height: 58.23%; }
.su-lieu--caddie { left: 80.73%; top: 10.13%; width: 16.82%; height: 66.46%; }
.su-lieu::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 3px transparent; transition: box-shadow 0.15s ease, background-color 0.15s ease;
}
.su-lieu:hover::before { background: var(--su-lieu-survol); box-shadow: inset 0 0 0 3px var(--su-etiquette-actif); }
.su-lieu:focus { outline: none; }
.su-lieu:focus-visible::before { box-shadow: inset 0 0 0 3px var(--su-etiquette-encre), 0 0 0 4px var(--su-etiquette-actif); background: var(--su-lieu-survol); }

.su-lieu__etiquette {
  position: absolute; left: 50%; top: calc(100% + 0.6 * var(--su-rue-h) * 0.03); translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 10px;
  border-radius: 999px; border: 2px solid var(--su-etiquette-encre); background: var(--su-etiquette-fond); color: var(--su-etiquette-encre);
  font: 600 1rem/1.1 var(--carnet-f-texte); white-space: nowrap; width: max-content;
  box-shadow: 3px 3px 0 var(--su-etiquette-encre); scroll-snap-align: center; transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.su-lieu__etiquette > * { flex: none; }
.su-lieu__etiquette img, .su-lieu__etiquette .su-signe { width: 26px; height: 26px; border-radius: 6px; object-fit: contain; }
.su-lieu:hover .su-lieu__etiquette, .su-lieu:focus-visible .su-lieu__etiquette { transform: translateY(-2px); box-shadow: 5px 5px 0 var(--su-etiquette-encre); }
.su-lieu[aria-current="true"] .su-lieu__etiquette { background: var(--su-etiquette-actif); }
/* L'atelier : son étiquette se pose sur la devanture, sous l'enseigne et au-dessus du livreur (44 % de la scène),
   loin des étiquettes du trottoir. L'atelier lui-même est le point d'arrêt du défilement au centre (la rue s'ouvre sur
   lui à partir de 700 px). */
.su-lieu--atelier { scroll-snap-align: center; }
.su-lieu--atelier .su-lieu__etiquette { top: 69%; scroll-snap-align: none; }
.su-lieu--detour-zero .su-lieu__etiquette { left: 100%; top: 34%; translate: 6px 0; scroll-snap-align: none; }
.su-lieu--detour-zero { scroll-snap-align: start; scroll-margin-left: 28px; }
.su-lieu--kuizyn .su-lieu__etiquette { left: 64%; }

.su-rue__commandes { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; }
@media (min-width: 820px) { .su-rue__commandes { flex-wrap: nowrap; align-items: flex-end; justify-content: flex-end; gap: 10px; } }
.su-rue__fleches { display: flex; gap: 10px; }
.su-rue__fleches[hidden] { display: none; }
.su-rond {
  display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 2px solid var(--carnet-texte); background: var(--carnet-surface); color: var(--carnet-texte);
  box-shadow: 3px 3px 0 var(--carnet-filet-fort); cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.su-rond:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--carnet-filet-fort); }
.su-rond:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--carnet-filet-fort); }
.su-rond svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.su-rond__pause, .su-rond__lecture { fill: currentColor !important; stroke: none !important; }
.su-rond__lecture { display: none; }
[data-en-pause] .su-rond__pause { display: none; }
[data-en-pause] .su-rond__lecture { display: block; }
.su-pastille-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 12px; border-radius: 999px;
  border: 2px solid var(--carnet-texte); background: var(--carnet-surface); color: var(--carnet-texte);
  font: 600 0.9375rem/1.1 var(--carnet-f-texte); box-shadow: 3px 3px 0 var(--carnet-filet-fort); cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.su-pastille-btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--carnet-filet-fort); }
.su-pastille-btn svg { width: 18px; height: 18px; flex: none; }
html:not(.js) .su-rue__pause, html:not(.js) .su-rue__fleches { display: none; }
@media (prefers-reduced-motion: reduce) { [data-pause] { visibility: hidden; } }

/* ---------- Les apps ---------- */
.su-apps { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 80px); scroll-margin-top: 0; }
.su-titre-section { margin: 0; font: 800 clamp(1.75rem, 3.8vw, 3.25rem)/1.08 var(--carnet-f-titre); letter-spacing: -0.03em; max-width: 22ch; }
.su-intro { margin: 14px 0 0; max-width: 46ch; font-size: clamp(1.0625rem, 1vw + 0.75rem, 1.25rem); line-height: 1.55; color: var(--carnet-texte-2); }
.su-choix { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 28px 0 0; padding: 0; }
html:not(.js) .su-choix { display: none; }
.su-choix__bouton {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 10px;
  border-radius: 999px; border: 2px solid var(--carnet-texte); background: var(--carnet-surface); color: var(--carnet-texte);
  font: 600 1rem/1.1 var(--carnet-f-texte); cursor: pointer; transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.su-choix__bouton img { width: 28px; height: 28px; padding: 2px; border-radius: 7px; object-fit: contain; background: var(--su-icone-socle); box-shadow: 0 0 0 1px var(--carnet-filet); }
.su-choix__bouton:hover { background: var(--carnet-surface-douce); box-shadow: 3px 3px 0 var(--carnet-filet-fort); }
.su-choix__bouton[aria-pressed="true"] { background: var(--carnet-citron); color: var(--carnet-sur-citron); border-color: var(--carnet-bouton-bord); box-shadow: var(--carnet-bouton-ombre); }

.su-fiches { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 56px; }
html.js .su-fiche[hidden] { display: none; }
.su-fiche {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr;
  grid-template-areas: "plateau haut" "plateau corps"; gap: 0 clamp(28px, 4vw, 64px); align-items: start;
}
.su-fiche > .su-plateau { grid-area: plateau; }
.su-fiche__haut { grid-area: haut; }
.su-fiche__corps { grid-area: corps; }
@media (max-width: 859px) {
  .su-fiche { grid-template-columns: 1fr; grid-template-areas: "haut" "plateau" "corps"; }
  .su-fiche > .su-plateau { margin-top: 26px; }
}
.su-photo { position: relative; margin: 0; padding: 12px 12px 0; background: var(--su-photo-fond); border: 1px solid var(--carnet-feuille-bord); border-radius: 10px; box-shadow: var(--carnet-feuille-ombre); transform: rotate(-1.4deg); max-width: 520px; }
.su-photo__cadre { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--su-photo-tirage); }
.su-photo__cadre img { display: block; width: 100%; height: 100%; object-fit: cover; }
.su-photo__note { padding: 8px 6px 12px; font: 600 1.75rem/1 var(--carnet-f-main); color: var(--su-photo-encre); text-align: center; }
.su-fiche--test .su-photo { border: 2px dashed var(--carnet-trait); transform: rotate(0.6deg); }
@media (max-width: 859px) { .su-photo { transform: none; max-width: 420px; } .su-fiche--test .su-photo { transform: none; } }

.su-fiche__tete { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 16px; }
.su-logo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--su-icone-socle); border: 2px solid var(--carnet-feuille-bord); }
.su-logo img { width: 48px; height: 48px; object-fit: contain; }
.su-logo--petit img { width: 40px; height: 40px; }
.su-nom { margin: 0; font: 800 clamp(1.375rem, 2vw, 1.625rem)/1.15 var(--carnet-f-titre); letter-spacing: -0.025em; width: fit-content; }
.su-nom:focus { outline: none; }
.su-nom:focus-visible { outline: 3px solid var(--carnet-anneau); outline-offset: 4px; border-radius: 6px; }
.su-metier { margin: 4px 0 0; font-size: 1rem; color: var(--carnet-texte-2); }
.su-etat { margin: 0; display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border-radius: 999px; font: 600 0.9375rem/1.25 var(--carnet-f-texte); white-space: nowrap; }
.su-etat--en-ligne { background: var(--carnet-citron); color: var(--carnet-sur-citron); border: 2px solid var(--carnet-bouton-bord); }
.su-etat--pilote { border: 2px solid var(--carnet-trait); color: var(--carnet-texte); }
.su-etat--test { border: 2px dashed var(--carnet-trait); color: var(--carnet-texte); }
@media (max-width: 479px) { .su-fiche__tete { grid-template-columns: auto 1fr; } .su-etat { grid-column: 1 / -1; justify-self: start; } }
.su-accroche { margin: 22px 0 0; font: 800 clamp(1.5rem, 2.4vw, 2.125rem)/1.15 var(--carnet-f-titre); letter-spacing: -0.025em; max-width: 20ch; }
.su-parties { margin: 26px 0 0; display: grid; gap: 18px; }
.su-partie { display: grid; grid-template-columns: 150px 1fr; gap: 6px 20px; padding-top: 16px; border-top: 1.5px dashed var(--carnet-filet); }
@media (max-width: 599px) { .su-partie { grid-template-columns: 1fr; } }
.su-partie dt { font: 700 0.9375rem/1.4 var(--carnet-f-texte); letter-spacing: 0.06em; text-transform: uppercase; color: var(--carnet-texte-2); }
.su-partie dd { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.su-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.su-points li { position: relative; padding-left: 22px; }
.su-points li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 11px; height: 2.5px; border-radius: 2px; background: var(--carnet-trait); }
.su-fiche__pied { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.su-fiche, .su-choix { scroll-margin-top: 96px; }
@media (max-width: 599px) { .su-fiche, .su-choix { scroll-margin-top: 80px; } }
.su-retour { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font: 600 1rem/1.2 var(--carnet-f-texte); color: var(--carnet-texte); text-decoration: underline; text-decoration-color: var(--carnet-trait); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.su-retour .cn-icone { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#rue { scroll-margin-top: 88px; }

/* ---------- L'atelier ---------- */
.su-atelier { padding-block: clamp(48px, 7vw, 104px); border-top: 2px solid var(--carnet-filet-fort); }
.su-atelier__grille { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 520px); justify-content: center; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 859px) { .su-atelier__grille { grid-template-columns: 1fr; } .su-photo--atelier { order: 2; } }
.su-photo--atelier { transform: rotate(1.2deg); }
@media (max-width: 859px) { .su-photo--atelier { transform: none; } }
.su-contacts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 4px; }
.su-contacts a { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-height: 48px; padding-block: 12px; color: var(--carnet-texte); text-decoration: none; }
.su-contacts__libelle { font-weight: 700; text-decoration: underline; text-decoration-color: var(--carnet-trait); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.su-contacts__valeur { color: var(--carnet-texte-2); overflow-wrap: anywhere; }

/* ---------- Pied de page ---------- */
.su-pied { background: var(--carnet-pied-fond); color: var(--carnet-pied-texte); padding-block: 40px 48px; }
.su-pied :focus-visible { outline: 3px solid var(--su-signe-citron); outline-offset: 3px; border-radius: 6px; }
.su-pied a { color: var(--carnet-pied-texte); text-decoration-color: var(--su-signe-citron); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.su-pied__haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-bottom: 24px; border-bottom: 1px solid var(--carnet-pied-filet); }
.su-pied__marque { color: var(--carnet-pied-texte); }
.su-pied__apps { display: flex; flex-wrap: wrap; gap: 0 20px; list-style: none; margin: 0; padding: 0; }
.su-pied__apps a, .su-pied__apps span { display: inline-flex; align-items: center; min-height: 48px; font-size: 1rem; }
.su-pied__apps .cn-icone { width: 16px; height: 16px; margin-left: 4px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.su-pied__apps span { color: var(--carnet-pied-texte-2); }
.su-pied__credits { padding-top: 20px; color: var(--carnet-pied-texte-2); font-size: 0.9375rem; line-height: 1.55; }
.su-pied__credits p { margin: 6px 0 0; }
.su-pied__credits a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.su-pied__titre { margin: 0; font: 700 1rem/1.3 var(--carnet-f-texte); color: var(--carnet-pied-texte); }

/* ---------- Ajouts : pause sur la scène, plateau des fiches, contact, pied ---------- */
.su-rue__commandes { padding-top: 0; padding-bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .su-rue__pause { display: none; } }

.su-plateau { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); padding: 28px 28px 0; border-radius: 16px; background: var(--carnet-surface-douce); border: 1px solid var(--carnet-feuille-bord); }
.su-plateau .su-photo { width: 72%; max-width: 380px; }
.su-plateau:not(.su-plateau--seul) .su-photo { padding-bottom: 12px; }
.su-plateau:not(.su-plateau--seul) .su-photo__note {
  position: absolute; left: -4px; top: calc(100% + 14px); width: 62%; padding: 0;
  text-align: left; transform: rotate(-2deg); color: var(--carnet-trait);
}
.su-plateau--seul { padding-bottom: 28px; }
.su-plateau--seul .su-photo { width: 100%; max-width: 460px; justify-self: center; }
.su-telephone { position: relative; margin: -50% 0 0 auto; width: 44%; max-width: 230px; z-index: 2; justify-self: end; }
.su-telephone__cadre {
  display: block; overflow: hidden; border-radius: 30px;
  border: 7px solid var(--su-telephone); background: var(--su-telephone); box-shadow: var(--su-telephone-ombre);
}
/* Un seul format pour tous les écrans : 9:20, le téléphone du CTO (1080 x 2400). */
.su-telephone__cadre img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 20; object-fit: cover; border-radius: 22px; }
.su-telephone figcaption { padding: 10px 2px 22px; font-size: 0.9375rem; line-height: 1.4; color: var(--carnet-texte); text-align: right; }
@media (max-width: 859px) { .su-plateau { max-width: 560px; } }
@media (max-width: 479px) { .su-plateau { padding: 18px 16px 0; } .su-telephone { width: 50%; margin-top: -40%; } .su-telephone__cadre { border-radius: 24px; border-width: 6px; } .su-telephone__cadre img { border-radius: 18px; } }

.su-contact { padding-block: clamp(56px, 7vw, 104px); background: var(--carnet-surface-douce); border-top: 2px solid var(--carnet-filet-fort); }
.su-contact__grille { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 64px; align-items: center; }
@media (max-width: 859px) { .su-contact__grille { grid-template-columns: 1fr; } }
.su-contact__actions { display: grid; justify-items: start; gap: 12px; }
.su-contact__actions .cn-icone { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.su-contact__numero { display: grid; justify-items: start; list-style: none; margin: 0 0 8px 4px; padding: 0; font-size: 1rem; color: var(--carnet-texte-2); }
.su-contact__numero a { display: inline-flex; align-items: center; column-gap: 0.4em; min-height: 48px; text-decoration: underline; text-decoration-color: var(--carnet-trait); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.su-contact__numero a:hover { text-decoration-thickness: 3px; }
.su-contact__numero .su-numero { color: var(--carnet-texte); }
.su-contact__mail { max-width: 100%; }
.su-contact__mail span { min-width: 0; }
@media (max-width: 479px) { .su-contact__actions, .su-contact__actions .tm-bouton { width: 100%; } }

.su-pied__legal { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; margin: 16px 0 0; padding: 0; }
.su-pied__legal a { display: inline-flex; align-items: center; min-height: 48px; font-size: 0.9375rem; color: var(--carnet-pied-texte-2); }
.su-pied__credits .su-pied__lien { display: inline-flex; align-items: center; min-height: 48px; margin-block: -14px; padding: 0; }

/* ---------- Le plan du quartier (téléphone, < 700 px ; 2026-12-03) ----------
   Sous 700 px, la rue (une fenêtre sur une boutique et demie) laisse place à un plan du quartier dessiné, qu'on fait
   glisser d'un doigt et qu'on pince pour zoomer (js/carte-quartier.js). Les six épingles sont des liens dans l'ordre de
   lecture ; toucher une épingle ouvre sa fiche sur le plan (le personnage ou la devanture en grand), d'où l'on descend à la
   fiche du produit comme depuis la rue. Le plan reste clair de jour comme de nuit, comme la rue. Sans script : le plan
   entier, immobile, et des épingles qui mènent aux fiches. À partir de 700 px, rien de ceci n'existe. */
:root {
  --su-plan-route: #FFFDF7; --su-plan-encre: #1B1F3B; --su-plan-carte: #FFFFFF; --su-plan-citron: #D2F34C;
  --su-plan-anneau: #2440E8; --su-plan-tirage: #F4EFE6; --su-plan-pointe: 64px;
}
.su-carte, .su-carte__zoom { display: none; }
@media (max-width: 699px) {
  .su-rue__piste { display: none; }
  .su-carte { display: block; }
  html.js .su-carte__zoom { display: flex; gap: 10px; margin-left: auto; }
  .su-carte__zoom .su-rond[aria-disabled="true"] { opacity: 0.45; box-shadow: none; transform: none; cursor: default; }

  .su-carte__vue {
    /* content-box : la bordure s'ajoute, le plan entier tient dans le cadre au repos (et sans script) */
    position: relative; overflow: hidden; width: 100%; box-sizing: content-box;
    aspect-ratio: 1000 / 1240; min-height: 320px; max-height: min(68vh, 540px); max-height: min(68svh, 540px);
    border-block: 2px solid var(--carnet-filet-fort); background: var(--su-plan-route);
    -webkit-tap-highlight-color: transparent;
  }
  /* Le doigt fait glisser le plan, pas la page ; hors du plan, la page défile comme d'habitude */
  html.js .su-carte__vue { touch-action: none; cursor: grab; -webkit-user-select: none; user-select: none; overscroll-behavior: contain; }
  html.js .su-carte__vue.su-saisie { cursor: grabbing; }
  html:not(.js) .su-carte__vue { max-height: none; }
  .su-carte__monde { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1000 / 1240; transform-origin: 0 0; }
  .su-carte__plan { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
  .su-carte__monde img { -webkit-user-drag: none; }

  /* Épingle : la pointe de la bulle est sur la porte du lieu ; l'épingle garde sa taille quel que soit le zoom */
  .su-epingle {
    position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center;
    color: var(--su-plan-encre); text-decoration: none; -webkit-tap-highlight-color: transparent;
    transform: translate(-50%, calc(-1 * var(--su-plan-pointe))) scale(calc(1 / var(--z, 1)));
    transform-origin: 50% var(--su-plan-pointe);
  }
  .su-epingle--rangzero { left: 25%; top: 22.5%; }
  .su-epingle--amnagaz { left: 75%; top: 22.5%; }
  .su-epingle--atelier { left: 25%; top: 53.952%; }
  .su-epingle--detour-zero { left: 75%; top: 53.952%; }
  .su-epingle--kuizyn { left: 25%; top: 85.403%; }
  .su-epingle--caddie { left: 75%; top: 85.403%; }
  .su-epingle__bulle {
    position: relative; display: block; width: 56px; height: 56px; margin-bottom: 8px; border-radius: 50%;
    border: 3px solid var(--su-plan-encre); background: var(--su-plan-tirage); box-shadow: 2px 3px 0 var(--su-plan-encre);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .su-epingle__bulle img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
  /* la queue de la bulle, qui pique la porte */
  .su-epingle__bulle::after {
    content: ""; position: absolute; left: 50%; top: calc(100% - 3px); width: 14px; height: 11px; translate: -50% 0;
    background: var(--su-plan-encre); clip-path: polygon(0 0, 100% 0, 50% 100%);
  }
  .su-epingle__nom {
    display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; margin-top: 4px;
    border-radius: 999px; border: 2px solid var(--su-plan-encre); background: var(--su-plan-carte); color: var(--su-plan-encre);
    font: 600 0.9375rem/1.1 var(--carnet-f-texte); white-space: nowrap; box-shadow: 2px 2px 0 var(--su-plan-encre);
  }
  .su-epingle:focus { outline: none; }
  .su-epingle:focus-visible .su-epingle__bulle { box-shadow: 0 0 0 3px var(--su-plan-carte), 0 0 0 6px var(--su-plan-anneau); }
  .su-epingle:focus-visible .su-epingle__nom { outline: 3px solid var(--su-plan-anneau); outline-offset: 2px; }
  .su-epingle[aria-expanded="true"] { z-index: 3; }
  .su-epingle[aria-expanded="true"] .su-epingle__bulle { transform: translateY(-3px); box-shadow: 0 0 0 4px var(--su-plan-citron), 3px 5px 0 4px var(--su-plan-encre); }
  .su-epingle[aria-expanded="true"] .su-epingle__nom { background: var(--su-plan-citron); }
  @media (hover: hover) { .su-epingle:hover .su-epingle__bulle { transform: translateY(-3px); } }

  /* Bouton « Recentrer » : n'apparaît qu'une fois le plan déplacé ou zoomé */
  .su-carte__recentrer { position: absolute; z-index: 5; top: 10px; right: 10px; }
  .su-carte__recentrer[hidden] { display: none; }

  /* Fiche d'une épingle, posée en bas du plan : le personnage ou la devanture en grand, le nom, puis la fiche du produit */
  .su-carte__fiche {
    position: absolute; z-index: 6; left: 10px; right: 10px; bottom: 10px;
    display: grid; grid-template-columns: clamp(112px, 33vw, 148px) minmax(0, 1fr);
    grid-template-areas: "photo nom" "photo metier" "voir voir"; grid-template-rows: auto 1fr auto;
    gap: 4px 12px; padding: 10px; border: 2px solid var(--su-plan-encre); border-radius: 18px;
    background: var(--su-plan-carte); color: var(--su-plan-encre); box-shadow: 4px 4px 0 var(--su-plan-encre);
    cursor: auto; -webkit-user-select: text; user-select: text;
  }
  .su-carte__fiche[hidden] { display: none; }
  .su-carte__photo { grid-area: photo; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; border: 2px solid var(--su-plan-encre); background: var(--su-plan-tirage); }
  .su-carte__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .su-carte__nom {
    grid-area: nom; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 2px 0 0;
    font: 800 clamp(1rem, 0.6rem + 2.2vw, 1.125rem)/1.15 var(--carnet-f-titre); letter-spacing: -0.02em;
  }
  .su-carte__nom img, .su-carte__nom .su-signe { width: 32px; height: 32px; border-radius: 8px; object-fit: contain; }
  .su-carte__nom:focus { outline: none; }
  .su-carte__nom:focus-visible { outline: 3px solid var(--su-plan-anneau); outline-offset: 3px; border-radius: 6px; }
  .su-carte__metier { grid-area: metier; margin: 0; font-size: 0.9375rem; line-height: 1.35; color: #4A5068; }
  .su-carte__voir {
    grid-area: voir; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin-top: 6px;
    border-radius: 999px; border: 2px solid var(--su-plan-encre); background: var(--su-plan-citron); color: var(--su-plan-encre);
    font: 600 1.0625rem/1.2 var(--carnet-f-texte); text-decoration: none; box-shadow: 3px 3px 0 var(--su-plan-encre);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .su-carte__voir:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--su-plan-encre); }
  .su-carte__voir .cn-icone { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .su-carte__voir:focus-visible, .su-carte__fermer:focus-visible { outline: 3px solid var(--su-plan-anneau); outline-offset: 3px; }
  .su-carte__fermer {
    position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: var(--su-plan-encre); cursor: pointer;
  }
  .su-carte__fermer svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
  @media (prefers-reduced-motion: no-preference) {
    .su-carte__fiche:not([hidden]) { animation: su-fiche-monte 0.22s cubic-bezier(0.22, 0.72, 0.28, 1); }
  }
  @keyframes su-fiche-monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

  .su-carte__consigne {
    display: flex; align-items: center; gap: 8px; margin: 10px 0 0; padding-inline: var(--carnet-gouttiere);
    font-size: 0.9375rem; line-height: 1.35; color: var(--carnet-texte-2);
  }
  .su-carte__consigne .cn-icone { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  html:not(.js) .su-carte__consigne { display: none; }
}

/* ---------- La maquette 3D du quartier (téléphone, < 700 px ; 2026-12-03) ----------
   js/carte-3d-chargeur.js charge js/carte-3d.js (Three.js) quand la carte approche, si l'appareil le permet. La maquette se
   pose par-dessus le plan 2D, qui reste dessous et reprend la main si elle se retire. Les noms des lieux sont des liens HTML
   posés au-dessus du canvas (ordre de lecture, clavier, 48 px au moins) ; le script place chacun sur son panneau. */
@media (max-width: 699px) {
  .su-carte3d { position: absolute; inset: 0; z-index: 1; opacity: 0; background: var(--su-scene-fond); }
  .su-carte--3d .su-carte3d { opacity: 1; }
  @media (prefers-reduced-motion: no-preference) { .su-carte3d { transition: opacity 0.35s ease; } }
  .su-carte--3d .su-carte__monde, .su-carte--3d .su-carte__recentrer { visibility: hidden; }
  .su-carte3d__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
  .su-carte3d__lieux { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .su-lieu3d {
    position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center;
    color: var(--su-plan-encre); text-decoration: none; pointer-events: auto; -webkit-tap-highlight-color: transparent;
    will-change: transform;
  }
  .su-lieu3d__cible { display: block; width: 56px; height: 58px; border-radius: 14px; }
  .su-lieu3d__nom {
    display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; margin-top: -16px;
    border-radius: 999px; border: 2px solid var(--su-plan-encre); background: var(--su-plan-carte); color: var(--su-plan-encre);
    font: 600 0.9375rem/1.1 var(--carnet-f-texte); white-space: nowrap; box-shadow: 2px 2px 0 var(--su-plan-encre);
  }
  /* le nom chevauche le bas du panneau (comme une légende collée), pour laisser voir le bâtiment dessous ; zone tactile du nom : 48 px de haut au moins, sans grossir l'étiquette */
  .su-lieu3d__nom { position: relative; }
  .su-lieu3d__nom::before { content: ""; position: absolute; left: -6px; right: -6px; top: -9px; bottom: -9px; }
  .su-lieu3d--dehors { opacity: 0; pointer-events: none; }
  .su-lieu3d:focus { outline: none; }
  .su-lieu3d:focus-visible { opacity: 1; }
  .su-lieu3d:focus-visible .su-lieu3d__cible { box-shadow: 0 0 0 3px var(--su-plan-carte), 0 0 0 6px var(--su-plan-anneau); }
  .su-lieu3d:focus-visible .su-lieu3d__nom { outline: 3px solid var(--su-plan-anneau); outline-offset: 2px; }
  .su-lieu3d[aria-expanded="true"] { z-index: 2; }
  .su-lieu3d[aria-expanded="true"] .su-lieu3d__nom { background: var(--su-plan-citron); }
  .su-carte3d__outils { position: absolute; z-index: 5; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 10px; }
  .su-carte3d__outils .su-rond[hidden] { display: none; }
  /* boussole : la pointe pleine montre le haut du plan (le nord) quand la maquette a tourné */
  .su-carte3d__tourner svg path { stroke-width: 1.8; }
  .su-carte3d__tourner svg .su-carte3d__nord { fill: currentColor; }
  .su-carte--3d .su-carte__fiche { z-index: 6; }
}
