/* KillerPack — pages internes (catégorie, fiche produit, panier, compte, recherche, suivi, contact, qui sommes-nous, légal, 404).
   Mobile d'abord. Habillage « Le mix » : <html data-design="4"> (l'attribut est conservé pour garder la priorité des règles) —
   en-tête bleu tramé + mot fantôme, éclair cerclé, sticker et ticket jaune ; contenus blancs et cartes kraft ;
   sections alternées orange et fiches produit façon « affiche ». */

/* =================== JETONS (valeurs de base, surchargées par « Le mix » plus bas) =================== */
:root {
  --d-fond: #FFFFFF;
  --d-encre: var(--encre);
  --d-titre: var(--bleu-nuit);
  --d-accent: var(--orange);
  --d-accent-fonce: var(--orange-fonce);
  --d-lien: var(--bleu);
  --d-doux: var(--gris);
  --d-ligne: var(--ligne);
  /* en-tête de page */
  --t-fond: #FFFFFF;
  --t-encre: var(--bleu-nuit);
  --t-accent: var(--orange);
  --t-doux: var(--gris);
  /* zone principale (grille, contenus) */
  --z-fond: #FFFFFF;
  --z-encre: var(--encre);
  --z-doux: var(--gris);
  --z-ligne: var(--ligne);
  --z-chip: #FFFFFF;
  --z-chip-encre: var(--bleu-nuit);
  --z-chip-actif: var(--bleu-nuit);
  --z-chip-actif-encre: #FFFFFF;
  /* sections alternées */
  --a-fond: var(--fond-2);
  --a-encre: var(--encre);
  --a-doux: var(--gris);
  --a-accent: var(--orange);
  /* sections fortes */
  --f-fond: var(--bleu-nuit);
  --f-encre: #FFFFFF;
  --f-doux: #C9D3EA;
  --f-accent: var(--jaune);
  /* cartes */
  --c-fond: #FFFFFF;
  --c-bord: var(--ligne);
  --c-media: var(--fond-2);
  --c-rayon: 20px;
  --c-ombre: 0 18px 40px -28px rgba(15,23,42,.45);
  /* bouton d'achat */
  --b-fond: var(--orange);
  --b-ombre: var(--orange-fonce);
  --b-encre: #FFFFFF;
  --rayon: 16px;
}

body { background: var(--d-fond); color: var(--d-encre); }
.kp-entete { background: rgba(255,255,255,.96); }

