/*!
 * Équipement Van — feuille de style unique, organisée en couches : une règle d'une couche basse
 * ne peut jamais écraser une règle d'une couche plus haute par accident.
 * Points d'arrêt : 640 px (tablette) et 1000 px (ordinateur). Mobile d'abord.
 * Signature : coutures pointillées (sangles, toile), marquage de route, une couleur par zone du van.
 */
@layer reset, jetons, base, mise-en-page, composants, pages, utilitaires;

@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/fonts/atkinson-next-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/fonts/atkinson-next-italic-var.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Azeret Mono"; src: url("/assets/fonts/azeret-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ============================================================== reset */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  img, svg, video { display: block; max-width: 100%; }
  img { height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { cursor: pointer; background: none; border: 0; padding: 0; }
  ul[class], ol[class] { list-style: none; padding: 0; }
  table { border-collapse: collapse; }
  [hidden] { display: none !important; }
}

/* ============================================================== jetons */
@layer jetons {
  :root {
    /* « bivouac au crépuscule » : fond lavande pâle, encre indigo de nuit, action vert sapin, accent ambre */
    --brume: #f3f1f6;
    --lin: #e8e4ef;
    --toile: #ffffff;
    --pin: #1f1d36;
    --pin-doux: #55516b;      /* 7,1:1 sur --brume */
    --trait: #d8d3e2;
    --trait-fort: #aaa3bb;
    --nuit: #1f1d36;
    --sur-nuit: #ebe9f3;
    --achat: #1d6a45;         /* texte blanc 6,5:1 */
    --achat-fonce: #134d31;
    --achat-clair: #dcefe3;
    --lien: #1d6a45;
    --ok: #1f6b3a;
    --ok-fond: #e1efe3;
    --alerte: #9a2a1f;
    --alerte-fond: #f8e6e2;
    --vigilance: #7a5200;
    --vigilance-fond: #fbf0d6;
    --ambre: #f0b340;
    --photo: #eeebf3;         /* fond identique des photos produits retraitées */

    /* une couleur par zone du van (texte blanc ≥ 4,5:1) */
    --u-rangement: #8b5e34;
    --u-nuit: #3e3c86;
    --u-aeration: #3f7d46;
    --u-12v: #8a5f00;
    --u-eau: #2366a8;
    --u-kits: #a43f2a;

    --f-titre: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
    --f-texte: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-cote: "Azeret Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

    --t-xs: 0.8125rem;
    --t-s: 0.9375rem;
    --t-m: 1.0625rem;
    --t-l: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
    --t-xl: clamp(1.4rem, 1.2rem + 0.9vw, 1.875rem);
    --t-2xl: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
    --t-3xl: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem);

    --e-1: 0.25rem; --e-2: 0.5rem; --e-3: 0.75rem; --e-4: 1rem; --e-5: 1.25rem; --e-6: 1.5rem;
    --e-8: 2rem; --e-10: 2.5rem; --e-12: 3rem; --e-16: 4rem;
    --section: clamp(2.75rem, 1.8rem + 4vw, 5rem);
    --gouttiere: 1rem;
    --largeur: 76rem;
    --largeur-texte: 44rem;

    --r-s: 6px; --r-m: 12px; --r-l: 20px; --r-pilule: 999px;
    --ombre: 0 1px 2px rgb(31 29 54 / 0.06), 0 8px 24px rgb(31 29 54 / 0.08);
    --ombre-forte: 0 18px 50px rgb(31 29 54 / 0.28);
    --entete: 4rem;
    --vite: 160ms;
  }
  @media (min-width: 640px) { :root { --gouttiere: 1.5rem; } }
  @media (min-width: 1000px) { :root { --gouttiere: 2rem; --entete: 4.5rem; } }
}

