/* Vitrine myPicBooth : theme « lumineux » (design/lumineux/DESIGN.md).
   Feuille autonome, generee avec `node vitrine/outils/generer.js --theme lumineux`.
   Meme HTML que le theme par defaut : seules la feuille et les polices changent.

   Ecarts assumes au DESIGN.md, tous pour l accessibilite (WCAG 2.2 AA) :
   - texte des boutons turquoise en quasi-noir #111111 (9,7:1) et non en blanc
     (1,9:1 sur #00D1B2, illisible) ;
   - liens en quasi-noir souligne de turquoise (le turquoise seul fait 1,9:1
     sur blanc) ;
   - texte d erreur en #B91C1C (6,5:1) ; #EF4444 (3,8:1) reste pour les bordures ;
   - etats coches et focus marques en quasi-noir (contraste non textuel >= 3:1),
     le turquoise n y est qu un fond d appoint. */
:root {
  /* Couleurs (noms du DESIGN.md) */
  --primary: #00D1B2;
  --primary-60: #4BE0C9;
  --primary-70: #22D8C0;
  --primary-80: #00B89D;
  --primary-10: #E6FAF7;        /* teinte de fond derivee de --primary */
  --secondary: #111111;
  --tertiary: #6B7280;
  --neutral: #F7F7F8;
  --surface: #FFFFFF;
  --on-surface: #000000;
  --on-primary: #111111;        /* ecart accessibilite : voir en-tete */
  --surface-muted: #F3F4F6;
  --border: #E5E7EB;
  --border-strong: #D1D5DB;
  --error: #EF4444;
  --error-text: #B91C1C;        /* ecart accessibilite : voir en-tete */

  /* Typographie */
  --font-display: "DM Sans", "DM Sans LF", "Segoe UI", Arial, sans-serif;
  --font-ui: "Inter", "Inter LF", "Segoe UI", Arial, sans-serif;
  --headline-display: clamp(40px, 5vw + 4px, 60px); /* titre de heros ; jamais > 96px */
  --headline-lg: clamp(34px, 4vw + 4px, 52px);
  --headline-md: clamp(28px, 2.4vw + 12px, 40px);
  --headline-sm: 20px;

  /* Formes et espacements */
  --rounded-sm: 4px; --rounded-md: 6px; --rounded-lg: 8px; --rounded-xl: 12px; --rounded-full: 9999px;
  --spacing-xs: 6px; --spacing-sm: 16px; --spacing-md: 32px; --spacing-lg: 64px; --spacing-xl: 96px;
  --gutter: 24px; --section: 80px;
  --largeur: 1120px;
  --ombre-douce: 0 1px 2px rgba(17, 17, 17, .06);
  --ombre-flottante: 0 8px 24px rgba(17, 17, 17, .08), 0 1px 2px rgba(17, 17, 17, .06);
  /* Marge laterale qui aligne un element pleine largeur sur la colonne */
  --marge-colonne: max(var(--gutter), calc((100% - var(--largeur)) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--secondary); font: 400 16px/24px var(--font-display); letter-spacing: -0.08px;
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } video { display: none; } }
[hidden] { display: none !important; }
img { max-width: 100%; }

a { color: var(--secondary); text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--secondary); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--secondary); text-transform: none; margin: 0 0 16px; }
h1, h2 { text-wrap: balance; }
h1 { font-size: var(--headline-lg); line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: var(--headline-md); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 24px; }
h3 { font-size: var(--headline-sm); line-height: 28px; letter-spacing: -0.01em; margin-bottom: 8px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 6px; }
li::marker { color: var(--tertiary); }

:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; border-radius: var(--rounded-sm); }

/* --- Bandeau, en-tete ---------------------------------------------------- */
.bandeau-preprod { margin: 0; padding: 6px var(--gutter); background: var(--surface-muted); color: var(--secondary); border-bottom: 1px solid var(--border);
  font: 500 12px/16px var(--font-ui); letter-spacing: .02em; text-align: center; }
