/* ==========================================================================
   ROUSSEBOIS — feuille de style du site public
   Organisation : tokens · base · utilitaires · composants · pages · responsive
   Aucune dépendance externe : aucune police, aucun script, aucune image distante.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Polices auto-hébergées
   Fraunces (titres) et Plus Jakarta Sans (texte), variables, sous-ensembles
   latin et latin-ext. Aucune requête vers un serveur tiers : le chargement
   depuis Google Fonts exposerait l'IP des visiteurs (position de la CNIL).
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de marque — surchargées par le back-office dans <style nonce> */
  --c-primary: #0d4f4a;
  --c-primary-dark: #093b37;
  --c-primary-soft: #e7f1ef;
  --c-accent: #7a4a21;
  --c-accent-soft: #f6ece3;
  /* Contrastes relevés au seuil WCAG AA (4.5:1) sur blanc comme sur fond doux.
     L'ancien vert du prix tombait à 3,49:1 — sur l'information la plus lue
     d'une fiche produit. */
  --c-price: #1A8246;

  /* Neutres */
  --c-ink: #22282d;
  --c-body: #3f4750;
  --c-muted: #5C656D;
  --c-faint: #6C7278;
  --c-line: #e6e9ec;
  --c-line-soft: #f0f2f4;
  --c-bg: #ffffff;
  --c-bg-soft: #f7f8f9;
  --c-bg-warm: #fbf7f4;

  /* États */
  --c-ok: #1A8246;
  --c-warn: #b7791f;
  --c-err: #c0392b;
  --c-err-soft: #fdecea;
  --c-sale: #e8467c;

  /* Typographie */
  --font-sans: "Jakarta", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --tracking-title: -.015em;

  /* Rythme */
  --wrap: 1440px;
  --gap: clamp(14px, 1.6vw, 24px);

  /* Largeur minimale d'une colonne, pilotant les grilles fluides. */
  --card-min: 300px;
  --col-min-3: 280px;
  --col-min-2: 380px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 28, 33, .06);
  --shadow-md: 0 4px 16px rgba(20, 28, 33, .08);
  --shadow-lg: 0 18px 48px rgba(20, 28, 33, .16);

  --header-h: 96px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-body);
  font: 400 15px/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  /* `clip` et non `hidden` : `hidden` crée un conteneur de défilement, ce qui
     casse `position: sticky` sur tous les descendants — les filtres de la
     boutique ne collaient plus. `clip` coupe sans créer ce conteneur. */
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

/* L'attribut HTML `hidden` doit toujours l'emporter.
   La règle du navigateur `[hidden] { display: none }` appartient à sa feuille
   de style : n'importe quelle règle `display` écrite ici la neutralise, même à
   spécificité égale, car les styles auteur passent avant ceux du navigateur.
   C'est ce qui empêchait le bandeau cookies de disparaître : `.cookies` déclare
   `display: flex`, donc `element.hidden = true` n'avait aucun effet visuel. */
[hidden] { display: none !important; }

/* Garde-fou : un contenu trop large ne doit jamais provoquer de
   défilement horizontal sur mobile. */
.card, .card *, .summary, .order-review { min-width: 0; }
.wrap > * { max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--c-ink);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: var(--tracking-title);
  font-variation-settings: "opsz" 48, "SOFT" 0, "WONK" 1;
}
/* Les titres de section en capitales restent en sans : le serif supporte mal
   les capitales très espacées à petite taille. */
.section__head h2, .hero-page h1, .contact-card b, .pillar h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: .045em;
}
h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: clamp(18px, 2vw, 21px); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-primary); text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--c-primary-dark); text-decoration: underline; }

img, svg, video { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 32px 0; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--c-primary) 55%, white);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--c-primary); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Utilitaires de mise en page
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.main { min-height: 42vh; padding-bottom: 64px; }
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--warm { background: var(--c-bg-warm); }

.section__head { text-align: center; max-width: 780px; margin: 0 auto clamp(24px, 4vw, 44px); }
.section__head h2 {
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(19px, 2.2vw, 26px);
}
.section__head p { color: var(--c-muted); font-size: 15px; }

/* Grilles fluides : le nombre de colonnes se calcule en continu selon la
   place disponible, au lieu de sauter d'un palier a l'autre. `min(…, 100%)`
   empeche tout debordement sur les tres petits ecrans. */
.grid { display: grid; gap: var(--gap); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(var(--card-min), 100%), 1fr)); }
/* `auto-fit` et non `auto-fill` pour les grilles de mise en page : a 1440 px,
   `auto-fill` creait trois colonnes pour deux blocs et laissait la troisieme
   vide sur toute la hauteur de la section. `auto-fit` reduit a zero les
   colonnes que personne n'occupe, les blocs presents reprennent la place, et
   le nombre de colonnes reste calcule en continu comme avant.
   La grille de produits, elle, garde `auto-fill` : un rayon a deux articles
   doit afficher deux cartes de taille normale, pas deux cartes geantes. */
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(var(--col-min-3), 100%), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(var(--col-min-2), 100%), 1fr)); }

/* --------------------------------------------------------------------------
   4. Boutons & formulaires
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--c-primary); color: #fff;
  border: 1px solid transparent; border-radius: var(--r-sm);
  padding: 13px 26px; font: 600 15px/1 var(--font-sans); cursor: pointer;
  transition: background .16s ease, transform .12s ease, box-shadow .16s ease;
  text-align: center; text-decoration: none;
}
.btn:hover { background: var(--c-primary-dark); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

.btn--pill { border-radius: var(--r-pill); }
.btn--block { display: flex; width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--dark { background: #12181d; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn--ghost:hover { background: var(--c-bg-soft); color: var(--c-ink); }
.btn--soft { background: var(--c-bg-soft); color: var(--c-ink); }
.btn--soft:hover { background: var(--c-line-soft); color: var(--c-ink); }
.btn--accent { background: var(--c-accent); }
.btn--accent:hover { background: #613918; }

label { display: block; font-weight: 600; font-size: 13.5px; color: var(--c-ink); margin-bottom: 6px; }
label .req { color: var(--c-err); }

/* Selection par exclusion, et non par enumeration : un <input> sans attribut
   « type » se comporte comme un champ texte mais n'est matché par aucun
   selecteur input[type=text]. Il restait donc au style par defaut du
   navigateur — etroit et sans bordure — dans tout le tunnel de commande. */
/* :where() n'ajoute aucune specificite : sans lui, les dix :not([type=...])
   pesaient 0-10-1 et ecrasaient tous les styles de composants — la barre de
   recherche perdait ainsi la place reservee a son icone. */
input:where(:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]):not([type=button]):not([type=reset]):not([type=image]):not([type=range]):not([type=color]):not([type=hidden])),
select, textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--c-line); border-radius: var(--r-sm);
  background: #fff; color: var(--c-ink);
  font: 400 15px/1.4 var(--font-sans);
  transition: border-color .16s ease, box-shadow .16s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 14%, transparent);
}
input::placeholder, textarea::placeholder { color: var(--c-faint); }
textarea { min-height: 130px; resize: vertical; }
select {
  appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%236b757e' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 11px;
}
.field { margin-bottom: 18px; }
.field__hint { font-size: 12.5px; color: var(--c-muted); margin-top: 5px; }
.field__error { font-size: 12.5px; color: var(--c-err); margin-top: 5px; }
.field--inline { display: flex; gap: 10px; align-items: center; }
.field--inline label { margin: 0; font-weight: 400; font-size: 14px; color: var(--c-body); }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--c-body); }
.check input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--c-primary); flex: none; }
.check label { font-weight: 400; margin: 0; font-size: 14px; color: var(--c-body); }