/* ============================================================== base */
@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 1rem); }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
  body {
    background: var(--brume);
    color: var(--pin);
    font-family: var(--f-texte);
    font-size: var(--t-m);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  main { flex: 1; }
  h1, h2, h3, h4 { font-family: var(--f-titre); line-height: 1.12; font-weight: 750; letter-spacing: -0.015em; text-wrap: balance; }
  h1 { font-size: var(--t-3xl); }
  h2 { font-size: var(--t-2xl); }
  h3 { font-size: var(--t-l); }
  h4 { font-size: var(--t-m); }
  p, li { text-wrap: pretty; }
  a { color: var(--lien); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
  a:hover { text-decoration-thickness: 2px; }
  :focus-visible { outline: 3px solid var(--ambre); outline-offset: 2px; border-radius: 4px; }
  strong { font-weight: 700; }
  small { font-size: var(--t-xs); }
  code, .cote { font-family: var(--f-cote); font-size: 0.92em; letter-spacing: -0.01em; }
  table { width: 100%; font-size: var(--t-s); }
  th, td { text-align: left; padding: var(--e-2) var(--e-3); border-bottom: 1px solid var(--trait); vertical-align: top; }
  th { font-family: var(--f-titre); font-weight: 700; }
  thead th { background: var(--lin); }
  hr { border: 0; border-top: 1px solid var(--trait); }
}

/* ============================================================== mise en page */
@layer mise-en-page {
  .conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
  .conteneur--texte { max-width: calc(var(--largeur-texte) + 2 * var(--gouttiere)); }
  .section { padding-block: var(--section); }
  .section--lin { background: var(--lin); }
  .section--nuit { background: var(--nuit); color: var(--sur-nuit); }
  .section--nuit a { color: #c9f0d8; }
  .pile > * + * { margin-top: var(--e-4); }
  .pile-l > * + * { margin-top: var(--e-8); }
  .grille { display: grid; gap: var(--e-6); }
  @media (min-width: 640px) { .grille--2 { grid-template-columns: repeat(2, 1fr); } .grille--3 { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1000px) { .grille--3 { grid-template-columns: repeat(3, 1fr); } .grille--4 { grid-template-columns: repeat(4, 1fr); } }
  .entete-section { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--e-3) var(--e-6); margin-bottom: var(--e-8); }
  .entete-section > div { max-width: 40rem; }
  .entete-section p { color: var(--pin-doux); margin-top: var(--e-2); }
  .section--nuit .entete-section p { color: #c4cbe0; }
  .surtitre { font-family: var(--f-cote); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--pin-doux); display: block; margin-bottom: var(--e-2); }
  .section--nuit .surtitre { color: #aeb6cf; }
}

/* ============================================================== composants */
@layer composants {
  /* --- icônes */
  .ico { width: 1.25em; height: 1.25em; flex: none; }

  /* --- bandeau d'annonce */
  .annonce { background: var(--pin); color: #e6e3f2; font-size: var(--t-xs); text-align: center; padding: var(--e-2) var(--gouttiere); }
  .annonce strong { color: #fff; }
  .annonce--demo { background: var(--vigilance-fond); color: var(--vigilance); border-bottom: 1px solid #e8d29a; }
  .annonce--demo strong { color: var(--vigilance); }

  /* --- en-tête */
  .entete { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / 0.96); border-bottom: 1px solid var(--trait); backdrop-filter: blur(8px); }
  .entete__barre { display: flex; align-items: center; gap: var(--e-3); min-height: var(--entete); }
  .logo { display: inline-flex; align-items: center; gap: var(--e-2); text-decoration: none; color: var(--pin); font-family: var(--f-titre); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; margin-right: auto; }
  .logo img { width: 2.4rem; height: 2.4rem; }
  .logo > span { white-space: nowrap; }
  @media (max-width: 639px) { .logo { font-size: 1.1rem; } .logo img { width: 2.1rem; height: 2.1rem; } .config { padding: var(--e-4); } }
  .logo small { display: none; font-family: var(--f-texte); font-weight: 500; font-size: var(--t-xs); color: var(--pin-doux); letter-spacing: 0; }
  @media (min-width: 1000px) { .logo small { display: block; } .logo span { display: grid; line-height: 1.1; } }
  .entete__liens { display: none; gap: var(--e-1); }
  @media (min-width: 1000px) { .entete__liens { display: flex; } }
  .entete__liens a, .pastille-van, .bouton-panier, .bouton-menu { display: inline-flex; align-items: center; gap: var(--e-2); min-height: 2.75rem; padding: 0 var(--e-3); border-radius: var(--r-pilule); color: var(--pin); text-decoration: none; font-weight: 600; font-size: var(--t-s); }
  .entete__liens a:hover, .bouton-menu:hover { background: var(--lin); }
  .entete__liens a[aria-current="page"] { background: var(--lin); }
  .pastille-van { border: 2px dashed var(--trait-fort); max-width: 14rem; }
  .pastille-van span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pastille-van--ok { border-style: solid; border-color: var(--achat); background: var(--achat-clair); color: var(--achat-fonce); }
  .pastille-van .pastille-van__court { display: inline; }
  .pastille-van .pastille-van__long { display: none; }
  @media (min-width: 640px) { .pastille-van .pastille-van__court { display: none; } .pastille-van .pastille-van__long { display: inline; } }
  .bouton-panier { background: var(--pin); color: #fff; position: relative; }
  .bouton-panier:hover { background: #12112a; }
  .bouton-panier__n { min-width: 1.4rem; height: 1.4rem; border-radius: var(--r-pilule); background: var(--ambre); color: var(--pin); font-size: var(--t-xs); font-weight: 800; display: inline-grid; place-items: center; padding: 0 0.3rem; }
  .bouton-panier__libelle { display: none; }
  @media (min-width: 640px) { .bouton-panier__libelle { display: inline; } }
  .bouton-menu { padding: 0 var(--e-2); }
  @media (min-width: 1000px) { .bouton-menu { display: none; } }

  /* --- barre des zones (navigation principale par zone du van) */
  .zones-nav { border-top: 1px solid var(--trait); display: none; }
  @media (min-width: 1000px) { .zones-nav { display: block; } }
  .zones-nav ol { display: flex; gap: var(--e-1); list-style: none; padding: 0; }
  .zones-nav a { display: flex; align-items: center; gap: var(--e-2); padding: var(--e-3) var(--e-2); text-decoration: none; color: var(--pin); font-weight: 600; font-size: var(--t-s); border-bottom: 3px solid transparent; white-space: nowrap; }
  .zones-nav a:hover, .zones-nav a[aria-current="page"] { border-bottom-color: var(--zone, var(--pin)); }
  .zones-nav .num { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: inline-grid; place-items: center; background: var(--zone); color: #fff; font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xs); }
  .zones-nav li:last-child { margin-left: auto; }

  /* couleur de zone portée par une classe */
  .u-rangement-anti-bruit { --zone: var(--u-rangement); }
  .u-nuit-condensation { --zone: var(--u-nuit); }
  .u-moustiquaires-aeration { --zone: var(--u-aeration); }
  .u-electricite-12v { --zone: var(--u-12v); }
  .u-eau-cuisine-nomade { --zone: var(--u-eau); }
  .u-kits { --zone: var(--u-kits); }

  /* --- menu mobile */
  .menu-mobile { border: 0; padding: 0; margin: 0 0 0 auto; width: min(24rem, 100%); max-width: 100%; height: 100%; max-height: 100%; background: var(--toile); box-shadow: var(--ombre-forte); }
  .menu-mobile::backdrop { background: rgb(31 29 54 / 0.5); }
  .menu-mobile__haut { display: flex; justify-content: space-between; align-items: center; padding: var(--e-4) var(--gouttiere); border-bottom: 1px solid var(--trait); }
  .menu-mobile nav { padding: var(--e-4) var(--gouttiere) var(--e-8); }
  .menu-mobile h2 { font-size: var(--t-s); font-family: var(--f-cote); text-transform: uppercase; letter-spacing: 0.08em; color: var(--pin-doux); margin: var(--e-6) 0 var(--e-2); font-weight: 500; }
  .menu-mobile li a { display: flex; align-items: center; gap: var(--e-3); padding: var(--e-3) 0; color: var(--pin); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--lin); }
  .menu-mobile .num { width: 1.8rem; height: 1.8rem; border-radius: 50%; display: inline-grid; place-items: center; background: var(--zone); color: #fff; font-family: var(--f-titre); font-weight: 800; font-size: var(--t-xs); flex: none; }

  /* --- boutons */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--e-2); min-height: 3rem; padding: 0 var(--e-6); border-radius: var(--r-pilule); font-weight: 700; font-size: var(--t-m); text-decoration: none; border: 2px solid transparent; transition: background var(--vite), border-color var(--vite), transform var(--vite); line-height: 1.15; text-align: center; }
  .btn:active { transform: translateY(1px); }
  .btn--achat { background: var(--achat); color: #fff; }
  .btn--achat:hover { background: var(--achat-fonce); color: #fff; }
  .btn--achat:disabled, .btn--achat[aria-disabled="true"] { background: #8fa3a6; cursor: not-allowed; }
  .btn--contour { border-color: var(--pin); color: var(--pin); background: transparent; }
  .btn--contour:hover { background: var(--pin); color: #fff; }
  .btn--clair { background: #fff; color: var(--pin); }
  .btn--clair:hover { background: var(--lin); }
  .btn--large { width: 100%; }
  .btn--petit { min-height: 2.5rem; padding: 0 var(--e-4); font-size: var(--t-s); }
  .btn--mini { min-height: 2.25rem; min-width: 2.25rem; padding: 0 var(--e-2); }
  .lien-discret { color: var(--pin-doux); text-decoration: underline; font-size: var(--t-xs); min-height: 2rem; padding: 0 var(--e-1); }
  .lien-fleche { display: inline-flex; align-items: center; gap: var(--e-1); font-weight: 700; text-decoration: none; color: var(--lien); }
  .lien-fleche:hover { text-decoration: underline; }

  /* --- étiquette de zone (cousue) */
  .etiquette { display: inline-flex; align-items: center; gap: 0.35rem; font-size: var(--t-xs); font-weight: 700; color: var(--zone); background: color-mix(in srgb, var(--zone) 10%, white); border: 1.5px dashed color-mix(in srgb, var(--zone) 55%, white); padding: 0.15rem 0.6rem; border-radius: var(--r-s); }
  .etiquette .ico { width: 1rem; height: 1rem; }

  /* --- fil d'Ariane */
  .fil { font-size: var(--t-xs); color: var(--pin-doux); padding-block: var(--e-4) 0; }
  .fil ol { display: flex; flex-wrap: wrap; gap: var(--e-1) var(--e-2); list-style: none; padding: 0; }
  .fil li + li::before { content: "›"; margin-right: var(--e-2); color: var(--trait-fort); }
  .fil a { color: var(--pin-doux); }

  /* --- carte produit */
  .grille-produits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-3); }
  @media (min-width: 640px) { .grille-produits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-5); } }
  @media (min-width: 1000px) { .grille-produits { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grille-produits--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .carte { display: flex; flex-direction: column; background: var(--toile); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--ombre); position: relative; }
  .carte::after { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--zone); }
  .carte__media { display: block; aspect-ratio: 1; background: var(--photo); }
  .carte__media img { width: 100%; height: 100%; object-fit: cover; }
  .carte__corps { display: flex; flex-direction: column; gap: var(--e-2); padding: var(--e-3); flex: 1; }
  @media (min-width: 640px) { .carte__corps { padding: var(--e-4); } }
  .carte__titre { font-size: var(--t-m); line-height: 1.25; }
  .carte__titre a { color: var(--pin); text-decoration: none; }
  .carte__titre a::before { content: ""; position: absolute; inset: 0; z-index: 0; }
  .carte__titre a:hover { text-decoration: underline; }
  .carte__resume { font-size: var(--t-s); color: var(--pin-doux); line-height: 1.45; display: none; }
  @media (min-width: 640px) { .carte__resume { display: block; } }
  .carte__eco { font-size: var(--t-xs); font-weight: 700; color: var(--ok); }
  .carte__adapte { display: flex; align-items: center; gap: 0.3rem; font-size: var(--t-xs); font-weight: 700; color: var(--ok); }
  .carte__pied { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--e-2); padding-top: var(--e-2); position: relative; z-index: 1; }
  .carte__epuise { font-size: var(--t-xs); font-weight: 700; color: var(--alerte); }
  .carte--epuise .carte__media { opacity: 0.6; }
  .carte .btn, .carte .etiquette { position: relative; z-index: 1; }
  .carte .etiquette { align-self: flex-start; }
  .carte--hors-config { opacity: 0.55; }
  .prix { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-l); letter-spacing: -0.02em; white-space: nowrap; }
  .prix__des { font-family: var(--f-texte); font-weight: 500; font-size: var(--t-xs); color: var(--pin-doux); letter-spacing: 0; }

  /* --- encadrés */
  .encadre { border-radius: var(--r-m); padding: var(--e-4) var(--e-5); background: var(--toile); border: 1px solid var(--trait); }
  .encadre > * + * { margin-top: var(--e-2); }
  .encadre--info { background: #e9e6f6; border-color: #cbc4e6; }
  .encadre--vigilance { background: var(--vigilance-fond); border-color: #ecd59a; }
  .encadre--alerte { background: var(--alerte-fond); border-color: #e9bfb7; }
  .encadre--ok { background: var(--ok-fond); border-color: #b9d8bf; }
  .encadre__titre { display: flex; align-items: center; gap: var(--e-2); font-family: var(--f-titre); font-weight: 750; font-size: var(--t-m); }
  .encadre ul { padding-left: 1.2rem; }
  .reponse-directe { border-left: 5px solid var(--achat); background: var(--toile); padding: var(--e-4) var(--e-5); border-radius: 0 var(--r-m) var(--r-m) 0; font-size: var(--t-m); }
  .reponse-directe > strong:first-child { display: block; font-family: var(--f-cote); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--achat); margin-bottom: var(--e-1); }

  /* --- coutures et marquage de route (signature) */
  .couture { outline: 2px dashed color-mix(in srgb, currentColor 35%, transparent); outline-offset: -10px; }
  .route { height: 14px; background: linear-gradient(90deg, var(--pin) 0 60%, transparent 60%) 0 50% / 64px 4px repeat-x; opacity: 0.18; }
  .section--nuit .route { background-image: linear-gradient(90deg, #fff 0 60%, transparent 60%); }

  /* --- FAQ */
  .faq { display: grid; gap: var(--e-3); }
  .faq details { background: var(--toile); border-radius: var(--r-m); border: 1px solid var(--trait); }
  .faq summary { cursor: pointer; list-style: none; padding: var(--e-4) var(--e-5); font-family: var(--f-titre); font-weight: 700; font-size: var(--t-m); display: flex; justify-content: space-between; gap: var(--e-4); }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--achat); flex: none; }
  .faq details[open] summary::after { content: "−"; }
  .faq details > div { padding: 0 var(--e-5) var(--e-5); color: var(--pin-doux); }
  .faq details > div > * + * { margin-top: var(--e-2); }

  /* --- accordéons de fiche */
  .accordeons { border-top: 1px solid var(--trait); }
  .accordeons details { border-bottom: 1px solid var(--trait); }
  .accordeons summary { cursor: pointer; list-style: none; padding: var(--e-4) 0; font-family: var(--f-titre); font-weight: 750; font-size: var(--t-l); display: flex; align-items: center; gap: var(--e-3); }
  .accordeons summary::-webkit-details-marker { display: none; }
  .accordeons summary::after { content: ""; margin-left: auto; width: 0.7rem; height: 0.7rem; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform var(--vite); }
  .accordeons details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
  .accordeons details > div { padding-bottom: var(--e-6); }
  .accordeons details > div > * + * { margin-top: var(--e-3); }
  .accordeons ul, .accordeons ol { padding-left: 1.25rem; }
  .accordeons li + li { margin-top: var(--e-1); }

  /* --- tableau de caractéristiques / comparatif */
  .tableau { overflow-x: auto; border-radius: var(--r-m); border: 1px solid var(--trait); background: var(--toile); }
  .tableau table { min-width: 34rem; }
  .tableau--etroit table { min-width: 0; }
  .tableau caption { text-align: left; padding: var(--e-3); font-size: var(--t-xs); color: var(--pin-doux); caption-side: bottom; }
  .tableau tbody tr:last-child td, .tableau tbody tr:last-child th { border-bottom: 0; }
  .specs th { width: 45%; font-family: var(--f-texte); font-weight: 600; color: var(--pin-doux); }

  /* --- jauge de livraison offerte */
  .seuil { display: grid; gap: var(--e-2); padding: var(--e-3) var(--e-4); background: var(--lin); border-radius: var(--r-m); }
  .seuil__texte { display: flex; align-items: center; gap: var(--e-2); font-size: var(--t-s); }
  .seuil--ok { background: var(--ok-fond); color: var(--ok); font-weight: 700; }
  .seuil__jauge { height: 8px; background: rgb(31 29 54 / 0.12); border-radius: var(--r-pilule); overflow: hidden; }
  .seuil__plein { display: block; height: 100%; background: var(--achat); border-radius: inherit; transition: width 300ms ease; }
  .seuil--ok .seuil__plein { background: var(--ok); }
  .pct-0 { width: 0; } .pct-5 { width: 5%; } .pct-10 { width: 10%; } .pct-15 { width: 15%; } .pct-20 { width: 20%; } .pct-25 { width: 25%; }
  .pct-30 { width: 30%; } .pct-35 { width: 35%; } .pct-40 { width: 40%; } .pct-45 { width: 45%; } .pct-50 { width: 50%; } .pct-55 { width: 55%; }
  .pct-60 { width: 60%; } .pct-65 { width: 65%; } .pct-70 { width: 70%; } .pct-75 { width: 75%; } .pct-80 { width: 80%; } .pct-85 { width: 85%; }
  .pct-90 { width: 90%; } .pct-95 { width: 95%; } .pct-100 { width: 100%; }

  /* --- lignes du panier */
  .lignes { display: grid; gap: var(--e-4); }
  .ligne { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: var(--e-3); align-items: start; }
  .ligne__media { display: block; border-radius: var(--r-s); overflow: hidden; background: var(--photo); aspect-ratio: 1; }
  .ligne__media img { width: 100%; height: 100%; object-fit: cover; }
  .ligne__infos { display: grid; gap: 0.15rem; min-width: 0; }
  .ligne__titre { font-weight: 700; color: var(--pin); text-decoration: none; line-height: 1.3; }
  .ligne__variante { font-size: var(--t-xs); color: var(--pin-doux); }
  .ligne__alerte { font-size: var(--t-xs); color: var(--alerte); font-weight: 700; }
  .ligne__qte { display: flex; align-items: center; gap: var(--e-2); margin-top: var(--e-1); }
  .qte { width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1.5px solid var(--trait-fort); display: grid; place-items: center; }
  .qte:hover { border-color: var(--pin); }
  .qte:disabled { opacity: 0.4; cursor: not-allowed; }
  .qte .ico { width: 1rem; height: 1rem; }
  .qte__n { min-width: 1.5rem; text-align: center; font-weight: 700; }
  .ligne__prix { font-weight: 800; font-family: var(--f-titre); white-space: nowrap; }
  .ligne--ko .ligne__media { opacity: 0.5; }

  /* --- ajouts en 1 clic */
  .upsells { display: grid; gap: var(--e-2); }
  .upsells__titre { font-family: var(--f-titre); font-weight: 750; font-size: var(--t-m); }
  .upsell { display: grid; grid-template-columns: 3.5rem 1fr auto auto; gap: var(--e-3); align-items: center; padding: var(--e-2); background: var(--toile); border: 1.5px dashed var(--trait-fort); border-radius: var(--r-m); }
  .upsell img { border-radius: var(--r-s); background: var(--photo); aspect-ratio: 1; object-fit: cover; width: 3.5rem; height: 3.5rem; }
  .upsell__nom { font-size: var(--t-s); font-weight: 600; line-height: 1.3; display: grid; }
  .upsell__nom small { color: var(--pin-doux); font-weight: 400; }
  .upsell__prix { font-weight: 800; font-family: var(--f-titre); white-space: nowrap; }

  .totaux { display: grid; gap: var(--e-2); }
  .totaux div { display: flex; justify-content: space-between; gap: var(--e-4); }
  .totaux dd { font-weight: 700; }
  .totaux__total { font-family: var(--f-titre); font-size: var(--t-l); border-top: 1px solid var(--trait); padding-top: var(--e-2); }
  .totaux__total dd { font-weight: 800; }
  .totaux__mention { font-size: var(--t-xs); color: var(--pin-doux); text-align: right; }

  /* --- tiroir panier */
  .tiroir { border: 0; padding: 0; margin: 0 0 0 auto; width: min(28rem, 100%); max-width: 100%; height: 100%; max-height: 100%; background: var(--brume); box-shadow: var(--ombre-forte); }
  .tiroir::backdrop { background: rgb(31 29 54 / 0.5); }
  .tiroir__cadre { display: flex; flex-direction: column; height: 100%; }
  .tiroir__haut { display: flex; justify-content: space-between; align-items: center; padding: var(--e-4) var(--e-5); background: var(--toile); border-bottom: 1px solid var(--trait); }
  .tiroir__haut h2 { font-size: var(--t-l); }
  .tiroir__corps { flex: 1; overflow-y: auto; padding: var(--e-5); display: grid; gap: var(--e-5); align-content: start; }
  .tiroir__bas { padding: var(--e-4) var(--e-5) var(--e-5); background: var(--toile); border-top: 1px solid var(--trait); display: grid; gap: var(--e-3); }
  .fermer { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; }
  .fermer:hover { background: var(--lin); }
  .vide { text-align: center; color: var(--pin-doux); display: grid; gap: var(--e-4); justify-items: center; padding: var(--e-8) 0; }

  /* --- réassurance */
  .reassurance { display: grid; gap: var(--e-3); }
  .reassurance li { display: flex; gap: var(--e-3); align-items: flex-start; font-size: var(--t-s); }
  .reassurance .ico { color: var(--achat); margin-top: 0.1rem; }
  .paiements { display: flex; flex-wrap: wrap; gap: var(--e-2); align-items: center; font-size: var(--t-xs); color: var(--pin-doux); }
  .paiements span.carte-bancaire { border: 1px solid var(--trait-fort); border-radius: 4px; padding: 0.1rem 0.45rem; font-weight: 700; color: var(--pin); background: #fff; font-family: var(--f-titre); }

  /* --- notification d'ajout */
  .toast { position: fixed; z-index: 60; left: 50%; bottom: var(--e-5); translate: -50% 0; background: var(--pin); color: #fff; padding: var(--e-3) var(--e-5); border-radius: var(--r-pilule); box-shadow: var(--ombre-forte); display: flex; gap: var(--e-2); align-items: center; font-weight: 600; font-size: var(--t-s); max-width: calc(100% - 2 * var(--gouttiere)); }

  /* --- pied de page */
  .pied { background: var(--pin); color: #d9d6e8; margin-top: auto; font-size: var(--t-s); }
  .pied a { color: #fff; text-decoration: none; }
  .pied a:hover { text-decoration: underline; }
  .pied__haut { display: grid; gap: var(--e-8); padding-block: var(--e-12) var(--e-8); }
  @media (min-width: 640px) { .pied__haut { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1000px) { .pied__haut { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
  .pied h2 { font-size: var(--t-s); font-family: var(--f-cote); text-transform: uppercase; letter-spacing: 0.08em; color: #aaa5c4; margin-bottom: var(--e-3); font-weight: 500; }
  .pied li + li { margin-top: var(--e-2); }
  .pied__bas { border-top: 1px solid rgb(255 255 255 / 0.12); padding-block: var(--e-5); display: flex; flex-wrap: wrap; gap: var(--e-3) var(--e-6); justify-content: space-between; font-size: var(--t-xs); color: #b3aecb; }
  .pied__marque p { max-width: 24rem; margin-top: var(--e-3); }
  .pied .logo { color: #fff; }
}

/* ============================================================== pages */
@layer pages {
  /* --- héros d'accueil */
  .heros { padding-block: var(--e-8) var(--section); }
  .heros__grille { display: grid; gap: var(--e-8); align-items: center; }
  @media (min-width: 1000px) { .heros__grille { grid-template-columns: 0.9fr 1.1fr; gap: var(--e-10); } }
  .heros h1 { font-size: var(--t-3xl); }
  .heros h1 em { font-style: normal; color: var(--achat); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--ambre) 55%, transparent) 62%); }
  .heros__texte { display: grid; gap: var(--e-5); }
  .heros__texte > p { font-size: var(--t-l); color: var(--pin-doux); max-width: 34rem; }
  .heros__actions { display: flex; flex-wrap: wrap; gap: var(--e-3); }
  .preuves { display: grid; gap: var(--e-2); font-size: var(--t-s); }
  .preuves li { display: flex; gap: var(--e-2); align-items: center; }
  .preuves .ico { color: var(--ok); }
  .heros__visuel { border-radius: 28px; box-shadow: var(--ombre); }
  .heros-van { width: 100%; height: auto; border-radius: 28px; }
  .heros-van__reperes a { cursor: pointer; }
  .heros-van__reperes a:hover circle, .heros-van__reperes a:focus circle { stroke: var(--ambre); stroke-width: 6; }
  .legende-zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.25rem, 1fr)); gap: var(--e-2); margin-top: var(--e-3); }
  .legende-zones a { display: flex; align-items: center; gap: var(--e-2); padding: var(--e-2) var(--e-3); background: var(--toile); border-radius: var(--r-pilule); text-decoration: none; color: var(--pin); font-weight: 600; font-size: var(--t-xs); border: 1px solid var(--trait); }
  .legende-zones a:hover { border-color: var(--zone); }
  .legende-zones .num { width: 1.5rem; height: 1.5rem; border-radius: 50%; display: inline-grid; place-items: center; background: var(--zone); color: #fff; font-family: var(--f-titre); font-weight: 800; flex: none; }

  /* --- configurateur « Mon format & mon usage » */
  .config { background: var(--toile); border-radius: var(--r-l); box-shadow: var(--ombre); padding: var(--e-5); display: grid; gap: var(--e-6); }
  @media (min-width: 640px) { .config { padding: var(--e-8); } }
  .config fieldset { border: 0; padding: 0; min-width: 0; }
  .config legend { font-family: var(--f-titre); font-weight: 750; font-size: var(--t-l); margin-bottom: var(--e-3); display: flex; align-items: center; gap: var(--e-3); }
  .config legend .num { width: 2rem; height: 2rem; border-radius: 50%; background: var(--pin); color: #fff; display: inline-grid; place-items: center; font-size: var(--t-s); flex: none; }
  .tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.25rem), 1fr)); gap: var(--e-2); }
  @media (min-width: 640px) { .tuiles { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: var(--e-3); } }
  .tuile { position: relative; }
  .tuile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
  .tuile label { display: grid; gap: var(--e-1); height: 100%; padding: var(--e-3); align-content: start; border: 2px dashed var(--trait-fort); border-radius: var(--r-m); background: var(--brume); transition: border-color var(--vite), background var(--vite); }
  .tuile label img { width: 100%; max-width: 8.5rem; height: auto; margin-bottom: var(--e-1); }
  .tuile label .ico { width: 1.75rem; height: 1.75rem; color: var(--zone, var(--pin)); margin-bottom: var(--e-1); }
  .tuile label strong { font-family: var(--f-titre); font-size: var(--t-m); }
  .tuile label span { font-size: var(--t-xs); color: var(--pin-doux); line-height: 1.35; }
  .tuile input:hover + label { border-color: var(--pin); }
  .tuile input:checked + label { border-style: solid; border-color: var(--achat); background: var(--achat-clair); }
  .tuile input:focus-visible + label { outline: 3px solid var(--ambre); outline-offset: 2px; }
  .config__resultat { border-top: 2px dashed var(--trait); padding-top: var(--e-6); display: grid; gap: var(--e-5); }
  .config__resultat h3 { font-size: var(--t-xl); }
  .config__actions { display: flex; flex-wrap: wrap; gap: var(--e-3); align-items: center; }
  .config__memo { font-size: var(--t-xs); color: var(--pin-doux); }
  /* filtrage SANS JavaScript des recommandations pré-rendues : :has() lit les boutons radio cochés */
  .config:has(#g-compact:checked) .reco:not([data-g~="compact"]),
  .config:has(#g-fourgon:checked) .reco:not([data-g~="fourgon"]),
  .config:has(#u-weekend:checked) .reco:not([data-u~="weekend"]),
  .config:has(#u-nuit:checked) .reco:not([data-u~="nuit"]),
  .config:has(#u-12v:checked) .reco:not([data-u~="12v"]),
  .config:has(#o-porte-laterale:checked) .reco[data-o]:not([data-o=""]):not([data-o~="porte-laterale"]),
  .config:has(#o-hayon:checked) .reco[data-o]:not([data-o=""]):not([data-o~="hayon"]),
  .config:has(#o-portes-arriere:checked) .reco[data-o]:not([data-o=""]):not([data-o~="portes-arriere"]),
  .config:has(#o-vitres-avant:checked) .reco[data-o]:not([data-o=""]):not([data-o~="vitres-avant"]),
  .config:has(#o-aucun:checked) .reco[data-o]:not([data-o=""]) { display: none; }
  .config:not(:has(input[name="usage"]:checked)) .config__resultat { display: none; }
  .config__attente { color: var(--pin-doux); font-size: var(--t-s); display: flex; gap: var(--e-2); align-items: center; }
  .config:has(input[name="usage"]:checked) .config__attente { display: none; }
  .rappel-charge { display: flex; gap: var(--e-3); align-items: flex-start; }
  .rappel-charge .ico { color: var(--vigilance); margin-top: 0.15rem; }

  /* --- les 5 zones (accueil) */
  .zones { display: grid; gap: var(--e-5); }
  .zone { display: grid; gap: var(--e-5); background: var(--toile); border-radius: var(--r-l); padding: var(--e-5); border-top: 6px solid var(--zone); box-shadow: var(--ombre); }
  @media (min-width: 1000px) { .zone { grid-template-columns: 19rem 1fr; padding: var(--e-6); align-items: start; } }
  .zone__tete { display: grid; gap: var(--e-3); }
  @media (max-width: 639px) { .zone .grille-produits--3 > :nth-child(3) { display: none; } .zone { padding: var(--e-4); } }
  .zone__num { font-family: var(--f-titre); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--zone); }
  .zone__tete h3 { font-size: var(--t-xl); }
  .zone__tete h3 a { color: var(--pin); text-decoration: none; }
  .zone__tete h3 a:hover { text-decoration: underline; }
  .zone__tete p { color: var(--pin-doux); font-size: var(--t-s); }
  .reflexe { font-size: var(--t-s); background: color-mix(in srgb, var(--zone) 8%, white); border: 1.5px dashed color-mix(in srgb, var(--zone) 45%, white); border-radius: var(--r-m); padding: var(--e-3); }
  .reflexe strong { color: var(--zone); display: block; font-family: var(--f-titre); }

  /* --- kits */
  .kit-ligne { display: grid; gap: var(--e-5); }
  @media (min-width: 1000px) { .kit-ligne { grid-template-columns: repeat(2, 1fr); } }
  .kit { display: grid; grid-template-columns: 1fr; background: var(--toile); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--ombre); }
  @media (min-width: 640px) { .kit { grid-template-columns: 14rem 1fr; align-items: start; } }
  .kit__media { background: var(--photo); aspect-ratio: 1; display: block; }
  @media (min-width: 640px) { .kit__media { margin: var(--e-4) 0 var(--e-4) var(--e-4); border-radius: var(--r-m); overflow: hidden; } }
  .kit__media img { width: 100%; height: 100%; object-fit: contain; }
  .kit__corps { padding: var(--e-5); display: grid; gap: var(--e-3); align-content: start; }
  .kit__corps h3 a { color: var(--pin); text-decoration: none; }
  .kit__corps ul { font-size: var(--t-s); color: var(--pin-doux); padding-left: 1.1rem; }
  .kit__pied { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-3); justify-content: space-between; margin-top: var(--e-2); }

  /* --- bloc 12V (nuit) */
  .bloc-12v { display: grid; gap: var(--e-8); align-items: center; }
  @media (min-width: 1000px) { .bloc-12v { grid-template-columns: 1.1fr 0.9fr; } }
  .bloc-12v figure { background: #fff; border-radius: var(--r-l); padding: var(--e-4); }
  .bloc-12v ol { counter-reset: e; display: grid; gap: var(--e-4); }
  .bloc-12v ol li { counter-increment: e; display: grid; grid-template-columns: 2.25rem 1fr; gap: var(--e-3); }
  .bloc-12v ol li::before { content: counter(e); width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--ambre); color: var(--pin); font-family: var(--f-titre); font-weight: 800; display: grid; place-items: center; }

  /* --- réponses rapides (GEO) */
  .reponses { display: grid; gap: var(--e-4); }
  @media (min-width: 1000px) { .reponses { grid-template-columns: repeat(3, 1fr); } }
  .reponse { background: var(--toile); border-radius: var(--r-m); padding: var(--e-5); display: grid; gap: var(--e-3); align-content: start; border: 1px solid var(--trait); }
  .reponse h3 { font-size: var(--t-m); }
  .reponse p { font-size: var(--t-s); color: var(--pin-doux); }

  /* --- page zone (rayon) */
  .tete-zone { background: var(--zone); color: #fff; padding-block: var(--e-6) var(--e-8); }
  .tete-zone .fil, .tete-zone .fil a { color: rgb(255 255 255 / 0.85); }
  .tete-zone .fil li + li::before { color: rgb(255 255 255 / 0.6); }
  .tete-zone__grille { display: grid; gap: var(--e-5); align-items: end; margin-top: var(--e-4); }
  @media (min-width: 1000px) { .tete-zone__grille { grid-template-columns: 1fr 22rem; } }
  .tete-zone h1 { font-size: var(--t-2xl); }
  .tete-zone p { color: rgb(255 255 255 / 0.92); max-width: 40rem; }
  .tete-zone .reflexe { background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.45); color: #fff; }
  .tete-zone .reflexe strong { color: #fff; }
  .frise-zones { display: flex; gap: var(--e-2); overflow-x: auto; padding-block: var(--e-4); scrollbar-width: thin; }
  .frise-zones a { flex: none; display: flex; align-items: center; gap: var(--e-2); padding: var(--e-2) var(--e-3); border-radius: var(--r-pilule); background: var(--toile); border: 1px solid var(--trait); text-decoration: none; color: var(--pin); font-size: var(--t-xs); font-weight: 600; }
  .frise-zones a[aria-current="page"] { background: var(--zone); color: #fff; border-color: var(--zone); }
  .frise-zones .num { width: 1.35rem; height: 1.35rem; border-radius: 50%; display: inline-grid; place-items: center; background: var(--zone); color: #fff; font-weight: 800; font-size: 0.7rem; }
  .frise-zones a[aria-current="page"] .num { background: #fff; color: var(--zone); }
  .outils-zone { display: flex; flex-wrap: wrap; gap: var(--e-3); align-items: center; justify-content: space-between; margin-bottom: var(--e-5); }
  .filtre-van { display: inline-flex; align-items: center; gap: var(--e-2); font-weight: 600; font-size: var(--t-s); padding: var(--e-2) var(--e-4); border-radius: var(--r-pilule); background: var(--toile); border: 1.5px dashed var(--trait-fort); }
  .filtre-van input { width: 1.15rem; height: 1.15rem; accent-color: var(--achat); }
  .compteur { font-size: var(--t-s); color: var(--pin-doux); }
  .intro-repliee summary { cursor: pointer; font-weight: 700; color: var(--lien); }
  .intro-repliee[open] summary { margin-bottom: var(--e-3); }
  .liens-cibles { display: flex; flex-wrap: wrap; gap: var(--e-3); }
  .zone-suivante { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--e-4); }
  .zone-suivante a { display: grid; gap: 0.1rem; padding: var(--e-4) var(--e-5); background: var(--toile); border-radius: var(--r-m); text-decoration: none; color: var(--pin); border-left: 5px solid var(--zone); flex: 1 1 16rem; }
  .zone-suivante a small { color: var(--pin-doux); }
  .zone-suivante a strong { font-family: var(--f-titre); font-size: var(--t-l); }

  /* --- fiche produit */
  .fiche { display: grid; gap: var(--e-8); padding-block: var(--e-5) var(--section); }
  @media (min-width: 1000px) { .fiche { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--e-12); align-items: start; } }
  .galerie { display: grid; gap: var(--e-3); }
  @media (min-width: 1000px) { .galerie { position: sticky; top: calc(var(--entete) + 3.5rem); } }
  .galerie__vue { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-l); background: var(--photo); scrollbar-width: none; }
  .galerie__vue::-webkit-scrollbar { display: none; }
  .galerie__vue figure { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; position: relative; }
  .galerie__vue img { width: 100%; height: 100%; object-fit: contain; }
  .galerie__vignettes { display: flex; gap: var(--e-2); overflow-x: auto; }
  .galerie__vignettes a { flex: 0 0 4.25rem; border-radius: var(--r-s); overflow: hidden; border: 2px solid transparent; background: var(--photo); aspect-ratio: 1; }
  .galerie__vignettes a[aria-current="true"] { border-color: var(--achat); }
  .galerie__vignettes img { width: 100%; height: 100%; object-fit: cover; }
  .credit { position: absolute; right: var(--e-2); bottom: var(--e-2); font-size: 0.7rem; background: rgb(255 255 255 / 0.85); padding: 0.1rem 0.4rem; border-radius: 4px; color: var(--pin-doux); }
  .achat { display: grid; gap: var(--e-5); }
  .achat h1 { font-size: var(--t-2xl); }
  .achat__accroche { font-size: var(--t-l); color: var(--pin-doux); }
  .achat__prix { display: flex; align-items: baseline; gap: var(--e-3); flex-wrap: wrap; }
  .achat__prix .prix { font-size: var(--t-2xl); }
  .achat__prix small { color: var(--pin-doux); }
  .points { display: grid; gap: var(--e-2); }
  .points li { display: flex; gap: var(--e-2); align-items: flex-start; }
  .points .ico { color: var(--ok); margin-top: 0.2rem; }
  .variantes { border: 0; padding: 0; min-width: 0; }
  .variantes legend { font-weight: 700; margin-bottom: var(--e-2); }
  .variantes legend span { font-weight: 400; color: var(--pin-doux); }
  .pastilles { display: flex; flex-wrap: wrap; gap: var(--e-2); }
  .pastille { position: relative; }
  .pastille input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
  .pastille label { display: grid; gap: 0.05rem; padding: var(--e-2) var(--e-4); border-radius: var(--r-m); border: 2px solid var(--trait-fort); background: var(--toile); font-size: var(--t-s); font-weight: 600; min-height: 2.75rem; align-content: center; }
  .pastille label small { font-weight: 400; color: var(--pin-doux); }
  .pastille input:checked + label { border-color: var(--achat); background: var(--achat-clair); }
  .pastille input:focus-visible + label { outline: 3px solid var(--ambre); outline-offset: 2px; }
  .pastille input:disabled + label { opacity: 0.5; text-decoration: line-through; cursor: not-allowed; }
  .adequation { display: flex; gap: var(--e-3); align-items: flex-start; }
  .adequation .ico { margin-top: 0.15rem; }
  .barre-achat { display: grid; grid-template-columns: auto 1fr; gap: var(--e-3); align-items: center; }
  .barre-achat select { min-height: 3rem; border-radius: var(--r-pilule); border: 2px solid var(--trait-fort); padding: 0 var(--e-4); background: #fff; }
  .livraison-estimee { font-size: var(--t-s); display: flex; gap: var(--e-2); align-items: center; }
  .livraison-estimee .ico { color: var(--achat); }
  .barre-collante { position: fixed; inset: auto 0 0; z-index: 25; background: var(--toile); border-top: 1px solid var(--trait); padding: var(--e-3) var(--gouttiere); display: flex; align-items: center; gap: var(--e-3); box-shadow: 0 -6px 20px rgb(31 29 54 / 0.1); }
  .barre-collante__nom { flex: 1; min-width: 0; font-weight: 700; font-size: var(--t-s); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  @media (min-width: 1000px) { .barre-collante { display: none; } }
  .completer { display: grid; gap: var(--e-4); }
  .completer__liste { display: grid; gap: var(--e-3); }
  @media (min-width: 640px) { .completer__liste { grid-template-columns: repeat(3, 1fr); } }
  .complement { display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--e-3); align-items: center; background: var(--toile); border-radius: var(--r-m); padding: var(--e-3); border: 1.5px dashed var(--trait-fort); position: relative; }
  @media (min-width: 640px) { .complement { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
  .complement img { border-radius: var(--r-s); background: var(--photo); aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 9rem; }
  .complement input { position: absolute; top: var(--e-3); right: var(--e-3); width: 1.3rem; height: 1.3rem; accent-color: var(--achat); }
  .complement a { color: var(--pin); font-weight: 600; font-size: var(--t-s); }
  .completer__total { display: flex; flex-wrap: wrap; gap: var(--e-3); align-items: center; justify-content: space-between; }
  .etapes-pose { counter-reset: p; list-style: none; padding: 0 !important; display: grid; gap: var(--e-3); }
  .etapes-pose li { counter-increment: p; display: grid; grid-template-columns: 2rem 1fr; gap: var(--e-3); margin: 0 !important; }
  .etapes-pose li::before { content: counter(p); width: 2rem; height: 2rem; border-radius: 50%; border: 2px dashed var(--zone, var(--pin)); display: grid; place-items: center; font-weight: 800; font-family: var(--f-titre); color: var(--zone, var(--pin)); }

  /* --- panier (page) */
  .page-panier { display: grid; gap: var(--e-8); padding-block: var(--e-6) var(--section); }
  @media (min-width: 1000px) { .page-panier { grid-template-columns: 1fr 24rem; align-items: start; } }
  .recap { background: var(--toile); border-radius: var(--r-l); padding: var(--e-6); display: grid; gap: var(--e-4); box-shadow: var(--ombre); }
  .recap h2 { font-size: var(--t-xl); }
  @media (min-width: 1000px) { .recap { position: sticky; top: calc(var(--entete) + 4rem); } }
  .case-cgv { display: flex; gap: var(--e-3); align-items: flex-start; font-size: var(--t-s); }
  .case-cgv input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--achat); flex: none; }
  .message-commande { font-size: var(--t-s); }

  /* --- guides */
  .guide-tete { padding-block: var(--e-6) var(--e-8); }
  .guide-tete h1 { font-size: var(--t-2xl); margin-top: var(--e-4); }
  .guide-tete p.chapo { font-size: var(--t-l); color: var(--pin-doux); margin-top: var(--e-4); }
  .meta-guide { font-size: var(--t-xs); color: var(--pin-doux); margin-top: var(--e-3); }
  .prose > * + * { margin-top: var(--e-4); }
  .prose h2 { font-size: var(--t-xl); margin-top: var(--e-12); }
  .prose h3 { margin-top: var(--e-8); }
  .prose ul, .prose ol { padding-left: 1.3rem; }
  .prose li + li { margin-top: var(--e-2); }
  .prose figure { background: var(--toile); border-radius: var(--r-l); padding: var(--e-4); border: 1px solid var(--trait); }
  .prose figcaption { font-size: var(--t-xs); color: var(--pin-doux); margin-top: var(--e-3); }
  .sommaire { background: var(--toile); border-radius: var(--r-m); padding: var(--e-4) var(--e-5); border: 1.5px dashed var(--trait-fort); }
  .sommaire h2 { font-size: var(--t-m) !important; margin: 0 !important; }
  .sommaire ol { margin-top: var(--e-2); }
  .produits-guide { margin-top: var(--e-6); }
  .cartes-guides { display: grid; gap: var(--e-4); }
  @media (min-width: 640px) { .cartes-guides { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1000px) { .cartes-guides { grid-template-columns: repeat(3, 1fr); } }
  .carte-guide { display: grid; gap: var(--e-3); align-content: start; background: var(--toile); border-radius: var(--r-l); padding: var(--e-5); text-decoration: none; color: var(--pin); border: 1px solid var(--trait); border-top: 5px solid var(--zone, var(--pin)); }
  .carte-guide:hover { box-shadow: var(--ombre); }
  .carte-guide h3 { font-size: var(--t-l); }
  .carte-guide p { color: var(--pin-doux); font-size: var(--t-s); }

  /* --- schémas SVG */
  .schema { width: 100%; height: auto; }
  .schema text { font-family: var(--f-texte); }
  .schema .cote { font-family: var(--f-cote); }

  /* --- pages simples */
  .page-simple { padding-block: var(--e-6) var(--section); }
  .page-simple h1 { font-size: var(--t-2xl); margin-block: var(--e-4) var(--e-6); }
  .jeton-manquant { background: var(--vigilance-fond); color: var(--vigilance); padding: 0 0.3rem; border-radius: 4px; font-family: var(--f-cote); font-size: 0.9em; }
  .page-404 { text-align: center; padding-block: var(--section); display: grid; gap: var(--e-5); justify-items: center; }
}

/* ============================================================== utilitaires */
@layer utilitaires {
  .sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .evitement { position: absolute; left: var(--e-2); top: -10rem; z-index: 100; background: var(--pin); color: #fff; padding: var(--e-3) var(--e-4); border-radius: var(--r-s); }
  .evitement:focus { top: var(--e-2); }
  .centre { text-align: center; }
  .doux { color: var(--pin-doux); }
  .mt-4 { margin-top: var(--e-4); } .mt-6 { margin-top: var(--e-6); } .mt-8 { margin-top: var(--e-8); }
  .avec-barre-collante { padding-bottom: 5rem; }
  @media (min-width: 1000px) { .avec-barre-collante { padding-bottom: 0; } }
}
