/* Dealea - feuille de style unique
   Direction : papier / encre / vermillon. Filets fins, pas d'ombres molles,
   titres en grotesque serré, corps d'article en romain. */

:root {
  color-scheme: light dark;

  --papier: #f4f1ea;
  --papier-2: #ebe7dc;
  --papier-3: #e2ddce;
  --surface: #fffdf8;
  --encre: #16150f;
  --encre-2: #4a4740;
  --encre-3: #7d7869;
  --filet: #16150f1f;
  --filet-fort: #16150f4d;

  --rouge: #d1301a;
  --rouge-sombre: #a72313;
  --rouge-voile: #d1301a14;

  --bleu: #1d3557;
  --vert: #2f5d3a;

  --r: 2px;
  --largeur: 1240px;
  --prose: 62ch;

  --sans: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --titre: "Helvetica Neue", Helvetica, "Arial Black", Arial, sans-serif;
  --romain: "Times New Roman", Times, "Liberation Serif", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --papier: #14130f;
    --papier-2: #1b1a15;
    --papier-3: #23221c;
    --surface: #1a1914;
    --encre: #f2efe6;
    --encre-2: #b3ae9f;
    --encre-3: #837f72;
    --filet: #f2efe626;
    --filet-fort: #f2efe659;
    --rouge: #f2542d;
    --rouge-sombre: #ff6b45;
    --rouge-voile: #f2542d1f;
    --bleu: #7d9dc7;
    --vert: #7fa98a;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --papier: #f4f1ea; --papier-2: #ebe7dc; --papier-3: #e2ddce; --surface: #fffdf8;
  --encre: #16150f; --encre-2: #4a4740; --encre-3: #7d7869;
  --filet: #16150f1f; --filet-fort: #16150f4d;
  --rouge: #d1301a; --rouge-sombre: #a72313; --rouge-voile: #d1301a14;
  --bleu: #1d3557; --vert: #2f5d3a;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --papier: #14130f; --papier-2: #1b1a15; --papier-3: #23221c; --surface: #1a1914;
  --encre: #f2efe6; --encre-2: #b3ae9f; --encre-3: #837f72;
  --filet: #f2efe626; --filet-fort: #f2efe659;
  --rouge: #f2542d; --rouge-sombre: #ff6b45; --rouge-voile: #f2542d1f;
  --bleu: #7d9dc7; --vert: #7fa98a;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }

h1, h2, h3, h4 { margin: 0 0 .4em; font-family: var(--titre); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.6rem); line-height: .94; letter-spacing: -.035em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.7vw, 2.35rem); line-height: 1.04; letter-spacing: -.028em; }
h3 { font-size: 1.05rem; line-height: 1.25; letter-spacing: -.016em; }
p { margin: 0 0 1.05em; }

::selection { background: var(--rouge); color: #fff; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 2px; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 28px; }

.saut-contenu {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--encre); color: var(--papier); padding: 12px 20px; text-decoration: none;
}
.saut-contenu:focus { left: 0; }

/* ------------------------------------------------------------- bandeaux */

