/* Vitrine · composants nommés du tunnel d'achat, de la réservation et de l'espace client.
   Source : retour de Design du 18/10/2026, `maquettes/composants-vitrine.css`, FONDU dans les
   feuilles du site (LISEZMOI § 3.1 et § 7, étape 1) — servi par le site (CSP : aucun style en
   ligne, aucune feuille tierce). Chaque déclaration est celle de la maquette ; ce qui change :

   1. LA RACINE `.lc`. La maquette pose `.lc` sur la racine de chaque écran ; ici, toute règle est
      préfixée par `.lc ` pour ne toucher QUE les écrans portés : le site a déjà des classes du
      même nom (`.barre` = la barre du site, `.badge`, `.case`, `.fil`, `.vignette`…). La racine
      `.lc` se pose sur `<main>` (bloc `classe_contenu` de `base.html`) quand la page garde la barre
      du site, ou sur `<body>` (bloc `classe_corps`) quand l'écran la remplace (`.tunnel`).
      Le préfixe ajoute UNE classe à chaque sélecteur : les rapports de force entre les règles de
      la maquette sont gardés (dans la maquette, `.m`/`.d` comptaient déjà pour une classe).
   2. LA DENSITÉ. `.m` (téléphone, 390) est la base, sans requête média ; `.d` (ordinateur, 1280)
      devient une requête média sur les points de rupture de `layout.css` (LISEZMOI § 3.2) :
        · 768 px : les colonnes (`.cols`, `.deux`, `.trois`), et ce qui ne vit qu'à une largeur
          (`.seul-m`, `.seul-d`, qui accompagnent les colonnes : bloc produit de R1, de C3), et
          le tiroir du panier (le tiroir du site passe à droite dès 768, `layout.css`) ;
        · 1280 px : les marges de 40 px (`.page`, `.entete`, `.tunnel`, `.pied`) et toute la
          densité « ordinateur » (titres, blocs, ligne de panier à trois colonnes, rangée à six
          colonnes — qui ne tient pas à 768 : 664 px fixes) ;
        · `.m .x` (correctif du téléphone) vaut sous le seuil de son `.d .x`.
   3. LES FUITES DU SITE. Quelques règles globales du site touchent les mêmes noms ; la maquette
      ne les connaît pas. Chaque neutralisation est marquée « (site) » et rend la valeur que la
      maquette obtient par héritage ou par le navigateur — rien de dessiné en plus.
   4. LA PLANCHE (`.planche`, `.ph`, `.cadres`, `.rupture`, `.cadre`, `.cap`, `.ecran`) n'est pas
      reprise : c'est la présentation des cadres, hors produit. Son `box-sizing:border-box` est déjà
      celui de tout le site (`composants.css`, base) ; son lissage des polices passe sur `.lc`.
   5. L'E-MAIL (`.mail`) garde sa propre racine : un courriel n'est pas dans `.lc`. Les courriels
      réels portent leurs styles en ligne (un client de messagerie ne charge pas de feuille) ;
      ces règles servent à leur aperçu dans le site. */