.entete { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px var(--marge-colonne); background: var(--surface); border-bottom: 1px solid var(--border); }
.marque { display: inline-flex; align-items: center; gap: 8px; color: var(--secondary); font: 700 20px/28px var(--font-display); letter-spacing: -0.02em; text-decoration: none; }
.marque::before { content: ""; width: 14px; height: 14px; border-radius: var(--rounded-sm); background: var(--primary); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font: 500 14px/20px var(--font-ui); }
.nav a { color: var(--secondary); text-decoration: none; }
.nav a:not(.bouton) { padding: 8px 12px; border-radius: var(--rounded-md); }
.nav a:not(.bouton):hover { background: var(--surface-muted); }
.nav .bouton { margin-left: 8px; }

/* --- Boutons ------------------------------------------------------------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 8px 16px;
  border: 1px solid var(--border-strong); border-radius: var(--rounded-md); background: var(--surface); color: var(--secondary);
  font: 500 14px/20px var(--font-ui); letter-spacing: 0; text-decoration: none; cursor: pointer; box-shadow: var(--ombre-douce);
  transition: background-color .15s ease, border-color .15s ease; }
.bouton:hover { background: var(--neutral); border-color: var(--secondary); }
.bouton-accent { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.bouton-accent:hover { background: var(--primary-80); border-color: var(--primary-80); color: var(--on-primary); }
.bouton-contour { background: var(--surface); border-color: var(--border-strong); color: var(--secondary); }
.bouton:disabled { opacity: .6; cursor: wait; }
.lien { background: none; border: 0; padding: 0; color: var(--secondary); font: 500 14px/20px var(--font-ui); cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lien:hover { text-decoration-color: var(--secondary); }
@media (prefers-reduced-motion: reduce) { .bouton { transition: none; } }

/* --- Heros --------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--spacing-lg); align-items: center;
  max-width: calc(var(--largeur) + 2 * var(--gutter)); margin: 0 auto; padding: 72px var(--gutter) 48px; background: var(--surface); color: var(--secondary); }
.hero h1 { font-size: var(--headline-display); line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 20px; }
.hero .surtitre { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 12px; border-radius: var(--rounded-full);
  background: var(--surface-muted); color: var(--secondary); font: 500 12px/16px var(--font-ui); letter-spacing: .02em; text-transform: none; }
.hero .surtitre::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.hero-sous { max-width: 34em; margin-bottom: 0; color: var(--tertiary); font-size: 18px; line-height: 28px; letter-spacing: -0.1px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 0; }
.hero-note { margin: 16px 0 0; max-width: 36em; color: var(--tertiary); font: 400 14px/20px var(--font-ui); }
.preuves-hero { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--border); max-width: 40em; color: var(--tertiary); font: 500 13px/20px var(--font-ui); }
.telephone { width: 240px; aspect-ratio: 9 / 18; margin: auto; overflow: hidden; border: 6px solid var(--secondary); border-radius: 36px;
  background: var(--neutral); box-shadow: var(--ombre-flottante); }
.telephone img, .telephone video { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Illustration seule (pas de video) : format paysage 2:1 des vignettes, en carte
   plutot qu en ecran de telephone a moitie vide ; le cadre de telephone reste
   pour une video (portrait). */
.telephone:has(> img) { width: 100%; max-width: 460px; aspect-ratio: 2 / 1; border: 1px solid var(--border); border-radius: var(--rounded-xl); }
.telephone:has(> img) img { object-fit: cover; }
.benefices { list-style: none; margin: 24px 0 0; padding: 0; }
.benefices li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.benefices li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 12px; border-radius: var(--rounded-sm); background: var(--primary); }

/* Pages objectif et saison : heros texte seul */
.hero-page { grid-template-columns: minmax(0, 1fr); padding-top: var(--spacing-lg); }
.hero-fiche { padding-top: 48px; }
.hero-page .hero-texte { max-width: 820px; }
.hero-page p { max-width: 42em; color: var(--tertiary); font-size: 18px; line-height: 28px; }
.hero-page p.surtitre { font-size: 12px; line-height: 16px; color: var(--secondary); }
.echeance { display: flex; align-items: baseline; gap: 8px; width: fit-content; max-width: 100%; margin: 0 0 24px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: var(--rounded-md);
  background: var(--surface); color: var(--secondary); font: 500 13px/18px var(--font-ui); }