.alert {
  padding: 14px 18px; border-radius: var(--r-sm); margin: 18px 0;
  font-size: 14.5px; border: 1px solid transparent;
}
.alert--success { background: #eaf7f0; border-color: #bfe6d1; color: #14663c; }
.alert--error   { background: var(--c-err-soft); border-color: #f5c6c0; color: #8f281c; }
.alert--info    { background: var(--c-primary-soft); border-color: #c5ded9; color: #0b423e; }
.alert--warning { background: #fdf5e4; border-color: #f0dcae; color: #7a5a12; }

/* --------------------------------------------------------------------------
   5. Bandeau supérieur & accroche
   -------------------------------------------------------------------------- */
.topbar { background: var(--c-accent); color: #fff; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; gap: 14px; min-height: 36px; }
.topbar__track { flex: 1; position: relative; text-align: center; }
.topbar__msg { margin: 0; display: none; font-weight: 600; letter-spacing: .01em; }
.topbar__msg.is-on { display: block; }
.topbar__arrow {
  background: none; border: 0; color: rgba(255, 255, 255, .85);
  font-size: 22px; line-height: 1; cursor: pointer;
  /* Cible tactile de 44 px (WCAG 2.5.8) sans epaissir la barre. */
  min-width: 44px; min-height: 36px; display: grid; place-items: center;
}
.topbar__arrow:hover { color: #fff; }

.hookline {
  margin: 10px 0 0; font-weight: 700; font-size: 13.5px;
  color: #46761a; letter-spacing: .01em; /* 4.6:1 sur blanc (WCAG AA) */
}

/* --------------------------------------------------------------------------
   6. En-tête
   -------------------------------------------------------------------------- */
.header { background: #fff; padding: 14px 0 16px; }
.header__inner {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 22px;
}
.header__logo img { width: 108px; height: auto; }
.header__burger { display: none; }

.header__zone { display: flex; align-items: center; gap: 10px; }
.zone__pin {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: var(--c-primary); color: #fff;
  display: grid; place-items: center;
}
.zone__text { display: flex; flex-direction: column; line-height: 1.25; }
.zone__text b { font-size: 14px; color: var(--c-ink); }
.zone__text small { font-size: 11.5px; color: var(--c-faint); }

.header__search { position: relative; }
.header__search-icon {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  color: var(--c-faint); pointer-events: none;
}
.header__search input {
  border-radius: var(--r-pill); background: var(--c-bg-soft);
  border-color: transparent; padding: 14px 20px 14px 52px; font-size: 14.5px;
}
.header__search input:focus { background: #fff; border-color: var(--c-primary); }

.header__suggest {
  position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); overflow: hidden; max-height: 60vh; overflow-y: auto;
}
.header__suggest a {
  display: flex; gap: 12px; align-items: center; padding: 10px 14px;
  color: var(--c-ink); border-bottom: 1px solid var(--c-line-soft);
}
.header__suggest a:last-child { border-bottom: 0; }
.header__suggest a:hover { background: var(--c-bg-soft); text-decoration: none; }
.header__suggest img { width: 42px; height: 42px; object-fit: contain; flex: none; }
.header__suggest b { display: block; font-size: 13.5px; font-weight: 600; }
.header__suggest span { font-size: 13px; color: var(--c-price); font-weight: 700; }
.header__suggest .empty { padding: 16px; color: var(--c-muted); font-size: 14px; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__account {
  width: 44px; height: 44px; border-radius: 50%;
  background: #a8d96a; color: #16391a;
  display: grid; place-items: center; flex: none;
}
.header__account:hover { background: #99cd58; }

.header__cart {
  display: flex; align-items: center; gap: 12px;
  background: none; border: 0; cursor: pointer; padding: 0; text-align: left;
}
.header__cart-icon { position: relative; color: var(--c-ink); }
.header__cart-badge {
  position: absolute; top: -7px; right: -9px; min-width: 19px; height: 19px;
  border-radius: var(--r-pill); background: #c62a5c; color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px;
}
.header__cart-text { display: flex; flex-direction: column; line-height: 1.25; }
.header__cart-text b { font-size: 15px; color: var(--c-ink); }
.header__cart-text small { font-size: 11.5px; color: var(--c-faint); }

/* --------------------------------------------------------------------------
   7. Navigation
   -------------------------------------------------------------------------- */
.nav {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: #fff;
}
/* Une seule ligne, centrée, sans séparateurs : les traits verticaux et les
   libellés coupés sur deux lignes donnaient un aspect de tableau. */
.nav__inner {
  display: flex;
  align-items: stretch;
  /* Alignement à gauche volontaire : avec `center`, dès que la barre déborde,
     son début passe en marge négative et devient inatteignable au défilement. */
  justify-content: flex-start;
  gap: clamp(0px, 1vw, 16px);
  overflow-x: auto;
  /* Explicite : avec « overflow-x: auto » seul, le navigateur calcule
     « overflow-y: auto » et la barre se met aussi à défiler verticalement
     dès qu'un descendant dépasse — c'était le cas du sous-menu. */
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.nav__inner::-webkit-scrollbar { display: none; }
.nav__close { display: none; }
.nav__item { position: relative; display: flex; align-items: center; flex: 0 0 auto; }
.nav__link {
  display: block;
  padding: 15px clamp(7px, .85vw, 15px);
  /* Police de texte, pas celle des titres : le serif est illisible en nav. */
  font: 600 14px/1.35 var(--font-sans);
  color: var(--c-ink);
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: color .18s ease;
}
.nav__link:hover { color: var(--c-primary); text-decoration: none; }
.nav__toggle { display: none; }

/* Dégradés d'accroche : ils signalent qu'il reste des entrées à faire défiler
   quand la barre est plus large que l'écran. */
.nav { position: relative; }
.nav::before, .nav::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 34px;
  pointer-events: none; opacity: 0; transition: opacity .2s ease;
  z-index: 2;
}
.nav::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.nav::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }
.nav.is-scrollable::after { opacity: 1; }
.nav.is-scrolled-start::before { opacity: 1; }
.nav.is-scrolled-end::after { opacity: 0; }

.nav__sub {
  /* « fixed » et non « absolute » : un descendant absolu compte dans la
     hauteur déroulante de la barre et n'en sort jamais. Fixé, il échappe au
     conteneur de défilement ; ses coordonnées sont posées par le script. */
  position: fixed; top: 0; left: 0; z-index: 70; min-width: 250px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--shadow-lg); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__item.has-sub:hover .nav__sub,
.nav__item.has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 9px 20px; font-size: 14px; color: var(--c-body); }
.nav__sub a:hover { background: var(--c-bg-soft); color: var(--c-primary); text-decoration: none; }

/* --------------------------------------------------------------------------
   8. Fil d'Ariane
   -------------------------------------------------------------------------- */
.breadcrumb { padding: 18px 0 4px; font-size: 13.5px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; color: var(--c-faint); margin-right: 6px; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb [aria-current] { color: var(--c-ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   9. Carte produit
   -------------------------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  overflow: hidden; transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: #d6dbdf; transform: translateY(-2px); }

.card__visual { position: relative; }
.card__media { position: relative; display: block; padding: 16px; background: #fff; }
.card__media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
}
.card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--c-sale); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 9px; border-radius: var(--r-pill); letter-spacing: .02em;
}
.card__badge--text { background: var(--c-accent); }

.card__add {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: var(--c-primary); color: #fff; cursor: pointer;
  display: grid; place-items: center; font-size: 20px; line-height: 1;
  box-shadow: var(--shadow-sm); transition: transform .14s ease, background .14s ease;
}
.card__add:hover { background: var(--c-primary-dark); transform: scale(1.08); }
.card__add[disabled] { background: var(--c-faint); cursor: not-allowed; }

/* Sélecteur de quantité qui remplace le « + » après un premier ajout */
.card__qty {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  display: flex; align-items: center; gap: 2px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm); padding: 2px;
}
.card__qty button {
  width: 30px; height: 30px; border: 0; background: none; cursor: pointer;
  color: var(--c-ink); font-size: 17px; line-height: 1; border-radius: 50%;
}
.card__qty button:hover { background: var(--c-bg-soft); }
.card__qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 13.5px; }

.card__body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card__title {
  margin: 0; font: 600 14px/1.4 var(--font-sans); color: var(--c-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__title a {
  color: inherit;
  /* Etend la zone cliquable a toute la carte : un lien de 18 px de haut
     est trop fin pour le tactile. */
  display: block;
}
.card__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Le lien plein cadre (::before) recouvre toute la carte : le visuel, la pastille
   et le bouton d ajout doivent repasser au-dessus. On ne touche QUE le z-index :
   ecrire « position: relative » ici casserait le positionnement absolu de la
   pastille et du bouton, qui redeviendraient des elements de flux. */
.card__visual { position: relative; z-index: 2; }
.card__badge, .card__add, .card__qty { z-index: 3; }
.card__title a:hover { color: var(--c-primary); text-decoration: none; }

.card__price { font: 700 17px/1 var(--font-display); color: var(--c-price); }
.card__price del { color: var(--c-faint); font-size: 13.5px; font-weight: 500; margin-left: 7px; }

.card__meta {
  font-size: 11.5px; color: var(--c-faint); line-height: 1.5;
  overflow-wrap: anywhere; word-break: break-word;
}
.card__meta b { color: var(--c-muted); font-weight: 600; }
.card__stock { font-size: 12px; font-weight: 700; letter-spacing: .03em; margin-top: auto; padding-top: 4px; }
.card__stock.en-stock { color: var(--c-ok); }
.card__stock.sur-commande { color: var(--c-warn); }
.card__stock.rupture { color: var(--c-faint); }

/* Ambre assombri : #f0a92e plafonnait a 2,02:1, sous le seuil de 3:1
   exige pour un element graphique porteur de sens (WCAG 1.4.11). */
.stars { color: #C18825; font-size: 12px; letter-spacing: 1px; }
.stars__i { opacity: .28; }
.stars__i.is-on { opacity: 1; }
.stars__count { font-size: 11.5px; color: var(--c-muted); margin-left: 5px; letter-spacing: 0; }

/* --------------------------------------------------------------------------
   10. Boutique : filtres + résultats
   -------------------------------------------------------------------------- */
.shop {
  display: grid;
  grid-template-columns: clamp(200px, 18vw, 258px) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 38px);
  padding-top: 22px;
}
/* Colonne de contenu plus etroite que sur l'accueil : cartes plus compactes.
   Limite aux grands ecrans, sinon cette regle (plus specifique que :root)
   ecraserait les largeurs definies dans les media queries mobiles. */
@media (min-width: 901px) {
  .shop .grid--4 { --card-min: 232px; }
}

/* Colonne de filtres fixe pendant le défilement des résultats.
   Si la liste dépasse la hauteur de l'écran, elle défile en interne plutôt
   que d'être tronquée. */
.filters {
  position: sticky;
  top: 18px;
  align-self: start;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cfd6db transparent;
  padding-right: 6px;
}
.filters::-webkit-scrollbar { width: 6px; }
.filters::-webkit-scrollbar-thumb { background: #cfd6db; border-radius: 3px; }
.filters::-webkit-scrollbar-track { background: transparent; }
.filters__block { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--c-line-soft); }
.filters__block:last-child { border-bottom: 0; }
.filters h2 { font-size: 15px; margin-bottom: 14px; color: var(--c-ink); }
.filters ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.filters li { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.filters li a, .filters li label { color: var(--c-body); font-weight: 400; margin: 0; font-size: 14px; }
.filters li a:hover { color: var(--c-primary); text-decoration: none; }
.filters li.is-on a, .filters li.is-on label { color: var(--c-primary); font-weight: 700; }
.filters__dot {
  width: 15px; height: 15px; border: 1.5px solid #cdd4d9; border-radius: 50%; flex: none;
  display: grid; place-items: center;
}
.filters li.is-on .filters__dot { border-color: var(--c-primary); background: var(--c-primary); }
.filters li.is-on .filters__dot::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.filters__count { margin-left: auto; color: var(--c-faint); font-size: 12.5px; }

.filters__price { display: flex; align-items: center; gap: 8px; }
.filters__price input { padding: 9px 10px; font-size: 13.5px; }
.filters__price span { color: var(--c-faint); }
.filters__toggle { display: none; }

.shop__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--c-bg-soft); border-radius: var(--r-sm);
  padding: 12px 18px; margin-bottom: 22px; font-size: 13.5px; color: var(--c-muted);
}
.shop__bar select { width: auto; min-width: 170px; padding: 8px 34px 8px 12px; font-size: 13.5px; }

.shop__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--c-primary-soft); color: var(--c-primary-dark);
  border-radius: var(--r-pill); padding: 6px 13px; font-size: 13px; font-weight: 600;
}
.chip a { color: inherit; font-size: 15px; line-height: 1; }

.empty-state { text-align: center; padding: 70px 20px; }
.empty-state svg { color: var(--c-faint); margin: 0 auto 18px; }
.empty-state h2 { font-size: 20px; }
.empty-state p { color: var(--c-muted); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 40px; }
.pagination a, .pagination__current, .pagination__gap {
  min-width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 600;
}
.pagination a { color: var(--c-body); }
.pagination a:hover { background: var(--c-bg-soft); text-decoration: none; }
.pagination__current { background: var(--c-primary); color: #fff; }
.pagination__gap { color: var(--c-faint); }

/* --------------------------------------------------------------------------
   11. Page produit
   -------------------------------------------------------------------------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-top: 26px; }
.product__gallery { position: sticky; top: 16px; align-self: start; }
.product__main {
  border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 26px; background: #fff;
}
.product__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.product__thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.product__thumbs button {
  width: 76px; height: 76px; padding: 6px; background: #fff; cursor: pointer;
  border: 1px solid var(--c-line); border-radius: var(--r-sm);
}
.product__thumbs button.is-on { border-color: var(--c-primary); box-shadow: 0 0 0 2px var(--c-primary-soft); }
.product__thumbs img { width: 100%; height: 100%; object-fit: contain; }

.product__gtin { font-size: 12.5px; color: var(--c-faint); margin-bottom: 10px; }
.product__gtin b { color: var(--c-muted); }
.product__price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0; }
.product__price strong { font: 700 32px/1 var(--font-display); color: var(--c-price); }
.product__price del { color: var(--c-faint); font-size: 18px; }
.product__price .save {
  background: var(--c-sale); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: var(--r-pill);
}
.product__tax { font-size: 12.5px; color: var(--c-muted); margin: -10px 0 18px; }

.product__buy { display: flex; gap: 12px; align-items: stretch; margin: 22px 0; flex-wrap: wrap; }
.qty {
  display: flex; align-items: center; border: 1px solid var(--c-line);
  border-radius: var(--r-sm); overflow: hidden; flex: none;
}
.qty button {
  width: 44px; height: 100%; min-height: 48px; border: 0; background: #fff;
  cursor: pointer; font-size: 19px; color: var(--c-ink);
}
.qty button:hover { background: var(--c-bg-soft); }
.qty input {
  width: 58px; border: 0; text-align: center; font-weight: 700; font-size: 15px;
  padding: 0; border-radius: 0;
}
.qty input:focus { box-shadow: none; }

.product__reassure { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(120px, 100%), 1fr)); gap: 10px; margin: 26px 0; }
.reassure {
  text-align: center; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  padding: 14px 8px; font-size: 11.5px; color: var(--c-muted); line-height: 1.4;
}
.reassure svg { color: var(--c-primary); margin: 0 auto 8px; }
.reassure b { display: block; color: var(--c-ink); font-size: 12px; }

.product__tabs { margin-top: 56px; }
.tabs__nav { display: flex; gap: 4px; border-bottom: 1px solid var(--c-line); flex-wrap: wrap; }
.tabs__nav button {
  background: none; border: 0; border-bottom: 3px solid transparent;
  padding: 13px 20px; font: 600 14.5px/1 var(--font-sans); color: var(--c-muted); cursor: pointer;
}
.tabs__nav button.is-on { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.tabs__panel { padding: 26px 0; }
.tabs__panel[hidden] { display: none; }
.prose { max-width: 76ch; color: var(--c-body); }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--c-line); padding: 10px 13px; text-align: left; }
.prose th { background: var(--c-bg-soft); font-weight: 600; color: var(--c-ink); }
.prose blockquote {
  margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--c-primary);
  background: var(--c-primary-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table tr { border-bottom: 1px solid var(--c-line-soft); }
.spec-table td { padding: 11px 0; }
.spec-table td:first-child { color: var(--c-muted); width: 42%; }
.spec-table td:last-child { font-weight: 600; color: var(--c-ink); }

.review { border-bottom: 1px solid var(--c-line-soft); padding: 18px 0; }
.review__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 7px; }
.review__author { font-weight: 700; color: var(--c-ink); font-size: 14.5px; }
.review__date { font-size: 12.5px; color: var(--c-faint); }
.review__verified { font-size: 11.5px; color: var(--c-ok); font-weight: 700; }

/* --------------------------------------------------------------------------
   12. Fenêtre d'aperçu rapide
   -------------------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(16, 22, 27, .55); }
.modal__panel {
  position: relative; background: #fff; border-radius: var(--r-lg);
  max-width: 880px; width: 100%; max-height: 88vh; overflow-y: auto;
  box-shadow: var(--shadow-lg); padding: 30px;
}
.modal__close {
  position: absolute; top: 14px; right: 16px; width: 34px; height: 34px;
  border: 0; background: none; font-size: 24px; color: var(--c-muted); cursor: pointer; border-radius: 50%;
}
.modal__close:hover { background: var(--c-bg-soft); color: var(--c-ink); }
.quickview { display: grid; grid-template-columns: 300px 1fr; gap: 30px; }
.quickview__media img { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.quickview h2 { font-size: 21px; }

/* --------------------------------------------------------------------------
   13. Tiroir panier
   -------------------------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 130; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(16, 22, 27, .5); }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
  background: #fff; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; animation: drawer-in .22s ease;
}
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--c-line);
}
.drawer__head h2 { margin: 0; font-size: 15px; }
.drawer__head button { background: none; border: 0; font-size: 26px; color: var(--c-muted); cursor: pointer; line-height: 1; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer__empty { color: var(--c-muted); text-align: center; padding: 40px 0; }
.drawer__line { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--c-line-soft); }
.drawer__line img { width: 62px; height: 62px; object-fit: contain; flex: none; }
.drawer__line b { display: block; font-size: 13.5px; font-weight: 600; color: var(--c-ink); line-height: 1.4; }
.drawer__line small { font-size: 13px; color: var(--c-price); font-weight: 700; }
.drawer__remove { background: none; border: 0; color: var(--c-err); font-size: 12.5px; cursor: pointer; padding: 3px 0; }
.drawer__foot { border-top: 1px solid var(--c-line); padding: 18px 22px; display: grid; gap: 11px; }
.drawer__total { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; color: var(--c-ink); }

/* --------------------------------------------------------------------------
   14. Panier & commande
   -------------------------------------------------------------------------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; padding-top: 26px; }
.cart__table { width: 100%; border-collapse: collapse; }
.cart__table th {
  text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--c-muted); padding: 0 12px 14px; border-bottom: 1px solid var(--c-line); font-weight: 600;
}
.cart__table td { padding: 18px 12px; border-bottom: 1px solid var(--c-line-soft); vertical-align: middle; }
.cart__product { display: flex; align-items: center; gap: 16px; }
.cart__product img { width: 68px; height: 68px; object-fit: contain; flex: none; }
.cart__product b { font-size: 14.5px; font-weight: 600; color: var(--c-ink); }
.cart__remove {
  width: 32px; height: 32px; border: 1px solid var(--c-line); border-radius: 50%;
  background: #fff; color: var(--c-muted); cursor: pointer; font-size: 17px; line-height: 1;
}
.cart__remove:hover { border-color: var(--c-err); color: var(--c-err); }
.cart__tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.cart__tools form { display: flex; gap: 10px; flex: 1; min-width: 280px; }
.cart__tools input { max-width: 240px; border-radius: var(--r-pill); }

.summary {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  padding: 26px; position: sticky; top: 16px; align-self: start;
}
.summary h2 { font-size: 19px; margin-bottom: 18px; }
.summary__row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; font-size: 14.5px; }
.summary__row + .summary__row { border-top: 1px solid var(--c-line-soft); }
.summary__row--total { font-size: 19px; font-weight: 700; color: var(--c-ink); padding-top: 15px; }
.summary__row--total span:last-child { color: var(--c-primary); }
.summary__note { font-size: 12.5px; color: var(--c-muted); margin-top: 14px; }
.summary .btn { margin-top: 18px; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 46px; padding-top: 26px; }
.checkout__promo {
  background: var(--c-bg-soft); border-radius: var(--r-sm); padding: 14px 18px;
  font-size: 14px; margin-bottom: 28px;
}
.checkout h2 { font-size: 20px; margin-bottom: 20px; }
.checkout__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.checkout__grid .field--full { grid-column: 1 / -1; }

.bankbox {
  background: var(--c-primary-soft); border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 18px 20px; margin: 22px 0;
}
.bankbox h3 { font-size: 15px; margin-bottom: 12px; }
.bankbox__intro {
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-ink);
  margin: 0 0 14px;
}
.bankbox__intro b { white-space: nowrap; }
.bankbox dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-size: 14px; }
.bankbox dt { color: var(--c-muted); }
.bankbox dd { margin: 0; font-weight: 700; color: var(--c-ink); word-break: break-all; }
.bankbox__note { font-size: 12.5px; color: var(--c-muted); margin-top: 12px; }

.order-review { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 26px; }
.order-review__line { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; font-size: 14px; border-bottom: 1px solid var(--c-line-soft); }
.order-review__line b { font-weight: 600; color: var(--c-ink); }

.received { text-align: center; border: 2px dashed #bfe6d1; background: #f4fbf7; border-radius: var(--r-md); padding: 26px; margin: 26px 0; }
.received p { color: #14663c; font-weight: 700; font-size: 18px; margin: 0; }
.meta-list { list-style: none; margin: 0 0 26px; padding: 0; font-size: 15px; display: grid; gap: 7px; }
.meta-list b { color: var(--c-ink); }

/* --------------------------------------------------------------------------
   15. Suivi de commande
   -------------------------------------------------------------------------- */
.timeline { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; position: relative; padding-bottom: 26px; }
.timeline li::before {
  content: ""; position: absolute; left: 16px; top: 30px; bottom: 0; width: 2px; background: var(--c-line);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline__dot {
  width: 34px; height: 34px; border-radius: 50%; background: #fff;
  border: 2px solid var(--c-line); color: var(--c-faint);
  display: grid; place-items: center; font-size: 15px; font-weight: 700; z-index: 1;
}
.timeline li.is-done .timeline__dot { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.timeline li.is-current .timeline__dot { border-color: var(--c-primary); color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-soft); }
.timeline b { display: block; color: var(--c-ink); font-size: 15px; }
.timeline small { color: var(--c-muted); font-size: 13px; }

/* --------------------------------------------------------------------------
   16. Espace client
   -------------------------------------------------------------------------- */
.account { display: grid; grid-template-columns: 260px 1fr; gap: 42px; padding-top: 26px; }
.account__side { align-self: start; }
.account__user { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--c-line); margin-bottom: 20px; }
.account__user svg { color: var(--c-muted); flex: none; }
.account__user small { display: block; font-size: 12px; color: var(--c-faint); }
.account__user b { font-size: 16px; color: var(--c-ink); }
.account__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.account__nav a {
  display: block; padding: 12px 18px; border-radius: var(--r-pill);
  color: var(--c-body); font-size: 14.5px; font-weight: 500;
}
.account__nav a:hover { background: var(--c-bg-soft); text-decoration: none; }
.account__nav a.is-on { background: #12181d; color: #fff; font-weight: 600; }

.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th {
  text-align: left; padding: 12px 14px; background: var(--c-bg-soft);
  font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted); font-weight: 600;
}
.table td { padding: 14px; border-bottom: 1px solid var(--c-line-soft); }
.table tr:hover td { background: #fcfdfd; }

.tag { display: inline-block; padding: 4px 11px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; }
.tag--attente { background: #fdf5e4; color: #8a6413; }
.tag--payee { background: #eaf7f0; color: #14663c; }
.tag--preparation { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.tag--expediee { background: #e8f0fd; color: #1c4e91; }
.tag--livree { background: #eaf7f0; color: #14663c; }
.tag--annulee, .tag--remboursee { background: var(--c-err-soft); color: #8f281c; }

/* --------------------------------------------------------------------------
   17. Pages éditoriales
   -------------------------------------------------------------------------- */
.hero-page { position: relative; background: var(--c-accent-soft); padding: clamp(48px, 7vw, 92px) 0; overflow: hidden; }
.hero-page::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(251, 247, 244, .96) 0%, rgba(251, 247, 244, .72) 45%, rgba(251, 247, 244, .25) 100%);
}
.hero-page__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-page .wrap { position: relative; z-index: 2; }
.hero-page h1 { color: var(--c-accent); text-transform: uppercase; letter-spacing: .01em; }
.hero-page p { max-width: 62ch; color: var(--c-body); font-size: 16px; }

/* Hero : image et contenu empilés dans la même cellule de grille.
   Le texte reste dans le flux, donc le bloc grandit avec lui et ne peut
   jamais déborder — c'est ce qui cassait l'affichage mobile. */
.hero-home {
  display: grid;
  isolation: isolate;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 18px;
  min-height: clamp(380px, 40vw, 520px);
}
/* C'est <picture> qui est la cellule de grille, pas <img> : les règles de
   placement doivent donc porter sur lui, sinon l'image sort de la pile. */
.hero-home > picture {
  grid-area: 1 / 1;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-home__media {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: hero-zoom 18s ease-out forwards;
}
@keyframes hero-zoom { to { transform: scale(1.09); } }
/* Le voile doit rendre le texte lisible sans éteindre la photo : il est dense
   à gauche, sous le texte, et s'efface presque totalement sur les flammes. */
.hero-home::after {
  content: "";
  grid-area: 1 / 1;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(14, 9, 4, .82) 0%, rgba(14, 9, 4, .58) 34%,
                    rgba(14, 9, 4, .22) 58%, rgba(14, 9, 4, 0) 82%),
    linear-gradient(to top, rgba(14, 9, 4, .34) 0%, rgba(14, 9, 4, 0) 38%);
}
.hero-home__card {
  grid-area: 1 / 1;
  align-self: center;
  max-width: 620px;
  color: #fff;
  padding: clamp(32px, 5vw, 76px) clamp(22px, 4.5vw, 66px);
}
.hero-home__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: var(--r-pill);
  padding: 6px 15px;
  font: 600 12px/1 var(--font-sans);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}
.hero-home__card h1 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.07;
  margin-bottom: 16px;
  text-wrap: balance;
}
.hero-home__card h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 120, "SOFT" 40, "WONK" 1;
  color: #f6b426;
}
.hero-home__card p {
  font-size: clamp(14.5px, 1.3vw, 17px);
  color: rgba(255, 255, 255, .84);
  max-width: 48ch;
  margin-bottom: 26px;
}
.hero-home__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-home__cta .btn--ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .34);
  color: #fff;
  backdrop-filter: blur(4px);
}
.hero-home__cta .btn--ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.hero-home__proof {
  display: flex; gap: 26px; flex-wrap: wrap;
  margin-top: 30px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero-home__proof div b {
  display: block; font: 700 21px/1.1 var(--font-display); color: #fff;
}
.hero-home__proof div span { font-size: 12.5px; color: rgba(255, 255, 255, .7); }

.usp {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: clamp(16px, 2vw, 22px); padding: clamp(24px, 3vw, 36px) 0;
}
/* Variante deux colonnes, a cote d'un texte. Un style pose en ligne
   l'emportait sur les media queries : le bloc restait en deux colonnes sur
   telephone, ou chaque intitule tenait alors sur trois lignes. */
.usp--split { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
@media (max-width: 620px) {
  .usp--split { grid-template-columns: 1fr; }
}

.usp__item { display: flex; gap: 14px; align-items: flex-start; }
.usp__item img, .usp__item svg { width: 44px; height: 44px; flex: none; }
.usp__item b {
  display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--c-ink);
  /* Meme raison que pour les familles : un intitule sur deux lignes ne doit
     pas desaligner le texte des blocs voisins. */
  line-height: 1.3; min-height: 2.6em;
}
.usp__item p { font-size: 12.5px; color: var(--c-muted); margin: 4px 0 0; line-height: 1.5; }

.strip {
  background: var(--c-primary); color: #fff; padding: 14px 0;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }

.pillars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: clamp(16px, 2vw, 22px); }
/* Au-dela du pliage mobile, le nombre de colonnes vient du nombre reel de
   familles (voir --cols pose dans le gabarit) : auto-fill laisserait sinon
   une carte orpheline sur la derniere ligne. */
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
}
.pillar img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 14px; }
.pillar h3 {
  font-size: 14px; text-transform: uppercase; letter-spacing: .03em; color: var(--c-accent);
  /* Deux lignes reservees : sans cela, un intitule long decale le compteur
     et les cartes de la rangee ne s'alignent plus. */
  line-height: 1.35; min-height: 2.7em; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pillar p { font-size: 13.5px; color: var(--c-muted); margin: 0; }

.accordion { border-top: 1px solid var(--c-line); }
.accordion__item { border-bottom: 1px solid var(--c-line); }
.accordion__btn {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  padding: 18px 44px 18px 4px; position: relative;
  font: 600 15px/1.5 var(--font-sans); color: var(--c-ink);
}
.accordion__btn::after {
  content: "+"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 21px; color: var(--c-primary); font-weight: 400;
}
.accordion__btn[aria-expanded="true"]::after { content: "−"; }
.accordion__panel { padding: 0 4px 22px; color: var(--c-body); font-size: 14.5px; }
.accordion__panel[hidden] { display: none; }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: clamp(18px, 2vw, 26px); }
.contact-card { text-align: center; padding: 20px; }
.contact-card svg { color: var(--c-primary); margin: 0 auto 12px; }
.contact-card b { display: block; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; color: var(--c-accent); margin-bottom: 5px; }
.contact-card p { font-size: 14px; color: var(--c-muted); margin: 0; }

/* --------------------------------------------------------------------------
   18. Avant-pied & pied de page
   -------------------------------------------------------------------------- */
.prefooter { border-top: 1px solid var(--c-line); padding: 26px 0; }
.prefooter__inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.prefooter__certs { display: flex; align-items: center; gap: 16px; }

/* Habillage officiel des certifications : hauteur contenue, largeur libre,
   pour accepter aussi bien un seul logo que deux cote a cote. */
.prefooter__certs-img { height: 54px; width: auto; flex: none; }
@media (max-width: 760px) { .prefooter__certs-img { height: 50px; } }
.prefooter__mark {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--c-primary-soft); color: var(--c-primary-dark);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-primary) 16%, transparent);
}
.prefooter__certs b { display: block; font-size: 15px; color: var(--c-ink); }
.prefooter__certs p { margin: 2px 0 0; font-size: 13px; color: var(--c-muted); }
.prefooter__phone { text-align: right; }
.prefooter__phone a { font: 700 clamp(22px, 3vw, 32px)/1.1 var(--font-display); color: var(--c-primary); }
.prefooter__phone a:hover { text-decoration: none; }
.prefooter__phone small { display: block; font-size: 12.5px; color: var(--c-faint); margin-top: 5px; }

.footer { background: var(--c-bg-soft); padding: 48px 0 26px; border-top: 1px solid var(--c-line); }
.footer__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.15fr; gap: 40px; }
.footer__brand img { width: 120px; margin-bottom: 16px; }
.footer__brand p { font-size: 14px; color: var(--c-muted); line-height: 1.7; }
.footer__col h2 { font-size: 15.5px; color: var(--c-ink); margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__col a { color: var(--c-body); font-size: 14px; }
.footer__col a:hover { color: var(--c-primary); }
.footer__todo { font-size: 13px; color: var(--c-warn); font-style: italic; }
.footer__contact li { font-size: 14px; color: var(--c-body); }
.footer__news { margin-top: 22px; }
.footer__news label { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.footer__news-row { display: flex; gap: 8px; }
.footer__news-row input { border-radius: var(--r-pill); font-size: 14px; padding: 10px 16px; }
.footer__news-row button {
  background: var(--c-primary); color: #fff; border: 0; border-radius: var(--r-pill);
  padding: 0 20px; font-weight: 700; cursor: pointer;
}
.footer__pay { margin-top: 40px; }
/* Le bandeau des moyens de paiement : largeur libre, hauteur contenue, jamais
   plus large que la colonne. Centre au-dessus des trois pastilles. */
/* Bandeau des moyens de paiement, centre au-dessus de la ligne de copyright.
   Bride par la largeur et non par la hauteur : l'image est une bande de
   logos alignes, la contraindre en hauteur la reduirait sans borne sur un
   grand ecran. 360 px, soit la moitie de ses 705 px d'origine. */
.footer__pay-img {
  display: block; margin: 0 auto 14px;
  max-width: min(360px, 100%); height: auto;
}
.paybadges {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 10px;
}
.paybadge {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 16px; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--c-line);
  min-width: 0;
}
.paybadge .icon { flex: none; color: var(--c-primary); }
.paybadge span { display: block; font-size: 12px; color: var(--c-muted); line-height: 1.35; }
.paybadge b {
  display: block; font-size: 12.5px; font-weight: 700; color: var(--c-ink);
  letter-spacing: .01em; margin-bottom: 1px;
}
@media (max-width: 620px) {
  .paybadges { flex-direction: column; }
  .paybadge { justify-content: flex-start; }
}
.footer__legal { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.footer__legal { text-align: center; }

/* --------------------------------------------------------------------------
   Adresse de livraison : revelee par la case a cocher
   --------------------------------------------------------------------------
   Deux mecanismes, volontairement : le script retire l'attribut « hidden »
   au clic, et ces deux regles font le meme travail sans JavaScript, via
   l'etat reel de la case. Un tunnel de commande doit rester utilisable meme
   quand un bloqueur casse les scripts. */
.checkout form:has(#ship_same:checked) [data-ship-fields][hidden] { display: grid; }
.checkout form:has(#ship_same:checked) [data-ship-hint] { display: none; }
.footer__legal p { font-size: 13px; color: var(--c-faint); margin: 0; }

/* --------------------------------------------------------------------------
   19. Bandeau cookies
   -------------------------------------------------------------------------- */
/* Barre compacte en pied d'écran : elle ne doit masquer ni le contenu
   ni les boutons d'action, et laisse la place à la bulle d'aide. */
.cookies {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
  display: flex; align-items: center; justify-content: center;
  gap: 18px 24px; flex-wrap: wrap;
  padding: 14px clamp(16px, 4vw, 110px) 14px clamp(16px, 4vw, 28px);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -4px 20px rgba(20, 28, 33, .08);
  animation: cookies-in .35s .6s both cubic-bezier(.22, .61, .36, 1);
}
@keyframes cookies-in { from { transform: translateY(100%); } to { transform: none; } }
.cookies p { font-size: 13px; color: var(--c-body); margin: 0; max-width: 72ch; }
.cookies__actions { display: flex; gap: 10px; flex: none; }

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {

  .cart, .checkout { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
}

@media (max-width: 1024px) {
  .header__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo search actions";
    gap: 14px;
  }
  .header__logo { grid-area: logo; }
  .header__search { grid-area: search; }
  .header__actions { grid-area: actions; }
  .header__zone { display: none; }
  .header__cart-text small { display: none; }
  .product { grid-template-columns: 1fr; gap: 30px; }
  .product__gallery { position: static; }
  .account { grid-template-columns: 1fr; gap: 26px; }
  .account__nav { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); display: grid; }
  .quickview { grid-template-columns: 1fr; }
}

/* Tablette : colonnes un peu plus etroites. */
@media (max-width: 900px) {
  :root { --card-min: 210px; --col-min-3: 240px; --col-min-2: 300px; }
}

/* Telephone : deux colonnes imposees. Un `auto-fill` avec une largeur
   minimale en pourcentage ne se resout pas de maniere fiable ; une grille
   explicite en `1fr` reste fluide tout en garantissant le compte. */
@media (max-width: 620px) {
  .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--2 { grid-template-columns: minmax(0, 1fr); }

  /* Les blocs de texte long restent sur une colonne : deux colonnes de 165 px
     rendent un avis ou un argumentaire illisible. */
  .reviews .grid--3,
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .reviews__summary { flex-direction: column; text-align: center; gap: 14px; }
  .reviews__meta { text-align: center; max-width: none; }
}

/* Tres petits ecrans : une seule colonne, les cartes deviendraient illisibles. */
@media (max-width: 359px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .cart, .checkout { grid-template-columns: 1fr; }
  .summary, .filters { position: static; }
  .checkout__grid { grid-template-columns: 1fr; }

  /* En-tête mobile : burger à gauche, logo centré, actions à droite,
     recherche sur toute la largeur en dessous. */
  .header { padding: 10px 0 12px; }
  .header__inner {
    grid-template-columns: 44px 1fr auto;
    grid-template-areas:
      "burger logo   actions"
      "search search search";
    gap: 12px 10px;
    align-items: center;
  }
  .header__burger {
    grid-area: burger;
    display: grid; gap: 5px; width: 44px; height: 44px; place-content: center;
    background: none; border: 0; cursor: pointer; justify-self: start;
  }
  .header__burger span {
    display: block; width: 24px; height: 2px; background: var(--c-ink); border-radius: 2px;
    transition: transform .22s ease, opacity .18s ease;
  }
  .header__logo { grid-area: logo; justify-self: center; }
  .header__logo img { width: 72px; }
  .header__actions { grid-area: actions; justify-self: end; gap: 10px; }
  .header__search { grid-area: search; }
  .header__search input { padding: 12px 18px 12px 46px; font-size: 14px; }
  .header__search-icon { left: 17px; }
  .header__account { width: 40px; height: 40px; }
  .header__cart-text b { font-size: 13.5px; }

  .nav {
    position: fixed; inset: 0; z-index: 150; background: #fff; border: 0;
    transform: translateX(-100%); transition: transform .24s ease; overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__inner {
    flex-direction: column; align-items: stretch;
    justify-content: flex-start; overflow-x: visible; gap: 0;
    padding-top: 64px; padding-bottom: 40px;
  }
  .nav__close {
    display: block; position: absolute; top: 14px; right: 16px;
    width: 42px; height: 42px; border: 0; background: none; font-size: 30px; color: var(--c-muted); cursor: pointer;
  }
  .nav__item { flex: 1 1 auto; flex-wrap: wrap; border-bottom: 1px solid var(--c-line-soft); }
  .nav__link { flex: 1; padding: 16px 4px; font-size: 16px; white-space: normal; }
  .nav::before, .nav::after { display: none; }
  .nav__toggle {
    display: block; width: 44px; height: 44px; border: 0; background: none;
    font-size: 17px; color: var(--c-muted); cursor: pointer;
  }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; width: 100%;
    padding: 0 0 10px 16px; display: none;
  }
  .nav__item.is-open .nav__sub { display: block; }

  /* Filtres repliables */
  .filters__toggle {
    display: flex; width: 100%; justify-content: space-between; align-items: center;
    background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--r-sm);
    padding: 13px 18px; font: 600 14.5px/1 var(--font-sans); color: var(--c-ink); cursor: pointer;
  }
  .filters__body { display: none; padding-top: 22px; }
  .filters.is-open .filters__body { display: block; }
  .shop { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .prefooter__inner { flex-direction: column; align-items: flex-start; }
  .prefooter__phone { text-align: left; }

  /* Tableau panier en cartes */
  .cart__table thead { display: none; }
  .cart__table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
  .cart__table td { border: 0; padding: 0; }
  .cart__table td[data-label]::before {
    content: attr(data-label) " "; font-size: 12px; color: var(--c-muted); display: block;
  }
  .cart__table td.cart__cell--product { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .card__body { padding: 0 12px 12px; }
  .card__media { padding: 12px; }
  .card__title { font-size: 13px; }
  .card__price { font-size: 15.5px; }
  .header__logo img { width: 78px; }
  .header__cart-text b { font-size: 14px; }
  .modal__panel { padding: 22px 18px; }
  .shop__bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .shop__bar select { width: 100%; }
  .cart__tools form { min-width: 0; }
  .cart__tools input { max-width: none; }
  .product__price strong { font-size: 26px; }
  .timeline li { grid-template-columns: 28px 1fr; gap: 12px; }
  .timeline li::before { left: 13px; }
  .timeline__dot { width: 28px; height: 28px; font-size: 13px; }
}

@media (max-width: 400px) {
  .footer__grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   22. Animations et micro-interactions
   Toutes sont neutralisées par prefers-reduced-motion (voir section 2).
   ========================================================================== */

/* --- Apparition au défilement ---
   Le masquage n'est appliqué que si le script a pu marquer <html>.
   Sans JavaScript, ou si le fichier ne se charge pas, tout reste visible :
   aucun contenu ne dépend d'un script pour être lu. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1),
              transform .6s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .reveal--left  { transform: translateX(-26px); }
.js-reveal .reveal--right { transform: translateX(26px); }
.js-reveal .reveal--zoom  { transform: scale(.96); }
.js-reveal .reveal--left.is-in, .js-reveal .reveal--right.is-in,
.js-reveal .reveal--zoom.is-in { transform: none; }

/* Décalage progressif des enfants d'une grille */
.stagger > * { transition-delay: calc(var(--i, 0) * 60ms); }


/* --- Cartes produit --- */
.card__media { overflow: hidden; }
.card__media img { transition: transform .55s cubic-bezier(.22, .61, .36, 1); }
.card:hover .card__media img { transform: scale(1.07); }
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow .25s ease;
  pointer-events: none;
}
.card:hover::after { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c-primary) 22%, transparent); }
.card__add { transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), background .18s ease; }
.card:hover .card__add { transform: scale(1.1); }
.card__add:active { transform: scale(.92); }

/* --- Boutons : léger soulèvement et reflet au survol --- */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: "";
  position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
}
.btn:hover::before { left: 130%; }
.btn:not(.btn--ghost):not(.btn--soft):hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--c-primary) 28%, transparent);
}
.btn:active { transform: translateY(1px); box-shadow: none; }