/* ── Écran ─────────────────────────────────────────────────────────────────── */
.lc{font-family:var(--f-text);color:var(--u-ink);background:var(--u-bg);display:flex;flex-direction:column;font-size:15px;line-height:1.45;-webkit-font-smoothing:antialiased}
/* (site) `a{text-decoration:none}` global : dans la maquette, un lien est souligné (navigateur). */
.lc a{color:var(--u-ink);text-underline-offset:3px;text-decoration:underline}
.lc :focus-visible{outline:3px solid #5ce1ff;outline-offset:2px}
.lc .mono{font-family:var(--f-data)}
@media (max-width:767.98px){.lc .seul-d{display:none!important}}
@media (min-width:768px){.lc .seul-m{display:none!important}}
.lc .muet{color:var(--u-muted)}
.lc p{margin:0}

/* En-tête du site */
.lc .entete{display:flex;align-items:center;gap:10px;height:64px;padding:0 16px;border-bottom:1px solid var(--u-line);flex:none}
.lc .logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:20px;letter-spacing:-.02em;color:var(--u-ink);text-decoration:none;white-space:nowrap}
.lc .barres{display:flex;gap:3px}
.lc .barres i{display:block;width:9px;height:24px;border-radius:5px}
.lc .barres i:nth-child(1){background:#5ce1ff}.lc .barres i:nth-child(2){background:#ffb3d1}.lc .barres i:nth-child(3){background:#e0943c}
.lc .rond{width:44px;height:44px;flex:none;border-radius:14px;background:var(--u-surface);display:grid;place-items:center;border:0;color:var(--u-ink);padding:0}
.lc .pilule{min-height:44px;padding:0 16px;border-radius:22px;background:var(--u-surface);display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--u-ink);text-decoration:none;border:0;font-family:inherit;white-space:nowrap}
.lc .pilule .mono{font-size:13px}
.lc .rayons{display:flex;gap:24px}
.lc .rayon{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--u-ink);text-decoration:none;white-space:nowrap}
.lc .rayon i{width:7px;height:7px;border-radius:50%;display:block}
.lc .recherche{flex:1;max-width:400px;height:44px;border-radius:14px;background:var(--u-surface);display:flex;align-items:center;gap:10px;padding:0 14px;color:var(--u-muted);font-size:14px}
.lc .ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* En-tête du tunnel + fil d'étapes */
.lc .tunnel{display:flex;align-items:center;gap:12px;height:64px;padding:0 16px;border-bottom:1px solid var(--u-line);flex:none}
.lc .retour{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:14px;font-weight:600;color:var(--u-ink);text-decoration:none;white-space:nowrap}
/* (site) `.fil` est aussi le fil d'Ariane du site (referencement.css) : taille et couleur rendues. */
.lc .fil{display:flex;flex-direction:column;gap:8px;padding:16px 16px 0;font-size:inherit;color:inherit}
.lc .fil p{font-size:13px;color:var(--u-muted)}
.lc .fil p b{color:var(--u-ink)}
.lc .etapes{display:flex;gap:6px;list-style:none;margin:0;padding:0;flex:1}
/* (site) `.fil li{align-items:center}` (versions.css) rétrécirait la barre de chaque étape à rien. */
.lc .etapes li{flex:1;display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--u-muted);white-space:nowrap;align-items:stretch}
.lc .etapes li:before{content:"";height:4px;border-radius:2px;background:var(--u-surface-2)}
.lc .etapes li.fait:before,.lc .etapes li.ici:before{background:#5ce1ff}
.lc .etapes li.ici{color:var(--u-ink);font-weight:700}
.lc .etapes li span{font-family:var(--f-data);font-size:12px;margin-right:6px}
@media (max-width:767.98px){.lc .etapes li em{display:none}}
.lc .etapes li em{font-style:normal}

/* Mise en page */
.lc .page{display:flex;flex-direction:column;gap:24px;padding:24px 16px 40px;flex:1;width:100%}
.lc .cols{display:flex;flex-direction:column;gap:24px}
.lc .pile{display:flex;flex-direction:column;gap:12px}
.lc .pile8{display:flex;flex-direction:column;gap:8px}
.lc .pile16{display:flex;flex-direction:column;gap:16px}
.lc .pile24{display:flex;flex-direction:column;gap:24px}
.lc .rang{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.lc .entre{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.lc .deux{display:flex;flex-direction:column;gap:16px}
.lc .trois{display:flex;flex-direction:column;gap:16px}
@media (min-width:768px){
  .lc .cols{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:32px;align-items:start}
  .lc .cols.cote{grid-template-columns:minmax(0,1fr) 360px}
  .lc .deux{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
  .lc .trois{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
}

/* Textes */
.lc .titre{margin:0;font-size:28px;line-height:1.1;letter-spacing:-.02em;font-weight:700}
.lc .st{margin:0;font-size:18px;line-height:1.25;font-weight:700}
.lc .sous{color:var(--u-muted);font-size:15px;line-height:1.5}
.lc .etiq{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--u-muted)}
.lc .petit{font-size:13px;line-height:1.45;color:var(--u-muted)}

/* Surfaces */
.lc .bloc{background:var(--u-surface);border-radius:var(--r-m);padding:16px;display:flex;flex-direction:column;gap:12px}
.lc .bloc.creux{background:transparent;box-shadow:inset 0 0 0 1px var(--u-line)}
.lc .sep{height:1px;background:var(--u-line);border:0;margin:0}

/* Boutons : principal / secondaire / discret / grave */
.lc .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 24px;border-radius:16px;border:0;font-family:inherit;font-size:16px;font-weight:700;text-decoration:none;cursor:pointer;text-align:center;line-height:1.2}
.lc .btn-p{background:#5ce1ff;color:#070b18}
.lc .btn-s{background:var(--u-surface-2);color:var(--u-ink)}
.lc .btn-x{background:transparent;color:var(--u-ink);text-decoration:underline;padding:0 4px;min-height:44px;font-weight:600;font-size:15px}
.lc .btn-g{background:transparent;color:#ff8a47;box-shadow:inset 0 0 0 1.5px #ff6b1a}
.lc .btn.off{background:var(--u-surface-2);color:var(--u-muted);cursor:not-allowed}
.lc .btn.plein{width:100%}
.lc .btn small{font-family:var(--f-data);font-size:15px;font-weight:800}
.lc .btn-paye{flex-direction:column;gap:2px;min-height:64px}

/* Champ, erreur, case */
.lc .champ{display:flex;flex-direction:column;gap:6px}
.lc .champ label,.lc .champ .lib{font-size:14px;font-weight:600}
.lc .champ .aide{font-size:13px;color:var(--u-muted)}
.lc .champ input,.lc .champ select,.lc .champ textarea{height:48px;width:100%;border-radius:12px;border:0;background:var(--u-bg);box-shadow:inset 0 0 0 1px rgba(236,238,242,.18);color:var(--u-ink);font-family:inherit;font-size:16px;padding:0 14px}
.lc .champ textarea{height:96px;padding:12px 14px;resize:none}
.lc .champ input::placeholder,.lc .champ textarea::placeholder{color:var(--u-muted)}
.lc .champ.ko input,.lc .champ.ko textarea,.lc .champ.ko select{box-shadow:inset 0 0 0 2px #ff6b1a}
.lc .err{display:flex;gap:8px;align-items:flex-start;font-size:14px;line-height:1.4;color:#ff8a47;font-weight:600}
.lc .err:before{content:"!";flex:none;width:16px;height:16px;margin-top:1px;border-radius:50%;background:#ff6b1a;color:#0b0c10;font-size:11px;font-weight:800;display:grid;place-items:center;font-family:var(--f-data)}
/* (site) `.case` du site : texte gris et case masquée (composants.css) — rendus à la maquette. */
.lc .case{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.45;min-height:44px;padding:10px 0;color:inherit}
.lc .case input{flex:none;width:24px;height:24px;margin:0;accent-color:#5ce1ff;position:static;opacity:1}
.lc .case.ko{padding:12px;border-radius:14px;box-shadow:inset 0 0 0 2px #ff6b1a}

/* Avis (message) et badge de statut */
.lc .t-ok{--t:#5cf2a0;--tt:#5cf2a0}.lc .t-info{--t:#5ce1ff;--tt:#5ce1ff}.lc .t-att{--t:#fff0a0;--tt:#fff0a0}.lc .t-al{--t:#ff6b1a;--tt:#ff8a47}.lc .t-neu{--t:#c3c8d3;--tt:#c3c8d3}
.lc .avis{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:16px;background:var(--u-surface);font-size:15px;line-height:1.45}
.lc .avis:before{content:"";flex:none;width:10px;height:10px;border-radius:50%;margin-top:6px;background:var(--t)}
.lc .avis.fort{box-shadow:inset 0 0 0 2px var(--t)}
.lc .avis b{display:block}
/* (site) `.badge` du site : chasse fixe et capitales (composants.css) — rendues à la maquette. */
.lc .badge{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 10px;border-radius:13px;font-size:12px;font-weight:700;background:color-mix(in srgb,var(--t) 14%,transparent);color:var(--tt);white-space:nowrap;font-family:inherit;text-transform:none}
.lc .badge:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--t)}

/* Ligne de panier / vignettes */
.lc .ligne{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:12px;border-radius:var(--r-m);background:var(--u-surface)}
.lc .ligne .corps{display:flex;flex-direction:column;gap:6px;min-width:0}
.lc .ligne .bas{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px}
.lc .ligne.grise .vignette,.lc .ligne.grise .nom,.lc .ligne.grise .prix{opacity:.5}
.lc .ligne.ko{box-shadow:inset 0 0 0 2px #ff6b1a}
/* (site) `.vignette` du site est une colonne flexible (composants.css) : rendue à un bloc. */
.lc .vignette{width:72px;height:72px;border-radius:14px;background:var(--u-surface-2);position:relative;overflow:hidden;box-shadow:inset 3px 0 0 var(--u-a1);flex:none;display:block}
.lc .vignette:after{content:"";position:absolute;inset:0;background-image:radial-gradient(var(--u-line) 1.2px,transparent 1.8px);background-size:6px 6px}
.lc .vignette.carte{width:63px;height:88px;border-radius:7px;box-shadow:none;background:linear-gradient(150deg,#16204a,#0e1530)}
.lc .vignette.carte.g{width:126px;height:176px;border-radius:10px}
.lc .vignette.sans{background:transparent;box-shadow:none;border:1.5px dashed rgba(236,238,242,.28);display:grid;place-items:center;font-size:11px;color:var(--u-muted)}
.lc .vignette.sans:after{display:none}
.lc .nom{font-size:15px;font-weight:700;line-height:1.3}
.lc .meta{font-size:13px;color:var(--u-muted);line-height:1.4}
.lc .prix{font-family:var(--f-data);font-size:16px;font-weight:700;white-space:nowrap}
/* (site) `.barre` est la barre du site (composants.css) : bordure, fond et plan rendus. */
.lc .barre{font-family:var(--f-data);font-size:13px;color:var(--u-muted);text-decoration:line-through;white-space:nowrap;border:0;background:none;position:static;z-index:auto}
.lc .garanti{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#5cf2a0}
.lc .qte{display:inline-flex;align-items:center;border-radius:12px;background:var(--u-bg);box-shadow:inset 0 0 0 1px rgba(236,238,242,.18);height:44px}
.lc .qte button{width:44px;height:44px;border:0;background:transparent;color:var(--u-ink);font-size:20px;font-family:inherit;cursor:pointer;padding:0}
.lc .qte input{width:36px;height:44px;border:0;background:transparent;color:var(--u-ink);text-align:center;font-family:var(--f-data);font-size:15px;padding:0}
.lc .lien-retirer{min-height:44px;display:inline-flex;align-items:center;font-size:14px;color:var(--u-muted);text-decoration:underline;background:none;border:0;font-family:inherit;padding:0 4px;cursor:pointer}
.lc .lien-retirer.fort{color:#ff8a47;font-weight:700}

/* Bloc montant */
.lc .montants{display:flex;flex-direction:column;gap:10px;margin:0}
.lc .montants div{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.lc .montants dt{color:var(--u-muted);font-size:15px}
.lc .montants dd{margin:0;font-family:var(--f-data);font-weight:600;font-size:15px;white-space:nowrap}
.lc .montants .total{padding-top:12px;border-top:1px solid var(--u-line)}
.lc .montants .total dt{color:var(--u-ink);font-weight:700;font-size:17px}
.lc .montants .total dd{font-size:24px;font-weight:800}
.lc .offert{color:#5cf2a0}
.lc .reste{display:flex;gap:10px;align-items:center;padding:12px 14px;border-radius:14px;background:color-mix(in srgb,#5cf2a0 10%,transparent);font-size:14px}
.lc .reste b{font-family:var(--f-data)}

/* Moyens de paiement (pictogrammes neutres) */
.lc .moyens{display:flex;gap:8px;flex-wrap:wrap}
.lc .moyens span{height:30px;padding:0 10px;border-radius:8px;background:var(--u-surface-2);font-size:12.5px;font-weight:700;display:inline-flex;align-items:center;gap:6px;color:var(--u-ink)}
.lc .moyens .ic{width:16px;height:16px}

/* Choix (bouton radio en carte) */
.lc .choix{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:12px;align-items:start;padding:16px;border-radius:16px;background:var(--u-surface);box-shadow:inset 0 0 0 1px var(--u-line);cursor:pointer}
.lc .choix.on{background:var(--u-surface-2);box-shadow:inset 0 0 0 2px #5ce1ff}
.lc .choix.ko{box-shadow:inset 0 0 0 2px #ff6b1a}
.lc .choix input{width:22px;height:22px;margin:1px 0 0;accent-color:#5ce1ff}
.lc .choix .prix{font-size:15px}

/* Référence en chasse fixe */
.lc .ref{font-family:var(--f-data);font-size:22px;font-weight:800;letter-spacing:.06em}

/* Pied de page */
.lc .pied{display:flex;flex-wrap:wrap;gap:4px 20px;padding:20px 16px 28px;border-top:1px solid var(--u-line);font-size:14px;flex:none}
.lc .pied a{color:var(--u-muted);text-decoration:none;min-height:32px;display:inline-flex;align-items:center}

/* Tiroir du panier */
.lc .voile{position:absolute;inset:0;background:rgba(0,0,0,.62)}
.lc .tiroir{position:absolute;left:0;right:0;bottom:0;max-height:88%;border-radius:32px 32px 0 0;background:var(--u-bg);box-shadow:0 -20px 60px rgba(0,0,0,.5);padding:10px 16px 24px;display:flex;flex-direction:column;gap:12px}
.lc .poignee{width:44px;height:5px;border-radius:3px;background:var(--u-surface-2);align-self:center}
@media (min-width:768px){
  .lc .tiroir{left:auto;top:0;width:440px;max-height:none;border-radius:0;padding:24px}
  .lc .poignee{display:none}
}

/* Onglets de l'espace client */
.lc .onglets{display:flex;gap:4px;padding:4px;border-radius:16px;background:var(--u-surface);width:fit-content;max-width:100%}
.lc .onglets a{min-height:44px;padding:0 16px;border-radius:12px;display:inline-flex;align-items:center;font-size:15px;font-weight:600;color:var(--u-muted);text-decoration:none;white-space:nowrap}
.lc .onglets a[aria-current="page"]{background:var(--u-surface-2);color:var(--u-ink);font-weight:700}

/* Tableau simple (listes du compte) */
.lc .liste{display:flex;flex-direction:column;gap:8px;list-style:none;margin:0;padding:0}
.lc .rangee{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:14px 16px;border-radius:16px;background:var(--u-surface);text-decoration:none;color:var(--u-ink);align-items:center}
/* La rangée d'en-tête (`.rangee.seul-d`) ne vit qu'avec les six colonnes, donc dès 1280. */
@media (min-width:768px) and (max-width:1279.98px){.lc .rangee.seul-d{display:none!important}}

/* Historique daté */
.lc .histo{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}
.lc .histo li{display:grid;grid-template-columns:16px minmax(0,1fr);gap:12px;padding-bottom:14px;position:relative}
.lc .histo li:before{content:"";width:10px;height:10px;border-radius:50%;background:var(--t,#5ce1ff);margin:5px 0 0 3px}
.lc .histo li:not(:last-child):after{content:"";position:absolute;left:7.5px;top:18px;bottom:2px;width:1px;background:var(--u-line)}
.lc .histo .q{font-family:var(--f-data);font-size:12.5px;color:var(--u-muted)}

/* E-mail (sa propre racine, hors `.lc` : voir l'en-tête de la feuille) */
.mail{background:#f4f5f7;color:#16181d;font-family:'Space Grotesk',Arial,sans-serif}
.mail .m-ent{background:#0b0c10;color:#eceef2;padding:20px 24px;display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px}
.mail .m-corps{padding:24px;display:flex;flex-direction:column;gap:16px;font-size:15px;line-height:1.55}
.mail .m-objet{font-family:'JetBrains Mono',monospace;font-size:12px;color:#4d5562;padding:12px 24px;background:#e6e8ec;border-bottom:1px solid #d6d9df}
.mail .m-bloc{background:#fff;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:8px;box-shadow:inset 0 0 0 1px #e1e4e9}
.mail .m-bloc dl{margin:0;display:flex;flex-direction:column;gap:6px}
.mail .m-bloc dl div{display:flex;justify-content:space-between;gap:12px}
.mail .m-bloc dt{color:#4d5562}
.mail .m-bloc dd{margin:0;font-weight:700;text-align:right}
.mail .m-ref{font-family:'JetBrains Mono',monospace;font-weight:800;letter-spacing:.06em;font-size:18px}
.mail .m-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:14px;background:#0b0c10;color:#fff;font-weight:700;text-decoration:none;align-self:flex-start}
.mail .m-pied{padding:20px 24px 28px;font-size:13px;line-height:1.5;color:#4d5562;border-top:1px solid #d6d9df}
.mail .m-pied a{color:#16181d}
.mail h2{margin:0;font-size:22px;line-height:1.2}
.mail p{margin:0}

@media (prefers-reduced-motion:reduce){.lc *{transition:none!important;animation:none!important}}

/* Correctifs 17/10 : en-tête au téléphone, champ de recherche sur une ligne */
.lc .recherche{white-space:nowrap;overflow:hidden;min-width:220px}
@media (max-width:1279.98px){
  .lc .entete{gap:8px}
  .lc .logo{font-size:17px;gap:8px}
  .lc .pilule{padding:0 12px}
}

/* ── Densité « ordinateur » (`.d` de la maquette), dès 1280 px ─────────────── */
@media (min-width:1280px){
  .lc .entete{height:72px;padding:0 40px;gap:28px}
  .lc .tunnel{height:84px;padding:0 40px;gap:48px}
  .lc .page{padding:40px 40px 72px;max-width:1200px;margin:0 auto}
  .lc .page.etroite{max-width:760px}
  .lc .titre{font-size:40px}
  .lc .st{font-size:20px}
  .lc .bloc{padding:24px;gap:16px}
  .lc .ligne{grid-template-columns:96px minmax(0,1fr) auto;gap:16px;padding:16px;align-items:start}
  .lc .ligne .bas{grid-column:auto;flex-direction:column;align-items:flex-end;justify-content:flex-start}
  .lc .vignette{width:96px;height:96px}
  .lc .vignette.carte.g{width:189px;height:264px;border-radius:12px}
  .lc .nom{font-size:16px}
  .lc .ref{font-size:28px}
  .lc .pied{padding:24px 40px 36px}
  .lc .rangee{grid-template-columns:140px 160px minmax(0,1fr) 140px 200px 24px;padding:16px 20px;gap:16px}
}