.surtitre + .echeance { margin-top: -8px; }
.echeance::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); transform: translateY(-2px); }
.hero-page p.echeance { font-size: 13px; line-height: 18px; color: var(--secondary); }

/* --- Sections ------------------------------------------------------------- */
.bloc { max-width: calc(var(--largeur) + 2 * var(--gutter)); margin: 0 auto; padding: calc(var(--section) / 2) var(--gutter); }
main > .bloc:last-child, main > section:last-child { padding-bottom: var(--section); }
.intro + * { margin-top: var(--spacing-md); }
.intro { max-width: 40em; margin: 0; color: var(--secondary); font-size: 20px; line-height: 32px; letter-spacing: -0.2px; }
.liste { columns: 2 260px; column-gap: var(--spacing-md); padding-left: 20px; }
.liste li { margin-bottom: 8px; break-inside: avoid; }

/* Bloc « du moment » (Noel) : carte neutre discrete, pas de bande pleine largeur */
.moment { width: min(var(--largeur), calc(100% - 2 * var(--gutter))); margin: 0 auto; padding: 40px; border: 1px solid var(--border); border-radius: var(--rounded-lg);
  background: var(--neutral); color: var(--secondary); }
.moment h2 { font-size: clamp(24px, 1.6vw + 14px, 32px); margin-bottom: 12px; }
.moment p { max-width: 44em; color: var(--tertiary); }
.moment .actions { margin-top: 24px; }
.moment + .bloc, .hero + .moment + .bloc { padding-top: var(--section); }

/* --- Filtres, pastilles, compteur ------------------------------------------ */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filtre { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--rounded-full);
  background: var(--surface); color: var(--secondary); font: 500 13px/18px var(--font-ui); cursor: pointer; transition: border-color .15s ease; }