/* --- Navigation : soulignement animé --- */
.nav__link { position: relative; }
.nav__link::after {
  content: "";
  position: absolute; left: clamp(7px, .85vw, 15px); right: clamp(7px, .85vw, 15px);
  bottom: 8px; height: 2px;
  background: var(--c-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.22, .61, .36, 1);
}
.nav__link:hover::after, .nav__item:focus-within .nav__link::after { transform: scaleX(1); }

/* --- Liens du pied de page --- */
.footer__col a { transition: color .18s ease, padding-left .2s ease; }
.footer__col a:hover { padding-left: 4px; }

/* --- Bandeau d'arguments --- */
.strip__inner span { position: relative; padding-left: 20px; }
.strip__inner span::before {
  content: "\2713";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  font-size: 13px; opacity: .65;
}

/* --- Univers (cartes de catégorie) --- */
.pillar { display: block; transition: transform .3s cubic-bezier(.22, .61, .36, 1); }
.pillar:hover { transform: translateY(-4px); }
.pillar__media { overflow: hidden; border-radius: var(--r-sm); margin-bottom: 14px; }
.pillar__media img { transition: transform .5s cubic-bezier(.22, .61, .36, 1); margin: 0; }
.pillar:hover .pillar__media img { transform: scale(1.06); }

