/* ==========================================================================
   quel-canape.fr : thème « canape »
   Une seule signature : la cote d'architecte (les dimensions dessinées comme
   sur un plan). Tout le reste reste calme.
   ========================================================================== */

@font-face {
  font-family: "Familjen Grotesk";
  src: url("../fonts/familjen-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Palette moutarde et gris : gris clair chaud, anthracite, charbon, moutarde. */
  --platre: #efeeea;
  --platre-2: #e4e2dc;
  --blanc: #fafaf8;
  --anthracite: #25272b;
  --feutre: #676a6f;
  --trait: #d7d5cf;
  --bleu: #8c680c;
  --bleu-2: #6b4f07;
  --bleu-voile: #f2e7c9;
  --foret: #2d2f34;
  --moutarde: #d6a62b;
  --moutarde-voile: #f5ecd3;
  --vert-ok: #5b7a55;
  --rouge-non: #9b3b32;

  --sans: "Familjen Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", ui-serif, Georgia, "Times New Roman", serif;

  /* Échelle 1.25 sur une base de 18 px pour la lecture. */
  --t-xs: 0.8rem;
  --t-sm: 0.9rem;
  --t-md: 1rem;
  --t-lg: 1.25rem;
  --t-xl: 1.563rem;
  --t-2xl: 1.953rem;
  --t-3xl: 2.441rem;
  --t-4xl: clamp(2.2rem, 1.4rem + 3.4vw, 3.815rem);

  --gutter: clamp(16px, 4vw, 40px);
  --col: 72rem;
  --lecture: 40rem;
  --r-img: 10px;
  --r-ctl: 999px;
  --ombre: 0 1px 0 rgba(35, 38, 43, 0.06), 0 12px 32px -18px rgba(35, 38, 43, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--platre);
  color: var(--anthracite);
  font: 400 1.125rem/1.7 var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--bleu); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--bleu-2); }
:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--bleu); color: var(--blanc); }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--t-4xl); letter-spacing: -0.028em; font-weight: 650; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
strong { font-weight: 650; }
.num { font-family: var(--sans); font-variant-numeric: tabular-nums lining-nums; }

.enveloppe { width: min(100% - 2 * var(--gutter), var(--col)); margin-inline: auto; }
.lecture { max-width: var(--lecture); }
.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}
.lien-evitement { position: absolute; left: -9999px; }
.lien-evitement:focus { left: var(--gutter); top: 8px; z-index: 50; background: var(--blanc); padding: 8px 14px; }

/* --- La cote d'architecte ------------------------------------------------ */
/* <span class="cote"><span class="cote__val num">214 cm</span></span>
   Traits fins, extrémités marquées, valeur au centre sur fond découpé. */
.cote {
  --cote-fond: var(--platre);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5em;
  width: 100%;
  min-height: 1.2em;
  color: var(--bleu);
  font: 500 var(--t-xs)/1 var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.cote::before, .cote::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
}
.cote { border-inline: 1px solid currentColor; padding-block: 0.35em; }
.cote__val { flex: none; white-space: nowrap; }
.cote--verticale {
  flex-direction: column;
  width: auto;
  height: 100%;
  border-inline: 0;
  border-block: 1px solid currentColor;
  padding-inline: 0.35em;
}
.cote--verticale::before, .cote--verticale::after { width: 1px; height: auto; }
.cote--verticale .cote__val { writing-mode: vertical-rl; transform: rotate(180deg); }

/* --- En-tête -------------------------------------------------------------- */
.entete {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--platre) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--trait);
}
.entete__barre { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.marque-site {
  display: inline-flex; flex-direction: column; gap: 3px;
  color: var(--anthracite); text-decoration: none;
  font: 700 1.35rem/1 var(--sans); letter-spacing: -0.03em;
}
.marque-site .cote { font-size: 0.55rem; padding-block: 0.15em; }
.nav-principale { margin-left: auto; }
.nav-principale__liste { list-style: none; display: flex; align-items: center; gap: 0.1rem; margin: 0; padding: 0; }
.nav-lien, .nav-groupe__bouton {
  display: block; padding: 0.6rem 0.75rem; border-radius: var(--r-ctl); border: 0; background: none; cursor: pointer;
  color: var(--anthracite); text-decoration: none; font: 500 var(--t-sm)/1 var(--sans); white-space: nowrap;
}
.nav-lien:hover, .nav-groupe__bouton:hover, .nav-groupe.est-ouvert > .nav-groupe__bouton, .nav-lien[aria-current] { background: var(--platre-2); color: var(--anthracite); }
.nav-lien--phare { background: var(--moutarde); color: var(--anthracite); }
.nav-lien--phare:hover { background: var(--anthracite); color: var(--blanc); }
.nav-groupe { position: relative; }
.nav-groupe__bouton::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 0.45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-groupe__liste {
  list-style: none; margin: 0; padding: 0.5rem; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: var(--blanc); border-radius: 14px; box-shadow: var(--ombre); border: 1px solid var(--trait);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.nav-groupe:has(:focus-visible) > .nav-groupe__liste, .nav-groupe.est-ouvert > .nav-groupe__liste { opacity: 1; visibility: visible; transform: none; }
.nav-groupe::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.nav-groupe__liste a { display: block; padding: 0.6rem 0.8rem; border-radius: 8px; color: var(--anthracite); text-decoration: none; font: 400 var(--t-sm)/1.2 var(--sans); }
.nav-groupe__liste a:hover, .nav-groupe__liste a[aria-current] { background: var(--bleu-voile); color: var(--bleu-2); }
.nav-annexe .nav-lien { color: var(--bleu); }
.entete .bouton-menu { display: none; margin-left: auto; }

@media (max-width: 1100px) {
  .entete .bouton-menu { display: inline-flex; }
  .nav-principale { display: none; position: absolute; inset: 64px 0 auto 0; background: var(--platre); border-bottom: 1px solid var(--trait); padding: 0.5rem var(--gutter) 1.2rem; max-height: calc(100vh - 64px); overflow: auto; }
  .nav-principale.est-ouvert { display: block; }
  .nav-principale__liste { flex-direction: column; align-items: stretch; }
  .nav-lien, .nav-groupe__bouton { width: 100%; text-align: left; padding: 0.95rem 0.3rem; border-radius: 0; border-bottom: 1px solid var(--trait); font-size: var(--t-md); }
  .nav-lien--phare { background: none; color: var(--anthracite); font-weight: 650; }
  .nav-groupe__liste { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: transparent; padding: 0.2rem 0 0.6rem 0.8rem; }
  .nav-groupe.est-ouvert > .nav-groupe__liste { display: block; }
  .nav-groupe:hover > .nav-groupe__liste { display: none; }
  .nav-groupe.est-ouvert:hover > .nav-groupe__liste { display: block; }
}

/* --- Boutons -------------------------------------------------------------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 46px; padding: 0 1.3rem; border-radius: var(--r-ctl);
  border: 1px solid transparent; cursor: pointer;
  font: 600 var(--t-sm)/1 var(--sans); letter-spacing: 0.005em; text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.bouton--marchand { background: var(--anthracite); color: var(--blanc); }
.bouton--marchand:hover { background: var(--moutarde); color: var(--anthracite); }
.bouton--discret { background: transparent; color: var(--anthracite); border-color: var(--trait); }
.bouton--discret:hover { border-color: var(--anthracite); color: var(--anthracite); }
.bouton--large { width: 100%; }

/* --- Fil d'Ariane --------------------------------------------------------- */
.ariane { font: 400 var(--t-xs)/1.4 var(--sans); color: var(--feutre); margin: 1.4rem 0 1.2rem; }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.ariane li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: var(--trait); }
.ariane a { color: var(--feutre); text-decoration: none; }
.ariane a:hover { color: var(--anthracite); text-decoration: underline; }

/* --- Carte produit -------------------------------------------------------- */
.grille-produits {
  display: grid; gap: 2.4rem 1.6rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
.carte { display: flex; flex-direction: column; gap: 0.7rem; position: relative; }
.carte[hidden] { display: none; }
.carte__photo {
  aspect-ratio: 4 / 3; background: #ececec; border-radius: var(--r-img);
  overflow: hidden; display: grid; place-items: center;
}
.carte__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1); }
.carte:hover .carte__photo img { transform: scale(1.03); }
.carte__cote { margin-top: -0.15rem; }
.carte__titre { font: 600 var(--t-md)/1.25 var(--sans); margin: 0.2rem 0 0; letter-spacing: -0.01em; }
.carte__titre a { color: var(--anthracite); text-decoration: none; }
.carte__titre a::after { content: ""; position: absolute; inset: 0; }
.carte__variante { font: 400 var(--t-sm)/1.35 var(--sans); color: var(--feutre); margin: 0; }
.carte__entete { margin: 0.2rem 0 0; font: 400 var(--t-sm)/1.35 var(--sans); }
.carte__entete .carte__titre { display: inline; margin: 0; }
.carte__entete .carte__titre a { display: block; }
.carte__entete .carte__variante { display: inline; letter-spacing: 0; }
.carte__marque { color: var(--bleu); font-weight: 600; }
.carte__pied { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: auto; }
.carte__prix { font: 600 var(--t-lg)/1 var(--sans); font-variant-numeric: tabular-nums; }
.carte__note { font: 500 var(--t-sm)/1 var(--sans); color: var(--feutre); }
.carte__note b { color: var(--anthracite); font-weight: 650; }
.carte__marchand { position: relative; z-index: 1; }
.repere-choix {
  position: absolute; top: 0.7rem; left: 0.7rem; z-index: 1;
  background: var(--moutarde); color: var(--anthracite);
  font: 600 var(--t-xs)/1 var(--sans); padding: 0.4rem 0.65rem; border-radius: var(--r-ctl);
}

/* --- Notes ---------------------------------------------------------------- */
.note-globale { display: flex; align-items: baseline; gap: 0.3rem; font-family: var(--sans); }
.note-globale__chiffre { font-size: var(--t-3xl); font-weight: 650; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.note-globale__sur { color: var(--feutre); font-size: var(--t-md); }
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.notes li { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; font: 500 var(--t-sm)/1.2 var(--sans); }
.notes__barre { grid-column: 1 / -1; height: 3px; background: var(--trait); border-radius: 3px; overflow: hidden; }
.notes__barre span { display: block; height: 100%; background: var(--bleu); }

/* --- Tableaux de caractéristiques ----------------------------------------- */
.fiche-technique { width: 100%; border-collapse: collapse; font: 400 var(--t-sm)/1.45 var(--sans); }
.fiche-technique th, .fiche-technique td { text-align: left; padding: 0.7rem 0; border-bottom: 1px solid var(--trait); vertical-align: top; }
.fiche-technique th { font-weight: 500; color: var(--feutre); width: 45%; padding-right: 1rem; }

/* --- Pour / contre --------------------------------------------------------- */
.pour-contre { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.5rem; }
.pour-contre h3 { font-size: var(--t-lg); }
.pour-contre ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; font: 400 var(--t-md)/1.45 var(--sans); }
.pour-contre li { padding-left: 1.4rem; position: relative; }
.pour-contre li::before { position: absolute; left: 0; font-weight: 700; }
.pour-contre .pour li::before { content: "+"; color: var(--vert-ok); }
.pour-contre .contre li::before { content: "\2212"; color: var(--rouge-non); }

/* --- Sections de texte ----------------------------------------------------- */
.texte-long { font-size: 1.125rem; }
.texte-long h2 { margin-top: 2.2em; }
.texte-long h3 { margin-top: 1.8em; font-size: var(--t-lg); }
.texte-long ul, .texte-long ol { padding-left: 1.2em; }
.texte-long li { margin-bottom: 0.4em; }
.texte-long img { border-radius: var(--r-img); margin: 1.6em 0; }
.texte-long table { width: 100%; border-collapse: collapse; font: 400 var(--t-sm)/1.45 var(--sans); margin: 1.6em 0; }
.texte-long th, .texte-long td { border-bottom: 1px solid var(--trait); padding: 0.6rem 0.5rem 0.6rem 0; text-align: left; }
.bloc { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.bloc + .bloc { border-top: 1px solid var(--trait); }
.bloc__titre { max-width: 34ch; }
.chapeau { font-size: var(--t-lg); line-height: 1.6; color: var(--anthracite); max-width: 42rem; }

/* --- FAQ --------------------------------------------------------------------- */
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; position: relative;
  font: 600 var(--t-md)/1.35 var(--sans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 1rem; font-weight: 400; font-size: 1.4rem; color: var(--bleu); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 1.2rem; font-size: 1.05rem; }

/* --- Pied de page -------------------------------------------------------------- */
.pied { background: var(--foret); color: #cfd1d4; margin-top: 4rem; padding: 3.5rem 0 2rem; font: 400 var(--t-sm)/1.6 var(--sans); }
.pied a { color: #eef0f2; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied__grille { display: grid; gap: 2rem; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
.pied__logo { font: 700 1.5rem/1 var(--sans); color: #fff; letter-spacing: -0.03em; margin: 0 0 0.7rem; }
.pied__marque p { max-width: 26rem; }
.pied__reseaux { list-style: none; display: flex; gap: 1rem; margin: 1.2rem 0 0; padding: 0; }
.pied__reseaux a { color: var(--moutarde); font-weight: 600; }
.pied__mentions p { margin: 0 0 0.4rem; }
@media (max-width: 1000px) { .pied__grille { grid-template-columns: 1fr 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } }
.pied h2, .pied__titre { font-weight: 650; font-size: var(--t-md); color: #fff; margin-bottom: 0.8rem; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.pied__mentions { border-top: 1px solid #45474d; margin-top: 2.5rem; padding-top: 1.2rem; color: #9ea2a8; font-size: var(--t-xs); }
.pied .cote { color: var(--moutarde); }
@media (max-width: 700px) { .pied__grille { grid-template-columns: 1fr 1fr; } .pied__grille > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   MAGAZINE
   ========================================================================== */

/* --- La une (accueil) ---------------------------------------------------- */
.une { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 5rem); overflow: clip; }
.une__grille { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.une__texte { padding-bottom: 1rem; }
.une__titre { font-size: clamp(2.5rem, 1rem + 4.6vw, 5.4rem); line-height: 0.94; letter-spacing: -0.045em; font-weight: 650; margin-bottom: 0.4em; }
.une__titre > span { display: block; white-space: nowrap; }
.une__titre em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.une__chapeau { font-size: var(--t-lg); max-width: 30rem; color: var(--anthracite); }
.une__visuel { position: relative; }
.une__visuel figure { position: relative; margin: 0; aspect-ratio: 5 / 4; border-radius: 18px; overflow: hidden; background: #ececec; }
.une__visuel figure .cote { position: absolute; left: 12%; right: 12%; bottom: 9%; width: auto; --cote-fond: var(--blanc); font-size: var(--t-sm); }
.une__visuel figure .cote .cote__val { background: #ececec; padding: 0 0.4em; }
.une__visuel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.js .une__visuel img { transform: scale(1.06); transition: transform 1.8s cubic-bezier(0.2, 0.7, 0.1, 1); }
.js.est-charge .une__visuel img { transform: scale(1); }

.une__legende { font: 400 var(--t-xs)/1.4 var(--sans); color: var(--feutre); margin-top: 0.5rem; }
@media (max-width: 860px) { .une__grille { grid-template-columns: minmax(0, 1fr); } .vitrine__scene { aspect-ratio: 16 / 11; } }

/* --- Recherche par largeur (« Quelle place avez-vous ? ») ----------------- */
.place {
  margin-top: 1.6rem; padding: 1.2rem 1.3rem 1.3rem; background: var(--blanc);
  border-radius: 16px; box-shadow: var(--ombre); max-width: 30rem;
}
.place label { display: block; font: 600 var(--t-sm)/1.3 var(--sans); margin-bottom: 0.9rem; }
.place__mesure { display: flex; align-items: baseline; gap: 0.4rem; font: 650 var(--t-2xl)/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--bleu); }
.place__mesure small { font-size: var(--t-sm); color: var(--feutre); font-weight: 500; }
.place input[type="range"] { width: 100%; accent-color: var(--bleu); margin: 0.8rem 0 0.4rem; }
.place__resultat { font: 500 var(--t-sm)/1.4 var(--sans); color: var(--feutre); margin: 0.2rem 0 0.9rem; }

/* --- Rubriques (titres de section façon magazine) ------------------------- */
.rubrique { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); border-bottom: 2px solid var(--anthracite); padding-bottom: 0.8rem; }
.rubrique h2 { margin: 0; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); letter-spacing: -0.03em; }
.rubrique a { font: 500 var(--t-sm)/1.3 var(--sans); white-space: nowrap; }
@media (max-width: 700px) { .rubrique { flex-direction: column; align-items: flex-start; gap: 0.5rem; } .rubrique a { white-space: normal; } }

/* --- Formes (silhouettes cotées) ------------------------------------------ */
.formes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 1rem; }
.forme {
  display: flex; flex-direction: column; gap: 0.9rem; padding: 1.4rem 1.2rem 1.2rem;
  background: var(--blanc); border-radius: 14px; text-decoration: none; color: var(--anthracite);
  border: 1px solid transparent; transition: border-color 0.2s ease, transform 0.2s ease;
}
.forme:hover { border-color: var(--bleu); color: var(--anthracite); transform: translateY(-2px); }
.forme svg { width: 100%; height: 70px; color: var(--anthracite); }
.forme__nom { font: 600 var(--t-md)/1.2 var(--sans); }
.forme__nb { font: 400 var(--t-xs)/1 var(--sans); color: var(--feutre); }

/* --- Sujet à la une / articles -------------------------------------------- */
.sujets { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.4rem 1.6rem; }
.sujet { grid-column: span 4; display: flex; flex-direction: column; gap: 0.7rem; position: relative; }
.sujet--grand { grid-column: span 8; grid-row: span 2; }
.sujet__photo { border-radius: var(--r-img); overflow: hidden; aspect-ratio: 3 / 2; background: var(--platre-2); }
.sujet--grand .sujet__photo { aspect-ratio: 16 / 10; }
.sujet__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.1, 1); }
.sujet:hover .sujet__photo img { transform: scale(1.035); }
.sujet__rubrique { font: 600 var(--t-xs)/1 var(--sans); color: var(--bleu); }
.sujet__titre { font: 600 var(--t-lg)/1.2 var(--sans); letter-spacing: -0.015em; margin: 0; }
.sujet--grand .sujet__titre { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.4rem); line-height: 1.08; }
.sujet__titre a { color: var(--anthracite); text-decoration: none; }
.sujet__titre a::after { content: ""; position: absolute; inset: 0; }
.sujet__extrait { font-size: 1rem; color: var(--feutre); margin: 0; }
@media (max-width: 900px) { .sujet, .sujet--grand { grid-column: 1 / -1; grid-row: auto; } }

/* --- Derniers avis (accueil) : grille de cartes entières, jamais de défilement (Romain 02/11) ---------------
   8 cartes : 4 x 2 sur ordinateur, 3 x 2 sur tablette, 2 x 3 sur téléphone (cartes en trop masquées, pas de trou). */
.defile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.6rem; }
@media (max-width: 1023px) { .defile { grid-template-columns: repeat(3, minmax(0, 1fr)); } .defile > :nth-child(n+7) { display: none; } }
@media (max-width: 640px) { .defile { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 0.9rem; } }

/* --- Citation mise en exergue, lettrine ----------------------------------- */
.exergue { margin: 2.2em 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--bleu); font: italic 400 var(--t-xl)/1.4 var(--serif); color: var(--anthracite); }
.texte-long--lettrine:not(.fiche__lecture) > p:first-of-type::first-letter {
  float: left; font: 650 4.4em/0.8 var(--sans); letter-spacing: -0.04em;
  margin: 0.08em 0.12em 0 0; color: var(--anthracite);
}

/* --- Barre de lecture ------------------------------------------------------ */
.progression { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; pointer-events: none; }
.progression span { display: block; height: 100%; width: 100%; background: var(--bleu); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ==========================================================================
   EFFETS (tous neutralisés par prefers-reduced-motion plus haut)
   ========================================================================== */

/* Les cotes se tracent depuis le centre quand elles entrent à l'écran. */
.js .cote.a-tracer::before, .js .cote.a-tracer::after { transform: scaleX(0); transition: transform 0.9s cubic-bezier(0.6, 0, 0.2, 1); }
.js .cote.a-tracer::before { transform-origin: 100% 50%; }
.js .cote.a-tracer::after { transform-origin: 0 50%; }
.js .cote.a-tracer .cote__val { opacity: 0; transition: opacity 0.4s ease 0.5s; }
.js .cote.a-tracer.est-visible::before, .js .cote.a-tracer.est-visible::after { transform: scaleX(1); }
.js .cote.a-tracer.est-visible .cote__val { opacity: 1; }

/* Les grandes photos se dévoilent (rideau) une seule fois. */
.js .devoile { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(0.7, 0, 0.2, 1); }
.js .devoile.est-visible { clip-path: inset(0 0 0 0); }

/* La une : un seul moment orchestré au chargement. */
.js .une__titre > span { display: block; overflow: hidden; }
.js .une__titre > span > span { display: block; transform: translateY(105%); transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.1, 1); }
.js .une__titre > span:nth-child(2) > span { transition-delay: 0.08s; }
.js .une__titre > span:nth-child(3) > span { transition-delay: 0.16s; }
.js.est-charge .une__titre > span > span { transform: none; }

/* ==========================================================================
   FICHE TEST
   ========================================================================== */
.fiche__tete { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding-bottom: 2rem; }
@media (max-width: 900px) { .fiche__tete { grid-template-columns: minmax(0, 1fr); } }
.galerie__principale { margin: 0; aspect-ratio: 4 / 3; background: #ececec; border-radius: var(--r-img); overflow: hidden; display: grid; place-items: center; }
.galerie__principale img { width: 100%; height: 100%; object-fit: cover; }
.galerie__vignettes { display: flex; gap: 0.6rem; margin-top: 0.8rem; overflow-x: auto; padding-bottom: 0; }
.galerie__vignette { flex: none; width: 84px; aspect-ratio: 4 / 3; padding: 0; border: 1px solid var(--trait); border-radius: 8px; background: var(--blanc); cursor: pointer; overflow: hidden; }
.galerie__vignette img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.galerie__vignette.est-actif { border-color: var(--bleu); box-shadow: 0 0 0 1px var(--bleu); }
.galerie__bande { position: relative; }
.galerie__bande .galerie__vignettes { scrollbar-width: none; scroll-behavior: smooth; }
.galerie__bande .galerie__vignettes::-webkit-scrollbar { display: none; }
.galerie__bande.a-droite .galerie__vignettes { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.galerie__bande.a-gauche .galerie__vignettes { -webkit-mask-image: linear-gradient(270deg, #000 85%, transparent); mask-image: linear-gradient(270deg, #000 85%, transparent); }
.galerie__bande.a-gauche.a-droite .galerie__vignettes { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.galerie__fleche { position: absolute; top: calc(50% + 0.25rem); transform: translateY(-50%); z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0 0 3px; border: 1px solid var(--trait); border-radius: 50%; background: var(--blanc); box-shadow: var(--ombre); font: 500 1.5rem/1 var(--sans); color: var(--anthracite); cursor: pointer; }
.galerie__fleche:hover { background: var(--anthracite); color: var(--blanc); }
.galerie__fleche--g { left: -6px; }
.galerie__fleche--d { right: -6px; }
.galerie__note { font: 400 var(--t-xs)/1.45 var(--sans); color: var(--feutre); margin: 0.7rem 0 0; }
.coloris { display: flex; align-items: center; flex-wrap: wrap; gap: 0.8rem; margin-top: 1rem; }
.coloris__titre { font: 500 var(--t-sm)/1 var(--sans); }
.coloris ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.coloris__pastille { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.7rem 0.3rem 0.35rem; border: 1px solid var(--trait); border-radius: var(--r-ctl); background: var(--blanc); font: 400 var(--t-xs)/1 var(--sans); cursor: pointer; }
.coloris__pastille::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.coloris__pastille[data-src]:hover { border-color: var(--anthracite); }

.achat { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 1rem; }
.achat__surtitre { font: 600 var(--t-xs)/1 var(--sans); color: var(--bleu); margin: 0; }
.achat__titre { font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.06; letter-spacing: -0.03em; margin: 0; }
.achat__variante { font: 400 var(--t-md)/1.4 var(--sans); color: var(--feutre); margin: -0.4rem 0 0; }
.achat__marque { font: 400 var(--t-sm)/1 var(--sans); color: var(--feutre); margin: 0; }
.achat__marque span { color: var(--anthracite); font-weight: 600; }
.achat__chiffres { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-block: 1px solid var(--trait); }
.achat__prix { font: 650 var(--t-2xl)/1 var(--sans); text-align: right; }
.achat__prix small { display: block; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--feutre); margin-top: 0.3rem; }
.achat__formats { font: 500 var(--t-sm)/1.3 var(--sans); }
.achat__service { display: grid; gap: 0.35rem; margin: 0; font: 400 var(--t-sm)/1.4 var(--sans); }
.achat__service div { display: flex; gap: 0.5rem; }
.achat__service dt { color: var(--feutre); min-width: 5.5rem; }
.achat__service dd { margin: 0; }
.achat__notice { font: italic 400 0.74rem/1.5 var(--sans); color: var(--feutre); margin: 0; }
/* 14/11: the affiliate notice of the sofa and mattress duels (comparatif.php, comparatif-matelas.php) had no rule and took the body serif at full size */
.duel__mention { margin: 0.7rem 0 0; max-width: 46rem; font: 400 0.74rem/1.5 var(--sans); color: var(--feutre); }

.avis-express { margin: clamp(1rem, 3vw, 2.5rem) 0 clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 1.5rem; padding-top: 1.6rem; border-top: 2px solid var(--anthracite); }
.avis-express h2, .avis-express h3 { font-size: var(--t-md); margin: 0.35rem 0 0; }
.avis-express__texte { font: 400 clamp(1.3rem, 1rem + 1vw, 1.75rem)/1.45 var(--serif); letter-spacing: -0.005em; }
.avis-express__texte p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .avis-express { grid-template-columns: minmax(0, 1fr); } }

.mesures { background: var(--blanc); }
.mesures__grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 900px) { .mesures__grille { grid-template-columns: minmax(0, 1fr); } }
.elev { width: 100%; margin: 0.5rem 0 1.8rem; }
.elev__trait { fill: var(--platre); stroke: var(--anthracite); stroke-width: 1.4; stroke-linejoin: round; }
.elev__cote { stroke: var(--bleu); stroke-width: 1; fill: none; }
.elev__cote text { fill: var(--bleu); stroke: none; font: 500 9px var(--sans); text-anchor: middle; font-variant-numeric: tabular-nums; }
.mesures__infos h2, .mesures__dessin h2 { font-size: var(--t-xl); }
.mesures__infos > * + h2 { margin-top: 2rem; }
.barometre, .profil { margin-top: 2rem; }
.barometre h3, .profil h3, .barometre h4, .profil h4 { font-size: var(--t-md); margin-bottom: 0.7rem; }
.barometre__jauge { position: relative; height: 34px; border-radius: 6px; background: linear-gradient(90deg, var(--bleu) calc(var(--v) * 1%), var(--platre-2) 0); }
.barometre__jauge span { position: absolute; right: 0.7rem; top: 50%; transform: translateY(-50%); font: 600 var(--t-sm)/1 var(--sans); color: var(--anthracite); }
.profil ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.profil li { padding: 0.5rem 0.9rem; border-radius: var(--r-ctl); background: var(--bleu-voile); color: var(--bleu-2); font: 500 var(--t-sm)/1 var(--sans); }

.medias { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 2rem; align-items: start; }
.video-cadre { aspect-ratio: 16 / 9; border-radius: var(--r-img); overflow: hidden; background: var(--anthracite); }
.video-cadre iframe { width: 100%; height: 100%; border: 0; }
.medias__titre { font: 600 var(--t-md)/1.3 var(--sans); }
.medias audio { width: 100%; }

.rubrique-simple { font-size: var(--t-xl); margin-bottom: 1.4rem; }
.formats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1.6rem; }
.format { display: flex; flex-direction: column; gap: 0.6rem; }
.format img { aspect-ratio: 4 / 3; object-fit: contain; background: var(--blanc); border-radius: var(--r-img); padding: 5%; mix-blend-mode: multiply; }
.format__nom { font-size: var(--t-md); margin: 0; }
.format__prix { font: 600 var(--t-lg)/1 var(--sans); margin: 0; }
.format__champs { margin: 0; font: 400 var(--t-xs)/1.5 var(--sans); color: var(--feutre); }
.format__champs div { display: flex; gap: 0.4rem; }
.format__champs dd { margin: 0; color: var(--anthracite); }

.lecture-longue__grille { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.lecture-longue__grille .texte-long { max-width: var(--lecture); }
@media (max-width: 1000px) { .lecture-longue__grille { grid-template-columns: minmax(0, 1fr); } .rappel { display: none; } }
.rappel { position: sticky; top: 90px; }
.rappel__carte { display: grid; gap: 0.6rem; padding: 1rem; background: var(--blanc); border-radius: 14px; box-shadow: var(--ombre); }
.rappel__carte img { aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; }
.rappel__nom { font: 600 var(--t-sm)/1.3 var(--sans); margin: 0; }
.rappel__ligne { display: flex; justify-content: space-between; align-items: baseline; font: 650 var(--t-lg)/1 var(--sans); margin: 0; }
.verdict { margin-top: 3rem; padding: 1.8rem 1.8rem 0.6rem; background: var(--blanc); border-radius: 14px; border-top: 3px solid var(--bleu); }
.verdict h2 { margin-top: 0; }
/* Editorial v2 (01/10): longer block headings with the model and the format, the video and « Pour qui » blocks as H2. */
.pour-contre h2, .notes-expliquees .enveloppe > h2, .medias__video > h2, .plus-loin__duels h2, .mesures__infos h2, .mesures__dessin h2 { font-size: var(--t-xl); text-wrap: balance; }
.fiche__lecture > h2.fiche__usage-titre { margin-top: 0; font-size: var(--t-xl); }
.verdict__signature { margin: 0.4rem 0 1rem; font: 500 var(--t-sm)/1.4 var(--sans); color: var(--feutre); }

.bulles { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.bulles a { display: inline-block; padding: 0.6rem 1rem; border: 1px solid var(--trait); border-radius: var(--r-ctl); color: var(--anthracite); text-decoration: none; font: 500 var(--t-sm)/1 var(--sans); background: var(--blanc); }
.bulles a:hover { border-color: var(--bleu); color: var(--bleu); }

.auteur { display: flex; gap: 1.4rem; align-items: start; max-width: 46rem; }
.auteur__photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.auteur__nom { font: 600 var(--t-md)/1.3 var(--sans); margin: 0 0 0.4rem; }
.auteur__bio { font-size: 1.02rem; margin: 0 0 0.4rem; }
.auteur__dates { font: 400 var(--t-xs)/1.4 var(--sans); color: var(--feutre); margin: 0; }

.barre-achat { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--foret); color: var(--blanc); transform: translateY(110%); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.1, 1); }
.barre-achat.est-visible { transform: none; }
.barre-achat { background: rgba(250, 249, 246, 0.94); color: var(--anthracite); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-top: 1px solid var(--trait); box-shadow: 0 -18px 40px rgba(37, 39, 43, 0.14); padding-bottom: env(safe-area-inset-bottom, 0px); }
.barre-achat::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: linear-gradient(90deg, var(--moutarde), var(--bleu)); }
.barre-achat__contenu { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; min-height: 88px; padding-block: 0.7rem; }
.barre-achat__produit { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.barre-achat__photo { flex: none; width: 112px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--trait); border-radius: 12px; padding: 4px; }
.barre-achat__texte { display: grid; gap: 0.35rem; min-width: 0; }
.barre-achat__nom { font: 650 var(--t-md)/1.2 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barre-achat__meta { display: flex; align-items: center; gap: 0.6rem; font: 500 var(--t-sm)/1 var(--sans); color: var(--feutre); }
.barre-achat__note { font: 700 var(--t-md)/1 var(--sans); color: var(--anthracite); }
.barre-achat__note small { font-size: 0.72em; font-weight: 600; color: var(--feutre); margin-left: 1px; }
.barre-achat__jauge { width: 84px; height: 6px; border-radius: 99px; background: var(--trait); overflow: hidden; }
.barre-achat__jauge span { display: block; height: 100%; background: var(--moutarde); border-radius: inherit; }
.barre-achat__achat { display: flex; align-items: center; gap: 1.2rem; flex: none; }
.barre-achat__prix-bloc { display: grid; justify-items: end; gap: 0.2rem; }
.barre-achat__prix-bloc small { font: 500 var(--t-xs)/1 var(--sans); color: var(--feutre); }
.barre-achat__prix { font: 700 1.6rem/1 var(--sans); letter-spacing: -0.01em; }
.barre-achat .bouton--marchand { min-height: 56px; padding: 0 2.2rem; border-radius: 999px; background: var(--moutarde); color: var(--anthracite); font-size: var(--t-md); font-weight: 700; box-shadow: 0 6px 18px rgba(214, 166, 43, 0.35); animation: barre-achat-appel 2.4s ease-out 1; }
.barre-achat .bouton--marchand:hover { background: var(--anthracite); color: var(--blanc); box-shadow: none; }
@keyframes barre-achat-appel { 0% { box-shadow: 0 0 0 0 rgba(214, 166, 43, 0.6); } 100% { box-shadow: 0 0 0 16px rgba(214, 166, 43, 0); } }
@media (prefers-reduced-motion: reduce) { .barre-achat .bouton--marchand { animation: none; } }
@media (max-width: 700px) {
  .barre-achat__contenu { gap: 0.7rem; min-height: 74px; }
  .barre-achat__photo { width: 64px; height: 48px; }
  .barre-achat__nom { font-size: var(--t-sm); }
  .barre-achat__jauge, .barre-achat__label, .barre-achat__prix-bloc small { display: none; }
  .barre-achat__achat { gap: 0.6rem; }
  .barre-achat__prix { font-size: var(--t-md); }
  .barre-achat .bouton--marchand { padding: 0 1.1rem; min-height: 48px; font-size: var(--t-sm); }
}
@media (max-width: 420px) { .barre-achat__prix-bloc { display: none; } }

/* ==========================================================================
   COLLECTION
   ========================================================================== */
.collection__titraille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.2rem 3.5rem; align-items: center; padding: 0 0 1.2rem; }
/* Smaller since 28/09: the first sofas must show above the fold on a laptop screen. */
.collection__titraille h1 { font-size: clamp(1.9rem, 1.1rem + 2.1vw, 3.1rem); line-height: 1; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.collection__titraille .chapeau { font-size: 1rem; line-height: 1.55; }
@media (max-width: 900px) { .collection__titraille { grid-template-columns: minmax(0, 1fr); } }
.vignettes-nav { display: flex; gap: 0.9rem; overflow-x: auto; padding: 0.2rem 0 1rem; scroll-snap-type: x proximity; }
.vignettes-nav a { flex: none; width: 104px; scroll-snap-align: start; display: grid; justify-items: start; gap: 0.4rem; text-decoration: none; color: var(--anthracite); font: 500 var(--t-xs)/1.25 var(--sans); }
.vignettes-nav img { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; background: var(--blanc); transition: transform 0.3s ease; }
.vignettes-nav a:hover img { transform: scale(1.04); }

.catalogue { padding-top: 1rem; }
.catalogue__barre { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 1.5rem; padding-bottom: 0.8rem; margin-bottom: 1.2rem; border-bottom: 2px solid var(--anthracite); }
.place--compacte { margin: 0; box-shadow: none; background: transparent; padding: 0; flex: 1 1 320px; max-width: 30rem; }
.place--compacte .cote { width: 100%; transition: width 0.2s ease; }
/* Compact width question: label and value on one line, thin slider. */
.place--compacte label { display: inline-block; margin: 0 0.8rem 0 0; }
.place--compacte .place__mesure { display: inline-flex; font-size: var(--t-xl); }
.place--compacte input[type="range"] { margin: 0.35rem 0 0.1rem; }
.catalogue__outils { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.tri select { min-height: 46px; padding: 0 2.2rem 0 1rem; border: 1px solid var(--trait); border-radius: var(--r-ctl); background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2323262b' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 1rem center; -webkit-appearance: none; appearance: none; font: 500 var(--t-sm)/1 var(--sans); color: var(--anthracite); }
.catalogue__total { margin: 0; font: 500 var(--t-sm)/1 var(--sans); color: var(--feutre); }
.catalogue__total span:first-child { color: var(--anthracite); font-weight: 650; font-variant-numeric: tabular-nums; }
.compteur-filtres { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--bleu); color: var(--blanc); font-size: var(--t-xs); }
.catalogue__corps { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2.4rem; align-items: start; }
.catalogue__vide { font: 500 var(--t-md)/1.5 var(--sans); padding: 2rem 0; }
.filtres { position: sticky; top: 84px; display: grid; gap: 1.2rem; max-height: calc(100vh - 100px); overflow: auto; padding-right: 0.4rem; }
.filtres__tete { display: flex; justify-content: space-between; align-items: baseline; font: 650 var(--t-md)/1 var(--sans); }
.filtres__effacer { border: 0; background: none; color: var(--bleu); font: 500 var(--t-xs)/1 var(--sans); cursor: pointer; padding: 0; }
.filtre { border: 0; margin: 0; padding: 0 0 1rem; border-bottom: 1px solid var(--trait); }
.filtre legend { font: 600 var(--t-sm)/1 var(--sans); margin-bottom: 0.7rem; padding: 0; }
.filtre__option { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.6rem; padding: 0.3rem 0; font: 400 var(--t-sm)/1.3 var(--sans); cursor: pointer; }
.filtre__option input { width: 17px; height: 17px; accent-color: var(--bleu); margin: 0; }
.filtre__n { color: var(--feutre); font-size: var(--t-xs); }
.filtre__option.est-vide { opacity: 0.4; }
.filtres__fermer { display: none; }
@media (max-width: 900px) {
  .catalogue__corps { grid-template-columns: minmax(0, 1fr); }
  .filtres { position: fixed; inset: auto 0 0 0; z-index: 45; max-height: 82vh; background: var(--platre); padding: 1.2rem var(--gutter) 1.4rem; border-radius: 18px 18px 0 0; box-shadow: 0 -20px 50px rgba(0,0,0,.25); transform: translateY(105%); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.1, 1); }
  .filtres.est-ouvert { transform: none; }
  .filtres__fermer { display: inline-flex; position: sticky; bottom: 0; }
}
@media (min-width: 901px) { [data-ouvrir-filtres] { display: none; } }

.dossier__grille { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.dossier__grille .texte-long { max-width: var(--lecture); }
.sommaire { position: sticky; top: 90px; }
.sommaire__titre { font: 600 var(--t-sm)/1 var(--sans); margin-bottom: 0.8rem; }
.sommaire ol { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.6rem; font: 400 var(--t-sm)/1.35 var(--sans); }
.sommaire a { color: var(--anthracite); text-decoration: none; }
.sommaire a:hover { color: var(--bleu); text-decoration: underline; }
.dossier__partie + .dossier__partie { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--trait); }
@media (max-width: 900px) { .dossier__grille { grid-template-columns: minmax(0, 1fr); } .sommaire { position: static; } }

/* ==========================================================================
   ACCUEIL, ARTICLES, PAGES
   ========================================================================== */
.budgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.budget { display: grid; gap: 0.6rem; padding: 1.6rem 1.4rem; border-radius: 14px; background: var(--foret); color: var(--blanc); text-decoration: none; transition: background-color 0.2s ease; }
.budget:hover { background: var(--moutarde); color: var(--anthracite); }
.budget .budget__chiffre { color: var(--moutarde); }
.budget:hover .budget__chiffre { color: var(--anthracite); }
.budget:hover .budget__label { color: var(--anthracite); }
.budget__chiffre { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1; }
.budget__chiffre::after { content: " €"; font-size: 0.5em; letter-spacing: 0; }
.budget__label { font: 400 var(--t-sm)/1.3 var(--sans); color: #c9ccd2; }
.marques-ancien { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); column-gap: 2.5rem; border-top: 1px solid var(--trait); }
.marques li { border-bottom: 1px solid var(--trait); }
.marques a, .marques li > span { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem 0.2rem; color: var(--anthracite); text-decoration: none; }
.marques a:hover .marques__nom { color: var(--bleu); }
.marques__nom { font: 600 var(--t-lg)/1.1 var(--sans); letter-spacing: -0.02em; }
.marques__n { color: var(--feutre); font-size: var(--t-sm); }
.sujet__meta { font: 400 var(--t-xs)/1 var(--sans); color: var(--feutre); }
.une__lien { display: block; }

.article__tete { padding: 0.5rem 0 2rem; max-width: 60rem; }
.article__titre { font-size: clamp(2.2rem, 1.2rem + 3.8vw, 4.6rem); line-height: 1; letter-spacing: -0.04em; }
.article__meta { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--feutre); }
.article__visuel { margin: 0 auto 3rem; border-radius: var(--r-img); overflow: hidden; }
.article__visuel img { width: 100%; max-height: 72vh; object-fit: cover; }
.article__corps { max-width: var(--lecture); margin-inline: auto; }
.page-standard__tete { padding-bottom: 1rem; }
.lecture-large { max-width: 48rem; }
.liste-articles__tete { padding-bottom: 2rem; }
.pagination { display: flex; gap: 0.5rem; margin: 3rem 0; font: 500 var(--t-sm)/1 var(--sans); }
.pagination .page-numbers { padding: 0.6rem 0.9rem; border: 1px solid var(--trait); border-radius: var(--r-ctl); text-decoration: none; color: var(--anthracite); }
.pagination .current { background: var(--anthracite); color: var(--blanc); border-color: var(--anthracite); }
.introuvable { padding: clamp(3rem, 10vw, 7rem) 0; max-width: 44rem; }
.introuvable__cote .cote { max-width: 10rem; font-size: var(--t-md); }

/* Le canapé se dessine au trait, puis ses cotes apparaissent. */
.js .elev.a-tracer path, .js .elev.a-tracer rect { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.8s cubic-bezier(0.6, 0, 0.2, 1); }
.js .elev.a-tracer .elev__trait { fill-opacity: 0; transition: fill-opacity 0.6s ease 1.2s; }
.js .elev.a-tracer text { opacity: 0; transition: opacity 0.5s ease 1.5s; }
.js .elev.a-tracer.est-visible path, .js .elev.a-tracer.est-visible rect { stroke-dashoffset: 0; }
.js .elev.a-tracer.est-visible .elev__trait { fill-opacity: 1; }
.js .elev.a-tracer.est-visible text { opacity: 1; }

.alternatives { display: grid; gap: 0.8rem; padding: 1.1rem; border-radius: 14px; background: var(--moutarde-voile); }
.alternatives h2, .alternatives h3 { font-size: var(--t-md); margin: 0; }
.alternative { display: grid; grid-template-columns: 96px 1fr; gap: 0.9rem; align-items: start; text-decoration: none; color: var(--anthracite); padding: 0.6rem; border-radius: 10px; background: var(--blanc); }
.alternative:hover { box-shadow: 0 0 0 1px var(--bleu); color: var(--anthracite); }
.alternative img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; }
.alternative h3, .alternative h4 { font-size: var(--t-sm); margin: 0 0 0.3rem; }
.alternative__ligne { display: flex; gap: 0.8rem; font: 600 var(--t-sm)/1 var(--sans); margin-bottom: 0.35rem; }
.alternative__raison { display: block; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--feutre); }

/* --- Vitrine de la une : un vrai canapé analysé, qui tient dans l'espace choisi ------ */
.vitrine { margin: 0; display: grid; gap: 1rem; }
.vitrine__scene { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: 22px; overflow: hidden; background: #ececec; }
.vitrine__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 0.6s ease, transform 1.2s cubic-bezier(0.2, 0.7, 0.1, 1); }
.vitrine__photo.est-active { opacity: 1; transform: none; }
.vitrine__mesure { display: flex; justify-content: center; }
.vitrine__mesure .cote { transition: width 0.6s cubic-bezier(0.2, 0.7, 0.1, 1); font-size: var(--t-sm); }
.vitrine__legende { display: grid; gap: 0.25rem; font-family: var(--sans); }
.vitrine__surtitre { font: 500 var(--t-xs)/1 var(--sans); color: var(--feutre); }
.vitrine__legende a { font: 650 var(--t-lg)/1.2 var(--sans); color: var(--anthracite); text-decoration: none; letter-spacing: -0.01em; }
.vitrine__legende a:hover { color: var(--bleu-2); }
.vitrine__chiffres { display: flex; gap: 1rem; font: 500 var(--t-sm)/1 var(--sans); color: var(--feutre); }
.vitrine__chiffres b { color: var(--anthracite); }

/* --- Blocs cliquables ------------------------------------------------------ */
.onglets__barre { position: relative; display: flex; gap: 0.3rem; overflow-x: auto; border-bottom: 1px solid var(--trait); margin-bottom: clamp(1.6rem, 4vw, 2.6rem); scrollbar-width: none; }
.onglets__barre::-webkit-scrollbar { display: none; }
.onglets__onglet { flex: none; border: 0; background: none; cursor: pointer; padding: 1rem 1.1rem 1.1rem; font: 600 var(--t-md)/1 var(--sans); color: var(--feutre); letter-spacing: -0.01em; }
.onglets__onglet[aria-selected="true"] { color: var(--anthracite); }
.onglets__onglet:hover { color: var(--anthracite); }
.onglets__curseur { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--bleu); border-radius: 3px; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.1, 1), width 0.35s cubic-bezier(0.2, 0.7, 0.1, 1); }
.onglets__panneau { display: none; max-width: var(--lecture); }
.onglets__panneau.est-actif { display: block; animation: apparait 0.35s ease; }
.onglets__panneau > h2:first-child, .onglets__panneau > p:first-child > h2 { margin-top: 0; }
@keyframes apparait { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.acc { border-top: 1px solid var(--trait); }
.acc:last-of-type { border-bottom: 1px solid var(--trait); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.3rem 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h2 { margin: 0; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); flex: 1; }
.acc summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--trait); background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%233e6150' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center; transition: transform 0.25s ease; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc summary:hover h2 { color: var(--bleu-2); }
.acc__corps { padding: 0 0 1.6rem; }
.fiche__lecture > p:first-of-type::first-letter { float: left; font: 650 4.4em/0.8 var(--sans); letter-spacing: -0.04em; margin: 0.08em 0.12em 0 0; }

/* --- Radar --------------------------------------------------------------- */
.avis-express--radar { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); align-items: start; }
.radar { width: 100%; max-width: 320px; justify-self: end; }
.radar__grille polygon, .radar__grille line { fill: none; stroke: var(--trait); stroke-width: 1; }
.radar__forme { fill: color-mix(in srgb, var(--bleu) 22%, transparent); stroke: var(--bleu); stroke-width: 2; stroke-linejoin: round; }
.radar__labels text { font: 500 10px var(--sans); fill: var(--feutre); }
.radar__labels tspan { font-weight: 700; fill: var(--anthracite); }
.js .radar.a-tracer .radar__forme { transform-origin: 170px 118px; transform: scale(0.2); opacity: 0; transition: transform 1s cubic-bezier(0.2, 0.8, 0.1, 1), opacity 0.4s ease; }
.js .radar.a-tracer.est-visible .radar__forme { transform: none; opacity: 1; }
@media (max-width: 900px) { .avis-express--radar { grid-template-columns: minmax(0, 1fr); } .radar { justify-self: start; } }

/* --- En résumé -------------------------------------------------------------- */
.resume-fiche { display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 1.5rem 2.5rem; align-items: center; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 18px; background: var(--foret); color: var(--blanc); }
.resume-fiche__note { display: flex; align-items: baseline; gap: 0.2rem; flex-wrap: wrap; font-family: var(--sans); }
.resume-fiche__note p { width: 100%; margin: 0.3rem 0 0; font: 500 var(--t-sm)/1 var(--sans); color: #c9c6bd; }
.resume-fiche .note-globale__chiffre { color: var(--moutarde); }
.resume-fiche ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; font: 400 var(--t-sm)/1.4 var(--sans); }
.resume-fiche li { padding-left: 1.3rem; position: relative; }
.resume-fiche__pour li::before { content: "+"; position: absolute; left: 0; color: var(--moutarde); font-weight: 700; }
.resume-fiche__contre li::before { content: "\2212"; position: absolute; left: 0; color: #e0a39b; font-weight: 700; }
.resume-fiche .bouton--marchand { background: var(--moutarde); color: var(--anthracite); }
.resume-fiche .bouton--marchand:hover { background: var(--blanc); color: var(--anthracite); }
@media (max-width: 900px) { .resume-fiche { grid-template-columns: minmax(0, 1fr); } }

/* --- Pour aller plus loin, vote, comparatifs ------------------------------ */
.plus-loin > .enveloppe + .enveloppe { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.plus-loin__grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .plus-loin__grille { grid-template-columns: minmax(0, 1fr); } }
.duels-liens { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.duels-liens a { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: baseline; padding: 1rem 1.2rem; border-radius: 12px; background: var(--blanc); border: 1px solid var(--trait); color: var(--anthracite); text-decoration: none; font: 600 var(--t-md)/1.3 var(--sans); transition: border-color 0.2s ease, transform 0.2s ease; }
.duels-liens a:hover { border-color: var(--bleu); transform: translateX(3px); }
.duels-liens span { font: italic 400 var(--t-md)/1 var(--serif); color: var(--bleu); }
.vote { padding: 1.4rem; border-radius: 16px; background: var(--moutarde-voile); }
.vote__question { font: 650 var(--t-lg)/1.25 var(--sans); margin: 0 0 1rem; }
.vote__boutons { display: flex; gap: 0.6rem; }
.vote__boutons .bouton { min-width: 6rem; background: var(--blanc); }
.vote__boutons .est-choisi { background: var(--foret); color: var(--blanc); border-color: var(--foret); }
.vote__resultat { font: 500 var(--t-sm)/1.4 var(--sans); color: var(--feutre); margin: 0.9rem 0 0; min-height: 1.4em; }
.vote__alternatives p { font: 600 var(--t-sm)/1.3 var(--sans); margin: 1rem 0 0.6rem; }
.minis { display: grid; gap: 0.5rem; }
.mini { display: grid; grid-template-columns: 96px 1fr; gap: 0.8rem; align-items: center; padding: 0.5rem; border-radius: 10px; background: var(--blanc); color: var(--anthracite); text-decoration: none; }
.mini img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; }
.mini__nom { display: block; font: 600 var(--t-sm)/1.25 var(--sans); }
.mini__ligne { display: flex; gap: 0.8rem; font: 500 var(--t-sm)/1 var(--sans); margin-top: 0.3rem; }
.tableau-defile { overflow-x: auto; }
/* 02/11: the pillar comparison table (/meilleur-matelas/, /meilleur-canape/) was 47 px wider than its column at
   1440 px (every cell nowrap). On a computer the column titles and the « Usage » cell may wrap, so it fits; below
   1024 px it keeps scrolling inside .tableau-defile. */
@media (min-width: 1024px) { .pilier-tableau th[scope="col"], .pilier-tableau td:first-child { white-space: normal; } }
.comparaison { width: 100%; border-collapse: collapse; font: 400 var(--t-sm)/1.4 var(--sans); background: var(--blanc); border-radius: 14px; overflow: hidden; }
.comparaison th, .comparaison td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--trait); vertical-align: top; }
.comparaison thead th { font-weight: 600; background: var(--platre-2); }
.comparaison tbody th { font-weight: 500; }
.comparaison .est-gagnant { background: var(--bleu-voile); font-weight: 650; color: var(--bleu-2); }
.voisins .est-ici { background: var(--moutarde-voile); }
.ici { display: inline-block; margin-left: 0.4rem; padding: 0.2rem 0.5rem; border-radius: 999px; background: var(--moutarde); font-size: var(--t-xs); font-weight: 600; white-space: nowrap; line-height: 1.3; vertical-align: middle; }
@media (max-width: 640px) { .ici { display: table; margin: 0.35rem 0 0; } }

/* --- Comparatif -------------------------------------------------------------- */
.duel__titre { font-size: clamp(1.9rem, 1.1rem + 2.2vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 30ch; }
.duel__face { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); margin: 2rem 0 1rem; }
.duel__ou { position: absolute; left: 50%; top: 26%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--moutarde); display: grid; place-items: center; font: italic 400 1.5rem/1 var(--serif); color: var(--anthracite); box-shadow: var(--ombre); }
.duel__carte { position: relative; display: flex; flex-direction: column; gap: 0.7rem; }
.duel__photo { display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #ececec; }
.duel__photo img { width: 100%; height: 100%; object-fit: cover; }
.duel__nom { font-size: var(--t-xl); margin: 0.3rem 0 0; }
.duel__nom a { color: var(--anthracite); text-decoration: none; }
.duel__limite { font: 400 var(--t-sm)/1.45 var(--sans); margin: 0; }
.duel__limite span { color: var(--feutre); }
.duel__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.duel__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); }
.duel__plans { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
.duel__legende { font: 500 var(--t-sm)/1.3 var(--sans); color: var(--feutre); text-align: center; margin: 0; }
.duel__tete { font: 600 var(--t-sm)/1 var(--sans); color: var(--bleu); }
.verdicts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font: 400 var(--t-md)/1.4 var(--sans); }
.verdicts li { padding: 0.9rem 1rem; border-radius: 12px; background: var(--blanc); border-left: 3px solid var(--moutarde); }
.verdicts__critere { display: block; font: 600 var(--t-xs)/1 var(--sans); color: var(--feutre); margin-bottom: 0.35rem; }
@media (max-width: 800px) { .duel__face, .duel__grille, .duel__plans { grid-template-columns: minmax(0, 1fr); } .duel__ou { display: none; } }
.duels-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.4rem; }
.duel-tuile { display: grid; gap: 0.8rem; text-decoration: none; color: var(--anthracite); }
.duel-tuile__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 14px; overflow: hidden; }
.duel-tuile__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #ececec; }
.duel-tuile__noms { font: 600 var(--t-md)/1.3 var(--sans); }
.duel-tuile__noms span { font: italic 400 1em/1 var(--serif); color: var(--moutarde); }
.duel-tuile:hover .duel-tuile__noms { color: var(--bleu-2); }

.dossier__disposition { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.dossier__rail { position: sticky; top: 90px; display: grid; gap: 1.6rem; }
.dossier__rail h2 { font-size: var(--t-lg); margin-bottom: 0.8rem; }
.podium .mini { position: relative; }
.podium__rang { position: absolute; top: 0.4rem; left: 0.4rem; width: 26px; height: 26px; border-radius: 50%; background: var(--moutarde); display: grid; place-items: center; font: 700 var(--t-xs)/1 var(--sans); }
@media (max-width: 1000px) { .dossier__disposition { grid-template-columns: minmax(0, 1fr); } .dossier__rail { position: static; } }

/* --- Guides du Mag ----------------------------------------------------------- */
.guide__tete { padding: 0.5rem 0 2.4rem; }
.guide__tete--image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.guide__titraille { max-width: 52rem; }
.guide__tete .article__titre { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); }
.guide__vignette { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--platre-2); }
.guide__vignette img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .guide__tete--image { grid-template-columns: minmax(0, 1fr); } .guide__vignette { max-width: 420px; aspect-ratio: 16 / 9; } }
.guide__visuel { margin: 0 auto 2.5rem; border-radius: 18px; overflow: hidden; }
.guide__visuel img { width: 100%; max-height: 70vh; object-fit: cover; }
.guide__grille { display: grid; grid-template-columns: 230px minmax(0, 1fr) 280px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.guide__corps .article__corps { max-width: var(--lecture); margin: 0; }
.sommaire-guide { position: sticky; top: 90px; font: 400 var(--t-sm)/1.35 var(--sans); max-height: calc(100vh - 110px); overflow: auto; }
.sommaire-guide summary { font: 600 var(--t-sm)/1 var(--sans); cursor: pointer; margin-bottom: 0.8rem; list-style: none; }
.sommaire-guide summary::-webkit-details-marker { display: none; }
.sommaire-guide ol { list-style: none; margin: 0; padding: 0 0 0 0.9rem; border-left: 1px solid var(--trait); display: grid; gap: 0.5rem; }
.sommaire-guide .niv-3 { padding-left: 0.8rem; font-size: var(--t-xs); }
.sommaire-guide a { color: var(--feutre); text-decoration: none; display: block; position: relative; }
.sommaire-guide a:hover { color: var(--anthracite); }
.sommaire-guide a.est-actif { color: var(--bleu-2); font-weight: 600; }
.sommaire-guide a.est-actif::before { content: ""; position: absolute; left: calc(-0.9rem - 1px); top: 0; bottom: 0; width: 2px; background: var(--bleu); }
.rail-guide { position: sticky; top: 90px; display: grid; gap: 1.6rem; }
.rail-guide__titre { font: 650 var(--t-md)/1 var(--sans); margin: 0 0 0.8rem; }
.guide__fin { max-width: var(--lecture); display: grid; gap: 2rem; margin-top: 3rem; }
.encart-selection { margin: 2.6rem 0; padding: 1.4rem; border-radius: 18px; background: var(--blanc); box-shadow: var(--ombre); font-family: var(--sans); }
.encart-selection__titre { font: 650 var(--t-lg)/1.2 var(--sans); margin: 0 0 1rem; }
.encart-selection__liste { display: grid; gap: 0.9rem; }
.encart-produit { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: 1.1rem; row-gap: 0.35rem; align-items: center; font-size: var(--t-sm); padding-bottom: 0.9rem; border-bottom: 1px solid var(--trait); }
.encart-produit:last-child { border-bottom: 0; padding-bottom: 0; }
.encart-produit__photo { grid-row: 1 / 4; }
.encart-produit .bouton { grid-column: 3; grid-row: 1 / 3; align-self: center; }
.encart-produit__test { grid-column: 3; grid-row: 3; }
.encart-produit .cote { grid-column: 2; max-width: 14rem; }
.encart-produit .repere-choix { top: 0.4rem; left: 0.4rem; font-size: 0.7rem; padding: 0.3rem 0.5rem; }
@media (max-width: 640px) { .encart-produit { grid-template-columns: 110px minmax(0, 1fr); } .encart-produit .bouton, .encart-produit__test { grid-column: 1 / -1; grid-row: auto; } .encart-produit__photo { grid-row: 1 / 4; } }
.encart-produit__photo { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #ececec; }
.encart-produit__photo img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.encart-produit__nom { font-weight: 600; color: var(--anthracite); text-decoration: none; line-height: 1.25; }
.encart-produit__ligne { display: flex; justify-content: space-between; font-weight: 600; }
.encart-produit__test { font-size: var(--t-xs); text-align: center; }
.encart-produit .bouton { min-height: 40px; font-size: var(--t-xs); padding: 0 0.8rem; }
.texte-long .encart-selection img { margin: 0; }
@media (max-width: 1200px) { .guide__grille { grid-template-columns: 200px minmax(0, 1fr); } .rail-guide { grid-column: 1 / -1; position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@media (max-width: 1000px) { .guide__grille { grid-template-columns: minmax(0, 1fr); } .sommaire-guide { position: static; max-height: none; padding: 1rem 1.2rem; background: var(--blanc); border-radius: 14px; } }

/* --- Blocs cliquables en tuiles (collections) ------------------------------------ */
.onglets--tuiles .onglets__barre { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; border: 0; overflow: visible; margin-bottom: 1rem; }
.onglets--tuiles .onglets__curseur { display: none; }
.onglets--tuiles .onglets__onglet {
  display: grid; align-content: start; gap: 0.55rem; text-align: left; padding: 1.3rem 1.4rem 1.4rem; border-radius: 18px;
  background: var(--blanc); border: 1px solid var(--trait); color: var(--anthracite); min-height: 150px;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.onglets--tuiles .onglets__onglet:hover { border-color: var(--moutarde); transform: translateY(-2px); box-shadow: var(--ombre); }
.onglets--tuiles .onglets__label { font: 650 var(--t-xs)/1 var(--sans); color: var(--bleu); letter-spacing: 0.02em; }
.onglets--tuiles .onglets__titre { font: 650 var(--t-md)/1.25 var(--sans); letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.onglets--tuiles .onglets__sous { font: 400 var(--t-sm)/1.3 var(--sans); color: var(--feutre); margin-top: auto; }
.onglets--tuiles .onglets__onglet[aria-selected="true"] { background: var(--foret); border-color: var(--foret); color: var(--blanc); box-shadow: var(--ombre); }
.onglets--tuiles .onglets__onglet[aria-selected="true"] .onglets__label { color: var(--moutarde); }
.onglets--tuiles .onglets__onglet[aria-selected="true"] .onglets__sous { color: #c3c1bb; }
.onglets--tuiles .onglets__onglet[aria-selected="true"]::after { content: ""; justify-self: start; width: 34px; height: 3px; border-radius: 3px; background: var(--moutarde); margin-top: 0.3rem; }
.onglets--tuiles .onglets__panneau { max-width: none; background: var(--blanc); border-radius: 20px; padding: clamp(1.5rem, 4vw, 3rem); }
.onglets--tuiles .onglets__panneau > * { max-width: var(--lecture); }
@media (max-width: 760px) { .onglets--tuiles .onglets__barre { grid-template-columns: minmax(0, 1fr); } .onglets--tuiles .onglets__onglet { min-height: 0; } }

/* --- Classement automatique et notes sur les photos --------------------------- */
.carte__pastille { position: absolute; top: 0.7rem; right: 0.7rem; z-index: 1; min-width: 46px; height: 46px; padding: 0 0.5rem; border-radius: 999px; display: grid; place-items: center; background: var(--foret); color: var(--moutarde); font: 700 var(--t-md)/1 var(--sans); box-shadow: 0 6px 16px -8px rgba(0,0,0,.5); }
.repere-choix--discret { background: var(--blanc); color: var(--anthracite); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.classement { padding: 0.5rem 0 3rem; }
.classement__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.6rem 2rem; border-bottom: 2px solid var(--anthracite); padding-bottom: 0.8rem; margin-bottom: 1.6rem; }
.classement__tete h2 { margin: 0; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); letter-spacing: -0.03em; }
.classement__maj { margin: 0; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--feutre); }
.podium-classement { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1.2rem; align-items: stretch; }
.podium-classement__place { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--blanc); border-radius: 18px; overflow: hidden; border: 1px solid var(--trait); }
.podium-classement__place--1 { border-color: var(--moutarde); box-shadow: 0 0 0 2px var(--moutarde) inset; }
.podium-classement__rang { position: absolute; top: 0.8rem; left: 0.8rem; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--foret); color: var(--blanc); font: 700 var(--t-lg)/1 var(--sans); }
.podium-classement__place--1 .podium-classement__rang { background: var(--moutarde); color: var(--anthracite); }
.podium-classement__photo { display: block; aspect-ratio: 4 / 3; background: #ececec; }
.podium-classement__photo img { width: 100%; height: 100%; object-fit: cover; }
.podium-classement__texte { display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem 1.2rem 1.2rem; }
.podium-classement__nom { font: 650 var(--t-lg)/1.2 var(--sans); color: var(--anthracite); text-decoration: none; letter-spacing: -0.01em; }
.podium-classement__nom:hover { color: var(--bleu-2); }
.podium-classement__raison { margin: 0; font: 400 var(--t-sm)/1.45 var(--sans); color: var(--feutre); }
.podium-classement .carte__pied { margin-top: auto; }
.classement__complet { margin-top: 1.2rem; }
.classement__complet summary { cursor: pointer; font: 600 var(--t-sm)/1 var(--sans); color: var(--bleu-2); padding: 0.8rem 0; list-style: none; }
.classement__complet summary::-webkit-details-marker { display: none; }
.classement__complet summary::before { content: "+ "; }
.classement__complet[open] summary::before { content: "\2212 "; }
@media (max-width: 900px) { .podium-classement { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   ACCUEIL v3
   ========================================================================== */
.une__badge { margin: 0 0 1.4rem; }
.une__badge .cote { max-width: 17rem; font-size: var(--t-xs); }
.une__requete { display: block; font: 650 clamp(0.95rem, 0.8rem + 0.5vw, 1.2rem)/1.2 var(--sans); letter-spacing: 0.01em; color: var(--bleu); margin-bottom: 0.9rem; white-space: normal; }
.vitrine__note { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--foret); color: var(--moutarde); font: 700 1.25rem/1 var(--sans); box-shadow: 0 10px 24px -10px rgba(0,0,0,.55); }

/* Bandeau des marques qui défile (arrêt au survol, immobile si animations réduites). */
.bandeau-marques { background: var(--foret); color: var(--blanc); overflow: hidden; padding: 1.1rem 0; margin-top: clamp(1rem, 3vw, 2rem); }
.bandeau-marques__piste { display: flex; width: max-content; animation: defile-marques 38s linear infinite; }
.bandeau-marques:hover .bandeau-marques__piste, .bandeau-marques:focus-within .bandeau-marques__piste { animation-play-state: paused; }
.bandeau-marques__liste { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.bandeau-marques__liste li { display: flex; align-items: baseline; gap: 0.5rem; padding: 0 2.2rem; position: relative; white-space: nowrap; }
.bandeau-marques__liste li::after { content: ""; position: absolute; right: 0; top: 50%; width: 10px; height: 10px; border: 1.5px solid var(--moutarde); transform: translateY(-50%) rotate(45deg); }
.bandeau-marques__liste a, .bandeau-marques__liste span { color: var(--blanc); text-decoration: none; font: 600 clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem)/1 var(--sans); letter-spacing: -0.02em; }
.bandeau-marques__liste a:hover { color: var(--moutarde); }
.bandeau-marques__liste small { color: var(--moutarde); font: 600 var(--t-xs)/1 var(--sans); }
@keyframes defile-marques { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bandeau-marques__piste { animation: none; flex-wrap: wrap; width: auto; } .bandeau-marques__liste[aria-hidden] { display: none; } }

/* Chiffres clés */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.chiffre { display: grid; gap: 0.4rem; padding: 1.4rem 1.4rem 1.5rem; border-top: 3px solid var(--moutarde); background: var(--blanc); border-radius: 0 0 16px 16px; }
.chiffre__valeur { font: 700 clamp(2.4rem, 1.6rem + 2.6vw, 3.8rem)/1 var(--sans); letter-spacing: -0.04em; }
.chiffre__label { font: 500 var(--t-sm)/1.3 var(--sans); color: var(--feutre); }
@media (max-width: 800px) { .chiffres { grid-template-columns: 1fr 1fr; } }

/* Top 5 */
.top-canapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.top-canapes__ligne { display: grid; grid-template-columns: 70px 180px minmax(0, 1fr) auto; gap: 1.4rem; align-items: center; padding: 1rem 1.4rem 1rem 1rem; background: var(--blanc); border-radius: 18px; border: 1px solid var(--trait); transition: border-color 0.2s ease, transform 0.2s ease; }
.top-canapes__ligne:hover { border-color: var(--moutarde); transform: translateX(4px); }
.top-canapes__ligne--un { border: 2px solid var(--moutarde); }
.top-canapes__rang { font: 700 3.2rem/1 var(--sans); letter-spacing: -0.05em; color: var(--trait); text-align: center; }
.top-canapes__ligne--un .top-canapes__rang { color: var(--moutarde); }
.top-canapes__photo { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #ececec; }
.top-canapes__photo img { width: 100%; height: 100%; object-fit: cover; }
.top-canapes__texte h3 { font-size: var(--t-lg); margin: 0 0 0.3rem; }
.top-canapes__texte h3 a { color: var(--anthracite); text-decoration: none; }
.top-canapes__texte h3 a:hover { color: var(--bleu-2); }
.top-canapes__texte p { margin: 0 0 0.6rem; font: 400 var(--t-sm)/1.35 var(--sans); color: var(--feutre); }
.top-canapes__texte .cote { max-width: 16rem; }
/* 02/11 (classement-0211): format and dimensions of the displayed format, two text lines, no line when empty. */
.top-canapes__texte .top-canapes__format { margin: 0 0 0.15rem; }
.top-canapes__texte .top-canapes__dims { margin: 0; font-variant-numeric: tabular-nums; }
.top-canapes__chiffres { display: grid; justify-items: end; gap: 0.4rem; }
.top-canapes__note { font: 700 2rem/1 var(--sans); letter-spacing: -0.03em; }
.top-canapes__note small { font-size: 0.5em; color: var(--feutre); font-weight: 500; }
@media (max-width: 760px) { .top-canapes__ligne { grid-template-columns: 44px 110px minmax(0, 1fr); } .top-canapes__rang { font-size: 2rem; } .top-canapes__chiffres { grid-column: 2 / -1; justify-items: start; grid-auto-flow: column; justify-content: start; gap: 1rem; } }

/* Duel du moment */
.duel-semaine__carte { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--blanc); background: var(--foret); }
.duel-semaine__cote { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.duel-semaine__cote img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.1, 1); }
.duel-semaine__carte:hover .duel-semaine__cote img { transform: scale(1.04); }
.duel-semaine__nom { position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; font: 650 var(--t-xl)/1.1 var(--sans); text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.duel-semaine__nom small { font: 700 var(--t-sm)/1 var(--sans); background: var(--moutarde); color: var(--anthracite); padding: 0.35rem 0.55rem; border-radius: 999px; text-shadow: none; }
.duel-semaine__cote::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); pointer-events: none; }
.duel-semaine__nom { z-index: 1; }
.duel-semaine__ou { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); z-index: 2; width: 84px; height: 84px; border-radius: 50%; background: var(--moutarde); color: var(--anthracite); display: grid; place-items: center; font: italic 400 2rem/1 var(--serif); box-shadow: 0 12px 30px -12px rgba(0,0,0,.6); }
.duel-semaine__action { grid-column: 1 / -1; padding: 1rem 1.4rem; font: 600 var(--t-md)/1.3 var(--sans); color: var(--moutarde); }
@media (max-width: 700px) { .duel-semaine__nom { font-size: var(--t-md); } .duel-semaine__ou { width: 56px; height: 56px; font-size: 1.4rem; } }

/* Formes et budgets côte à côte */
.formes-budgets { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); }
.formes-budgets .formes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.formes-budgets .budgets { grid-template-columns: 1fr 1fr; }
@media (max-width: 1000px) { .formes-budgets { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .formes-budgets .formes { grid-template-columns: 1fr 1fr; } }

/* Méthode et signature */
.methode { background: var(--foret); color: #e9e7e1; }
.methode h2, .methode h3 { color: var(--blanc); }
.methode .chapeau { color: #d6d3cc; }
.methode__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.criteres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; counter-reset: critere; }
.criteres li { padding: 1.3rem 1.3rem 1.2rem; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.criteres h3 { font-size: var(--t-lg); margin: 0 0 0.5rem; }
.criteres h3::before { counter-increment: critere; content: "/10"; display: block; font: 700 var(--t-xs)/1 var(--sans); color: var(--moutarde); margin-bottom: 0.7rem; }
.criteres p { margin: 0; font: 400 var(--t-sm)/1.5 var(--sans); color: #cfccc5; }
.signature { display: flex; gap: 1rem; align-items: center; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); }
.signature img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--moutarde); }
.signature p { margin: 0; font: 400 var(--t-sm)/1.5 var(--sans); color: #d6d3cc; }
.signature strong { color: var(--blanc); }
@media (max-width: 900px) { .methode__grille, .criteres { grid-template-columns: minmax(0, 1fr); } }

/* Never let a child force horizontal scrolling on small screens. */
html, body { overflow-x: clip; }

[hidden] { display: none !important; }

.reseaux { list-style: none; display: flex; gap: 0.3rem; margin: 0 0 0 0.6rem; padding: 0; }
.reseaux a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--anthracite); }
.reseaux a:hover { background: var(--platre-2); color: var(--bleu-2); }
.reseaux svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 1100px) { .reseaux { margin-left: 0; order: 2; } .entete .bouton-menu { order: 3; margin-left: 0.4rem; } .entete__barre { gap: 0.6rem; } .marque-site { margin-right: auto; } }
@media (max-width: 380px) { .reseaux { display: none; } }

/* --- Pages de service ----------------------------------------------------------- */
.page-service { padding-bottom: 3rem; }
.page-service__maj { font: 400 var(--t-sm)/1.4 var(--sans); color: var(--feutre); }
.chiffres--page { padding-top: 0; }
.chiffres--page .chiffre__valeur { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.lexique { margin: 0; display: grid; gap: 0; }
.lexique div { padding: 1.1rem 0; border-bottom: 1px solid var(--trait); scroll-margin-top: 90px; }
.lexique dt { font: 650 var(--t-lg)/1.2 var(--sans); margin-bottom: 0.35rem; }
.lexique dd { margin: 0; font-size: 1.05rem; }
.lexique div:target { background: var(--moutarde-voile); }
.plan-site { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 2rem 3rem; }
.plan-site h2 { font-size: var(--t-lg); border-bottom: 2px solid var(--anthracite); padding-bottom: 0.5rem; }
.plan-site h2 small { color: var(--feutre); font-size: var(--t-sm); }
.plan-site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; font: 400 var(--t-sm)/1.4 var(--sans); }
.plan-site a { color: var(--anthracite); text-decoration: none; }
.plan-site a:hover { color: var(--bleu-2); text-decoration: underline; }

/* --- Le Mag' ------------------------------------------------------------------ */
.mag__tete { padding: 0.5rem 0 2rem; max-width: 60rem; }
.mag__surtitre { font: 650 var(--t-sm)/1 var(--sans); color: var(--bleu); margin: 0 0 0.8rem; }
.mag__titre { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.2rem); line-height: 0.95; letter-spacing: -0.045em; margin-bottom: 0.4em; }
.rubriques { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0.8rem; margin-bottom: 1rem; }
.rubrique-tuile { display: grid; gap: 0.5rem; padding: 1.1rem 1.2rem; border-radius: 16px; background: var(--blanc); border: 1px solid var(--trait); text-decoration: none; color: var(--anthracite); transition: border-color 0.2s ease, transform 0.2s ease; }
.rubrique-tuile:hover { border-color: var(--moutarde); transform: translateY(-2px); color: var(--anthracite); }
.rubrique-tuile.est-active { background: var(--foret); border-color: var(--foret); color: var(--blanc); }
.rubrique-tuile__nom { font: 650 var(--t-md)/1.2 var(--sans); }
.rubrique-tuile__n { font: 500 var(--t-xs)/1 var(--sans); color: var(--bleu); }
.rubrique-tuile.est-active .rubrique-tuile__n { color: var(--moutarde); }
.mag__rubrique-desc { margin: -1rem 0 1.6rem; font-size: 1.05rem; color: var(--feutre); max-width: 44rem; }
.sujets--trois .sujet { grid-column: span 4; }
.mag__liste { padding: 1.5rem 0 1rem; }
@media (max-width: 900px) { .sujets--trois .sujet { grid-column: 1 / -1; } }

/* --- Méga-menu magazine -------------------------------------------------------- */
@media (min-width: 1101px) {
  .nav-groupe--mega { position: static; }
  .entete__barre { position: relative; }
  .mega { left: 0; right: 0; top: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; padding: 2rem 2.2rem; border-radius: 0 0 22px 22px; border-top: 3px solid var(--moutarde); }
  .mega__colonnes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; align-content: start; }
  #mega-fauteuils .mega__colonnes, #mega-mag .mega__colonnes { grid-template-columns: 1fr 1.6fr; }
  .mega__cote { border-left: 1px solid var(--trait); padding-left: 2rem; display: grid; align-content: start; gap: 0.9rem; }
}
.mega__titre { font: 650 var(--t-sm)/1.2 var(--sans); color: var(--bleu); margin: 0 0 0.7rem; }
.mega__colonne ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.mega__colonne a { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.45rem 0.6rem; margin-left: -0.6rem; border-radius: 8px; color: var(--anthracite); text-decoration: none; font: 400 var(--t-sm)/1.25 var(--sans); }
.mega__colonne a:hover { background: var(--bleu-voile); color: var(--bleu-2); }
.mega__colonne a .num { color: var(--feutre); font-size: var(--t-xs); }
.mega .mega__carte { display: grid; gap: 0.35rem; padding: 0; text-decoration: none; color: var(--anthracite); background: none; }
.mega__carte-photo { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #ececec; }
.mega__carte-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mega__carte:hover img { transform: scale(1.04); }
.mega__carte-surtitre { font: 600 var(--t-xs)/1 var(--sans); color: var(--bleu); margin-top: 0.3rem; }
.mega__carte-nom { font: 650 var(--t-md)/1.25 var(--sans); }
.mega .mega__tout { padding: 0; background: none; font: 600 var(--t-sm)/1.45 var(--sans); color: var(--anthracite); text-decoration: underline; text-decoration-color: var(--moutarde); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
@media (max-width: 1100px) {
  .mega { padding: 0.4rem 0 1rem 0.6rem; }
  .mega__colonne { margin-bottom: 0.8rem; }
  .mega__cote { display: none; }
}

/* --- Comparatif v2 --------------------------------------------------------------- */
.duel__photo { position: relative; }
.en-bref { margin: 2.2rem 0 0; padding: clamp(1.3rem, 3vw, 2rem); border-radius: 20px; background: var(--foret); color: var(--blanc); }
.en-bref h2 { color: var(--blanc); font-size: var(--t-xl); margin-bottom: 1rem; }
.en-bref ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.9rem; }
.en-bref li { display: grid; gap: 0.3rem; padding: 1rem 1.1rem; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.en-bref__titre { font: 650 var(--t-xs)/1 var(--sans); color: var(--moutarde); }
.en-bref a { color: var(--blanc); font: 650 var(--t-md)/1.25 var(--sans); text-decoration: none; }
.en-bref a:hover { color: var(--moutarde); }
.en-bref__detail { font: 400 var(--t-sm)/1.4 var(--sans); color: #d6d3cc; }
.barre-duel { display: block; height: 4px; border-radius: 4px; margin-bottom: 0.4rem; background: linear-gradient(90deg, var(--moutarde) var(--v), var(--trait) 0); max-width: 160px; }
.comparaison__total th, .comparaison__total td { font-weight: 700; background: var(--moutarde-voile); }
.superposition { width: 100%; max-width: 760px; margin: 0.5rem auto 2rem; display: block; }
.superposition__a path { fill: color-mix(in srgb, var(--moutarde) 30%, transparent); stroke: var(--bleu); stroke-width: 2; stroke-linejoin: round; }
.superposition__b path { fill: none; stroke: var(--anthracite); stroke-width: 1.6; stroke-dasharray: 6 5; stroke-linejoin: round; }
.superposition__cote-a path { stroke: var(--bleu); stroke-width: 1.4; fill: none; }
.superposition__cote-b path { stroke: var(--anthracite); stroke-width: 1.2; stroke-dasharray: 4 4; fill: none; }
.superposition text { font: 600 12px var(--sans); text-anchor: middle; fill: var(--anthracite); }
.superposition__cote-a text { fill: var(--bleu-2); }
.duel__pc { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.duel__pc-col h3 { font-size: var(--t-lg); margin-bottom: 1rem; }
.duel__pc .pour-contre { grid-template-columns: 1fr 1fr; gap: 1rem; }
.duel__pc-titre { font: 650 var(--t-sm)/1 var(--sans); margin: 0 0 0.7rem; }
.lequel { padding: 1.4rem; border-radius: 18px; background: var(--blanc); border: 1px solid var(--trait); display: grid; gap: 0.8rem; align-content: start; }
.lequel h3 { margin: 0; }
.lequel .bouton { justify-self: start; margin-top: 0.4rem; }
.duels-liens--grille { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
@media (max-width: 800px) { .duel__pc, .duel__pc .pour-contre { grid-template-columns: minmax(0, 1fr); } }

.illustration { width: 100%; height: 100%; display: block; }

/* --- Hub des comparatifs ----------------------------------------------------------- */
.filtres-duels { display: grid; gap: 0.8rem; padding: 1.2rem 1.4rem; border-radius: 18px; background: var(--blanc); border: 1px solid var(--trait); margin-bottom: 1.2rem; }
.filtre-duels { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.filtre-duels__label { font: 650 var(--t-sm)/1 var(--sans); min-width: 6.5rem; }
.pilule { border: 1px solid var(--trait); background: var(--platre); color: var(--anthracite); border-radius: 999px; padding: 0.5rem 0.9rem; font: 500 var(--t-sm)/1 var(--sans); cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease; }
.pilule .num { color: var(--feutre); font-size: var(--t-xs); margin-left: 0.2rem; }
.pilule:hover { border-color: var(--moutarde); }
.pilule.est-active { background: var(--foret); border-color: var(--foret); color: var(--blanc); }
.pilule.est-active .num { color: var(--moutarde); }
.comparatifs__total { font: 500 var(--t-sm)/1 var(--sans); color: var(--feutre); margin: 0 0 1.2rem; }
.comparatifs__total span { color: var(--anthracite); font-weight: 700; }
.duel-tuile__photos { position: relative; }
.duel-tuile__ou { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--moutarde); font: italic 400 1rem/1 var(--serif); color: var(--anthracite); }
.duel-tuile__meta { font: 500 var(--t-xs)/1.2 var(--sans); color: var(--bleu); }
.comparatifs__plus { display: flex; margin: 2rem auto 0; }
@media (max-width: 700px) { .filtre-duels__label { width: 100%; } }

/* --- Bulle d'information (« i ») ---------------------------------------------------- */
.info { position: relative; display: inline-flex; align-self: center; margin-left: 0.3rem; }
.info__bouton { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--bleu); background: transparent; color: var(--bleu); font: italic 700 13px/1 var(--serif); cursor: pointer; display: grid; place-items: center; padding: 0; }
.info__bouton:hover, .info__bouton[aria-expanded="true"] { background: var(--bleu); color: var(--blanc); }
.info__bulle { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); z-index: 20; width: min(320px, 80vw); padding: 1rem 1.1rem; border-radius: 14px; background: var(--foret); color: #e9e7e1; font: 400 var(--t-sm)/1.5 var(--sans); box-shadow: var(--ombre); opacity: 0; visibility: hidden; transition: opacity 0.15s ease, visibility 0.15s; }
.info__bulle strong { color: var(--blanc); }
.info__bulle a { display: inline-block; margin-top: 0.5rem; color: var(--moutarde); font-weight: 600; }
.info__bulle::before { content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; background: var(--foret); transform: translateX(-50%) rotate(45deg); }
.info__bouton[aria-expanded="true"] + .info__bulle, .info:hover .info__bulle { opacity: 1; visibility: visible; }
@media (max-width: 600px) { .info__bulle { left: auto; right: -2rem; transform: none; } .info__bulle::before { left: auto; right: 2.3rem; } }

/* --- Pages marques ------------------------------------------------------------------ */
/* Brand band, compact (28/09): one line of figures, then chips that filter the selection. */
.marque-bandeau { padding: 0 0 1rem; }
.marque-bandeau__chiffres { display: flex; flex-wrap: wrap; gap: 0.35rem 1.6rem; margin: 0 0 0.9rem; color: var(--feutre); font: 400 var(--t-sm)/1.4 var(--sans); }
.marque-bandeau__chiffres strong { color: var(--anthracite); font-size: 1.25em; font-weight: 700; margin-right: 0.15em; }
.marque-bandeau__puces { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; }
.marque-bandeau__groupe { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.marque-bandeau__lib { font: 600 var(--t-xs)/1 var(--sans); color: var(--feutre); text-transform: uppercase; letter-spacing: 0.04em; margin-right: 0.3rem; }
.bulle-filtre { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 32px; padding: 0 0.75rem; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); color: var(--anthracite); font: 500 var(--t-xs)/1 var(--sans); cursor: pointer; transition: border-color .15s, background .15s; }
.bulle-filtre small { color: var(--bleu); }
.bulle-filtre:hover { border-color: var(--moutarde); }
.bulle-filtre[aria-pressed="true"] { background: var(--foret); border-color: var(--foret); color: var(--blanc); }
.bulle-filtre[aria-pressed="true"] small { color: var(--moutarde); }
@media (max-width: 700px) {
  .marque-bandeau__puces { gap: 0.5rem; }
  .marque-bandeau__chiffres { gap: 0.2rem 1rem; }
  /* One swipeable line per group on phones, so the selection starts higher. */
  .marque-bandeau__groupe { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; width: calc(100% + 32px); }
  .marque-bandeau__groupe::-webkit-scrollbar { display: none; }
  .marque-bandeau__lib, .bulle-filtre { flex: none; }
}

/* --- Zoom plein écran ----------------------------------------------------------------- */
.zoom { position: fixed; inset: 0; z-index: 60; background: rgba(29, 30, 33, 0.94); display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; padding: 2rem 1rem; }
.zoom[hidden] { display: none; }
.zoom__image { grid-column: 2; grid-row: 1; max-width: 100%; max-height: 86vh; margin: 0 auto; object-fit: contain; border-radius: 10px; background: #ececec; }
.zoom__nav, .zoom__fermer { border: 0; background: rgba(255,255,255,.08); color: #fff; width: 52px; height: 52px; border-radius: 50%; font: 400 2rem/1 var(--sans); cursor: pointer; display: grid; place-items: center; }
.zoom__nav:hover, .zoom__fermer:hover { background: var(--moutarde); color: var(--anthracite); }
.zoom__fermer { position: absolute; top: 1rem; right: 1rem; }
.zoom__compteur { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #d6d3cc; font: 500 var(--t-sm)/1 var(--sans); margin: 0; }
body.zoom-ouvert { overflow: hidden; }
@media (max-width: 700px) { .zoom { grid-template-columns: 0 minmax(0, 1fr) 0; } .zoom__nav { display: none; } }

.auteur-page__tete { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 2.5rem; align-items: center; padding: 1rem 0 2.5rem; }
.auteur-page__tete img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid var(--moutarde); }
.auteur-page__tete h1 { font-size: clamp(2.4rem, 1.4rem + 3vw, 4rem); margin-bottom: 0.3em; }
.auteur-page .bulles a { display: inline-block; }
@media (max-width: 700px) { .auteur-page__tete { grid-template-columns: minmax(0, 1fr); } .auteur-page__tete img { width: 120px; height: 120px; } }

/* --- Comparateur libre ----------------------------------------------------------------- */
.carte__comparer { position: absolute; left: 0.7rem; bottom: calc(100% - 0.7rem); transform: translateY(100%); z-index: 2; display: none; }
.carte__comparer { position: relative; left: auto; bottom: auto; transform: none; display: inline-flex; align-items: center; gap: 0.4rem; align-self: flex-start; z-index: 1; font: 500 var(--t-xs)/1 var(--sans); color: var(--feutre); order: 10; cursor: pointer; }
.carte__comparer input { accent-color: var(--bleu); width: 16px; height: 16px; margin: 0; }
.barre-comparer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 36; background: var(--foret); color: var(--blanc); box-shadow: 0 -12px 30px -18px rgba(0,0,0,.6); }
.barre-comparer__contenu { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.barre-comparer__noms { flex: 1; font: 500 var(--t-sm)/1.3 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barre-comparer .bouton--discret { color: var(--blanc); border-color: rgba(255,255,255,.3); }
.barre-comparer .bouton--marchand { background: var(--moutarde); color: var(--anthracite); }
.barre-comparer .est-inactif { opacity: 0.5; pointer-events: none; }
.comparer__grille { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 1.4rem; margin-bottom: 2rem; }
.comparer__col { position: relative; display: grid; gap: 0.6rem; align-content: start; }
.comparer__col .bouton { justify-self: start; }
.comparer__table th[scope=row] { width: 18%; }
.comparer__liste { margin: 0; padding-left: 1rem; }
@media (max-width: 700px) { .comparer__grille { grid-template-columns: repeat(var(--n), minmax(200px, 1fr)); overflow-x: auto; } }

/* Voir chez moi (AR) */
/* Secondary on purpose (29/09): the merchant button stays the main action. */
.voir-chez-moi { margin-top: 0.9rem; width: 100%; min-height: 54px; gap: 0.7rem; background: var(--blanc); color: var(--anthracite); border-color: var(--trait); }
.voir-chez-moi svg { color: var(--bleu); }
.voir-chez-moi:hover, .voir-chez-moi:focus-visible { border-color: var(--anthracite); }
.voir-chez-moi svg { flex: none; }
.voir-chez-moi__texte { display: grid; gap: 0.2rem; text-align: left; }
.voir-chez-moi__texte strong { font: 650 var(--t-md)/1.1 var(--sans); }
.voir-chez-moi__texte small { font: 500 var(--t-xs)/1.2 var(--sans); opacity: 0.8; }
.galerie__principale { position: relative; }
.ar-pastille { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.9rem; border: 0; border-radius: 999px; background: rgba(250, 250, 248, 0.94); color: var(--anthracite); font: 650 var(--t-sm)/1 var(--sans); cursor: pointer; box-shadow: 0 4px 14px -6px rgba(35, 38, 43, 0.5); }
.ar-pastille span { padding: 0.2rem 0.4rem; border-radius: 6px; background: var(--moutarde); font-size: var(--t-xs); letter-spacing: 0.04em; }
.voir-chez-moi[hidden], .ar-pastille[hidden] { display: none; }
/* AI scene of life (30/09): discreet notice, bottom left of the photo (the heart is bottom right). */
.galerie__ia { position: absolute; left: 12px; bottom: 12px; padding: 0.3rem 0.65rem; border-radius: 999px; background: rgba(250, 250, 248, 0.9); color: var(--anthracite); font: 500 var(--t-xs)/1.2 var(--sans); pointer-events: none; }
.galerie__ia[hidden] { display: none; }
.ar-pastille:hover, .ar-pastille:focus-visible { background: var(--anthracite); color: var(--blanc); }
.ar { width: min(920px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 0; border: 0; border-radius: 18px; background: var(--platre); color: var(--anthracite); }
.ar::backdrop { background: rgba(37, 39, 43, 0.72); }
.ar__tete { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--trait); }
.ar__tete p { margin: 0; }
.ar__fermer { width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; color: var(--anthracite); }
.ar__scene { aspect-ratio: 4 / 3; max-height: 62dvh; background: linear-gradient(var(--platre), #e2e0d9); }
.ar__scene model-viewer { width: 100%; height: 100%; --poster-color: transparent; }
.ar__mobile { padding: 1rem 1.1rem 1.2rem; display: grid; gap: 0.8rem; }
.ar__mobile[hidden], .ar__lancer[hidden], .ar__non[hidden], .ar__aide[hidden] { display: none; }
.ar__lancer { width: 100%; min-height: 54px; background: var(--moutarde); color: var(--anthracite); font-size: var(--t-md); text-decoration: none; }
.ar__lancer img { width: 28px; height: 20px; object-fit: contain; }
.ar__non p { margin: 0 0 0.7rem; font-size: var(--t-sm); }
.ar__aide { margin: 0; font-size: var(--t-sm); color: var(--gris, #5d5f63); }

/* Sélections de comparatifs : sauts vers les deux sections */
.sel-sauts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; margin: 0 0 1.6rem; }
.sel-saut { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.2rem; border: 1px solid var(--trait); border-radius: 14px; background: var(--blanc); color: var(--anthracite); text-decoration: none; transition: border-color 0.15s ease; }
.sel-saut:hover { border-color: var(--moutarde); }
.sel-saut strong { font: 650 var(--t-md)/1.2 var(--sans); }
.sel-saut .num { font-weight: 700; color: var(--bleu); }
.sel-saut__vs { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--foret); color: var(--moutarde); font: italic 600 1rem/1 var(--serif); }
.sel-saut__vs--note { background: var(--moutarde); color: var(--anthracite); font-style: normal; }
.sel-section { scroll-margin-top: 90px; margin-top: 2.6rem; }
.sel-section > h2 { margin-bottom: 1.2rem; }
.sel-collection { margin: -0.4rem 0 1.2rem; color: var(--feutre); }
.sel-collection a { color: var(--bleu); font-weight: 600; }
.sel-carte { display: contents; }
.sel-carte[hidden] { display: none; }
.sel-affiner { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--trait); }
.sel-affiner ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sel-affiner a { display: inline-block; padding: 0.5rem 0.9rem; border: 1px solid var(--trait); border-radius: 999px; text-decoration: none; color: var(--anthracite); font: 500 var(--t-sm)/1 var(--sans); }
.sel-affiner a:hover { border-color: var(--moutarde); }
/* Guide text at the bottom of a selection (30/09): the intro above, then the tiles and the panel over
   the whole width, like the collections (the tiles used to fall into a 320px column: "Pourqu…"). */
.sel-dossier__corps { display: block; }
.sel-dossier__intro { max-width: var(--lecture); margin: 0 0 clamp(1.4rem, 3vw, 2.2rem); }
.sel-dossier .onglets--tuiles .onglets__onglet { min-height: 128px; }
a.pilule { text-decoration: none; display: inline-block; }
.pilule.est-vide { opacity: 0.45; }
@media (max-width: 640px) { .sel-sauts { grid-template-columns: minmax(0, 1fr); } }

/* Ordre : « Meilleurs » d'abord dès qu'il est affiché, puis « Comparatifs » (ordre du document). */
.sel-sections { display: flex; flex-direction: column; }
.sel-sauts { margin: 1.2rem 0 1rem; }
.sel-sauts[hidden] { display: none; }
.sel-saut__detail { display: block; font: 400 var(--t-sm)/1.3 var(--sans); color: var(--feutre); margin-top: 0.2rem; }
.sel-affiner-barre { display: flex; flex-wrap: wrap; align-items: end; gap: 0.8rem 1.4rem; padding: 1rem 1.2rem; margin: 0 0 0.6rem; border: 1px solid var(--trait); border-radius: 14px; background: var(--blanc); font: 500 var(--t-sm)/1.2 var(--sans); }
.sel-affiner-barre label { display: grid; gap: 0.4rem; }
.sel-affiner-barre select { min-height: 40px; padding: 0 0.7rem; border: 1px solid var(--trait); border-radius: var(--r-ctl); background: var(--platre); font: inherit; color: var(--anthracite); }
.sel-affiner-barre__largeur { flex: 1 1 240px; }
.sel-affiner-barre__largeur input { width: 100%; accent-color: var(--moutarde); }
.sel-affiner-barre strong { color: var(--bleu); }

/* Mon salon */
.salon__outil { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 1.6rem; margin: 1.6rem 0 2.4rem; }
.salon__mesures { display: grid; gap: 1rem; align-content: start; padding: 1.2rem; border: 1px solid var(--trait); border-radius: 14px; background: var(--blanc); }
.salon__type { border: 0; padding: 0; margin: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.salon__type legend { font-weight: 650; margin-bottom: 0.5rem; }
.salon__champ { display: grid; gap: 0.35rem; font-weight: 600; }
.salon__champ span { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.salon__champ input[type=number] { width: 7rem; min-height: 44px; padding: 0 0.7rem; border: 1px solid var(--trait); border-radius: var(--r-ctl); font: 600 var(--t-md)/1 var(--sans); }
.salon__champ--case { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.salon__aide { margin: 0; font-size: var(--t-sm); color: var(--feutre); }
.salon__plan { margin: 0; padding: 1rem; border: 1px solid var(--trait); border-radius: 14px; background: #f7f6f2; }
.salon__plan svg { width: 100%; height: auto; display: block; }
.salon__plan figcaption { font-size: var(--t-sm); margin-top: 0.6rem; }
.salon__mur { fill: none; stroke: var(--anthracite); stroke-width: 5; stroke-linecap: square; }
.salon__sol { fill: rgba(214, 166, 43, 0.08); stroke: var(--moutarde); stroke-dasharray: 4 4; }
.salon__cote { fill: none; stroke: var(--bleu); stroke-width: 1; }
.salon__texte { font: 600 11px var(--sans); fill: var(--bleu); }
.salon__canape { fill: var(--foret); opacity: 0.85; }
.salon__canape.est-trop-grand { fill: #b3452f; }
.salon__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.salon__actions .bouton { min-height: 38px; padding: 0 0.9rem; }
.salon__carte.est-choisi { outline: 2px solid var(--moutarde); outline-offset: 4px; border-radius: 14px; }
@media (max-width: 800px) { .salon__outil { grid-template-columns: minmax(0, 1fr); } }
.pastille-couleur { display: inline-block; width: 0.85em; height: 0.85em; margin-right: 0.45em; vertical-align: -0.08em; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); }

.ar__bureau { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 2rem; }
.ar__bureau[hidden], .ar__scene[hidden], .ar__aide[hidden] { display: none; }
.ar__photo { margin: 0; display: grid; gap: 0.8rem; }
.ar__photo img { width: 100%; height: auto; max-height: 340px; object-fit: contain; }
.ar__qr { text-align: center; }
.ar__qr-code { width: 190px; height: 190px; margin: 0 auto 1rem; padding: 10px; background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--trait); }
.ar__qr-code svg { width: 100%; height: 100%; display: block; }
.ar__qr p { margin: 0.3rem 0; font-size: var(--t-sm); }
.ar__qr p strong { font-size: var(--t-md); }
@media (max-width: 700px) { .ar__bureau { grid-template-columns: minmax(0, 1fr); padding: 1.2rem; } }
@media (min-width: 1101px) { #mega-canapes .mega__colonnes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Filtres : étiquettes des filtres actifs, groupes longs repliés */
.filtres-actifs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 1.2rem; }
/* Its room is kept when empty: the grid no longer jumps down at the first filter and up at the last (29/09). */
.filtres-actifs { min-height: 2.3rem; align-items: center; }
.filtres-actifs.est-vide { visibility: hidden; }
.puce { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 36px; padding: 0 0.85rem; border: 1px solid var(--foret); border-radius: 999px; background: var(--foret); color: var(--blanc); font: 500 var(--t-sm)/1 var(--sans); cursor: pointer; }
.puce span[aria-hidden] { color: var(--moutarde); font-size: 1.1em; }
.puce:hover { background: var(--anthracite); }
.puce--tout { background: transparent; color: var(--anthracite); border-color: var(--trait); }
.filtre--long.est-replie .filtre__option:nth-of-type(n+7) { display: none; }
.filtre__plus { margin-top: 0.3rem; padding: 0.4rem 0; border: 0; background: none; color: var(--bleu); font: 600 var(--t-sm)/1 var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
a.format--lien { color: inherit; text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
a.format--lien:hover .format__bouton { border-color: var(--anthracite); background: var(--anthracite); color: var(--blanc); }

.ar__note { margin: 0; font-size: var(--t-sm); color: var(--feutre); }
.ar__copier { border: 0; background: none; padding: 0; color: var(--bleu); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.ar-camera { position: fixed; inset: 0; z-index: 10; background: #000; overflow: hidden; touch-action: none; }
.ar-camera[hidden] { display: none; }
.ar-camera video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-camera__canape { position: absolute; max-width: none; height: auto; filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.45)); cursor: grab; user-select: none; -webkit-user-drag: none; }
.ar-camera__viseur { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2px solid var(--moutarde); border-radius: 50%; pointer-events: none; }
.ar-camera__haut, .ar-camera__bas { position: absolute; left: 0; right: 0; padding: 14px 16px; color: #fff; background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)); }
.ar-camera__haut { top: 0; padding-top: calc(14px + env(safe-area-inset-top, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ar-camera__haut p { margin: 0; font: 600 var(--t-md)/1.3 var(--sans); }
.ar-camera__bas { bottom: 0; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)); font: 400 var(--t-sm)/1.4 var(--sans); }
.ar-camera__bas label { display: grid; gap: 0.4rem; }
.ar-camera__bas input { width: 100%; accent-color: var(--moutarde); }
.ar-camera__bas p { margin: 0.5rem 0 0; opacity: 0.85; }
.ar__fermer--clair { color: #fff; }

/* Consentement aux cookies : carte plâtre, trait de cote, refus aussi visible que l'accord */
.consentement { position: fixed; left: 24px; bottom: 24px; z-index: 60; width: min(400px, calc(100vw - 32px)); padding: 1.4rem 1.4rem 1.1rem; background: var(--platre); color: var(--anthracite); border: 1px solid var(--trait); border-radius: 18px; box-shadow: 0 24px 60px rgba(37, 39, 43, 0.22); display: grid; gap: 0.8rem; opacity: 0; transform: translateY(16px); transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.1, 1); }
.consentement.est-visible { opacity: 1; transform: none; }
.consentement__cote { display: flex; align-items: center; gap: 0.5rem; color: var(--bleu); font: 600 var(--t-xs)/1 var(--sans); letter-spacing: 0.04em; }
.consentement__cote::before, .consentement__cote::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.consentement__cote i { width: 1px; height: 10px; background: currentColor; }
.consentement__titre { margin: 0; font: 700 var(--t-lg)/1.2 var(--sans); text-wrap: balance; }
.consentement__texte { margin: 0; font: 400 var(--t-sm)/1.55 var(--serif); color: var(--anthracite); }
.consentement__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.2rem; }
.consentement__oui { background: var(--moutarde); color: var(--anthracite); border-color: var(--moutarde); font-weight: 700; }
.consentement__oui:hover { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); }
.consentement__non { background: transparent; color: var(--anthracite); border-color: var(--anthracite); font-weight: 700; }
.consentement__non:hover { background: var(--anthracite); color: var(--blanc); }
.consentement__lien { justify-self: start; font: 500 var(--t-xs)/1 var(--sans); color: var(--feutre); text-underline-offset: 3px; }
.pied__cookies { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.pied__cookies:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .consentement { left: 0; right: 0; bottom: 0; width: auto; border-radius: 20px 20px 0 0; padding-bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .consentement { transition: none; } }
.consentement[hidden], .ar-camera[hidden] { display: none; }

/* --- Menu mobile : tiroir anthracite, tout visible d'un coup ------------------ */
.tiroir { display: none; }
@media (max-width: 1100px) {
  body.menu-ouvert { overflow: hidden; }
  body.menu-ouvert .consentement { display: none; }
  body.menu-ouvert .entete { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--foret); border-color: transparent; }
  body.menu-ouvert .entete .marque-site, body.menu-ouvert .entete .reseaux a { color: var(--platre); }
  body.menu-ouvert .entete .bouton-menu { background: var(--moutarde); border-color: var(--moutarde); color: var(--anthracite); }
  body.menu-ouvert .entete { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
  .nav-principale { display: block; position: fixed; inset: var(--haut-entete, 64px) 0 0 0; max-height: none; margin: 0; padding: 0.4rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px)); border: 0; background: var(--foret); color: var(--platre); overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transition: opacity 0.22s ease, visibility 0s linear 0.22s; z-index: 50; }
  .nav-principale.est-ouvert { visibility: visible; opacity: 1; transition: opacity 0.22s ease; }
  .nav-principale__liste { display: none; }
  .tiroir { display: grid; gap: 1.6rem; }
  .tiroir a { color: inherit; text-decoration: none; }
  .tiroir__une { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: #3a3c42; }
  .tiroir__une img { width: 100%; height: 100%; object-fit: cover; }
  .tiroir__une-texte { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.1rem 1rem; background: linear-gradient(transparent, rgba(24, 25, 28, 0.82)); display: grid; gap: 0.2rem; }
  .tiroir__une-texte small { font: 600 var(--t-xs)/1 var(--sans); color: var(--moutarde); }
  .tiroir__une-texte strong { font: 700 1.45rem/1.1 var(--sans); letter-spacing: -0.01em; color: #fff; }
  .tiroir__titre { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.75rem; font: 600 var(--t-sm)/1 var(--sans); color: rgba(239, 238, 234, 0.72); }
  .tiroir__titre::before { content: ""; width: 18px; height: 9px; border-left: 1px solid var(--moutarde); border-right: 1px solid var(--moutarde); background: linear-gradient(var(--moutarde), var(--moutarde)) center / 100% 1px no-repeat; }
  .tiroir__pastilles { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .tiroir__pastille { padding: 0.62rem 1rem; border: 1px solid rgba(239, 238, 234, 0.2); border-radius: 999px; font: 500 var(--t-sm)/1 var(--sans); transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
  .tiroir__pastille::first-letter { text-transform: uppercase; }
  .tiroir__pastille:active, .tiroir__pastille:hover { background: var(--moutarde); border-color: var(--moutarde); color: var(--anthracite); }
  .tiroir__marques { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
  .tiroir__marques a { display: block; padding: 0.7rem 0; border-bottom: 1px solid rgba(239, 238, 234, 0.12); font: 500 var(--t-md)/1.2 var(--sans); }
  .tiroir__duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .tiroir__carte { display: grid; align-content: end; gap: 0.3rem; min-height: 108px; padding: 1rem; border-radius: 16px; background: var(--platre); color: var(--anthracite) !important; }
  .tiroir__carte:first-child { background: var(--moutarde); }
  .tiroir__carte small { font: 600 var(--t-xs)/1 var(--sans); color: var(--bronze, #8c680c); }
  .tiroir__carte:first-child small { color: rgba(37, 39, 43, 0.7); }
  .tiroir__carte strong { font: 700 var(--t-md)/1.15 var(--sans); }
  .tiroir__mag { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0.9rem; align-items: center; padding: 0.6rem; border-radius: 16px; background: rgba(239, 238, 234, 0.06); }
  .tiroir__mag img { width: 112px; height: 72px; object-fit: cover; border-radius: 10px; }
  .tiroir__mag span { display: grid; gap: 0.25rem; }
  .tiroir__mag small { font: 600 var(--t-xs)/1 var(--sans); color: var(--moutarde); }
  .tiroir__mag strong { font: 600 var(--t-sm)/1.3 var(--sans); }
  .tiroir__outils { display: grid; gap: 0; border-top: 1px solid rgba(239, 238, 234, 0.12); }
  .tiroir__outils a { padding: 0.9rem 0; border-bottom: 1px solid rgba(239, 238, 234, 0.12); font: 500 var(--t-sm)/1.2 var(--sans); color: rgba(239, 238, 234, 0.85) !important; }
}
@media (max-width: 1100px) and (prefers-reduced-motion: reduce) { .nav-principale, .nav-principale.est-ouvert { transition: none; } }

/* Grilles de canapés sur mobile : 2 par ligne, cartes compactes (Romain, 27/09). */
@media (max-width: 640px) {
  .grille-produits, .duels-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 0.8rem; }
  .grille-produits .carte { gap: 0.4rem; }
  .grille-produits .carte__photo { border-radius: 12px; }
  .grille-produits .carte__titre, .duels-hub .duel-tuile__noms { font-size: var(--t-sm); line-height: 1.25; }
  .grille-produits .carte__variante { font-size: var(--t-xs); }
  .grille-produits .carte__entete { font-size: var(--t-xs); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .grille-produits .carte__pied { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .grille-produits .carte__prix { font-size: var(--t-md); }
  .grille-produits .carte__note { font-size: var(--t-xs); }
  .grille-produits .carte__pastille { top: 0.4rem; right: 0.4rem; min-width: 36px; height: 36px; font-size: var(--t-sm); }
  .grille-produits .carte__cote { font-size: 0.7rem; }
  .grille-produits .carte__comparer { font-size: var(--t-xs); }
  .grille-produits .repere-choix { font-size: 0.65rem; padding: 0.25rem 0.5rem; }
}

/* Fiche : lien méthodologie près de la marque, encart « Comment cette note est calculée » */
.achat__methodo { margin-left: 0.8rem; font: 500 var(--t-sm)/1 var(--sans); color: var(--feutre); text-decoration: underline; text-decoration-color: var(--trait); text-underline-offset: 3px; }
.achat__methodo:hover { color: var(--bleu); text-decoration-color: currentColor; }
.calcul-note { margin: 0.2rem 0 1rem; border-top: 1px solid var(--trait); padding-top: 0.8rem; }
.calcul-note summary { display: flex; align-items: center; gap: 0.55rem; cursor: pointer; list-style: none; font: 600 var(--t-sm)/1.2 var(--sans); color: var(--anthracite); }
.calcul-note summary::-webkit-details-marker { display: none; }
.calcul-note__icone { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--trait); font: 700 0.75rem/1 var(--sans); }
.calcul-note[open] .calcul-note__icone { background: var(--moutarde); }
.calcul-note__corps { margin-top: 0.8rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--blanc); border: 1px solid var(--trait); font: 400 var(--t-sm)/1.55 var(--serif); display: grid; gap: 0.6rem; }
.calcul-note__corps p { margin: 0; }
.calcul-note__corps ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.35rem; }
.calcul-note__n { color: var(--feutre); font-size: 0.92em; }
.calcul-note__corps a { font: 600 var(--t-sm)/1 var(--sans); color: var(--bleu); }
/* The fixed buy bar never hides the end of the page (legal footer). */
body.avec-barre-achat { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 700px) { body.avec-barre-achat { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }

/* Fiche : bouton marchand moutarde, au-dessus de la ligne de flottaison (Romain, 27/09) */
.achat__cta { margin: 0.2rem 0 1.2rem; }
.achat .achat__cta .bouton--marchand { min-height: 58px; background: var(--moutarde); color: var(--anthracite); font-size: var(--t-md); font-weight: 700; border-radius: 999px; box-shadow: 0 10px 24px -12px rgba(140, 104, 12, 0.7); }
.achat .achat__cta .bouton--marchand:hover { background: var(--anthracite); color: var(--blanc); }
@media (min-width: 901px) { .achat__titre { font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.08; } }

/* Méthodologie */
.methodo__surtitre { margin: 0 0 0.6rem; font: 600 var(--t-sm)/1 var(--sans); color: var(--bleu); }
.methodo__chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.8rem; margin: 0.6rem 0 2.6rem; }
.methodo__chiffres div { display: grid; gap: 0.3rem; padding: 1.1rem 1.2rem; border: 1px solid var(--trait); border-radius: 14px; background: var(--blanc); }
.methodo__chiffres strong { font: 700 1.6rem/1.1 var(--sans); color: var(--anthracite); }
.methodo__chiffres span { font: 400 var(--t-sm)/1.3 var(--sans); color: var(--feutre); }
.methodo__etapes { display: grid; gap: 0.8rem; padding-left: 1.3rem; }
.methodo__etapes li::marker { color: var(--bleu); font-weight: 700; }
.methodo__grille { display: grid; gap: 0.6rem; margin: 1rem 0 1.4rem; }
.methodo__grille > div { padding: 0.9rem 1.1rem; border-left: 3px solid var(--moutarde); background: var(--blanc); border-radius: 0 12px 12px 0; }
.methodo__grille dt { font: 700 var(--t-md)/1.2 var(--sans); margin-bottom: 0.3rem; }
.methodo__grille dd { margin: 0; }
.methodo__moy { display: block; margin-top: 0.3rem; font: 500 var(--t-sm)/1.3 var(--sans); color: var(--bleu); }
.pied__prix { font-style: italic; color: rgba(239, 238, 234, 0.45); font-size: var(--t-xs); }
/* Sommaire des guides : replié sur mobile, il doit se voir dépliable. */
.sommaire-guide summary { display: flex; align-items: center; gap: 0.5rem; }
.sommaire-guide__n { font-weight: 400; color: var(--feutre); }
.sommaire-guide summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 1.6px solid var(--bleu); border-bottom: 1.6px solid var(--bleu); transform: translateY(-3px) rotate(45deg); transition: transform 0.2s ease; }
.sommaire-guide details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
@media (max-width: 1000px) { .sommaire-guide details:not([open]) summary { margin-bottom: 0; } }

/* --- Toutes les marques (28/09) ---------------------------------------------------------- */

.carte-prix { position: relative; margin-top: 1.4rem; padding-top: 2rem; }
.carte-prix__regle { position: absolute; top: 0; bottom: 0; left: calc(12rem + 1rem); right: calc(5rem + 1rem); pointer-events: none; }
.carte-prix__regle span { position: absolute; top: 0; transform: translateX(-50%); font: 500 var(--t-xs)/1 var(--sans); color: var(--feutre); }
.carte-prix__regle span::after { content: ""; position: absolute; left: 50%; top: 1.3rem; height: 100vh; max-height: calc(var(--h, 2000px)); border-left: 1px dashed var(--trait); }
.carte-prix { overflow: hidden; }
.carte-prix__groupe { position: relative; display: flex; align-items: center; gap: 0.5rem; margin: 1rem 0 0.4rem; font: 600 var(--t-sm)/1 var(--sans); background: var(--platre); width: fit-content; padding-right: 0.6rem; }
.carte-prix__groupe small { font-weight: 400; color: var(--feutre); }
.pastille { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.pastille--analyse { background: var(--bleu); }
.pastille--marche { background: var(--blanc); border: 2px solid var(--feutre); }
.carte-prix__ligne { position: relative; display: grid; grid-template-columns: 12rem minmax(0, 1fr) 5rem; gap: 1rem; align-items: center; min-height: 30px; border-radius: 6px; }
.carte-prix__ligne:hover { background: var(--moutarde-voile); }
.carte-prix__nom { font: 500 var(--t-sm)/1.2 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 0.3rem; }
.carte-prix__nom small { color: var(--feutre); }
.carte-prix__piste { position: relative; height: 14px; }
.carte-prix__cote { position: absolute; top: 6px; height: 2px; background: var(--bleu); }
.carte-prix__cote::before, .carte-prix__cote::after { content: ""; position: absolute; top: -4px; width: 1px; height: 10px; background: var(--bleu); }
.carte-prix__cote::before { left: 0; } .carte-prix__cote::after { right: 0; }
.carte-prix__med { position: absolute; top: 2px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--bleu); box-shadow: 0 0 0 2px var(--platre); }
.carte-prix__ligne--marche .carte-prix__cote { background: var(--feutre); }
.carte-prix__ligne--marche .carte-prix__med { background: var(--blanc); border: 2px solid var(--feutre); }
.carte-prix__val { font: 600 var(--t-sm)/1 var(--sans); text-align: right; padding-right: 0.3rem; }

@media (max-width: 800px) {
  .carte-prix__ligne { grid-template-columns: 7.5rem minmax(0, 1fr) 4rem; gap: 0.5rem; }
  .carte-prix__regle { left: calc(7.5rem + 0.5rem); right: calc(4rem + 0.5rem); }
}

/* Mega-menu, easier to read (28/09): each group is a card with its own title rule. */
@media (min-width: 1101px) {
  #mega-canapes .mega__colonne, #mega-mag .mega__colonne { background: var(--platre); border-radius: 14px; padding: 1rem 1.1rem 0.8rem; }
  #mega-canapes .mega__colonnes, #mega-mag .mega__colonnes { gap: 0.9rem; }
  .mega__titre { font: 700 var(--t-xs)/1 var(--sans); text-transform: uppercase; letter-spacing: 0.07em; color: var(--anthracite); padding-bottom: 0.6rem; margin-bottom: 0.45rem; border-bottom: 2px solid var(--moutarde); }
  .mega__colonne a { padding: 0.36rem 0.6rem; }
  .mega__colonne a:hover { background: var(--blanc); }
}
/* "Toutes les marques": a summary link, set apart from the brand list (Romain, 28/09). */
.mega__colonne li:has(> a[href$="/marques-de-canapes/"]) { margin-top: 0.35rem; padding-top: 0.35rem; border-top: 1px solid var(--trait); }
.mega__colonne a[href$="/marques-de-canapes/"] { font-weight: 650; color: var(--bleu-2); justify-content: flex-start; }
.mega__colonne a[href$="/marques-de-canapes/"]::after { content: "\2192"; color: var(--moutarde); }

/* Guided choice in 3 questions (28/09). */
.bouton--guide { background: var(--moutarde-voile); border: 1px solid var(--moutarde); color: var(--anthracite); font-weight: 650; }
.bouton--guide:hover { background: var(--moutarde); }
.guide-choix { width: min(34rem, calc(100vw - 32px)); border: 0; border-radius: 18px; padding: 1.6rem 1.6rem 1.3rem; background: var(--blanc); color: var(--anthracite); box-shadow: var(--ombre); }
.guide-choix::backdrop { background: rgba(29, 30, 33, 0.55); }
.guide-choix h2 { font-size: var(--t-xl); margin: 0.2rem 0 1rem; }
.guide-choix__cote { display: flex; align-items: center; gap: 0.5rem; color: var(--bleu); font: 600 var(--t-xs)/1 var(--sans); margin: 0; }
.guide-choix__cote i { flex: 1; height: 1px; background: currentColor; }
.guide-choix fieldset { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.35rem; }
.guide-choix legend { font: 650 var(--t-sm)/1.3 var(--sans); margin-bottom: 0.4rem; padding: 0; }
.guide-choix label { display: flex; align-items: center; gap: 0.5rem; font: 400 var(--t-sm)/1.3 var(--sans); cursor: pointer; }
.guide-choix input[type=radio] { accent-color: var(--bleu); }
.guide-choix__ligne { display: flex; align-items: center; gap: 0.5rem; margin: 0; font: 400 var(--t-sm)/1 var(--sans); flex-wrap: wrap; }
.guide-choix__ligne input { width: 7rem; padding: 0.55rem 0.7rem; border: 1px solid var(--trait); border-radius: 10px; font: 600 var(--t-md)/1 var(--sans); }
.guide-choix__ligne a { color: var(--bleu); }
.guide-choix__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.4rem; }
.guide-resultat { margin: 0 0 1rem; padding: 0.8rem 1rem; border-left: 3px solid var(--moutarde); background: var(--blanc); border-radius: 0 10px 10px 0; font: 500 var(--t-sm)/1.45 var(--sans); }
.carte--pour-vous { outline: 2px solid var(--moutarde); outline-offset: 4px; border-radius: var(--r-img); }
.carte--pour-vous::before { content: "Le mieux noté pour vous"; position: absolute; z-index: 3; top: -0.7rem; left: 0.8rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--moutarde); color: var(--anthracite); font: 700 var(--t-xs)/1 var(--sans); }
/* Four menu columns need the room: narrower side card, tighter gaps (28/09). */
@media (min-width: 1101px) {
  #mega-canapes.mega { grid-template-columns: minmax(0, 1fr) 220px; gap: 1.6rem; padding: 1.6rem 1.6rem; }
  #mega-canapes .mega__colonnes { gap: 0.7rem; }
  #mega-canapes .mega__colonne { padding: 0.9rem 0.9rem 0.7rem; }
  #mega-canapes .mega__colonne a { padding: 0.32rem 0.5rem; margin-left: -0.5rem; }
  #mega-canapes .mega__cote { padding-left: 1.4rem; }
}

/* Vignettes: the illustrations share the page ground, a hairline keeps the circle readable (28/09). */
.vignettes-nav img, .vignettes-nav__vide { box-shadow: 0 0 0 1px var(--trait); }
.vignettes-nav__vide { display: block; width: 88px; height: 88px; border-radius: 50%; background: var(--platre-2); }

/* --- Recherche (28/09) ------------------------------------------------------------------ */
.bouton-recherche { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 40px; padding: 0 0.9rem; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); color: var(--anthracite); font: 500 var(--t-sm)/1 var(--sans); cursor: pointer; }
.bouton-recherche svg { width: 18px; height: 18px; }
.bouton-recherche:hover, .bouton-recherche:focus-visible { border-color: var(--moutarde); outline: none; }
@media (max-width: 1100px) { .bouton-recherche span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .bouton-recherche { padding: 0; width: 40px; justify-content: center; } }
.recherche { width: min(44rem, calc(100vw - 32px)); margin-top: 10vh; border: 0; border-radius: 18px; padding: 1rem; background: var(--blanc); color: var(--anthracite); box-shadow: var(--ombre); }
.recherche::backdrop { background: rgba(29, 30, 33, 0.55); }
.recherche form, .resultats__form { display: flex; gap: 0.5rem; }
.recherche input, .resultats__form input { flex: 1; min-width: 0; padding: 0.8rem 1rem; border: 1px solid var(--trait); border-radius: 12px; font: 500 var(--t-md)/1.2 var(--sans); background: var(--platre); color: var(--anthracite); }
.recherche input:focus, .resultats__form input:focus { outline: 2px solid var(--moutarde); outline-offset: 1px; }
.recherche__liste { list-style: none; margin: 0.6rem 0 0; padding: 0; max-height: 60vh; overflow: auto; }
.recherche__liste a { display: flex; align-items: center; gap: 0.8rem; padding: 0.55rem 0.6rem; border-radius: 10px; color: var(--anthracite); text-decoration: none; }
.recherche__liste li.est-choisi a, .recherche__liste a:hover { background: var(--moutarde-voile); }
.recherche__liste img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; background: var(--platre-2); flex: none; }
.recherche__pastille { width: 56px; height: 42px; border-radius: 6px; flex: none; background: var(--platre-2); position: relative; }
.recherche__pastille::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; background: var(--moutarde); }
.recherche__pastille--article::after { background: var(--bleu); }
.recherche__txt { display: grid; gap: 0.15rem; min-width: 0; }
.recherche__t { font: 600 var(--t-sm)/1.25 var(--sans); }
.recherche__s { font: 400 var(--t-xs)/1.3 var(--sans); color: var(--feutre); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recherche__tout a { justify-content: center; color: var(--bleu); font: 600 var(--t-sm)/1 var(--sans); padding: 0.8rem; }
.recherche__rien { padding: 0.9rem 0.6rem; color: var(--feutre); font: 400 var(--t-sm)/1.4 var(--sans); }
.resultats { padding-bottom: 3rem; }
.resultats h1 { font-size: var(--t-3xl); margin: 0.4rem 0 1rem; }
.resultats__form { max-width: 40rem; margin-bottom: 1.6rem; }
.resultats__bloc { padding-top: 1.6rem; }
.resultats__bloc h2 { font-size: var(--t-xl); margin-bottom: 0.8rem; }
.resultats__selections { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 0.6rem; }
.resultats__selections a { display: grid; gap: 0.2rem; padding: 0.9rem 1rem; border: 1px solid var(--trait); border-radius: 12px; background: var(--blanc); color: var(--anthracite); text-decoration: none; }
.resultats__selections a:hover { border-color: var(--moutarde); }
.resultats__selections span { font: 400 var(--t-xs)/1.3 var(--sans); color: var(--feutre); }
.resultats__vide { color: var(--feutre); }

/* --- « Et au-dessus du canapé ? » : le mur et les affiches Brunelia (28/09) ---------------- */
.mur { background: var(--platre-2); }
.mur__grille { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2.4rem; align-items: center; padding-block: 2.6rem; }
.mur__surtitre { margin: 0 0 0.3rem; font: 700 var(--t-xs)/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--bleu); }
.mur__texte h2 { font-size: var(--t-2xl); margin: 0 0 0.6rem; }
.mur__texte p { font-size: 1rem; }
.mur__plan { width: 100%; max-width: 26rem; height: auto; margin-top: 0.8rem; }
.mur__cadre { fill: var(--blanc); stroke: var(--anthracite); stroke-width: 1.4; }
.mur__canape { fill: var(--anthracite); }
.mur__cote { stroke: var(--bleu); stroke-width: 1; }
.mur__txt { fill: var(--bleu); font: 600 9px var(--sans); text-anchor: middle; }
.mur__affiches ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.mur__affiches ul a { display: grid; gap: 0.35rem; color: var(--anthracite); text-decoration: none; }
.mur__affiches img { width: 100%; aspect-ratio: 42 / 59.4; object-fit: cover; background: var(--blanc); box-shadow: 0 0 0 6px var(--blanc), 0 0 0 7px var(--trait), var(--ombre); margin: 7px; width: calc(100% - 14px); }
.mur__affiches ul a:hover .mur__titre { color: var(--bleu); }
.mur__titre { font: 600 var(--t-xs)/1.3 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mur__prix { font: 400 var(--t-xs)/1 var(--sans); color: var(--feutre); }
.mur__mention { margin: 1rem 0 0; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--feutre); }
@media (max-width: 800px) { .mur__grille { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; padding-block: 2rem; } }

.mur--accueil { margin-top: 1rem; }
.mur__affiches--4 ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 600px) { .mur__affiches--4 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Real dimensions of a selection (28/09) */
.dimensions-selection { padding: 0.5rem 0 3rem; }
.dimensions-selection h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); letter-spacing: -0.02em; margin: 0 0 0.6rem; text-wrap: balance; }
.dimensions-selection > p { max-width: 68ch; color: var(--feutre); margin: 0 0 1.2rem; }
.dimensions-selection__table td small { display: block; font-size: 0.82em; margin-top: 0.15rem; }
.dimensions-selection__table td small a { color: inherit; text-decoration-color: var(--trait); }
.dimensions-selection__aide { margin-top: 1rem; font-size: var(--t-sm); }

/* AI-assisted writing notice at the end of articles (28/09) */
.guide__redaction { margin: 1rem 0 0; font-size: var(--t-sm); color: var(--feutre); max-width: 68ch; }

/* Le Mag' pièce par pièce, outil mur, bouton Brunelia (28/09) */
.rubriques--pieces { margin-top: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); }
.rubriques__titre { margin: 0 0.4rem 0 0; font: 700 var(--t-xs)/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--feutre); grid-column: 1 / -1; }
.mur-outil { margin: 2rem 0; padding: 1.4rem; border-radius: 14px; background: var(--platre-2); }
.mur-outil__titre { font: 650 var(--t-lg)/1.25 var(--sans); margin: 0 0 0.8rem; }
.mur-outil__champ { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font: 500 var(--t-sm)/1.3 var(--sans); }
.mur-outil__champ input { width: 6rem; padding: 0.45rem 0.6rem; border: 1px solid var(--trait); border-radius: 8px; font: inherit; background: var(--blanc); }
.mur-outil__resultat { margin: 0.9rem 0; }
.mur-outil__affiches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.mur-outil__affiches a { display: grid; gap: 0.3rem; text-decoration: none; color: inherit; font-size: var(--t-sm); }
.mur-outil__affiches img { width: 100%; height: auto; border-radius: 6px; box-shadow: var(--ombre); }
.brunelia-colle { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; gap: 0.1rem; padding: 0.6rem 1rem; border-radius: 999px; background: var(--anthracite); color: var(--blanc); text-decoration: none; box-shadow: var(--ombre); font: 500 var(--t-xs)/1.2 var(--sans); }
.brunelia-colle strong { font-size: var(--t-sm); color: var(--moutarde); }
@media (max-width: 560px) { .mur-outil__affiches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; } }

/* Price survey date (29/09) */
.achat__releve { margin: 0.25rem 0 0; font-size: var(--t-xs); color: var(--feutre); }

/* Mon salon, step 2: the wall (29/09) */
.salon__mur { margin: 2.5rem 0 1rem; }
.salon__mur h2 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.salon__mur .mur-outil { max-width: 760px; }
.salon__mur .mur-outil__affiches { max-width: 560px; }

/* 3D pill on product cards (29/09) and AR placement tip */
.carte__photo { position: relative; }
.ar-pastille--carte { top: auto; bottom: 10px; left: auto; right: 10px; gap: 0.3rem; padding: 0.3rem 0.5rem 0.3rem 0.45rem; font-size: var(--t-xs); text-decoration: none; }
.ar-pastille--carte span { padding: 0.1rem 0.3rem; }
.ar__conseil { margin: 0 0 0.8rem; font-size: var(--t-sm); color: var(--feutre); }

/* Fiches à variantes (29/09) */
.achat__h2 { margin: 0.2rem 0 0.6rem; font: 500 var(--t-md)/1.35 var(--sans); color: var(--feutre); letter-spacing: 0; }
.variantes { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 0.4rem; margin: 0.3rem 0 0; padding: 0.7rem 0 0.8rem; border-top: 1px solid var(--trait); }
.variantes__titre { margin: 0.15rem 0 0; font: 650 var(--t-xs)/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--feutre); }
.variantes__titre span { margin-left: 0.4rem; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--anthracite); }
/* Formats: compact chips, name then price on one line, so price and button stay above the fold. */
.variantes__formats { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.variantes__format { display: inline-flex; align-items: baseline; gap: 0.45rem; padding: 0.4rem 0.65rem; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); font: 600 var(--t-xs)/1.2 var(--sans); color: var(--anthracite); cursor: pointer; white-space: nowrap; }
.variantes__format small { font-weight: 500; color: var(--feutre); font-size: var(--t-xs); }
@media (min-width: 641px) {
  .variantes__formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .variantes__format { justify-content: space-between; align-items: center; min-width: 0; white-space: normal; border-radius: 12px; text-align: left; }
  .variantes__format small { white-space: nowrap; }
}
.variantes__format[aria-pressed="true"] { border-color: var(--anthracite); background: var(--anthracite); color: var(--blanc); }
.variantes__format[aria-pressed="true"] small { color: inherit; opacity: .8; }
/* Colours: bare swatches, the chosen name sits in the label above. */
.variantes__couleurs { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.variantes__couleurs .coloris__pastille { position: relative; box-sizing: border-box; flex: 0 0 auto; width: 30px; height: 30px; padding: 0; border-radius: 50%; justify-content: center; }
.variantes__couleurs .coloris__pastille span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.variantes__couleurs .coloris__pastille::before { width: 22px; height: 22px; margin: 0; }
.variantes__couleurs .coloris__pastille[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--blanc), 0 0 0 4px var(--anthracite); }
.achat--variantes .achat__h2 { margin-bottom: 0.2rem; }
html.v-attente .fiche { opacity: 0; }
html.f-attente [data-grille] { visibility: hidden; }
html:not(.v-attente) .fiche { transition: opacity 0.12s ease; }
.variantes .variantes__couleurs { margin: 0; gap: 0.3rem; }
/* Variant fiche: note, price, button and the four scores all above the fold. The brand is in the
   H1 and the method is one tap away in the note's (i), so the "Marque" line goes. */
.achat--variantes { gap: 0.7rem; }
.achat--variantes .achat__marque { display: none; }
.achat--variantes .achat__chiffres { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; column-gap: 0; padding: 0.75rem 0; align-items: start; }
.achat--variantes .note-globale { grid-row: 1 / span 2; flex-wrap: wrap; align-items: baseline; align-content: start; row-gap: 0; padding-right: 1rem; }
.achat--variantes .note-globale__chiffre { font-size: var(--t-2xl); line-height: 1; }
.achat--variantes .note-globale::before, .achat--variantes .achat__prix::before { flex-basis: 100%; display: block; margin-bottom: 0.35rem; font: 650 var(--t-xs)/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--feutre); }
.achat--variantes .note-globale::before { content: "Notre note"; }
.achat--variantes .achat__prix::before { content: "Prix constaté"; }
.achat--variantes .achat__prix { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.4rem; text-align: left; line-height: 1; padding-left: 1rem; border-left: 1px solid var(--trait); }
.achat__prix .info--prix { font-size: var(--t-md); }
.info--prix .info__bulle { left: auto; right: -0.5rem; transform: none; width: min(260px, 70vw); }
.achat--variantes .achat__releve { grid-column: 2; margin: 0; padding: 0.3rem 0 0 1rem; border-left: 1px solid var(--trait); text-align: left; font: 400 var(--t-xs)/1.35 var(--sans); }
.achat--variantes .achat__cta { margin: 0.35rem 0 0.4rem; }
.achat--variantes .achat__cta .bouton--marchand { min-height: 52px; }
.achat--variantes .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem 1.4rem; }
.achat--variantes .notes li { font-size: var(--t-xs); gap: 0.25rem 0.6rem; }
.achat--variantes .calcul-note { margin: 0; padding-top: 0.6rem; }
@media (min-width: 901px) {
  .fiche > .enveloppe:first-child, body.type-fiche .entete__barre { width: min(100% - 2 * clamp(16px, 2.5vw, 32px), 84rem); }
  .fiche__tete:has(.achat--variantes) { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(1.5rem, 3vw, 3rem); }
  .achat--variantes { gap: 0.55rem; }
  .achat--variantes .achat__titre { font-size: clamp(1.7rem, 2.3vw, 2.3rem); }
  .achat--variantes .achat__h2 { font-size: var(--t-md); }
  .achat--variantes .variantes { gap: 0.35rem; padding: 0.6rem 0 0.5rem; }
  .achat--variantes .variantes__format { font-size: 0.85rem; padding: 0.4rem 0.7rem; }
  .achat--variantes .variantes__format small { font-size: 0.85rem; }
  .achat--variantes .note-globale__chiffre, .achat--variantes .achat__prix { font-size: 1.75rem; }
  .achat--variantes .achat__chiffres { padding: 0.55rem 0; }
  .achat--variantes .achat__cta .bouton--marchand { min-height: 48px; }
  .achat--variantes .notes { gap: 0.45rem 1.4rem; }
  .achat--variantes .notes li { font-size: var(--t-sm); gap: 0.2rem 0.6rem; }
}
.variantes__axes { display: grid; gap: 0.4rem; }
.variantes__axe { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); align-items: start; gap: 0.6rem; }
.variantes__axe-nom { font: 500 var(--t-sm)/1.2 var(--sans); color: var(--feutre); padding-top: 0.5rem; }
.variantes__axe-choix { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.variantes__choix { min-width: 3rem; padding: 0.45rem 0.85rem; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); font: 600 var(--t-sm)/1.1 var(--sans); color: var(--anthracite); cursor: pointer; }
.variantes__choix:hover { border-color: var(--anthracite); }
.variantes__choix[aria-pressed="true"] { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); }
/* A row left with one value for the chosen format is not a choice: a discreet line (inc/variantes.php, 29/09). */
.variantes__fixes { margin: 0; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--feutre); }
.variantes__fixes b { font-weight: 600; color: var(--anthracite); }
@media (max-width: 640px) {
  .variantes__axe { grid-template-columns: 5.4rem minmax(0, 1fr); gap: 0.4rem; }
  .variantes__axe-nom { font-size: var(--t-xs); padding-top: 0.45rem; }
  .variantes__axe-choix { gap: 0.3rem; }
  .variantes__fixes { font-size: var(--t-xs); }
  .variantes__choix { min-width: 2.4rem; padding: 0.4rem 0.6rem; font-size: var(--t-xs); }
}
.variantes__formats:not(.est-ouvert) > .est-replie:not([aria-pressed="true"]),
.variantes__couleurs:not(.est-ouvert) > .est-replie:not([aria-pressed="true"]) { display: none; }
.variantes__plus { cursor: pointer; font: 600 var(--t-xs)/1 var(--sans); color: var(--bleu); background: transparent; border: 1px dashed var(--trait); }
.variantes__plus--couleurs { height: 30px; padding: 0 0.6rem; border-radius: 999px; }
/* The pill on the photo opens the 3D view; under the gallery it is a discreet text link only. */
.voir-chez-moi { margin-top: 0.5rem; width: auto; min-height: 0; padding: 0; gap: 0.4rem; background: none; border: 0; box-shadow: none; font: 600 var(--t-xs)/1.2 var(--sans); color: var(--anthracite); text-decoration: underline; text-underline-offset: 3px; }
.voir-chez-moi svg { width: 16px; height: 16px; }
.voir-chez-moi__texte { display: inline; }
.voir-chez-moi__texte strong { font: inherit; }
.voir-chez-moi__texte small { display: none; }
@media (max-width: 900px) {
  /* Phone (29/09, Romain): title, formats, photo, colours, then the rest of the buying box. The
     photo is moved between formats and colours in the HTML itself (inline script in parts/fiche.php):
     the first version reordered with display: contents, and iPhones could no longer scroll back up. */
  .fiche__tete .achat--variantes { position: static; }
  .achat--variantes > .achat__surtitre, .achat--variantes > .achat__titre { margin: 0; }
  .achat--variantes > .achat__h2 { margin: 0; font-size: var(--t-sm); }
  .achat--variantes .variantes { border-top: 0; padding-top: 0.2rem; }
  .variantes > .galerie { margin: 0.4rem 0; min-width: 0; max-width: 100%; }
  .variantes .galerie__principale { aspect-ratio: 4 / 3; }
  .variantes .galerie__vignettes { margin-top: 0.5rem; }
  .variantes .galerie__vignette { width: 60px; }
  .variantes .galerie__note, .variantes .voir-chez-moi { display: none; }
  .achat--variantes .variantes__format { font-size: var(--t-xs); padding: 0.45rem 0.65rem; }
}
@media (max-width: 640px) {
  /* Phone: formats on one scrolling row. */
  .variantes__formats { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .variantes__formats::-webkit-scrollbar { display: none; }
  .variantes__format { flex: 0 0 auto; scroll-snap-align: start; }
  .variantes__couleurs { gap: 0.2rem; justify-content: space-between; }
}
.lien-bouton { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.video-produit { width: 100%; max-width: 900px; border-radius: 12px; background: #000; aspect-ratio: 16 / 9; }

.carte__coloris { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; margin: 0.35rem 0 0.2rem; }
@media (pointer: coarse) { .carte__pastille-couleur { width: 22px; height: 22px; } }
.carte__pastille-couleur { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(35,38,43,.25); background: var(--c); cursor: pointer; padding: 0; }
.carte__pastille-couleur[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--blanc), 0 0 0 3px var(--anthracite); }

/* Nos notes expliquées (29/09): one heading per note, every point with its reason. */
.notes li a { color: inherit; text-decoration: none; }
.notes li a:hover, .notes li a:focus-visible { color: var(--bleu); }
.notes-expliquees h3 { margin: 1.6rem 0 0.4rem; font: 650 var(--t-lg)/1.25 var(--sans); scroll-margin-top: 90px; }
.notes-expliquees h3 .num { color: var(--bleu); }
.notes-detail { list-style: none; margin: 0.6rem 0; padding: 0; border-top: 1px solid var(--trait); }
.notes-detail li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--trait); font: 400 var(--t-sm)/1.4 var(--sans); }
.notes-detail li b { font-weight: 650; white-space: nowrap; }
.notes-detail li.est-plus b { color: var(--vert-ok); }
.notes-detail li.est-moins b { color: var(--rouge-non); }
.notes-detail li.est-total { font-weight: 650; border-bottom: 0; }
.notes-manque { font: italic 400 var(--t-sm)/1.5 var(--sans); color: var(--feutre); }
.notes-methode a { font: 600 var(--t-sm)/1 var(--sans); color: var(--bleu); }
@media (max-width: 640px) { .galerie__principale .ar-pastille { padding: 0.35rem 0.6rem; font-size: var(--t-xs); gap: 0.35rem; } }
/* "Tous les formats" on phones: a compact card per format, name and button on one line, figures on the next. */
@media (max-width: 640px) {
  #tous-les-formats .tableau-defile { overflow: visible; }
  #tous-les-formats table, #tous-les-formats tbody { display: block; background: none; box-shadow: none; border: 0; }
  #tous-les-formats thead { display: none; }
  #tous-les-formats tr { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.45rem; row-gap: 0.25rem; padding: 0.8rem 0; border-bottom: 1px solid var(--trait); background: none; }
  #tous-les-formats th, #tous-les-formats td { display: block; padding: 0; border: 0; background: none; font-size: var(--t-sm); }
  #tous-les-formats th { order: 1; flex: 1 1 60%; font-weight: 650; }
  #tous-les-formats td:last-child { order: 2; flex: 0 0 auto; }
  #tous-les-formats td:last-child .bouton { min-height: 36px; padding: 0 1rem; }
  #tous-les-formats td:not(:last-child) { order: 3; color: var(--feutre); }
  #tous-les-formats td:not(:last-child):not(:nth-last-child(2))::after { content: "·"; margin-left: 0.45rem; }
  #tous-les-formats td[data-l="Places"] { display: none; }
  #tous-les-formats td[data-l="Convertible"]::before { content: "Convertible : "; }
}
/* Variant fiche: every photo shown whole (a square studio or merchant photo was cropped, 29/09). */
.fiche__tete:has(.achat--variantes) .galerie__principale { background: #e6e5e8; }
.fiche__tete:has(.achat--variantes) .galerie__principale img { object-fit: contain; }

/* 29/09, "le bouton saute" (Romain's video): the merchant button sat on the same line as an empty
   anchor span; when it did not fit, it wrapped and an empty line pushed it down. Now a block, alone. */
.achat__cta { display: flex; flex-direction: column; }
.achat__cta [data-ancre-achat] { display: block; height: 0; }
.achat__cta .bouton--marchand { display: flex; width: 100%; }
/* Collection grids: nothing moves when filtering or reloading (no width line drawn again, no fade). */
.grille-produits .cote.a-tracer::before, .grille-produits .cote.a-tracer::after { transform: none; transition: none; }
.grille-produits .cote.a-tracer .cote__val { opacity: 1; transition: none; }
.grille-produits .carte, .grille-produits .carte__photo img { animation: none; }
/* The scrollbar keeps its room: content changing height never shifts the page sideways (29/09). */
html { scrollbar-gutter: stable; }
/* The note bubble over the thumbnail arrows (29/09). */
.fiche__tete .achat { z-index: 3; }
.info__bulle { z-index: 40; }
/* 29/09: browser extensions (Wanteeed and the like) insert an unclassed block between the price and
   the merchant button when the price changes: the button jumped. Every block of ours has a class. */
/* 30/09: still reported (a 35 px div between the price and the button, Wanteeed): an empty class="" escapes :not([class]). */
.achat > :not([class]):not(script):not(style), .achat__chiffres > :not([class]), .achat__cta > div:not([class]),
.achat > [class=""], .achat > [class=" "], .achat__chiffres > [class=""], .achat__cta > div[class=""] { display: none !important; }



/* 29/09 (Romain: "plus design, plus magazine"): note cards, brand figures, arrow links. */
.notes-collection > .enveloppe > p { max-width: var(--lecture); }
.notes-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.2rem; margin: 1.4rem 0; }
.note-carte { background: var(--blanc); border: 1px solid var(--trait); border-radius: 16px; padding: 1.3rem 1.3rem 1.1rem; display: grid; gap: 0.6rem; align-content: start; scroll-margin-top: 90px; }
.note-carte__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.note-carte__tete h3 { margin: 0; font: 650 var(--t-lg)/1.2 var(--sans); }
.note-carte__chiffre { margin: 0; font: 650 2.2rem/1 var(--sans); letter-spacing: -0.03em; }
.note-carte__chiffre small { font-size: 0.9rem; color: var(--feutre); font-weight: 500; }
.note-barre { position: relative; height: 10px; border-radius: 999px; background: var(--platre); margin: 1.1rem 0 0.4rem; }
.note-barre__plein { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--moutarde); }
.note-barre__repere { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--anthracite); }
.note-barre__repere span { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); font: 600 0.7rem/1 var(--sans); color: var(--feutre); white-space: nowrap; }
.note-carte__ecart { margin: 0; font: 600 var(--t-xs)/1.3 var(--sans); color: var(--feutre); }
.note-carte__ecart.est-plus { color: var(--vert-ok); }
.note-carte__ecart.est-moins { color: var(--rouge-non); }
.note-carte__meilleur { margin: 0; font: 400 var(--t-sm)/1.4 var(--sans); }
.note-carte__meilleur a { color: var(--anthracite); font-weight: 600; }
.note-carte__groupe { margin: 0.4rem 0 0; font: 650 var(--t-xs)/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--feutre); }
.mini-barres { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.mini-barres li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 2.2rem; align-items: center; gap: 0.6rem; font: 500 var(--t-xs)/1.2 var(--sans); }
.mini-barres__lib small { color: var(--feutre); font-weight: 400; }
.mini-barres__barre { height: 6px; border-radius: 999px; background: var(--platre); overflow: hidden; }
.mini-barres__barre span { display: block; height: 100%; background: var(--bleu); border-radius: 999px; }
.lien-fleche { font: 600 var(--t-sm)/1.3 var(--sans); color: var(--anthracite); text-decoration: underline; text-decoration-color: var(--moutarde); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lien-fleche::after { content: " →"; color: var(--bleu); }
.lien-fleche:hover { color: var(--bleu); }
.lien-fleche--grand { font-size: var(--t-lg); }
/* Canapés mega menu (29/09): wider than the page column, 5 columns of intents. */
@media (min-width: 1101px) {
  #mega-canapes { left: 50%; right: auto; width: min(100vw - 32px, 1480px); transform: translateX(-50%); grid-template-columns: minmax(0, 1fr) 250px; }
  #mega-canapes .mega__colonnes { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem 1.4rem; }
}


/* Comparateur de notes (29/09). */
.comparateur { background: var(--blanc); border-block: 1px solid var(--trait); }
.comparateur__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.comparateur__texte h2 { margin-top: 0; }
.comparateur__recherche input { width: 100%; box-sizing: border-box; min-height: 48px; padding: 0 1rem; border: 1px solid var(--trait); border-radius: 999px; background: var(--platre); font: 400 var(--t-md)/1 var(--sans); }
.comparateur__recherche input:focus { outline: 2px solid var(--moutarde); outline-offset: 1px; }
.comparateur__puces { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.8rem 0; }
.comparateur__puce { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.75rem; border: 1px solid var(--trait); border-radius: 999px; font: 500 var(--t-xs)/1.2 var(--sans); cursor: pointer; background: var(--blanc); }
.comparateur__puce:has(input:checked) { background: var(--anthracite); color: var(--blanc); border-color: var(--anthracite); }
.comparateur__puce input { position: absolute; opacity: 0; pointer-events: none; }
/* Criteria in sections (30/09): Forme / Convertible / Places, "ou" inside a section, "et" between. */
.comparateur .comparateur__puces { display: grid; gap: 0.7rem; margin: 0.9rem 0; overflow: visible; }
.comparateur__section { margin: 0; padding: 0; border: 0; min-width: 0; }
.comparateur__section legend { display: flex; align-items: center; gap: 0.6rem; padding: 0; margin-bottom: 0.35rem; font: 650 var(--t-xs)/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--feutre); }
.comparateur__puces-ligne { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.comparateur__mode { display: inline-flex; border: 1px solid var(--trait); border-radius: 999px; overflow: hidden; text-transform: none; letter-spacing: 0; }
.comparateur__mode button { border: 0; background: var(--blanc); padding: 0.15rem 0.55rem; min-height: 26px; font: 600 var(--t-xs)/1 var(--sans); color: var(--feutre); cursor: pointer; }
.comparateur__mode button[aria-pressed="true"] { background: var(--moutarde); color: var(--anthracite); }
.comparateur__regle { margin: 0 0 0.6rem; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--feutre); }
.comparateur__regle:empty { display: none; }
@media (max-width: 480px) { .comparateur .comparateur__puces { margin-inline: 0; padding-inline: 0; } .comparateur__mode button { min-height: 32px; padding-inline: 0.75rem; } }
.comparateur__propositions { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.comparateur__propositions button { width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 0.8rem; padding: 0.4rem 0.8rem 0.4rem 0.4rem; border: 1px solid var(--trait); border-radius: 12px; background: var(--blanc); cursor: pointer; text-align: left; }
.comparateur__propositions button:hover { border-color: var(--anthracite); }
.comparateur__propositions img { width: 64px; height: 48px; object-fit: contain; background: #e6e5e8; border-radius: 8px; }
.comparateur__propositions strong { display: block; font: 600 var(--t-sm)/1.25 var(--sans); }
.comparateur__propositions small { color: var(--feutre); font: 400 var(--t-xs)/1.3 var(--sans); }
.comparateur__propositions em { font: 600 var(--t-xs)/1 var(--sans); font-style: normal; color: var(--bleu); }
.comparateur__vide { color: var(--feutre); font-size: var(--t-sm); }
.comparateur__radar svg { width: 100%; max-width: 440px; display: block; margin: 0 auto; overflow: visible; }
.comparateur__axe { font: 600 13px var(--sans); fill: var(--anthracite); }
.comparateur__grad { font: 400 10px var(--sans); fill: var(--feutre); }
.comparateur__legende { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.4rem; }
.comparateur__legende li { display: flex; align-items: center; gap: 0.5rem; font: 500 var(--t-sm)/1.3 var(--sans); }
.comparateur__legende i { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.comparateur__legende a { color: var(--anthracite); }
.comparateur__legende button { border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--feutre); }
@media (max-width: 900px) { .comparateur__grille { grid-template-columns: minmax(0, 1fr); } .comparateur__graphe { order: -1; } }

/* Guides « quel … choisir » (29/09). */
.guide-q__une { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-bottom: 1.6rem; }
.guide-q__une h1 { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.6rem); line-height: 1.02; letter-spacing: -0.035em; margin: 0.3rem 0 1rem; }
.guide-q__visuel { margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r-img); overflow: hidden; background: var(--platre); }
.guide-q__visuel img { width: 100%; height: 100%; object-fit: cover; }
.guide-q__sommaire { display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 1rem 0; border-block: 1px solid var(--anthracite); }
.guide-q__sommaire a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.85rem; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); color: var(--anthracite); text-decoration: none; font: 600 var(--t-sm)/1.2 var(--sans); }
.guide-q__sommaire a:hover { border-color: var(--anthracite); }
.guide-q__sommaire .num { color: var(--bleu); font-size: var(--t-xs); }
.guide-option { scroll-margin-top: 80px; }
.guide-option + .guide-option { padding-top: 0; }
.guide-option__grille { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.8rem); align-items: start; padding-top: 2rem; border-top: 1px solid var(--trait); }
.guide-option__visuel { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--platre); }
.guide-option__visuel img { width: 100%; height: 100%; object-fit: cover; }
.guide-option__texte h2 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); letter-spacing: -0.02em; }
.guide-option__texte > p { max-width: var(--lecture); font: 400 var(--t-md)/1.65 var(--serif); }
.guide-option__chiffres { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; font: 400 var(--t-sm)/1.3 var(--sans) !important; color: var(--feutre); }
.guide-option__chiffres strong { font: 650 var(--t-lg)/1 var(--sans); color: var(--anthracite); margin-right: 0.2rem; }
.guide-option__meilleur { font: 400 var(--t-sm)/1.4 var(--sans) !important; }
.guide-option__meilleur a { color: var(--anthracite); font-weight: 600; }
.guide-q__autres { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; }
@media (max-width: 800px) { .guide-q__une, .guide-option__grille { grid-template-columns: minmax(0, 1fr); } .guide-option__visuel { width: 180px; } }

/* Colour name on hover (29/09), fiches and cards. */
.variantes__couleurs .coloris__pastille, .carte__pastille-couleur { position: relative; }
.variantes__couleurs .coloris__pastille[title]:hover::after, .variantes__couleurs .coloris__pastille[title]:focus-visible::after,
.carte__pastille-couleur[data-v-c]:hover::after, .carte__pastille-couleur[data-v-c]:focus-visible::after {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 5; padding: 0.2rem 0.5rem; border-radius: 6px;
  background: var(--anthracite); color: var(--blanc); font: 500 0.72rem/1.2 var(--sans); white-space: nowrap; pointer-events: none;
}
.variantes__couleurs .coloris__pastille[title]:hover::after, .variantes__couleurs .coloris__pastille[title]:focus-visible::after { content: attr(title); }
.carte__pastille-couleur[data-v-c]:hover::after, .carte__pastille-couleur[data-v-c]:focus-visible::after { content: attr(data-v-c); }
/* Mega menu (29/09): "see all" link of a section, side links under the ranking card. */
.mega__colonne a.mega__voir { display: flex; justify-content: flex-start; gap: 0.4rem; margin: 0.5rem 0 0 -0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--trait); border-radius: 0; font-weight: 650; color: var(--bleu-2); }
.mega__colonne a.mega__voir::after { content: "\2192"; color: var(--moutarde); }
.mega__cote-liens { display: grid; gap: 0.3rem; margin-top: 1.2rem; }
.mega__cote-liens .mega__titre { margin: 0.8rem 0 0.2rem; }
.mega__cote-liens a { color: var(--anthracite); text-decoration: none; font: 500 var(--t-sm)/1.3 var(--sans); padding: 0.2rem 0; }
.mega__cote-liens a:hover { color: var(--bleu); }
/* Guides (29/09, v2): 3 cards a row, short intro beside the header illustration. */
.guide-q__une > div { max-width: 40rem; }
.guide-q__une .chapeau p { font-size: var(--t-md); }
.guide-q__grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.4rem; }
.guide-carte { display: grid; gap: 0.55rem; align-content: start; padding: 1.2rem; background: var(--blanc); border: 1px solid var(--trait); border-radius: 18px; scroll-margin-top: 90px; }
.guide-carte__visuel { display: block; width: 62%; aspect-ratio: 1; margin: 0 auto 0.3rem; border-radius: 50%; overflow: hidden; background: var(--platre); }
.guide-carte__visuel img { width: 100%; height: 100%; object-fit: cover; }
.guide-carte h2 { margin: 0; font: 650 var(--t-lg)/1.25 var(--sans); letter-spacing: -0.01em; text-wrap: balance; }
.guide-carte h2 a { color: var(--anthracite); text-decoration: none; }
.guide-carte h2 a:hover { color: var(--bleu); }
.guide-carte__chiffres { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; margin: 0; font: 400 var(--t-xs)/1.3 var(--sans); color: var(--feutre); }
.guide-carte__chiffres strong { font: 650 var(--t-md)/1 var(--sans); color: var(--anthracite); margin-right: 0.15rem; }
.guide-carte__texte { margin: 0; font: 400 var(--t-sm)/1.55 var(--serif); }
.guide-carte__meilleur { margin: 0; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--feutre); }
.guide-carte__meilleur a { color: var(--anthracite); font-weight: 600; }


/* ---- Guides approfondis (inc/guides-plus.php, 29/09) : test, outil de mesure, méthode, option par option, tableau, Mag' ---- */
.quiz { display: grid; gap: 1.1rem; padding: clamp(1.2rem, 3vw, 2.2rem); background: var(--blanc); border: 1px solid var(--trait); border-radius: 22px; }
.quiz__titre, .mesure__titre { margin: 0; font: 650 clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem)/1.1 var(--sans); letter-spacing: -0.02em; text-wrap: balance; }
.quiz__question { margin: 0; padding: 0; border: 0; display: grid; gap: 0.6rem; }
.quiz__question legend { padding: 0; margin-bottom: 0.6rem; font: 600 var(--t-md)/1.35 var(--sans); }
.quiz__question legend .num { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; margin-right: 0.4rem; border-radius: 50%; background: var(--moutarde); color: var(--anthracite); font-size: var(--t-xs); }
.quiz__reponses { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.quiz__reponse { position: relative; }
.quiz__reponse input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.quiz__reponse span { display: inline-block; padding: 0.6rem 1rem; border: 1px solid var(--trait); border-radius: 999px; background: var(--platre); font: 500 var(--t-sm)/1.25 var(--sans); cursor: pointer; }
.quiz__reponse input:checked + span { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); }
.quiz__reponse input:focus-visible + span { outline: 2px solid var(--moutarde); outline-offset: 2px; }
.quiz__resultat { display: flex; gap: 1.2rem; align-items: center; padding: 1.1rem; border-radius: 16px; background: var(--platre); }
.quiz__resultat img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; flex: none; }
.quiz__surtitre { margin: 0; font: 500 var(--t-xs)/1.3 var(--sans); color: var(--feutre); text-transform: uppercase; letter-spacing: 0.06em; }
.quiz__choix { margin: 0.2rem 0 0.4rem; font: 650 var(--t-lg)/1.2 var(--sans); }
.quiz__aussi { margin: 0 0 0.8rem; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--feutre); }
.quiz__aussi a { color: var(--anthracite); font-weight: 600; }
.mesure { display: grid; gap: 0.9rem; padding: clamp(1.2rem, 3vw, 2.2rem); border: 1px solid var(--anthracite); border-radius: 22px; }
.mesure__aide { margin: 0; max-width: 40rem; font: 400 var(--t-sm)/1.55 var(--serif); }
.mesure__champ { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; font: 600 var(--t-sm)/1.2 var(--sans); }
.mesure__champ input { flex: 1 1 220px; accent-color: var(--moutarde); }
.mesure__champ output { font: 650 var(--t-lg)/1 var(--sans); min-width: 5ch; }
.mesure__total { margin: 0 0 0.6rem; font: 400 var(--t-md)/1.3 var(--sans); }
.mesure__total strong { font-size: var(--t-xl, 1.6rem); margin-right: 0.2rem; }
.mesure__resultat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.mesure__resultat li { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr auto; gap: 0.8rem; align-items: center; font: 500 var(--t-sm)/1.2 var(--sans); }
.mesure__resultat li a { color: var(--anthracite); }
.mesure__resultat li.est-vide { color: var(--feutre); }
.mesure__barre { height: 0.55rem; border-radius: 999px; background: var(--platre); overflow: hidden; }
.mesure__barre i { display: block; height: 100%; background: var(--moutarde); border-radius: 999px; transition: width 0.2s; }
.guide-methode { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.4rem; counter-reset: none; }
.guide-methode li { display: grid; gap: 0.4rem; align-content: start; padding-top: 1rem; border-top: 2px solid var(--anthracite); }
.guide-methode__n { font: 650 var(--t-xl, 1.6rem)/1 var(--sans); color: var(--moutarde); }
.guide-methode h3 { margin: 0; font: 650 var(--t-md)/1.3 var(--sans); }
.guide-methode p { margin: 0; font: 400 var(--t-sm)/1.6 var(--serif); }
.guide-detail { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(1.2rem, 3vw, 2.5rem); padding: 1.6rem 0; border-top: 1px solid var(--trait); scroll-margin-top: 90px; }
.guide-detail h3 { margin: 0 0 0.6rem; font: 650 var(--t-lg)/1.2 var(--sans); }
.guide-detail h3 a { color: var(--anthracite); text-decoration: none; }
.guide-detail__texte p { margin: 0 0 0.8rem; font: 400 var(--t-sm)/1.65 var(--serif); max-width: 40rem; }
.guide-detail__repere { display: grid; gap: 0.5rem; margin: 0.4rem 0 1rem; }
.guide-detail__repere div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.8rem; font: 400 var(--t-sm)/1.45 var(--sans); }
.guide-detail__repere dt { font-weight: 650; color: var(--bleu); }
.guide-detail__repere dd { margin: 0; }
.guide-detail__surtitre { margin: 0 0 0.5rem; font: 600 var(--t-xs)/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.06em; color: var(--feutre); }
.guide-tableau { overflow-x: auto; border: 1px solid var(--trait); border-radius: 16px; background: var(--blanc); }
.guide-tableau table { width: 100%; border-collapse: collapse; font: 400 var(--t-sm)/1.35 var(--sans); min-width: 640px; }
.guide-tableau th, .guide-tableau td { padding: 0.7rem 0.9rem; text-align: left; border-bottom: 1px solid var(--trait); }
.guide-tableau thead th { font: 600 var(--t-xs)/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.05em; color: var(--feutre); }
.guide-tableau tbody tr:last-child > * { border-bottom: 0; }
.guide-tableau a { color: var(--anthracite); font-weight: 600; }
.guide-tableau .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.guide-tableau__note { margin: 0.6rem 0 0; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--feutre); }
.guide-mag { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1.2rem; }
.guide-mag__article { display: grid; gap: 0.5rem; align-content: start; color: var(--anthracite); text-decoration: none; font: 600 var(--t-sm)/1.35 var(--sans); }
.guide-mag__article img, .guide-mag__vide { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: var(--platre); }
.guide-mag__article:hover span { color: var(--bleu); }
.mag-pilier { display: grid; gap: 0.5rem; margin: 2rem 0; padding: 1.4rem; border-radius: 18px; background: var(--anthracite); color: var(--blanc); }
.mag-pilier__surtitre { margin: 0; font: 600 var(--t-xs)/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.06em; color: var(--moutarde); }
.mag-pilier__titre { margin: 0; font: 650 var(--t-lg)/1.25 var(--sans); }
.mag-pilier__titre a, .mag-pilier .lien-fleche { color: var(--blanc); }
.mag-pilier__texte { margin: 0; font: 400 var(--t-sm)/1.5 var(--serif); opacity: 0.85; }
.mag-pilier__liens { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.3rem 0 0.4rem; }
.mag-pilier__liens a { padding: 0.35rem 0.75rem; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; color: var(--blanc); text-decoration: none; font: 500 var(--t-xs)/1.2 var(--sans); }
.mag-pilier__liens a .num { color: var(--moutarde); margin-left: 0.2rem; }
@media (max-width: 800px) {
  .guide-detail { grid-template-columns: minmax(0, 1fr); }
  .quiz__resultat { flex-direction: column; align-items: flex-start; }
  .mesure__resultat li { grid-template-columns: minmax(0, 1fr) auto; }
  .mesure__barre { grid-column: 1 / -1; grid-row: 2; }
}

/* === Fiches : comparateur en radar, notes expliquées des fiches classiques, « même besoin » par format (30/09) === */
.comparateur { --comp-0: var(--moutarde); --comp-0-texte: var(--bleu); --comp-1: var(--anthracite); --comp-2: #3f6f8f; }
/* Heading, then the chart, then the tools on phones; chart on the right of both on computers. */
.comparateur__grille { grid-template-areas: "intro" "graphe" "outils"; row-gap: 1.2rem; }
.comparateur__texte { grid-area: intro; }
.comparateur__graphe { grid-area: graphe; }
.comparateur__outils { grid-area: outils; }
.comparateur__texte p { margin-bottom: 0; }
@media (min-width: 901px) { .comparateur__grille { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "intro graphe" "outils graphe"; grid-template-rows: auto 1fr; align-items: start; } }
.comparateur__texte p { max-width: 34rem; }
.comparateur__radar { aspect-ratio: 500 / 400; max-width: 500px; margin: 0 auto; }
.comparateur__radar svg { max-width: 500px; height: auto; }
.comparateur__anneau { fill: none; stroke: var(--trait); stroke-width: 1; }
.comparateur__anneau.est-pair { stroke-dasharray: 3 4; }
.comparateur__rayon { stroke: var(--trait); stroke-width: 1; }
.comparateur__grad { font: 400 11px var(--sans); fill: var(--feutre); }
.comparateur__axe { font: 600 15px var(--sans); fill: var(--anthracite); }
.comparateur__valeurs { font: 700 13px var(--sans); font-variant-numeric: tabular-nums; }
.comparateur__sep { fill: var(--feutre); font-weight: 400; }
.comparateur__val--0 { fill: var(--comp-0-texte); }
.comparateur__val--1 { fill: var(--comp-1); }
.comparateur__val--2 { fill: var(--comp-2); }
.comparateur__forme { stroke-width: 2.5; stroke-linejoin: round; }
.comparateur__forme--0 { fill: var(--comp-0); fill-opacity: 0.28; stroke: var(--comp-0); }
.comparateur__forme--1 { fill: var(--comp-1); fill-opacity: 0.08; stroke: var(--comp-1); }
.comparateur__forme--2 { fill: var(--comp-2); fill-opacity: 0.1; stroke: var(--comp-2); stroke-dasharray: 6 4; }
.comparateur__point { fill: var(--blanc); stroke-width: 2.5; }
.comparateur__point--0 { stroke: var(--comp-0); }
.comparateur__point--1 { stroke: var(--comp-1); }
.comparateur__point--2 { stroke: var(--comp-2); }
.comparateur__legende { max-width: 480px; margin: 0.8rem auto 0; }
.comparateur__legende li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto 32px; align-items: center; gap: 0.5rem; min-height: 32px; }
.comparateur__legende i { border-radius: 4px; }
.comparateur__pastille--0 { background: var(--comp-0); }
.comparateur__pastille--1 { background: var(--comp-1); }
.comparateur__pastille--2 { background: var(--comp-2); }
.comparateur__nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--anthracite); }
.comparateur__legende .num { font-weight: 650; }
.comparateur__legende button { width: 32px; height: 32px; flex: none; }
.comparateur__aide { max-width: 480px; margin: 0.4rem auto 0; font: 400 var(--t-xs)/1.4 var(--sans); color: var(--feutre); }
.comparateur__propositions { min-height: 3rem; }
.comparateur__propositions strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comparateur__propositions button span { min-width: 0; }
@media (max-width: 900px) { .comparateur__graphe { order: 0; } }
@media (max-width: 600px) {
  .comparateur__axe { font-size: 20px; }
  .comparateur__valeurs { font-size: 17px; }
  .comparateur__grad { font-size: 13px; }
}
@media (max-width: 480px) {
  .comparateur__puces { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .comparateur__puces::-webkit-scrollbar { display: none; }
  .comparateur__puce { flex: none; min-height: 36px; }
  .comparateur__propositions button { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 0.6rem; }
  .comparateur__propositions img { width: 56px; height: 42px; }
}
.notes-faits li { align-items: baseline; }
.notes-faits__tag { flex: none; padding: 0.1rem 0.5rem; border-radius: 999px; font: 650 var(--t-xs)/1.4 var(--sans); white-space: nowrap; }
.notes-faits__tag.est-atout { background: color-mix(in srgb, var(--vert-ok) 14%, transparent); color: var(--vert-ok); }
.notes-faits__tag.est-limite { background: color-mix(in srgb, var(--rouge-non) 12%, transparent); color: var(--rouge-non); }
.notes-expliquees--faits > .enveloppe > p .notes-faits__tag { font-size: 0.75rem; }
.meme-besoin { display: grid; }
.meme-besoin__liste { grid-area: 1 / 1; visibility: hidden; }
.meme-besoin__liste.est-actif { visibility: visible; }

/* ==== « Tous les formats » en lignes dépliables (30/09, inc/formats-page.php). Ordinateur : le tableau, et
   l'analyse courte du format sous sa ligne. Téléphone : nom, prix, note ; le reste dans le dépliant. ==== */
#tous-les-formats .tf { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
#tous-les-formats .tf__entete, #tous-les-formats .tf__ligne { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1.25fr) minmax(0, 0.8fr) minmax(0, 0.95fr) minmax(0, 0.9fr) minmax(0, 0.85fr) 5.2rem; gap: 0 1rem; align-items: center; }
#tous-les-formats .tf__entete { padding: 0.7rem 1rem; background: var(--platre-2); border-radius: 14px 14px 0 0; font: 600 var(--t-sm)/1.3 var(--sans); }
#tous-les-formats .tf__format { position: relative; border-bottom: 1px solid var(--trait); background: var(--blanc); }
#tous-les-formats .tf__format:last-child { border-radius: 0 0 14px 14px; }
#tous-les-formats .tf__ligne { list-style: none; cursor: pointer; padding: 0.85rem 1rem; font: 400 var(--t-sm)/1.4 var(--sans); }
#tous-les-formats .tf__ligne::-webkit-details-marker { display: none; }
#tous-les-formats .tf__ligne:hover .tf__nom, #tous-les-formats .tf__ligne:focus-visible .tf__nom { color: var(--bleu); }
#tous-les-formats .tf__ligne:focus-visible { outline: 2px solid var(--bleu); outline-offset: -2px; }
#tous-les-formats .tf__nom { position: relative; padding-left: 1.5rem; font-weight: 600; }
#tous-les-formats .tf__nom::before { content: ""; position: absolute; left: 0.1rem; top: 0.4em; width: 0.5rem; height: 0.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.2s ease; }
#tous-les-formats details[open] .tf__nom::before { transform: rotate(45deg); }
#tous-les-formats [aria-current="true"] .tf__nom::after { content: "Affiché"; margin-left: 0.5rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--moutarde); color: var(--anthracite); font: 650 var(--t-xs)/1.4 var(--sans); vertical-align: 0.1em; }
#tous-les-formats .tf__chevron { display: none; }
#tous-les-formats .tf__voir { position: absolute; right: 1rem; top: 0.55rem; min-height: 36px; padding: 0 1rem; }
#tous-les-formats .tf__panneau { padding: 0.2rem 1rem 1.4rem 2.5rem; font: 400 var(--t-sm)/1.55 var(--sans); }
#tous-les-formats .tf__avis { max-width: 68ch; margin: 0 0 1.1rem; font: 400 1rem/1.6 var(--serif); }
#tous-les-formats .tf__surtitre, #tous-les-formats .tf__titre { display: block; margin: 0 0 0.35rem; font: 650 var(--t-xs)/1.3 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--feutre); }
#tous-les-formats .tf__grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem 2rem; }
#tous-les-formats .tf__pour, #tous-les-formats .tf__contre { list-style: none; margin: 0 0 0.8rem; padding: 0; display: grid; gap: 0.3rem; }
#tous-les-formats .tf__pour li, #tous-les-formats .tf__contre li { position: relative; padding-left: 1.2rem; }
#tous-les-formats .tf__pour li::before { content: "+"; position: absolute; left: 0; color: var(--vert-ok); font-weight: 700; }
#tous-les-formats .tf__contre li::before { content: "\2212"; position: absolute; left: 0; color: var(--rouge-non); font-weight: 700; }
#tous-les-formats .tf__notes { gap: 0.5rem; }
#tous-les-formats .tf__notes li { font-size: var(--t-xs); gap: 0.2rem 0.6rem; }
#tous-les-formats .tf__mesures { margin: 0; display: grid; gap: 0.3rem; }
#tous-les-formats .tf__mesures div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.3rem; border-bottom: 1px dotted var(--trait); }
#tous-les-formats .tf__mesures dt { color: var(--feutre); }
#tous-les-formats .tf__mesures dd { margin: 0; font-weight: 600; text-align: right; }
#tous-les-formats .tf__collections { margin: 1rem 0 0; color: var(--feutre); }
#tous-les-formats .tf__collections a { color: var(--anthracite); }
#tous-les-formats .tf__ici { margin: 0; color: var(--feutre); }
#tous-les-formats .tf__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.4rem; margin-top: 1.1rem; }
#tous-les-formats .tf__actions .bouton { min-height: 40px; padding: 0 1.1rem; }
@media (max-width: 900px) {
  #tous-les-formats .tf__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #tous-les-formats .tf__pc { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  #tous-les-formats .tf__entete, #tous-les-formats .tf__voir, #tous-les-formats .tf__dims, #tous-les-formats .tf__places, #tous-les-formats .tf__conv { display: none; }
  #tous-les-formats .tf { border-top: 0; }
  #tous-les-formats .tf__format, #tous-les-formats .tf__format:last-child { background: none; border-radius: 0; }
  #tous-les-formats .tf__ligne { grid-template-columns: minmax(0, 1fr) auto auto; gap: 0 0.8rem; padding: 0.85rem 0; }
  #tous-les-formats .tf__prix { font-weight: 600; }
  #tous-les-formats .tf__note { color: var(--feutre); }
  #tous-les-formats [aria-current="true"] .tf__nom::after { display: inline-block; margin: 0.25rem 0 0; }
  #tous-les-formats .tf__panneau { padding: 0 0 1.2rem; }
  #tous-les-formats .tf__grille { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  #tous-les-formats .tf__actions .bouton { flex: 1 1 100%; }
}
/* Blocks of bubbles one after the other (Romain, 30/09: « Ce canapé figure dans » stuck to the bubbles above). */
.bulles + .rubrique-simple, .bulles + h2 { margin-top: clamp(2rem, 4vw, 2.75rem); }
.plus-loin [data-v-besoin] + [data-v-moins] { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
[data-v-moins] > .chapeau-court { margin: -0.4rem 0 1.2rem; color: var(--feutre); font: 400 var(--t-sm)/1.5 var(--sans); }


/* ==== Avis marque + page des marques, v2 magazine (29/09, Romain : « plus magazine, moins de boutons »).
   Pages : avis-marque.php, page-marques-de-canapes.php. Reuses the guide classes (guide-q__*, guide-carte,
   guide-tableau, guide-methode, guide-detail, rubrique, lien-fleche); only what they lack is here. ==== */
.avis-mag__surtitre { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.6rem; font: 650 var(--t-xs)/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bleu); }
.avis-mag__surtitre::before { content: ""; width: 1.8rem; height: 2px; background: var(--moutarde); }
.avis-mag__signature { margin: 1rem 0 0; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--feutre); }
.avis-mag__signature a { color: var(--anthracite); font-weight: 600; }
.avis-mag__signature a:last-child { margin-left: 0.4rem; color: var(--bleu); font-weight: 500; }
.avis-mag__visuel { margin: 0; }
.avis-mag__visuel a { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-img); overflow: hidden; background: #e6e5e8; }
.avis-mag__visuel img { width: 100%; height: 100%; object-fit: contain; }
.avis-mag__visuel figcaption { margin-top: 0.6rem; font: italic 400 var(--t-sm)/1.45 var(--serif); color: var(--feutre); }
.avis-mag__visuel figcaption .num { font-style: normal; font-weight: 650; color: var(--anthracite); margin-right: 0.3rem; }

.avis-mag__chiffres dl { margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); border-bottom: 1px solid var(--anthracite); }
.avis-mag__chiffres dl > div { display: grid; align-content: start; gap: 0.3rem; padding: 1.2rem 1.2rem 1.3rem; border-left: 1px solid var(--trait); }
.avis-mag__chiffres dl > div:first-child { border-left: 0; padding-left: 0; }
.avis-mag__chiffres dt { font: 650 var(--t-xs)/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--feutre); }
.avis-mag__chiffres dd { margin: 0; }
.avis-mag__chiffres dd strong { font: 500 clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem)/1 var(--serif); letter-spacing: -0.02em; color: var(--anthracite); }
.avis-mag__chiffres dd small { font: 500 var(--t-sm)/1 var(--sans); color: var(--feutre); margin-left: 0.15rem; }
.avis-mag__chiffres .avis-mag__sous { font: 400 var(--t-xs)/1.35 var(--sans); color: var(--feutre); }
/* Point fort / faible: long labels ("Rapport qualité/prix") stay inside their column at every width */
.avis-mag__chiffres dl > div { min-width: 0; }
.avis-mag__chiffres dd strong.avis-mag__mot { display: block; font-size: clamp(1.15rem, 0.9rem + 0.75vw, 1.5rem); line-height: 1.15; letter-spacing: -0.01em; overflow-wrap: break-word; hyphens: manual; }
/* The reading-date note (.d07-releve, inc/helpers.php) is nowrap sitewide for the short "relevé le JJ/MM" caption of a
   single price ; here it carries the longer "prix relevés en <mois>" sentence (canape_d07b_note) and overflowed into
   the next column (Romain 12/10, bandeau des pages marque). Let it wrap on its own line in its own column instead. */
.avis-mag__chiffres .d07-releve { white-space: normal; }

.avis-mag__lecture { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.avis-mag__texte { max-width: var(--lecture); }
.avis-mag__texte h2 { font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); letter-spacing: -0.03em; margin-bottom: 1.2rem; }
.avis-mag__texte > p:not(.avis-mag__surtitre) { font: 400 1.125rem/1.75 var(--serif); }
.lettrine::first-letter { float: left; margin: 0.08em 0.12em 0 0; font: 600 4.3em/0.8 var(--serif); color: var(--anthracite); }
.avis-mag__citation { margin: 2.2rem 0; padding: 0.2rem 0 0.2rem 1.5rem; border-left: 3px solid var(--moutarde); }
.avis-mag__citation p { margin: 0; font: italic 400 clamp(1.3rem, 1.05rem + 1vw, 1.75rem)/1.4 var(--serif); color: var(--anthracite); text-wrap: balance; }
.avis-mag__citation p::before { content: "«\00a0"; color: var(--bleu); }
.avis-mag__citation p::after { content: "\00a0»"; color: var(--bleu); }
.avis-mag__encadre { position: sticky; top: 100px; display: grid; gap: 0.9rem; padding: 1.4rem 1.4rem 1.5rem; background: var(--blanc); border-top: 3px solid var(--anthracite); border-radius: 0 0 16px 16px; }
.avis-mag__encadre-titre { margin: 0; font: 650 var(--t-md)/1.3 var(--sans); }
.avis-mag__encadre ol { margin: 0; padding: 0; list-style: none; counter-reset: pq; display: grid; gap: 0.8rem; }
.avis-mag__encadre li { counter-increment: pq; display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.5rem; font: 400 var(--t-sm)/1.55 var(--serif); }
.avis-mag__encadre li::before { content: counter(pq); font: 600 1.3rem/1.1 var(--serif); color: var(--moutarde); }

.avis-podium { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.4rem 2rem; }
.avis-podium__place { display: grid; gap: 1rem; align-content: start; }
.avis-podium__place--1 { grid-row: span 2; }
.avis-podium__place--2, .avis-podium__place--3 { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); align-items: start; }
.avis-podium__place--3 { padding-top: 1.4rem; border-top: 1px solid var(--trait); }
.avis-podium__photo { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-img); overflow: hidden; background: #e6e5e8; }
.avis-podium__photo img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.avis-podium__place:hover .avis-podium__photo img { transform: scale(1.03); }
.avis-podium__texte { display: grid; gap: 0.45rem; align-content: start; }
.avis-podium__rang { font: 500 3rem/0.9 var(--serif); color: var(--moutarde); }
.avis-podium__place--1 .avis-podium__rang { font-size: 4.2rem; }
.avis-podium__texte h3 { margin: 0; font: 650 var(--t-lg)/1.2 var(--sans); letter-spacing: -0.01em; }
.avis-podium__place--1 h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.avis-podium__texte h3 a { color: var(--anthracite); text-decoration: none; }
.avis-podium__texte h3 a:hover { color: var(--bleu); }
.avis-podium__raison { margin: 0; font: 400 var(--t-sm)/1.6 var(--serif); }
.avis-podium__place--1 .avis-podium__raison { font-size: var(--t-md); }
.avis-podium__meta, .avis-coeur__meta { margin: 0.2rem 0; font: 500 var(--t-sm)/1.2 var(--sans); color: var(--feutre); }
.avis-podium__meta b, .avis-coeur__meta b { font-size: 1.35em; color: var(--anthracite); font-weight: 650; }
.avis-podium__meta i, .avis-coeur__meta i, .avis-vignette__meta i { font-style: normal; margin: 0 0.3rem; color: var(--trait); }

.avis-coeur { background: var(--foret); color: #e9e7e1; padding-block: clamp(2.8rem, 7vw, 5rem); }
.avis-coeur__grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.avis-coeur__photo { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-img); overflow: hidden; background: #e6e5e8; }
.avis-coeur__photo img { width: 100%; height: 100%; object-fit: contain; }
.avis-coeur .avis-mag__surtitre { color: var(--moutarde); }
.avis-coeur__texte h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--blanc); }
.avis-coeur__texte > p:not([class]) { font: 400 var(--t-md)/1.7 var(--serif); }
.avis-coeur__meta { color: #b9b6ae; }
.avis-coeur__meta b { color: var(--blanc); }
.avis-coeur .lien-fleche { color: var(--blanc); }
.avis-coeur .lien-fleche::after { color: var(--moutarde); }
.avis-coeur .lien-fleche:hover { color: var(--moutarde); }

.avis-balance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.avis-balance__col { padding: 1.5rem 1.6rem 1.2rem; background: var(--blanc); border-radius: 18px; border-top: 4px solid var(--vert-ok); }
.avis-balance__col--contre { border-top-color: var(--rouge-non); }
.avis-balance__col h3 { margin: 0 0 0.6rem; font: 650 var(--t-lg)/1.25 var(--sans); }
.avis-balance__col ul { margin: 0; padding: 0; list-style: none; }
.avis-balance__col li { position: relative; padding: 0.8rem 0 0.8rem 2.2rem; font: 400 var(--t-md)/1.55 var(--serif); }
.avis-balance__col li + li { border-top: 1px solid var(--trait); }
.avis-balance__col li::before { content: "+"; position: absolute; left: 0; top: 0.95rem; width: 1.4rem; height: 1.4rem; display: grid; place-items: center; border-radius: 50%; background: #e3eadf; color: var(--vert-ok); font: 700 0.95rem/1 var(--sans); }
.avis-balance__col--contre li::before { content: "\2212"; background: #f1e1de; color: var(--rouge-non); }

.avis-tableau table { min-width: 720px; }
.avis-tableau .est-marque > * { background: var(--moutarde-voile); font-weight: 650; }
.avis-tableau .est-max, .marques-tableau .est-max { font-weight: 700; color: var(--anthracite); }
.avis-tableau td:not(.est-max) { color: var(--feutre); }
.avis-tableau .est-marque td { color: var(--anthracite); }

.avis-type { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(1.2rem, 3vw, 2.8rem); padding: 1.8rem 0; border-top: 1px solid var(--trait); scroll-margin-top: 90px; }
.avis-type:first-of-type { border-top: 0; padding-top: 0.4rem; }
.avis-type__texte { display: grid; gap: 0.6rem; align-content: start; }
.avis-type__texte h3 { margin: 0; font: 650 var(--t-lg)/1.25 var(--sans); letter-spacing: -0.01em; }
.avis-type__texte > p:not([class]) { margin: 0; font: 400 var(--t-sm)/1.65 var(--serif); }
.avis-type__top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-content: start; }
.avis-vignette { display: grid; gap: 0.35rem; align-content: start; color: var(--anthracite); text-decoration: none; }
.avis-vignette__photo { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-img); overflow: hidden; background: #e6e5e8; }
.avis-vignette__photo img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.avis-vignette:hover .avis-vignette__photo img { transform: scale(1.04); }
.avis-vignette__nom { font: 600 var(--t-sm)/1.3 var(--sans); }
.avis-vignette:hover .avis-vignette__nom { color: var(--bleu); }
.avis-vignette__meta { font: 500 var(--t-xs)/1.2 var(--sans); color: var(--feutre); }
.avis-vignette__meta b { color: var(--anthracite); font-size: 1.15em; }

/* FAQ as a refined accordion (both pages). */
.avis-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.avis-faq__tete h2 { margin: 0; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem); letter-spacing: -0.03em; }
.avis-faq .faq, .marques-guide .faq { border-top: 1px solid var(--anthracite); }
.avis-faq .faq summary, .marques-guide .faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font: 600 var(--t-md)/1.4 var(--sans); }
.avis-faq .faq summary::after, .marques-guide .faq summary::after { content: ""; position: static; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--trait); background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%238c680c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center; transition: transform 0.25s ease, border-color 0.2s ease; }
.avis-faq .faq details[open] summary::after, .marques-guide .faq details[open] summary::after { content: ""; transform: rotate(45deg); border-color: var(--moutarde); }
.avis-faq .faq summary:hover, .marques-guide .faq summary:hover { color: var(--bleu-2); }
.avis-faq .faq details > div, .marques-guide .faq details > div { padding: 0 3rem 1.3rem 0; font: 400 var(--t-md)/1.7 var(--serif); }
.avis-faq .faq details > div p, .marques-guide .faq details > div p { margin: 0; }
.avis-mag__fin { padding-block: 2rem 3.5rem; }
.avis-mag__suite { display: flex; flex-wrap: wrap; gap: 1rem 3rem; }

/* Brands page. */
.marques-guide__intro { margin: -0.6rem 0 1.6rem; max-width: 44rem; font: 400 var(--t-sm)/1.55 var(--sans); color: var(--feutre); }
.marques-guide__mosaique { margin: 0; }
.marques-guide__photos { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; aspect-ratio: 16 / 10; }
.marques-guide__photos img { width: 100%; height: 100%; object-fit: contain; background: #e6e5e8; border-radius: 8px; }
.marques-guide__photos img:first-child { grid-row: span 2; }
.marques-guide__mosaique figcaption { margin-top: 0.6rem; font: italic 400 var(--t-sm)/1.45 var(--serif); color: var(--feutre); }
.marque-carte { position: relative; }
.marque-carte__rang { position: absolute; top: 1.7rem; left: 1.7rem; z-index: 1; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--anthracite); color: var(--blanc); font: 600 1.25rem/1 var(--serif); }
.marque-carte:first-child .marque-carte__rang { background: var(--moutarde); color: var(--anthracite); }
.marque-carte__visuel { display: block; aspect-ratio: 4 / 3; margin-bottom: 0.4rem; border-radius: 12px; overflow: hidden; background: #e6e5e8; }
.marque-carte__visuel img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.marque-carte:hover .marque-carte__visuel img { transform: scale(1.03); }
.marque-carte h3 { margin: 0; font: 650 var(--t-xl)/1.15 var(--sans); letter-spacing: -0.02em; }
.marque-carte h3 a { color: var(--anthracite); text-decoration: none; }
.marque-carte h3 a:hover { color: var(--bleu); }
.marque-carte__liens { display: grid; gap: 0.5rem; margin: 0.3rem 0 0; padding-top: 0.8rem; border-top: 1px solid var(--trait); }
.guide-detail .marque-carte__liens { border-top: 0; padding-top: 0; }
.marques-besoins p { margin: 0; font: 400 var(--t-sm)/1.6 var(--serif); }
.marques-besoins__marque { font: 650 var(--t-md)/1.2 var(--sans); color: var(--anthracite); }
.marques-tableau table { min-width: 900px; }
.marques-tableau thead button { all: unset; cursor: pointer; }
.marques-tableau thead button::after { content: " \2195"; color: var(--trait); }
.marques-tableau thead button[aria-sort="ascending"]::after { content: " \2191"; color: var(--bleu); }
.marques-tableau thead button[aria-sort="descending"]::after { content: " \2193"; color: var(--bleu); }
.marques-tableau thead button:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 2px; }
.marques-guide .carte-prix__groupe { background: var(--platre); }
.marques-suivies { list-style: none; margin: 0; padding: 0; columns: 3 15rem; column-gap: 2.5rem; }
.marques-suivies li { break-inside: avoid; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--trait); }
.marques-suivies__nom { font: 600 var(--t-sm)/1.3 var(--sans); }
.marques-suivies__prix { font: 600 var(--t-sm)/1.3 var(--sans); text-align: right; white-space: nowrap; }
.marques-suivies__prix small { font-weight: 400; color: var(--feutre); font-size: var(--t-xs); }
.marques-guide__sources { margin-block: 0 3rem; font: 400 var(--t-xs)/1.5 var(--sans); color: var(--feutre); }

@media (max-width: 900px) {
  .avis-mag__lecture, .avis-coeur__grille, .avis-faq, .avis-type { grid-template-columns: minmax(0, 1fr); }
  .avis-mag__encadre { position: static; }
  .avis-podium { grid-template-columns: minmax(0, 1fr); }
  .avis-podium__place--1 { grid-row: auto; }
  .avis-podium__place--2 { padding-top: 1.4rem; border-top: 1px solid var(--trait); }
}
@media (max-width: 640px) {
  .avis-mag .guide-q__sommaire, .marques-guide .guide-q__sommaire { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .avis-mag .guide-q__sommaire::-webkit-scrollbar, .marques-guide .guide-q__sommaire::-webkit-scrollbar { display: none; }
  .avis-mag .guide-q__sommaire a, .marques-guide .guide-q__sommaire a { flex: none; }
  .avis-mag__chiffres dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .avis-mag__chiffres dl > div { padding: 1rem 0.9rem; border-left: 0; border-top: 1px solid var(--trait); }
  .avis-mag__chiffres dl > div:nth-child(odd) { padding-left: 0; }
  .avis-mag__chiffres dl > div:nth-child(even) { border-left: 1px solid var(--trait); }
  .avis-mag__chiffres dl > div:nth-child(-n+2) { border-top: 0; }
  .avis-podium__place--2, .avis-podium__place--3 { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 0.8rem; }
  .avis-podium__rang { font-size: 2.2rem; }
  .avis-balance { grid-template-columns: minmax(0, 1fr); }
  .avis-balance__col { padding: 1.2rem 1.1rem 0.8rem; }
  .avis-type__top { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .avis-type__top > * { scroll-snap-align: start; }
  .avis-faq .faq details > div, .marques-guide .faq details > div { padding-right: 0; }
  .marque-carte__rang { top: 1.5rem; left: 1.5rem; }
}
/* ==== fin : avis marque + page des marques ==== */
/* ==== guides : outils de l'acheteur (inc/guides-outils.php, inc/guides-plus.php, inc/mag.php) ==== */
.quiz__aide { margin: -0.4rem 0 0; font: 400 var(--t-sm)/1.5 var(--serif); color: var(--feutre); }
.quiz__resultat--liste { display: block; }
.quiz__minis { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin: 0.4rem 0 0.9rem; }
.quiz__resultat .mini img { width: 96px; height: 72px; border-radius: 6px; }
.mini__nom small { display: block; font-weight: 400; color: var(--feutre); }
.angle-calc { display: grid; gap: 1rem; padding: clamp(1.2rem, 3vw, 2.2rem); border: 1px solid var(--anthracite); border-radius: 22px; }
.angle-calc__champs { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-items: end; }
.angle-calc__champ { display: grid; gap: 0.35rem; font: 600 var(--t-sm)/1.2 var(--sans); }
.angle-calc__champ span { display: flex; align-items: center; gap: 0.4rem; font-weight: 400; }
.angle-calc__champ input { width: 6.5rem; padding: 0.55rem 0.7rem; border: 1px solid var(--trait); border-radius: 10px; font: 600 var(--t-md)/1 var(--sans); }
.angle-calc__cote { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font: 500 var(--t-sm)/1.2 var(--sans); }
.angle-calc__cote legend { padding: 0; margin-bottom: 0.35rem; font-weight: 600; }
.angle-calc__cote input { accent-color: var(--moutarde); }
.angle-calc__sortie { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.2rem; align-items: start; }
.angle-calc__plan { width: 100%; height: auto; background: var(--platre); border-radius: 14px; }
.angle-calc__plan text { font: 500 11px/1 var(--sans); fill: var(--anthracite); }
.angle-calc__mur { fill: none; stroke: var(--anthracite); stroke-width: 5; stroke-linecap: square; }
.angle-calc__canape { fill: rgba(214, 166, 43, 0.25); stroke: var(--moutarde); stroke-width: 2; stroke-dasharray: 6 4; }
.angle-calc__legende { font-weight: 650 !important; }
.angle-calc__repart { list-style: none; margin: 0 0 0.8rem; padding: 0; display: grid; gap: 0.25rem; font: 400 var(--t-sm)/1.35 var(--sans); }
.angle-calc__repart .num { display: inline-block; min-width: 2ch; font-weight: 650; }
.duel-options { display: grid; gap: 0.9rem; padding: clamp(1.2rem, 3vw, 2.2rem); background: var(--blanc); border: 1px solid var(--trait); border-radius: 22px; }
.duel-options__choix { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; margin: 0; font: 500 var(--t-sm)/1.2 var(--sans); }
.duel-options__choix select { max-width: 100%; padding: 0.55rem 0.8rem; border: 1px solid var(--anthracite); border-radius: 999px; background: var(--blanc); font: 600 var(--t-sm)/1.2 var(--sans); }
.duel-options .guide-tableau table { min-width: 0; table-layout: fixed; }
.duel-options .guide-tableau th[scope="row"] { width: 28%; }
.duel-options td.est-mieux { font-weight: 700; background: rgba(214, 166, 43, 0.14); }
.duel-options .minis .mini { grid-template-columns: 64px 1fr; padding: 0.3rem; background: var(--platre); }
.duel-options .minis .mini img { width: 64px; height: 48px; }
.duel-options__liens { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0; }
.guide-piliers { display: grid; gap: 0.35rem; font: 400 var(--t-xs)/1.3 var(--sans); }
.guide-piliers p { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; margin: 0; }
.guide-piliers__lib { color: var(--feutre); margin-right: 0.2rem; }
.guide-piliers a { padding: 0.25rem 0.6rem; border: 1px solid var(--trait); border-radius: 999px; color: var(--anthracite); text-decoration: none; font-weight: 500; }
.guide-piliers a .num { color: var(--feutre); margin-left: 0.15rem; }
.guide-dims__grille { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.4rem; align-items: center; }
.guide-dims__svg { width: 100%; height: auto; }
.guide-dims__trait path { fill: none; stroke: var(--anthracite); stroke-width: 2; stroke-linejoin: round; }
.guide-dims__cote path { fill: none; stroke: var(--moutarde); stroke-width: 1.5; }
.guide-dims__svg text { font: 500 11px/1 var(--sans); fill: var(--anthracite); }
.guide-dims .guide-tableau table { min-width: 0; }
.guide-avant { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem); }
.guide-avant h2 { margin: 0 0 0.8rem; font: 650 var(--t-lg)/1.2 var(--sans); text-wrap: balance; }
.guide-avant__pieges ol { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.6rem; font: 400 var(--t-sm)/1.55 var(--serif); }
.guide-avant__liste { padding: 1.2rem; border-radius: 18px; background: var(--platre); }
.guide-avant__liste ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.guide-avant__liste label { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font: 400 var(--t-sm)/1.45 var(--sans); cursor: pointer; }
.guide-avant__liste input { margin-top: 0.2rem; accent-color: var(--anthracite); width: 1.05rem; height: 1.05rem; }
.guide-avant__liste input:checked + span { color: var(--feutre); text-decoration: line-through; }
.guide-avant__compte { margin: 0.8rem 0 0; font: 600 var(--t-xs)/1.3 var(--sans); }
.mag-pilier__titre--second { font-size: var(--t-md); }
.mag-pilier__lib { margin: 0.4rem 0 0; font: 600 var(--t-xs)/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
@media (max-width: 760px) {
  .angle-calc__sortie, .guide-dims__grille, .guide-avant { grid-template-columns: minmax(0, 1fr); }
  .duel-options__choix select { flex: 1 1 100%; }
  .duel-options .guide-tableau th, .duel-options .guide-tableau td { padding: 0.55rem 0.5rem; }
}
@media (max-width: 760px) { .duel-options .minis .mini { grid-template-columns: minmax(0, 1fr); } .duel-options .minis .mini img { display: none; } .mini__texte { min-width: 0; } }
/* ==== fin : outils guides ==== */
/* ==== filtres et collections (agent filtres, 29/09) ==== */
.filtre__aide { margin-top: 0.4rem; font: 400 var(--t-xs)/1.45 var(--sans); color: var(--feutre); }
.filtre__aide summary { cursor: pointer; color: var(--bleu); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.filtre__aide dl { margin: 0.5rem 0 0; }
.filtre__aide dt { font-weight: 650; color: var(--encre, inherit); margin-top: 0.45rem; }
.filtre__aide dd { margin: 0.1rem 0 0; }
/* ==== fin : filtres et collections ==== */

/* Fiche: "Nos notes expliquées" and "Notre analyse en vidéo" side by side on a computer (30/09). */
.fiche-duo { border-top: 1px solid var(--trait); }
.fiche-duo > div > .bloc, .fiche-duo > div > [data-v-notes-expl] > .bloc { border-top: 0; }
@media (min-width: 1100px) {
  .fiche-duo:has(.fiche-duo__video > .bloc:not([hidden])) { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); width: min(100% - 2 * var(--gutter), var(--col)); margin-inline: auto; align-items: start; }
  .fiche-duo:has(.fiche-duo__video > .bloc:not([hidden])) .enveloppe { width: 100%; max-width: none; }
  .fiche-duo:has(.fiche-duo__video > .bloc:not([hidden])) .fiche-duo__video { position: sticky; top: 96px; }
  .fiche-duo:has(.fiche-duo__video > .bloc:not([hidden])) .fiche-duo__video .medias { grid-template-columns: 1fr; }
}

/* Collection: the test in 1 click from the toolbar (30/09, place validated by Romain), a touch more
   visible than a plain button: solid gold, a small stopwatch, same height as its neighbours. */
.bouton--guide[data-lien-test] { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--moutarde); border-color: var(--moutarde); color: var(--anthracite); font-weight: 700; text-decoration: none; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 14px color-mix(in srgb, var(--moutarde) 35%, transparent); }
.bouton--guide[data-lien-test]::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cpath d='M12 9v4l2.5 2M10 2.5h4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cpath d='M12 9v4l2.5 2M10 2.5h4'/%3E%3C/svg%3E") center / contain no-repeat; }
.bouton--guide[data-lien-test]:hover, .bouton--guide[data-lien-test]:focus-visible, .bouton--guide[data-lien-test]:active { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); }
#le-test { scroll-margin-top: 90px; }
/* Menu: a second guide link under the first one (30/09). */
.mega__colonne a.mega__voir + a.mega__voir { margin-top: 0; padding-top: 0.35rem; border-top: 0; }

/* Header: "Meilleurs canapés" (Romain, 30/09, after 2 reviews): a navigation link, not a second logo:
   the sans-serif of the menu, a fine gold podium and a discreet light-gold pill; hover = a deeper tint. */
.nav-lien.nav-lien--phare { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.9rem 0.55rem 0.7rem; border-radius: 999px; background: var(--moutarde-voile); box-shadow: none; color: var(--anthracite); font: 600 var(--t-sm)/1 var(--sans); transition: background-color 0.2s ease; }
.nav-lien.nav-lien--phare:hover, .nav-lien.nav-lien--phare:focus-visible, .nav-lien.nav-lien--phare[aria-current] { background: color-mix(in srgb, var(--moutarde) 38%, var(--moutarde-voile)); color: var(--anthracite); }
.nav-phare__icone { width: 18px; height: 15px; flex: none; fill: none; stroke: var(--bleu); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nav-phare__icone .nav-phare__etoile { fill: var(--bleu); stroke-width: 0.6; }
.nav-phare__texte { font: inherit; }
@media (max-width: 1100px) {
  .nav-lien.nav-lien--phare { display: flex; padding: 0.95rem 0.3rem; border-radius: 0; background: none; border-bottom: 1px solid var(--trait); font-size: var(--t-md); }
}
/* Phone and tablet header: the ranking stays visible next to the logo, as the same discreet pill (30/09). */
.phare-mobile { display: none; }
@media (max-width: 1100px) {
  .phare-mobile { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 36px; padding: 0 0.7rem 0 0.55rem; border-radius: 999px; background: var(--moutarde-voile); color: var(--anthracite); text-decoration: none; transition: background-color 0.2s ease; }
  .phare-mobile span { font: 600 0.74rem/1.1 var(--sans); }
  .phare-mobile:hover, .phare-mobile:focus-visible { background: color-mix(in srgb, var(--moutarde) 38%, var(--moutarde-voile)); }
}
@media (max-width: 1100px) { .entete .marque-site, .entete .bouton-recherche, .entete .bouton-menu, .phare-mobile { flex: none; } .entete .marque-site { white-space: nowrap; } }
@media (max-width: 520px) { .entete .reseaux { display: none; } }
@media (max-width: 400px) { .entete__barre { gap: 0.5rem; } }


/* Menu button, editorial (30/09): a fine menu icon and a discreet label, no outlined pill. */
.entete .bouton-menu { align-items: center; gap: 0.45rem; min-height: 40px; padding: 0 0.2rem 0 0.4rem; border: 0; border-radius: 8px; background: none; color: var(--anthracite); font: 600 var(--t-xs)/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.bouton-menu__icone { width: 20px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.entete .bouton-menu:hover, .entete .bouton-menu:focus-visible { color: var(--bleu-2); }
body.menu-ouvert .entete .bouton-menu { background: none; color: var(--moutarde); }

/* Home: one eyebrow line "Avis canapé et comparatif · Indépendant depuis 2021" (30/09), softened
   anthracite, no gold rules (they belong to the logo). The second half is decoration (::after), the H1
   text stays the same for search engines. */
.une__requete { color: #4b5058; font: 600 clamp(0.8rem, 0.72rem + 0.3vw, 0.95rem)/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.une__requete::after { content: attr(data-surtitre); font-weight: 500; color: #6e737b; }

/* Home measure tool: the submit reads as the site's arrow links, not a heavy black pill (30/09). */
.place__envoyer { display: inline-block; padding: 0.35rem 0; border: 0; background: none; cursor: pointer; text-align: left; }

/* Home eyebrow on a phone: one line that fits. */
@media (max-width: 480px) { .une__requete { font-size: 0.68rem; letter-spacing: 0.04em; } }

/* Collections on a phone (Romain, 30/09): one-line breadcrumb, intro folded, the test and the filters
   within the first screen and kept at hand while scrolling the grid. The computer keeps its layout. */
.actions-mobile, .chapeau__suite { display: none; }
@media (max-width: 900px) {
  .ariane ol { flex-wrap: nowrap; min-width: 0; }
  .ariane li { flex: none; white-space: nowrap; }
  .ariane li:last-child { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .collection__titraille { gap: 0.6rem; padding-bottom: 0.6rem; }
  .collection__titraille h1 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 1.9rem); }
  .collection__titraille .chapeau:not(.est-deplie) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .collection__titraille .chapeau:not(.est-deplie) p { margin: 0; display: inline; }
  .chapeau__suite { display: inline; justify-self: start; margin-top: -0.3rem; padding: 0.2rem 0; border: 0; background: none; color: var(--anthracite); font: 600 var(--t-sm)/1.3 var(--sans); text-decoration: underline; text-decoration-color: var(--moutarde); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
  .actions-mobile { position: sticky; top: 64px; z-index: 20; display: flex; gap: 0.5rem; padding: 0.55rem var(--gutter); margin: 0 0 0.6rem; background: color-mix(in srgb, var(--platre) 94%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-block: 1px solid var(--trait); }
  .actions-mobile__test, .actions-mobile__filtres { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 42px; padding: 0 1rem; border-radius: 999px; font: 700 var(--t-sm)/1.1 var(--sans); text-decoration: none; cursor: pointer; }
  .actions-mobile__test { flex: 1 1 auto; background: var(--moutarde); border: 1px solid var(--moutarde); color: var(--anthracite); }
  .actions-mobile__test:hover, .actions-mobile__test:active, .actions-mobile__test:focus-visible { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); }
  .actions-mobile__filtres { flex: none; background: var(--blanc); border: 1px solid var(--anthracite); color: var(--anthracite); }
  .actions-mobile__filtres:active { background: var(--anthracite); color: var(--blanc); }
  .actions-mobile__filtres svg { width: 18px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
  .collection__tete .vignettes-nav { padding-bottom: 0.4rem; }
}

/* Refined buttons, one style for the site's action buttons (Romain, 30/09: "pas fan des grosses pilules",
   solid mustard "un peu cheap"): lower, fine border, moderate radius, light tint, dark gold text, a fine
   icon; black on hover and on touch. Used by the test, the filters (phone row) and "Meilleurs canapés". */
.bouton--guide[data-lien-test], .actions-mobile__test, .actions-mobile__filtres, .nav-lien.nav-lien--phare, .phare-mobile {
  min-height: 38px; padding: 0 0.85rem; border-radius: 6px; box-shadow: none;
  font: 600 var(--t-sm)/1.1 var(--sans); letter-spacing: 0.005em; transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.bouton--guide[data-lien-test], .actions-mobile__test, .nav-lien.nav-lien--phare, .phare-mobile { background: #fbf6ea; border: 1px solid color-mix(in srgb, var(--bleu) 55%, transparent); color: var(--bleu-2); }
.actions-mobile__filtres { background: var(--blanc); border: 1px solid var(--anthracite); color: var(--anthracite); }
.bouton--guide[data-lien-test]:hover, .bouton--guide[data-lien-test]:focus-visible, .bouton--guide[data-lien-test]:active,
.actions-mobile__test:hover, .actions-mobile__test:focus-visible, .actions-mobile__test:active,
.actions-mobile__filtres:hover, .actions-mobile__filtres:active,
.nav-lien.nav-lien--phare:hover, .nav-lien.nav-lien--phare:focus-visible, .nav-lien.nav-lien--phare[aria-current],
.phare-mobile:hover, .phare-mobile:focus-visible, .phare-mobile:active { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); }
.nav-lien--phare:hover .nav-phare__icone, .nav-lien--phare:focus-visible .nav-phare__icone, .nav-lien--phare[aria-current] .nav-phare__icone, .phare-mobile:hover .nav-phare__icone, .phare-mobile:active .nav-phare__icone { stroke: var(--moutarde); }
.nav-lien--phare:hover .nav-phare__etoile, .phare-mobile:hover .nav-phare__etoile { fill: var(--moutarde); }
.actions-mobile__test svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.bouton--guide[data-lien-test]::before { width: 15px; height: 15px; }
@media (max-width: 1100px) {
  .nav-lien.nav-lien--phare { min-height: 0; padding: 0.95rem 0.3rem; border: 0; border-bottom: 1px solid var(--trait); border-radius: 0; background: none; color: var(--anthracite); font-size: var(--t-md); }
  .phare-mobile { min-height: 34px; padding: 0 0.6rem 0 0.5rem; }
  .phare-mobile span { font: inherit; font-size: 0.74rem; }
}
@media (max-width: 900px) {
  .actions-mobile__test, .actions-mobile__filtres { min-height: 40px; font-size: 0.82rem; }
  /* One row of actions on a phone: the toolbar keeps the sort and the counter only. */
  .catalogue__outils [data-ouvrir-filtres], .catalogue__outils .bouton--guide { display: none; }
}

/* Guide tools (30/09): titles wrap cleanly, nothing leaves its frame at any width. */
.duel-options h2, .quiz__titre, .mesure__titre, .guide-avant h2 { text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.duel-options, .quiz, .mesure, .angle-calc { min-width: 0; max-width: 100%; box-sizing: border-box; }
.duel-options__choix select { min-width: 0; text-overflow: ellipsis; }
.duel-options .mini__nom { overflow-wrap: anywhere; }
.duel-options .mini__ligne { flex-wrap: wrap; gap: 0.2rem 0.6rem; }
@media (max-width: 480px) {
  .duel-options h2 { font-size: clamp(1.25rem, 1rem + 1.5vw, 1.5rem); }
  .duel-options .guide-tableau th, .duel-options .guide-tableau td { font-size: var(--t-xs); padding: 0.5rem 0.35rem; overflow-wrap: anywhere; }
  .duel-options .guide-tableau th[scope="row"] { width: 32%; }
  .duel-options .minis .mini { padding: 0.35rem 0.4rem; }
  .duel-options .mini__nom { font-size: var(--t-xs); }
  .duel-options .mini__ligne { font-size: var(--t-xs); }
}

/* "Quelle place avez-vous ?" sliders (home + collections, 30/09): a 28 px thumb easy to catch with a
   thumb, a horizontal drag that never scrolls the page (touch-action: pan-y), same look everywhere. */
.place input[type="range"] { -webkit-appearance: none; appearance: none; height: 28px; background: transparent; touch-action: pan-y; cursor: pointer; }
.place input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(var(--bleu), var(--bleu)) 0 / var(--rempli, 100%) 100% no-repeat, var(--trait); }
.place input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--trait); }
.place input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--bleu); }
.place input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--blanc); border: 2px solid var(--bleu); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); }
.place input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--blanc); border: 2px solid var(--bleu); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); }
.place input[type="range"]:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 4px; border-radius: 999px; }
.place input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.08); }

/* Phone header (30/09): no magnifier (the search opens from the top of the menu), the room goes to a
   readable one-line "Meilleurs canapés" with its ranking icon. Computer: unchanged. */
@media (max-width: 1100px) {
  .entete .bouton-recherche { display: none; }
  .phare-mobile { min-height: 36px; padding: 0 0.7rem 0 0.55rem; gap: 0.4rem; }
  .phare-mobile span { font-size: 0.84rem; white-space: nowrap; }
  .phare-mobile .nav-phare__icone { display: block; width: 18px; height: 15px; }
  .tiroir__recherche { display: flex; align-items: center; gap: 0.6rem; width: 100%; min-height: 48px; padding: 0 1rem; border: 1px solid var(--trait); border-radius: 8px; background: var(--blanc); color: var(--feutre); font: 400 var(--t-md)/1.2 var(--sans); text-align: left; cursor: text; }
  .tiroir__recherche svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--anthracite); stroke-width: 2; stroke-linecap: round; }
  body.menu-ouvert .tiroir__recherche { border-color: rgba(255, 255, 255, 0.25); }
}
@media (max-width: 380px) {
  .entete .bouton-menu span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .phare-mobile span { font-size: 0.8rem; }
}
@media (max-width: 330px) { .phare-mobile .nav-phare__icone { display: none; } }

/* "Meilleurs canapés" in reverse (Romain, 30/09, final): anthracite background, light text, fine gold
   ranking icon; same on the computer. The menu is the 3-bar icon alone (aria-label "Menu"). */
.nav-lien.nav-lien--phare, .phare-mobile { background: var(--anthracite); border: 1px solid var(--anthracite); color: var(--platre); }
.nav-lien--phare .nav-phare__icone, .phare-mobile .nav-phare__icone { stroke: var(--moutarde); }
.nav-lien--phare .nav-phare__etoile, .phare-mobile .nav-phare__etoile { fill: var(--moutarde); }
.nav-lien.nav-lien--phare:hover, .nav-lien.nav-lien--phare:focus-visible, .nav-lien.nav-lien--phare[aria-current],
.phare-mobile:hover, .phare-mobile:focus-visible, .phare-mobile:active { background: #3b3e45; border-color: #3b3e45; color: var(--blanc); }
.entete .bouton-menu span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.entete .bouton-menu { padding: 0 0.3rem; min-width: 40px; justify-content: center; }
.bouton-menu__icone { width: 22px; height: 14px; }
@media (max-width: 1100px) {
  .nav-lien.nav-lien--phare { background: none; border: 0; border-bottom: 1px solid var(--trait); color: var(--anthracite); }
  .entete .bouton-menu { margin-left: 0.9rem; }
}
@media (max-width: 380px) { .entete .bouton-menu { margin-left: 0.6rem; } }
/* "Meilleurs canapés", last word (Romain, 30/09): computer = text + fine gold icon + an elegant underline,
   no dark background; phone, menu closed = anthracite; phone, menu open (dark panel) = light, reversed. */
.nav-lien.nav-lien--phare { background: none; border: 0; border-radius: 0; padding: 0.55rem 0.4rem; color: var(--anthracite); }
.nav-lien.nav-lien--phare .nav-phare__texte { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--moutarde) 80%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 6px; transition: text-decoration-color 0.18s ease, color 0.18s ease; }
.nav-lien.nav-lien--phare:hover, .nav-lien.nav-lien--phare:focus-visible, .nav-lien.nav-lien--phare[aria-current] { background: none; border: 0; color: var(--bleu-2); }
.nav-lien.nav-lien--phare:hover .nav-phare__texte, .nav-lien.nav-lien--phare:focus-visible .nav-phare__texte { text-decoration-color: var(--anthracite); }
.nav-lien--phare:hover .nav-phare__icone { stroke: var(--bleu-2); }
.nav-lien--phare:hover .nav-phare__etoile { fill: var(--bleu-2); }
@media (max-width: 1100px) {
  .nav-lien.nav-lien--phare { padding: 0.95rem 0.3rem; border-bottom: 1px solid var(--trait); }
  .nav-lien.nav-lien--phare .nav-phare__texte { text-decoration: none; }
  body.menu-ouvert .phare-mobile { background: var(--platre); border-color: var(--platre); color: var(--anthracite); }
  body.menu-ouvert .phare-mobile .nav-phare__icone { stroke: var(--bleu); }
  body.menu-ouvert .phare-mobile .nav-phare__etoile { fill: var(--bleu); }
}

/* ==== Notre méthode, v2 magazine (page-methodologie.php, 30/09). Reuses guide-q__*, avis-mag__*,
   avis-coeur, guide-detail, notes-detail; only what they lack is here. ==== */
.methodo-mag .guide-q__une h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.3rem); }
.methodo-une { margin: 0; display: grid; gap: 0.6rem; position: relative; }
.methodo-une__photo { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-img); overflow: hidden; background: #e6e5e8; }
.methodo-une__photo img { width: 100%; height: 100%; object-fit: contain; }
.methodo-une__carte { position: absolute; right: 0.9rem; bottom: 3.2rem; width: min(62%, 250px); display: grid; gap: 0.35rem; padding: 0.8rem 0.9rem; background: rgba(255, 255, 255, 0.94); border-radius: 12px; box-shadow: 0 8px 24px rgba(45, 47, 52, 0.14); }
.methodo-une__titre { margin: 0 0 0.2rem; font: 650 var(--t-sm)/1 var(--sans); }
.methodo-une__titre .num { font: 500 1.6rem/1 var(--serif); margin-left: 0.2rem; }
.methodo-une__titre small { color: var(--feutre); font-weight: 500; }
.methodo-une__ligne { display: grid; grid-template-columns: 6.2rem 1fr 2rem; gap: 0.5rem; align-items: center; font: 500 var(--t-xs)/1.2 var(--sans); }
.methodo-une__ligne span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.methodo-une__ligne i { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--moutarde) var(--v), var(--platre) var(--v)); }
.methodo-une__ligne b { text-align: right; font-weight: 650; }
.methodo-une figcaption { font: italic 400 var(--t-sm)/1.45 var(--serif); color: var(--feutre); }

.methodo-intro { max-width: 46rem; margin: -0.6rem 0 1.8rem; font: 400 var(--t-md)/1.6 var(--serif); }
.methodo-flux { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; }
.methodo-flux li { position: relative; display: grid; gap: 0.4rem; align-content: start; padding-top: 1rem; border-top: 2px solid var(--anthracite); }
.methodo-flux li:not(:last-child)::after { content: "→"; position: absolute; top: -0.85rem; right: -0.95rem; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; background: var(--platre); color: var(--bleu); font: 600 1rem/1 var(--sans); }
.methodo-flux__n { font: 500 2rem/1 var(--serif); color: var(--moutarde); }
.methodo-flux h3 { margin: 0; font: 650 var(--t-md)/1.3 var(--sans); }
.methodo-flux p { margin: 0; font: 400 var(--t-sm)/1.6 var(--serif); }

.methodo-criteres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; align-items: start; }
.methodo-critere { display: grid; gap: 1rem; padding: 1.4rem 1.4rem 1.2rem; background: var(--blanc); border-top: 3px solid var(--anthracite); border-radius: 0 0 16px 16px; scroll-margin-top: 90px; min-width: 0; }
.methodo-critere:last-child { grid-column: 1 / -1; }
.methodo-critere header h3 { margin: 0 0 0.3rem; font: 650 clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem)/1.15 var(--sans); letter-spacing: -0.015em; }
.methodo-critere__base { margin: 0; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--feutre); }
.methodo-critere__base b { color: var(--anthracite); }
.methodo-echelle { position: relative; height: 3.4rem; margin: 1.2rem 0.4rem 0.2rem; }
.methodo-echelle::before { content: ""; position: absolute; left: 0; right: 0; top: 1.3rem; height: 8px; border-radius: 99px; background: var(--platre); }
.methodo-echelle__bornes { position: absolute; top: 1.3rem; height: 8px; border-radius: 99px; background: #e8dcb8; }
.methodo-echelle__site { position: absolute; top: 1.3rem; height: 8px; border-radius: 99px; background: var(--moutarde); }
.methodo-echelle__moy, .methodo-echelle__base { position: absolute; top: 0.95rem; width: 2px; height: 16px; background: var(--anthracite); }
.methodo-echelle__base { background: var(--feutre); }
.methodo-echelle__moy i, .methodo-echelle__base i { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 600 var(--t-xs)/1 var(--sans); font-style: normal; }
.methodo-echelle__moy i { top: -1.05rem; color: var(--anthracite); }
.methodo-echelle__base i { top: 1.3rem; color: var(--feutre); font-weight: 500; }
.methodo-echelle__graduation em { position: absolute; top: 2.3rem; transform: translateX(-50%); font: 400 0.7rem/1 var(--sans); font-style: normal; color: var(--feutre); }
.methodo-echelle__graduation em:not(:first-child):not(:last-child) { display: none; }

.methodo-regles { width: 100%; border-collapse: collapse; font: 400 var(--t-sm)/1.35 var(--sans); }
.methodo-regles th, .methodo-regles td { padding: 0.55rem 0.5rem 0.55rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--trait); }
.methodo-regles thead th { font: 600 var(--t-xs)/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.05em; color: var(--feutre); }
.methodo-regles tbody th { font-weight: 600; width: 32%; }
.methodo-regles tbody tr:last-child > * { border-bottom: 0; }
.methodo-regles__pts { font-weight: 700; white-space: nowrap; }
.est-plus > .methodo-regles__pts { color: var(--vert-ok); }
.est-moins > .methodo-regles__pts { color: var(--rouge-non); }
.methodo-regles__cpt { width: 6.5rem; white-space: nowrap; }
.methodo-regles__cpt .num { font: 600 var(--t-xs)/1 var(--sans); margin-left: 0.4rem; }
.methodo-barre { display: inline-block; width: 3.6rem; height: 6px; border-radius: 99px; vertical-align: middle; background: linear-gradient(90deg, var(--moutarde) var(--v), var(--platre) var(--v)); }
.methodo-regles--prix { max-width: 26rem; margin-top: 0.6rem; }

.methodo-qp { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); align-items: start; }
.methodo-qp p { margin: 0 0 0.8rem; font: 400 var(--t-sm)/1.65 var(--serif); }
.methodo-courbe { margin: 0; }
.methodo-courbe svg { width: 100%; height: auto; display: block; font: 500 12px var(--sans); fill: var(--feutre); }
.methodo-courbe__axe { stroke: var(--trait); stroke-width: 1; }
.methodo-courbe__trait { fill: none; stroke: var(--moutarde); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.methodo-courbe__point { fill: var(--anthracite); stroke: var(--blanc); stroke-width: 2; }
.methodo-courbe__lib { fill: var(--anthracite); font-weight: 650; }
.methodo-courbe figcaption { margin-top: 0.4rem; font: italic 400 var(--t-xs)/1.4 var(--serif); color: var(--feutre); }

.methodo-note { display: grid; gap: 0.4rem; margin-top: 1.6rem; padding: 1.4rem 1.6rem; border-radius: 16px; background: var(--anthracite); color: #e9e7e1; }
.methodo-note__titre { margin: 0; font: 650 var(--t-xs)/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--moutarde); }
.methodo-note__formule { margin: 0; font: 500 clamp(1.15rem, 0.95rem + 0.8vw, 1.6rem)/1.3 var(--serif); color: var(--blanc); overflow-wrap: anywhere; }
.methodo-note p:last-child { margin: 0; font: 400 var(--t-sm)/1.6 var(--serif); }

.methodo-exemple { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; align-items: start; }
.methodo-exemple__critere { min-width: 0; padding: 1.1rem 1.1rem 0.6rem; background: var(--blanc); border-radius: 14px; }
.methodo-exemple__critere h3 { display: flex; justify-content: space-between; gap: 0.6rem; margin: 0 0 0.4rem; font: 650 var(--t-md)/1.25 var(--sans); }
.methodo-exemple__critere h3 .num { color: var(--bleu); white-space: nowrap; }
.methodo-exemple__critere .notes-detail li { font-size: var(--t-xs); }
.methodo-exemple__critere .notes-manque { font-size: var(--t-xs); }
.methodo-exemple__global { margin-top: 1.4rem; color: var(--anthracite); }
.methodo-exemple__global strong { font-weight: 650; }

.methodo-formats table { width: 100%; border-collapse: collapse; font: 400 var(--t-sm)/1.3 var(--sans); }
.methodo-formats th, .methodo-formats td { padding: 0.45rem 0.3rem 0.45rem 0; text-align: left; border-bottom: 1px solid var(--trait); }
.methodo-formats thead th { font: 600 var(--t-xs)/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.05em; color: var(--feutre); }
.methodo-formats tbody th { font-weight: 500; }
.methodo-formats tbody th a { color: var(--anthracite); }
.methodo-formats td.num { white-space: nowrap; text-align: right; }

.methodo-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.4rem; }
.methodo-carte { display: grid; gap: 0.5rem; align-content: start; padding-top: 1rem; border-top: 2px solid var(--anthracite); }
.methodo-carte h3 { margin: 0; font: 650 var(--t-md)/1.3 var(--sans); }
.methodo-carte p { margin: 0; font: 400 var(--t-sm)/1.65 var(--serif); }
.methodo-carte a { color: var(--anthracite); font-weight: 600; }
.methodo-repere div { grid-template-columns: 5.5rem 1fr; }
.methodo-independance__liste { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.methodo-independance__liste div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.methodo-independance__liste dt { font: 500 var(--t-md)/1.3 var(--sans); }
.methodo-independance__liste dd { margin: 0; font: 500 clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem)/1 var(--serif); color: var(--moutarde); }
.methodo-auteur img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.methodo-auteur > p:not([class]) { margin: 0; font: 400 var(--t-sm)/1.55 var(--serif); }
@media (max-width: 1000px) {
  .methodo-flux { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
  .methodo-flux li::after { display: none; }
  .methodo-exemple { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .methodo-criteres, .methodo-qp, .methodo-exemple { grid-template-columns: minmax(0, 1fr); }
  .methodo-mag .avis-mag__lecture { grid-template-columns: minmax(0, 1fr); }
  .methodo-mag .avis-mag__encadre { position: static; }
  .methodo-regles tbody th { width: auto; }
  .methodo-regles__cpt { width: auto; }
  .methodo-barre { width: 2.4rem; }
}
@media (max-width: 480px) {
  .methodo-une__carte { position: static; width: auto; box-shadow: none; border: 1px solid var(--trait); }
  .methodo-regles__cpt .methodo-barre { display: none; }
}
/* ==== fin : notre méthode ==== */

/* Comparator: secondary criteria folded under "Plus de critères" (30/09); a small gold dot marks the
   values of the sofa of the page. */
.comparateur__plus { border-top: 1px solid var(--trait); padding-top: 0.5rem; }
.comparateur__plus > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0; font: 600 var(--t-sm)/1.2 var(--sans); color: var(--anthracite); text-decoration: underline; text-decoration-color: var(--moutarde); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.comparateur__plus > summary::-webkit-details-marker { display: none; }
.comparateur__plus > summary::after { content: "+"; font-weight: 400; color: var(--bleu); }
.comparateur__plus[open] > summary::after { content: "−"; }
.comparateur__plus[open] { display: grid; gap: 0.7rem; }
.comparateur__plus > summary span { color: var(--bleu); text-decoration: none; }
.comparateur__puce.est-sien { position: relative; }
.comparateur__puce.est-sien::after { content: ""; position: absolute; top: 3px; right: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--moutarde); }

/* ==== accueil magazine et méga-menu guides (agent Accueil, 30/09) ==== */
.une-guides__entete { display: grid; gap: 0.6rem; margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem); max-width: 46rem; }
.une-guides__surtitre { margin: 0; font: 650 var(--t-xs)/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--bleu); display: flex; align-items: center; gap: 0.7rem; }
.une-guides__surtitre::before { content: ""; width: 2.2rem; height: 2px; background: var(--moutarde); }
.une-guides__entete h2 { margin: 0; font-size: clamp(1.8rem, 1.1rem + 2.3vw, 2.9rem); letter-spacing: -0.03em; line-height: 1.05; }
.une-guides__chapeau { margin: 0.2rem 0 0; font: 400 var(--t-md)/1.6 var(--serif); color: var(--feutre); }

.une-guides__grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.6rem); }
.une-guide { position: relative; display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.une-guide--une { grid-column: span 2; grid-row: span 2; gap: 0.6rem; }
.une-guide__photo { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-img); overflow: hidden; background: var(--platre-2); margin-bottom: 0.35rem; }
.une-guide--une .une-guide__photo { aspect-ratio: 16 / 11; }
.une-guide__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.1, 1); }
.une-guide:hover .une-guide__photo img { transform: scale(1.04); }
.une-guide__num { position: absolute; top: 0.7rem; left: 0.7rem; min-width: 2.3rem; padding: 0.35rem 0.5rem; border-radius: 999px; background: var(--blanc); color: var(--anthracite); font: italic 500 var(--t-sm)/1 var(--serif); text-align: center; }
.une-guide--une .une-guide__num { background: var(--moutarde); font-size: var(--t-md); }
.une-guide__surtitre { margin: 0; font: 650 var(--t-xs)/1 var(--sans); color: var(--bleu); text-transform: uppercase; letter-spacing: 0.06em; }
.une-guide__titre { margin: 0; font: 650 var(--t-md)/1.25 var(--sans); letter-spacing: -0.01em; }
.une-guide--une .une-guide__titre { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.1rem); line-height: 1.1; letter-spacing: -0.025em; }
.une-guide__titre a { color: var(--anthracite); text-decoration: none; }
.une-guide__titre a::after { content: ""; position: absolute; inset: 0; }
.une-guide:hover .une-guide__titre a { text-decoration: underline; text-decoration-color: var(--moutarde); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.une-guide__texte { margin: 0; font: 400 var(--t-sm)/1.55 var(--serif); color: var(--feutre); }
.une-guide--une .une-guide__texte { font-size: var(--t-md); max-width: 34rem; }
.une-guide:not(.une-guide--une) .une-guide__lire { display: none; }
.une-guide__lire { margin-top: 0.3rem; }

.une-explorer { background: var(--foret); color: #e9e7e1; }
.une-explorer .une-guides__entete h2 { color: var(--blanc); }
.une-explorer .une-guides__surtitre { color: var(--moutarde); }
.une-explorer__grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.une-page { position: relative; display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.une-page__photo { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-img); overflow: hidden; background: #3a3c41; margin-bottom: 0.4rem; }
.une-page__photo img, .une-page__photo svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.1, 1); }
.une-page:hover .une-page__photo img { transform: scale(1.04); }
.une-page__surtitre { margin: 0; font: 650 var(--t-xs)/1 var(--sans); color: var(--moutarde); text-transform: uppercase; letter-spacing: 0.06em; }
.une-page__titre { margin: 0; font: 650 var(--t-lg)/1.2 var(--sans); letter-spacing: -0.015em; }
.une-page__titre a { color: var(--blanc); text-decoration: none; }
.une-page__titre a::after { content: ""; position: absolute; inset: 0; }
.une-page__titre a::before { content: "→ "; color: var(--moutarde); }
.une-page:hover .une-page__titre a { text-decoration: underline; text-decoration-color: var(--moutarde); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.une-page__meta { margin: 0; font: 400 var(--t-sm)/1.4 var(--sans); color: #c9ccd2; }
.une-explorer__outils { list-style: none; margin: clamp(1.8rem, 3vw, 2.4rem) 0 0; padding: 1.4rem 0 0; border-top: 1px solid rgba(239, 238, 234, 0.16); display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; }
.une-explorer__outils .lien-fleche { color: var(--blanc); }
.une-explorer__outils .lien-fleche::after { color: var(--moutarde); }
.une-explorer__outils .lien-fleche:hover { color: var(--moutarde); }

.une-faq__grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.une-faq .faq { border-top: 2px solid var(--anthracite); }
.une-faq summary h3 { margin: 0; font: 600 var(--t-md)/1.35 var(--sans); letter-spacing: 0; }
.une-faq .faq details > div p { margin: 0; font: 400 var(--t-md)/1.65 var(--serif); }

@media (max-width: 1000px) {
  .une-guides__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .une-guide--une { grid-row: auto; }
  .une-explorer__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .une-faq__grille { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .une-guides__grille { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .une-guide--une { grid-column: auto; margin-bottom: 0.8rem; }
  .une-guide:not(.une-guide--une) { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 0.9rem; row-gap: 0.3rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--trait); }
  .une-guide:not(.une-guide--une) .une-guide__photo { grid-row: 1 / span 3; margin: 0; aspect-ratio: 4 / 3; }
  .une-guide:not(.une-guide--une) .une-guide__num { top: 1.4rem; left: 0.4rem; min-width: 1.9rem; padding: 0.25rem 0.35rem; font-size: var(--t-xs); }
  .une-guide:not(.une-guide--une) .une-guide__texte { font-size: var(--t-xs); }
  .une-explorer__grille { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .une-page { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 0.9rem; row-gap: 0.3rem; align-content: start; }
  .une-page__photo { grid-row: 1 / span 3; margin: 0; }
  .une-explorer__outils { flex-direction: column; gap: 0.9rem; }
}

/* Méga-menu, colonne « À découvrir » : guide usage et comparatifs en vignettes (30/09). */
.mega__guides { display: grid; gap: 0.55rem; margin-top: 0.6rem; padding-top: 0.9rem; border-top: 1px solid var(--trait); }
.mega .mega__guide { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.75rem; align-items: center; padding: 0.3rem; margin-left: -0.3rem; border-radius: 10px; color: var(--anthracite); text-decoration: none; background: none; font: 600 var(--t-sm)/1.25 var(--sans); }
.mega .mega__guide:hover { background: var(--bleu-voile); color: var(--bleu-2); }
.mega__guide-photo { display: block; aspect-ratio: 3 / 2; border-radius: 7px; overflow: hidden; background: var(--platre-2); }
.mega__guide-photo img { width: 100%; height: 100%; object-fit: cover; }
.mega__guide-texte { display: grid; gap: 0.2rem; }
.mega__guide-texte small { font: 600 var(--t-xs)/1 var(--sans); color: var(--bleu); }
.mega__guides .mega__tout { margin-top: 0.2rem; }
/* Compteurs : 3 cases quand le 4e chiffre n'est pas prouvable ; classement lisible sur téléphone (30/09). */
.chiffres:has(> .chiffre:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 800px) { .chiffres:has(> .chiffre:nth-child(3):last-child) > .chiffre:last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .une-page__titre { font-size: var(--t-md); } }
@media (max-width: 480px) {
  .top-canapes__ligne { grid-template-columns: 1.6rem 5.5rem minmax(0, 1fr); gap: 0.4rem 0.8rem; padding: 0.8rem; }
  .top-canapes__rang { font-size: 1.5rem; }
  .top-canapes__texte h3 { font-size: var(--t-md); line-height: 1.25; }
  .top-canapes__texte .cote { display: none; }
  .top-canapes__note { font-size: 1.5rem; }
}
/* Sans couverture : carte texte, jamais de cadre vide (30/09). Lien « Tous nos guides » : pas de fond au survol. */
.une-page--texte, .une-guide--texte { padding-top: 1rem; border-top: 3px solid var(--moutarde); }
.une-guide--texte .une-guide__num { position: static; align-self: start; }
@media (max-width: 600px) { .une-guide--texte:not(.une-guide--une), .une-page--texte { display: flex; flex-direction: column; } }
.mega .mega__guide--texte { grid-template-columns: minmax(0, 1fr); padding: 0.45rem 0.6rem; margin-left: -0.6rem; }
.mega .mega__tout { justify-self: start; }
.mega a.mega__tout:hover { background: none; color: var(--bleu-2); text-decoration-color: var(--bleu-2); }
/* ==== fin : accueil magazine ==== */

/* Cartes, retours de Romain du 30/09 : la note en haut à gauche de la photo, le badge (« Notre choix »,
   « Alternative », « Petit budget », « Haut de gamme ») en haut à droite, le bouton 3D reste en bas à droite.
   Le badge ne déborde jamais sur la note (largeur bornée, une ligne). */
.carte__pastille { left: 0.7rem; right: auto; }
.carte > .repere-choix { left: auto; right: 0.7rem; max-width: calc(100% - 46px - 2.1rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .grille-produits .carte__pastille { left: 0.4rem; right: auto; }
  .grille-produits .carte > .repere-choix { right: 0.4rem; max-width: calc(100% - 36px - 1.2rem); }
}

/* Radar links to the notes explained (30/09): labels, values and points are links; a transparent 16-unit
   target around each point for fingers; focus ring for the keyboard. */
.comparateur__lien { cursor: pointer; }
.comparateur__cible { fill: transparent; stroke: none; }
.comparateur__lien:hover .comparateur__point, .comparateur__lien:focus-visible .comparateur__point { stroke-width: 4; }
.comparateur__lien:hover tspan, .comparateur__lien:focus-visible tspan { text-decoration: underline; }
.comparateur__lien:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 2px; }
.comparateur__lien:focus-visible .comparateur__cible { fill: color-mix(in srgb, var(--moutarde) 22%, transparent); }
[id^="note-"] { scroll-margin-top: 90px; }

/* ==== Ma sélection, partage, « Résumer avec l'IA », épingler (inc/selection.php, inc/partage.php, 30/09) ====
   Every button has its place from the first paint (absolute or reserved): nothing moves when the scripts run. */
.icone { width: 20px; height: 20px; flex: none; }
.coeur { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(250, 250, 248, 0.94); color: var(--anthracite); cursor: pointer; box-shadow: 0 4px 14px -6px rgba(35, 38, 43, 0.5); transition: transform 0.15s ease, color 0.15s ease; }
.coeur:hover { color: var(--rouge-non); transform: scale(1.06); }
.coeur[aria-pressed="true"], .outil--coeur[aria-pressed="true"] { color: var(--rouge-non); }
.coeur[aria-pressed="true"] .icone path, .outil--coeur[aria-pressed="true"] .icone path, .entete-selection .icone path { fill: currentColor; fill-opacity: 0; transition: fill-opacity 0.15s ease; }
.coeur[aria-pressed="true"] .icone path, .outil--coeur[aria-pressed="true"] .icone path { fill-opacity: 1; }
.coeur:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 2px; }
@media (max-width: 640px) { .grille-produits .coeur { left: 6px; bottom: 6px; width: 36px; height: 36px; } }

/* Header: heart and number, fixed size (the number is drawn over the icon). */
.entete-selection { position: relative; display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--trait); border-radius: 50%; background: var(--blanc); color: var(--anthracite); text-decoration: none; }
.entete-selection:hover, .entete-selection:focus-visible { border-color: var(--moutarde); color: var(--rouge-non); }
.entete-selection__n { position: absolute; top: -5px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--rouge-non); color: var(--blanc); font: 700 0.68rem/19px var(--sans); text-align: center; }
.entete-selection__n:empty { display: none; }
.entete-selection:has(.entete-selection__n:not(:empty)) .icone path { fill-opacity: 1; }
.entete-selection:has(.entete-selection__n:not(:empty)) { color: var(--rouge-non); }
.entete-selection__texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.entete-selection.est-ajoute { animation: selection-pouls 0.45s ease; }
@keyframes selection-pouls { 40% { transform: scale(1.18); } }
@media (max-width: 1100px) { .entete-selection { order: 1; } }
/* Phone: the heart takes its room from the ranking pill's icon (the label stays whole) and the menu's margin. */
@media (max-width: 440px) {
  .entete-selection { width: 34px; height: 34px; }
  .phare-mobile .nav-phare__icone { display: none; }
  .phare-mobile { padding: 0 0.55rem; }
  .entete .bouton-menu { margin-left: 0; }
}
@media (max-width: 400px) { .entete__barre { gap: 0.4rem; } }

/* Announcement under the header (never over the fiche's buy bar). */
.annonce-selection { position: fixed; top: 76px; left: 50%; z-index: 60; width: max-content; max-width: calc(100vw - 32px); padding: 0.75rem 1.1rem; border-radius: 12px; background: var(--foret); color: #eeece6; font: 500 var(--t-sm)/1.4 var(--sans); box-shadow: var(--ombre); transform: translate(-50%, -8px); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; }
.annonce-selection.est-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.annonce-selection a { color: var(--moutarde); font-weight: 650; margin-left: 0.3rem; }

/* Fiche: the reader's tools under the merchant button. */
.achat__outils { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin: -0.4rem 0 0.3rem; }
.outil { display: flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.45rem 0.8rem; border: 1px solid var(--trait); border-radius: 12px; background: var(--blanc); color: var(--anthracite); font: 500 var(--t-xs)/1.2 var(--sans); text-align: left; text-decoration: none; cursor: pointer; }
.outil:hover, .outil[aria-expanded="true"] { border-color: var(--anthracite); color: var(--anthracite); }
.outil .icone { color: var(--bleu); }
.outil--coeur .icone { color: inherit; }
.outil--coeur[aria-pressed="true"] { border-color: var(--rouge-non); background: #f8ecea; }

/* Share block: a row of round buttons (pages), or a panel with names (fiche, selection). */
.partage[hidden] { display: none; }
.partage__titre { margin: 0; font: 600 var(--t-xs)/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--feutre); }
.partage__liste { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.partage__lien { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 40px; height: 40px; padding: 0; border: 1px solid var(--trait); border-radius: 50%; background: var(--blanc); color: var(--anthracite); font: 500 var(--t-sm)/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.partage__lien:hover { border-color: var(--anthracite); color: var(--bleu-2); }
.partage__nom { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.partage__liste li:has(> .partage__lien--natif) { display: none; }
@media (hover: none) and (pointer: coarse) { .partage__liste li:has(> .partage__lien--natif) { display: list-item; } .partage__lien--natif { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); } }
.partage__retour { margin: 0; min-height: 1.3em; font: 500 var(--t-xs)/1.3 var(--sans); color: var(--vert-ok); }
.partage--ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; }
.partage--ligne .partage__retour { flex-basis: 100%; min-height: 0; }
.partage--ligne .partage__retour:empty { display: none; }
.partage--panneau { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 25; display: grid; gap: 0.7rem; padding: 1rem; border: 1px solid var(--trait); border-radius: 14px; background: var(--blanc); box-shadow: var(--ombre); }
.partage--panneau .partage__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 0.3rem; }
.partage--panneau .partage__lien { justify-content: flex-start; width: 100%; height: 44px; padding: 0 0.7rem; border-radius: 10px; border-color: transparent; background: var(--platre); }
.partage--panneau .partage__lien:hover { border-color: var(--anthracite); }
.partage--panneau .partage__nom { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
@media (hover: none) and (pointer: coarse) { .partage--panneau li:has(> .partage__lien--natif) { grid-column: 1 / -1; } .partage--panneau .partage__lien--natif { background: var(--anthracite); color: var(--blanc); } }
.partage__lien:focus-visible, .outil:focus-visible, .resume-ia__lien:focus-visible, .epingle:focus-visible, .entete-selection:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 2px; }
.partage-collection { margin-block: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--trait); }

/* « Résumer avec l'IA », under the title of articles and guides. */
.outils-lecture { display: grid; gap: 0.8rem; margin-top: 1.1rem; }
.resume-ia { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; }
.resume-ia__titre { margin: 0; font: 600 var(--t-xs)/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--feutre); }
.resume-ia__liste { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.resume-ia__lien { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 36px; padding: 0 0.8rem 0 0.6rem; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); color: var(--anthracite); font: 500 var(--t-sm)/1 var(--sans); text-decoration: none; }
.resume-ia__lien .icone { width: 17px; height: 17px; color: var(--bleu); }
.resume-ia__lien:hover { border-color: var(--moutarde); color: var(--anthracite); background: var(--moutarde-voile); }
@media (max-width: 600px) { .resume-ia__lien { min-height: 40px; } }

/* Pin a photo on Pinterest: over the fiche's photo (on hover, always on a touch screen), over an article's photo. */
.epingle { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.75rem 0.45rem 0.55rem; border-radius: 999px; background: rgba(250, 250, 248, 0.94); color: var(--anthracite); font: 650 var(--t-xs)/1 var(--sans); text-decoration: none; box-shadow: 0 4px 14px -6px rgba(35, 38, 43, 0.5); }
.epingle .icone { width: 16px; height: 16px; }
.epingle:hover { background: var(--anthracite); color: var(--blanc); }
.epingle--fiche { position: absolute; top: 12px; right: 12px; z-index: 2; opacity: 0; transition: opacity 0.15s ease; }
.galerie__principale:hover .epingle--fiche, .epingle--fiche:focus-visible { opacity: 1; }
@media (hover: none) and (pointer: coarse) { .epingle--fiche { opacity: 1; padding: 0.45rem; } .epingle--fiche span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.epingle--flottante { position: absolute; z-index: 20; transform: translateX(-100%); }
.epingle[hidden] { display: none; }

/* /ma-selection/ */
.selection__tete { max-width: 46rem; }
.selection__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; min-height: 46px; margin: 0.4rem 0 1.6rem; position: relative; }
.selection__actions .bouton .icone { width: 18px; height: 18px; }
/* Hidden while the list loads, but their room is kept: the cards never move down when they appear. */
.selection__actions [hidden] { display: inline-flex; visibility: hidden; }
@media (max-width: 600px) { .selection__actions { gap: 0.5rem; } .selection__actions .bouton { min-height: 42px; padding: 0 0.9rem; font-size: var(--t-xs); } }
.selection .partage--panneau { position: relative; top: auto; margin: -0.8rem 0 1.6rem; max-width: 44rem; }
.selection__retour { margin: 0; font: 500 var(--t-sm)/1.4 var(--sans); }
.selection__contenu { min-height: 420px; }
.selection__contenu:not([aria-busy]):empty { min-height: 0; }
.selection__attente { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1.6rem; }
.selection__attente span { aspect-ratio: 4 / 3; border-radius: var(--r-img); background: linear-gradient(90deg, var(--platre-2), var(--platre), var(--platre-2)); background-size: 200% 100%; animation: selection-attente 1.2s linear infinite; }
@keyframes selection-attente { to { background-position: -200% 0; } }
.selection__vide { padding: 2rem 0 3rem; font: 400 var(--t-md)/1.6 var(--sans); }
.selection__vide .icone { display: inline; width: 1.1em; height: 1.1em; vertical-align: -0.15em; color: var(--rouge-non); }
.selection__vide .bouton { margin: 0.3rem 0.4rem 0 0; }
.selection__comparer { margin-top: 3.2rem; }
.selection__aide, .selection__detail { font: 400 var(--t-sm)/1.5 var(--sans); color: var(--feutre); }
.selection__detail[hidden] { display: none; }
.selection__table { min-width: 100%; width: auto; }
.selection__table thead th { min-width: 10.5rem; vertical-align: bottom; background: var(--blanc); }
.selection__table thead th a { display: grid; gap: 0.4rem; color: var(--anthracite); text-decoration: none; font-weight: 650; }
.selection__table thead th img { width: 100%; max-width: 160px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.selection__table thead th small { display: block; margin-top: 0.2rem; font-weight: 400; color: var(--feutre); }
.selection__table tbody th, .selection__table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--platre-2); min-width: 8rem; }
.selection__table [hidden] { display: none; }
.selection__erreur { font: 400 var(--t-md)/1.5 var(--sans); }
@media (prefers-reduced-motion: reduce) { .selection__attente span, .entete-selection.est-ajoute { animation: none; } .coeur, .annonce-selection { transition: none; } }
/* Romain's feedback after going live (30/09). */
/* "Dans ma sélection" at a glance: a full red heart, the tool filled, a short pop when added (and on the header's number). */
.coeur[aria-pressed="true"] { background: var(--rouge-non); color: var(--blanc); box-shadow: 0 4px 14px -4px rgba(155, 59, 50, 0.6); }
.coeur[aria-pressed="true"]:hover { color: var(--blanc); }
.outil--coeur[aria-pressed="true"] { background: var(--rouge-non); border-color: var(--rouge-non); color: var(--blanc); font-weight: 650; }
.outil--coeur[aria-pressed="true"]:hover { color: var(--blanc); border-color: var(--anthracite); }
@keyframes coeur-pop { 0% { transform: scale(1); } 35% { transform: scale(1.28); } 70% { transform: scale(0.94); } 100% { transform: scale(1); } }
.coeur.est-ajoute, .outil--coeur.est-ajoute .icone, .entete-selection.est-ajoute .entete-selection__n { animation: coeur-pop 0.45s ease; }
/* "Envoyer à mon conjoint": its own look (warm accent), not a second "Partager". */
.outil[data-conjoint], .selection__actions [data-conjoint] { background: var(--moutarde-voile); border-color: color-mix(in srgb, var(--moutarde) 70%, transparent); font-weight: 600; }
.outil[data-conjoint] .icone, .selection__actions [data-conjoint] .icone { color: var(--rouge-non); }
.outil[data-conjoint]:hover, .outil[data-conjoint][aria-expanded="true"], .selection__actions [data-conjoint]:hover { border-color: var(--moutarde); background: color-mix(in srgb, var(--moutarde) 22%, var(--moutarde-voile)); }
.partage--conjoint { border-top: 3px solid var(--moutarde); }
.partage--conjoint .partage__lien { background: var(--moutarde-voile); }
.partage__lien--plus { color: var(--feutre); }
/* Fiche on a computer: a slightly narrower photo column, so the right column (selector, note, price, buttons)
   wraps less and the buttons come up (measured 30/09: Nihad -22 px at 1440 and 1920, Jodie -36 px at 1280). */
@media (min-width: 901px) {
  .fiche__tete { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); }
  .fiche__tete:has(.achat--variantes) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .coeur.est-ajoute, .outil--coeur.est-ajoute .icone, .entete-selection.est-ajoute .entete-selection__n { animation: none; } }
/* Round 3 (Romain 30/09 afternoon). */
/* Cards: the heart takes the corner of the former 3D pill (bottom right), same discreet size. */
.carte .coeur { left: auto; right: 10px; bottom: 10px; width: 36px; height: 36px; }
.carte .coeur .icone { width: 18px; height: 18px; }
@media (max-width: 640px) { .grille-produits .carte .coeur { left: auto; right: 6px; bottom: 6px; width: 32px; height: 32px; } }
/* Fiche on a phone: just the heart, beside the merchant button; the four tools are for a computer. */
.achat__coeur { display: none; }
@media (max-width: 900px) {
  .achat__outils { display: none; }
  .achat .achat__cta { flex-direction: row; align-items: stretch; gap: 0.6rem; }
  .achat .achat__cta .bouton--marchand { flex: 1 1 auto; width: auto; min-width: 0; }
  .achat__coeur { display: flex; flex: none; }
  .coeur--fiche { position: static; width: 58px; height: 58px; border: 1px solid var(--trait); box-shadow: none; }
  .coeur--fiche .icone { width: 24px; height: 24px; }
  .coeur--fiche[aria-pressed="true"] { border-color: var(--rouge-non); }
}

/* /ma-selection/ as a magazine page: editorial head, one quiet line of actions, cards like the collections. */
.selection__tete { max-width: 46rem; padding-bottom: 0.4rem; }
.selection__tete h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.9rem; }
.selection__compte { font: italic 400 var(--t-lg)/1.2 var(--serif); letter-spacing: 0; color: var(--feutre); }
.selection__compte:empty { display: none; }
.selection__barre { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1.4rem; min-height: 48px; margin: 0.6rem 0 2rem; padding: 0.55rem 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); position: relative; }
.selection__barre[hidden] { display: flex; visibility: hidden; }
.selection__action { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 36px; padding: 0; border: 0; background: none; color: var(--anthracite); font: 600 var(--t-sm)/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.selection__action .icone { width: 18px; height: 18px; color: var(--bleu); }
.selection__action:hover, .selection__action[aria-expanded="true"] { color: var(--bleu-2); text-decoration: underline; text-decoration-color: var(--moutarde); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.selection__action--conjoint .icone { color: var(--rouge-non); }
.selection__action--vider { margin-left: auto; font-weight: 500; font-size: var(--t-xs); color: var(--feutre); }
.selection__action--vider:hover { color: var(--rouge-non); text-decoration-color: currentColor; }
.selection__action--principale { padding: 0 1.1rem; min-height: 42px; border-radius: 999px; background: var(--anthracite); color: var(--blanc); }
.selection__action--principale .icone { color: var(--moutarde); }
.selection__action--principale:hover { background: var(--moutarde); color: var(--anthracite); text-decoration: none; }
.selection__barre .partage--panneau { top: calc(100% + 6px); max-width: 44rem; }
.selection__barre .selection__retour { flex-basis: 100%; }
.selection__barre .selection__retour:empty { display: none; }
@media (max-width: 600px) { .selection__barre { gap: 0.2rem 1rem; } .selection__action { font-size: var(--t-xs); } }
/* Compare and remove on each card: quiet text actions. */
.selection__gestes { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: -0.1rem; }
.selection__geste { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 32px; padding: 0; border: 0; background: none; color: var(--feutre); font: 500 var(--t-xs)/1.2 var(--sans); cursor: pointer; }
.selection__geste:hover { color: var(--anthracite); }
.selection__case { display: grid; place-items: center; width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 4px; }
.selection__geste[aria-pressed="true"] { color: var(--anthracite); font-weight: 650; }
.selection__geste[aria-pressed="true"] .selection__case { background: var(--moutarde); border-color: var(--moutarde); }
.selection__geste[aria-pressed="true"] .selection__case::after { content: ""; width: 5px; height: 9px; margin-top: -2px; border: solid var(--anthracite); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.selection__geste--retirer:hover { color: var(--rouge-non); text-decoration: underline; text-underline-offset: 4px; }
.selection__geste:focus-visible, .selection__action:focus-visible, .selection__fermer:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 2px; }
/* The comparison: its own section, only once asked for. */
.selection__comparer[hidden] { display: none; }
.selection__comparer { margin-top: 3rem; scroll-margin-top: 90px; }
.selection__comparer-tete { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding-bottom: 0.8rem; border-bottom: 2px solid var(--anthracite); }
.selection__comparer-tete h2 { margin: 0.2rem 0 0; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem); letter-spacing: -0.03em; }
.selection__comparer-tete .rubrique-simple { margin: 0; }
.selection__fermer { padding: 0; border: 0; background: none; color: var(--feutre); font: 500 var(--t-sm)/1.2 var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; white-space: nowrap; }
.selection__fermer:hover { color: var(--anthracite); }
.selection__precis[hidden] { display: none; }
.selection__barre-comparer .barre-comparer__noms { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
/* Empty: a short editorial invitation and the best rated sofas to start with. */
.selection__vide { padding: 0.5rem 0 3rem; }
.selection__vide-tete { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: start; max-width: 44rem; margin-bottom: 2.4rem; }
.selection__vide-icone { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blanc); border: 1px solid var(--trait); color: var(--rouge-non); }
.selection__vide-icone .icone { width: 28px; height: 28px; }
.selection__vide-tete h2 { margin: 0 0 0.4rem; font-size: var(--t-xl); letter-spacing: -0.02em; }
.selection__vide-tete p { margin: 0 0 0.8rem; font: 400 var(--t-md)/1.6 var(--serif); }
.selection__vide-liens { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.selection__vide .rubrique { margin-bottom: 1.4rem; }
@media (max-width: 600px) { .selection__barre-comparer .barre-comparer__noms { display: none; } .selection__barre-comparer .barre-comparer__contenu { justify-content: flex-end; } }
/* Round 4 (Romain 30/09 12 h 50): one main button, the four notes above the fold, the tools as one quiet row. */
.achat__outils { display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem 1.2rem; margin: 0.1rem 0 0; padding-top: 0.7rem; border-top: 1px solid var(--trait); }
.achat__outils .outil, .achat__outils .outil[data-conjoint] { min-height: 32px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--feutre); font: 500 var(--t-xs)/1.2 var(--sans); gap: 0.35rem; }
.achat__outils .outil .icone { width: 16px; height: 16px; color: currentColor; }
.achat__outils .outil:hover, .achat__outils .outil[aria-expanded="true"] { background: none; color: var(--anthracite); text-decoration: underline; text-decoration-color: var(--moutarde); text-underline-offset: 4px; }
.achat__outils .outil[data-conjoint] .icone { color: var(--rouge-non); }
.achat__outils .outil--coeur[aria-pressed="true"] { background: none; border: 0; color: var(--rouge-non); font-weight: 650; }
.achat__outils .outil--coeur[aria-pressed="true"] .icone { color: var(--rouge-non); }
.achat__outils .partage--panneau { top: calc(100% + 6px); }
/* Heart on the fiche's main photo: bottom right, like the cards. */
.galerie__coeur { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
.galerie__coeur .coeur { position: static; width: 44px; height: 44px; }
.galerie__coeur .coeur .icone { width: 22px; height: 22px; }
/* Share panels: equal cells that fit their label (no "Copier le message" spilling out), names on one line or a clean wrap. */
.partage--panneau .partage__liste { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); }
.partage--panneau .partage__lien { height: auto; min-height: 44px; padding: 0.45rem 0.7rem; font-size: var(--t-xs); min-width: 0; }
.partage--panneau .partage__nom { min-width: 0; line-height: 1.2; overflow-wrap: anywhere; text-align: left; }
@media (max-width: 420px) { .partage--panneau .partage__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Round 5 (Romain 30/09 13 h): /ma-selection/ compact head, overlay panels, comparison open by default, light merchant links. */
.selection__tete { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 0.8rem 2rem; max-width: none; margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--trait); }
.selection__tete h1 { margin: 0.15rem 0 0.25rem; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); letter-spacing: -0.03em; }
.selection__surtitre { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.8rem; margin: 0; font: 600 var(--t-xs)/1.3 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--bleu); }
.selection__surtitre .selection__compte { font: italic 400 var(--t-sm)/1.2 var(--serif); letter-spacing: 0; text-transform: none; color: var(--feutre); }
.selection__chapeau { margin: 0; font: 400 var(--t-sm)/1.5 var(--sans); color: var(--feutre); }
.selection__tete .selection__barre { margin: 0; padding: 0; border: 0; min-height: 40px; justify-content: flex-start; gap: 0.2rem 1.2rem; }
.selection__tete .selection__action--vider { margin-left: 0; }
@media (max-width: 800px) { .selection__tete { grid-template-columns: minmax(0, 1fr); } .selection__tete .selection__barre { justify-content: flex-start; } }
/* Panels of the selection: an overlay anchored under the actions, never in the flow. */
.selection .selection__barre .partage--panneau { position: absolute; top: calc(100% + 8px); right: 0; left: auto; z-index: 30; width: min(40rem, calc(100vw - 32px)); max-width: none; margin: 0; }
@media (max-width: 800px) { .selection .selection__barre .partage--panneau { left: 0; right: auto; } }
/* Cards: the actions line, the tools, a light merchant link (same height on every card). */
.selection__carte .selection__gestes { padding-top: 0.5rem; border-top: 1px solid var(--trait); }
.selection__salon { display: inline-flex; align-items: center; gap: 0.35rem; position: relative; z-index: 1; font: 500 var(--t-xs)/1.2 var(--sans); color: var(--anthracite); text-decoration: underline; text-decoration-color: var(--moutarde); text-underline-offset: 4px; }
.selection__salon .icone { width: 16px; height: 16px; color: var(--bleu); }
.selection__marchand { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; min-height: 42px; padding: 0 0.9rem 0 1rem; border: 1px solid var(--anthracite); border-radius: 999px; color: var(--anthracite); font: 500 var(--t-xs)/1.2 var(--sans); text-decoration: none; transition: background-color 0.15s ease, border-color 0.15s ease; }
.selection__marchand strong { font-weight: 700; font-size: var(--t-sm); }
.selection__marchand:hover { background: var(--moutarde); border-color: var(--moutarde); color: var(--anthracite); }
.selection__marchand:focus-visible, .selection__salon:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 2px; }
/* Comparison: open by default, restricted by the cards' "Comparer", folded by "Fermer". */
.selection__restreint[hidden], .selection__rouvrir[hidden] { display: none; }
.selection__restreint { margin: 0 0 0.6rem; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--feutre); }
.selection__rouvrir { margin: 1.6rem 0 0; }
.selection__comparer { margin-top: 2.4rem; }
.selection__barre-comparer { display: none !important; }
.partage--panneau .partage__retour:empty { display: none; }
@media (max-width: 640px) { .selection__marchand { padding: 0 0.7rem; } .selection__marchand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .selection__marchand strong { font-size: var(--t-xs); } }
/* Round 6 (Romain 30/09 13 h 10): the documentation lives in the note's « i »; the top of the buying column is
   tighter so the four notes show at once on a laptop (1280×800 and 1440×900 screens), nothing removed. */
.info__bulle .achat__doc-zone { display: block; margin: 0.6rem 0 0.1rem; }
.info__bulle .achat__doc { color: #e9e7e1; white-space: normal; text-decoration-color: rgba(233, 231, 225, 0.4); }
.info__bulle .achat__doc::after { content: attr(title); display: inline-block; width: 100%; margin-top: 0.2rem; font-weight: 400; color: #c9c6be; }
.info__bulle .achat__doc:hover { color: var(--moutarde); }
@media (min-width: 901px) {
  .fiche > .enveloppe > .ariane, .fiche [data-v-ariane] .ariane { margin: 0.8rem 0 0.7rem; }
  .achat, .achat--variantes { gap: 0.4rem; }
  .achat__h2, .achat--variantes .achat__h2 { margin: 0; line-height: 1.3; }
  .achat--variantes .variantes { padding: 0.35rem 0 0.3rem; gap: 0.25rem; }
  .achat--variantes .variantes__axes { gap: 0.25rem; }
  .achat--variantes .variantes__choix { padding-top: 0.3rem; padding-bottom: 0.3rem; }
  .achat--variantes .variantes__axe-nom { padding-top: 0.35rem; }
  .achat--variantes .coloris__pastille { width: 26px; height: 26px; }
  .achat__chiffres { padding-top: 0.35rem; padding-bottom: 0.35rem; }
  .achat .note-globale__chiffre { font-size: var(--t-2xl); }
  .achat .achat__cta { margin: 0.1rem 0 0.4rem; }
  .achat .achat__cta .bouton--marchand { min-height: 50px; }
}
@media (min-width: 901px) {
  .achat--variantes .achat__h2 { font-size: var(--t-sm); }
  .achat__chiffres { padding-top: 0.2rem; padding-bottom: 0.2rem; }
  .achat .achat__prix { font-size: var(--t-xl); }
  .achat--variantes .variantes__titre { margin-top: 0.1rem; }
}
/* Round 7 (Romain 30/09 13 h 20). */
/* A little more air in the buying column (the four notes still show at once on a laptop). */
@media (min-width: 901px) {
  .achat, .achat--variantes { gap: 0.4rem; }
  .achat--variantes .variantes { padding: 0.4rem 0 0.35rem; gap: 0.25rem; }
  .achat--variantes .variantes__axes { gap: 0.25rem; }
  .achat--variantes .variantes__choix { padding-top: 0.3rem; padding-bottom: 0.3rem; }
  .achat__chiffres { padding-top: 0.25rem; padding-bottom: 0.25rem; }
  .achat .achat__cta { margin: 0.15rem 0 0.4rem; }
}
/* The H2 keeps the room of the longest format's where it wraps (laptop width); wider, reserve.js does it exactly. */
@media (min-width: 901px) and (max-width: 1360px) { .achat__h2[data-v-h2] { min-height: calc(var(--v-h2-lignes, 1) * 1.3em); } }
/* The selector keeps its height: the reserve is empty space at the BOTTOM of the block. */
.variantes { align-content: start; }
.variantes__reserve { display: block; height: 0; }

/* Under the photos: the notice in italics, then « Voir chez moi » in 3D and the reader's tools (2 columns, 3 rows). */
.galerie .galerie__note { margin: 0.6rem 0 0; font-style: italic; }
.fiche-outils { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.3rem 1.4rem; margin: 0.9rem 0 0.4rem; padding: 0.8rem 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.fiche-outils .outil, .fiche-outils .outil[data-conjoint], .fiche-outils .voir-chez-moi { display: flex; align-items: center; justify-content: flex-start; gap: 0.7rem; width: 100%; min-height: 48px; margin: 0; padding: 0.2rem 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--anthracite); font: 600 var(--t-sm)/1.25 var(--sans); text-align: left; text-decoration: none; cursor: pointer; }
.fiche-outils .voir-chez-moi[hidden] { display: none; }
.fiche-outils .icone, .fiche-outils .voir-chez-moi > svg { box-sizing: content-box; width: 20px; height: 20px; flex: none; padding: 9px; border-radius: 50%; background: var(--blanc); border: 1px solid var(--trait); color: var(--bleu-2); }
.fiche-outils .voir-chez-moi > svg { background: var(--anthracite); border-color: var(--anthracite); color: var(--moutarde); }
.fiche-outils .voir-chez-moi__texte strong { font: inherit; }
.fiche-outils .voir-chez-moi__texte strong::after { content: " en 3D"; }
.fiche-outils .voir-chez-moi__texte small { display: none; }
.fiche-outils .outil:hover, .fiche-outils .voir-chez-moi:hover, .fiche-outils .outil[aria-expanded="true"] { background: none; color: var(--anthracite); text-decoration: underline; text-decoration-color: var(--moutarde); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.fiche-outils .outil:hover .icone { border-color: var(--moutarde); }
.fiche-outils .outil[data-conjoint] .icone, .fiche-outils .outil--coeur .icone { color: var(--rouge-non); }
.fiche-outils .outil--coeur[aria-pressed="true"] { background: none; border: 0; color: var(--rouge-non); }
.fiche-outils .outil--coeur[aria-pressed="true"] .icone { background: #f8ecea; border-color: var(--rouge-non); }
/* The price alert, lightly set apart. */
.fiche-outils .alerte-bouton { align-self: center; width: auto; min-height: 42px; padding: 0.2rem 0.9rem 0.2rem 0.25rem; border-radius: 999px; background: var(--moutarde-voile); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--moutarde) 60%, transparent); }
.fiche-outils .alerte-bouton .icone { padding: 7px; background: var(--moutarde); border-color: var(--moutarde); color: var(--anthracite); }
.fiche-outils .outil:focus-visible, .fiche-outils .voir-chez-moi:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 2px; }
.fiche-outils .partage--panneau { top: calc(100% + 6px); left: 0; right: 0; }
/* Phone: one compact row right under the photos, sideways scroll if needed. */
@media (max-width: 900px) {
  .fiche-outils { display: flex; gap: 0.5rem; margin: 0.7rem 0 0.2rem; padding: 0.5rem 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .fiche-outils::-webkit-scrollbar { display: none; }
  .fiche-outils .outil, .fiche-outils .outil[data-conjoint], .fiche-outils .voir-chez-moi, .fiche-outils .alerte-bouton { flex: none; width: auto; min-height: 40px; padding: 0.2rem 0.8rem 0.2rem 0.25rem; gap: 0.4rem; border-radius: 999px; background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); font-size: var(--t-xs); white-space: nowrap; }
  .fiche-outils .icone, .fiche-outils .voir-chez-moi > svg { width: 16px; height: 16px; padding: 6px; }
  .fiche-outils .alerte-bouton { background: var(--moutarde-voile); }
  .fiche-outils .partage--panneau { position: fixed; top: auto; bottom: 90px; left: 16px; right: 16px; }
  .variantes__couleurs { justify-content: flex-start; gap: 0.35rem; }
}
/* The merchant button, editorial (2 treatments; the page takes the one of body.cta-anthracite or the default). */
.achat .achat__cta .bouton--cta { justify-content: space-between; gap: 0.8rem; min-height: 50px; padding: 0 1.3rem 0 1.5rem; border-radius: 6px; background: #c9951c; color: var(--anthracite); font: 700 var(--t-sm)/1.1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; box-shadow: 0 10px 24px -14px rgba(140, 104, 12, 0.8); }
.achat .achat__cta .bouton--cta .cta__chez { font-weight: 500; letter-spacing: 0.06em; }
.achat .achat__cta .bouton--cta .cta__fleche { flex: none; transition: transform 0.2s ease; }
.achat .achat__cta .bouton--cta:hover { background: var(--anthracite); color: var(--blanc); }
.achat .achat__cta .bouton--cta:hover .cta__fleche { transform: translateX(4px); }
body.cta-anthracite .achat .achat__cta .bouton--cta { background: var(--anthracite); color: var(--blanc); border-radius: 4px; border-bottom: 3px solid var(--moutarde); box-shadow: 0 12px 26px -16px rgba(0, 0, 0, 0.6); }
body.cta-anthracite .achat .achat__cta .bouton--cta .cta__fleche { color: var(--moutarde); }
body.cta-anthracite .achat .achat__cta .bouton--cta:hover { background: #000; }
@media (max-width: 900px) { .achat .achat__cta .bouton--cta { letter-spacing: 0.06em; padding: 0 1rem; } .achat .achat__cta .bouton--cta .cta__chez { display: none; } }

/* /ma-selection/: title, count and lead on the full width, the actions row under them. */
.selection__tete { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 0.8rem; }
.selection__tete .selection__barre { justify-content: flex-start; flex-wrap: wrap; gap: 0.2rem 1.4rem; }
.selection__tete .selection__action--vider { margin-left: auto; }
.selection__astuce { margin: 0 0 1rem; font: 400 var(--t-sm)/1.4 var(--sans); color: var(--feutre); }
.selection__astuce::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 0.5rem; vertical-align: -1px; border: 1.5px solid currentColor; border-radius: 3px; }
@media (max-width: 600px) { .selection__tete .selection__barre { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.1rem 0.8rem; } .selection__tete .selection__action--vider { margin-left: 0; } }
/* Card merchant buttons, same family as the fiche's (card size): filled, contrasted, arrow; the other actions stay quiet. */
.selection__marchand, .carte .carte__marchand { justify-content: space-between; min-height: 44px; padding: 0 0.9rem 0 1rem; border: 0; border-radius: 6px; background: #c9951c; color: var(--anthracite); font: 700 var(--t-xs)/1.15 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 8px 18px -14px rgba(140, 104, 12, 0.9); }
.selection__marchand strong { font-size: var(--t-xs); font-weight: 800; }
.selection__marchand:hover, .carte .carte__marchand:hover { background: var(--anthracite); border-color: var(--anthracite); color: var(--blanc); }
.carte .carte__marchand::after { content: "→"; margin-left: 0.6rem; font-weight: 400; }
body.cta-anthracite .selection__marchand, body.cta-anthracite .carte .carte__marchand { background: var(--anthracite); color: var(--blanc); border-radius: 4px; border-bottom: 3px solid var(--moutarde); }
body.cta-anthracite .selection__marchand svg { color: var(--moutarde); }
/* Desktop too: the heart beside the merchant button (not on the photo). */
.galerie__coeur { display: none; }
@media (min-width: 901px) {
  .achat .achat__cta { flex-direction: row; align-items: stretch; gap: 0.6rem; }
  .achat .achat__cta .bouton--marchand { flex: 1 1 auto; width: auto; min-width: 0; }
  .achat__coeur { display: flex; flex: none; }
  .coeur--fiche { position: static; width: 50px; height: 50px; border: 1px solid var(--trait); box-shadow: none; }
  .coeur--fiche .icone { width: 22px; height: 22px; }
  .coeur--fiche[aria-pressed="true"] { border-color: var(--rouge-non); }
}
/* Removing from the selection: a small confirmation near the heart, then « Canapé retiré · Annuler ». */
.retrait-confirme { position: absolute; z-index: 70; width: min(290px, calc(100vw - 16px)); padding: 0.9rem 1rem 0.8rem; border-radius: 12px; background: var(--blanc); border: 1px solid var(--trait); box-shadow: var(--ombre); font: 400 var(--t-sm)/1.4 var(--sans); color: var(--anthracite); }
.retrait-confirme__question { margin: 0 0 0.7rem; font-weight: 650; }
.retrait-confirme__boutons { display: flex; gap: 0.5rem; }
.retrait-confirme__boutons button { flex: 1; min-height: 40px; border-radius: 6px; font: 650 var(--t-sm)/1 var(--sans); cursor: pointer; }
.retrait-confirme__oui { border: 0; background: var(--rouge-non); color: var(--blanc); }
.retrait-confirme__oui:hover { background: #7e2e27; }
.retrait-confirme__non { border: 1px solid var(--trait); background: var(--blanc); color: var(--anthracite); }
.retrait-confirme__non:hover { border-color: var(--anthracite); }
.retrait-confirme__plus { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.6rem; font-size: var(--t-xs); color: var(--feutre); cursor: pointer; }
.retrait-confirme button:focus-visible, .retrait-annonce button:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 2px; }
.retrait-annonce { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 0.8rem 0.7rem 1.1rem; border-radius: 10px; background: var(--foret); color: #eeece6; font: 500 var(--t-sm)/1.3 var(--sans); box-shadow: var(--ombre); transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; }
.retrait-annonce.est-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.retrait-annonce button { padding: 0.35rem 0.7rem; border: 0; border-radius: 6px; background: var(--moutarde); color: var(--anthracite); font: 700 var(--t-sm)/1 var(--sans); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .retrait-annonce { transition: none; } }
/* Round 8 (Romain 30/09 14 h): everything above the fold on a computer, nothing hidden. */
/* Merchant button in yellow (option canape_cta_style: jaune = recommended, jaune-pilule = 2nd variant,
   anthracite = back to the dark one). Dark text on yellow: 7.3:1 at the darkest point of the gradient (AA). */
.achat .achat__cta { position: relative; align-items: center; }
.achat .achat__cta > [data-ancre-achat] { position: absolute; left: 0; top: 0; width: 1px; }
body:is(.cta-jaune, .cta-jaune-pilule) .achat .achat__cta .bouton--cta, body:is(.cta-jaune, .cta-jaune-pilule) .selection__marchand, body:is(.cta-jaune, .cta-jaune-pilule) .carte .carte__marchand { color: var(--anthracite); border: 0; text-shadow: none; }
body:is(.cta-jaune, .cta-jaune-pilule) .achat .achat__cta .bouton--cta { min-height: 52px; padding: 0 0.45rem 0 1.4rem; gap: 1rem; }
body:is(.cta-jaune, .cta-jaune-pilule) .achat .achat__cta .bouton--cta .cta__texte { font-weight: 800; letter-spacing: 0.09em; }
body:is(.cta-jaune, .cta-jaune-pilule) .achat .achat__cta .bouton--cta .cta__chez { font-weight: 500; letter-spacing: 0.06em; opacity: 0.9; }
body:is(.cta-jaune, .cta-jaune-pilule) .achat .achat__cta .bouton--cta .cta__fleche { box-sizing: content-box; width: 18px; height: 18px; padding: 8px; border-radius: 50%; background: var(--anthracite); color: #f3c64d; transition: transform 0.18s ease; }
body:is(.cta-jaune, .cta-jaune-pilule) .achat .achat__cta .bouton--cta:hover .cta__fleche { transform: translateX(3px); }
body:is(.cta-jaune, .cta-jaune-pilule) .achat .achat__cta .bouton--cta:focus-visible, body:is(.cta-jaune, .cta-jaune-pilule) .selection__marchand:focus-visible, body:is(.cta-jaune, .cta-jaune-pilule) .carte .carte__marchand:focus-visible { outline: 3px solid var(--anthracite); outline-offset: 3px; }
body:is(.cta-jaune, .cta-jaune-pilule) .achat .achat__cta .bouton--cta:active { transform: translateY(1px); }
/* 1. « jaune »: bright mustard with a gentle vertical light, a darker bottom rule (like the dark version's), a crisp shadow. */
body.cta-jaune .achat .achat__cta .bouton--cta, body.cta-jaune .selection__marchand, body.cta-jaune .carte .carte__marchand { border-radius: 10px; background: linear-gradient(180deg, #f3c64d 0%, #e0ae2f 100%); box-shadow: inset 0 -3px 0 #a67c12, 0 1px 0 rgba(107, 79, 7, 0.25), 0 6px 12px -8px rgba(107, 79, 7, 0.55); }
body.cta-jaune .achat .achat__cta .bouton--cta:hover, body.cta-jaune .selection__marchand:hover, body.cta-jaune .carte .carte__marchand:hover { background: linear-gradient(180deg, #e9b93a 0%, #d3a024 100%); color: var(--anthracite); }
body.cta-jaune .achat .achat__cta .bouton--cta:active { box-shadow: inset 0 -1px 0 #a67c12, 0 2px 6px -4px rgba(107, 79, 7, 0.6); }
/* 2. « jaune-pilule »: a round-ended pill like the heart, plain bright yellow, inner darker rule. */
body.cta-jaune-pilule .achat .achat__cta .bouton--cta, body.cta-jaune-pilule .selection__marchand, body.cta-jaune-pilule .carte .carte__marchand { border-radius: 999px; background: #f2c230; box-shadow: inset 0 -3px 0 #b8860b, 0 6px 14px -9px rgba(107, 79, 7, 0.6); }
body.cta-jaune-pilule .achat .achat__cta .bouton--cta:hover, body.cta-jaune-pilule .selection__marchand:hover, body.cta-jaune-pilule .carte .carte__marchand:hover { background: #e6b422; color: var(--anthracite); }
body.cta-jaune-pilule .achat .achat__cta .bouton--cta:active { box-shadow: inset 0 -1px 0 #b8860b; }
/* The heart beside it: same height, same line. */
@media (min-width: 901px) { .coeur--fiche { width: 52px; height: 52px; } }
@media (max-width: 900px) { body:is(.cta-jaune, .cta-jaune-pilule) .achat .achat__cta .bouton--cta { min-height: 56px; } }
@media (prefers-reduced-motion: reduce) { body:is(.cta-jaune, .cta-jaune-pilule) .achat .achat__cta .bouton--cta .cta__fleche { transition: none; } }
/* One notice under the photo: the general one says it already (the studio photo keeps its tooltip). */
.galerie > .photo-ia { display: none; }
.galerie .galerie__note { margin: 0.45rem 0 0; font-size: var(--t-xs); line-height: 1.35; }
/* « Comment cette note est calculée » beside « Notre note »: a compact button, the explanation as an overlay. */
.achat__chiffres .note-globale { position: relative; }
.note-globale > .calcul-note { position: absolute; top: -0.1rem; right: 0.8rem; z-index: 5; margin: 0; padding: 0; border: 0; }
.note-globale > .calcul-note summary { gap: 0.35rem; font: 600 var(--t-xs)/1.2 var(--sans); color: var(--feutre); }
.note-globale > .calcul-note summary:hover { color: var(--anthracite); }
.note-globale > .calcul-note .calcul-note__icone { width: 18px; height: 18px; font-size: 0.7rem; }
.note-globale > .calcul-note .calcul-note__corps { position: absolute; top: calc(100% + 8px); right: -0.8rem; width: min(400px, calc(100vw - 32px)); margin: 0; box-shadow: var(--ombre); font-size: var(--t-sm); }
.note-globale > .calcul-note summary:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 1180px) and (min-width: 901px) { .note-globale > .calcul-note summary .calcul-note__texte-long { display: none; } }
/* Returns and guarantee on one line, the full terms on demand. */
.service-plie { font: 400 var(--t-xs)/1.4 var(--sans); color: var(--feutre); }
.service-plie summary { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; list-style: none; padding-left: 1rem; position: relative; }
.service-plie summary::-webkit-details-marker { display: none; }
.service-plie summary::before { content: "+"; position: absolute; left: 0; font-weight: 700; color: var(--bleu); }
.service-plie[open] summary::before { content: "−"; }
.service-plie[open] summary { white-space: normal; }
.service-plie summary:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 2px; border-radius: 4px; }
.service-plie .achat__service { margin-top: 0.4rem; font-size: var(--t-xs); }
/* Tools: 3 columns x 2 rows, tighter. */
@media (min-width: 901px) {
  .fiche-outils { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; grid-auto-flow: column; gap: 0.15rem 1rem; margin: 0.6rem 0 0; padding: 0.45rem 0; }
  .fiche-outils .outil, .fiche-outils .outil[data-conjoint], .fiche-outils .voir-chez-moi { min-height: 40px; gap: 0.5rem; font-size: var(--t-xs); }
  .fiche-outils .icone, .fiche-outils .voir-chez-moi > svg { width: 17px; height: 17px; padding: 7px; }
  .fiche-outils .alerte-bouton { min-height: 38px; padding: 0.15rem 0.7rem 0.15rem 0.2rem; }
  .fiche-outils .alerte-bouton .icone { padding: 6px; }
  /* A slightly wider picture column, the photo's height follows the window: photo, thumbnails, notice and tools
     stay on the first screen; the photo is contained, never cropped. */
  .fiche__tete { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .fiche__tete:has(.achat--variantes) { grid-template-columns: minmax(0, 21fr) minmax(0, 19fr); }
  .fiche__tete .galerie__principale { max-height: max(260px, calc(100vh - 340px)); background: #e6e5e8; }
  .fiche__tete .galerie__principale img[data-galerie-image] { width: 100%; height: 100%; object-fit: contain; }
}
/* Round 9 (Romain 30/09 14 h 15). */
/* « Notre note » is a real label with the « ? » right after it on the same line (all fiches). */
.achat .note-globale::before { content: none; }
.note-globale__tete { flex-basis: 100%; display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.35rem; font: 650 var(--t-xs)/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--feutre); }
.note-globale__tete .calcul-note { position: relative; margin: 0; padding: 0; border: 0; letter-spacing: 0; text-transform: none; }
.note-globale__tete .calcul-note summary { font-size: 0; gap: 0; }
.note-globale__tete .calcul-note .calcul-note__texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.note-globale__tete .calcul-note .calcul-note__icone { width: 20px; height: 20px; font-size: 0.72rem; }
.note-globale__tete .calcul-note .calcul-note__corps { position: absolute; top: calc(100% + 8px); left: -1rem; right: auto; z-index: 30; width: min(400px, calc(100vw - 32px)); margin: 0; box-shadow: var(--ombre); font-size: var(--t-sm); letter-spacing: 0; text-transform: none; color: var(--anthracite); }
.note-globale__tete .calcul-note summary:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 2px; border-radius: 50%; }
/* Returns and guarantee: 2 short, readable items side by side; the full terms on demand. */
.service-plie summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1.1rem; overflow: visible; white-space: normal; padding-left: 0; }
.service-plie summary::before { content: none; }
.service-plie__item { color: var(--anthracite); }
.service-plie__item b { margin-right: 0.25rem; font-weight: 650; color: var(--feutre); }
.service-plie__plus { margin-left: auto; color: var(--bleu); text-decoration: underline; text-underline-offset: 3px; }
.service-plie[open] .service-plie__plus { visibility: hidden; }
/* Constant selector rows: a single value sits in its row, as tall as a chip; an unknown one keeps an invisible row. */
.variantes__choix--fixe { display: inline-flex; align-items: center; border-color: transparent !important; background: none !important; box-shadow: none !important; padding-left: 0; color: var(--anthracite); font-weight: 600; cursor: default; }
.variantes__axe[data-v-ligne-vide] { visibility: hidden; }
/* The partner tool, a little set apart (softer than the price alert). */
.fiche-outils .outil[data-conjoint] .icone { background: #f7e7e2; border-color: #ebc9bf; color: #a4503a; }
.fiche-outils .outil[data-conjoint] { color: #7d3a28; }
/* Share panels placed where there is room (partage.js): above the tools by default, inside the window. */
.partage--panneau { overflow: auto; }
.partage__fermer { position: absolute; top: 0.35rem; right: 0.45rem; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--feutre); font: 400 1.5rem/1 var(--sans); cursor: pointer; }
.partage__fermer:hover { background: var(--platre); color: var(--anthracite); }
.partage__fermer:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 2px; }
.partage--panneau .partage__titre { padding-right: 2.4rem; }
@media (min-width: 901px) {
  .fiche-outils .partage--panneau.partage--haut { top: auto; bottom: calc(100% + 6px); }
  .fiche-outils .partage--panneau.partage--bas { top: calc(100% + 6px); bottom: auto; }
}
/* Phone: the 6 tools as a 3 x 2 grid right under the photos (icon above a short label, 56 px targets); the share
   panels as a light sheet at the bottom of the screen. */
@media (max-width: 900px) {
  .fiche-outils { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; grid-auto-flow: column; gap: 0.4rem; margin: 0.7rem 0 0.3rem; padding: 0; overflow: visible; border: 0; }
  .fiche-outils .outil, .fiche-outils .outil[data-conjoint], .fiche-outils .voir-chez-moi, .fiche-outils .alerte-bouton { flex-direction: column; justify-content: center; align-items: center; gap: 0.25rem; width: 100%; min-height: 64px; padding: 0.45rem 0.25rem; border-radius: 12px; background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); font: 600 0.72rem/1.15 var(--sans); text-align: center; white-space: normal; }
  .fiche-outils .voir-chez-moi__texte { display: block; text-align: center; }
  .fiche-outils .voir-chez-moi__texte strong::after { content: none; }
  .fiche-outils .icone, .fiche-outils .voir-chez-moi > svg { width: 18px; height: 18px; padding: 6px; }
  .fiche-outils .alerte-bouton { background: var(--moutarde-voile); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--moutarde) 60%, transparent); }
  .fiche-outils .outil[data-conjoint] { background: #fbf1ee; }
  .fiche-outils .partage--panneau, .fiche-outils .partage--panneau.partage--conjoint { position: fixed; top: auto; bottom: 12px; left: 12px; right: 12px; z-index: 80; max-height: 75vh; padding-top: 0.9rem; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25); }
  .fiche-outils .partage--panneau .partage__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fiche-outils .partage--panneau .partage__lien { min-height: 48px; }
}
@media (max-width: 380px) { .fiche-outils .outil, .fiche-outils .outil[data-conjoint], .fiche-outils .voir-chez-moi, .fiche-outils .alerte-bouton { font-size: 0.68rem; } }
/* Fiches without variants (not reworked yet, Romain 30/09 14 h 24): the same note / price grid with its labels,
   the « ? » right after « Notre note » (folds the 14 h 25 hotfix). */
.achat .achat__chiffres { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; column-gap: 0; align-items: start; }
.achat .note-globale { grid-row: 1 / span 2; flex-wrap: wrap; align-items: baseline; align-content: start; row-gap: 0; padding-right: 1rem; }
.achat .achat__prix::before { flex-basis: 100%; display: block; margin-bottom: 0.35rem; font: 650 var(--t-xs)/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--feutre); }
.achat .achat__prix::before { content: "Prix constaté"; }
.achat .note-globale__chiffre { font-size: var(--t-2xl); line-height: 1; }
.achat .achat__prix { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.4rem; text-align: left; line-height: 1; padding-left: 1rem; border-left: 1px solid var(--trait); }
/* The tools are never wider than the photo: the picture column is at most as wide as the photo can be at its height,
   the buying column takes the rest (no empty gutter between them). */
@media (min-width: 901px) {
  .fiche__tete { grid-template-columns: minmax(0, min(60%, calc(max(260px, 100vh - 340px) * 4 / 3))) minmax(0, 1fr); }
  .fiche__tete:has(.achat--variantes) { grid-template-columns: minmax(0, min(52.5%, calc(max(260px, 100vh - 340px) * 4 / 3))) minmax(0, 1fr); }
}
/* The selector's fixed height per model (reserve.js): its rows spread inside it, no hole under the colours. */
.variantes.variantes--fixe { display: flex; flex-direction: column; }
.variantes.variantes--fixe > [data-v-axes] { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: space-between; }
.variantes.variantes--fixe > .variantes__reserve { display: none; }
/* The photo fills its frame and is always contained, never cropped (folds the 14 h 37 hotfix). */
@media (min-width: 901px) {
  .fiche__tete .galerie__principale { position: relative; }
  .fiche__tete .galerie__principale img[data-galerie-image] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
}
/* Round 10 (Romain 30/09 15 h): the phone, reworked. */
@media (max-width: 900px) {
  /* Order (conversion first): title, photo, note and price, button and heart, tools, then colours and formats (the
     format changes the price shown above, never the button's place), the four notes after. */
  .fiche__tete .achat { display: flex; flex-direction: column; gap: 0.7rem; }
  .fiche__tete .achat > * { order: 30; }
  .fiche__tete .achat > .achat__surtitre { order: 1; }
  .fiche__tete .achat > .achat__titre { order: 2; }
  .fiche__tete .achat > .achat__variante, .fiche__tete .achat > .achat__marque { order: 3; }
  .fiche__tete .achat > .galerie { order: 4; margin: 0; }
  .fiche__tete .achat > .achat__chiffres { order: 5; }
  .fiche__tete .achat > .achat__cta { order: 6; margin: 0; }
  .fiche__tete .achat > .fiche-outils { order: 7; margin: 0; }
  .fiche__tete .achat > .achat__h2 { order: 8; margin: 0.4rem 0 0; min-height: 0 !important; }
  .fiche__tete .achat > .variantes { order: 9; }
  .fiche__tete .achat > .notes { order: 10; }
  .achat__titre { font-size: clamp(1.45rem, 5.6vw, 1.9rem); line-height: 1.15; }
  /* Colours first in the selector (they change the photo just above), then the format rows. */
  .variantes { display: flex; flex-direction: column; }
  .variantes > p.variantes__titre:nth-of-type(2), .variantes > [data-v-couleurs] { order: -1; }
  .variantes > [data-v-couleurs] { margin-bottom: 0.6rem; }
  .variantes__reserve { display: none !important; }
  .variantes__axe { grid-template-columns: 5.2rem minmax(0, 1fr); }
  .variantes__axe-choix { gap: 0.35rem; }
  .variantes__choix { min-height: 40px; }
  .variantes__choix--fixe { min-height: 0; }
  /* Main button: full width minus the heart, 56 px, never overflowing at 360 px. */
  .achat .achat__cta .bouton--cta { min-height: 56px; padding: 0 0.4rem 0 1rem; font-size: 0.8rem; letter-spacing: 0.05em; }
  .achat .achat__cta .bouton--cta .cta__texte { white-space: nowrap; }
  .coeur--fiche { width: 56px; height: 56px; }
  /* Room kept at the bottom of the page for the sticky bar (it never hides content), iPhone safe area. */
  body.type-fiche { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
/* Sticky buy bar: the model's name on up to 2 lines (never cut), the heart, the fiche's yellow button. */
.barre-achat__nom { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }
.barre-achat .bouton--cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 0.8rem; min-height: 52px; padding: 0 0.4rem 0 1.2rem; border-radius: 10px; font: 800 var(--t-sm)/1.1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; animation: none; }
.barre-achat .bouton--cta .cta__chez { font-weight: 500; }
.barre-achat .bouton--cta .cta__fleche { box-sizing: content-box; width: 16px; height: 16px; padding: 8px; border-radius: 50%; background: var(--anthracite); color: #f3c64d; }
body.cta-jaune .barre-achat .bouton--cta { background: linear-gradient(180deg, #f3c64d 0%, #e0ae2f 100%); color: var(--anthracite); box-shadow: inset 0 -3px 0 #a67c12, 0 6px 12px -8px rgba(107, 79, 7, 0.55); }
body.cta-jaune-pilule .barre-achat .bouton--cta { border-radius: 999px; background: #f2c230; color: var(--anthracite); box-shadow: inset 0 -3px 0 #b8860b; }
body.cta-anthracite .barre-achat .bouton--cta { background: var(--anthracite); color: var(--blanc); box-shadow: inset 0 -3px 0 var(--moutarde); }
.barre-achat .bouton--cta:focus-visible { outline: 3px solid var(--anthracite); outline-offset: 3px; }
.barre-achat__coeur { display: flex; flex: none; }
.coeur--barre { position: static; width: 52px; height: 52px; border: 1px solid var(--trait); box-shadow: none; }
@media (max-width: 700px) {
  .barre-achat__contenu { gap: 0.5rem; min-height: 72px; padding-block: 0.5rem; }
  .barre-achat__photo { width: 56px; height: 44px; }
  .barre-achat__nom { font-size: var(--t-xs); font-weight: 650; }
  .barre-achat__meta { font-size: var(--t-xs); }
  .barre-achat__achat { gap: 0.4rem; }
  .barre-achat .bouton--cta { min-height: 48px; padding: 0 0.3rem 0 0.8rem; font-size: 0.72rem; letter-spacing: 0.04em; gap: 0.4rem; }
  .barre-achat .bouton--cta .cta__chez { display: none; }
  .barre-achat .bouton--cta .cta__fleche { width: 14px; height: 14px; padding: 7px; }
  .coeur--barre { width: 44px; height: 44px; }
}
@media (max-width: 380px) { .barre-achat__photo { display: none; } }
/* Desktop, priority 1 (round 10): pure CSS, no measurement. The buying column is as tall as the picture column
   (photo bounded by the window with its ratio, thumbnails, notice, tools); the selector fills the middle with its
   rows spread; the note, price, button, notes and terms are anchored at the bottom: the button stays at the same
   distance from the bottom of the tools, whatever the format, colour, refresh or photo. */
@media (min-width: 901px) {
  .fiche__tete { align-items: stretch; }
  .fiche__tete .achat, .fiche__tete .achat--variantes { position: static; display: flex; flex-direction: column; }
  .fiche__tete .achat > .variantes { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: space-evenly; min-height: var(--v-min, 0px); }
  .fiche__tete .achat > .variantes > [data-v-axes] { display: flex; flex-direction: column; gap: clamp(0.3rem, 1vh, 0.7rem); }
  .fiche__tete .achat > .achat__chiffres { margin-top: auto; }
  .fiche__tete .achat > .variantes + .achat__chiffres { margin-top: 0; }
  .variantes__reserve { display: none !important; }
  /* Heights that vary stay put: the subtitle keeps 2 lines, the colour's name 1 line. */
  .fiche__tete .achat__h2[data-v-h2] { min-height: calc(2 * 1.3em) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .variantes [data-v-couleur-nom] { display: inline-block; max-width: 60%; vertical-align: bottom; overflow: hidden; white-space: nowrap; }
  .fiche__tete .galerie__principale { aspect-ratio: 4 / 3; }
}
/* Note and price aligned (Romain 15 h 30), all fiches: labels on one shared row of fixed height (the « ? » does not
   grow it), values on one baseline (same size, line-height 1), the two « i » at the same level. */
.achat .note-globale__tete, .achat .achat__prix::before { height: 20px; margin-bottom: 0.4rem; line-height: 20px; }
.achat .note-globale__tete .calcul-note .calcul-note__icone { width: 18px; height: 18px; }
.achat .note-globale__tete .calcul-note summary { height: 20px; align-items: center; }
.achat .achat__chiffres .note-globale, .achat .achat__chiffres .achat__prix { align-content: start; align-items: center; }
.achat .note-globale__chiffre, .achat .achat__prix [data-v-prix] { font-size: var(--t-2xl); line-height: 1; }
.achat .achat__prix [data-v-prix] .num { font-size: inherit; }
.achat .note-globale__sur { line-height: 1; align-self: flex-end; padding-bottom: 0.15rem; }
.achat .note-globale .info, .achat .achat__prix .info { align-self: center; }
/* /ma-selection/ on phones (Romain 15 h 25): never a cut label, prices aligned from card to card, fingers welcome. */
/* Price and note right under the photo (same height on every card), then the full name, never clamped. */
.selection__carte .carte__entete { display: block; -webkit-line-clamp: unset; overflow: visible; order: 3; }
.selection__carte .carte__pied { margin-top: 0; order: 2; }
.selection__carte .carte__photo { order: 1; }
.selection__carte .selection__gestes, .selection__carte .selection__salon { order: 4; }
.selection__carte .carte__marchand, .selection__carte .selection__marchand { order: 5; }
.selection__carte .carte__marchand, .selection__carte .selection__marchand { margin-top: auto; }
@media (max-width: 640px) {
  .selection__marchand { min-height: 52px; padding: 0.35rem 0.4rem 0.35rem 0.7rem; }
  .selection__marchand span { display: flex; flex-direction: column; min-width: 0; overflow: visible; white-space: normal; text-overflow: clip; line-height: 1.15; font-size: 0.66rem; }
  .selection__marchand strong { font-size: 0.78rem; overflow-wrap: anywhere; }
  .selection__gestes { flex-wrap: wrap; gap: 0 0.6rem; }
  .selection__geste { min-height: 44px; font-size: 0.78rem; }
  .selection__salon { min-height: 44px; font-size: 0.78rem; }
}
/* Round 11 (Romain 30/09 18 h): the whole site on phones and computers, nothing cut, nothing out of the window. */
/* « ? » of the note: its explanation opens inside the window (anchored on the note block, not on the small label). */
.note-globale__tete .calcul-note { position: static; }
.achat .achat__chiffres .note-globale { position: relative; }
.note-globale__tete .calcul-note .calcul-note__corps { left: 0; right: auto; width: min(400px, calc(100vw - 2rem)); max-width: calc(100vw - 2rem); }
/* Never an ellipsis: breadcrumb, sofas proposed to the comparator, names in the comparator, card titles. */
.ariane li, .ariane a { white-space: normal; overflow: visible; text-overflow: clip; max-width: none; }
.comparateur__propositions strong, .comparateur__propositions span, .comparateur__nom { white-space: normal; overflow: visible; text-overflow: clip; }
.grille-produits .carte__entete { display: block; -webkit-line-clamp: unset; overflow: visible; }
/* Buttons that fingers can hit (44 px) on phones. */
@media (max-width: 700px) {
  .filtres__effacer, .chapeau__suite, .filtre__plus, .comparatifs__suite, .pied__cookies { display: inline-flex; align-items: center; min-height: 44px; }
  .galerie__principale .ar-pastille, .epingle--fiche { min-height: 40px; }
  .comparateur__nom { display: inline-block; padding-block: 0.4rem; }
}
/* Poster names of « Et au-dessus du canapé ? »: whole, never clamped. */
.mur__titre { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* Hotfix (Romain 30/09 19 h 23, fiches classiques) : l'ancrage en bas du tour 10 ne vaut QUE pour les fiches à
   sélecteur de formats (.achat--variantes). Sans sélecteur, rien ne remplit le milieu de la colonne : elle suit le
   flux normal, à la hauteur de son contenu, avec des écarts réguliers (plus de grand vide avant la note). */
@media (min-width: 901px) {
  .fiche__tete .achat:not(.achat--variantes) { align-self: start; }
  .fiche__tete .achat:not(.achat--variantes) > .achat__chiffres { margin-top: 1.3rem; }
  .fiche__tete .achat:not(.achat--variantes) > .achat__cta { margin-top: 0.9rem; }
  .fiche__tete .achat:not(.achat--variantes) > .notes { margin-top: 1rem; }
  .fiche__tete .achat:not(.achat--variantes) > .achat__formats { margin-top: 0.7rem; }
}

/* ==========================================================================
   Lot sélecteur (Romain 30/09 19 h 25 et 19 h 31) : fiches à variantes sans écarts étirés, « Ce format »,
   pastilles jamais blanches pour une couleur inconnue, épingle Pinterest.
   ========================================================================== */

/* « Ce format » : every format's line in one cell, the tallest sets the height; only the shown one is visible. */
.format-encart { display: grid; margin: 0.9rem 0 0; padding: 0.6rem 0.8rem; border-radius: 10px; background: color-mix(in srgb, var(--platre-2) 55%, var(--blanc)); }
.format-encart > * { grid-area: 1 / 1; }
.format-encart__ligne { margin: 0; font: 500 var(--t-xs)/1.45 var(--sans); color: var(--anthracite); font-variant-numeric: tabular-nums; visibility: hidden; }
.format-encart__ligne.est-actif { visibility: visible; }
.format-encart__titre { margin-right: 0.35rem; font: 650 var(--t-xs)/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--feutre); }
.format-encart script { display: none; }

/* Desktop: natural gaps (0.45 to 0.9 rem), no gap between a label and its content; the room left goes to ONE place,
   under « Ce format » (inside the block, above the note), the button stays anchored at the bottom. */
@media (min-width: 901px) {
  .fiche__tete .achat > .variantes { justify-content: flex-start; gap: 0; }
  .fiche__tete .achat > .variantes > .variantes__titre { margin: 0 0 0.45rem; }
  .fiche__tete .achat > .variantes > .variantes__formats, .fiche__tete .achat > .variantes > [data-v-axes] { margin: 0 0 0.9rem; min-height: var(--v-axes, 0px); }
  .fiche__tete .achat > .variantes > [data-v-axes] { gap: 0.5rem; justify-content: flex-start; }
  .fiche__tete .achat > .variantes > [data-v-couleurs] { margin: 0; min-height: var(--v-coul, 0px); align-content: flex-start; }
}
@media (max-width: 900px) {
  .fiche__tete .achat .variantes > .format-encart { order: 20; margin-top: 0.6rem; }
}

/* Swatches: a photo crop for an unknown colour (inc/selecteur.php) shows the fabric, with the usual thin ring. */
.variantes__couleurs .coloris__pastille::before, .carte__pastille-couleur { background-clip: padding-box; }

/* Pinterest pin: at rest a white round with the red logo, always visible (phones too); on hover or focus (computer),
   a red « Épingler » pill that grows to the left. Never over the heart (bottom right) or the 3D pill (top left). */
.epingle { display: inline-flex; align-items: center; justify-content: center; gap: 0; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 999px; background: #fff; color: #e60023; font: 650 var(--t-xs)/1 var(--sans); text-decoration: none; box-shadow: 0 3px 12px -6px rgba(35, 38, 43, 0.55); transition: background-color 0.2s ease, color 0.2s ease, padding 0.2s ease; }
.epingle .epingle__logo { flex: none; width: 22px; height: 22px; }
.epingle > span { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width 0.22s ease, opacity 0.18s ease, margin 0.22s ease; }
.epingle:hover { background: #fff; color: #e60023; }
@media (hover: hover) {
  .epingle:hover, .epingle:focus-visible { background: #e60023; color: #fff; padding: 0 14px 0 9px; }
  .epingle:hover > span, .epingle:focus-visible > span { max-width: 6rem; margin-left: 0.4rem; opacity: 1; }
}
.epingle--fiche, .galerie__principale:hover .epingle--fiche { opacity: 1; top: 12px; right: 12px; }
@media (hover: none) and (pointer: coarse) { .epingle--fiche { padding: 0 8px; } }
@media (max-width: 700px) { .epingle--fiche { top: 8px; right: 8px; } }

/* ==========================================================================
   Structure fixe (Romain 30/09 19 h 56) : le même bloc, les mêmes lignes, la même place sur TOUTES les fiches.
   En-tête (surtitre, H1 sur une ligne ajustée, 2e ligne, marque), puis FORMAT, Forme (2 lignes de puces au plus),
   Places, Convertible, Revêtement, COLORIS (une ligne), CE FORMAT (2 lignes au plus) : hauteurs fixes, donc le bouton
   est au même endroit partout ; la colonne suit le flux et l'espace restant va en bas, sous la mention.
   ========================================================================== */
.achat__titre--fixe { position: relative; }
.achat__titre-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.achat__titre-suite { display: block; margin-top: 0.3rem; font: 500 var(--t-md)/1.35 var(--sans); letter-spacing: 0; color: var(--feutre); }
.achat__sous-titre { margin: 0.3rem 0 0; font: 500 var(--t-md)/1.35 var(--sans); color: var(--feutre); }
.achat__sous-titre:empty { display: none; }
.variantes__choix--seule { display: inline-flex; align-items: center; border: 1px solid var(--anthracite); border-radius: 999px; background: var(--anthracite); color: var(--blanc); font: 600 var(--t-sm)/1.1 var(--sans); cursor: default; }
.variantes__inconnu { font: 400 var(--t-xs)/1.2 var(--sans); color: var(--feutre); }
.variantes--classique .variantes__axes { display: grid; gap: 0.4rem; }
.variantes--classique .variantes__axe { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); align-items: center; gap: 0.6rem; }
.variantes--classique .variantes__axe-nom { font: 500 var(--t-sm)/1.2 var(--sans); color: var(--feutre); }
.variantes--classique .variantes__couleurs .coloris__pastille { width: 30px; height: 30px; padding: 0; border-radius: 50%; justify-content: center; }
.variantes--classique .variantes__couleurs .coloris__pastille span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.variantes--classique .variantes__couleurs .coloris__pastille::before { width: 22px; height: 22px; margin: 0; }
.variantes--classique .format-encart { margin-top: 0.75rem; }
/* The classic fiche's colours now live in the block: not twice. */
.fiche__tete:has(.variantes--classique) .galerie > .coloris { display: none; }

@media (min-width: 901px) {
  .fiche__tete { align-items: start; }
  .fiche__tete .achat, .fiche__tete .achat--variantes { container-type: inline-size; align-self: start; display: flex; flex-direction: column; gap: 0; }
  /* Head: fixed heights. */
  .fiche__tete .achat > .achat__surtitre { height: 1.1rem; margin: 0 0 0.3rem; line-height: 1.1rem; }
  .fiche__tete .achat > .achat__titre--fixe { display: grid; grid-template-rows: 2.9rem auto; margin: 0; font-size: 1rem; line-height: 1; }
  .achat__titre-principal { align-self: end; overflow: visible; white-space: nowrap; font-size: clamp(1.25rem, calc(100cqi / (var(--n, 30) * 0.52)), 2.5rem); line-height: 1.08; letter-spacing: -0.03em; }
  .achat__titre-suite, .fiche__tete .achat > .achat__sous-titre, .fiche__tete .achat > .achat__h2[data-v-h2] { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: calc(2 * 1.35em); min-height: 0 !important; margin: 0.3rem 0 0; font: 500 var(--t-md)/1.35 var(--sans); color: var(--feutre); }
  .fiche__tete .achat > .achat__sous-titre:empty { display: -webkit-box; }
  .fiche__tete .achat > .achat__variante { display: none; }
  .fiche__tete .achat > .achat__marque, .achat--variantes .achat__marque { display: block; height: 1.3em; margin: 0.35rem 0 0; overflow: hidden; white-space: nowrap; font-size: var(--t-xs); line-height: 1.3; }
  /* The block. */
  .fiche__tete .achat > .variantes { flex: none; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 0; margin: 0.7rem 0 0; padding: 0.75rem 0 0; border-top: 1px solid var(--trait); }
  .fiche__tete .achat > .variantes > .variantes__titre { height: 1rem; margin: 0 0 0.4rem; line-height: 1rem; }
  .fiche__tete .achat > .variantes > .variantes__axes, .fiche__tete .achat > .variantes > [data-v-axes] { display: flex; flex-direction: column; gap: 6px; min-height: 0; margin: 0 0 0.75rem; }
  .fiche__tete .variantes .variantes__axe { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: 0.6rem; align-items: center; height: 30px; }
  .fiche__tete .variantes .variantes__axe[data-cle="forme"] { height: 66px; }
  .fiche__tete .variantes .variantes__axe-choix { display: flex; flex-wrap: wrap; align-content: center; gap: 6px; min-width: 0; max-height: 100%; }
  .fiche__tete .variantes .variantes__choix, .fiche__tete .variantes .variantes__choix--seule { height: 30px; min-height: 0; padding: 0 0.75rem; font-size: 0.85rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; min-width: 2.4rem; }
  .fiche__tete .variantes .variantes__axe-nom { align-self: center; margin: 0; padding: 0; line-height: 1.2; }
  .fiche__tete .achat > .variantes > .variantes__couleurs { flex-wrap: nowrap; align-items: center; height: 38px; min-height: 0 !important; margin: 0; padding: 4px; overflow: hidden; gap: 5px; }
  .fiche__tete .achat > .variantes > .format-encart { height: 2.9em; margin: 0.6rem 0 0; padding: 0; border-radius: 0; background: none; font-size: var(--t-xs); line-height: 1.45; overflow: hidden; }
  .fiche__tete .achat > .variantes > .variantes__reserve { display: none !important; }
  /* Under the block, everything follows without a hole. */
  .fiche__tete .achat > .achat__chiffres, .fiche__tete .achat > .variantes + .achat__chiffres, .fiche__tete .achat:not(.achat--variantes) > .achat__chiffres { margin-top: 0.9rem; padding: 0.75rem 0; }
  .fiche__tete .achat > .achat__cta, .fiche__tete .achat:not(.achat--variantes) > .achat__cta { margin-top: 0.9rem; }
}
@media (max-width: 900px) {
  .achat__titre-suite { font-size: var(--t-sm); }
  .fiche__tete .achat > .variantes--classique { order: 9; }
  .variantes--classique .variantes__couleurs { flex-wrap: wrap; gap: 0.3rem; }
}
@media (max-width: 900px) { .fiche__tete .achat > .achat__sous-titre { display: none; } }
/* « Ce format » aligned on the other labels everywhere (no indent, no tinted box). */
.format-encart { padding: 0; border-radius: 0; background: none; }
@media (max-width: 900px) {
  .variantes--classique > .variantes__couleurs { order: -1; margin: 0 0 0.6rem; }
  .variantes__choix--seule { min-height: 36px; padding: 0 0.85rem; font-size: var(--t-xs); }
  .variantes--classique .variantes__axe { min-height: 40px; }
}

/* Structure fixe 2 (Romain 30/09 20 h 17) : écarts égaux et serrés, sous-titre et « Ce format » sur une ligne ajustée,
   plus d'air sous « Ce format », « Notre méthodologie » en bulle. */
.info--methodo { margin-left: 0.5rem; align-self: auto; vertical-align: baseline; }
.info--methodo .info__bouton { width: auto; height: auto; padding: 0; border: 0; border-radius: 0; background: none; color: var(--feutre); font: 500 var(--t-xs)/1.3 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; display: inline; }
.info--methodo .info__bouton:hover, .info--methodo .info__bouton[aria-expanded="true"] { color: var(--anthracite); }
.info--methodo .info__bulle { left: auto; right: -0.5rem; transform: none; width: min(320px, 80vw); white-space: normal; text-align: left; }
.info--methodo .info__bulle::before { left: auto; right: 2rem; }
.info--methodo .info__bulle a { display: inline-block; margin-top: 0.35rem; color: #f3c64d; }
/* At the click only (no hover), the page stays where it is. */
.info--methodo:hover .info__bulle { opacity: 0; visibility: hidden; }
.info--methodo .info__bouton[aria-expanded="true"] + .info__bulle { opacity: 1; visibility: visible; }
@media (min-width: 901px) {
  .fiche__tete .achat > .achat__marque, .achat--variantes .achat__marque { overflow: visible; margin-top: 0.3rem; }
  /* Subtitle: one line, fitted (--n2: its longest length). */
  .achat__titre-suite, .fiche__tete .achat > .achat__sous-titre, .fiche__tete .achat > .achat__h2[data-v-h2] { display: block; -webkit-line-clamp: none; height: 1.35em; margin-top: 0.2rem; white-space: nowrap; overflow: visible; font-size: clamp(0.72rem, calc(100cqi / (var(--n2, 60) * 0.5)), 1rem); }
  /* Rows: all the same height, the same gap; Forme on one row like the others. */
  .fiche__tete .variantes .variantes__axe[data-cle="forme"] { height: auto; min-height: 30px; }
  .fiche__tete .achat > .variantes { margin-top: 0.6rem; padding-top: 0.6rem; }
  .fiche__tete .achat > .variantes > .variantes__titre { margin-bottom: 6px; }
  .fiche__tete .achat > .variantes > .variantes__axes, .fiche__tete .achat > .variantes > [data-v-axes] { margin-bottom: 8px; }
  .fiche__tete .achat > .variantes > .variantes__couleurs { height: 36px; padding: 3px 4px; }
  /* « Ce format »: one fitted line, then straight to the note. */
  .fiche__tete .achat > .variantes > .format-encart { height: 1.45em; margin-top: 0.35rem; font-size: clamp(0.66rem, calc(100cqi / (var(--n3, 70) * 0.52)), 0.8rem); }
  .format-encart__ligne { white-space: nowrap; font-size: inherit; }
  .format-encart__titre { font-size: inherit; }
  .fiche__tete .achat > .achat__chiffres, .fiche__tete .achat > .variantes + .achat__chiffres, .fiche__tete .achat:not(.achat--variantes) > .achat__chiffres { margin-top: 0.6rem; }
  .fiche__tete .achat > .achat__cta, .fiche__tete .achat:not(.achat--variantes) > .achat__cta { margin-top: 0.75rem; }
}
.achat__marque .info__bulle { color: #e9e7e1; font-weight: 400; letter-spacing: 0; }

/* ==========================================================================
   Téléphone (Romain 30/09 21 h 36) : le bouton marchand est la barre fixe du bas (avec le cœur), toujours visible ;
   ordre : titre, « Choisir mon format », photo et vignettes, mention, COLORIS, outils, note et prix, le reste.
   ========================================================================== */
.format-choix { display: none; }
.format-feuille { width: 100%; max-width: 560px; max-height: min(78dvh, 640px); margin: auto auto 0; padding: 0; border: 0; border-radius: 18px 18px 0 0; background: var(--blanc); color: var(--anthracite); box-shadow: 0 -20px 50px rgba(37, 39, 43, 0.25); }
.format-feuille::backdrop { background: rgba(37, 39, 43, 0.55); }
.format-feuille[open] { display: flex; flex-direction: column; animation: feuille-monte 0.22s cubic-bezier(0.2, 0.7, 0.1, 1); }
@keyframes feuille-monte { from { transform: translateY(40px); opacity: 0.4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .format-feuille[open] { animation: none; } }
.format-feuille__tete { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1rem 0.7rem 1.1rem; border-bottom: 1px solid var(--trait); }
.format-feuille__tete p { margin: 0; font: 650 var(--t-md)/1.2 var(--sans); }
.format-feuille__tete p span { margin-left: 0.4rem; font-weight: 500; color: var(--feutre); font-size: var(--t-sm); }
.format-feuille__fermer { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--platre); color: var(--anthracite); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.format-feuille__liste { margin: 0; padding: 0.4rem 0.6rem calc(0.8rem + env(safe-area-inset-bottom, 0px)); list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.format-feuille__choix { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; width: 100%; min-height: 56px; padding: 0.6rem 0.7rem; border: 0; border-bottom: 1px solid var(--trait); background: none; color: inherit; text-align: left; cursor: pointer; }
.format-feuille__choix[aria-pressed="true"] { border-radius: 12px; border-bottom-color: transparent; background: var(--moutarde-voile); box-shadow: inset 0 0 0 2px var(--anthracite); }
.format-feuille__nom { font: 600 var(--t-sm)/1.3 var(--sans); }
.format-feuille__chiffres { display: grid; justify-items: end; flex: none; gap: 0.1rem; }
.format-feuille__prix { font: 650 var(--t-sm)/1.2 var(--sans); white-space: nowrap; }
.format-feuille__note { font: 500 var(--t-xs)/1.2 var(--sans); color: var(--feutre); }
@media (max-width: 900px) {
  /* The merchant button: only in the fixed bar, always there. */
  .fiche__tete .achat > .achat__cta { display: none; }
  .barre-achat, .barre-achat.est-visible { transform: none; }
  body.type-fiche { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  /* The selector's rows join the column so the colours can sit under the photo. */
  .fiche__tete .achat > .variantes { display: contents; }
  .fiche__tete .achat > .achat__surtitre { order: 1; }
  .fiche__tete .achat > .achat__titre { order: 2; }
  .fiche__tete .achat > .achat__variante, .fiche__tete .achat > .achat__marque { order: 3; }
  .fiche__tete .achat .variantes > .format-choix { order: 4; display: block; }
  .fiche__tete .achat > .galerie { order: 5; }
  .fiche__tete .achat .variantes > p.variantes__titre:nth-of-type(2) { order: 6; margin: 0.2rem 0 -0.35rem; }
  .fiche__tete .achat .variantes > [data-v-couleurs], .fiche__tete .achat .variantes > .variantes__couleurs { order: 7; margin: 0; }
  .fiche__tete .achat > .fiche-outils { order: 8; }
  .fiche__tete .achat > .achat__chiffres { order: 9; margin: 0; }
  .fiche__tete .achat > .achat__h2 { order: 10; }
  .fiche__tete .achat .variantes > p.variantes__titre:nth-of-type(1) { order: 11; margin: 0.4rem 0 -0.35rem; padding-top: 0.7rem; border-top: 1px solid var(--trait); }
  .fiche__tete .achat .variantes > [data-v-axes], .fiche__tete .achat .variantes > .variantes__axes { order: 12; }
  .fiche__tete .achat .variantes > .format-encart { order: 13; margin: 0; }
  .fiche__tete .achat > .notes { order: 14; }
  .fiche__tete .achat .variantes > .variantes__reserve, .fiche__tete .achat .variantes > script { display: none; }
  /* « Choisir mon format », just before the photo. */
  .format-choix__bouton { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "haut haut" "actuel action"; align-items: center; gap: 0.2rem 0.8rem; width: 100%; min-height: 64px; padding: 0.6rem 0.8rem 0.6rem 0.95rem; border: 1px solid var(--anthracite); border-radius: 14px; background: var(--blanc); color: var(--anthracite); text-align: left; cursor: pointer; }
  .format-choix__haut { grid-area: haut; display: flex; align-items: baseline; gap: 0.5rem; white-space: nowrap; }
  .format-choix__label { font: 650 var(--t-xs)/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--feutre); }
  .format-choix__n { font: 500 var(--t-xs)/1.2 var(--sans); color: var(--feutre); }
  .format-choix__actuel { grid-area: actuel; font: 650 var(--t-sm)/1.3 var(--sans); }
  .format-choix__action { grid-area: action; display: inline-flex; align-items: center; gap: 0.2rem; min-height: 40px; padding: 0 0.75rem; border-radius: 999px; background: var(--anthracite); color: var(--blanc); font: 650 0.78rem/1 var(--sans); white-space: nowrap; }
}
@media (max-width: 380px) { .format-choix__action { padding: 0 0.6rem; font-size: 0.72rem; } }

/* ==========================================================================
   Round 12 (Romain 30/09 19 h) : alertes sur un modèle, « Mon projet salon ».
   ========================================================================== */

/* ---------- Alerts: what to be told about ---------- */
.alerte__types { display: grid; gap: 0.45rem; margin: 0; padding: 0; border: 0; }
.alerte__types legend { margin-bottom: 0.35rem; padding: 0; font-weight: 600; }
.alerte__type { display: flex; align-items: flex-start; gap: 0.55rem; min-height: 32px; font-weight: 500; cursor: pointer; }
.alerte__type input { flex: none; width: 18px; height: 18px; margin: 0.15rem 0 0; accent-color: var(--anthracite); }
.alerte__seuil[hidden] { display: none; }
.desinscription { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0.8rem 0 1.2rem; padding: 0.9rem 1rem; border: 1px solid var(--trait); border-radius: 12px; background: var(--blanc); }
.desinscription label { flex: 1 1 16rem; display: grid; gap: 0.3rem; font: 600 var(--t-sm)/1.3 var(--sans); }
.desinscription input { min-height: 44px; padding: 0 0.8rem; border: 1px solid var(--trait); border-radius: 10px; font: 400 var(--t-md)/1.2 var(--sans); }
.desinscription button { min-height: 44px; }
.desinscription p { flex-basis: 100%; margin: 0; font-size: var(--t-sm); }
.desinscription p:empty { display: none; }

/* ---------- Header: the project next to the heart ---------- */
.entete-projet { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; flex: none; min-width: 40px; height: 40px; padding: 0 0.55rem; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); color: var(--anthracite); text-decoration: none; font: 600 var(--t-xs)/1 var(--sans); }
.entete-projet .icone { width: 20px; height: 20px; flex: none; }
.entete-projet:hover, .entete-projet:focus-visible { border-color: var(--moutarde); outline: none; }
.entete-projet__resume { white-space: nowrap; }
.entete-projet__resume:empty { display: none; }
.entete-projet__point { position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border: 2px solid var(--blanc); border-radius: 50%; background: var(--vert-ok); display: none; }
.entete-projet.est-actif { border-color: color-mix(in srgb, var(--vert-ok) 55%, var(--trait)); }
.entete-projet.est-actif .entete-projet__point { display: block; }
.entete-projet.est-actif:has(.entete-projet__resume:not(:empty)) .entete-projet__point { display: none; }
@media (max-width: 1279px) { .entete-projet__resume { display: none; } .entete-projet { width: 40px; padding: 0; } .entete-projet.est-actif .entete-projet__point { display: block; } }
@media (max-width: 1100px) { .entete-projet { order: 1; } }
/* Phones: no room in the bar; the project is the first line of the menu. */
@media (max-width: 480px) { .entete .entete-projet { display: none; } }
.nav-projet { display: none; }
@media (max-width: 1100px) {
  .nav-projet { display: flex; align-items: center; gap: 0.6rem; min-height: 48px; margin: 0 0 0.6rem; padding: 0.6rem 0.9rem; border-radius: 12px; background: var(--moutarde-voile); color: var(--anthracite); text-decoration: none; font: 600 var(--t-sm)/1.25 var(--sans); }
  .nav-projet .icone { width: 22px; height: 22px; flex: none; color: var(--bleu); }
  .nav-projet small { display: block; font-weight: 400; color: var(--feutre); }
}

/* ---------- Cards: the project's badge, over the photo (bottom left; the heart is bottom right) ---------- */
.projet-badge { position: absolute; left: 0.6rem; bottom: 0.6rem; z-index: 2; max-width: calc(100% - 44px - 1.6rem); padding: 0.28rem 0.6rem 0.28rem 0.5rem; border-radius: 999px; background: rgba(250, 250, 248, 0.95); color: var(--anthracite); font: 600 0.72rem/1.25 var(--sans); box-shadow: 0 2px 10px -4px rgba(35, 38, 43, 0.45); pointer-events: none; }
.projet-badge::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 0.35rem; border-radius: 50%; vertical-align: 0.06em; background: currentColor; }
.projet-badge--ok { color: #3f5d3a; }
.projet-badge--non { color: var(--rouge-non); }
.projet-badge--verif { color: #7a5a06; }
@media (max-width: 640px) { .grille-produits .projet-badge { left: 0.35rem; bottom: 0.4rem; max-width: calc(100% - 36px - 1rem); padding: 0.22rem 0.45rem 0.22rem 0.4rem; font-size: 0.64rem; } }

/* Fiche: over the main photo, a link to the project; the AI notice goes up above it. */
.projet-badge--fiche { left: 12px; bottom: 12px; display: grid; gap: 0.1rem; max-width: calc(100% - 44px - 36px); padding: 0.45rem 0.8rem 0.45rem 0.7rem; border-radius: 14px; font-size: var(--t-xs); text-decoration: none; pointer-events: auto; }
.projet-badge--fiche::before { position: absolute; left: 0.7rem; top: 0.82rem; margin: 0; }
.projet-badge--fiche span { padding-left: 0.85rem; }
.projet-badge--fiche small { padding-left: 0.85rem; font: 500 0.7rem/1.3 var(--sans); color: var(--feutre); }
.projet-badge--fiche:hover span, .projet-badge--fiche:focus-visible span { text-decoration: underline; }
.galerie__principale.a-projet .galerie__ia { bottom: auto; top: 60px; left: 12px; }
@media (max-width: 700px) { .projet-badge--fiche { left: 8px; bottom: 8px; padding: 0.35rem 0.65rem 0.35rem 0.55rem; } .projet-badge--fiche::before { left: 0.55rem; top: 0.72rem; } }
/* The formats (and the values of a choice) that fit: a green dot, the size of the button never changes. */
.variantes__format.est-projet-ok, .variantes__choix.est-projet-ok { position: relative; }
.variantes__format.est-projet-ok::after, .variantes__choix.est-projet-ok::after { content: ""; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border: 2px solid var(--platre); border-radius: 50%; background: var(--vert-ok); pointer-events: none; }

/* ---------- Collections: the project bar (above the grid, shown before the first paint) ---------- */
.projet-barre { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; min-height: 52px; margin: 0 0 0.9rem; padding: 0.55rem 0.6rem 0.55rem 0.9rem; border: 1px solid color-mix(in srgb, var(--vert-ok) 35%, var(--trait)); border-radius: 14px; background: color-mix(in srgb, var(--vert-ok) 7%, var(--blanc)); }
.projet-barre[hidden] { display: none; }
.projet-barre__texte { flex: 1 1 18rem; display: flex; align-items: center; gap: 0.55rem; min-width: 0; margin: 0; font: 400 var(--t-sm)/1.35 var(--sans); color: var(--anthracite); }
.projet-barre__texte .icone { flex: none; width: 22px; height: 22px; color: var(--vert-ok); }
.projet-barre__actions { display: flex; align-items: center; gap: 0.9rem; }
.projet-barre__appliquer { min-height: 40px; padding: 0 1rem; border: 0; border-radius: 999px; background: var(--anthracite); color: var(--blanc); font: 600 var(--t-sm)/1 var(--sans); cursor: pointer; }
.projet-barre__appliquer[aria-pressed="true"] { background: var(--blanc); color: var(--anthracite); box-shadow: inset 0 0 0 1px var(--anthracite); }
.projet-barre__appliquer[hidden] { display: none; }
.projet-barre__modifier { display: inline-flex; align-items: center; min-height: 40px; font: 600 var(--t-sm)/1 var(--sans); color: var(--bleu-2); }
.projet-barre__proposes { flex-basis: 100%; display: flex; align-items: center; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; }
.projet-barre__proposes:empty { display: none; }
.projet-barre__proposes::-webkit-scrollbar { display: none; }
.projet-barre__proposes-titre { flex: none; margin-right: 0.2rem; font: 600 var(--t-xs)/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--feutre); }
.projet-barre__puce { flex: none; min-height: 34px; padding: 0 0.8rem; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); color: var(--anthracite); font: 600 var(--t-xs)/1 var(--sans); cursor: pointer; }
.projet-barre__puce[aria-pressed="true"] { border-color: var(--anthracite); background: var(--anthracite); color: var(--blanc); }
@media (max-width: 640px) {
  .projet-barre { gap: 0.45rem 0.8rem; padding: 0.6rem 0.7rem; }
  .projet-barre__texte { flex-basis: 100%; font-size: var(--t-xs); }
  .projet-barre__actions { flex: 1 1 100%; justify-content: space-between; }
  .projet-barre__appliquer { min-height: 44px; }
  .projet-barre__modifier { min-height: 44px; }
  .projet-barre__puce { min-height: 36px; }
}

/* ---------- /mon-projet/ : magazine page ---------- */
.projet { padding-bottom: 4rem; }
.projet__tete { max-width: 46rem; padding-bottom: 0.4rem; }
.projet__surtitre { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.8rem; margin: 0; font: 600 var(--t-xs)/1.3 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--bleu); }
.projet__etat { font: italic 400 var(--t-sm)/1.2 var(--serif); letter-spacing: 0; text-transform: none; color: var(--feutre); }
.projet__tete h1 { margin: 0.35rem 0 0.6rem; }
.projet__chapeau { margin: 0; max-width: 40rem; font: 400 var(--t-lg)/1.5 var(--serif); color: var(--feutre); }
.projet__importer { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin: 1.2rem 0 0; }
.projet__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 23rem); gap: 3.5rem; align-items: start; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--anthracite); }
.projet__form { display: grid; gap: 0; min-width: 0; }
.projet__temps { margin: 0; padding: 0 0 1.8rem; border: 0; border-bottom: 1px solid var(--trait); }
.projet__temps + .projet__temps { padding-top: 1.6rem; }
.projet__temps legend { display: flex; align-items: baseline; gap: 0.7rem; padding: 0; margin: 0 0 0.9rem; font: 600 var(--t-xl)/1.2 var(--sans); color: var(--anthracite); }
.projet__num { font: italic 400 var(--t-lg)/1 var(--serif); color: var(--bleu); }
.projet__intro { margin: -0.4rem 0 1rem; color: var(--feutre); font-size: var(--t-sm); }
.projet__champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1rem 1.4rem; margin-bottom: 1.1rem; }
.projet__champs > span[hidden] { display: none; }
.projet__champs > span { display: contents; }
.projet__champ { display: grid; align-content: start; gap: 0.35rem; }
.projet__champ--large { max-width: 20rem; margin-bottom: 1.1rem; }
.projet__etiquette { display: block; margin: 0 0 0.45rem; font: 600 var(--t-sm)/1.3 var(--sans); color: var(--anthracite); }
.projet__champ .projet__etiquette { margin: 0; }
.projet__saisie { display: flex; align-items: center; min-height: 48px; border: 1px solid var(--trait); border-radius: 12px; background: var(--blanc); }
.projet__saisie:focus-within { border-color: var(--anthracite); box-shadow: 0 0 0 3px var(--moutarde-voile); }
.projet__saisie input { flex: 1; min-width: 0; height: 46px; padding: 0 0.9rem; border: 0; border-radius: 12px; background: none; font: 600 var(--t-lg)/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--anthracite); -moz-appearance: textfield; appearance: textfield; }
.projet__saisie input::-webkit-outer-spin-button, .projet__saisie input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.projet__saisie input:focus { outline: none; }
.projet__unite { padding: 0 0.9rem 0 0.2rem; font: 500 var(--t-sm)/1 var(--sans); color: var(--feutre); }
.projet__aide { font: 400 var(--t-xs)/1.4 var(--sans); color: var(--feutre); }
.projet__champ select { min-height: 48px; padding: 0 0.9rem; border: 1px solid var(--trait); border-radius: 12px; background: var(--blanc); font: 500 var(--t-md)/1 var(--sans); color: var(--anthracite); }
.projet__segments { display: inline-grid; grid-auto-flow: column; gap: 0.25rem; margin-bottom: 1.2rem; padding: 0.25rem; border-radius: 999px; background: var(--platre-2); }
.projet__segments label, .projet__puces label, .projet__couleurs label { position: relative; cursor: pointer; }
.projet__segments input, .projet__puces input, .projet__couleurs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.projet__segments span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.1rem; border-radius: 999px; font: 600 var(--t-sm)/1 var(--sans); color: var(--feutre); }
.projet__segments input:checked + span { background: var(--blanc); color: var(--anthracite); box-shadow: 0 1px 3px rgba(35, 38, 43, 0.18); }
.projet__puces, .projet__couleurs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.1rem; }
.projet__puces span, .projet__couleurs span { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 42px; padding: 0 1rem; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); font: 600 var(--t-sm)/1.2 var(--sans); color: var(--anthracite); }
.projet__puces input:checked + span, .projet__couleurs input:checked + span { border-color: var(--anthracite); background: var(--anthracite); color: var(--blanc); }
.projet__puces input:focus-visible + span, .projet__couleurs input:focus-visible + span, .projet__segments input:focus-visible + span { outline: 2px solid var(--moutarde); outline-offset: 2px; }
.projet__couleurs i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(35, 38, 43, 0.18); }
.projet__couleurs input:checked + span i { box-shadow: 0 0 0 2px var(--blanc); }
.projet__vie-privee { margin: 1.2rem 0 0; font: italic 400 var(--t-sm)/1.5 var(--serif); color: var(--feutre); }
/* Sticky only when the whole card fits on the screen. */
@media (min-width: 961px) and (min-height: 1050px) { .projet__bref { position: sticky; top: 88px; } }
.projet__carte { padding: 1.4rem 1.4rem 1.2rem; border-radius: 18px; background: var(--blanc); box-shadow: var(--ombre); }
.projet__bref-titre { margin: 0 0 0.9rem; font: 600 var(--t-xs)/1.3 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--bleu); }
.projet__resume { display: grid; gap: 0; margin: 0 0 1.1rem; }
.projet__resume > div { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); gap: 0.6rem; padding: 0.45rem 0; border-bottom: 1px solid var(--trait); }
.projet__resume dt { font: 600 var(--t-xs)/1.4 var(--sans); color: var(--feutre); }
.projet__resume dd { margin: 0; font: 500 var(--t-sm)/1.4 var(--sans); color: var(--anthracite); }
.projet__compte { display: flex; align-items: baseline; gap: 0.6rem; margin: 0 0 0.9rem; font: 400 var(--t-sm)/1.35 var(--sans); color: var(--feutre); }
.projet__compte .num { flex: none; font: 400 var(--t-3xl)/1 var(--serif); color: var(--anthracite); }
.projet__meilleurs { display: grid; gap: 0.5rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.projet__meilleurs:empty { display: none; }
.projet__meilleurs a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 0.7rem; color: var(--anthracite); text-decoration: none; }
.projet__meilleurs img { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--platre-2); }
.projet__meilleur-nom { font: 600 var(--t-sm)/1.25 var(--sans); }
.projet__meilleur-nom small { display: block; font-weight: 500; color: var(--bleu); }
.projet__meilleur-chiffres { display: grid; justify-items: end; font: 600 var(--t-sm)/1.25 var(--sans); }
.projet__meilleur-chiffres small { font-weight: 500; color: var(--feutre); }
.projet__meilleurs a:hover .projet__meilleur-nom { text-decoration: underline; }
.projet__liens { display: grid; gap: 0.7rem; margin: 0 0 1rem; }
.projet__liens .bouton { justify-content: center; text-align: center; }
.projet__partage { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 1rem; padding-top: 0.8rem; border-top: 1px solid var(--trait); }
.projet__action { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0; border: 0; background: none; color: var(--anthracite); font: 600 var(--t-sm)/1.2 var(--sans); cursor: pointer; }
.projet__action .icone { width: 18px; height: 18px; color: var(--bleu); }
.projet__action--effacer { color: var(--feutre); font-weight: 500; }
.projet__canaux { flex-basis: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; }
.projet__canaux[hidden] { display: none; }
.projet__canal { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0 0.8rem; border: 1px solid var(--trait); border-radius: 12px; background: var(--blanc); color: var(--anthracite); font: 600 var(--t-sm)/1 var(--sans); text-decoration: none; cursor: pointer; }
.projet__canal .icone { width: 18px; height: 18px; }
.projet__copie { grid-column: 1 / -1; margin: 0; font-size: var(--t-xs); overflow-wrap: anywhere; }
.projet__copie:empty { display: none; }
.projet__form[data-lecture] { opacity: 0.92; }
@media (max-width: 960px) {
  .projet__grille { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .projet__bref { position: static; }
}
@media (max-width: 640px) {
  .projet__chapeau { font-size: var(--t-md); }
  .projet__grille { margin-top: 1.4rem; padding-top: 1.1rem; }
  .projet__carte { padding: 1.1rem 1rem 1rem; border-radius: 14px; }
  .projet__champs { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
  .projet__segments { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .projet__segments span { justify-content: center; min-height: 44px; }
  .projet__temps legend { font-size: var(--t-lg); }
  .projet__resume > div { grid-template-columns: 6rem minmax(0, 1fr); }
}
.desinscription { position: relative; }
.desinscription .alerte__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* ==== fin : sélection et partage ==== */

/* Selector: every value of the model stays visible (Romain 01/10 9 h 55, « Droit convertible n'existe pas ? »).
   A value that needs other attributes changed is toned down, still clickable (assets/js/variantes.js, cible). */
.variantes__choix--autre { border-style: dashed; background: transparent; color: var(--feutre); }
.variantes__choix--autre:hover, .variantes__choix--autre:focus-visible { border-style: solid; border-color: var(--anthracite); color: var(--anthracite); }
.variantes__avis { position: absolute; z-index: 30; box-sizing: border-box; margin: 0; padding: 0.45rem 0.7rem; border-radius: 10px; background: var(--anthracite); color: var(--blanc); font: 500 var(--t-xs)/1.35 var(--sans); box-shadow: 0 8px 24px rgba(37, 39, 43, 0.18); pointer-events: none; opacity: 0; transform: translateY(-4px); transition: opacity 0.2s, transform 0.2s; }
.variantes__avis.est-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .variantes__avis { transition: none; } }

/* Phone header (01/10, Romain: the search was only reachable through Menu then Rechercher): the magnifier is
   back, icon only, right before the heart and drawn like it; its touch area is 44 px. The menu's search stays.
   Results lists (01/10): the line announcing approximate results when nothing matches exactly. */
@media (max-width: 1100px) {
  .entete .bouton-recherche { display: grid; place-items: center; order: 1; position: relative; flex: none; width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%; }
  .entete .bouton-recherche svg { width: 18px; height: 18px; }
  .entete .bouton-recherche::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; }
}
@media (max-width: 440px) {
  .entete__barre { gap: 0.3rem; }
  .entete .bouton-recherche { width: 34px; height: 34px; }
  .entete .bouton-recherche svg { width: 17px; height: 17px; }
  .entete .bouton-recherche::after { inset: -5px; }
  .entete .bouton-menu { min-width: 36px; padding: 0; }
}
/* Small phones (360 to 380 px): the logo and the ranking pill give up a little room so nothing leaves the bar. */
@media (max-width: 380px) {
  .entete .marque-site { font-size: 1.2rem; }
  .entete__barre { gap: 0.25rem; }
  .phare-mobile { padding: 0 0.45rem; }
  .phare-mobile span { font-size: 0.72rem; }
}
.recherche__proche { padding: 0.35rem 0.6rem 0.5rem; color: var(--feutre); font: 500 var(--t-sm)/1.4 var(--sans); }
/* Every value always shown: a row may wrap (Nihad's long versions), its height is then the same for every format of the model. */
@media (min-width: 901px) {
  .fiche__tete .variantes .variantes__axe { height: auto; min-height: 30px; }
  .fiche__tete .variantes .variantes__axe-choix { max-height: none; }
}
/* The shape first (Romain 01/10 12 h 10): the rows shown ([data-v-jeu]) and one silent copy per shape in the same cell,
   so the block keeps the height of the tallest shape and the merchant button never moves (inc/variantes.php). */
.variantes [data-v-axes] { display: grid !important; grid-template-columns: minmax(0, 1fr); align-items: start; }
.variantes__jeu { grid-area: 1 / 1; display: flex; flex-direction: column; gap: inherit; min-width: 0; }
.variantes__jeu--fantome { visibility: hidden; pointer-events: none; }
@media (max-width: 900px) { .variantes__jeu--fantome { display: none; } }

/* Phone header under 600 px (01/10, Romain: « trop surchargé, peut-être enlever la recherche, qui apparaîtrait alors
   seulement dans le menu »): no magnifier in the bar; the search is the first line of the open menu, drawn as a field
   (.nav-recherche, header.php), same instant search. Logo, « Meilleurs canapés », Mon projet, heart and menu get the room. */
.nav-recherche { display: none; }
@media (max-width: 599px) {
  .entete .bouton-recherche { display: none; }
  .tiroir__recherche { display: none; }
  .nav-recherche { display: flex; align-items: center; gap: 0.6rem; width: 100%; min-height: 48px; margin: 0.2rem 0 0.8rem; padding: 0 1rem; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 8px; background: var(--blanc); color: var(--feutre); font: 400 var(--t-md)/1.2 var(--sans); text-align: left; cursor: text; }
  .nav-recherche svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--anthracite); stroke-width: 2; stroke-linecap: round; }
  .nav-recherche span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-recherche:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 2px; }
  .entete__barre { gap: 6px; }
}
@media (max-width: 380px) { .entete__barre { gap: 4px; } }

/* Home, 01/10 18 h 15 (Romain: « la barre, je la voulais en bas de page, pas tout en haut »): the brand band closes the
   hero, at the bottom of the first screen (1440x900, 1366x768); on a phone right after « Quelle place avez-vous ? ». */
.une__grille > .bandeau-marques--une { grid-column: 1 / -1; margin: 0 calc(50% - 50vw); padding: 0.55rem 0; }
.bandeau-marques--une .bandeau-marques__liste li { padding: 0 1.5rem; }
.bandeau-marques--une .bandeau-marques__liste li::after { width: 7px; height: 7px; }
.bandeau-marques--une .bandeau-marques__liste a, .bandeau-marques--une .bandeau-marques__liste span { font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.15rem); letter-spacing: -0.01em; }
.une:has(.bandeau-marques--une) { padding-bottom: 0; }
.une__grille:has(> .bandeau-marques--une) { row-gap: clamp(1rem, 2.5vw, 1.5rem); }
@media (max-width: 860px) {
  .une__grille > .une__texte { order: 1; }
  .une__grille > .bandeau-marques--une { order: 2; }
  .une__grille > .une__visuel { order: 3; }
  .une:has(.bandeau-marques--une) { padding-bottom: clamp(1.5rem, 5vw, 2.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .bandeau-marques--une { overflow-x: auto; scrollbar-width: none; }
  .bandeau-marques--une .bandeau-marques__piste { flex-wrap: nowrap; width: max-content; }
}

/* A short computer screen (1366x768): the hero tightens a little so the band still shows at the bottom. */
@media (min-width: 861px) and (max-height: 820px) {
  .une:has(.bandeau-marques--une) { padding-top: 0.5rem; }
  .une:has(.bandeau-marques--une) .une__titre { font-size: min(clamp(2.5rem, 1rem + 4.6vw, 5.4rem), 8.6vh); }
  .une:has(.bandeau-marques--une) .une__requete { margin-bottom: 0.6rem; }
  .une:has(.bandeau-marques--une) .une__texte { padding-bottom: 0; }
}

/* mag-compact 01/10 debut. Pages du Mag' (Romain, 01/10 19 h 50 : « ça bouffe énormément d'espace avant les sections »).
   Tête courte (H1 raisonnable, chapeau court), rubriques en pastilles (une rangée défilante sur téléphone), grille
   d'articles tout de suite ; le long texte d'introduction est rendu après la grille (category.php, .mag__apropos). */
.mag .ariane { margin: 1rem 0 0.7rem; }
.mag__tete { padding: 0 0 1rem; max-width: 50rem; }
.mag__surtitre { margin: 0 0 0.45rem; }
.mag__titre { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.9rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 0.3em; }
.mag__tete .chapeau { font-size: var(--t-md); line-height: 1.5; color: var(--feutre); margin: 0; max-width: 46rem; }
.mag .rubriques { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0 0 0.5rem; }
.mag .rubriques--pieces { margin-top: 0; }
.mag .rubriques__titre { flex: none; margin: 0 0.35rem 0 0.1rem; }
.mag .rubrique-tuile { display: inline-flex; align-items: center; gap: 0.45rem; flex: none; box-sizing: border-box; min-height: 38px; padding: 0.4rem 0.85rem; border-radius: 999px; }
.mag .rubrique-tuile:hover { transform: none; }
.mag .rubrique-tuile__nom { font: 600 var(--t-sm)/1.2 var(--sans); white-space: nowrap; }
.mag .rubrique-tuile__n { font: 500 var(--t-xs)/1 var(--sans); }
.mag__liste { padding: 1rem 0 1rem; }
.mag__une.bloc { padding-top: 1.2rem; }
.mag__une .rubrique { margin-bottom: 1.2rem; padding-bottom: 0.6rem; }
.mag__une .rubrique h2 { font-size: var(--t-xl); }
.mag__apropos { margin: 2.6rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--trait); }
.mag__apropos-titre { font-size: var(--t-xl); margin: 0 0 1rem; }
.mag__apropos .mag__intro { margin: 0 !important; }
@media (max-width: 700px) {
  .mag .rubriques { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 0.1rem var(--gutter); scroll-padding-inline: var(--gutter); }
  .mag .rubriques::-webkit-scrollbar { display: none; }
  .mag .rubrique-tuile { min-height: 44px; }
  .mag .rubriques__titre { order: -2; }
  .mag .rubrique-tuile.est-active { order: -1; }
  .mag__liste { padding-top: 0.8rem; }
}
/* mag-compact 01/10 fin */

/* Home, 01/10 20 h (Romain: « je le veux vraiment collé à la ligne du bas de l'écran mais le voir »): on a computer the
   hero is exactly one screen high under the header (a one-row grid, so the centred content keeps its width), and the brand band is its last row, laid on the
   bottom edge of the screen whatever its height; the content above keeps its 18 h 15 look and only tightens a little
   (space above the kicker) when the screen is too low to hold everything. Phones unchanged. */
@media (min-width: 861px) {
  .une:has(.bandeau-marques--une) { display: grid; grid-template-rows: minmax(0, 1fr); box-sizing: border-box; min-height: calc(100vh - 65px); min-height: calc(100svh - 65px); padding-bottom: 0; }
  .une:has(.bandeau-marques--une) > .une__grille { grid-template-rows: 1fr auto; }
  .une__grille > .bandeau-marques--une { align-self: end; margin-top: auto; }
}
@media (min-width: 861px) and (max-height: 760px) {
  .une:has(.bandeau-marques--une) { padding-top: clamp(0.25rem, 100vh - 690px, 0.5rem); }
  .une__grille:has(> .bandeau-marques--une) { row-gap: 0.5rem; }
  .une:has(.bandeau-marques--une) .une__titre { font-size: min(clamp(2.5rem, 1rem + 4.6vw, 5.4rem), 8.2vh); }
}

/* Home, 01/10 20 h 15 (Romain still saw no band on a 1000x560 Mac window): the band is also sticky at the bottom of the
   screen, so it is seen whole on the first screen even when the hero is taller than the window (short window, zoom),
   then settles in its place under the hero when scrolling. Computer only; phones unchanged. */
@media (min-width: 861px) {
  .une__grille > .bandeau-marques--une { position: sticky; bottom: 0; z-index: 5; }
}
/* A very short window (Mac 1000x560, browser zoom): the hero tightens a little more so the sticky band never hides the
   « Voir les canapés qui rentrent » link. */
@media (min-width: 861px) and (max-height: 640px) {
  .une:has(.bandeau-marques--une) .une__requete { margin-bottom: 0.4rem; }
  .une:has(.bandeau-marques--une) .une__titre { font-size: min(clamp(2.2rem, 1rem + 4.6vw, 5.4rem), 7.6vh); margin-bottom: 0.25em; }
  .une:has(.bandeau-marques--une) .une__chapeau { font-size: var(--t-md); }
  .une:has(.bandeau-marques--une) .place { margin-top: 0.8rem; padding-block: 0.7rem; }
  .une:has(.bandeau-marques--une) .place label { margin-bottom: 0.35rem; }
  .une:has(.bandeau-marques--une) .place input[type="range"] { margin: 0.3rem 0 0.1rem; }
  .une:has(.bandeau-marques--une) .place__resultat { margin: 0 0 0.35rem; }
  .une:has(.bandeau-marques--une) .vitrine__scene { aspect-ratio: 16 / 11; }
}

/* Home, 01/10 20 h 40 (Romain: « décoller un peu de la bande en remontant un peu tout le bloc, vraiment léger »): from
   641 px of height on a computer, about 24 px less above the kicker and 28 px between the content and the band, which
   stays on the bottom edge of the screen. */
@media (min-width: 861px) and (min-height: 641px) {
  .une__grille:has(> .bandeau-marques--une) { row-gap: 1.75rem; }
}
@media (min-width: 861px) and (min-height: 821px) {
  .une:has(.bandeau-marques--une) { padding-top: calc(clamp(1.5rem, 4vw, 3rem) - 24px); }
}
@media (min-width: 861px) and (min-height: 641px) and (max-height: 820px) {
  .une:has(.bandeau-marques--une) { padding-top: 0.25rem; }
}

/* design-brunelia 02/10 debut : les encarts Brunelia en encart de magazine (inc/design-brunelia.php, scripts/design-brunelia) */
.db-mur, section.mur.db-mur { background: none; }
.db-mur { padding-block: clamp(1.6rem, 4vw, 2.6rem); }
.bloc + .db-mur { border-top: 0; }
.ha > section.db-mur { margin-top: var(--ha-sec, 2.5rem); padding-block: 0; }
.ha > section.db-mur + section { padding-top: var(--ha-sec, 2.5rem); }
.db-encart { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem 2.4rem; padding: 1.1rem 1.4rem 1.2rem; border-top: 2px solid var(--anthracite); background: #f4f2ee; color: var(--anthracite); }
.db-encart__texte { min-width: 0; }
.db-surtitre { margin: 0 0 0.45rem; font: 600 0.7rem/1.25 var(--sans); letter-spacing: 0; text-transform: none; color: var(--bleu); text-wrap: balance; }
.db-ligne { margin: 0; max-width: 72ch; font: 400 clamp(1.05rem, 1rem + 0.3vw, 1.2rem)/1.4 var(--serif); color: var(--anthracite); text-wrap: pretty; }
.db-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.1rem; margin: 0.35rem 0 0; }
.db-lien { display: inline-flex; align-items: center; min-height: 44px; color: var(--anthracite); font: 600 0.88rem/1.2 var(--sans); text-decoration: underline; text-decoration-color: var(--moutarde); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.db-lien::after { content: "\2197"; margin-left: 0.35rem; font-weight: 400; text-decoration: none; display: inline-block; }
.db-lien:hover, .db-lien:focus-visible { text-decoration-color: var(--anthracite); }
.db-mention { font: 400 0.74rem/1.35 var(--sans); color: var(--feutre); }
.db-affiches > li { margin: 0; padding: 0; }
.db-affiches > li::before { content: none; }
.db-affiches { display: flex; align-items: flex-end; gap: 14px; margin: 0; padding: 0; list-style: none; }
.db-affiches a { display: block; border-radius: 0; }
.db-affiches a:focus-visible { outline: 2px solid var(--anthracite); outline-offset: 3px; }
.db-affiches img { display: block; width: 76px; height: 107px; object-fit: contain; object-position: center bottom; background: none; filter: drop-shadow(0 1px 1px rgba(37, 39, 43, 0.18)) drop-shadow(0 6px 10px rgba(37, 39, 43, 0.12)); transition: transform 0.2s ease; }
.db-affiches a:hover img { transform: translateY(-2px); }
.db-fin { padding: clamp(1.4rem, 4vw, 2.4rem) var(--gutter) 0; }
.db-fin__enveloppe { max-width: var(--col); margin-inline: auto; }
@media (max-width: 720px) {
  .db-encart { grid-template-columns: minmax(0, 1fr); padding: 1rem 1rem 1.1rem; gap: 0.9rem; }
  .db-affiches { order: 2; gap: 12px; }
  .db-affiches img { width: 64px; height: 90px; }
}
@media (prefers-reduced-motion: reduce) { .db-affiches img { transition: none; } }
/* the wall tool of the Mag' and of « Mon salon » (inc/mag.php, assets/js/mur.js): the same insert, small whole posters */
.mur-outil { margin: 2rem 0; padding: 1.1rem 1.4rem 1.2rem; border-radius: 0; border-top: 2px solid var(--anthracite); background: #f4f2ee; }
.mur-outil .mur__surtitre { margin: 0 0 0.45rem; font: 600 0.7rem/1.25 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bleu); }
.mur-outil__titre { margin: 0 0 0.7rem; font: 400 clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem)/1.3 var(--serif); }
.mur-outil__champ input { min-height: 44px; border-radius: 4px; border-color: var(--anthracite); }
.mur-outil__resultat { margin: 0.8rem 0; font: 400 1rem/1.45 var(--serif); max-width: 60ch; }
.mur-outil__affiches, .salon__mur .mur-outil__affiches { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; max-width: none; }
.mur-outil ul.mur-outil__affiches { margin: 0; padding: 0; list-style: none; }
.mur-outil__affiches > li { position: relative; margin: 0; padding: 0; width: auto; }
.mur-outil__affiches > li::before, .mur-outil__affiches > li::marker { content: none; }
.mur-outil__affiches a { display: block; }
.mur-outil__affiches img { display: block; width: 76px; height: 107px; object-fit: contain; object-position: center bottom; border-radius: 0; box-shadow: none; filter: drop-shadow(0 1px 1px rgba(37, 39, 43, 0.18)) drop-shadow(0 6px 10px rgba(37, 39, 43, 0.12)); }
.mur-outil__affiches .mur__titre, .mur-outil__affiches .mur__prix { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mur-outil .mur__mention { margin: 0.9rem 0 0; font: 400 0.74rem/1.35 var(--sans); color: var(--feutre); }
.mur-outil .mur__mention a { color: var(--anthracite); text-decoration-color: var(--moutarde); text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* design-brunelia 02/10 fin */

/* correctifs-0210: no band between header and page (margin collapse through main) */
body > main, #contenu, main#main { display: flow-root; }

/* Scenes on the cards (12/10, assets/js/cartes-scenes.js): the scene sits over the studio photo and fades in on hover
   or in the « En situation » view; the heart and the notices stay above it. */
.carte__photo .carte__scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; border-radius: inherit; transition: opacity 0.35s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1); }
.carte--scene .carte__photo .carte__scene { opacity: 1; }
.vue-cartes { display: inline-flex; gap: 2px; padding: 3px; margin: 0 0 1.1rem; border-radius: var(--r-ctl); background: var(--platre-2); }
.vue-cartes button { display: inline-flex; align-items: center; gap: 0.45rem; border: 0; background: none; padding: 0.55rem 1rem; border-radius: var(--r-ctl); font: 500 var(--t-sm)/1 var(--sans); color: var(--anthracite); cursor: pointer; transition: background 0.2s, box-shadow 0.2s; }
.vue-cartes button:hover { background: color-mix(in srgb, #fff 55%, transparent); }
.vue-cartes button[aria-pressed="true"] { background: #fff; font-weight: 650; box-shadow: 0 1px 3px rgba(37, 39, 43, 0.12); }
.vue-cartes button:focus-visible { outline: 2px solid var(--moutarde); outline-offset: 2px; }
.vue-cartes svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .carte__photo .carte__scene { transition: none; } }