.filtre:hover { border-color: var(--secondary); }
.filtre[aria-pressed="true"] { background: var(--secondary); border-color: var(--secondary); color: var(--surface); }
.filtres-type .filtre { min-height: 28px; padding: 4px 10px; border-color: transparent; background: var(--surface-muted); font-size: 12px; line-height: 16px; }
.filtres-type .filtre:hover { border-color: var(--border-strong); }
.filtres-type .filtre[aria-pressed="true"] { background: var(--secondary); border-color: var(--secondary); color: var(--surface); }
.compteur { margin: 16px 0 20px; color: var(--tertiary); font: 400 13px/18px var(--font-ui); }
.pastilles { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.pastille { display: inline-block; padding: 4px 10px; border: 1px solid transparent; border-radius: var(--rounded-full); background: var(--surface-muted); color: var(--secondary);
  font: 500 12px/16px var(--font-ui); letter-spacing: .02em; }
.hero .pastille { background: var(--surface-muted); color: var(--secondary); }
.type { display: inline-block; padding: 4px 10px; border: 1px solid var(--border); border-radius: var(--rounded-full); background: var(--surface); color: var(--secondary);
  font: 500 12px/16px var(--font-ui); letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .filtre { transition: none; } }

/* --- Grilles et cartes ------------------------------------------------------ */
.grille { display: grid; gap: var(--gutter); grid-template-columns: repeat(auto-fill, minmax(300px, 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 { overflow: hidden; background: var(--surface); color: var(--on-surface); border: 1px solid var(--border); border-radius: var(--rounded-lg); }
.encart { padding: 24px; }
.encart h2 { font-size: var(--headline-sm); line-height: 28px; letter-spacing: -0.01em; margin-bottom: 12px; }
.encart p:last-child, .encart ul:last-child { margin-bottom: 0; }
.encart p { color: var(--tertiary); }
.carte { display: flex; flex-direction: column; transition: border-color .15s ease; }
.carte:hover { border-color: var(--border-strong); }
.carte-visuel { position: relative; aspect-ratio: 2 / 1; background: var(--neutral); border-bottom: 1px solid var(--border); }
.carte-visuel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.carte-visuel .type { position: absolute; top: 12px; left: 12px; }
.carte-corps { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.carte-corps h3 { font-size: 18px; line-height: 26px; margin-bottom: 4px; }
.carte-corps p { color: var(--tertiary); font-size: 15px; line-height: 22px; }
.carte-corps .pastilles { margin: 0 0 4px; }
.carte-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding-top: 12px; }
.vide { padding: 24px; border: 1px dashed var(--border-strong); border-radius: var(--rounded-lg); background: var(--surface); color: var(--tertiary); }
.carte-lien { display: block; color: var(--secondary); text-decoration: none; transition: border-color .15s ease; }
.carte-lien:hover { border-color: var(--secondary); }
.carte-lien h2 { font-size: 20px; line-height: 28px; }
.carte-lien h2::after { content: " →"; color: var(--tertiary); }
.carte-lien p { margin-bottom: 0; }
.hero-sous-clair { max-width: 42em; margin-bottom: var(--spacing-md); color: var(--tertiary); font-size: 18px; line-height: 28px; }
@media (prefers-reduced-motion: reduce) { .carte, .carte-lien { transition: none; } }

/* --- Etapes, preuves, formules, FAQ ------------------------------------------ */
.etapes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--gutter); margin: 0; padding: 0; list-style: none; counter-reset: e; }
.etapes li { counter-increment: e; margin: 0; padding: 20px; border: 1px solid var(--border); border-radius: var(--rounded-lg); background: var(--surface); color: var(--tertiary); }
.etapes li strong { display: block; margin-bottom: 4px; color: var(--secondary); font-weight: 500; font-size: 17px; }
.etapes li::before { content: counter(e); display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 16px;
  border-radius: var(--rounded-md); background: var(--primary); color: var(--on-primary); font: 500 14px/20px var(--font-ui); }
.logos { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0 0 var(--spacing-md); padding: 0; list-style: none;
  color: var(--tertiary); font: 500 20px/28px var(--font-display); letter-spacing: -0.02em; text-transform: none; }
.logos li { margin: 0; }
.preuves .logos { font-size: 20px; }
.chiffres { display: flex; flex-wrap: wrap; gap: var(--gutter) var(--spacing-lg); padding-top: var(--spacing-md); border-top: 1px solid var(--border); }
.chiffre { margin: 0; color: var(--tertiary); font: 400 14px/20px var(--font-ui); }
.chiffre strong { display: block; margin-bottom: 2px; color: var(--secondary); font: 500 36px/44px var(--font-display); letter-spacing: -0.03em; }
.pack { display: flex; flex-direction: column; }
.pack h3 { font-size: 22px; }
.pack ul { padding-left: 18px; color: var(--secondary); }
.pack > p:last-child { margin: auto 0 0; }
.prix, .encart .prix { margin: 8px 0 20px; color: var(--secondary); font: 500 24px/32px var(--font-display); letter-spacing: -0.02em; }
.pack-conseille { border: 1px solid var(--secondary); box-shadow: var(--ombre-flottante); }
.etiquette, .encart .etiquette { align-self: flex-start; display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: var(--rounded-full);
  background: var(--primary); color: var(--on-primary); font: 500 12px/16px var(--font-ui); letter-spacing: .02em; }
.packs-aide { margin-top: 24px; color: var(--tertiary); font-size: 15px; }
details { max-width: 860px; margin: 0; padding: 0; border-bottom: 1px solid var(--border); background: transparent; }
details:first-of-type { border-top: 1px solid var(--border); }
summary { position: relative; padding: 18px 40px 18px 0; cursor: pointer; list-style: none; color: var(--secondary); font: 500 17px/26px var(--font-display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--tertiary); font: 400 22px/1 var(--font-ui); }
details[open] summary::after { content: "−"; }
details > p { margin: 0 0 20px; max-width: 44em; color: var(--tertiary); }
.faq details { max-width: 860px; }
.proches { display: flex; flex-wrap: wrap; gap: 8px; }
a.proche { display: inline-flex; align-items: center; min-height: 36px; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--rounded-md);
  background: var(--surface); color: var(--secondary); font: 500 14px/20px var(--font-ui); text-decoration: none; transition: border-color .15s ease; }
a.proche:hover { border-color: var(--secondary); }
#themes h3 { margin-top: 24px; color: var(--tertiary); font: 500 14px/20px var(--font-ui); }
@media (prefers-reduced-motion: reduce) { a.proche { transition: none; } }

/* --- Formulaire de devis (deux etapes) ---------------------------------------- */
.devis-chapeau { max-width: 46em; color: var(--tertiary); }
.formulaire { max-width: 880px; padding: var(--spacing-md); border: 1px solid var(--border); border-radius: var(--rounded-lg); background: var(--surface); box-shadow: var(--ombre-douce); }
.champ { display: flex; flex-direction: column; gap: 6px; color: var(--secondary); font: 500 14px/20px var(--font-ui); }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: var(--rounded-md);
  background: var(--surface); color: var(--on-surface); font: 400 15px/22px var(--font-ui); }