/* --- Arguments (USP) --- */
.usp__item { transition: transform .25s ease; }
.usp__item:hover { transform: translateY(-2px); }
.usp__item svg { transition: color .25s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1); color: var(--c-primary); }
.usp__item:hover svg { transform: scale(1.08) rotate(-3deg); }

/* --- Accordéon --- */
.accordion__panel { overflow: hidden; }
.accordion__btn::after { transition: transform .25s ease; }
.accordion__btn[aria-expanded="true"]::after { transform: translateY(-50%) rotate(180deg); }

/* --- Compteur du panier : pulsation à l'ajout --- */
@keyframes badge-pop {
  0% { transform: scale(1); } 45% { transform: scale(1.38); } 100% { transform: scale(1); }
}
.header__cart-badge.is-pop { animation: badge-pop .42s cubic-bezier(.34, 1.56, .64, 1); }

/* --- Squelette de chargement --- */
@keyframes shimmer { to { background-position: 200% 0; } }
.skeleton {
  background: linear-gradient(90deg, #eef1f3 25%, #f7f9fa 50%, #eef1f3 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s linear infinite;
  border-radius: 6px;
  height: 62px;
  margin-bottom: 12px;
}

/* --- Entrée des fenêtres modales --- */
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal__panel { animation: modal-in .26s cubic-bezier(.22, .61, .36, 1); }
.modal__backdrop { animation: fade-in .2s ease; }

/* ==========================================================================
   23. Bulle d'aide
   Entièrement locale : aucun service tiers, aucun script externe.
   ========================================================================== */

.help {
  position: fixed; right: 20px; bottom: 20px; z-index: 125;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}

.help__toggle {
  position: relative;
  width: 58px; height: 58px; border: 0; border-radius: 50%;
  background: var(--c-accent); color: #fff; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(20, 28, 33, .26);
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), background .2s ease;
}
.help__toggle:hover { transform: scale(1.07); background: #63391a; }
.help__toggle svg { width: 26px; height: 26px; }
.help__toggle .help__close-icon { display: none; }
.help.is-open .help__toggle .help__open-icon { display: none; }
.help.is-open .help__toggle .help__close-icon { display: block; }

.help__ping {
  position: absolute; top: 2px; right: 2px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--c-sale); border: 2px solid #fff;
}
.help.is-open .help__ping, .help.is-seen .help__ping { display: none; }

