/* Vitrine myPicBooth : charte 2024 (DESIGN.md). Couleurs de la charte
   uniquement ; bande verticale du degrade au bord gauche en signature. */
:root {
  --nuit: #030062; --indigo: #240090; --violet: #870DC7; --fuchsia: #C12F9B; --orange: #FF842B;
  --nuit-profond: #020031; --indigo-doux: #353381; --lavande: #7370CF; --lavande-claire: #E9E7F7;
  --fond: #F4F3FA; --papier: #FFFFFF; --bordure: #DCD9EE; --erreur: #C0392B;
  --degrade: linear-gradient(120deg, #030062 0%, #240090 28%, #870DC7 55%, #C12F9B 78%, #FF842B 100%);
  --titre: "Acumin ExtraCondensed", "Acumin Variable", "Aribau Grotesk", "Libre Franklin", "Segoe UI", Arial, sans-serif;
  --texte: "Aribau Grotesk", "Libre Franklin", "Franklin Gothic Medium", "Segoe UI", Arial, sans-serif;
  --r-s: 8px; --r-m: 12px; --r-l: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--nuit); font: 16px/1.5 var(--texte); border-left: 6px solid; border-image: var(--degrade) 1; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } video { display: none; } }
a { color: var(--indigo); }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 6vw, 60px); text-transform: uppercase; }
h2 { font-size: clamp(26px, 4vw, 38px); text-transform: uppercase; }
h3 { font-size: 20px; }
[hidden] { display: none !important; }

.bandeau-preprod { margin: 0; padding: 6px 16px; background: var(--orange); color: var(--nuit); font-weight: 600; text-align: center; }
.entete { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; background: var(--nuit); flex-wrap: wrap; }
.marque { color: var(--papier); font: 700 24px var(--titre); text-transform: uppercase; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--papier); text-decoration: none; }