.champ textarea { resize: vertical; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--tertiary); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 2px solid var(--secondary); outline-offset: 0; border-color: var(--secondary); }
.champ [aria-invalid="true"] { border-color: var(--error); }
.champ-erreur, .erreur { min-height: 1em; color: var(--error-text); font: 400 13px/18px var(--font-ui); }
.case, .formulaire .erreur, .formulaire .cf-turnstile, #devis-envoyer, .etape-champs > .champ-erreur, .rassurance, .groupe { grid-column: 1 / -1; }
.case { display: flex; gap: 10px; align-items: flex-start; color: var(--secondary); font: 400 14px/20px var(--font-ui); }
.case input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--secondary); }
#devis-envoyer { justify-self: start; }
.rassurance { margin: 0; color: var(--tertiary); font: 400 13px/20px var(--font-ui); }
.merci { padding: var(--spacing-md); border: 1px solid var(--border); border-radius: var(--rounded-lg); background: var(--neutral); }
.merci:focus { outline: none; }
.merci-titre { margin-top: 0; color: var(--secondary); font: 500 24px/32px var(--font-display); letter-spacing: -0.02em; text-transform: none; }
.etape { min-width: 0; margin: 0; padding: 0; border: 0; }
.etape + .etape { margin-top: var(--spacing-md); padding-top: var(--spacing-md); border-top: 1px solid var(--border); }
.etape-titre { margin-bottom: 20px; padding: 0; color: var(--secondary); font: 500 22px/30px var(--font-display); letter-spacing: -0.02em; text-transform: none; }
.etape-indicateur { margin: 0 0 8px; color: var(--tertiary); font: 500 12px/16px var(--font-ui); letter-spacing: .02em; }
.etape-champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.etape-nav { margin: 24px 0 0; }
.etape[data-etape="2"] > .etape-nav { margin: 0 0 20px; }
.groupe { min-width: 0; margin: 0; padding: 0; border: 0; }
.groupe legend { margin-bottom: 8px; padding: 0; }
.choix-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.choix { position: relative; cursor: pointer; font-weight: 400; }
.choix input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.choix span { display: block; padding: 7px 14px; border: 1px solid var(--border-strong); border-radius: var(--rounded-full); background: var(--surface); color: var(--secondary);
  font: 500 13px/20px var(--font-ui); transition: border-color .15s ease; }
.choix:hover span { border-color: var(--secondary); }
.choix input:checked + span { background: var(--secondary); border-color: var(--secondary); color: var(--surface); }
.choix input:focus-visible + span { outline: 2px solid var(--secondary); outline-offset: 2px; }
.choix input[aria-invalid="true"] + span { border-color: var(--error); }
.groupe-cartes .choix { flex: 1 1 150px; }
.groupe-cartes .choix span { height: 100%; padding: 12px 14px; border-radius: var(--rounded-lg); }
.groupe-cartes .choix strong, .groupe-cartes .choix small { display: block; }
.groupe-cartes .choix strong { font-weight: 500; font-size: 14px; }
.groupe-cartes .choix small { margin-top: 2px; color: var(--tertiary); font: 400 13px/18px var(--font-ui); }
.groupe-cartes .choix input:checked + span { padding: 11px 13px; border: 2px solid var(--secondary); background: var(--primary-10); color: var(--secondary); }
.groupe-cartes .choix input:checked + span small { color: var(--secondary); }
@media (prefers-reduced-motion: reduce) { .choix span { transition: none; } }