.help__panel {
  width: min(360px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 130px));
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  transform-origin: bottom right;
  animation: help-in .24s cubic-bezier(.22, .61, .36, 1);
}
@keyframes help-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.help__panel[hidden] { display: none; }

.help__head { background: var(--c-accent); color: #fff; padding: 20px 22px; }
.help__head b { display: block; font: 600 17px/1.3 var(--font-display); }
.help__head span { font-size: 13px; opacity: .82; }
.help__body { padding: 18px 22px 22px; }
.help__intro { font-size: 14px; color: var(--c-muted); margin-bottom: 16px; }

.help__actions { display: grid; gap: 8px; margin-bottom: 20px; }
.help__action {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--c-bg-soft); color: var(--c-ink);
  font-size: 14px; font-weight: 600;
  transition: background .18s ease, transform .18s ease;
}
.help__action:hover { background: var(--c-primary-soft); color: var(--c-primary-dark); text-decoration: none; transform: translateX(3px); }
.help__action svg { width: 20px; height: 20px; color: var(--c-primary); flex: none; }
.help__action small { display: block; font-weight: 400; font-size: 12.5px; color: var(--c-muted); }

.help__sep { border: 0; border-top: 1px solid var(--c-line); margin: 0 0 18px; }
.help__form .field { margin-bottom: 12px; }
.help__form label { font-size: 12.5px; }
.help__form input, .help__form textarea { padding: 10px 12px; font-size: 14px; }
.help__form textarea { min-height: 96px; }
.help__note { font-size: 11.5px; color: var(--c-faint); margin-top: 10px; }
.help__status { font-size: 13.5px; margin-top: 12px; }
.help__status.is-ok { color: var(--c-ok); }
.help__status.is-err { color: var(--c-err); }