.bandeau-affiliation {
  background: var(--encre); color: #d8d4c8;
  font-size: .74rem; letter-spacing: .01em;
}
.bandeau-affiliation .conteneur {
  padding-block: 8px; display: flex; gap: 10px;
  align-items: center; justify-content: center; text-align: center; flex-wrap: wrap;
}
.bandeau-affiliation a { color: #fff; }

.bandeau-demo {
  background: var(--rouge); color: #fff;
  font-size: .76rem; font-weight: 600; letter-spacing: .01em;
}
.bandeau-demo .conteneur { padding-block: 8px; }
.bandeau-demo code {
  font-family: var(--mono); font-size: .93em;
  background: rgba(255, 255, 255, .2); padding: 1px 5px;
}

/* --------------------------------------------------------------- entête */

.entete { border-bottom: 1px solid var(--encre); background: var(--papier); position: relative; z-index: 30; }
.entete .conteneur { display: flex; align-items: center; gap: 28px; min-height: 66px; }

.logo {
  display: inline-flex; align-items: baseline; gap: 0;
  font-family: var(--titre); font-size: 1.6rem; font-weight: 700;
  letter-spacing: -.045em; color: var(--encre); text-decoration: none; flex-shrink: 0;
}
.logo::after {
  content: ""; width: 7px; height: 7px; background: var(--rouge);
  margin-left: 3px; align-self: flex-end; margin-bottom: 4px;
}

.nav-principale { margin-left: auto; }
.nav-principale ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.nav-principale a {
  display: block; padding: 4px 0; color: var(--encre); text-decoration: none;
  font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.nav-principale a:hover { border-bottom-color: var(--filet-fort); }
.nav-principale a[aria-current="page"] { border-bottom-color: var(--rouge); }

.bouton-theme {
  flex-shrink: 0; width: 32px; height: 32px; padding: 0;
  display: inline-grid; place-items: center;
  background: transparent; border: 1px solid var(--filet-fort);
  color: var(--encre); cursor: pointer;
}
.bouton-theme:hover { background: var(--encre); color: var(--papier); }
.bouton-theme svg { width: 15px; height: 15px; }
.icone-soleil { display: none; }
@media (prefers-color-scheme: dark) { .icone-soleil { display: block; } .icone-lune { display: none; } }
:root[data-theme="dark"] .icone-soleil { display: block; }
:root[data-theme="dark"] .icone-lune { display: none; }
:root[data-theme="light"] .icone-soleil { display: none; }
:root[data-theme="light"] .icone-lune { display: block; }

/* ----------------------------------------------------------------- hero */

.hero { border-bottom: 1px solid var(--encre); }
.hero .conteneur { padding-block: 0; }
.hero-grille { display: grid; grid-template-columns: 1.15fr .85fr; }
.hero-texte { padding: 56px 44px 44px 0; border-right: 1px solid var(--encre); }
.hero-cote { padding: 32px 0 32px 44px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 980px) {
  .hero-grille { grid-template-columns: 1fr; }
  .hero-texte { padding: 40px 0 32px; border-right: 0; border-bottom: 1px solid var(--encre); }
  .hero-cote { padding: 32px 0; }
}

.date-jour {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rouge); margin-bottom: 22px; display: flex; align-items: center; gap: 10px;
}
.date-jour::after { content: ""; flex: 1; height: 1px; background: var(--filet); }

.hero-titre { max-width: 13ch; margin-bottom: 22px; }
.hero-titre em { font-family: var(--romain); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.hero-chapo {
  font-family: var(--romain); font-size: 1.24rem; line-height: 1.45;
  color: var(--encre-2); max-width: 46ch; margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-chiffres {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--encre); margin-top: 40px;
}
@media (max-width: 560px) { .hero-chiffres { grid-template-columns: repeat(2, 1fr); } }
.chiffre { padding: 16px 14px 4px 0; }
.chiffre + .chiffre { border-left: 1px solid var(--filet); padding-left: 14px; }
.chiffre strong {
  display: block; font-family: var(--titre); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums;
}
.chiffre span { font-size: .72rem; color: var(--encre-3); letter-spacing: .02em; display: block; margin-top: 5px; }

/* -------------------------------------------------------------- boutons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--r);
  font-family: var(--sans); font-size: .8rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1.5px solid var(--encre);
  background: transparent; color: var(--encre);
  transition: background-color .12s linear, color .12s linear, border-color .12s linear;
}
.btn-primaire { background: var(--encre); color: var(--papier); }
.btn-primaire:hover { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.btn-secondaire:hover { background: var(--encre); color: var(--papier); }
.btn-large { padding: 15px 30px; font-size: .85rem; }
.btn-bloc { width: 100%; }
.btn svg { width: 15px; height: 15px; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1.5px solid var(--rouge); padding-bottom: 3px;
  white-space: nowrap;
}
.lien-fleche svg { width: 14px; height: 14px; transition: translate .15s linear; }
.lien-fleche:hover svg { translate: 4px 0; }

/* ------------------------------------------------------------- sections */

main { flex: 1 0 auto; }
.section { padding: 62px 0; border-bottom: 1px solid var(--filet); }
.section:last-child { border-bottom: 0; }
.section-encre { background: var(--encre); color: var(--papier); border-bottom: 0; }
.section-encre h2, .section-encre h3 { color: var(--papier); }
.section-encre p { color: #b8b3a5; }
.section-papier-2 { background: var(--papier-2); }

.section-entete {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; margin-bottom: 34px;
  border-top: 3px solid var(--encre); padding-top: 14px;
}
.section-encre .section-entete { border-top-color: var(--papier); }
.section-entete h2 { margin: 0; max-width: 22ch; }
.section-entete-texte { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.section-numero {
  font-family: var(--titre); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; color: var(--rouge); flex-shrink: 0; padding-top: 4px;
}
.section-entete p { margin: 8px 0 0; color: var(--encre-3); font-size: .92rem; max-width: 52ch; }

/* --------------------------------------------------------- grille deals */

.grille-deals {
  display: grid; gap: 1px; background: var(--filet);
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  border: 1px solid var(--filet);
}

.carte-deal {
  position: relative; display: flex; flex-direction: column;
  background: var(--papier); padding: 0;
  transition: background-color .12s linear;
}
.carte-deal:hover { background: var(--surface); }

/* Première offre mise en avant : deux colonnes, illustration à gauche. */
@media (min-width: 900px) {
  .grille-deals-vedette > .carte-deal:first-child { grid-column: span 2; flex-direction: row; }
  .grille-deals-vedette > .carte-deal:first-child .couverture { width: 46%; aspect-ratio: auto; flex-shrink: 0; }
  .grille-deals-vedette > .carte-deal:first-child .carte-corps { flex: 1; padding: 28px; }
  .grille-deals-vedette > .carte-deal:first-child .carte-titre { font-size: 1.5rem; }
  .grille-deals-vedette > .carte-deal:first-child .prix-actuel { font-size: 2.3rem; }
  .grille-deals-vedette > .carte-deal:first-child .carte-vedette-note { display: block; }
}
.carte-vedette-note {
  display: none; font-family: var(--romain); font-size: 1.02rem;
  color: var(--encre-2); margin: 14px 0 0; max-width: 42ch;
}

/* ------------------------------------------------------- panneau produit */

/* Palette d'illustration volontairement courte : la teinte du rayon porte
   l'objet, l'encre porte la structure, le vermillon ne sert qu'aux accents. */
.couverture {
  --c1: var(--teinte, #b3894e);
  --c2: var(--encre);
  --c3: var(--rouge);
  --cn: var(--surface);
  --cn2: var(--papier-3);
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: color-mix(in srgb, var(--teinte, #b3894e) 9%, var(--papier-2));
  display: grid; place-items: center;
  border-bottom: 1px solid var(--filet);
}

@media (prefers-color-scheme: dark) {
  .couverture {
    --c1: color-mix(in srgb, var(--teinte, #b3894e) 74%, #ffffff);
    background: color-mix(in srgb, var(--teinte, #b3894e) 13%, var(--papier-2));
  }
}
:root[data-theme="dark"] .couverture {
  --c1: color-mix(in srgb, var(--teinte, #b3894e) 74%, #ffffff);
  background: color-mix(in srgb, var(--teinte, #b3894e) 13%, var(--papier-2));
}
:root[data-theme="light"] .couverture {
  --c1: var(--teinte, #b3894e);
  background: color-mix(in srgb, var(--teinte, #b3894e) 9%, var(--papier-2));
}
.grille-deals-vedette > .carte-deal:first-child .couverture { border-bottom: 0; border-right: 1px solid var(--filet); }

/* Trame typographique légère, comme un fond de catalogue imprimé. */
.couverture::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(var(--filet) 1px, transparent 1px);
  background-size: 13px 13px; opacity: .8;
}

.illu {
  position: relative; z-index: 1;
  width: 72%; height: auto; max-height: 76%;
}
.illu .accent { fill: var(--teinte, #b3894e); }

.pastille-remise {
  position: absolute; left: 0; top: 16px; z-index: 3;
  background: var(--rouge); color: #fff;
  padding: 5px 12px 5px 14px;
  font-family: var(--titre); font-size: .95rem; font-weight: 700; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.couverture-enseigne {
  position: absolute; left: 14px; bottom: 12px; z-index: 3;
  color: var(--encre-2);
  font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
}
.couverture-etiquette {
  position: absolute; right: 12px; top: 16px; z-index: 3;
  border: 1px solid var(--rouge); color: var(--rouge); background: var(--papier);
  padding: 3px 9px; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

.carte-corps { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.carte-titre { font-size: 1.02rem; font-weight: 700; margin: 0 0 4px; }
.carte-titre a { text-decoration: none; }
.carte-titre a::after { content: ""; position: absolute; inset: 0; z-index: 4; }
.carte-marque { font-size: .74rem; color: var(--encre-3); margin: 0 0 18px; letter-spacing: .06em; text-transform: uppercase; }

.prix { display: flex; align-items: baseline; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.prix-actuel {
  font-family: var(--titre); font-size: 1.65rem; font-weight: 700;
  letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1;
}
.prix-reference {
  font-size: .9rem; color: var(--encre-3); font-variant-numeric: tabular-nums;
  text-decoration: line-through; text-decoration-color: var(--rouge); text-decoration-thickness: 1.5px;
}
.prix-economie { margin-left: auto; font-size: .78rem; font-weight: 700; color: var(--rouge); font-variant-numeric: tabular-nums; }

.carte-pied {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--filet);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: .72rem; color: var(--encre-3); letter-spacing: .02em;
}
.carte-pied-verif { display: inline-flex; align-items: center; gap: 5px; color: var(--encre-2); font-weight: 600; }
.carte-pied-verif svg { width: 12px; height: 12px; color: var(--vert); }

.etiquette {
  display: inline-flex; align-items: center;
  font-size: .66rem; font-weight: 700; padding: 3px 9px;
  text-transform: uppercase; letter-spacing: .1em;
  border: 1px solid var(--filet-fort); color: var(--encre-2);
}
.etiquette-limite { border-color: var(--rouge); color: var(--rouge); }
.etiquette-remise { background: var(--encre); border-color: var(--encre); color: var(--papier); }

/* --------------------------------------------------------------- étapes */

.grille-etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; counter-reset: etape; }
.etape { padding: 0 26px 0 0; }
.etape + .etape { border-left: 1px solid var(--filet); padding-left: 26px; }
.section-encre .etape + .etape { border-left-color: #ffffff26; }
@media (max-width: 720px) {
  .etape + .etape { border-left: 0; border-top: 1px solid var(--filet); padding-left: 0; padding-top: 22px; margin-top: 22px; }
}
.etape::before {
  counter-increment: etape; content: counter(etape);
  display: block; font-family: var(--titre); font-size: 2.6rem; font-weight: 700;
  letter-spacing: -.05em; line-height: 1; margin-bottom: 12px; color: var(--rouge);
}
.etape h3 { margin-bottom: 6px; }
.etape p { margin: 0; font-size: .9rem; color: var(--encre-2); }
.section-encre .etape p { color: #b8b3a5; }

/* ------------------------------------------------------------ manifeste */

.manifeste { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .manifeste { grid-template-columns: 1fr; gap: 34px; } }
.manifeste h2 { max-width: 17ch; margin-bottom: 18px; }
.manifeste p { font-family: var(--romain); font-size: 1.1rem; line-height: 1.5; }

.liste-controles { list-style: none; margin: 0; padding: 0; }
.liste-controles li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid #ffffff26;
  font-size: .95rem;
}
.liste-controles li:first-child { border-top: 1px solid #ffffff26; }
.liste-controles b {
  font-family: var(--titre); font-size: .76rem; color: var(--rouge);
  letter-spacing: .08em; flex-shrink: 0; width: 26px;
}

/* ----------------------------------------------------------- catégories */

.grille-categories {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px; background: var(--filet); border: 1px solid var(--filet);
}
.carte-categorie {
  position: relative; display: block; padding: 22px 20px 20px;
  background: var(--papier); text-decoration: none; overflow: hidden;
  transition: background-color .12s linear;
}
.carte-categorie:hover { background: var(--encre); color: var(--papier); }
.carte-categorie:hover .categorie-compte { color: var(--rouge-sombre); }
.categorie-compte {
  display: block; font-family: var(--titre); font-size: 2.1rem; font-weight: 700;
  letter-spacing: -.05em; line-height: 1; color: var(--rouge); margin-bottom: 10px;
}
.carte-categorie h3 { margin: 0 0 4px; font-size: 1rem; }
.carte-categorie p { margin: 0; font-size: .78rem; color: var(--encre-3); }
.carte-categorie:hover p { color: #b8b3a5; }
.categorie-barre { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--teinte, #b3894e); }

/* --------------------------------------------------------------- guides */

.grille-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0; }
.carte-guide {
  position: relative; display: flex; flex-direction: column;
  padding: 0 28px 0 0; border-top: 3px solid var(--encre); padding-top: 16px;
}
.carte-guide + .carte-guide { margin-left: 28px; margin-right: -28px; }
@media (max-width: 900px) { .carte-guide + .carte-guide { margin-left: 0; margin-right: 0; } }
.carte-guide h3 { font-size: 1.28rem; font-family: var(--titre); line-height: 1.14; margin-bottom: 10px; }
.carte-guide h3 a { text-decoration: none; }
.carte-guide h3 a::after { content: ""; position: absolute; inset: 0; }
.carte-guide:hover h3 { color: var(--rouge); }
.carte-guide p { font-family: var(--romain); font-size: 1.02rem; color: var(--encre-2); margin-bottom: 16px; }
.carte-guide-pied {
  margin-top: auto; font-size: .68rem; color: var(--encre-3);
  letter-spacing: .1em; text-transform: uppercase;
}

/* ---------------------------------------------------------- fil, fiche */

.fil { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--encre-3); padding-top: 22px; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.fil li::after { content: "\2014"; margin-left: 8px; }
.fil li:last-child::after { content: ""; }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--rouge); }

.fiche { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; padding-top: 26px; }
.fiche > div:first-child { padding-right: 48px; }
.fiche > .achat { border-left: 1px solid var(--filet); padding-left: 32px; }
@media (max-width: 940px) {
  .fiche { grid-template-columns: 1fr; }
  .fiche > div:first-child { padding-right: 0; }
  .fiche > .achat { border-left: 0; padding-left: 0; border-top: 3px solid var(--encre); padding-top: 26px; margin-top: 34px; }
}

.fiche-banniere { aspect-ratio: 21 / 9; border: 1px solid var(--filet); margin-bottom: 30px; }
.fiche-banniere .illu { width: 42%; max-height: 82%; }
.fiche-banniere .pastille-remise { font-size: 1.3rem; padding: 8px 18px; top: 22px; }
.fiche-banniere .couverture-enseigne { left: 20px; bottom: 18px; font-size: .74rem; }

.fiche-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.fiche-entete h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); margin-bottom: 18px; }
.fiche-resume { font-family: var(--romain); font-size: 1.22rem; line-height: 1.45; color: var(--encre-2); max-width: 54ch; }

.achat { position: sticky; top: 26px; }
.achat .prix { margin: 0 0 6px; }
.achat .prix-actuel { font-size: 2.8rem; }
.achat-economie { font-size: .8rem; color: var(--rouge); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; }
.achat .btn { margin-bottom: 12px; }
.achat-mention { font-size: .74rem; color: var(--encre-3); line-height: 1.5; margin: 0; }
.achat-liste { margin: 22px 0 0; padding: 0; border-top: 1px solid var(--encre); font-size: .82rem; }
.achat-liste > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--filet); }
.achat-liste dt { color: var(--encre-3); margin: 0; letter-spacing: .04em; }
.achat-liste dd { margin: 0; font-weight: 700; text-align: right; }

.controles { list-style: none; margin: 0 0 1.4em; padding: 0; counter-reset: ctrl; }
.controles li {
  position: relative; padding: 12px 0 12px 42px; border-bottom: 1px solid var(--filet);
  font-family: var(--romain); font-size: 1.08rem;
}
.controles li::before {
  counter-increment: ctrl; content: counter(ctrl, decimal-leading-zero);
  position: absolute; left: 0; top: 15px;
  font-family: var(--titre); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; color: var(--rouge);
}

.avertissement {
  border-left: 3px solid var(--rouge); background: var(--rouge-voile);
  padding: 16px 20px; font-size: .92rem; margin: 30px 0;
}
.avertissement p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------- filtres */

.filtres {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end;
  padding: 18px 0 20px; margin-bottom: 30px;
  border-top: 1px solid var(--encre); border-bottom: 1px solid var(--encre);
}
.filtre-champ { display: flex; flex-direction: column; gap: 6px; }
.filtre-champ label { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; color: var(--encre-3); }
.filtres select, .filtres input[type="search"] {
  font-family: var(--sans); font-size: .88rem; padding: 8px 10px;
  border: 1px solid var(--filet-fort); border-radius: 0;
  background: var(--surface); color: var(--encre); min-width: 156px;
}
.filtres select:focus, .filtres input:focus { outline: none; border-color: var(--rouge); }
.filtre-resultat {
  margin-left: auto; font-family: var(--titre); font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding-bottom: 9px;
}
.filtre-vide { padding: 64px 24px; text-align: center; color: var(--encre-3); border: 1px dashed var(--filet-fort); }

/* ---------------------------------------------------------------- prose */

.prose { max-width: var(--prose); font-size: 1rem; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.3rem, 1.05rem + .9vw, 1.7rem); }
.prose h3 { margin-top: 1.6em; font-size: 1.08rem; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--rouge); }
.prose .chapo {
  font-family: var(--romain); font-size: 1.3rem; line-height: 1.42; color: var(--encre-2);
  padding-bottom: 1.1em; margin-bottom: 1.5em; border-bottom: 1px solid var(--encre);
}
.prose-article { font-family: var(--romain); font-size: 1.16rem; line-height: 1.62; }
.prose-article h2, .prose-article h3 { font-family: var(--titre); }
.prose-article > p:first-of-type::first-letter {
  float: left; font-family: var(--titre); font-size: 3.4em; line-height: .82;
  padding: .05em .09em 0 0; font-weight: 700; color: var(--rouge);
}
.prose code { font-family: var(--mono); font-size: .84em; background: var(--papier-3); padding: 1px 5px; }
.prose a { text-decoration-color: var(--rouge); text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--rouge); }

.prose table { width: 100%; border-collapse: collapse; margin: 1.8em 0; font-family: var(--sans); font-size: .88rem; }
.prose th, .prose td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--filet); vertical-align: top; }
.prose thead th {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--encre-3); font-weight: 700; border-bottom: 2px solid var(--encre);
}

.fiche-legale { margin: 0 0 1.8em; border-top: 1px solid var(--encre); }
.fiche-legale div { display: flex; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--filet); flex-wrap: wrap; }
.fiche-legale dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--encre-3); font-weight: 700; min-width: 220px; padding-top: 3px; }
.fiche-legale dd { margin: 0; flex: 1; min-width: 200px; }

.encadre { border: 1px solid var(--encre); padding: 26px; margin: 30px 0; background: var(--surface); }
.encadre h2 { margin-top: 0; font-size: 1.15rem; }
.encadre-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 12px; }
.note { font-size: .8rem; color: var(--encre-3); margin: 0; }

.a-completer {
  background: var(--rouge); color: #fff; padding: 1px 7px;
  font-size: .8em; font-weight: 700; letter-spacing: .04em;
}

.grille-contact { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin: 30px 0 40px; border-top: 3px solid var(--encre); }
.carte-contact { padding: 22px 26px 22px 0; }
.carte-contact + .carte-contact { border-left: 1px solid var(--filet); padding-left: 26px; }
.carte-contact h2 { margin-top: 0; font-size: 1.05rem; }
.carte-contact p { font-size: .9rem; }
.carte-contact-action { margin: 16px 0 10px; }
.carte-contact .btn { font-size: .7rem; padding: 10px 14px; word-break: break-all; }

.article-entete { max-width: var(--prose); margin-bottom: 16px; }
.article-entete h1 { margin-bottom: 14px; }
.article-meta { font-size: .68rem; color: var(--encre-3); letter-spacing: .1em; text-transform: uppercase; display: flex; gap: 10px; flex-wrap: wrap; }
.article-pied { max-width: var(--prose); margin-top: 48px; padding-top: 20px; border-top: 3px solid var(--encre); font-size: .9rem; color: var(--encre-2); }

/* ----------------------------------------------------------------- pied */

.pied { margin-top: 0; background: var(--encre); color: #a9a496; font-size: .86rem; }
.pied .conteneur { padding-block: 54px 30px; }
.pied-grille { display: grid; gap: 40px; grid-template-columns: 1.5fr repeat(3, 1fr); }
@media (max-width: 860px) { .pied-grille { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.pied .logo { color: var(--papier); margin-bottom: 14px; }
.pied h2 { font-family: var(--sans); font-size: .66rem; text-transform: uppercase; letter-spacing: .16em; color: #726d61; font-weight: 700; margin-bottom: 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 8px; }
.pied a { color: #a9a496; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--rouge); }
.pied-mention { max-width: 36ch; color: #837e71; font-size: .84rem; }
.pied-bas {
  margin-top: 42px; padding-top: 20px; border-top: 1px solid #ffffff1f;
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  color: #726d61; font-size: .76rem;
}

/* -------------------------------------------------------------- cookies */

.cookies {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--encre); color: var(--papier);
  border-top: 3px solid var(--rouge); padding: 22px 28px;
}
.cookies[hidden] { display: none; }
.cookies-interne { max-width: var(--largeur); margin: 0 auto; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.cookies h2 { font-size: 1rem; margin-bottom: 4px; color: var(--papier); }
.cookies p { font-size: .85rem; color: #a9a496; margin: 0; max-width: 62ch; }
.cookies-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.cookies .btn { border-color: var(--papier); color: var(--papier); }
.cookies .btn-primaire { background: var(--papier); color: var(--encre); }
.cookies .btn-primaire:hover { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.cookies .btn-secondaire:hover { background: var(--papier); color: var(--encre); }

/* --------------------------------------------------------------- divers */

.page-404 { text-align: center; padding: 110px 0; }
.page-404 h1 { font-size: clamp(3rem, 2rem + 6vw, 6rem); }
.page-404 p { font-family: var(--romain); font-size: 1.2rem; color: var(--encre-2); max-width: 44ch; margin-inline: auto; }

.bandeau-enseignes { border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); overflow: hidden; padding: 16px 0; }
.bandeau-enseignes ul {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 44px;
  flex-wrap: wrap; justify-content: center;
  font-family: var(--titre); font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--encre-3);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 760px) {
  .conteneur { padding-inline: 20px; }
  .entete .conteneur { gap: 12px; min-height: 58px; flex-wrap: wrap; }
  .nav-principale { order: 3; width: 100%; margin: 0 -20px; padding: 0 20px 10px; overflow-x: auto; scrollbar-width: none; }
  .nav-principale::-webkit-scrollbar { display: none; }
  .nav-principale ul { flex-wrap: nowrap; gap: 20px; }
  .nav-principale a { white-space: nowrap; }
  .bouton-theme { margin-left: auto; }
  .section { padding: 46px 0; }
  .filtre-resultat { margin-left: 0; width: 100%; padding-bottom: 0; }
  .filtres select, .filtres input[type="search"] { min-width: 0; width: 100%; }
  .filtre-champ { flex: 1 1 140px; }
  .achat { position: static; }
  .carte-contact + .carte-contact { border-left: 0; border-top: 1px solid var(--filet); padding-left: 0; padding-top: 22px; }
  .fiche-legale dt { min-width: 100%; }
}

@media print {
  .entete, .pied, .cookies, .bandeau-affiliation, .bandeau-demo, .filtres, .achat { display: none; }
  body { background: #fff; color: #000; }
}