.bouton { display: inline-block; padding: 11px 18px; border-radius: var(--r-s); font-weight: 600; text-decoration: none; border: 2px solid transparent; background: var(--indigo); color: var(--papier); cursor: pointer; font: inherit; font-weight: 600; }
.bouton:hover { background: var(--violet); }
.bouton-accent { background: var(--orange); color: var(--nuit); }
.bouton-accent:hover { background: #B2520C; color: var(--papier); }
.bouton-contour { background: transparent; border-color: currentColor; color: inherit; }
.bouton:disabled { opacity: .6; cursor: wait; }
.lien { background: none; border: 0; color: var(--indigo); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: 56px 20px; background: var(--degrade); color: var(--papier); }
.hero .surtitre { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin: 0 0 8px; }
.hero-sous { font-size: 19px; max-width: 34em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.telephone { width: 240px; aspect-ratio: 9 / 18; margin: auto; border: 8px solid var(--nuit-profond); border-radius: 32px; overflow: hidden; background: var(--nuit-profond); }
.telephone img, .telephone video { width: 100%; height: 100%; object-fit: contain; display: block; }

.bloc { max-width: 1160px; margin: 0 auto; padding: 48px 20px; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.filtre { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--bordure); background: var(--papier); color: var(--nuit); font: inherit; cursor: pointer; }
.filtre[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: var(--papier); }
.filtres-type .filtre { font-size: 14px; padding: 5px 12px; }
.compteur { color: var(--indigo-doux); margin: 8px 0 16px; }

.grille { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grille-2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grille-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grille-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.carte, .encart { background: var(--papier); border: 1px solid var(--bordure); border-radius: var(--r-m); overflow: hidden; }
.encart { padding: 20px; }
.carte-visuel { position: relative; aspect-ratio: 4 / 3; background: var(--lavande-claire); }
.carte-visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.type { display: inline-block; padding: 3px 9px; border-radius: 4px; background: var(--nuit); color: var(--papier); font-size: 12px; font-weight: 600; }
.carte-visuel .type { position: absolute; top: 10px; left: 10px; }
.carte { display: flex; flex-direction: column; }
.carte-corps { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.pastilles { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.pastille { padding: 3px 10px; border-radius: 999px; background: var(--lavande-claire); color: var(--indigo); font-size: 13px; }
.hero .pastille { background: rgba(255, 255, 255, .18); color: var(--papier); }
.carte-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: auto 0 0; padding-top: 12px; }
.vide { padding: 20px; background: var(--papier); border-radius: var(--r-m); }

.etapes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; padding: 0; list-style: none; counter-reset: e; }
.etapes li { counter-increment: e; background: var(--papier); border-radius: var(--r-m); padding: 18px; border: 1px solid var(--bordure); }
.etapes li::before { content: counter(e); display: block; font: 700 36px var(--titre); color: var(--fuchsia); }
.logos { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; padding: 0; font: 700 24px var(--titre); color: var(--indigo-doux); text-transform: uppercase; }
.chiffres { display: flex; flex-wrap: wrap; gap: 32px; }
.chiffre strong { font: 700 34px var(--titre); color: var(--violet); }
.moment { background: var(--nuit); color: var(--papier); border-radius: var(--r-l); }
.prix { font: 700 22px var(--titre); color: var(--fuchsia); }
details { background: var(--papier); border: 1px solid var(--bordure); border-radius: var(--r-s); padding: 12px 16px; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 600; }
.proches { display: flex; gap: 12px; flex-wrap: wrap; }
.proche { padding: 8px 14px; background: var(--papier); border: 1px solid var(--bordure); border-radius: var(--r-s); text-decoration: none; }

.formulaire { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; background: var(--papier); padding: 20px; border-radius: var(--r-m); border: 1px solid var(--bordure); }
.champ { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.champ input, .champ select, .champ textarea { font: inherit; font-weight: 400; padding: 10px; border: 1px solid var(--bordure); border-radius: var(--r-s); background: var(--papier); color: var(--nuit); }
.champ [aria-invalid="true"] { border-color: var(--erreur); }
.champ-erreur, .erreur { color: var(--erreur); font-size: 14px; font-weight: 400; min-height: 1em; }
.case, .formulaire .erreur, .formulaire .cf-turnstile, #devis-envoyer, .formulaire > .champ-erreur { grid-column: 1 / -1; }
.merci { padding: 20px; background: var(--lavande-claire); border-radius: var(--r-m); font-weight: 600; }
.legale { max-width: 760px; }
.pied { padding: 28px 20px; background: var(--nuit); color: var(--papier); font-size: 14px; }
.pied a { color: var(--papier); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 36px 16px; }
  .telephone { width: 180px; }
  .bloc { padding: 36px 16px; }
  .nav { gap: 12px; font-size: 15px; }
}

/* --- Pages de contenu : fil d Ariane, pages objectif et saison, hubs */
.fil { max-width: 1160px; margin: 0 auto; padding: 14px 20px 0; font-size: 14px; }
.fil ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fil li + li::before { content: "›"; margin-right: 6px; color: var(--indigo-doux); }
.fil a { color: var(--indigo); }
.fil [aria-current] { color: var(--indigo-doux); }
.hero-page { grid-template-columns: 1fr; }
.hero-page .hero-texte { max-width: 820px; }
.hero-page p { font-size: 18px; max-width: 42em; }
.intro { font-size: 19px; max-width: 46em; }
.liste { columns: 2 260px; padding-left: 20px; }
.liste li { margin-bottom: 6px; }
.carte-lien { display: block; color: var(--nuit); text-decoration: none; }
.carte-lien:hover { border-color: var(--orange); }
.carte-lien h2 { font-size: 22px; }
.hero-sous-clair { font-size: 18px; max-width: 42em; color: var(--indigo-doux); }
.faq details { max-width: 860px; }

/* --- Promenade : une rue de galerie marchande, la mascotte marche devant */
.promenade .rue { position: relative; height: 470px; overflow-x: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; overflow-y: hidden; border-radius: var(--r-l);
  background: linear-gradient(180deg, #E9E7F7 0%, #F4F3FA 60%, #DCD9EE 60%, #DCD9EE 100%); scrollbar-width: thin; }
.rue-sol { position: relative; display: flex; align-items: flex-end; gap: 40px; width: max-content; height: 100%; padding: 0 80px 190px; }
.vitrine { min-width: 220px; padding: 12px; background: var(--papier); border: 3px solid var(--nuit); border-top: 18px solid var(--indigo); border-radius: var(--r-m) var(--r-m) 0 0; }
.vitrine h3 { font-size: 16px; text-transform: uppercase; color: var(--indigo); }
.etal { display: flex; gap: 10px; }
.objet { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 104px; min-height: 44px; padding: 6px;
  border: 1px solid var(--bordure); border-radius: var(--r-s); background: var(--fond); color: var(--nuit); font: inherit; font-size: 13px; cursor: pointer; }
.objet img { width: 92px; height: 69px; object-fit: cover; border-radius: 6px; }
.objet:hover { border-color: var(--orange); }
.objet.proche { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange); }
.rue img { -webkit-user-drag: none; }
.objet-stand { width: 130px; padding: 14px 8px; border: 0; background: var(--nuit); color: var(--papier); }
.stand-enseigne { font-size: 30px; color: var(--orange); }
.mascotte { position: absolute; left: 0; bottom: 16px; z-index: 2; width: 100px; pointer-events: none;
  transition-property: transform; transition-timing-function: linear; }
.mascotte img { display: block; width: 100%; }
.mascotte[data-sens="droite"] img { transform: scaleX(-1); }
.mascotte.marche img { animation: marche .36s ease-in-out infinite alternate; }
@keyframes marche { from { translate: 0 0; rotate: -3deg; } to { translate: 0 -8px; rotate: 3deg; } }
.bulle { position: absolute; bottom: 62%; left: 88%; width: 180px; margin: 0; padding: 8px 10px;
  background: var(--papier); border: 2px solid var(--nuit); border-radius: var(--r-m); font-size: 13px; font-weight: 600; }
.fiche { width: calc(100% - 32px); max-width: 420px; padding: 24px; border: 0; border-radius: var(--r-l); color: var(--nuit); }
.fiche::backdrop { background: rgba(2, 0, 49, .6); }
@media (max-width: 760px) { .promenade .rue { height: 420px; } .rue-sol { padding-bottom: 170px; } .mascotte { width: 84px; } }

.raccourcis-rue { align-items: center; }
.raccourcis-libelle { color: var(--indigo-doux); font-weight: 600; margin-right: 4px; }
.raccourcis-rue .filtre { font-size: 14px; padding: 5px 12px; }
@media (max-width: 760px) {
  .raccourcis-rue { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .raccourcis-rue .filtre, .raccourcis-libelle { flex: none; }
}

/* Commandes de la rue : touches de clavier dessinees sur ordinateur, gros
   boutons ◀ ▶ sur ecran tactile. */
.commandes-rue { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.aide-rue { margin: 0; text-align: center; color: var(--indigo-doux); font-size: 15px; }
kbd { display: inline-block; min-width: 1.9em; padding: 2px 7px; border: 1px solid var(--bordure); border-bottom-width: 3px;
  border-radius: 6px; background: var(--papier); color: var(--nuit); font: 600 14px var(--texte); text-align: center; }
.touche-rue { padding: 0; border: 0; background: none; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none; }
.touche-rue kbd { min-width: 3em; padding: 8px 12px; font-size: 22px; }
.touche-rue:active kbd { border-bottom-width: 1px; transform: translateY(2px); }
.aide-tactile { display: none; }
@media (hover: none), (pointer: coarse) {
  .aide-clavier { display: none; }
  .aide-tactile { display: inline; }
  .touche-rue kbd { width: 64px; height: 64px; min-width: 0; padding: 0; border: 0; border-radius: 50%;
    background: var(--indigo); color: var(--papier); font-size: 0; line-height: 64px; }
  .touche-rue[data-marche="-1"] kbd::before { content: "◀"; font-size: 26px; }
  .touche-rue[data-marche="1"] kbd::before { content: "▶"; font-size: 26px; }
  .touche-rue:active kbd { background: var(--violet); transform: none; }
  .aide-rue { font-size: 13px; flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .mascotte { transition: none; } .mascotte.marche img { animation: none; } }