/* Position et taille sur petit ecran : voir la section « Bulle d'aide sur
   petit ecran », qui regroupe desormais tous les reglages mobiles. */


/* ==========================================================================
   24. Icônes
   Jeu Lucide, trait uniforme. `vector-effect` évite que le trait s'épaississe
   quand l'icône est mise à l'échelle.
   ========================================================================== */
.icon { display: inline-block; flex: none; vertical-align: middle; }
.icon * { vector-effect: non-scaling-stroke; }
.usp__item .icon, .contact-card .icon { color: var(--c-primary); }
.reassure .icon { display: block; margin: 0 auto 8px; color: var(--c-primary); }
.empty-state .icon { margin: 0 auto 18px; color: var(--c-faint); }
.help__action .icon { color: var(--c-primary); }

/* ==========================================================================
   25. Avis externes (Trustpilot, Google)
   ========================================================================== */

.reviews { background: var(--c-bg-soft); }
.reviews__summary {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(16px, 3vw, 40px); flex-wrap: wrap;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 30px) clamp(20px, 4vw, 44px);
  max-width: 900px; margin: 0 auto clamp(26px, 4vw, 40px);
}
.reviews__score { text-align: center; }
.reviews__score b {
  display: block; font: 700 clamp(34px, 5vw, 46px)/1 var(--font-display);
  color: var(--c-ink);
}
.reviews__score span { font-size: 13px; color: var(--c-muted); }
.reviews__stars { font-size: 20px; letter-spacing: 2px; }
.reviews__meta { text-align: left; max-width: 34ch; }
.reviews__meta b { display: block; font-size: 15px; color: var(--c-ink); }
.reviews__meta p { margin: 4px 0 0; font-size: 13px; color: var(--c-muted); }
.reviews__source {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--c-muted);
  border: 1px solid var(--c-line); border-radius: var(--r-pill);
  padding: 6px 14px; margin-top: 8px;
}
.reviews__source .icon { color: #00A871; }

/* --------------------------------------------------------------------------
   Sélecteur de langue
   -------------------------------------------------------------------------- */
.langsel { position: relative; flex: none; margin-left: 10px; }
.langsel > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  padding: 3px 7px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  color: inherit; opacity: .85;
}
.langsel > summary::-webkit-details-marker { display: none; }
.langsel > summary:hover { opacity: 1; background: rgba(255, 255, 255, .14); }
.langsel > summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.langsel__nom { font-weight: 500; }
.langsel__puce {
  flex: none; min-width: 26px; text-align: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--c-muted); background: var(--c-bg-soft);
  border-radius: 5px; padding: 2px 5px;
}
.langsel__liste a[aria-current] .langsel__puce {
  background: var(--c-primary); color: #fff;
}
.langsel__chevron { display: flex; transition: transform .16s ease; }
.langsel[open] .langsel__chevron { transform: rotate(180deg); }