/* --- Barre de devis mobile (devis.js bascule .barre-cachee) --------------------- */
.barre-devis { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .barre-devis { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(17, 17, 17, .06); color: var(--secondary);
    transition: transform .2s ease, visibility .2s; }
  .barre-devis .bouton { flex: 1; min-height: 44px; padding: 10px; text-align: center; }
  .barre-devis .bouton-contour { flex: 0 0 auto; padding: 10px 16px; }
  .barre-cachee { transform: translateY(100%); visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .barre-devis { transition: none; } }

/* --- Fil d Ariane, pages legales, pied de page ----------------------------------- */
.fil { max-width: calc(var(--largeur) + 2 * var(--gutter)); margin: 0 auto; padding: 20px var(--gutter) 0; font: 400 13px/20px var(--font-ui); }
.fil ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fil li { margin: 0; }
.fil li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.fil a { color: var(--tertiary); text-decoration: none; }
.fil a:hover { color: var(--secondary); text-decoration: underline; }
.fil [aria-current] { color: var(--secondary); }
.legale { padding-top: var(--spacing-lg); }
.legale > * { max-width: 760px; }
.legale p { color: var(--secondary); }
.pied { margin-top: var(--spacing-md); padding: 40px var(--marge-colonne); background: var(--neutral); border-top: 1px solid var(--border); color: var(--tertiary); font: 400 14px/22px var(--font-ui); }
.pied p { margin: 0 0 8px; }
.pied a { color: var(--secondary); text-decoration-color: var(--border-strong); }
.pied a:hover { text-decoration-color: var(--secondary); }

/* --- Promenade : rue en neutres clairs, la mascotte ne change pas ---------------- */
.promenade .rue { position: relative; height: 470px; overflow-x: hidden; overflow-y: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  border: 1px solid var(--border); border-radius: var(--rounded-lg); scrollbar-width: thin;
  background: linear-gradient(180deg, var(--surface) 0%, var(--neutral) 60%, #EEEFF1 60%, #EEEFF1 61%, var(--surface-muted) 61%, var(--surface-muted) 100%); }
.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: 14px; background: var(--surface); border: 1px solid var(--border-strong); border-top: 8px solid var(--primary);
  border-radius: var(--rounded-lg) var(--rounded-lg) 0 0; box-shadow: var(--ombre-douce); }
.vitrine h3 { margin-bottom: 12px; color: var(--secondary); font: 500 13px/18px var(--font-ui); letter-spacing: .02em; text-transform: none; }
.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(--border); border-radius: var(--rounded-md); background: var(--neutral); color: var(--secondary); font: 500 12px/16px var(--font-ui); cursor: pointer;
  transition: border-color .15s ease; }
.objet img { width: 92px; height: 69px; object-fit: cover; border-radius: var(--rounded-sm); }
.objet:hover { border-color: var(--secondary); }
.objet.proche { border-color: var(--secondary); background: var(--primary-10); box-shadow: 0 0 0 2px var(--primary); }
.rue img { -webkit-user-drag: none; }
.objet-stand { width: 130px; padding: 16px 8px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--secondary); box-shadow: var(--ombre-douce); }
.stand-enseigne { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--rounded-md);
  background: var(--primary); color: var(--on-primary); font-size: 22px; line-height: 1; }
.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; border: 1px solid var(--border-strong); border-radius: var(--rounded-lg);
  background: var(--surface); color: var(--secondary); box-shadow: var(--ombre-flottante); font: 500 12px/16px var(--font-ui); }
.fiche { width: calc(100% - 32px); max-width: 420px; padding: var(--spacing-md) 28px 24px; border: 1px solid var(--border); border-radius: var(--rounded-xl);
  background: var(--surface); color: var(--secondary); box-shadow: 0 24px 48px rgba(17, 17, 17, .16); }