/* =================== OUTILS =================== */
.env { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .env { padding: 0 clamp(24px, 4vw, 56px); } }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sec { padding: clamp(44px, 7vw, 96px) 0; }
.sec-alt { background: var(--a-fond); color: var(--a-encre); }
.sec-alt .kp-sur { color: var(--a-accent); }
.sec-forte { background: var(--f-fond); color: var(--f-encre); }
.sec-forte .kp-sur { color: var(--f-accent); }
.titre-sec { font-family: var(--titre); font-weight: 400; text-transform: uppercase; line-height: 1; margin: 0 0 18px; font-size: clamp(34px, 5.4vw, 64px); overflow-wrap: anywhere; }
.titre-sec em { font-style: normal; color: var(--d-accent); }
.sec-forte .titre-sec em, .sec-alt .titre-sec em { color: var(--a-accent); }
.sec-forte .titre-sec em { color: var(--f-accent); }
.provisoire { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: rgba(255,214,10,.35); color: #5A4A00; vertical-align: middle; }
.sec-forte .provisoire { background: rgba(255,214,10,.2); color: var(--jaune); }
.kp-btn { min-height: 48px; }
.btn-achat { background: var(--b-fond); color: var(--b-encre); box-shadow: 0 5px 0 var(--b-ombre); }
.btn-achat:hover { filter: brightness(.94); }
.btn-jaune { background: var(--jaune); color: var(--bleu-nuit); box-shadow: 0 5px 0 #C9A400; }
.btn-blanc { background: #fff; color: var(--bleu-nuit); border-color: var(--bleu-nuit); }
.lien-fleche { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 800; color: var(--d-lien); text-decoration: none; }
.lien-fleche:hover { text-decoration: underline; }
.sec-forte .lien-fleche { color: #fff; }

/* Apparition au scroll */
.apparait { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delai, 0s); }
.apparait.vu { opacity: 1; transform: none; }
html.sans-js .apparait { opacity: 1; transform: none; }

/* =================== FIL D'ARIANE =================== */
.ariane { font-size: 13px; font-weight: 700; color: var(--t-doux); }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin: 0; padding: 0; }
.ariane li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.ariane li + li::before { content: "›"; opacity: .7; }
.ariane a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.ariane a:hover { text-decoration: underline; }
.ariane [aria-current] { color: var(--t-encre); }

/* =================== EN-TÊTE DE PAGE (bloc titre) =================== */
.tete-page { position: relative; overflow: hidden; background: var(--t-fond); color: var(--t-encre); padding: 6px 0 clamp(28px, 5vw, 64px); isolation: isolate; }
.tete-page .kp-sur { color: var(--t-accent); }
.tete-page h1 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; line-height: .9; margin: 6px 0 0; font-size: clamp(52px, 13.5vw, 168px); letter-spacing: .005em; overflow-wrap: anywhere; hyphens: manual; }
.tete-page h1 .ligne { display: block; overflow: hidden; padding: .08em 0 .02em; margin: -.08em 0 -.02em; }
.tete-page h1 .ligne > span { display: inline-block; }
.tete-page h1 em { font-style: normal; color: var(--t-accent); }
.tete-page .chapo { margin: 14px 0 0; font-size: clamp(16px, 1.6vw, 20px); max-width: 52ch; color: var(--t-doux); font-weight: 500; }
/* Éclair du logo en décor */
.eclair-deco { position: absolute; z-index: -1; right: -2%; top: 8%; width: clamp(140px, 30vw, 420px); height: auto; pointer-events: none; color: var(--orange); opacity: .95; }
.eclair-deco path { transform-origin: 50% 50%; }
html.anime .eclair-deco { animation: eclair-entree .7s cubic-bezier(.2,1.4,.4,1) .15s both; }
@keyframes eclair-entree { 0% { transform: translate(30%, -30%) scale(.6) rotate(18deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
html.anime .eclair-deco.flash { animation: eclair-entree .7s cubic-bezier(.2,1.4,.4,1) .15s both, eclair-flash 4s ease-in-out 1.2s infinite; }
@keyframes eclair-flash { 0%, 90%, 100% { filter: none; } 93% { filter: brightness(1.6) drop-shadow(0 0 18px rgba(255,214,10,.9)); } }

/* Tampon PRIX USINE */
.tampon { display: none; position: absolute; z-index: 2; font-family: var(--titre); text-transform: uppercase; color: var(--orange); border: 4px solid currentColor; outline: 2px solid currentColor; outline-offset: 3px; border-radius: 8px; padding: 6px 12px 4px; font-size: clamp(18px, 2.6vw, 30px); line-height: 1; letter-spacing: .04em; transform: rotate(-12deg); text-align: center; mix-blend-mode: normal; background: transparent; pointer-events: none; }
.tampon small { display: block; font-family: var(--texte); font-weight: 800; font-size: .4em; letter-spacing: .12em; }
@keyframes tampon { 0% { transform: rotate(-12deg) scale(2.4); opacity: 0; } 60% { opacity: 1; } 100% { transform: rotate(-12deg) scale(1); opacity: 1; } }

/* Bandeau défilant façon ticket */
.ticket { display: none; background: var(--bleu-nuit); color: #fff; overflow: hidden; white-space: nowrap; border-block: 3px dashed rgba(255,255,255,.35); }
.ticket-piste { display: inline-flex; gap: 0; animation: defile 26s linear infinite; padding: 10px 0; }
.ticket-piste span { font-family: var(--titre); text-transform: uppercase; font-size: 22px; letter-spacing: .04em; padding: 0 18px; }
.ticket-piste span:nth-child(even) { color: var(--jaune); }
@keyframes defile { to { transform: translateX(-50%); } }

/* =================== ÉTIQUETTES PRIX =================== */
.prix-lot { font-size: clamp(30px, 4vw, 44px); }
.kp-prix.mini { font-size: 24px; border-radius: 8px; }
.kp-prix.sans-prix { background: #fff; color: var(--bleu-nuit); border: 2px dashed var(--bleu-nuit); box-shadow: none; transform: rotate(-2deg); font-size: 15px; font-family: var(--texte); font-weight: 800; padding: 6px 8px; }
/* Prix barré par l'éclair du logo */
.barre-eclair { position: relative; display: inline-block; color: var(--gris); font-weight: 800; text-decoration: none; }
.barre-eclair svg { position: absolute; left: -12%; top: -30%; width: 124%; height: 160%; overflow: visible; color: var(--orange); clip-path: inset(0 100% 0 0); transition: clip-path .45s cubic-bezier(.6,0,.2,1) .25s; }
.vu .barre-eclair svg, .barre-eclair.vu svg, html.sans-js .barre-eclair svg { clip-path: inset(0 0 0 0); }
html:not(.anime) .barre-eclair svg { clip-path: none; transition: none; }

/* =================== CATÉGORIE =================== */
.cat-tete-grille { display: grid; gap: 22px; align-items: end; }
.cat-chiffres { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 20px; }
.cat-chiffres .kp-prix { font-size: clamp(30px, 6vw, 54px); }
.compteur { font-family: var(--titre); font-size: clamp(30px, 5vw, 48px); line-height: 1; }
.compteur small { font-family: var(--texte); font-size: 14px; font-weight: 700; display: block; letter-spacing: .02em; text-transform: none; color: var(--t-doux); margin-top: 4px; }
.cat-visuel { display: none; position: relative; }
@media (min-width: 1000px) {
  .cat-tete-grille { grid-template-columns: 1.35fr .65fr; }
  .cat-visuel { display: block; justify-self: end; width: min(360px, 100%); aspect-ratio: 1; }
}
.cat-visuel .disque { position: absolute; inset: 6%; border-radius: 50%; background: var(--jaune); }
.cat-visuel img, .cat-visuel .illu { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; }
.cat-visuel img { mix-blend-mode: multiply; border-radius: 50%; }
.cat-visuel .tampon { right: -4%; top: 4%; }
.tete-page > .env > .tampon { right: 16px; top: 18px; }

.zone { background: var(--z-fond); color: var(--z-encre); padding: 22px 0 clamp(48px, 7vw, 90px); }
.cat-mise { display: grid; gap: 18px; }
@media (min-width: 1024px) { .cat-mise { grid-template-columns: 260px minmax(0,1fr); gap: 36px; align-items: start; } }
/* Barre d'outils (filtres mobiles + tri) */
.outils { position: sticky; top: var(--entete); z-index: 20; display: flex; gap: 10px; align-items: center; padding: 10px 0; background: var(--z-fond); }
.outils .bouton-filtres { flex: none; }
.outils .resultat { font-weight: 800; font-size: 14px; color: var(--z-doux); margin-right: auto; white-space: nowrap; }
.champ-tri { position: relative; flex: 0 1 220px; min-width: 0; }
.champ-tri select, .champ select, .champ input, .champ textarea {
  width: 100%; min-height: 48px; border: 2px solid var(--z-ligne); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; background: #fff; color: var(--encre);
}
.champ-tri select { font-weight: 700; font-size: 15px; padding-right: 34px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1B3F' stroke-width='2.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 18px; }
.bouton-filtres { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 12px; border: 2px solid var(--z-chip-encre); background: var(--z-chip); color: var(--z-chip-encre); font-weight: 800; cursor: pointer; }
.bouton-filtres b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--d-accent); color: #fff; font-size: 12px; }
.bouton-filtres b:empty { display: none; }
@media (min-width: 1024px) { .outils .bouton-filtres { display: none; } }

/* Puces de sous-catégories (défilement horizontal sur mobile) */
.puces { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 8px; margin: 0 -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
.puces::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .puces { flex-wrap: wrap; overflow: visible; margin: 0; padding-inline: 0; } }
.puce { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--z-ligne); background: var(--z-chip); color: var(--z-chip-encre); font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.puce:hover { border-color: var(--z-chip-encre); }
.puce[aria-pressed="true"], .puce.actif { background: var(--z-chip-actif); color: var(--z-chip-actif-encre); border-color: var(--z-chip-actif); }
.puce small { font-size: 12px; opacity: .7; font-weight: 800; }

/* Panneau de filtres : tiroir sur mobile, colonne sur ordinateur */
.filtres { display: grid; gap: 22px; align-content: start; }
.filtres h2 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; font-size: 22px; margin: 0 0 10px; letter-spacing: .02em; }
.filtres fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.filtres legend { font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; color: var(--z-doux); padding: 0; }
.filtres .puces { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.case { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; cursor: pointer; }
.case input { width: 22px; height: 22px; accent-color: var(--d-accent); flex: none; }
.curseur { display: grid; gap: 6px; }
.curseur input[type=range] { width: 100%; accent-color: var(--d-accent); min-height: 44px; }
.curseur output { font-weight: 800; }
.filtres .raz { justify-self: start; }
@media (max-width: 1023px) {
  .filtres { position: fixed; z-index: 80; inset: auto 0 0 0; max-height: 86vh; overflow-y: auto; background: var(--z-fond); color: var(--z-encre); border-radius: 22px 22px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px rgba(11,27,63,.35); transform: translateY(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); visibility: hidden; }
  .filtres.ouvert { transform: none; visibility: visible; }
  .filtres-fond { position: fixed; inset: 0; z-index: 79; background: rgba(11,27,63,.5); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .filtres-fond.ouvert { opacity: 1; pointer-events: auto; }
  .filtres .fermer-filtres { display: flex; }
}
@media (min-width: 1024px) { .filtres { position: sticky; top: calc(var(--entete) + 16px); } .filtres-fond, .fermer-filtres { display: none !important; } }
.fermer-filtres { display: none; justify-content: space-between; align-items: center; gap: 12px; }
.fermer-filtres button { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--z-ligne); background: transparent; color: inherit; font-size: 22px; cursor: pointer; }

/* =================== GRILLE PRODUITS =================== */
.grille { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
@media (min-width: 640px) { .grille { gap: 16px; } }
@media (min-width: 760px) { .grille { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; } }
@media (min-width: 1280px) { .grille { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; } }
.cat-mise .grille { }
@media (min-width: 1024px) and (max-width: 1279px) { .cat-mise .grille { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1280px) and (max-width: 1500px) { .cat-mise .grille { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.vide { grid-column: 1 / -1; padding: 30px 0; text-align: center; font-weight: 700; }

.carte { position: relative; display: flex; flex-direction: column; background: var(--c-fond); color: var(--encre); border: 2px solid var(--c-bord); border-radius: var(--c-rayon); box-shadow: var(--c-ombre); overflow: hidden; min-width: 0; transition: transform .25s, box-shadow .25s, border-color .25s; }
.carte:hover { transform: translateY(-3px); border-color: var(--d-accent); }
.carte-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--c-media); overflow: hidden; }
.carte-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: transform .4s; }
.carte:hover .carte-media img { transform: scale(1.06); }
.carte-media .illu { position: absolute; inset: 10% 12% 14%; width: auto; height: auto; }
.illu { width: 100%; height: 100%; }
.carte-media .mention { position: absolute; left: 8px; bottom: 6px; font-size: 10px; font-weight: 700; color: var(--gris); letter-spacing: .02em; }
.carte .badge { position: absolute; z-index: 2; left: 8px; top: 8px; background: var(--orange); color: #fff; font-family: var(--titre); font-size: 18px; line-height: 1; padding: 6px 8px 5px; border-radius: 8px; transform: rotate(-6deg); }
.carte .prix-pose { position: absolute; z-index: 2; right: 8px; bottom: 8px; }
.carte .kp-prix { font-size: clamp(22px, 5.6vw, 30px); }
.carte .kp-prix small { font-size: 10px; }
.carte-corps { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 12px; flex: 1; }
.carte-cat { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--d-accent); }
.carte h3 { margin: 0; font-size: 15px; line-height: 1.25; font-weight: 800; color: var(--bleu-nuit); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.carte h3 a { text-decoration: none; }
.carte h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.carte .ligne-prix { font-size: 13px; color: var(--gris); font-weight: 600; min-height: 1.5em; }
.carte .ligne-prix .barre-eclair { font-size: 14px; margin-right: 4px; }
.carte-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; position: relative; z-index: 3; }
.carte-actions .kp-btn { flex: 1; min-height: 44px; padding: 0 10px; font-size: 15px; border-radius: 12px; box-shadow: 0 4px 0 var(--b-ombre); min-width: 0; }
.carte-actions .kp-btn.contour { box-shadow: none; background: #fff; color: var(--bleu-nuit); border-color: var(--bleu-nuit); }
.carte-actions .ext { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 2px solid var(--ligne); color: var(--bleu-nuit); text-decoration: none; }
.carte-actions .ext:hover { border-color: var(--bleu-nuit); }
.carte-actions .ext svg { width: 18px; height: 18px; }
@media (min-width: 760px) { .carte h3 { font-size: 16px; } .carte-corps { padding: 14px 16px 16px; } }

.kp-btn.ajoute { background: #12A150 !important; box-shadow: 0 4px 0 #0B7A3B !important; }

/* =================== FICHE PRODUIT =================== */
.fiche-haut { padding: 6px 0 clamp(32px, 5vw, 64px); background: var(--d-fond); }
.fiche-haut .ariane { color: var(--gris); }
.fiche-haut .ariane [aria-current] { color: var(--bleu-nuit); }
.fiche { display: grid; gap: 22px; }
@media (min-width: 900px) { .fiche { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: start; } .fiche-galerie { position: sticky; top: calc(var(--entete) + 16px); } }
.fiche-galerie { display: grid; gap: 10px; min-width: 0; }
.vitrine { position: relative; aspect-ratio: 1 / 1; border-radius: var(--c-rayon); background: var(--c-media); overflow: hidden; border: 2px solid var(--c-bord); cursor: zoom-in; touch-action: pan-y; }
.vitrine img.principale { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .2s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); mix-blend-mode: multiply; }
.vitrine.zoom img.principale { transform: scale(2); }
.vitrine .badge { position: absolute; z-index: 2; left: 14px; top: 14px; background: var(--orange); color: #fff; font-family: var(--titre); font-size: 28px; padding: 8px 12px 6px; border-radius: 10px; transform: rotate(-6deg); }
.vitrine .tampon { right: 16px; top: 18px; }
.vitrine .aide { position: absolute; right: 12px; bottom: 10px; font-size: 12px; font-weight: 700; color: var(--gris); background: rgba(255,255,255,.85); padding: 4px 8px; border-radius: 8px; pointer-events: none; }
.vignettes { display: flex; gap: 10px; }
.vignettes button { width: 72px; height: 72px; padding: 4px; border-radius: 12px; border: 2px solid var(--ligne); background: #fff; cursor: pointer; }
.vignettes button[aria-pressed="true"] { border-color: var(--d-accent); }
.vignettes img { width: 100%; height: 100%; object-fit: contain; }
/* Mini 3D quand il n'y a pas de photo */
.scene3d { position: absolute; inset: 0; display: grid; place-items: center; perspective: 900px; cursor: grab; }
.scene3d:active { cursor: grabbing; }
.objet3d { position: relative; width: 58%; aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(-14deg) rotateY(var(--ry, -28deg)); }
.objet3d .illu { position: absolute; inset: 0; filter: drop-shadow(0 26px 22px rgba(11,27,63,.22)); }
.objet3d .ombre-sol { position: absolute; left: 10%; right: 10%; bottom: -10%; height: 12%; border-radius: 50%; background: radial-gradient(rgba(11,27,63,.25), transparent 70%); transform: rotateX(90deg); }
.cube { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.cube > i { position: absolute; display: block; backface-visibility: hidden; border: 1px solid rgba(0,0,0,.08); }
.vitrine .mention { position: absolute; left: 14px; bottom: 10px; font-size: 12px; font-weight: 700; color: var(--gris); }

.fiche-infos { min-width: 0; display: grid; gap: 16px; align-content: start; }
.fiche-infos .carte-cat { font-size: 13px; }
.fiche-infos h1 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; color: var(--bleu-nuit); margin: 0; line-height: .95; font-size: clamp(38px, 6.4vw, 76px); overflow-wrap: anywhere; }
.fiche-infos .resume { margin: 0; color: var(--gris); font-size: 17px; max-width: 54ch; }
.bloc-prix { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px; border-radius: var(--rayon); background: #fff; border: 2px solid var(--ligne); }
.bloc-prix .kp-prix { font-size: clamp(40px, 8vw, 60px); }
.bloc-prix .kp-prix small { font-size: 12px; }
.prix-details { display: grid; gap: 2px; font-weight: 700; font-size: 15px; }
.prix-details .unitaire { font-size: 18px; font-weight: 800; color: var(--d-accent); }
.prix-details .barre-eclair { font-size: 20px; }
.quantite { display: grid; gap: 10px; }
.quantite-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.pas { display: inline-flex; align-items: center; border: 2px solid var(--bleu-nuit); border-radius: 14px; background: #fff; overflow: hidden; }
.pas button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 24px; font-weight: 800; cursor: pointer; color: var(--bleu-nuit); }
.pas button:disabled { opacity: .3; cursor: default; }
.pas input { width: 54px; height: 48px; border: 0; text-align: center; font: inherit; font-weight: 800; font-size: 18px; -moz-appearance: textfield; color: var(--bleu-nuit); background: transparent; }
.pas input::-webkit-inner-spin-button, .pas input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.paliers { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 700; }
.palier { padding: 6px 10px; border-radius: 10px; border: 2px dashed var(--ligne); color: var(--gris); }
.palier.atteint { border-style: solid; border-color: #12A150; color: #0B7A3B; background: #E9F8EF; }
.total-ligne { font-weight: 700; }
.total-ligne strong { font-family: var(--titre); font-weight: 400; font-size: 30px; color: var(--bleu-nuit); letter-spacing: .01em; }
.total-ligne .eco { color: #0B7A3B; font-weight: 800; }
.boutons-achat { display: grid; gap: 12px; }
@media (min-width: 480px) { .boutons-achat { grid-template-columns: 1fr 1fr; } }
.boutons-achat .kp-btn { width: 100%; white-space: normal; text-align: center; line-height: 1.15; }
.arguments-fiche { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 560px) { .arguments-fiche { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.arguments-fiche li { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: var(--fond-2); font-weight: 700; font-size: 14px; line-height: 1.25; }
.arguments-fiche svg { width: 28px; height: 28px; flex: none; color: var(--d-accent); }
.note-proto { font-size: 13px; color: var(--gris); margin: 0; }

/* Barre d'achat collante (mobile, remplace la barre du socle sur la fiche) */
.kp-barre-mobile.achat { grid-template-columns: auto 1fr; align-items: center; }
.kp-barre-mobile.achat .mini-prix { font-family: var(--titre); font-size: 26px; line-height: 1; color: var(--bleu-nuit); padding-right: 4px; }
.kp-barre-mobile.achat .mini-prix small { display: block; font-family: var(--texte); font-size: 11px; font-weight: 700; color: var(--gris); }
.kp-barre-mobile .btn-achat { box-shadow: none; }

/* Carrousel horizontal de produits similaires */
.carrousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 46%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin: 0 -16px; padding-inline: 16px; scroll-padding-inline: 16px; scrollbar-width: thin; }
.carrousel > * { scroll-snap-align: start; }
@media (min-width: 760px) { .carrousel { grid-auto-columns: minmax(200px, 31%); margin: 0; padding-inline: 0; } }
@media (min-width: 1100px) { .carrousel { grid-auto-columns: calc((100% - 66px) / 4); gap: 22px; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 14px; background: #fff; color: var(--encre); border: 2px solid var(--ligne); }
.sec-forte .faq details { border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 56px; padding: 12px 18px; font-weight: 800; color: var(--bleu-nuit); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--titre); font-size: 28px; color: var(--orange); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--gris); }

/* =================== PANIER =================== */
.panier-mise { display: grid; gap: 24px; }
@media (min-width: 960px) { .panier-mise { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 40px; } .recap { position: sticky; top: calc(var(--entete) + 16px); } }
.lignes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ligne-panier { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 12px 14px; padding: 12px; border-radius: var(--c-rayon); background: #fff; color: var(--encre); border: 2px solid var(--c-bord); box-shadow: var(--c-ombre); }
.ligne-panier .vig { width: 84px; height: 84px; border-radius: 12px; background: var(--c-media); display: grid; place-items: center; overflow: hidden; }
.ligne-panier .vig img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.ligne-panier .vig .illu { width: 74%; height: 74%; }
.ligne-panier h3 { margin: 0 0 2px; font-size: 16px; line-height: 1.25; color: var(--bleu-nuit); }
.ligne-panier h3 a { text-decoration: none; }
.ligne-panier .info { font-size: 14px; color: var(--gris); font-weight: 600; }
.ligne-panier .bas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ligne-panier .montant { font-family: var(--titre); font-size: 26px; color: var(--bleu-nuit); }
.ligne-panier .retirer { min-height: 44px; min-width: 44px; padding: 0 10px; border: 0; background: transparent; color: var(--gris); font-weight: 700; text-decoration: underline; cursor: pointer; }
@media (min-width: 640px) { .ligne-panier { grid-template-columns: 110px minmax(0,1fr) auto; align-items: center; } .ligne-panier .vig { width: 110px; height: 110px; } .ligne-panier .bas { grid-column: auto; justify-content: flex-end; } }
.recap { background: #fff; color: var(--encre); border-radius: var(--c-rayon); border: 2px solid var(--c-bord); padding: 20px; display: grid; gap: 14px; box-shadow: var(--c-ombre); }
.recap h2 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; font-size: 30px; margin: 0; }
.recap dl { margin: 0; display: grid; gap: 8px; }
.recap dl div { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.recap dl .total { padding-top: 10px; border-top: 2px dashed var(--ligne); font-size: 18px; }
.recap dl .total dd { font-family: var(--titre); font-size: 34px; font-weight: 400; line-height: 1; }
.recap dd { margin: 0; text-align: right; }
.recap .eco dd { color: #12A150; }
.jauge { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: var(--fond-2); color: var(--encre); }
.jauge p { margin: 0; font-weight: 800; font-size: 15px; }
.jauge-piste { position: relative; height: 16px; border-radius: 8px; background: #fff; border: 2px solid var(--bleu-nuit); overflow: hidden; }
.jauge-plein { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, #FF8A5C 10px 20px); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.jauge.ok .jauge-plein { background: #12A150; }
.recap .securite { font-size: 13px; color: var(--gris); margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.recap .securite svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.recap .kp-btn { width: 100%; }
.panier-vide { text-align: center; padding: 30px 16px; display: grid; gap: 14px; justify-items: center; }
.panier-vide .illu { width: 140px; height: 140px; }

/* =================== CONTACT =================== */
.contact-mise { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-mise { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; } }
.formulaire { display: grid; gap: 14px; background: #fff; color: var(--encre); border-radius: var(--c-rayon); padding: clamp(18px, 3vw, 32px); border: 2px solid var(--c-bord); box-shadow: var(--c-ombre); }
.formulaire .duo { display: grid; gap: 14px; }
@media (min-width: 600px) { .formulaire .duo { grid-template-columns: 1fr 1fr; } }
.champ { display: grid; gap: 6px; }
.champ label { font-weight: 800; font-size: 14px; color: var(--bleu-nuit); }
.champ input, .champ select, .champ textarea { border-color: var(--ligne); }
.champ textarea { min-height: 140px; padding: 12px 14px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(29,78,216,.18); }
.formulaire .kp-btn { justify-self: start; }
.message-envoi { margin: 0; padding: 12px 14px; border-radius: 12px; background: #E9F8EF; color: #0B5A2C; font-weight: 700; }
.coordonnees { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.coordonnees li { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 14px; background: #fff; color: var(--encre); border: 2px solid var(--c-bord); }
.coordonnees svg { width: 26px; height: 26px; flex: none; color: var(--d-accent); margin-top: 2px; }
.coordonnees strong { display: block; color: var(--bleu-nuit); }
.coordonnees a { color: var(--bleu); font-weight: 800; word-break: break-word; }
.a-completer { display: inline-block; margin-top: 2px; padding: 2px 8px; border-radius: 6px; background: rgba(255,107,53,.14); color: #B23E10; font-weight: 800; font-size: 14px; }
.carte-lille { position: relative; border-radius: var(--c-rayon); overflow: hidden; background: #EAF0FB; border: 2px solid var(--c-bord); }
.carte-lille svg { width: 100%; height: auto; }
.carte-lille .legende { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.carte-lille .legende span { background: #fff; color: var(--bleu-nuit); font-weight: 800; font-size: 12px; padding: 5px 9px; border-radius: 8px; box-shadow: 0 2px 0 rgba(11,27,63,.2); }
html.anime .epingle { animation: epingle 1s cubic-bezier(.3,1.6,.5,1) .6s both; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes epingle { 0% { transform: translateY(-60px) scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
html.anime .onde { animation: onde 2.6s ease-out 1.4s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes onde { 0% { transform: scale(.3); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* =================== QUI SOMMES-NOUS =================== */
.logo-scene { position: relative; display: grid; place-items: center; min-height: clamp(220px, 40vw, 420px); }
.logo-scene svg { width: min(720px, 100%); height: auto; overflow: visible; }
.chiffres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
@media (min-width: 900px) { .chiffres { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; } }
.chiffres li { padding: 18px 16px; border-radius: var(--c-rayon); background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.14); }
.chiffres b { display: block; font-family: var(--titre); font-weight: 400; font-size: clamp(46px, 8vw, 96px); line-height: 1; color: var(--f-accent); }
.chiffres span { font-weight: 700; font-size: 15px; color: var(--f-doux); }
.etapes { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: e; }
@media (min-width: 900px) { .etapes { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; } }
.etape { position: relative; background: #fff; color: var(--encre); border-radius: var(--c-rayon); border: 2px solid var(--c-bord); padding: 20px; display: grid; gap: 10px; box-shadow: var(--c-ombre); }
.etape .num { font-family: var(--titre); font-size: 56px; line-height: .9; color: var(--orange); }
.etape h3 { margin: 0; font-family: var(--titre); font-weight: 400; text-transform: uppercase; font-size: 28px; color: var(--bleu-nuit); line-height: 1; }
.etape p { margin: 0; color: var(--gris); }
.etape .illu-etape { height: 110px; }
.etape .illu-etape svg { height: 100%; width: auto; }
.route { position: relative; height: 70px; margin: 10px 0 26px; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 50px; border-top: 4px dashed var(--a-doux); opacity: .5; }
.camion { position: absolute; left: 0; top: 0; width: 120px; height: 60px; will-change: transform; }
.casse { display: grid; gap: 22px; }
@media (min-width: 900px) { .casse { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; } }
.comparatif { display: grid; gap: 12px; }
.comparatif .barre-ligne { display: grid; gap: 6px; }
.comparatif .barre-ligne span { font-weight: 800; }
.comparatif .piste { height: 44px; border-radius: 10px; background: rgba(15,23,42,.06); overflow: hidden; }
.comparatif .plein { height: 100%; width: var(--w); background: #9AA3B5; display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; font-family: var(--titre); font-size: 22px; color: #fff; transform-origin: left; }
.comparatif .plein.kp { background: var(--orange); }
html.anime .comparatif .plein { transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
html.anime .comparatif.vu .plein { transform: none; }

/* =================== HUB =================== */
.hub-grille { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.hub-carte { display: grid; gap: 8px; padding: 20px; border-radius: var(--c-rayon); background: #fff; border: 2px solid var(--ligne); text-decoration: none; color: var(--encre); transition: transform .2s, border-color .2s; }
.hub-carte:hover { transform: translateY(-3px); border-color: var(--orange); }
.hub-carte h2 { margin: 0; font-family: var(--titre); font-weight: 400; text-transform: uppercase; font-size: 28px; color: var(--bleu-nuit); line-height: 1; }
.hub-carte p { margin: 0; color: var(--gris); font-size: 15px; }
.hub-carte code { font-size: 13px; color: var(--bleu); overflow-wrap: anywhere; }
.hub-liens { display: flex; flex-wrap: wrap; gap: 8px; }

/* =================== PIED + TOAST =================== */
.kp-pied ul { gap: 0; }
.kp-pied ul a { display: inline-flex; align-items: center; min-height: 44px; }
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(var(--barre-mobile) + 14px); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 12px; background: var(--bleu-nuit); color: #fff; padding: 10px 10px 10px 16px; border-radius: 14px; box-shadow: 0 16px 40px rgba(11,27,63,.4); font-weight: 700; transition: opacity .25s, transform .25s; width: max-content; max-width: calc(100vw - 24px); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { flex: none; display: inline-grid; place-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--jaune); color: var(--bleu-nuit); text-decoration: none; font-weight: 800; }
@media (min-width: 760px) { .toast { bottom: 24px; } }
.kp-icones a { position: relative; }
.pastille-panier { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.pastille-panier:empty { display: none; }
html.anime .pastille-panier.saute { animation: saute .5s cubic-bezier(.3,1.8,.5,1); }
@keyframes saute { 40% { transform: scale(1.5); } }

@media (prefers-reduced-motion: reduce) { .ticket-piste { animation: none; } .apparait { opacity: 1; transform: none; } }
.titre-filtres-ordi { display: none; }
@media (min-width: 1024px) { .titre-filtres-ordi { display: block; } .voir-resultats { display: none !important; } }
.voir-resultats { width: 100%; }
.cat-mise > *, .fiche > *, .panier-mise > *, .contact-mise > * { min-width: 0; }
@media (max-width: 759px) { .eclair-deco { width: 96px; top: 54px; right: 8px; } }
.kp-btn svg { flex: none; width: 20px; height: 20px; }
/* Titres : jamais coupés au milieu d'un mot */
.tete-page h1 { font-size: clamp(42px, 10.5vw, 128px); line-height: .98; overflow-wrap: normal; }
.tete-page h1 .ligne { padding: .14em 0 .02em; margin: -.14em 0 -.02em; }
@media (min-width: 1000px) { .tete-page h1 { font-size: clamp(64px, 7.4vw, 128px); } }
.carte .kp-prix.sans-prix { font-size: 12px; padding: 5px 7px; }
.eclair-deco { width: clamp(96px, 22vw, 300px); }

/* =================== FIDÉLITÉ À LA PAGE D'ACCUEIL =================== */
/* Mot fantôme géant, sticker « Prix usine », ticket jaune */
.fantome { display: none; }
@keyframes fantome { from { transform: translateX(12%) skewX(-8deg); opacity: 0; } }
@keyframes sticker { from { transform: rotate(-20deg) scale(.3); opacity: 0; } }
.ticket { background: var(--jaune); color: var(--bleu-nuit); border: 0; border-block: 2px dashed rgba(11,27,63,.35); }
.ticket-piste { padding: 9px 0; align-items: center; }
.ticket-piste span { font-size: 20px; padding: 0 .3em; letter-spacing: .03em; }
.ticket-piste span:nth-child(even) { color: inherit; }
.ticket-piste i { font-style: normal; color: var(--orange-fonce); padding: 0 .5em; font-family: var(--titre); font-size: 20px; }
.ticket-piste b { font-weight: 400; background: var(--bleu-nuit); color: var(--jaune); padding: 1px 8px; border-radius: 5px; }
/* Prix sur fond bleu : l'étiquette jaune reste lisible */

/* =================== 3D LÉGÈRE (CSS) : boîte qui tourne quand il n'y a pas de photo =================== */
.boite3d { position: relative; width: 100%; height: 100%; perspective: 900px; display: grid; place-items: center; }
.boite3d .rot { position: relative; width: var(--L); height: var(--H); transform-style: preserve-3d; transform: rotateX(-22deg) rotateY(-32deg); }
html.anime .boite3d .rot { animation: tourne 9s linear infinite; }
.boite3d.manuel .rot { animation: none !important; }
@keyframes tourne { from { transform: rotateX(-22deg) rotateY(0deg); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.boite3d .f { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; background: var(--kf, #D6A86E); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); overflow: hidden; }
.boite3d .f svg { width: 34%; height: auto; }
.boite3d .f b { font-family: var(--titre); font-style: italic; font-weight: 400; font-size: calc(var(--L) * .14); color: var(--bleu); letter-spacing: .02em; white-space: nowrap; }
.boite3d .f b i { font-style: italic; color: var(--orange); }
.boite3d .ombre { position: absolute; left: 50%; top: 50%; width: calc(var(--L) * 1.3); height: calc(var(--P) * 1.3); background: radial-gradient(closest-side, rgba(11,27,63,.28), transparent); transform: translate(-50%, -50%) rotateX(90deg) translateZ(calc(var(--H) * -0.5 - 6px)); }
.objet3d-svg { width: 100%; height: 100%; display: grid; place-items: center; perspective: 800px; }
.objet3d-svg .illu { width: 82%; height: 82%; filter: drop-shadow(0 20px 18px rgba(11,27,63,.2)); }
html.anime .objet3d-svg .illu { animation: balance 4.5s ease-in-out infinite alternate; }
@keyframes balance { from { transform: rotateY(-28deg) rotateZ(-2deg); } to { transform: rotateY(28deg) rotateZ(2deg); } }
.boite3d { touch-action: pan-y; cursor: grab; }
/* Grille des univers métier (vue=univers) */
.univ-grille { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
@media (min-width: 760px) { .univ-grille { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; } }
@media (min-width: 1200px) { .univ-grille { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.univ-carte { position: relative; display: grid; gap: 6px; padding: 12px 12px 16px; border-radius: var(--c-rayon); background: var(--c-fond); color: var(--encre); text-decoration: none; box-shadow: var(--c-ombre); border: 2px solid var(--c-bord); transition: transform .25s; }
.univ-carte:hover { transform: translateY(-4px); }
.univ-carte .m { aspect-ratio: 4 / 3; border-radius: 14px; background: var(--c-media); display: grid; place-items: center; overflow: hidden; }
.univ-carte .m img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.univ-carte .m .illu { width: 70%; height: 85%; }
.univ-carte h3 { margin: 4px 0 0; font-family: var(--titre); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 30px); line-height: 1; color: var(--bleu-nuit); }
.univ-carte span { font-size: 14px; font-weight: 700; color: var(--gris); }
.zone h2.titre-zone { font-family: var(--titre); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 52px); margin: 18px 0 16px; line-height: 1; }
.fav { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--ligne); background: #fff; color: var(--bleu-nuit); font-weight: 800; cursor: pointer; justify-self: start; }
.fav svg { width: 20px; height: 20px; }
.fav[aria-pressed="true"] { border-color: var(--orange); color: var(--orange-fonce); }
.fav[aria-pressed="true"] svg path { fill: currentColor; }
.fiche-tech { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; max-width: 760px; border-radius: var(--c-rayon); overflow: hidden; background: #fff; color: var(--encre); }
.fiche-tech div { display: grid; grid-template-columns: minmax(min-content, 38%) minmax(0, 1fr); /* libellé jamais coupé ni chevauché */ gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ligne); }
.fiche-tech div:last-child { border-bottom: 0; }
.fiche-tech dt { font-weight: 800; color: var(--bleu-nuit); }
.fiche-tech dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.entete-fiche { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
[hidden] { display: none !important; }
.kp-pied .reseaux { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.fiche-infos .carte-cat { display: inline-flex; align-items: center; min-height: 44px; }
.fiche-tech a { display: inline-block; padding: 4px 0; }
.bientot { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 30px 0 10px; }
.bientot .illu { width: 160px; height: 160px; }
.bientot p { max-width: 52ch; margin: 0 0 8px; color: var(--z-doux); }
.bientot .hub-liens { justify-content: center; }

/* =================== RECHERCHE / COMPTE / SUIVI / LÉGAL / 404 =================== */
.recherche-grande { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 720px; }
.recherche-grande input[type=search] { flex: 1 1 240px; min-width: 0; min-height: 56px; border-radius: 14px; border: 3px solid var(--bleu-nuit); padding: 0 16px; font: inherit; font-size: 18px; font-weight: 700; background: #fff; color: var(--encre); }
.recherche-grande .kp-btn { min-height: 56px; }
.onglets { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.onglets .puce[aria-selected="true"] { background: var(--z-chip-actif); color: var(--z-chip-actif-encre); border-color: var(--z-chip-actif); }
.bloc-compte { max-width: 720px; }
.commande { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; padding: 14px; border-radius: 14px; background: var(--fond-2); }
.statut { padding: 6px 12px; border-radius: 999px; background: #E9F8EF; color: #0B5A2C; font-weight: 800; font-size: 14px; }
.mini-lignes { margin: 0; padding-left: 20px; display: grid; gap: 2px; }
.mini-lignes a { display: inline-block; padding: 8px 0; color: var(--bleu); font-weight: 700; }
.erreur { color: #B42318; font-weight: 700; font-size: 14px; }
.suivi { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.suivi li { position: relative; padding: 0 0 18px 36px; display: grid; }
.suivi li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--ligne); background: #fff; }
.suivi li::after { content: ""; position: absolute; left: 9px; top: 24px; bottom: 0; width: 3px; background: var(--ligne); }
.suivi li:last-child::after { display: none; }
.suivi li.fait::before { background: #12A150; border-color: #12A150; }
.suivi li.fait::after { background: #12A150; }
.suivi li.encours::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 6px rgba(255,107,53,.2); }
.suivi b { color: var(--bleu-nuit); }
.suivi span { color: var(--gris); font-size: 14px; }
html.anime .suivi li { animation: monte .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * .12s); }
@keyframes monte { from { opacity: 0; transform: translateY(12px); } }
.camion { transition: left .8s cubic-bezier(.2,.8,.2,1); }
.texte-legal { max-width: 820px; background: #fff; color: var(--encre); border-radius: var(--c-rayon); padding: clamp(18px, 4vw, 44px); }
.texte-legal h2 { font-family: var(--titre); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 3vw, 32px); color: var(--bleu-nuit); margin: 26px 0 8px; line-height: 1.05; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p { margin: 0; color: #334; }
.texte-legal a { color: var(--bleu); font-weight: 700; }
/* Carte de Lille */
.carte-lille .cl-routes path { stroke: #fff; stroke-width: 14; }
.carte-lille .cl-peri { stroke: #1D4ED8; stroke-width: 5; opacity: .5; }
.carte-lille .cl-eau { stroke: #7FB2F0; stroke-width: 10; }
.carte-lille .cl-citadelle { fill: #9FD39A; }
.carte-lille .cl-txt text { font: 700 14px var(--texte); fill: #4A5266; }
.carte-lille .onde { fill: rgba(255,107,53,.25); }
.carte-lille .cl-etiquette { fill: #0B1B3F; }
.carte-lille .cl-nom { font: 400 18px var(--titre); fill: #fff; letter-spacing: .02em; }
.carte-lille .cl-adr { font: 700 11px var(--texte); fill: var(--jaune); }
/* Qui sommes-nous */
.tete-apropos .logo-scene { margin: 10px 0 0; min-height: 0; }
.tete-apropos .logo-scene svg { width: min(640px, 100%); background: #fff; border-radius: 24px; padding: 14px; }
.sec-forte .chiffres li { background: rgba(255,255,255,.06); }
.etapes .illu-etape { height: 110px; display: flex; }
.etapes .illu-etape .illu { width: 110px; height: 110px; }
.zone .panier-vide .titre-zone, .zone .panier-vide p { color: inherit; }
@media (max-width: 759px) { .eclair-deco { width: 64px; top: 10px; right: 10px; } }
.carte-lille .legende { top: 12px; bottom: auto; }
.hub-carte { align-content: start; }
.hub-liens { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fiche-tech a, .ligne-panier h3 a, .coordonnees a { display: inline-block; padding: 12px 0; margin: -12px 0; }
@media (min-width: 760px) and (max-width: 899px) { .fiche { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; } .fiche-galerie { position: sticky; top: calc(var(--entete) + 12px); } }
@media (max-width: 599px) { .ariane li:not(:nth-last-child(-n+2)) { display: none; } .ariane li:nth-last-child(2)::before { content: "‹"; } }
.tete-apropos .logo-scene { place-items: center start; }

/* =================== HABILLAGE « LE MIX » =================== */
:root[data-design="4"] {
  /* en-tête : bleu roi tramé, titres blancs + jaune */
  --t-fond: var(--bleu);
  --t-encre: #FFFFFF;
  --t-accent: var(--jaune);
  --t-doux: rgba(255,255,255,.9);
  /* contenus : blanc, cartes kraft clair */
  --c-fond: var(--fond-2);
  --c-bord: transparent;
  --c-media: #FFFFFF;
  --c-rayon: 22px;
  --c-ombre: none;
  /* sections alternées : aplat orange */
  --a-fond: var(--orange);
  --a-encre: #FFFFFF;
  --a-doux: rgba(255,255,255,.92);
  --a-accent: var(--bleu-nuit);
  /* sections fortes : bleu nuit, accents jaunes */
  --f-fond: var(--bleu-nuit);
  --f-accent: var(--jaune);
  --b-fond: var(--orange);
  --b-ombre: #C4461A;
}
[data-design="4"] .tete-page { background: radial-gradient(90% 60% at 72% 78%, rgba(90,140,255,.55) 0%, rgba(29,78,216,0) 70%), linear-gradient(180deg, #1D4ED8 0%, #1946C8 100%); }
[data-design="4"] .tete-page::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .18; background-image: radial-gradient(rgba(255,255,255,.9) 1.2px, transparent 1.6px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 75%); mask-image: linear-gradient(115deg, transparent 35%, #000 75%); }
[data-design="4"] .tete-page h1 em { color: var(--jaune); }
[data-design="4"] .tete-page .chapo { color: #fff; }
[data-design="4"] .tete-page .kp-prix { box-shadow: 0 5px 0 rgba(11,27,63,.35); }
[data-design="4"] .eclair-deco { color: var(--orange); opacity: 1; }
[data-design="4"] .eclair-deco path { stroke: var(--jaune); stroke-width: 5; paint-order: stroke; }
[data-design="4"] .fantome { display: block; position: absolute; z-index: -1; left: -2%; bottom: -6%; font-family: var(--titre); text-transform: uppercase; font-style: italic; line-height: .8; white-space: nowrap; font-size: clamp(120px, 26vw, 380px); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.14); pointer-events: none; transform: skewX(-8deg); }
html.anime[data-design="4"] .fantome { animation: fantome 1.2s cubic-bezier(.2,.8,.2,1) both; }
[data-design="4"] .tampon { display: block; color: var(--bleu-nuit); background: var(--jaune); border: 0; outline: 0; border-radius: 12px; padding: 10px 16px 8px; font-size: clamp(26px, 3.4vw, 46px); transform: rotate(5deg); box-shadow: 0 14px 30px rgba(11,27,63,.35); }
[data-design="4"] .tampon small { font-size: .3em; }
[data-design="4"] .tampon::after { content: "Vos emballages · au meilleur prix"; display: block; margin: 6px -22px -16px; padding: 4px 10px; font-family: var(--texte); font-size: 10px; font-weight: 800; letter-spacing: .02em; color: #fff; background: linear-gradient(90deg, var(--bleu-nuit) 50%, var(--orange) 50%); white-space: nowrap; }
html.anime[data-design="4"] .tampon { animation: sticker .7s cubic-bezier(.3,1.6,.5,1) .5s both; }
[data-design="4"] .ticket { display: block; }
[data-design="4"] .kp-prix:not(.sans-prix) { box-shadow: 0 5px 0 var(--bleu-nuit); }
[data-design="4"] .cat-visuel .disque { background: rgba(255,255,255,.12); }
[data-design="4"] .cat-visuel img { mix-blend-mode: normal; background: #fff; }
[data-design="4"] .carte-media { margin: 10px 10px 0; border-radius: 16px; }
[data-design="4"] .carte:hover { background: #EFE7DA; border-color: transparent; }
[data-design="4"] .carte .ext, [data-design="4"] .carte-actions .kp-btn.contour { background: #fff; }
/* sections orange : textes et pastilles lisibles */
[data-design="4"] .sec-alt .provisoire { background: rgba(255,214,10,.25); color: var(--bleu-nuit); }
[data-design="4"] .sec-alt .lien-fleche { color: #fff; }
[data-design="4"] .sec-alt #camion rect:first-child { fill: var(--bleu-nuit); }
[data-design="4"] .comparatif .piste { background: rgba(255,255,255,.18); }
/* fiche produit en affiche promo : vitrine orange, produit dans son disque blanc, bloc prix bleu nuit */
[data-design="4"] .vitrine { background: var(--orange); border-color: var(--orange); }
[data-design="4"] .vitrine img.principale { mix-blend-mode: normal; background: #fff; border-radius: 50%; padding: 12%; inset: 8%; position: absolute; width: 84%; height: 84%; }
[data-design="4"] .vitrine .badge { background: var(--bleu-nuit); }
[data-design="4"] .vitrine .mention, [data-design="4"] .vitrine .aide { color: #fff; background: transparent; }
[data-design="4"] .bloc-prix { background: var(--bleu-nuit); color: #fff; border-color: var(--bleu-nuit); }
[data-design="4"] .prix-details .unitaire { color: var(--jaune); }
[data-design="4"] .prix-details .barre-eclair { color: #C9D3EA; }
[data-design="4"] .recap { background: var(--bleu-nuit); color: #fff; border-color: var(--bleu-nuit); }
[data-design="4"] .recap .eco dd { color: #7CF0A9; }
[data-design="4"] .recap .securite { color: #C9D3EA; }
[data-design="4"] .carte-lille { background: var(--orange); }
[data-design="4"] .carte-lille .cl-routes path { stroke: rgba(255,255,255,.35); }
[data-design="4"] .carte-lille .cl-txt text { fill: #fff; }
[data-design="4"] .carte-lille .cl-peri { stroke: var(--bleu-nuit); }
[data-design="4"] .carte-lille .onde { fill: rgba(255,214,10,.35); }
[data-design="4"] .comparatif .plein.kp { background: var(--bleu-nuit); color: var(--jaune); }