.langsel__liste {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 130;
  list-style: none; margin: 0; padding: 6px;
  min-width: 180px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
}
.langsel__liste a {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--c-ink); text-decoration: none;
}
.langsel__liste a:hover { background: var(--c-bg-soft); text-decoration: none; }
.langsel__liste a[aria-current] { background: var(--c-primary-soft); color: var(--c-primary-dark); font-weight: 700; }

@media (max-width: 760px) {
  .langsel { margin-left: 6px; }
  .langsel__nom { display: none; }
  .langsel__liste { right: -6px; }
}

/* --------------------------------------------------------------------------
   Bandeau de preuve sociale

   Coin bas-gauche : la bulle d'aide occupe le bas-droit. Volontairement
   compact, il ne doit jamais couvrir le contenu ni un bouton d'achat.
   -------------------------------------------------------------------------- */
.proof {
  position: fixed; left: 20px; bottom: 20px; z-index: 120;
  /* Filet : si la banniere cookies est encore la, le bandeau se place
     au-dessus d'elle plutot que dessous. Le script evite normalement
     d'en arriver la. */
  transition: bottom .3s ease;
  max-width: min(340px, calc(100vw - 40px));
  pointer-events: none;
}
.proof[hidden] { display: none !important; }
body:has([data-cookies]:not([hidden])) .proof { bottom: 108px; }

