/* =============================================================================
   Vitrine de déstockage DKP-HOLDING — feuille de styles unique.
   1. Jetons de design   2. Base   3. Composants   4. Vitrine   5. Fiche produit
   6. Espaces revendeur et administration   7. Adaptations (écrans, mouvement, impression)
   ============================================================================= */

/* 1. Jetons ------------------------------------------------------------------ */
/* Campagne fin d'année 2026 : sol d'entrepôt (béton), bleu des rayonnages, jaune sécurité réservé aux prix. */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600 900; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
:root {
  --beton: #e9ecee; --beton-2: #dde2e6; --encre: #142235; --rack: #0b3a6e; --rack-fonce: #082b52; --jaune: #f6c200; --jaune-clair: #fff4c2;
  /* Noms historiques, conservés pour les espaces revendeur et admin */
  --navy: var(--rack); --navy-2: #1f5a9c; --ink: var(--encre); --gold: var(--jaune); --gold-hi: #ffe07a; --gold-bg: var(--jaune-clair); --gold-line: #e8d27e;
  --orange: var(--rack); --lagoon: var(--rack); --red: #b42318; --red-bg: #fdecea; --red-line: #f5c6c2;
  --green: #1f6b55; --green-bg: #e6f1ec; --green-line: #b9d8cb; --wa: var(--rack); --wa-hover: var(--rack-fonce);
  --paper: #f3f5f6; --surface: #fff; --line: #d4dae0; --line-2: #bcc5cf; --muted: #526274; --white: #fff;
  --r-sm: 6px; --r: 8px; --r-lg: 12px; --r-xl: 14px; --pill: 999px;
  --o1: 0 1px 2px rgba(20, 34, 53, .06), 0 2px 8px rgba(20, 34, 53, .05);
  --o2: 0 2px 6px rgba(20, 34, 53, .07), 0 14px 34px rgba(20, 34, 53, .10);
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--rack);
  --vite: 160ms cubic-bezier(.2, .7, .3, 1);
  --f-titre: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --t-xs: .875rem; --t-sm: .9375rem; --t-base: 1.0625rem; --t-lg: 1.1875rem;
  --t-h3: clamp(1.35rem, 1.2rem + .6vw, 1.6rem); --t-h2: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); --t-h1: clamp(2.2rem, 1.5rem + 2.8vw, 3.4rem);
  --entete: 68px;
  font-family: Barlow, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: var(--t-base);
  color: var(--encre); background: var(--beton); color-scheme: light;
}