.fiche h3 { font-size: 24px; line-height: 32px; letter-spacing: -0.02em; }
.fiche p { color: var(--tertiary); }
.fiche .actions { margin: 20px 0 16px; }
.fiche::backdrop { background: rgba(17, 17, 17, .4); }
.raccourcis-rue { align-items: center; margin-bottom: 20px; }
.raccourcis-libelle { margin-right: 4px; color: var(--tertiary); font: 500 13px/18px var(--font-ui); }
.raccourcis-rue .filtre { min-height: 28px; padding: 4px 10px; font-size: 12px; line-height: 16px; }
.commandes-rue { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.aide-rue { margin: 0; color: var(--tertiary); font: 400 13px/20px var(--font-ui); text-align: center; }
kbd { display: inline-block; min-width: 1.9em; padding: 1px 6px; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: var(--rounded-sm);
  background: var(--surface); color: var(--secondary); font: 500 12px/18px var(--font-ui); 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: 6px 12px; border-radius: var(--rounded-md); font-size: 18px; line-height: 24px; box-shadow: var(--ombre-douce); }
.touche-rue:hover kbd { border-color: var(--secondary); }
.touche-rue:active kbd { border-bottom-width: 1px; transform: translateY(1px); }
.promenade > p:last-child { margin: 16px 0 0; text-align: center; font: 500 14px/20px var(--font-ui); }
.aide-tactile { display: none; }
@media (hover: none), (pointer: coarse) {
  .aide-clavier { display: none; }
  .aide-tactile { display: inline; }
  .touche-rue kbd { width: 56px; height: 56px; min-width: 0; padding: 0; border: 0; border-radius: 50%;
    background: var(--primary); color: var(--on-primary); font-size: 0; line-height: 56px; box-shadow: var(--ombre-douce); }
  .touche-rue[data-marche="-1"] kbd::before { content: "◀"; font-size: 20px; }
  .touche-rue[data-marche="1"] kbd::before { content: "▶"; font-size: 20px; }
  .touche-rue:active kbd { background: var(--primary-80); transform: none; }
  .aide-rue { flex: 1; font-size: 12px; line-height: 16px; }
}
@media (prefers-reduced-motion: reduce) { .mascotte { transition: none; } .mascotte.marche img { animation: none; } .objet { transition: none; } }

/* --- Tablette et mobile ------------------------------------------------------------ */
@media (max-width: 900px) {
  .hero { gap: var(--spacing-md); }
  .telephone { width: 220px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --section: 64px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 48px var(--gutter) 32px; }
  .hero-page { padding-top: 32px; }
  .telephone { width: 190px; border-width: 5px; border-radius: 30px; }
  .telephone:has(> img) { width: 100%; border-width: 1px; border-radius: var(--rounded-xl); }
  .moment { padding: 28px 20px; }
  .formulaire { padding: 20px 16px; }
  .promenade .rue { height: 420px; }
  .rue-sol { padding-bottom: 170px; }
  .mascotte { width: 84px; }
  .raccourcis-rue { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .raccourcis-rue .filtre, .raccourcis-libelle { flex: none; }
  .intro { font-size: 18px; line-height: 28px; }
  .chiffres { gap: 20px 32px; }
  .chiffre strong { font-size: 30px; line-height: 38px; }
}
/* Mobile : en-tete sur une ligne (la barre du bas porte le devis), galerie en
   cartes horizontales compactes. */
@media (max-width: 600px) {
  .entete { flex-wrap: nowrap; padding: 10px var(--gutter); }
  .marque { font-size: 18px; }
  .nav a:not(.bouton) { display: none; }
  .nav .bouton { margin-left: 0; }
  .hero .actions .bouton { flex: 1 1 100%; min-height: 44px; }
  .grille .carte { flex-direction: row; }
  .carte-visuel { flex: 0 0 96px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--border); }
  .carte-visuel .type { display: none; }
  .carte-corps { padding: 12px; }
  .carte-corps h3 { font-size: 17px; line-height: 24px; margin-bottom: 2px; }
  .carte-corps p { margin: 0; font-size: 14px; line-height: 20px; }
  .carte .pastilles { display: none; }
  .carte-actions { gap: 6px; padding-top: 10px; }
  .carte-actions .bouton { min-height: 32px; padding: 6px 10px; font-size: 13px; }
  .encart { padding: 20px; }
}
@media (max-width: 480px) {
  .groupe-cartes .choix { flex-basis: 100%; }
}