.proof__card {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; padding-right: 34px;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: 14px; box-shadow: var(--shadow-md);
  position: relative; pointer-events: auto;
  /* Etat de repos : hors champ a gauche, invisible. */
  opacity: 0; transform: translateX(-16px) scale(.97);
  transition: opacity .32s ease, transform .32s cubic-bezier(.22, .61, .36, 1);
}
.proof.is-on .proof__card { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .proof__card { transition: opacity .2s linear; transform: none; }
  .proof.is-on .proof__card { transform: none; }
}

.proof__img {
  flex: none; width: 48px; height: 48px; border-radius: 10px;
  object-fit: cover; background: var(--c-bg-soft);
}
.proof__text { min-width: 0; }
.proof__line {
  margin: 0; font-size: 13px; line-height: 1.35; color: var(--c-body);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.proof__line b { color: var(--c-ink); font-weight: 700; }
.proof__meta {
  margin: 3px 0 0; font-size: 11.5px; color: var(--c-muted);
  display: flex; align-items: center; gap: 6px;
}
/* Pastille verte : signale que l'evenement est reel et recent. */
.proof__meta::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-ok); flex: none;
}
.proof__demo {
  /* Le bandeau tourne sur un jeu fictif : on le dit, discretement mais lisiblement. */
  margin-left: auto; flex: none;
  font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--c-warn); background: color-mix(in srgb, var(--c-warn) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--c-warn) 30%, transparent);
  padding: 1px 6px; border-radius: 999px;
}

.proof__close {
  position: absolute; top: 4px; right: 4px;
  width: 26px; height: 26px; border: 0; background: none; cursor: pointer;
  color: var(--c-faint); font-size: 17px; line-height: 1; border-radius: 8px;
}
.proof__close:hover { background: var(--c-bg-soft); color: var(--c-ink); }

/* Meme seuil que la bulle d'aide, masquee sous 760 px : le bandeau dispose
   alors de toute la largeur, sans reserve inutile. */
@media (max-width: 760px) {
  .proof {
    left: 12px; right: 12px; bottom: 12px;
    max-width: calc(100vw - 24px);
  }
  .proof__card { padding: 9px 10px; padding-right: 32px; gap: 10px; border-radius: 12px; }
  .proof__img { width: 40px; height: 40px; border-radius: 8px; }
  .proof__line { font-size: 12.5px; -webkit-line-clamp: 2; }
  .proof__meta { font-size: 11px; }
}

/* --------------------------------------------------------------------------
   Carrousel horizontal (avis clients)
   -------------------------------------------------------------------------- */
.carousel { position: relative; }

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  /* Taille fixe, pas un minmax : une borne basse a 0 laisserait la grille
     repartir les cartes dans la largeur au lieu de les faire deborder. */
  grid-auto-columns: var(--carousel-card, 320px);
  gap: var(--gap, 22px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* La respiration laterale evite que la premiere et la derniere carte
     collent au bord de la zone de contenu. */
  padding: 6px 2px 10px;
  /* Les cartes se soulevent au survol : sans cette marge, l'ombre est rognee. */
  margin: -6px -2px -10px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel.is-static .carousel__track { justify-content: center; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__track:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: var(--r-md);
}

@media (prefers-reduced-motion: reduce) {
  .carousel__track { scroll-behavior: auto; }
}

/* Fleches : masquees tant que le rail n'est pas defilable (attribut hidden
   pose par le script), et hors de portee du tactile ou le geste suffit. */
.carousel__arrow {
  position: absolute; top: calc(50% - 22px); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--c-line); background: #fff; color: var(--c-ink);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background .16s ease, color .16s ease, opacity .16s ease;
}
.carousel__arrow:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.carousel__arrow:disabled { opacity: .35; cursor: default; }
.carousel__arrow:disabled:hover { background: #fff; color: var(--c-ink); border-color: var(--c-line); }
.carousel__arrow--prev { left: -22px; }
.carousel__arrow--next { right: -22px; }

@media (max-width: 1180px) {
  .carousel__arrow--prev { left: -6px; }
  .carousel__arrow--next { right: -6px; }
}
@media (pointer: coarse) {
  .carousel__arrow { display: none; }
}

/* Reperes de position, utiles au doigt la ou les fleches disparaissent. */
.carousel__dots {
  display: flex; justify-content: center; gap: 7px; margin-top: 16px;
}
.carousel__dots:empty { display: none; }
.carousel__dot {
  width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0;
  background: var(--c-line); cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.carousel__dot.is-on { width: 22px; border-radius: 4px; background: var(--c-primary); }

.reviews .carousel { --carousel-card: 330px; }
@media (max-width: 720px) {
  .reviews .carousel { --carousel-card: min(82vw, 330px); }
}

.review-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  padding: 22px 24px; display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow .22s ease, transform .22s ease;
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
/* Dans le rail, toutes les cartes s'alignent sur la plus haute. */
.carousel__track .review-card { height: 100%; }
.review-card__stars { color: #C18825; font-size: 14px; letter-spacing: 1.5px; }
.review-card__text { font-size: 14.5px; color: var(--c-body); line-height: 1.65; flex: 1; }
.review-card__foot {
  display: flex; align-items: center; gap: 10px;
  padding-top: 12px; border-top: 1px solid var(--c-line-soft);
  font-size: 13px; color: var(--c-muted);
}
.review-card__avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--c-primary-soft); color: var(--c-primary-dark);
  display: grid; place-items: center; font-weight: 700; font-size: 13.5px;
}
.review-card__author { font-weight: 600; color: var(--c-ink); }
.review-card__verified { color: var(--c-ok); font-size: 12px; font-weight: 600; }

/* ==========================================================================
   26. Bulle d'aide sur petit écran
   ========================================================================== */

/* Elle était masquée sous 760 px parce qu'elle flotte au-dessus du contenu et
   venait couvrir les boutons des cartes produit. Le masquage réglait la gêne
   en supprimant le service : sur téléphone — la majorité du trafic — il n'y
   avait plus aucun moyen de nous joindre d'un geste.
   Elle est donc rétablie, et la gêne traitée pour ce qu'elle est : une
   question d'encombrement. Pastille plus petite, remontée au-dessus du
   bandeau cookies, et panneau qui occupe l'écran sans le dépasser. */
@media (max-width: 760px) {
  .help { right: 14px; bottom: 14px; }
  .help__toggle { width: 50px; height: 50px; }
  .help__toggle svg { width: 23px; height: 23px; }

  /* Le panneau prend la largeur utile, et reste entièrement atteignable :
     au-delà, il défile à l'intérieur plutôt que de sortir de l'écran. */
  .help__panel {
    width: calc(100vw - 28px);
    max-width: 380px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }

  /* Les notifications d'achat occupent le bas-gauche : sans cette limite,
     elles passeraient sous la pastille et la rendraient incliquable. */
  .proof { max-width: calc(100vw - 96px); }
}

/* Le bandeau cookies occupe toute la largeur en pied d'écran : la pastille
   et les notifications se placent au-dessus tant qu'il est là. */
@media (max-width: 560px) {
  .help__toggle { width: 48px; height: 48px; }
}

/* Uniquement tant que le bandeau cookies est affiche : une fois la decision
   prise, le script retire le marqueur et la pastille redescend. */
@media (max-width: 760px) {
  body.a-bandeau-cookies .help { bottom: 92px; }
  body.a-bandeau-cookies .help__panel { max-height: calc(100vh - 200px); }
}

/* Entre 761 et 1024 px, le panneau ne doit pas dépasser de l'écran. */
@media (max-width: 1024px) {
  .help__panel {
    width: min(340px, calc(100vw - 28px));
    max-height: min(560px, calc(100vh - 120px));
  }
  .help__head { padding: 16px 18px; }
  .help__body { padding: 16px 18px 18px; }
  .help__action { padding: 10px 12px; font-size: 13.5px; }
}


/* Entree de navigation active */
.nav__link.is-active { color: var(--c-primary); }
.nav__link.is-active::after { transform: scaleX(1); }


/* Avertissement sur la reference de virement */
.bankbox__alert {
  margin: 14px 0 0; padding: 11px 14px;
  background: var(--c-err-soft); border-left: 3px solid var(--c-err);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 13.5px; color: #8f281c; line-height: 1.55;
}
.bankbox dd[data-copy] { cursor: copy; }

/* --------------------------------------------------------------------------
   21. Impression
   -------------------------------------------------------------------------- */
@media print {
  .topbar, .hookline, .header, .nav, .prefooter, .footer,
  .cookies, .drawer, .modal, .btn, .breadcrumb { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .wrap { max-width: none; padding: 0; }
}
