/*!
 * Équipement Bassin — feuille de style unique. Direction « jardin d'eau » : pierre de rivière, ardoise, eau profonde, végétal.
 * Couches : reset → jetons → base → structure → composants → pages → utilitaires (une couche plus tardive gagne toujours).
 * Règles : mobile d'abord ; 3 points d'arrêt (640 / 960 / 1240 px) ; espacements multiples de 4 px ; rouge Kohaku réservé
 * à l'achat ; DM Mono réservé aux mesures ; ratios d'image fixés (aspect-ratio) : aucun décalage de mise en page.
 * Aucune règle n'est injectée par le HTML (CSP : style-src 'self').
 */
@layer reset, jetons, base, structure, composants, pages, utilitaires;

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-var.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

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

/* ================================================================ jetons */
@layer jetons {
  :root {
    color-scheme: light;
    --pierre: #eef0eb;
    --pierre-claire: #f8f9f5;
    --galet: #e2e6de;
    --galet-fonce: #cdd4c9;
    --trait: #c9d0c5;
    --ardoise: #233037;
    --ardoise-douce: #4b585e;
    --eau: #0e4b5a;
    --eau-fonce: #0a3743;
    --eau-pale: #dcebea;
    --eau-dessin: #b9d6d4;
    --mousse: #3f6531;
    --mousse-fond: #e2ecd9;
    --koi: #bf3a26;          /* achat uniquement — texte blanc 4,9:1 */
    --koi-fonce: #9b2c1b;
    --or: #c08a26;
    --or-fond: #f6ecd5;
    --uv: #5b4b8b;
    --uv-fond: #ebe7f4;
    --danger: #8e2a22;
    --danger-fond: #f6e4e0;
    --sur-eau: #e6f0ee;

    --f-hydraulique: #3d6478;
    --f-filtration: #5c6a2c;
    --f-uvc: #5b4b8b;
    --f-oxygenation: #1f7189;
    --f-soin: #8a5a1f;

    --police-titre: "Fraunces", Georgia, "Times New Roman", serif;
    --police-texte: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --police-mesure: "DM Mono", ui-monospace, Consolas, monospace;

    --t-1: 0.8125rem;
    --t-2: 0.9375rem;
    --t-3: 1.0625rem;
    --t-4: clamp(1.1875rem, 1.12rem + 0.3vw, 1.375rem);
    --t-5: clamp(1.375rem, 1.22rem + 0.75vw, 1.8125rem);
    --t-6: clamp(1.75rem, 1.45rem + 1.5vw, 2.625rem);
    --t-7: clamp(2.125rem, 1.6rem + 2.8vw, 3.75rem);

    --e-1: 0.25rem; --e-2: 0.5rem; --e-3: 0.75rem; --e-4: 1rem; --e-5: 1.5rem; --e-6: 2rem; --e-7: 3rem; --e-8: 4rem;
    --section: clamp(3rem, 2.2rem + 3.5vw, 5.5rem);
    --marge: 1rem;
    --largeur: 76rem;
    --largeur-texte: 44rem;
    --r-1: 4px; --r-2: 10px; --r-3: 18px; --r-galet: 47% 53% 49% 51% / 55% 48% 52% 45%;
    --ombre: 0 1px 2px rgb(35 48 55 / 0.06), 0 8px 24px rgb(35 48 55 / 0.08);
    --ombre-forte: 0 18px 48px rgb(10 55 67 / 0.25);
    --entete: 4.25rem;
    --vite: 180ms;
  }
  @media (min-width: 640px) { :root { --marge: 1.5rem; } }
  @media (min-width: 1240px) { :root { --marge: 2rem; } }
}

/* ================================================================ base */
@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + var(--e-4)); }
  body { background: var(--pierre); color: var(--ardoise); font-family: var(--police-texte); font-size: var(--t-3); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
  body.sans-defilement { overflow: hidden; }
  h1, h2, h3, h4 { font-family: var(--police-titre); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; font-variation-settings: "SOFT" 50; }
  h1 { font-size: var(--t-7); font-weight: 650; }
  h2 { font-size: var(--t-6); }
  h3 { font-size: var(--t-4); line-height: 1.25; }
  h4 { font-size: var(--t-3); font-family: var(--police-texte); font-weight: 650; letter-spacing: 0; }
  p, li { text-wrap: pretty; }
  a { color: var(--eau); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
  a:hover { text-decoration-thickness: 2px; }
  strong { font-weight: 650; }
  small { font-size: var(--t-1); }
  :focus-visible { outline: 3px solid var(--or); outline-offset: 2px; border-radius: var(--r-1); }
  ::selection { background: var(--eau); color: var(--pierre-claire); }
  summary { cursor: pointer; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
  }
}

/* ================================================================ structure */
@layer structure {
  .conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--marge)); margin-inline: auto; padding-inline: var(--marge); }
  .section { padding-block: var(--section); }
  .section--galet { background: var(--galet); }
  .section--eau { background: var(--eau-pale); }
  .section--claire { background: var(--pierre-claire); }
  .pile > * + * { margin-top: var(--e-4); }
  .pile-l > * + * { margin-top: var(--e-6); }
  .grille { display: grid; gap: var(--e-5); }
  .grille-2 { display: grid; gap: var(--e-5); }
  .grille-3 { display: grid; gap: var(--e-5); }
  .grille-produits { display: grid; gap: var(--e-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @media (min-width: 640px) {
    .grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grille-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 960px) {
    .grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grille-produits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-5); }
  }
  @media (min-width: 1240px) { .grille-produits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .texte { max-width: var(--largeur-texte); }
  .en-tete-section { display: grid; gap: var(--e-3); margin-bottom: var(--e-6); max-width: 48rem; }
  .en-tete-section p { color: var(--ardoise-douce); font-size: var(--t-4); line-height: 1.5; }
}