/* 2. Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 800; line-height: 1.02; letter-spacing: -.005em; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.conteneur { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.evitement:focus { top: 12px; }
.note { font-size: var(--t-xs); color: var(--muted); }
.erreur { color: var(--red); font-weight: 600; margin: 0; }
.erreur:empty { display: none; }

/* 3. Composants -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; border: 0; border-radius: var(--r-sm); padding: 11px 20px;
  font-weight: 600; font-size: var(--t-base); line-height: 1.2; text-decoration: none; transition: background-color var(--vite), color var(--vite), box-shadow var(--vite); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn.navy, .btn.wa { background: var(--rack); color: var(--white); }
.btn.navy:hover, .btn.wa:hover { background: var(--rack-fonce); }
.btn.or { background: var(--jaune); color: var(--encre); }
.btn.or:hover { background: #e8b500; }
.btn.contour { background: transparent; color: var(--rack); box-shadow: inset 0 0 0 2px currentColor; }
.btn.contour:hover { background: rgba(11, 58, 110, .07); }
.btn.clair { background: var(--white); color: var(--rack); }
.btn.clair:hover { background: var(--jaune-clair); }
.btn.grand { min-height: 54px; padding: 14px 24px; font-size: var(--t-lg); }
.btn.petit { min-height: 34px; padding: 6px 12px; font-size: var(--t-xs); }
.btn-lien { background: none; border: 0; padding: 0; color: var(--rack); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.etiquette { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--r-sm); padding: 4px 10px; font-weight: 600; font-size: var(--t-xs);
  background: var(--jaune-clair); color: var(--encre); }
.etiquette.sombre { background: var(--encre); color: var(--white); }
.remise { color: var(--encre); font-weight: 700; white-space: nowrap; }
.monogramme { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--rack); color: var(--jaune); display: grid; place-items: center; font-weight: 900; letter-spacing: .02em; flex: none; }

label { display: grid; gap: 6px; font-size: var(--t-sm); font-weight: 600; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 1rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 11px 12px; color: var(--ink); background: var(--surface); width: 100%; transition: border-color var(--vite), box-shadow var(--vite); }
input:hover, select:hover, textarea:hover { border-color: #9fb0c3; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(29, 79, 143, .18); }
input[readonly] { background: var(--paper); }

details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; transition: box-shadow var(--vite); }
details.faq[open] { box-shadow: var(--o1); }
details.faq summary { font-weight: 700; cursor: pointer; padding: 15px 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--navy-2); transition: transform var(--vite); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin: 0; padding: 0 18px 16px; color: var(--muted); }

/* Squelette de chargement (évite les décalages de mise en page) */
#app { min-height: 70vh; display: block; }
.squelette { padding: 24px 0; display: grid; gap: 18px; }
.squelette > div { border-radius: var(--r-lg); background: linear-gradient(90deg, #e8edf3 25%, #f3f6f9 50%, #e8edf3 75%); background-size: 200% 100%; animation: miroir 1.4s ease-in-out infinite; }
.sq-bandeau { height: 150px; } .sq-ligne { height: 320px; }
@keyframes miroir { to { background-position: -200% 0; } }

/* 4. Vitrine ----------------------------------------------------------------- */
.urgence { background: var(--encre); color: #d6dde6; font-size: var(--t-xs); }
.urgence .conteneur { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 7px 0; flex-wrap: wrap; text-align: center; }
.urgence b { color: var(--jaune); font-weight: 600; }
.compte { display: inline-flex; gap: 4px; font-variant-numeric: tabular-nums; font-family: var(--f-titre); font-weight: 600; font-size: 1.05rem; color: var(--white); }
.compte span { min-width: 34px; }
.compte small { opacity: .65; margin-left: 1px; font-size: .8rem; }

header.tete { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
header.tete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: var(--entete); }
.logo-vitrine { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; line-height: 1.15; }
.logo-vitrine img { height: 36px; width: auto; }
.logo-vitrine img.logo-rv { height: 44px; max-width: 200px; object-fit: contain; }
.logo-vitrine small { display: block; font-weight: 500; color: var(--muted); font-size: .8125rem; }
.conseiller { margin-right: auto; padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.15; font-weight: 600; font-size: var(--t-sm); }
.conseiller small { display: block; color: var(--muted); font-weight: 500; font-size: .8125rem; }
.tete nav { display: flex; gap: 2px; align-items: center; }
.tete nav a.lien { text-decoration: none; padding: 9px 12px; font-weight: 500; font-size: var(--t-sm); color: var(--encre); }
.tete nav a.lien:hover { color: var(--rack); text-decoration: underline; }
.tete nav .btn { min-height: 42px; padding: 8px 16px; }

/* Héros de campagne : le titre porte la page ; les deux machines posées sur le marquage au sol, prix en étiquette. */
.campagne { background: var(--beton); padding: 44px 0 0; overflow: hidden; }
.campagne-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 44px; align-items: end; }
.tampon { display: inline-block; background: var(--jaune); color: var(--encre); font-family: var(--f-titre); font-weight: 600; font-size: 1.15rem; padding: 3px 12px 2px; border-radius: 3px; }
.campagne h1 { font-size: clamp(2.6rem, 1.5rem + 3vw, 4.1rem); line-height: .95; margin: 16px 0 18px; max-width: 12em; letter-spacing: -.01em; }
.chapo { font-size: var(--t-lg); max-width: 46ch; margin: 0 0 26px; color: #2c3b4f; }
.campagne .actions { display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: 36px; }
.campagne-visuel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; position: relative; padding-bottom: 14px; }
.campagne-visuel::after { content: ""; position: absolute; left: -40px; right: -200px; bottom: 0; height: 8px; background: var(--jaune); }
.machine { position: relative; display: block; background: var(--white); border-radius: var(--r-lg) var(--r-lg) 0 0; text-decoration: none; color: inherit; padding: 10px 10px 0; }
.machine img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.machine.m1 { margin-bottom: 0; }
.machine-prix { position: absolute; left: 10px; bottom: 12px; background: var(--jaune); color: var(--encre); padding: 6px 10px 5px; border-radius: 3px; line-height: 1.1; box-shadow: 0 2px 0 rgba(20, 34, 53, .25); }
.machine-prix span { display: block; font-size: .8125rem; font-weight: 600; }
.machine-prix b { font-family: var(--f-titre); font-weight: 800; font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.machine-prix small { font-size: .8rem; font-weight: 600; }
.machine:hover .machine-prix { background: #ffd21f; }
.faits { grid-column: 1 / -1; list-style: none; margin: 0 0 0; padding: 22px 0 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.faits li { padding: 0 18px; border-left: 2px solid var(--beton-2); color: var(--muted); font-size: var(--t-sm); line-height: 1.35; }
.faits li:first-child { padding-left: 0; border-left: 0; }
.faits b { display: block; font-family: var(--f-titre); font-weight: 800; font-size: 1.35rem; color: var(--encre); }
@media (prefers-reduced-motion: no-preference) {
  .machine { animation: arrivee .7s cubic-bezier(.2, .7, .2, 1) both; }
  .machine.m1 { animation-delay: .12s; }
  @keyframes arrivee { from { transform: translateX(28px); opacity: 0; } }
}

section.bloc { padding: 64px 0; }
#modeles { background: var(--white); padding-bottom: 8px; }
.titre-bloc { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.titre-bloc h2 { font-size: var(--t-h2); margin: 0; }
.titre-bloc p { margin: 8px 0 0; color: var(--muted); max-width: 60ch; }

.liste-produits { display: grid; gap: 0; border-top: 2px solid var(--encre); }
.ligne-produit { display: grid; grid-template-columns: 300px minmax(0, 1fr) 290px; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.lp-photo { position: relative; background: var(--white); border: 1px solid var(--line); aspect-ratio: 1; display: block; border-radius: var(--r); overflow: hidden; }
.lp-photo img { width: 100%; height: 100%; object-fit: contain; }
.badge-stock { position: absolute; top: 10px; left: 10px; background: var(--encre); color: var(--white); font-weight: 600; border-radius: 3px; padding: 4px 9px; font-size: .8125rem; }
.lp-titre { font-family: var(--f-titre); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 800; text-decoration: none; color: var(--encre); line-height: 1.02; display: block; }
.lp-titre:hover { color: var(--rack); }
.lp-info .sous { margin: 8px 0 16px; color: var(--muted); }
table.attributs { width: 100%; border-collapse: collapse; font-size: var(--t-sm); margin-bottom: 14px; }
table.attributs th, table.attributs td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.attributs th { color: var(--muted); font-weight: 500; width: 40%; }
table.attributs td { font-weight: 600; }
.lien-pdf { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--rack); text-decoration: none; font-size: var(--t-sm); }
.lien-pdf:hover { text-decoration: underline; }
.lien-pdf .pdf, .fiche-lien .pdf { font-family: var(--f-titre); font-weight: 800; font-size: .75rem; background: var(--rack); color: var(--white); border-radius: 3px; padding: 2px 5px; letter-spacing: .03em; }
.lp-achat { display: grid; gap: 10px; align-content: start; }
.lien-details { font-size: var(--t-sm); color: var(--rack); font-weight: 600; text-align: center; padding: 6px; }

/* Étiquette de prix : le jaune sécurité ne sert qu'ici. */
.etiquette-prix { background: var(--jaune); color: var(--encre); border-radius: 3px; padding: 12px 16px 13px; box-shadow: 0 3px 0 rgba(20, 34, 53, .22); margin-bottom: 6px; }
.ep-lib { display: block; font-size: .8125rem; font-weight: 600; }
.etiquette-prix b { display: block; font-family: var(--f-titre); font-weight: 800; font-size: 2.3rem; line-height: 1; font-variant-numeric: tabular-nums; margin: 3px 0 4px; white-space: nowrap; }
.etiquette-prix b small { font-size: 1rem; font-weight: 600; margin-left: 6px; }
.ep-ref { display: block; font-size: .8125rem; }
.ep-ref s { text-decoration-thickness: 1.5px; }
.etiquette-prix.grand { padding: 16px 20px; margin: 4px 0 18px; }
.etiquette-prix.grand b { font-size: clamp(2.4rem, 2rem + 1.5vw, 3.1rem); }
.note s { white-space: nowrap; }

.essai { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 34px; align-items: center; color: var(--white); border-radius: var(--r-lg); padding: 36px; background: var(--rack); }
.essai h2 { margin: 0 0 8px; font-size: var(--t-h2); }
.essai p { margin: 0; color: #d3def0; max-width: 60ch; }

.vs { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.vs > div { padding: 30px; }
.vs .import { background: var(--surface); }
.vs .dkp { background: var(--encre); color: var(--white); }
.vs h3 { margin-top: 0; font-size: var(--t-h3); }
.vs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.vs li { display: flex; gap: 10px; }
.vs li::before { content: "✕"; color: var(--red); font-weight: 700; }
.vs .dkp li::before { content: "✓"; color: var(--jaune); }

.inclus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--encre); }
.inclus > div { padding: 20px 18px 6px 0; }
.inclus svg { width: 26px; height: 26px; color: var(--rack); }
.inclus b { display: block; margin: 10px 0 4px; font-family: var(--f-titre); font-size: 1.3rem; font-weight: 800; }
.inclus p { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.a-confirmer { outline: 2px dashed var(--rack); outline-offset: 2px; }

.pack { margin-top: 24px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: var(--encre); color: var(--white); border-radius: var(--r-lg); padding: 24px 28px; }
.pack h2 { margin: 8px 0 6px; font-size: var(--t-h3); } .pack p { margin: 0; color: #cdd6e2; }
.pack-prix { display: grid; gap: 8px; justify-items: end; text-align: right; }
.pack-prix > b { font-family: var(--f-titre); font-size: 2rem; color: var(--jaune); }
.pack-prix span { color: #cdd6e2; font-size: var(--t-sm); }

.formulaire { background: var(--surface); border-radius: var(--r-lg); padding: 30px; display: grid; gap: 16px; border: 1px solid var(--line); }
.formulaire h2 { font-size: var(--t-h2); }
.formulaire .grille { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.barre-achat { position: fixed; inset: auto 0 0 0; z-index: 40; background: var(--white); border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: none; gap: 8px; align-items: center; box-shadow: 0 -6px 20px rgba(20, 34, 53, .1); }
.barre-achat .p { flex: 1; min-width: 0; line-height: 1.2; font-size: .8125rem; color: var(--muted); }
.barre-achat .p .nom { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-achat .p b { display: block; color: var(--encre); font-family: var(--f-titre); font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
.barre-achat .btn { min-height: 44px; padding: 10px 14px; }

footer.pied-rv { background: var(--encre); color: #b9c4d2; padding: 44px 0 100px; font-size: var(--t-sm); }
footer.pied-rv .conteneur { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer.pied-rv b { color: var(--white); font-family: var(--f-titre); font-size: 1.15rem; font-weight: 600; }
footer.pied-rv a { color: var(--white); }

/* 5. Fiche produit ----------------------------------------------------------- */
.fil { font-size: var(--t-sm); color: var(--muted); padding: 16px 0; }
.fil a { text-decoration: none; } .fil a:hover { text-decoration: underline; }
.fiche { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: start; }
.galerie { position: sticky; top: calc(var(--entete) + 16px); }
.onglets-galerie { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.onglets-galerie button { min-height: 36px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--pill); padding: 6px 14px; font-weight: 600; font-size: var(--t-sm); transition: background-color var(--vite); }
.onglets-galerie button:hover { background: var(--paper); }
.onglets-galerie button[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.vue { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); aspect-ratio: 1 / 1; overflow: hidden; cursor: zoom-in; display: grid; place-items: center; box-shadow: var(--o1); }
.vue img { width: 100%; height: 100%; object-fit: contain; transition: transform .15s ease-out; }
.vue.reel img { object-fit: cover; }
.vue .compteur-img { position: absolute; bottom: 12px; right: 12px; background: rgba(11, 27, 51, .78); color: var(--white); font-size: var(--t-xs); border-radius: var(--pill); padding: 4px 10px; }
.vue .legende { position: absolute; bottom: 12px; left: 12px; background: rgba(255, 255, 255, .94); font-size: var(--t-xs); border-radius: 8px; padding: 5px 10px; max-width: 70%; box-shadow: var(--o1); }
.vue .fleche { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 10px rgba(0, 0, 0, .15); font-size: 22px; transition: transform var(--vite); }
.vue .fleche:hover { transform: translateY(-50%) scale(1.06); }
.vue .fleche.g { left: 10px; } .vue .fleche.d { right: 10px; }
.miniatures { display: grid; grid-auto-flow: column; grid-auto-columns: 76px; gap: 8px; overflow-x: auto; padding: 10px 2px 4px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.miniatures button { border: 2px solid transparent; border-radius: var(--r-sm); padding: 0; overflow: hidden; background: var(--surface); aspect-ratio: 1; scroll-snap-align: start; }
.miniatures button[aria-current="true"] { border-color: var(--rack); }
.miniatures img { width: 100%; height: 100%; object-fit: cover; }

.info h1 { font-size: var(--t-h1); margin: 6px 0 6px; overflow-wrap: anywhere; }
.info .sous { color: var(--muted); font-size: var(--t-lg); margin: 0 0 16px; }
.info table.attributs { margin: 4px 0 16px; border: 1px solid var(--line); }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.badges span { border-radius: 3px; padding: 3px 9px; font-size: .8125rem; font-weight: 600; background: var(--white); border: 1px solid var(--line); }
.badges .fort { background: var(--encre); color: var(--white); border-color: var(--encre); }
.badges .rouge { background: var(--red-bg); color: var(--red); border-color: var(--red-line); }
.badges .vert { background: var(--green-bg); color: var(--green); border-color: var(--green-line); }
.quantite { display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: center; background: var(--paper); border-radius: var(--r); padding: 10px 12px; margin-bottom: 12px; }
.quantite > span { font-weight: 700; color: var(--muted); font-size: var(--t-sm); }
.pas { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.pas button { border: 0; background: var(--surface); width: 44px; height: 44px; font-size: 20px; }
.pas button:hover { background: var(--paper); }
.pas output { min-width: 40px; display: grid; place-items: center; font-weight: 800; }
.total { text-align: right; line-height: 1.25; }
.total span { display: block; font-weight: 800; color: var(--navy); }
.total small { color: var(--muted); font-size: .75rem; }
.cta-fiche { display: grid; gap: 10px; }
.cta-secondaires { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; padding: 6px 2px; font-size: var(--t-sm); }
.cta-secondaires a { color: var(--rack); font-weight: 600; }
.reassurance { display: grid; gap: 8px; margin-top: 18px; font-size: var(--t-sm); color: var(--muted); }
.reassurance div { display: flex; gap: 10px; align-items: center; }
.reassurance svg { width: 18px; height: 18px; color: var(--lagoon); flex: none; }

.sous-nav { position: sticky; top: var(--entete-sticky, var(--entete)); z-index: 20; background: var(--beton); border-bottom: 1px solid var(--line); margin-top: 40px; }
.sous-nav .conteneur { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sous-nav a { text-decoration: none; white-space: nowrap; padding: 14px; font-weight: 600; font-size: .95rem; color: var(--muted); border-bottom: 3px solid transparent; transition: color var(--vite); }
.sous-nav a:hover { color: var(--navy); }
.sous-nav a.actif { color: var(--encre); border-bottom-color: var(--rack); }
.section-fiche { padding: 44px 0 8px; scroll-margin-top: 130px; }
.section-fiche h2 { font-size: var(--t-h2); margin: 0 0 20px; }

.points { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.schema { position: relative; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.schema img { width: 100%; }
.point { position: absolute; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; border: 3px solid var(--white); background: var(--orange); color: var(--white); font-weight: 800; font-size: var(--t-xs); box-shadow: 0 0 0 0 rgba(217, 119, 6, .6); animation: pouls 2s infinite; }
.point[aria-pressed="true"] { background: var(--navy); animation: none; }
@keyframes pouls { 70% { box-shadow: 0 0 0 14px rgba(217, 119, 6, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); } }
.liste-points { display: grid; gap: 10px; }
.liste-points button { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 13px 15px; display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; transition: border-color var(--vite), box-shadow var(--vite); }
.liste-points button:hover { border-color: #b9c6d6; }
.liste-points button[aria-pressed="true"] { border-color: var(--rack); box-shadow: 0 0 0 2px var(--rack); }
.liste-points .n { width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: var(--t-xs); }
.liste-points b { display: block; }
.liste-points span { color: var(--muted); font-size: var(--t-sm); }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.specs table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.specs caption { text-align: left; font-weight: 800; padding: 0 0 8px; color: var(--navy); }
.specs td { padding: 10px 14px; border-top: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.specs tr:first-child td { border-top: 0; }
.specs tr:nth-child(even) td { background: #fafbfd; }
.specs td:first-child { color: var(--muted); width: 52%; }
.specs td:last-child { font-weight: 600; }

.usages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.usages li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }

table.comparer { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
table.comparer th, table.comparer td { padding: 12px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
table.comparer thead th { background: var(--encre); color: var(--white); border-top: 0; font-family: var(--f-titre); font-size: 1.1rem; font-weight: 600; }
table.comparer td.moi, table.comparer th.moi { background: #eef3f9; }
table.comparer thead th.moi { background: var(--rack-fonce); }

.visionneuse { position: fixed; inset: 0; z-index: 60; background: rgba(11, 27, 51, .96); display: grid; grid-template-rows: auto 1fr auto; color: var(--white); }
.visionneuse .haut { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.visionneuse .haut button { background: rgba(255, 255, 255, .12); color: var(--white); border: 0; border-radius: var(--r-sm); padding: 10px 14px; }
.visionneuse .scene { overflow: hidden; display: grid; place-items: center; touch-action: none; }
.visionneuse .scene img { max-width: 96vw; max-height: 78vh; object-fit: contain; transition: transform .1s; }
.visionneuse .bas { display: flex; justify-content: center; gap: 12px; padding: 12px; }
.visionneuse .bas button { background: rgba(255, 255, 255, .12); color: var(--white); border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 22px; }

/* 6. Espaces revendeur et administration -------------------------------------- */
.connexion-rv { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 40px 16px; background: radial-gradient(900px 400px at 50% 0%, #e3ecfa, transparent); }
.cnx-carte { width: min(460px, 100%); background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--o2); padding: 28px; display: grid; gap: 14px; border: 1px solid var(--line); }
.cnx-entete { display: flex; gap: 12px; align-items: center; } .cnx-entete b { display: block; } .cnx-entete small { color: var(--muted); }
.cnx-carte h1 { font-size: 1.5rem; margin: 4px 0 0; }
.cnx-etapes { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; counter-reset: c; }
.cnx-etapes li { flex: 1; counter-increment: c; font-size: .75rem; font-weight: 700; color: var(--muted); border-top: 4px solid var(--line); padding-top: 6px; transition: border-color var(--vite); }
.cnx-etapes li::before { content: counter(c) ". "; }
.cnx-etapes li.actif { color: var(--navy); border-color: var(--gold); } .cnx-etapes li.fait { color: var(--green); border-color: var(--green); }
.pile { display: grid; gap: 12px; }
.alerte { background: var(--red-bg); color: var(--red); border-radius: var(--r-sm); padding: 10px 12px; margin: 0; font-weight: 600; }
.alerte.info { background: var(--green-bg); color: var(--green); }
.code6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.code6 input { text-align: center; font-size: 1.6rem; font-weight: 800; padding: 12px 0; }
.succes { text-align: center; display: grid; gap: 10px; justify-items: center; }
.succes > span { width: 64px; height: 64px; border-radius: 50%; background: var(--green-bg); color: var(--green); font-size: 32px; display: grid; place-items: center; }
.cle-adm summary { cursor: pointer; color: var(--muted); font-size: var(--t-sm); } .cle-adm form { margin-top: 10px; }

.espace-rv { padding: 28px 0 60px; }
.rv-tete { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.rv-tete h1 { margin: 10px 0 2px; font-size: var(--t-h1); }
.bienvenue { background: linear-gradient(135deg, #fff3d6, var(--surface)); border: 2px solid var(--gold); border-radius: var(--r); padding: 14px 16px; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.rv-grille { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.rv-form { display: grid; gap: 16px; }
.rv-form fieldset { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 18px 20px; margin: 0; display: grid; gap: 12px; box-shadow: var(--o1); }
.rv-form legend { font-weight: 800; font-size: 1.05rem; padding: 0 6px; display: flex; gap: 8px; align-items: center; }
.rv-form legend span { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: var(--t-xs); }
.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.slug { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; background: var(--paper); }
.slug:focus-within { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(29, 79, 143, .18); }
.slug span { padding: 0 4px 0 12px; color: var(--muted); font-size: var(--t-xs); white-space: nowrap; }
.slug input { border: 0; border-radius: 0; font-weight: 700; color: var(--navy); box-shadow: none !important; }
.slug input { flex: 1 1 10ch; min-width: 10ch; }
/* Adresse longue (www.dkp-ci.com/manut/destockage/r/) : sur mobile, le préfixe passe au-dessus du champ. */
@media (max-width: 560px) { .slug { flex-wrap: wrap; } .slug span { flex: 1 1 100%; padding: 8px 12px 0; white-space: normal; overflow-wrap: anywhere; } }
.prix-rv { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 10px; background: linear-gradient(180deg, var(--surface), #fbfcfe); }
.prix-rv-tete { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.stock-rv { font-size: .75rem; font-weight: 700; color: var(--red); background: var(--red-bg); border-radius: var(--pill); padding: 3px 10px; }
.stock-rv.epuise { background: var(--paper); color: var(--muted); }
.prix-rv input[type=range] { -webkit-appearance: none; appearance: none; height: 8px; border-radius: var(--pill); padding: 0; border: 0; background: linear-gradient(90deg, var(--rack) var(--pct, 50%), #dfe6ef var(--pct, 50%)); }
.prix-rv input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 3px solid var(--navy); box-shadow: 0 3px 10px rgba(11, 27, 51, .25); cursor: grab; }
.prix-rv input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 3px solid var(--navy); cursor: grab; }
.prix-rv-bas { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.prix-rv-bas .mini { max-width: 210px; } .prix-rv-bas .mini input { font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.marge { text-align: right; } .marge small { display: block; color: var(--muted); font-size: .75rem; }
.marge b { font-family: var(--f-titre); font-size: 1.7rem; color: var(--rack); font-variant-numeric: tabular-nums; } .marge b.ko { color: var(--red); font-size: .95rem; }
.raccourcis { display: flex; gap: 8px; flex-wrap: wrap; }
.raccourcis button { min-height: 34px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--pill); padding: 5px 12px; font-size: var(--t-xs); font-weight: 600; transition: border-color var(--vite); }
.raccourcis button:hover { border-color: var(--navy); }
.bascule { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); font-size: .95rem; cursor: pointer; }
.bascule input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bascule span { width: 50px; height: 28px; border-radius: var(--pill); background: var(--line-2); position: relative; transition: background var(--vite); flex: none; }
.bascule span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); transition: transform var(--vite); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.bascule input:checked + span { background: var(--rack); } .bascule input:checked + span::after { transform: translateX(22px); }
.bascule input:focus-visible + span { box-shadow: var(--focus); }
.rv-enregistrer { position: sticky; bottom: 12px; background: rgba(245, 247, 250, .94); backdrop-filter: blur(8px); border-radius: var(--r); padding: 10px; display: flex; gap: 12px; align-items: center; box-shadow: 0 -4px 20px rgba(11, 27, 51, .08); }
.rv-cote { position: sticky; top: calc(var(--entete) + 16px); display: grid; gap: 16px; }
.telephone-3d { perspective: 1400px; display: grid; place-items: center; }
.tel-cadre { width: 300px; height: 600px; border-radius: 42px; background: #0b1220; padding: 12px; position: relative; transform: rotateY(-8deg) rotateX(3deg); box-shadow: 24px 30px 60px rgba(11, 27, 51, .32), inset 0 0 0 2px #2a3446; transition: transform .5s; }
.tel-cadre:hover { transform: rotateY(0) rotateX(0); }
.tel-encoche { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 24px; background: #0b1220; border-radius: 0 0 16px 16px; z-index: 2; }
.tel-cadre iframe { width: 100%; height: 100%; border: 0; border-radius: 32px; background: var(--white); }
.tel-vide { height: 100%; border-radius: 32px; background: linear-gradient(180deg, #1d2b44, #0b1220); color: #9fb0c3; display: grid; place-items: center; text-align: center; padding: 30px; }
.partage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 10px; }
.partage.inactif { opacity: .5; pointer-events: none; }
.partage-btns { display: flex; gap: 8px; flex-wrap: wrap; } .partage-btns .btn { flex: 1; }
.lien-perso { display: flex; gap: 8px; flex-wrap: wrap; }
.lien-perso input { flex: 1 1 240px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--t-xs); }
.stats-rv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stats-rv div, .cartes-adm div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.stats-rv b, .cartes-adm b { display: block; font-size: 1.6rem; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.2; }
.stats-rv span, .cartes-adm span { font-size: .75rem; color: var(--muted); }
.cartes-adm { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.rv-vente, .bloc-adm { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin-top: 22px; box-shadow: var(--o1); }
.rv-vente h2, .bloc-adm h2 { margin: 0 0 6px; font-size: 1.25rem; }
.alerte-bloc { border-color: var(--gold); box-shadow: 0 0 0 3px #fff3d6; }
.grille-vente { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 12px; align-items: end; margin: 10px 0; }
table.tableau-rv { width: 100%; border-collapse: collapse; font-size: var(--t-sm); margin-top: 10px; }
.tableau-rv th, .tableau-rv td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tableau-rv th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tableau-rv tbody tr:hover td, .tableau-rv tr:hover td { background: #fafbfd; }
.tableau-rv input { padding: 7px 8px; font-size: var(--t-sm); max-width: 140px; }
.actions-l { display: flex; gap: 6px; flex-wrap: wrap; }
.pastille-v { display: inline-block; border-radius: var(--pill); padding: 2px 9px; font-size: .75rem; font-weight: 700; background: var(--paper); border: 1px solid var(--line); }
.pastille-v.actif, .pastille-v.confirmee { background: var(--green-bg); color: var(--green); border-color: var(--green-line); }
.pastille-v.demande, .pastille-v.declaree { background: #fff3d6; color: #7a4e00; border-color: var(--gold-line); }
.pastille-v.suspendu, .pastille-v.annulee { background: var(--red-bg); color: var(--red); border-color: var(--red-line); }
.invitation-ok { background: var(--green-bg); border-radius: var(--r); padding: 12px 14px; display: grid; gap: 10px; color: #155c36; }
.toast-espace { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--r-sm); z-index: 80; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-weight: 600; animation: monte .2s ease-out; }
.toast-espace.ko { background: var(--red); }
@keyframes monte { from { opacity: 0; transform: translate(-50%, 8px); } }

/* 7. Adaptations ------------------------------------------------------------- */
@media (max-width: 1000px) {
  .rv-grille { grid-template-columns: minmax(0, 1fr); }
  .rv-cote { position: static; order: -1; }
  .tel-cadre { width: 260px; height: 520px; }
}
@media (max-width: 960px) {
  .fiche, .points, .vs, .specs, .essai { grid-template-columns: minmax(0, 1fr); }
  .galerie { position: static; }
  .inclus, .usages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ligne-produit { grid-template-columns: 200px minmax(0, 1fr); gap: 22px; }
  .lp-achat { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-achat .etiquette-prix, .lp-achat .lien-details { grid-column: 1 / -1; }
  .campagne-grille { grid-template-columns: minmax(0, 1fr); }
  .campagne h1 { max-width: 16ch; }
  .campagne .actions { padding-bottom: 8px; }
  .faits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .faits li:nth-child(3) { padding-left: 0; border-left: 0; }
  footer.pied-rv .conteneur { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .tete nav a.lien { display: none; }
  .formulaire { padding: 20px; }
  .formulaire .grille { grid-template-columns: 1fr; }
  .barre-achat.visible { display: flex; }
  .urgence { font-size: .78rem; } .urgence .conteneur { gap: 6px; padding: 6px 0; }
  .compte span { min-width: 34px; padding: 1px 5px; }
  section.bloc { padding: 44px 0; }
  .essai { padding: 24px; }
  .campagne { padding-top: 26px; }
  .campagne .actions .btn { flex: 1 1 auto; }
  .machine-prix b { font-size: 1.15rem; }
  .machine-prix span { font-size: .75rem; }
}
@media (max-width: 600px) {
  .ligne-produit { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
  .lp-photo { aspect-ratio: 4 / 3; }
  .lp-achat { grid-template-columns: minmax(0, 1fr); }
  .quantite { grid-template-columns: auto 1fr; } .total { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 560px) {
  .deux-col { grid-template-columns: 1fr; }
  .prix-rv-bas { flex-direction: column; align-items: stretch; } .marge { text-align: left; }
  .telephone-3d { display: none; }
}
@media (max-width: 420px) {
  .barre-achat { gap: 8px; padding-left: 10px; padding-right: 10px; }
  .barre-achat .btn { padding: 10px; font-size: var(--t-sm); }
  .barre-achat .btn { gap: 6px; }
  .barre-achat .btn .ico-wa { width: 18px; height: 18px; }
  .barre-achat .p b { font-size: var(--t-sm); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv-tel, .tel-cadre { transform: none; }
}
@media print {
  .urgence, header.tete, .sous-nav, .barre-achat, footer, .cta-fiche, .onglets-galerie, .miniatures, .formulaire, .evitement { display: none !important; }
  body { background: #fff; }
  .galerie { position: static; }
  .fiche { grid-template-columns: 1fr 1fr; }
  .ligne-produit, .vue, .specs table { box-shadow: none; }
}
@media (max-width: 600px) { .pack { grid-template-columns: 1fr; } .pack-prix { justify-items: start; text-align: left; } }
/* Réserve la hauteur du bandeau d'urgence avant que le compte à rebours ne s'affiche (pas de décalage). */
.urgence .conteneur { min-height: 42px; }
.compte:empty::before { content: "00j 00h 00min 00s"; visibility: hidden; }
@media (max-width: 680px) { .urgence .conteneur { min-height: 59px; } }

/* Bouton présenté comme un lien (actions secondaires de l'administration) */
.lien-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.lien-btn:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 2px; }
.lien-btn:disabled { opacity: .6; cursor: progress; }

/* Espace revendeur : qui vend, logo, fiches PDF */
.choix-vendeur { display: grid; gap: 10px; }
.carte-choix { display: grid; grid-template-columns: 22px 1fr; gap: 4px 10px; align-items: start; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px; cursor: pointer; color: var(--encre); font-weight: 500; }
.carte-choix input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--rack); grid-row: span 2; }
.carte-choix b { font-weight: 600; }
.carte-choix span { color: var(--muted); font-size: var(--t-xs); }
.carte-choix:has(input:checked) { border-color: var(--rack); box-shadow: inset 0 0 0 1px var(--rack); background: #f5f8fc; }
.logo-rv { display: flex; gap: 14px; align-items: center; margin-top: 4px; color: var(--encre); font-size: var(--t-sm); }
.logo-rv small { color: var(--muted); }
.logo-apercu { width: 120px; height: 56px; flex: none; border: 1px dashed var(--line-2); border-radius: var(--r-sm); display: grid; place-items: center; background: var(--white); overflow: hidden; color: var(--muted); font-size: var(--t-xs); }
.logo-apercu img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-btns { display: flex; gap: 12px; align-items: center; margin-top: 6px; }
.logo-btns label { display: inline-flex; color: var(--rack); }
.fiches-rv { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 8px; }
.fiches-rv .note { margin: 0 0 4px; }
.fiches-rv.inactif { opacity: .55; pointer-events: none; }
.fiche-lien { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--encre); font-weight: 600; }
.fiche-lien small { display: block; color: var(--muted); font-weight: 500; }
.fiche-lien:hover { border-color: var(--rack); }
@media (max-width: 680px) { .conseiller { display: none; } }

/* Campagne : constat (trois méthodes), bénéfices, calculateur, argumentaire produit */
.constat { background: var(--beton); padding-top: 8px; }
.methodes { display: grid; border-top: 2px solid var(--encre); }
.m-ligne { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.25fr; border-bottom: 1px solid var(--beton-2); }
.m-ligne > span { padding: 14px 16px 14px 0; font-size: var(--t-sm); color: #2c3b4f; }
.m-ligne > span:first-child { font-weight: 600; color: var(--encre); }
.m-tete > span { font-family: var(--f-titre); font-weight: 800; font-size: 1.3rem; color: var(--encre); padding-top: 16px; padding-bottom: 12px; }
.m-ligne > .nous { background: var(--white); padding-left: 16px; color: var(--encre); font-weight: 600; }
.m-tete > .nous { background: var(--rack); color: var(--white); }
.benefices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.benefices h3 { font-size: 1.4rem; margin: 0 0 8px; padding-top: 12px; border-top: 4px solid var(--rack); }
.benefices p { margin: 0; color: var(--muted); font-size: var(--t-sm); }

.calcul { background: var(--white); padding-top: 0; }
.calcul-grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: start; border-top: 1px solid var(--line); padding-top: 56px; }
.calcul h2 { font-size: var(--t-h2); margin: 0 0 12px; }
.calcul-grille > div p { color: var(--muted); max-width: 44ch; }
.calculateur { display: grid; gap: 16px; background: var(--beton); border-radius: var(--r-lg); padding: 24px; }
.calculateur label { color: var(--encre); }
.curseur-ligne { display: flex; gap: 14px; align-items: center; }
.curseur-ligne input { accent-color: var(--rack); padding: 0; border: 0; background: none; }
.curseur-ligne output { font-family: var(--f-titre); font-weight: 800; font-size: 1.4rem; min-width: 3.2em; text-align: right; }
.resultat { background: var(--encre); color: #cdd6e2; border-radius: var(--r); padding: 18px 20px; }
.resultat span { font-size: var(--t-sm); }
.resultat b { display: block; font-family: var(--f-titre); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); color: var(--white); line-height: 1.05; margin: 4px 0 8px; }
.resultat p { margin: 0; font-size: var(--t-sm); }
.resultat p b { display: inline; font-size: 1.25rem; color: var(--jaune); margin: 0; }
.calculateur .note { margin: 0; }

.lp-slogan { margin: 0 0 6px; font-weight: 600; color: var(--rack); font-size: var(--t-sm); }
.slogan { font-family: var(--f-titre); font-weight: 800; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: .98; margin: 6px 0 10px; color: var(--encre); text-wrap: balance; }
.info h1 { font-family: Barlow, system-ui, sans-serif; font-weight: 600; font-size: var(--t-lg); letter-spacing: 0; line-height: 1.3; margin: 0 0 2px; color: var(--rack); }
.argumentaire { background: var(--white); margin-top: 48px; padding: 52px 0; }
.arg-accroche { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.45; max-width: 62ch; margin: 0 0 36px; color: var(--encre); }
.arg-grille { display: grid; grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.pour-qui h2 { font-size: 1.6rem; margin: 0 0 10px; }
.pour-qui ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pour-qui li { padding-left: 18px; position: relative; font-weight: 500; }
.pour-qui li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--jaune); }
.attention { margin: 16px 0 0; font-size: var(--t-xs); color: var(--muted); border-left: 3px solid var(--jaune); padding-left: 10px; }
.argument h3 { font-size: 1.4rem; margin: 0 0 8px; padding-top: 12px; border-top: 4px solid var(--rack); }
.argument p { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.argumentaire + .sous-nav { margin-top: 0; }

@media (max-width: 960px) {
  .benefices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calcul-grille, .arg-grille { grid-template-columns: minmax(0, 1fr); }
  .arg-grille { gap: 22px; }
}
@media (max-width: 760px) {
  /* Tableau des méthodes : une carte par critère, la colonne « gerbeur électrique » mise en avant. */
  .m-tete { display: none; }
  .m-ligne { grid-template-columns: minmax(0, 1fr); padding: 14px 0; gap: 6px; }
  .m-ligne > span { padding: 0; }
  .m-ligne > span:first-child { font-family: var(--f-titre); font-weight: 800; font-size: 1.3rem; }
  .m-ligne > span[data-m]::before { content: attr(data-m) " : "; font-weight: 600; color: var(--muted); }
  .m-ligne > .nous { padding: 10px 12px; border-left: 4px solid var(--rack); }
  .m-ligne > .nous::before { color: var(--rack); }
  .benefices { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* En-tête et pied du site www.dkp-ci.com (vitrine DKP, et revendeur conseiller) ; vitrine d'un revendeur qui vend à son
   nom : son propre en-tête, son pied, aucune mention de DKP. La barre de campagne passe sous l'en-tête du site. */
html:not([data-marque="revendeur"]) { --entete-sticky: 72px; }
html:not([data-marque="revendeur"]) footer.pied-rv { display: none; }
html[data-marque="revendeur"] [data-dkp-site] { display: none; }
html:not([data-marque="revendeur"]) .logo-vitrine { display: none; }
html:not([data-marque="revendeur"]) header.tete { position: static; background: var(--white); }
html:not([data-marque="revendeur"]) header.tete .conteneur { height: 56px; justify-content: flex-end; }
html:not([data-marque="revendeur"]) .conseiller { margin-right: auto; padding-left: 0; border-left: 0; }
.site-footer.dkp-site .legal { border-top: 0; }
@media (max-width: 680px) { .site-footer.dkp-site { padding-bottom: 72px; } }
@media (max-width: 680px) { html:not([data-marque="revendeur"]) .conseiller { display: block; font-size: .875rem; } }
/* Menu mobile du site : le panneau plein écran ne doit pas être enfermé dans l'en-tête (le flou crée un bloc conteneur). */
.site-header.dkp-site.open { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transition: none !important; background: var(--paper, #f5f7fa); }
.site-header.dkp-site .primary { z-index: 60; }

/* Logo WhatsApp : reconnaissable sur fond bleu comme sur fond clair (pastille blanche, bulle verte). */
.ico-wa { width: 22px; height: 22px; flex: none; }
.btn .ico-wa { width: 22px; height: 22px; }
.btn.contour .ico-wa circle { fill: #fff; }