/* ================================================================ composants */
@layer composants {
  .lien-evitement { position: absolute; left: var(--e-2); top: -10rem; z-index: 100; background: var(--ardoise); color: #fff; padding: var(--e-2) var(--e-4); border-radius: var(--r-1); }
  .lien-evitement:focus { top: var(--e-2); }

  /* ---------- bandeaux */
  .bandeau-demo { background: var(--or-fond); color: #4d3608; font-size: var(--t-2); border-bottom: 1px solid #e3cf9f; }
  .bandeau-demo p { padding-block: var(--e-2); }
  .annonce { background: var(--eau-fonce); color: var(--sur-eau); font-size: var(--t-2); }
  .annonce p { padding-block: var(--e-2); text-align: center; }
  .annonce a { color: #fff; }

  /* ---------- onde (séparateur signature : surface de l'eau) */
  .onde { display: block; height: 14px; background: url("../img/onde.svg") repeat-x center / 56px 14px; opacity: 0.55; }
  .onde--claire { filter: invert(1); opacity: 0.25; }

  /* ---------- en-tête */
  .entete { position: sticky; top: 0; z-index: 40; background: var(--pierre-claire); border-bottom: 1px solid var(--trait); }
  .entete-ligne { display: flex; align-items: center; gap: var(--e-3); min-height: var(--entete); }
  .marque { display: flex; align-items: center; gap: var(--e-2); color: var(--ardoise); text-decoration: none; font-family: var(--police-titre); font-weight: 650; font-size: 1.375rem; letter-spacing: -0.02em; margin-right: auto; }
  .marque img { width: 34px; height: 34px; }
  .nav-principale { display: none; }
  .outils-entete { display: flex; align-items: center; gap: var(--e-2); }
  .puce-bassin { display: inline-flex; align-items: center; gap: var(--e-2); padding: 6px 12px; border-radius: 999px; background: var(--eau-pale); color: var(--eau); text-decoration: none; font-size: var(--t-2); font-weight: 600; line-height: 1.2; border: 1px solid transparent; }
  .puce-bassin:hover { border-color: var(--eau); }
  .puce-bassin .icone { flex: none; }
  .puce-bassin-val { font-weight: 600; white-space: nowrap; }
  .marque { flex-shrink: 0; }
  @media (max-width: 639px) { .puce-bassin { padding: 6px 10px; } .puce-bassin:not([data-defini]) .puce-bassin-val { display: none; } .bouton-menu { padding: 0 var(--e-2); } }
  .puce-bassin-lib { display: none; }
  /* Nom du site sur deux lignes en petit écran (« Équipement / Bassin ») pour garder le bouton Menu visible */
  @media (max-width: 639px) { .marque { font-size: 1.125rem; line-height: 1.05; gap: 6px; } .marque img { width: 30px; height: 30px; } .marque-nom { width: min-content; } }
  .bouton-panier { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ardoise); }
  .bouton-panier:hover { background: var(--galet); }
  .compteur { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--koi); color: #fff; font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; }
  .bouton-menu { display: inline-flex; align-items: center; gap: var(--e-2); height: 44px; padding: 0 var(--e-3); border-radius: var(--r-2); border: 1px solid var(--trait); font-weight: 600; font-size: var(--t-2); }
  .bouton-menu-trait { width: 18px; height: 2px; background: currentColor; position: relative; }
  .bouton-menu-trait::before, .bouton-menu-trait::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
  .bouton-menu-trait::before { top: -6px; } .bouton-menu-trait::after { top: 6px; }
  .nav-principale.est-ouverte { display: block; position: fixed; inset: var(--entete) 0 0 0; background: var(--pierre-claire); overflow-y: auto; padding: var(--e-4) var(--marge) var(--e-7); border-top: 1px solid var(--trait); }
  .nav-liste > li { border-bottom: 1px solid var(--trait); }
  .nav-liste > li > a { display: flex; justify-content: space-between; align-items: center; padding: var(--e-4) 0; color: var(--ardoise); text-decoration: none; font-family: var(--police-titre); font-size: var(--t-4); font-weight: 600; }
  .nav-liste a[aria-current] { color: var(--eau); }
  .sous-menu { padding-bottom: var(--e-4); }
  .sous-menu-titre { font-size: var(--t-1); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ardoise-douce); margin-bottom: var(--e-2); }
  .sous-liste a { display: flex; gap: var(--e-3); align-items: center; padding: var(--e-2) 0; color: var(--ardoise); text-decoration: none; }
  .sous-liste small { display: block; color: var(--ardoise-douce); }
  .sous-liste strong { font-weight: 600; }
  @media (min-width: 960px) {
    .bouton-menu { display: none; }
    .nav-principale, .nav-principale.est-ouverte { display: block; position: static; inset: auto; padding: 0; border: 0; background: none; overflow: visible; margin-right: var(--e-4); }
    .nav-liste { display: flex; gap: var(--e-1); }
    .nav-liste > li { border: 0; position: relative; }
    .nav-liste > li > a { font-family: var(--police-texte); font-size: var(--t-2); font-weight: 600; padding: var(--e-2) var(--e-3); border-radius: var(--r-2); gap: var(--e-1); }
    .nav-liste > li > a:hover, .nav-liste > li:focus-within > a { background: var(--galet); }
    .a-sous .sous-menu { display: none; position: absolute; top: 100%; left: 0; width: 25rem; padding: var(--e-4); background: var(--pierre-claire); border: 1px solid var(--trait); border-radius: var(--r-3); box-shadow: var(--ombre); }
    .a-sous:hover .sous-menu, .a-sous:focus-within .sous-menu { display: block; }
    .sous-liste a { padding: var(--e-2); border-radius: var(--r-2); }
    .sous-liste a:hover { background: var(--galet); }
    .puce-bassin-lib { display: inline; }
  }

  /* ---------- galet numéroté (repère d'étape) */
  .galet { flex: none; display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: var(--r-galet); background: var(--couleur, var(--eau)); color: #fff; font-family: var(--police-titre); font-weight: 650; font-size: 1.0625rem; }
  .galet--grand { width: 3rem; height: 3rem; font-size: 1.375rem; }
  [data-fonction="hydraulique"] { --couleur: var(--f-hydraulique); }
  [data-fonction="filtration"] { --couleur: var(--f-filtration); }
  [data-fonction="uvc"] { --couleur: var(--f-uvc); }
  [data-fonction="oxygenation"] { --couleur: var(--f-oxygenation); }
  [data-fonction="soin"] { --couleur: var(--f-soin); }

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

  /* ---------- boutons */
  .bouton { display: inline-flex; align-items: center; justify-content: center; gap: var(--e-2); min-height: 48px; padding: 0 var(--e-5); border-radius: var(--r-2); font-weight: 650; font-size: var(--t-3); text-decoration: none; border: 2px solid transparent; transition: background var(--vite), border-color var(--vite), color var(--vite); text-align: center; line-height: 1.2; }
  .bouton--acheter { background: var(--koi); color: #fff; }
  .bouton--acheter:hover { background: var(--koi-fonce); }
  .bouton--eau { background: var(--eau); color: #fff; }
  .bouton--eau:hover { background: var(--eau-fonce); }
  .bouton--trait { border-color: var(--eau); color: var(--eau); background: transparent; }
  .bouton--trait:hover { background: var(--eau-pale); }
  .bouton--clair { background: var(--pierre-claire); color: var(--eau); }
  .bouton--petit { min-height: 40px; padding: 0 var(--e-4); font-size: var(--t-2); }
  .bouton--large { width: 100%; }
  .bouton:disabled, .bouton[aria-disabled="true"] { background: var(--galet-fonce); color: var(--ardoise-douce); cursor: not-allowed; border-color: transparent; }
  .bouton-lien { color: var(--eau); text-decoration: underline; font-size: var(--t-2); }

  /* ---------- étiquettes et mesures */
  .etiquette { display: inline-flex; align-items: center; gap: var(--e-1); padding: 2px 10px; border-radius: 999px; font-size: var(--t-1); font-weight: 600; background: var(--galet); color: var(--ardoise); }
  .etiquette--fonction { background: color-mix(in srgb, var(--couleur) 14%, white); color: var(--couleur); }
  .etiquette--saison { background: var(--or-fond); color: #6b4a0c; }
  .etiquette--kit { background: var(--eau); color: #fff; }
  .mesure { font-family: var(--police-mesure); font-weight: 500; font-size: 0.92em; letter-spacing: -0.01em; }
  .h4 { font-family: var(--police-texte); font-size: var(--t-3); font-weight: 700; letter-spacing: 0; }
  .surtitre { display: inline-flex; align-items: center; gap: var(--e-2); font-size: var(--t-1); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--eau); }

  /* ---------- icônes */
  .icone { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

  /* ---------- carte produit */
  .carte-produit { display: flex; flex-direction: column; background: var(--pierre-claire); border-radius: var(--r-3); overflow: hidden; border: 1px solid var(--trait); transition: box-shadow var(--vite), transform var(--vite); }
  .carte-produit:hover { box-shadow: var(--ombre); }
  .carte-visuel { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--galet); }
  .carte-visuel img { width: 100%; height: 100%; object-fit: cover; }
  .carte-visuel .etiquette { position: absolute; left: var(--e-2); top: var(--e-2); }
  .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-family: var(--police-texte); font-size: var(--t-3); font-weight: 650; line-height: 1.3; letter-spacing: 0; }
  .carte-titre a { color: var(--ardoise); text-decoration: none; }
  .carte-titre a::after { content: ""; position: absolute; inset: 0; }
  .carte-produit { position: relative; }
  .carte-accroche { font-size: var(--t-2); color: var(--ardoise-douce); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .carte-pied { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--e-2); padding-top: var(--e-2); }
  .prix { font-family: var(--police-titre); font-weight: 650; font-size: var(--t-4); }
  .prix-des { font-family: var(--police-texte); font-size: var(--t-1); font-weight: 500; color: var(--ardoise-douce); }
  .economie { font-size: var(--t-1); font-weight: 650; color: var(--mousse); }
  .carte-produit .bouton { position: relative; z-index: 1; }
  .adequation { display: inline-flex; align-items: center; gap: var(--e-1); font-size: var(--t-1); font-weight: 650; color: var(--mousse); background: var(--mousse-fond); border-radius: 999px; padding: 2px 10px; width: fit-content; }
  .adequation--ok { color: var(--eau); background: var(--eau-pale); }

  /* ---------- produit cité dans un texte */
  .produit-cite { display: grid; grid-template-columns: 72px 1fr; gap: var(--e-3); align-items: center; padding: var(--e-3); background: var(--pierre-claire); border: 1px solid var(--trait); border-radius: var(--r-3); margin-block: var(--e-5); }
  .produit-cite img { width: 72px; height: 54px; border-radius: var(--r-2); object-fit: cover; background: var(--galet); }
  .produit-cite p { margin: 0; }
  .produit-cite .bouton { grid-column: 1 / -1; }
  @media (min-width: 640px) { .produit-cite { grid-template-columns: 96px 1fr auto; } .produit-cite img { width: 96px; height: 72px; } .produit-cite .bouton { grid-column: auto; } }

  /* ---------- encadrés */
  .encadre { padding: var(--e-4) var(--e-5); border-radius: var(--r-3); background: var(--pierre-claire); border: 1px solid var(--trait); }
  .encadre > * + * { margin-top: var(--e-2); }
  .reponse-directe { padding: var(--e-5); border-radius: var(--r-3); background: var(--eau); color: var(--sur-eau); }
  .reponse-directe p { font-size: var(--t-4); line-height: 1.5; color: #fff; }
  .reponse-directe .surtitre { color: #bfe0dc; }
  .erreur-a-eviter { padding: var(--e-4) var(--e-5); border-radius: var(--r-3); background: var(--or-fond); border-left: 6px solid var(--or); }
  .erreur-a-eviter .surtitre { color: #6b4a0c; }
  .erreur-a-eviter h3 { font-size: var(--t-4); margin-block: var(--e-1) var(--e-2); }
  .securite { padding: var(--e-4) var(--e-5); border-radius: var(--r-3); background: var(--danger-fond); border: 1px solid #e5bdb5; color: #4a1712; }
  .securite h2, .securite h3 { font-family: var(--police-texte); font-size: var(--t-3); font-weight: 700; display: flex; gap: var(--e-2); align-items: center; letter-spacing: 0; }
  .securite ul { padding-left: 1.2em; margin-top: var(--e-2); }
  .securite li + li { margin-top: var(--e-1); }
  .securite--uv { background: var(--uv-fond); border-color: #cfc6e6; color: #2c2250; }
  .avis-demo { font-size: var(--t-2); padding: var(--e-3) var(--e-4); border-radius: var(--r-2); background: var(--or-fond); color: #4d3608; }

  /* ---------- tableaux */
  .tableau-cadre { overflow-x: auto; border: 1px solid var(--trait); border-radius: var(--r-3); background: var(--pierre-claire); }
  .tableau { width: 100%; font-size: var(--t-2); }
  .tableau caption { text-align: left; padding: var(--e-3) var(--e-4); font-weight: 650; color: var(--ardoise-douce); caption-side: top; }
  .tableau th, .tableau td { padding: var(--e-3) var(--e-4); text-align: left; border-top: 1px solid var(--trait); vertical-align: top; }
  .tableau thead th { background: var(--galet); font-weight: 650; border-top: 0; white-space: nowrap; }
  .tableau tbody th { font-weight: 600; }
  .tableau--mesures td { font-family: var(--police-mesure); font-weight: 500; white-space: nowrap; }
  .tableau tr.est-actif { background: var(--mousse-fond); }

  /* ---------- FAQ */
  .faq { display: grid; gap: var(--e-2); }
  .faq details { background: var(--pierre-claire); border: 1px solid var(--trait); border-radius: var(--r-2); }
  .faq summary { padding: var(--e-4); font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: var(--e-4); }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font-family: var(--police-titre); font-size: 1.5rem; line-height: 1; color: var(--eau); }
  .faq details[open] summary::after { content: "−"; }
  .faq details > div { padding: 0 var(--e-4) var(--e-4); color: var(--ardoise-douce); }

  /* ---------- listes */
  .coches li { position: relative; padding-left: 1.75rem; }
  .coches li + li { margin-top: var(--e-2); }
  .coches li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--mousse-fond) url("../img/coche.svg") center / 12px no-repeat; }
  .croix li { position: relative; padding-left: 1.75rem; }
  .croix li + li { margin-top: var(--e-2); }
  .croix li::before { content: "×"; position: absolute; left: 0.25rem; top: -0.05em; font-weight: 700; color: var(--danger); font-size: 1.2em; }
  .etapes { counter-reset: e; }
  .etapes li { counter-increment: e; position: relative; padding-left: 2.5rem; min-height: 1.75rem; }
  .etapes li + li { margin-top: var(--e-3); }
  .etapes li::before { content: counter(e); position: absolute; left: 0; top: 0; width: 1.75rem; height: 1.75rem; border-radius: var(--r-galet); background: var(--eau); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: var(--t-2); }

  /* ---------- photos libres et crédit discret */
  .photo { position: relative; border-radius: var(--r-3); overflow: hidden; background: var(--galet); aspect-ratio: 3 / 2; }
  .photo img { width: 100%; height: 100%; object-fit: cover; }
  .credit { position: absolute; right: var(--e-2); bottom: var(--e-2); font-size: var(--t-1); }
  .credit summary { list-style: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgb(35 48 55 / 0.7); color: #fff; font-weight: 700; }
  .credit summary::-webkit-details-marker { display: none; }
  .credit p { position: absolute; right: 0; bottom: 34px; width: max-content; max-width: 16rem; padding: var(--e-2) var(--e-3); background: var(--ardoise); color: #fff; border-radius: var(--r-2); }
  .credit a { color: #fff; }

  /* ---------- schémas SVG faits main */
  .schema { background: var(--pierre-claire); border: 1px solid var(--trait); border-radius: var(--r-3); padding: var(--e-4); }
  .schema svg { width: 100%; height: auto; }
  .schema figcaption { font-size: var(--t-2); color: var(--ardoise-douce); margin-top: var(--e-3); }
  .d-eau { fill: var(--eau-dessin); }
  .d-eau-fonce { fill: #8fbcb9; }
  .d-trait { fill: none; stroke: var(--ardoise); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .d-trait-fin { fill: none; stroke: var(--ardoise-douce); stroke-width: 1.2; }
  .d-fleche { fill: none; stroke: var(--eau); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
  .d-air { fill: none; stroke: var(--f-oxygenation); stroke-width: 2; stroke-dasharray: 2 5; stroke-linecap: round; }
  .d-bulle { fill: #fff; stroke: var(--f-oxygenation); stroke-width: 1.4; }
  .d-sol { fill: #a89f86; }
  .d-terre { fill: #c9c0a7; }
  .d-herbe { fill: #6f8f4d; }
  .d-feuille { fill: #5f8a3a; }
  .d-boite { fill: var(--pierre-claire); stroke: var(--ardoise); stroke-width: 2; }
  .d-uv { fill: #d9d0f2; stroke: var(--uv); stroke-width: 2; }
  .d-mousse { fill: #e9d9a6; stroke: #8a7438; stroke-width: 1.2; }
  .d-bio { fill: #d6dfc4; stroke: var(--f-filtration); stroke-width: 1.2; }
  .d-koi { fill: #e8673f; }
  .d-koi-blanc { fill: #fff6ec; }
  .d-texte { font-family: var(--police-texte); font-size: 13px; font-weight: 600; fill: var(--ardoise); }
  .d-texte-petit { font-family: var(--police-texte); font-size: 11px; fill: var(--ardoise-douce); }
  .d-mesure { font-family: var(--police-mesure); font-size: 12px; fill: var(--ardoise); }
  .d-cote { fill: none; stroke: var(--ardoise-douce); stroke-width: 1; }
  .d-metal { fill: #c7ccd0; stroke: var(--ardoise); stroke-width: 1.5; }
  .d-verre { fill: #eef6f6; stroke: var(--ardoise); stroke-width: 1.5; }
  .d-blanc { fill: #fff; }

  /* ---------- choix en tuiles (configurateur, variantes) */
  .tuiles { display: grid; gap: var(--e-2); grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); }
  .tuile { position: relative; }
  .tuile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
  .tuile > span { display: grid; gap: 2px; height: 100%; padding: var(--e-3) var(--e-4); border-radius: var(--r-2); border: 2px solid var(--trait); background: var(--pierre-claire); font-weight: 650; transition: border-color var(--vite), background var(--vite); }
  .tuile small { font-weight: 400; color: var(--ardoise-douce); }
  .tuile input:checked + span { border-color: var(--eau); background: var(--eau-pale); }
  .tuile input:focus-visible + span { outline: 3px solid var(--or); outline-offset: 2px; }
  .tuile input:disabled + span { opacity: 0.55; text-decoration: line-through; }
  .tuile .prix-variante { font-family: var(--police-mesure); font-weight: 500; font-size: var(--t-2); color: var(--ardoise-douce); }
  .rappel-bassin + .suggestions, .lignes-panier + .suggestions { margin-top: var(--e-5); }
  .tuile .conseil { color: var(--mousse); font-size: var(--t-1); font-weight: 700; }

  /* ---------- quantité */
  .quantite { display: inline-flex; align-items: center; border: 1px solid var(--trait); border-radius: var(--r-2); background: var(--pierre-claire); }
  .quantite button { width: 40px; height: 46px; font-size: 1.25rem; color: var(--eau); }
  .quantite input, .quantite output { width: 3rem; text-align: center; border: 0; background: none; font-weight: 650; -moz-appearance: textfield; }
  .quantite input::-webkit-inner-spin-button { -webkit-appearance: none; }
  .quantite--petite button { width: 32px; height: 34px; }
  .quantite--petite output { width: 2rem; }

  /* ---------- notification */
  .toast { position: fixed; left: 50%; bottom: var(--e-5); transform: translateX(-50%); z-index: 80; background: var(--ardoise); color: #fff; padding: var(--e-3) var(--e-5); border-radius: var(--r-2); box-shadow: var(--ombre-forte); max-width: calc(100% - 2 * var(--marge)); }

  /* ---------- tiroir panier */
  .tiroir { position: fixed; inset: 0; z-index: 70; }
  .tiroir-fond { position: absolute; inset: 0; background: rgb(10 55 67 / 0.45); }
  .tiroir-panneau { position: absolute; right: 0; top: 0; bottom: 0; width: min(28rem, 100%); background: var(--pierre-claire); display: flex; flex-direction: column; box-shadow: var(--ombre-forte); }
  .tiroir-tete { display: flex; justify-content: space-between; align-items: center; padding: var(--e-4) var(--e-5); border-bottom: 1px solid var(--trait); }
  .tiroir-tete h2 { font-size: var(--t-5); }
  .bouton-fermer { width: 44px; height: 44px; border-radius: 50%; font-size: 1.25rem; }
  .bouton-fermer:hover { background: var(--galet); }
  .tiroir-corps { flex: 1; overflow-y: auto; padding: var(--e-4) var(--e-5) var(--e-6); }
  .panier > * + * { margin-top: var(--e-5); }
  .progression p { font-size: var(--t-2); font-weight: 600; margin-bottom: var(--e-2); }
  .progression-barre { height: 8px; border-radius: 4px; background: var(--galet); overflow: hidden; }
  .progression-barre span { display: block; height: 100%; background: var(--eau); border-radius: 4px; transition: width 300ms; }
  .progression.est-atteinte .progression-barre span { background: var(--mousse); }
  .lignes-panier > li { display: grid; grid-template-columns: 64px 1fr; gap: var(--e-3); padding-block: var(--e-3); border-bottom: 1px solid var(--trait); }
  .lignes-panier img { width: 64px; height: 48px; object-fit: cover; border-radius: var(--r-1); background: var(--galet); }
  .ligne-titre { font-weight: 650; line-height: 1.3; }
  .ligne-titre a { color: var(--ardoise); text-decoration: none; }
  .ligne-variante { font-size: var(--t-2); color: var(--ardoise-douce); }
  .ligne-bas { display: flex; justify-content: space-between; align-items: center; margin-top: var(--e-2); gap: var(--e-2); }
  .suggestions h3 { font-family: var(--police-texte); font-size: var(--t-3); font-weight: 700; margin-bottom: var(--e-2); letter-spacing: 0; }
  .suggestions li { display: grid; grid-template-columns: 48px 1fr auto; gap: var(--e-3); align-items: center; padding-block: var(--e-2); }
  .suggestions img { width: 48px; height: 36px; object-fit: cover; border-radius: var(--r-1); background: var(--galet); }
  .suggestions p { font-size: var(--t-2); line-height: 1.3; }
  .suggestions .pourquoi { color: var(--ardoise-douce); font-size: var(--t-1); }
  .totaux div { display: flex; justify-content: space-between; padding-block: var(--e-1); }
  .totaux .total { font-family: var(--police-titre); font-size: var(--t-5); font-weight: 650; border-top: 1px solid var(--trait); padding-top: var(--e-3); margin-top: var(--e-2); }
  .actions-panier { display: grid; gap: var(--e-2); }
  .rappel-bassin { font-size: var(--t-2); padding: var(--e-3) var(--e-4); border-radius: var(--r-2); background: var(--eau-pale); }
  .panier-vide { text-align: center; }
  .panier-vide > * + * { margin-top: var(--e-3); }

  /* ---------- barre d'achat collante (fiche, mobile) */
  .barre-achat { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--pierre-claire); border-top: 1px solid var(--trait); box-shadow: 0 -6px 20px rgb(35 48 55 / 0.1); padding-block: var(--e-2); }
  .barre-achat .conteneur { display: flex; align-items: center; gap: var(--e-3); }
  .barre-achat-texte { flex: 1; min-width: 0; }
  .barre-achat-titre { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: var(--t-2); }

  /* ---------- pied de page */
  .pied { background: var(--eau-fonce); color: var(--sur-eau); padding-top: var(--e-7); margin-top: var(--section); }
  .pied a { color: #fff; }
  .pied ul { list-style: none; padding: 0; }
  .pied-grille { display: grid; gap: var(--e-6); padding-bottom: var(--e-6); }
  @media (min-width: 640px) { .pied-grille { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 960px) { .pied-grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
  .pied-titre { font-family: var(--police-titre); font-size: var(--t-4); color: #fff; margin-bottom: var(--e-3); }
  .pied li + li { margin-top: var(--e-2); }
  .pied-bas { border-top: 1px solid rgb(230 240 238 / 0.2); padding-block: var(--e-5); font-size: var(--t-2); display: grid; gap: var(--e-4); }
  @media (min-width: 960px) { .pied-bas { grid-template-columns: 1fr auto; align-items: center; } }
  .paiements { display: flex; gap: var(--e-2); }
  .paiements svg { width: 48px; height: 30px; }
  .a-renseigner { background: #ffe9a8; color: #4d3608; padding: 0 4px; border-radius: 3px; font-weight: 600; }
  .pied .a-renseigner { color: #4d3608; }
}

/* ================================================================ pages */
@layer pages {
  /* ---------- accueil : héros */
  .heros { padding-block: var(--e-6) var(--section); background: linear-gradient(180deg, var(--pierre-claire), var(--pierre)); }
  .heros-grille { display: grid; gap: var(--e-6); align-items: center; }
  @media (min-width: 960px) { .heros-grille { grid-template-columns: 1fr 1.15fr; } }
  .heros h1 em { font-style: italic; color: var(--eau); font-weight: 500; }
  .heros-texte > * + * { margin-top: var(--e-4); }
  .heros-texte .chapeau { font-size: var(--t-4); line-height: 1.5; color: var(--ardoise-douce); max-width: 36rem; }
  .heros-actions { display: flex; flex-wrap: wrap; gap: var(--e-3); padding-top: var(--e-2); }
  .preuves { display: grid; gap: var(--e-2); font-size: var(--t-2); padding-top: var(--e-2); }
  .preuves li { display: flex; gap: var(--e-2); align-items: flex-start; }
  .preuves .icone { color: var(--mousse); margin-top: 2px; }
  .coupe { position: relative; }
  .coupe svg { width: 100%; height: auto; }
  .point-chaud { cursor: pointer; }
  .point-chaud circle.halo { fill: #fff; opacity: 0.9; transition: r var(--vite); }
  .point-chaud circle.puce { fill: var(--couleur); }
  .point-chaud:hover circle.halo, .point-chaud:focus circle.halo { r: 17; }
  .point-chaud text { font-family: var(--police-titre); font-size: 15px; font-weight: 700; fill: #fff; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
  .legende-coupe { display: grid; gap: var(--e-2); margin-top: var(--e-4); font-size: var(--t-2); }
  @media (min-width: 640px) { .legende-coupe { grid-template-columns: repeat(2, 1fr); } }
  .legende-coupe a { display: flex; gap: var(--e-2); align-items: center; color: var(--ardoise); text-decoration: none; padding: var(--e-1); border-radius: var(--r-2); }
  .legende-coupe a:hover { background: var(--galet); }
  .legende-coupe .galet { width: 1.75rem; height: 1.75rem; font-size: 0.875rem; }

  /* ---------- configurateur */
  .configurateur { background: var(--pierre-claire); border-radius: var(--r-3); border: 1px solid var(--trait); box-shadow: var(--ombre); padding: var(--e-5); }
  @media (min-width: 960px) { .configurateur { padding: var(--e-6); } }
  .config-grille { display: grid; gap: var(--e-6); }
  @media (min-width: 960px) { .config-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; } }
  .config-etape { display: grid; gap: var(--e-3); }
  .config-etape + .config-etape { margin-top: var(--e-5); }
  .config-etape legend, .config-etape > label { display: flex; gap: var(--e-3); align-items: center; font-family: var(--police-titre); font-size: var(--t-4); font-weight: 600; margin-bottom: var(--e-3); }
  .champ-volume { display: flex; align-items: center; gap: var(--e-2); }
  .champ-volume input { width: 7rem; height: 48px; padding: 0 var(--e-3); border: 2px solid var(--trait); border-radius: var(--r-2); background: #fff; font-family: var(--police-mesure); font-size: 1.125rem; }
  .champ-volume input:focus { border-color: var(--eau); outline: none; }
  .puces-volume { display: flex; flex-wrap: wrap; gap: var(--e-2); margin-top: var(--e-2); }
  .puces-volume button { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--trait); background: #fff; font-family: var(--police-mesure); font-size: var(--t-2); }
  .puces-volume button:hover, .puces-volume button[aria-pressed="true"] { border-color: var(--eau); background: var(--eau-pale); color: var(--eau); }
  .aide-volume { font-size: var(--t-2); color: var(--ardoise-douce); }
  .aide-volume summary { color: var(--eau); font-weight: 600; }
  .aide-volume div { margin-top: var(--e-2); }
  .config-erreur { color: var(--danger); font-weight: 600; font-size: var(--t-2); }
  .resultat { background: var(--eau); color: var(--sur-eau); border-radius: var(--r-3); padding: var(--e-5); }
  .resultat h3 { color: #fff; font-size: var(--t-5); }
  .resultat-vide { display: grid; gap: var(--e-3); place-content: center; text-align: center; min-height: 16rem; }
  .resultat-vide p { color: var(--sur-eau); }
  .chiffres { display: grid; gap: var(--e-3); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: var(--e-4); }
  .chiffre { background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.14); border-radius: var(--r-2); padding: var(--e-3); }
  .chiffre dt { font-size: var(--t-1); text-transform: uppercase; letter-spacing: 0.06em; color: #bfe0dc; }
  .chiffre dd { font-family: var(--police-mesure); font-weight: 500; font-size: 1.375rem; color: #fff; line-height: 1.25; margin-top: 2px; }
  .chiffre small { display: block; font-family: var(--police-texte); font-size: var(--t-1); color: var(--sur-eau); margin-top: 2px; }
  .resultat-notes { font-size: var(--t-2); color: var(--sur-eau); }
  .resultat-notes li + li { margin-top: var(--e-1); }
  .resultat a { color: #fff; }
  @media (max-width: 639px) { .configurateur { padding: var(--e-4); } .resultat { padding: var(--e-4); margin-inline: calc(-1 * var(--e-2)); } .selection { padding: var(--e-3); } .chiffre dd { font-size: 1.125rem; } }
  .selection { margin-top: var(--e-5); background: var(--pierre-claire); color: var(--ardoise); border-radius: var(--r-2); padding: var(--e-4); }
  .selection h4 { margin-bottom: var(--e-2); }
  .selection li { display: grid; grid-template-columns: auto 1fr auto; gap: var(--e-3); align-items: center; padding-block: var(--e-2); border-bottom: 1px solid var(--trait); font-size: var(--t-2); }
  .selection li:last-child { border-bottom: 0; }
  .selection label { display: contents; cursor: pointer; }
  .selection input { width: 18px; height: 18px; accent-color: var(--eau); }
  .selection .total-selection { display: flex; justify-content: space-between; align-items: center; gap: var(--e-3); flex-wrap: wrap; margin-top: var(--e-3); font-weight: 650; }

  /* ---------- circuit de l'eau (5 fonctions reliées) */
  .circuit { display: grid; gap: var(--e-4); counter-reset: none; }
  @media (min-width: 960px) { .circuit { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--e-3); } }
  .etape-circuit { position: relative; display: flex; flex-direction: column; gap: var(--e-3); padding: var(--e-5) var(--e-4); background: var(--pierre-claire); border-radius: var(--r-3); border-top: 5px solid var(--couleur); }
  .etape-circuit .role { font-size: var(--t-1); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--couleur); }
  .etape-circuit h3 { font-size: var(--t-4); }
  .etape-circuit h3 a { color: var(--ardoise); text-decoration: none; }
  .etape-circuit h3 a::after { content: ""; position: absolute; inset: 0; }
  .etape-circuit p { font-size: var(--t-2); color: var(--ardoise-douce); }
  .etape-circuit .vignettes { display: flex; gap: var(--e-1); margin-top: auto; }
  .etape-circuit .vignettes img { width: 48px; height: 36px; object-fit: cover; border-radius: var(--r-1); background: var(--galet); }
  @media (min-width: 960px) {
    .etape-circuit:not(:last-child)::after { content: ""; position: absolute; right: calc(-1 * var(--e-3)); top: 3.4rem; width: var(--e-3); height: 6px; background: var(--eau-dessin); border-radius: 3px; }
  }

  /* ---------- problèmes / saisons */
  .carte-probleme { position: relative; display: grid; background: var(--pierre-claire); border-radius: var(--r-3); overflow: hidden; border: 1px solid var(--trait); }
  .carte-probleme .photo { border-radius: 0; aspect-ratio: 16 / 9; }
  .carte-probleme-corps { padding: var(--e-4) var(--e-5) var(--e-5); display: grid; gap: var(--e-2); }
  .carte-probleme h3 a { color: var(--ardoise); text-decoration: none; }
  .carte-probleme h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
  .carte-probleme .credit { z-index: 2; }
  .carte-probleme p { font-size: var(--t-2); color: var(--ardoise-douce); }

  /* ---------- kits */
  .carte-kit { display: grid; background: var(--pierre-claire); border-radius: var(--r-3); overflow: hidden; border: 1px solid var(--trait); position: relative; }
  @media (min-width: 640px) { .carte-kit { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
  .carte-kit .carte-visuel { aspect-ratio: 4 / 3; align-self: start; }
  @media (min-width: 640px) { .carte-kit .carte-visuel { align-self: stretch; aspect-ratio: auto; min-height: 100%; } .carte-kit .carte-visuel img { position: absolute; inset: 0; object-fit: contain; } }
  .carte-kit-corps { padding: var(--e-5); display: grid; gap: var(--e-3); align-content: start; }
  .carte-kit h3 a { color: var(--ardoise); text-decoration: none; }
  .carte-kit h3 a::after { content: ""; position: absolute; inset: 0; }
  .carte-kit .bouton { position: relative; z-index: 1; width: fit-content; }
  .carte-kit ul { font-size: var(--t-2); }

  /* ---------- service humain */
  .service { display: grid; gap: var(--e-5); align-items: center; background: var(--pierre-claire); border-radius: var(--r-3); padding: var(--e-6) var(--e-5); border: 1px solid var(--trait); }
  @media (min-width: 960px) { .service { grid-template-columns: auto 1fr auto; padding: var(--e-6); } }
  .monogramme { width: 88px; height: 88px; border-radius: var(--r-galet); background: var(--eau); color: #fff; display: grid; place-items: center; font-family: var(--police-titre); font-size: 2rem; font-weight: 650; }

  /* ---------- rayon (silo) */
  .tete-rayon { padding-block: var(--e-4) var(--e-6); }
  .tete-rayon-grille { display: grid; gap: var(--e-5); }
  @media (min-width: 960px) { .tete-rayon-grille { grid-template-columns: 1.3fr 1fr; align-items: start; } }
  .tete-rayon h1 { font-size: var(--t-6); display: flex; gap: var(--e-3); align-items: center; }
  .tete-rayon .chapeau { color: var(--ardoise-douce); font-size: var(--t-4); line-height: 1.5; margin-top: var(--e-3); }
  .frise { display: flex; gap: var(--e-2); overflow-x: auto; padding-bottom: var(--e-2); scrollbar-width: thin; }
  .frise a { flex: none; display: inline-flex; gap: var(--e-2); align-items: center; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--pierre-claire); border: 1px solid var(--trait); color: var(--ardoise); text-decoration: none; font-size: var(--t-2); font-weight: 600; }
  .frise a[aria-current="page"] { background: var(--couleur); border-color: var(--couleur); color: #fff; }
  .frise a[aria-current="page"] .galet { background: #fff; color: var(--couleur); }
  .frise .galet { width: 1.75rem; height: 1.75rem; font-size: 0.875rem; }
  .barre-filtres { display: flex; flex-wrap: wrap; gap: var(--e-3); align-items: center; justify-content: space-between; margin-bottom: var(--e-4); font-size: var(--t-2); }
  .barre-filtres label { display: inline-flex; gap: var(--e-2); align-items: center; }
  .barre-filtres select { padding: 8px 10px; border-radius: var(--r-2); border: 1px solid var(--trait); background: var(--pierre-claire); }
  .barre-filtres input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--eau); }
  .compte { color: var(--ardoise-douce); }
  .suite-rayon { display: flex; justify-content: space-between; gap: var(--e-3); flex-wrap: wrap; margin-top: var(--e-6); }

  /* ---------- fiche produit */
  .fiche { display: grid; gap: var(--e-6); padding-bottom: var(--e-6); }
  @media (min-width: 960px) { .fiche { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--e-7); align-items: start; } }
  .galerie { display: grid; gap: var(--e-3); }
  @media (min-width: 960px) { .galerie { position: sticky; top: calc(var(--entete) + var(--e-4)); } }
  .galerie-principale { aspect-ratio: 4 / 3; border-radius: var(--r-3); overflow: hidden; background: var(--galet); border: 1px solid var(--trait); }
  .galerie-principale img { width: 100%; height: 100%; object-fit: contain; }
  .vignettes-galerie { display: flex; gap: var(--e-2); }
  .vignettes-galerie button { width: 72px; aspect-ratio: 4 / 3; border-radius: var(--r-2); overflow: hidden; border: 2px solid transparent; background: var(--galet); }
  .vignettes-galerie button[aria-current="true"] { border-color: var(--eau); }
  .vignettes-galerie img { width: 100%; height: 100%; object-fit: cover; }
  .note-visuel { font-size: var(--t-1); color: var(--ardoise-douce); }
  .fiche-infos > * + * { margin-top: var(--e-4); }
  .fiche-infos h1 { font-size: var(--t-6); }
  .fiche-infos .chapeau { font-size: var(--t-4); color: var(--ardoise-douce); line-height: 1.5; }
  .bloc-achat { background: var(--pierre-claire); border: 1px solid var(--trait); border-radius: var(--r-3); padding: var(--e-5); display: grid; gap: var(--e-4); }
  .ligne-prix { display: flex; align-items: baseline; gap: var(--e-3); flex-wrap: wrap; }
  .ligne-prix .prix { font-size: var(--t-6); }
  .ligne-prix small { color: var(--ardoise-douce); }
  .dispo { font-size: var(--t-2); font-weight: 650; display: flex; gap: var(--e-2); align-items: center; }
  .dispo::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mousse); }
  .dispo[data-statut="stock_limite"]::before { background: var(--or); }
  .dispo[data-statut="indisponible"]::before { background: var(--danger); }
  .rangee-achat { display: flex; gap: var(--e-3); flex-wrap: wrap; }
  .rangee-achat .bouton--acheter { flex: 1; min-width: 12rem; }
  .reassurance { display: grid; gap: var(--e-2); font-size: var(--t-2); }
  .reassurance li { display: flex; gap: var(--e-2); align-items: flex-start; }
  .reassurance .icone { color: var(--eau); margin-top: 2px; }
  .encart-bassin { font-size: var(--t-2); padding: var(--e-3) var(--e-4); border-radius: var(--r-2); background: var(--eau-pale); }
  .encart-bassin[data-etat="conseille"] { background: var(--mousse-fond); }
  .compat-grille { display: grid; gap: var(--e-4); }
  @media (min-width: 640px) { .compat-grille { grid-template-columns: 1fr 1fr; } }
  .compat-grille h2 { font-family: var(--police-texte); font-size: var(--t-3); font-weight: 700; margin-bottom: var(--e-2); letter-spacing: 0; }
  .accordeons { border-top: 1px solid var(--trait); }
  .accordeons details { border-bottom: 1px solid var(--trait); }
  .accordeons summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: var(--e-4) 0; }
  .accordeons summary::-webkit-details-marker { display: none; }
  .accordeons summary h2 { font-size: var(--t-4); }
  .accordeons summary::after { content: "+"; font-family: var(--police-titre); font-size: 1.6rem; color: var(--eau); }
  .accordeons details[open] summary::after { content: "−"; }
  .accordeons .corps { padding-bottom: var(--e-5); }
  .accordeons .corps > * + * { margin-top: var(--e-3); }
  .accordeons h3 { font-size: var(--t-3); font-family: var(--police-texte); font-weight: 700; letter-spacing: 0; }
  .composition li { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--e-3); align-items: center; padding-block: var(--e-2); border-bottom: 1px solid var(--trait); font-size: var(--t-2); }
  .composition img { width: 56px; height: 42px; border-radius: var(--r-1); object-fit: cover; background: var(--galet); }
  .economie-kit { font-weight: 650; color: var(--mousse); }

  /* ---------- compléments (« complétez votre circuit ») */
  .complements { background: var(--galet); border-radius: var(--r-3); padding: var(--e-5); }
  .complements-liste { display: grid; gap: var(--e-3); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: var(--e-4); }
  @media (min-width: 960px) { .complements-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .complement { position: relative; display: grid; gap: var(--e-2); background: var(--pierre-claire); border-radius: var(--r-2); padding: var(--e-3); border: 2px solid transparent; }
  .complement:has(input:checked) { border-color: var(--eau); }
  .complement img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-1); background: var(--galet); }
  .complement label { display: grid; gap: var(--e-2); cursor: pointer; font-size: var(--t-2); font-weight: 600; }
  .complement input { position: absolute; top: var(--e-3); right: var(--e-3); width: 22px; height: 22px; accent-color: var(--eau); }
  .complement .plus { position: absolute; left: -14px; top: 40%; width: 24px; height: 24px; border-radius: 50%; background: var(--eau); color: #fff; display: grid; place-items: center; font-weight: 700; }
  .complements-pied { display: flex; flex-wrap: wrap; gap: var(--e-3); justify-content: space-between; align-items: center; }
  .complements-pied strong { font-family: var(--police-titre); font-size: var(--t-5); }

  /* ---------- guides et pages éditoriales */
  .prose { max-width: var(--largeur-texte); }
  .prose > * + * { margin-top: var(--e-4); }
  .prose h2 { margin-top: var(--e-7); font-size: var(--t-5); }
  .prose h3 { margin-top: var(--e-5); }
  .prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3em; }
  .prose li + li { margin-top: var(--e-2); }
  .prose .tableau-cadre, .prose .schema, .prose .photo { margin-block: var(--e-5); }
  .mise-en-page-guide { display: grid; gap: var(--e-6); }
  @media (min-width: 1240px) { .mise-en-page-guide { grid-template-columns: minmax(0, 1fr) 18rem; } }
  .sommaire { font-size: var(--t-2); }
  @media (min-width: 1240px) { .sommaire { position: sticky; top: calc(var(--entete) + var(--e-4)); align-self: start; } }
  .sommaire ol { padding-left: 1.2em; }
  .sommaire li + li { margin-top: var(--e-2); }
  .meta-article { font-size: var(--t-2); color: var(--ardoise-douce); }
  .carte-guide { position: relative; display: grid; gap: var(--e-3); background: var(--pierre-claire); border: 1px solid var(--trait); border-radius: var(--r-3); overflow: hidden; }
  .carte-guide .photo { border-radius: 0; }
  .carte-guide > div { padding: 0 var(--e-5) var(--e-5); display: grid; gap: var(--e-2); }
  .carte-guide h3 a { color: var(--ardoise); text-decoration: none; }
  .carte-guide h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
  .carte-guide .credit { z-index: 2; }
  .carte-guide p { font-size: var(--t-2); color: var(--ardoise-douce); }
  .page-simple { padding-block: var(--e-5) var(--e-7); }
  .page-simple h1 { font-size: var(--t-6); margin-bottom: var(--e-5); }
  .page-404 { text-align: center; padding-block: var(--e-8); }
  .page-404 > * + * { margin-top: var(--e-4); }

  /* ---------- page panier */
  .page-panier { display: grid; gap: var(--e-6); }
  @media (min-width: 960px) { .page-panier { grid-template-columns: 1.4fr 1fr; align-items: start; } }
  .validation { background: var(--pierre-claire); border: 1px solid var(--trait); border-radius: var(--r-3); padding: var(--e-5); display: grid; gap: var(--e-4); }
  @media (min-width: 960px) { .validation { position: sticky; top: calc(var(--entete) + var(--e-4)); } }
  .case-cgv { display: flex; gap: var(--e-3); align-items: flex-start; font-size: var(--t-2); }
  .case-cgv input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--eau); flex: none; }
  .message-commande { font-size: var(--t-2); padding: var(--e-3) var(--e-4); border-radius: var(--r-2); background: var(--or-fond); }
  .message-commande[data-type="ok"] { background: var(--mousse-fond); }
}

/* ================================================================ utilitaires */
@layer utilitaires {
  .visuellement-cache { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .discret { color: var(--ardoise-douce); }
  .petit { font-size: var(--t-2); }
  .centre { text-align: center; }
  .mt-4 { margin-top: var(--e-4); }
  .mt-6 { margin-top: var(--e-6); }
  .sans-marge { margin: 0; }
  .avec-barre-achat { padding-bottom: 5rem; }
  @media (min-width: 960px) { .avec-barre-achat { padding-bottom: 0; } .barre-achat { display: none; } }
}

/* ---------- crédits photos (page dédiée) */
@layer pages {
  .credits-liste li { display: grid; grid-template-columns: 120px 1fr; gap: var(--e-4); align-items: start; font-size: var(--t-2); }
  .credits-liste img { width: 120px; height: 80px; object-fit: cover; border-radius: var(--r-2); }
  .credits-liste li + li { margin-top: var(--e-4); }
}
