/* Moteur commun des comparateurs. Jetons repris du langage apple.com. */

@font-face {
  font-family: "Marque";
  src: url("/a/police.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Marque";
  src: url("/a/police-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg-blanc: #FFFFFF;
  --bg-gris: #F5F5F7;
  --bg-sombre: #1D1D1F;
  --bg-eleve: #FBFBFD;
  --texte: #1D1D1F;
  --texte-2: #6E6E73;
  --texte-3: #86868B;
  --texte-sur-sombre: #F5F5F7;
  --lien: #0066CC;
  --lien-survol: #0077ED;
  --vert: #2D8C3C;
  --orange: #E85D04;
  --rouge: #E30000;
  --accent: #0066CC;
  --accent-doux: #E8F0FB;
  --trait: #D2D2D7;

  --font-display: var(--police-marque, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Marque", Arial, sans-serif);
  --font-texte: var(--police-marque, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Marque", Arial, sans-serif);

  --section: 100px;
  --section-sm: 80px;
  --gap-sm: 16px;
  --gap-md: 32px;
  --gap-lg: 48px;
  --pad-carte: 28px;

  --rayon: 18px;
  --rayon-sm: 12px;
  --rayon-pastille: 980px;

  --ombre: 0 2px 8px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.08);
  --ombre-survol: 0 4px 12px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.12);
  --ombre-modale: 0 8px 20px rgba(0,0,0,.08), 0 20px 60px rgba(0,0,0,.16);

  --interligne-titre: 1.08;
  --interligne: 1.53;
  --serre: -0.015em;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 17px;
  line-height: var(--interligne);
  letter-spacing: var(--interlettre, -0.022em);
  color: var(--texte);
  background: var(--bg-blanc);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--lien); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lien); outline-offset: 3px; border-radius: 4px; }
.chiffres { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-display); margin: 0; letter-spacing: var(--serre); line-height: var(--interligne-titre); }
h1 { font-size: 40px; font-weight: 700; }
h2 { font-size: 32px; font-weight: 600; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: 0; line-height: 1.2; }
p { margin: 0; }
@media (min-width: 734px) {
  h1 { font-size: 56px; }
  h2 { font-size: 40px; }
  h3 { font-size: 24px; }
}
@media (min-width: 1068px) {
  h1 { font-size: 64px; }
  h2 { font-size: 48px; }
}

.contenu { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 20px; }
.contenu--large { max-width: 1200px; }
.contenu--etroit { max-width: 720px; }
@media (min-width: 734px) { .contenu { padding: 0 32px; } }

.section { padding: 64px 0; background: var(--bg-blanc); }
.section--gris { background: var(--bg-gris); }
.section--sombre { background: var(--bg-sombre); color: var(--texte-sur-sombre); }
.section--sombre .surtitre, .section--sombre .chapo { color: #A0A3B5; }
@media (min-width: 734px) { .section { padding: var(--section-sm) 0; } }
@media (min-width: 1068px) { .section { padding: var(--section) 0; } }

.entete-section { text-align: center; margin-bottom: var(--gap-lg); }
.entete-section .chapo { margin: var(--gap-sm) auto 0; max-width: 640px; }
.surtitre { font-size: 14px; font-weight: 600; color: var(--texte-2); letter-spacing: 0; margin-bottom: 10px; display: block; }
.chapo { font-size: 19px; line-height: 1.42; color: var(--texte-2); letter-spacing: 0.012em; }
@media (min-width: 734px) { .chapo { font-size: 21px; } }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 11px 22px;
  border-radius: var(--rayon-bouton, var(--rayon-pastille)); border: 0;
  background: var(--bouton-fond, var(--lien)); color: var(--bouton-texte, #fff);
  font-size: 17px; font-weight: var(--bouton-graisse, 400); letter-spacing: -0.01em; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.bouton:hover { background: var(--bouton-survol, var(--lien-survol)); text-decoration: none; }
.bouton:active { transform: scale(.98); }
.bouton--clair { background: var(--bg-gris); color: var(--texte); }
.bouton--clair:hover { background: #E8E8ED; }
.bouton--sombre { background: var(--texte); color: #fff; }
.bouton--sombre:hover { background: #000; }
.bouton--petit { min-height: 36px; padding: 7px 16px; font-size: 14px; }
.lien-fleche::after { content: " \203A"; }

/* Navigation globale */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,251,253,.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.nav__barre { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 20px; }
@media (min-width: 834px) { .nav__barre { height: 68px; } }
.nav__marque { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--texte); letter-spacing: -0.02em; }
.nav__marque:hover { text-decoration: none; }
.nav__marque span { color: var(--accent); }
.nav__liens { display: none; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__liens a { color: var(--texte); font-size: 14px; opacity: .85; }
.nav__liens a:hover { opacity: 1; text-decoration: none; }
.nav__liens a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav__menu { position: relative; }
.nav__menu summary { list-style: none; cursor: pointer; font-size: 14px; padding: 8px 0; }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu[open] .nav__deroulant { display: block; }
.nav__deroulant {
  display: none; position: absolute; right: 0; top: 48px; width: min(300px, calc(100vw - 40px));
  background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre-modale); padding: 12px;
}
.nav__deroulant a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--texte); font-size: 17px; }
.nav__deroulant a:hover { background: var(--bg-gris); text-decoration: none; }
@media (min-width: 834px) {
  .nav__liens { display: flex; }
  .nav__menu { display: none; }
}

/* Bandeau de transparence */
.transparence { background: var(--bg-gris); font-size: 12px; color: var(--texte-2); text-align: center; padding: 10px 20px; line-height: 1.4; }
.transparence a { color: var(--texte-2); text-decoration: underline; }

/* Accueil : hero */
.hero { background: var(--bg-gris); padding: 56px 0 0; text-align: center; overflow: hidden; }
.hero h1 { max-width: 15ch; margin: 0 auto; text-wrap: balance; }
.hero .chapo { max-width: 620px; margin: 20px auto 0; }
.hero__actions { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.hero__visuel { margin: 48px auto 0; max-width: 860px; padding: 0 20px; }
@media (min-width: 734px) { .hero { padding-top: 88px; } }

/* Coupe éclatée du hero */
.eclate { width: 100%; height: auto; overflow: visible; }
.eclate .couche { transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.eclate.ouvert .couche { transform: translateY(var(--dy, 0)); }
.eclate .etiquette { opacity: 0; transition: opacity .6s ease .5s; }
.eclate.ouvert .etiquette { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .eclate .couche, .eclate .etiquette { transition: none; } }
.eclate--etroit, .legende-hero { display: none; }
@media (max-width: 733px) {
  .eclate--large { display: none; }
  .eclate--etroit { display: block; }
  .legende-hero { display: grid; gap: 10px; list-style: none; margin: 8px 0 40px; padding: 0; text-align: left; counter-reset: c; }
  .legende-hero li { display: grid; grid-template-columns: 1fr; font-size: 15px; line-height: 1.35; }
  .legende-hero strong { font-weight: 600; }
  .legende-hero span { color: var(--texte-2); font-size: 14px; }
}

/* Chiffres clés */
.chiffres-cles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 20px; text-align: center; }
.chiffres-cles strong { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.chiffres-cles span { color: var(--texte-2); font-size: 15px; }
@media (min-width: 734px) { .chiffres-cles { grid-template-columns: repeat(4, 1fr); } .chiffres-cles strong { font-size: 48px; } }

/* Grilles et cartes */
.grille { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 734px) { .grille--2 { grid-template-columns: repeat(2, 1fr); } .grille--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1068px) { .grille--3 { grid-template-columns: repeat(3, 1fr); } }

.carte { background: var(--bg-blanc); border-radius: var(--rayon); padding: var(--pad-carte); box-shadow: var(--ombre); transition: box-shadow .3s ease, transform .3s ease; }
.section--gris .carte { box-shadow: none; }
a.carte { color: inherit; display: block; }
a.carte:hover { text-decoration: none; box-shadow: var(--ombre-survol); transform: translateY(-2px); }
.carte--gris { background: var(--bg-gris); box-shadow: none; }

/* Carte produit */
.produit { display: flex; flex-direction: column; gap: 14px; position: relative; }
.produit__visuel { background: var(--bg-gris); border-radius: var(--rayon-sm); padding: 18px 16px 14px; }
.section--gris .produit__visuel { background: var(--bg-eleve); }
.produit__marque { font-size: 12px; font-weight: 600; color: var(--texte-2); letter-spacing: 0.02em; text-transform: uppercase; }
.produit__nom { font-size: 21px; }
.produit__nom a { color: inherit; }
.produit__resume { color: var(--texte-2); font-size: 15px; line-height: 1.45; }
.produit__faits { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--texte-2); list-style: none; margin: 0; padding: 0; }
.produit__faits strong { color: var(--texte); font-weight: 600; }
.produit__bas { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 6px; }
.prix { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.prix small { display: block; font-family: var(--font-texte); font-size: 12px; font-weight: 400; color: var(--texte-2); letter-spacing: 0; margin-top: 6px; }
.prix s { font-size: 15px; color: var(--texte-3); font-weight: 400; margin-left: 6px; }
.produit__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.produit__actions a { font-size: 14px; white-space: nowrap; }
.etiquette-selection { font-size: 12px; font-weight: 600; color: var(--accent); }

/* Jauge de fermeté : 5 crans, position fixe */
.jauge { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 12px; color: var(--texte-2); }
.jauge__crans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.jauge__crans i { height: 6px; border-radius: 3px; background: #E3E3E8; }
.jauge__crans i.plein { background: var(--texte); }
.jauge__crans i.demi { background: linear-gradient(90deg, var(--texte) 50%, #E3E3E8 50%); }
.jauge__crans i.cible { background: var(--accent); }
.jauge--grande .jauge__crans i { height: 10px; border-radius: 5px; }
.jauge--grande { font-size: 14px; }

/* Fiche produit */
.fiche-hero { background: var(--bg-gris); padding: 40px 0 56px; }
.fil { font-size: 13px; color: var(--texte-2); margin-bottom: 28px; }
.fil a { color: var(--texte-2); }
.fiche-hero__grille { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .fiche-hero__grille { grid-template-columns: 1fr 1fr; gap: 72px; } }
.fiche-hero h1 { font-size: 40px; }
@media (min-width: 734px) { .fiche-hero h1 { font-size: 52px; } }
.fiche-hero .chapo { margin-top: 14px; }
.verdict { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.cta-marchand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.cta-marchand .mention { font-size: 12px; color: var(--texte-3); flex-basis: 100%; }

.specs { display: grid; grid-template-columns: 1fr; margin: 0; }
.specs div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; padding: 14px 0; box-shadow: 0 1px 0 var(--trait); }
.specs div:last-child { box-shadow: none; }
.specs dt { color: var(--texte-2); }
.specs dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }

.pour-contre { display: grid; gap: 20px; }
@media (min-width: 734px) { .pour-contre { grid-template-columns: 1fr 1fr; } }
.pour-contre h3 { font-size: 19px; margin-bottom: 14px; }
.pour-contre ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pour-contre li { padding-left: 26px; position: relative; line-height: 1.45; }
.pour-contre li::before { position: absolute; left: 0; top: 0; font-weight: 600; }
.pour-contre .pour li::before { content: "+"; color: var(--vert); }
.pour-contre .contre li::before { content: "\2212"; color: var(--orange); }

.pour-qui { display: grid; gap: 14px; }
.pour-qui p { line-height: 1.5; }

.table-prix { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table-prix th, .table-prix td { text-align: left; padding: 14px 0; box-shadow: 0 1px 0 var(--trait); font-weight: 400; }
.table-prix th { color: var(--texte-2); font-size: 14px; }
.table-prix td:last-child, .table-prix th:last-child { text-align: right; }
.table-prix tr:last-child td { box-shadow: none; }

.source { font-size: 12px; color: var(--texte-3); margin-top: 16px; line-height: 1.5; }
.source a { color: var(--texte-3); text-decoration: underline; }

/* Coupe d'un matelas et sa légende */
.coupe { width: 100%; height: auto; }
.couches { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 0; }
.couches li { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center; font-size: 15px; padding: 10px 0; box-shadow: 0 1px 0 var(--trait); }
.couches li:last-child { box-shadow: none; }
.couches i { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.couches .ep { color: var(--texte-2); font-variant-numeric: tabular-nums; }
.couches__total { font-size: 13px; color: var(--texte-2); margin-top: 10px; text-align: right; }
.couches__total strong { color: var(--texte); font-weight: 600; }

/* Quiz */
.quiz { max-width: 720px; margin: 0 auto; }
.quiz__etape { display: none; }
.quiz__etape.active { display: block; animation: apparait .45s ease; }
@keyframes apparait { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.quiz__compteur { font-size: 14px; color: var(--texte-2); text-align: center; font-variant-numeric: tabular-nums; }
.quiz__avancement { display: none; }
.quiz__compteur { margin-bottom: 28px; }
.quiz__question { text-align: center; font-size: 32px; }
@media (min-width: 734px) { .quiz__question { font-size: 40px; } }
.quiz__aide { text-align: center; color: var(--texte-2); margin-top: 12px; }
.quiz__choix { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 600px) { .quiz__choix { grid-template-columns: 1fr 1fr; } }
.choix {
  display: flex; flex-direction: column; gap: 4px; text-align: left;
  padding: 20px 22px; border-radius: var(--rayon); border: 0; cursor: pointer;
  background: var(--bg-blanc); box-shadow: inset 0 0 0 1px var(--trait);
  transition: box-shadow .2s ease, background .2s ease;
}
.choix:hover { box-shadow: inset 0 0 0 1px var(--texte-3); }
.choix[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--lien); background: var(--accent-doux); }
.choix strong { font-size: 17px; font-weight: 600; }
.choix span { font-size: 14px; color: var(--texte-2); line-height: 1.4; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; min-height: 44px; }
.quiz__retour { background: none; border: 0; color: var(--lien); cursor: pointer; font-size: 17px; padding: 8px 0; }
.quiz__retour[hidden] { visibility: hidden; display: block !important; }

.resultats { display: none; }
.resultats.active { display: block; animation: apparait .5s ease; }
.resultat { display: grid; gap: 24px; padding: 28px; border-radius: var(--rayon); background: var(--bg-blanc); box-shadow: var(--ombre); margin-bottom: 20px; }
@media (min-width: 800px) { .resultat { grid-template-columns: 260px 1fr; align-items: start; gap: 36px; padding: 36px; } }
.resultat__rang { font-size: 14px; font-weight: 600; color: var(--accent); }
.resultat__accord { font-family: var(--font-display); font-size: 48px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.resultat__accord small { font-size: 15px; font-weight: 400; color: var(--texte-2); letter-spacing: 0; margin-left: 6px; }
.resultat ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.resultat li { padding-left: 22px; position: relative; font-size: 15px; line-height: 1.45; }
.resultat li::before { content: "+"; position: absolute; left: 0; color: var(--vert); font-weight: 600; }
.resultat li.attention::before { content: "!"; color: var(--orange); }
.resultat__actions { display: flex; gap: 12px 20px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.resultats__vide { text-align: center; padding: 40px 0; color: var(--texte-2); }

/* Comparatif */
.filtres { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.filtres__ligne { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filtres__titre { font-size: 13px; color: var(--texte-2); width: 100%; font-weight: 600; }
@media (min-width: 734px) { .filtres__titre { width: 110px; } }
.puce {
  border: 0; cursor: pointer; padding: 8px 15px; border-radius: var(--rayon-pastille);
  background: var(--bg-blanc); box-shadow: inset 0 0 0 1px var(--trait); font-size: 14px;
  transition: background .2s, color .2s, box-shadow .2s;
}
.puce:hover { box-shadow: inset 0 0 0 1px var(--texte-3); }
.puce[aria-pressed="true"] { background: var(--texte); color: #fff; box-shadow: none; }
.filtres select, .filtres input[type="range"] { font: inherit; font-size: 14px; }
.filtres select { padding: 8px 14px; border-radius: var(--rayon-pastille); border: 0; box-shadow: inset 0 0 0 1px var(--trait); background: var(--bg-blanc); appearance: none; -webkit-appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--texte-2) 50%), linear-gradient(135deg, var(--texte-2) 50%, transparent 50%); background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.budget { display: flex; align-items: center; gap: 12px; font-size: 14px; flex: 1; min-width: 240px; }
.budget input { flex: 1; accent-color: var(--texte); }
.budget output { min-width: 80px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.compteur-resultats { font-size: 14px; color: var(--texte-2); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.comparer-case { position: absolute; top: 18px; right: 18px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--texte-2); background: rgba(255,255,255,.9); padding: 5px 10px 5px 8px; border-radius: var(--rayon-pastille); cursor: pointer; }
.comparer-case input { accent-color: var(--lien); margin: 0; }

.barre-comparer {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); z-index: 60;
  display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 22px;
  background: rgba(29,29,31,.92); color: #fff; border-radius: var(--rayon-pastille);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: var(--ombre-modale); transition: transform .35s cubic-bezier(.2,.7,.2,1); font-size: 14px; white-space: nowrap;
}
.barre-comparer.visible { transform: translate(-50%, 0); }
.barre-comparer .bouton { min-height: 36px; padding: 7px 16px; font-size: 14px; }

.tableau-comparer { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; table-layout: fixed; }
.tableau-comparer th, .tableau-comparer td { padding: 14px 12px; text-align: left; vertical-align: top; box-shadow: 0 1px 0 var(--trait); font-size: 15px; }
.tableau-comparer thead th { box-shadow: none; padding-bottom: 20px; }
.tableau-comparer tbody th { color: var(--texte-2); font-weight: 400; width: 26%; }
.tableau-comparer .meilleur { color: var(--vert); font-weight: 600; }
.defile-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.defile-x table { min-width: 620px; }

/* Duel */
.duel-tete { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; text-align: center; }
.duel-tete .vs { font-family: var(--font-display); font-size: 21px; color: var(--texte-3); }

/* Guides et texte long */
.article { font-size: 19px; line-height: 1.58; letter-spacing: -0.01em; }
.article > * + * { margin-top: 1.1em; }
.article h2 { font-size: 30px; margin-top: 2em; }
.article h3 { font-size: 22px; margin-top: 1.6em; }
.article ul, .article ol { padding-left: 1.2em; }
.article li + li { margin-top: .45em; }
.article strong { font-weight: 600; }
.article blockquote { margin: 1.6em 0; padding: 20px 24px; background: var(--bg-gris); border-radius: var(--rayon-sm); font-size: 17px; }
.article .tableau-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.6em 0; }
@media (max-width: 733px) { .article table:has(th:nth-child(4)) { min-width: 600px; font-size: 15px; } }
.article table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.article th, .article td { text-align: left; padding: 12px 10px 12px 0; box-shadow: 0 1px 0 var(--trait); vertical-align: top; }
.article th { color: var(--texte-2); font-weight: 600; font-size: 14px; }
.article .encadre { background: var(--bg-gris); border-radius: var(--rayon); padding: 24px 26px; font-size: 17px; }
.article-tete { padding: 48px 0 8px; }
.article-tete h1 { font-size: 40px; max-width: 18ch; }
@media (min-width: 734px) { .article-tete { padding-top: 72px; } .article-tete h1 { font-size: 52px; } }
.article-tete .meta { margin-top: 20px; font-size: 14px; color: var(--texte-2); }
.sommaire { background: var(--bg-gris); border-radius: var(--rayon); padding: 22px 26px; font-size: 16px; margin: 32px 0 8px; }
.sommaire strong { display: block; font-size: 13px; color: var(--texte-2); margin-bottom: 8px; }
.sommaire ol { margin: 0; padding-left: 1.2em; }
.sommaire li + li { margin-top: 4px; }

.liste-guides a.carte h3 { font-size: 21px; margin-bottom: 8px; }
.liste-guides a.carte p { color: var(--texte-2); font-size: 15px; line-height: 1.45; }
.liste-guides .lire { display: block; margin-top: 18px; color: var(--lien); font-size: 15px; }

/* FAQ */
.faq details { box-shadow: 0 1px 0 var(--trait); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-family: var(--font-display); font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 300; color: var(--texte-2); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--texte-2); line-height: 1.55; }

/* Pied de page */
.pied { background: var(--bg-gris); color: var(--texte-2); font-size: 12px; line-height: 1.5; padding: 36px 0 28px; }
.pied__note { padding-bottom: 18px; box-shadow: 0 1px 0 var(--trait); }
.pied__note p + p { margin-top: 10px; }
.pied__colonnes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 22px 0; }
@media (min-width: 734px) { .pied__colonnes { grid-template-columns: repeat(4, 1fr); } }
.pied h4 { font-family: var(--font-texte); font-size: 12px; font-weight: 600; color: var(--texte); margin-bottom: 8px; letter-spacing: 0; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li + li { margin-top: 6px; }
.pied a { color: var(--texte-2); }
.pied__bas { padding-top: 16px; box-shadow: 0 -1px 0 var(--trait); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Apparition au défilement */
.revele { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.revele.vu { opacity: 1; transform: none; }
.sans-js .revele { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .revele { opacity: 1; transform: none; transition: none; } }

/* Types de matelas (accueil) */
.types { display: grid; gap: 20px; }
@media (min-width: 734px) { .types { grid-template-columns: repeat(3, 1fr); } }
.types .carte { display: flex; flex-direction: column; gap: 12px; }
.types h3 { font-size: 21px; }
.types p { color: var(--texte-2); font-size: 15px; line-height: 1.5; }
.types .bilan { font-size: 14px; color: var(--texte); margin-top: auto; padding-top: 8px; }

/* Bloc transparence */
.bloc-transparence { display: grid; gap: 32px; }
@media (min-width: 834px) { .bloc-transparence { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.bloc-transparence ol { margin: 0; padding: 0; list-style: none; counter-reset: etape; display: flex; flex-direction: column; gap: 22px; }
.bloc-transparence li { counter-increment: etape; display: grid; grid-template-columns: 36px 1fr; gap: 6px; }
.bloc-transparence li::before { content: counter(etape, decimal-leading-zero); font-family: var(--font-display); font-weight: 600; color: var(--texte-3); font-variant-numeric: tabular-nums; }
.bloc-transparence li strong { display: block; margin-bottom: 2px; }
.bloc-transparence li span { color: #A0A3B5; font-size: 15px; }

.page-simple { padding: 56px 0 80px; }
.page-simple h1 { font-size: 40px; margin-bottom: 28px; }

/* ===== Matelas en 3D ===== */
.iso { width: 100%; height: auto; overflow: visible; }
.iso--eclate .iso-couche { transform: translateY(calc(var(--p, 0) * var(--rang) * var(--ecart) * -1)); transition: opacity .45s ease; }
.eclate-auto .iso--eclate { --p: 0; transition: --p 1.2s; }
.eclate-auto .iso--eclate .iso-couche { transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .35s ease; }
.eclate-auto.ouvert .iso--eclate { --p: 1; }
.sans-js .eclate-auto .iso--eclate { --p: 1; }
.iso .voile { fill: #F5F5F7; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
[data-survol].focus .iso-couche:not(.active) .voile { opacity: .78; }
.couches li { cursor: default; transition: background .2s ease; border-radius: 8px; }
.couches li.active { background: var(--bg-blanc); }

/* ===== Hero cinématique ===== */
.cinema { position: relative; height: 320vh; background: var(--bg-nuit, #000); color: var(--texte-sur-sombre); }
.cinema__scene {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center;
  padding: 64px 20px 36px; text-align: center;
  background: radial-gradient(55% 42% at 50% 62%, var(--halo, rgba(84,96,230,.30)), transparent 70%), var(--bg-nuit, #000);
}
.cinema__titre .surtitre { color: #86868B; }
.cinema h1 { color: #F5F5F7; font-size: 44px; max-width: 16ch; margin: 0 auto; text-wrap: balance; }
.degrade { background: var(--degrade, linear-gradient(92deg, #8E9BFF 0%, #C89BFF 55%, #FFB4C8 100%)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cinema__visuel { width: 100%; max-width: 920px; display: flex; align-items: center; justify-content: center; min-height: 0; }
.cinema__visuel { height: 100%; }
.cinema__visuel .iso { height: 100%; max-height: 54svh; width: 100%; }
.cinema__legende { position: relative; min-height: 132px; width: 100%; max-width: 640px; }
.cinema__legende > div { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.cinema__legende > div.active { opacity: 1; transform: none; pointer-events: auto; }
.cinema__legende strong { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: #F5F5F7; }
.cinema__legende p { color: #A1A1A6; font-size: 17px; margin-top: 6px; }
.cinema__legende .hero__actions { margin-top: 20px; }
.cinema__indice { font-size: 12px; color: #6E6E73; margin-top: 10px; }
.cinema .iso .voile { fill: #000; }
.cinema [data-focus] .iso-couche:not(.active) .voile { opacity: .74; }
@media (min-width: 734px) { .cinema h1 { font-size: 64px; } .cinema__scene { padding-top: 88px; } .cinema__legende strong { font-size: 32px; } }
@media (min-width: 1068px) { .cinema h1 { font-size: 80px; } }
.sans-js .cinema, .mouvement-reduit .cinema { height: auto; }
.sans-js .cinema__scene, .mouvement-reduit .cinema__scene { position: relative; height: auto; min-height: 0; gap: 32px; padding-bottom: 72px; }
.sans-js .cinema .iso, .mouvement-reduit .cinema .iso { --p: 1; }
.sans-js .cinema__legende > div:last-child, .mouvement-reduit .cinema__legende > div:last-child { position: relative; opacity: 1; transform: none; }

/* ===== Démarrer le questionnaire depuis l'accueil ===== */
.depart { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; max-width: 820px; margin: 0 auto; }
@media (min-width: 734px) { .depart { grid-template-columns: repeat(4, 1fr); } }
.depart a { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 132px; padding: 20px; border-radius: var(--rayon); background: var(--bg-gris); color: var(--texte); transition: transform .25s ease, background .25s ease; }
.depart a:hover { text-decoration: none; background: #EBEBF0; transform: translateY(-2px); }
.depart strong { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.depart span { font-size: 14px; color: var(--texte-2); }
.depart .jauge { margin-bottom: auto; padding-bottom: 18px; font-size: 11px; }
.depart .jauge__crans i.plein { background: var(--accent); }
.depart .conseil { font-size: 13px; color: var(--texte-2); margin-top: 2px; }

/* ===== Simulateur de colonne ===== */
.simulateur { display: grid; gap: 32px; align-items: start; }
@media (min-width: 980px) { .simulateur { grid-template-columns: 340px 1fr; gap: 56px; } }
.simulateur__reglages { display: flex; flex-direction: column; gap: 26px; }
.simulateur__reglages label, .simulateur__titre { display: flex; justify-content: space-between; font-size: 14px; color: var(--texte-2); margin-bottom: 10px; }
.simulateur__reglages output { color: var(--texte); font-weight: 600; font-variant-numeric: tabular-nums; }
.segments { display: grid; grid-template-columns: repeat(3, 1fr); background: #E3E3E8; border-radius: 10px; padding: 3px; gap: 2px; }
.segments button { border: 0; background: transparent; padding: 8px 6px; border-radius: 8px; font-size: 14px; cursor: pointer; color: var(--texte); }
.segments button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }
.curseur { width: 100%; accent-color: var(--texte); }
.simulateur select { width: 100%; font: inherit; font-size: 15px; padding: 10px 14px; border-radius: 10px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--trait); }
.simulateur__scene { background: var(--bg-blanc); border-radius: 24px; padding: 20px 20px 28px; box-shadow: var(--ombre); }
.simulateur__scene svg { width: 100%; height: auto; display: block; }
.simulateur__verdict { font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.02em; margin-top: 8px; transition: color .3s; }
.simulateur__detail { color: var(--texte-2); margin-top: 6px; max-width: 560px; }
.simulateur__conseil { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 15px; }
.simulateur__conseil strong { font-weight: 600; }
.simulateur__proches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ===== Chiffres qui défilent ===== */
.chiffres-cles strong[data-compte] { min-width: 3ch; display: inline-block; }

/* Navigation sur une page qui s'ouvre en sombre */
.theme-sombre { background: var(--bg-nuit, #000); }
.theme-sombre .nav { background: var(--nav-sombre, rgba(22,22,23,.78)); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.theme-sombre .nav__marque, .theme-sombre .nav__liens a, .theme-sombre .nav__menu summary { color: #F5F5F7; }
.theme-sombre .nav__marque span { color: #A9B2FF; }
.theme-sombre .transparence { background: var(--bg-nuit, #000); color: #86868B; }
.theme-sombre .transparence a { color: #A1A1A6; }

/* ===== Comparaison ===== */
.ajout-comparer {
  position: absolute; top: 16px; right: 16px; z-index: 2; border: 0; cursor: pointer;
  padding: 6px 12px; border-radius: var(--rayon-pastille); font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.92); color: var(--texte); box-shadow: 0 1px 4px rgba(0,0,0,.08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, color .2s;
}
.ajout-comparer:hover { background: #fff; }
.ajout-comparer[aria-pressed="true"] { background: var(--texte); color: #fff; }
.ajout-comparer--ligne { position: static; margin-top: 12px; }
.resultat > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }

.panier-comparer {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px; max-width: calc(100vw - 32px);
  background: rgba(29,29,31,.92); color: #fff; border-radius: var(--rayon-pastille);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--ombre-modale);
  font-size: 14px; white-space: nowrap; animation: monte .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes monte { from { transform: translate(-50%, 140%); } to { transform: translate(-50%, 0); } }
.panier-comparer .bouton { min-height: 36px; padding: 7px 18px; font-size: 14px; }
.panier-comparer .bouton.inactif { opacity: .45; cursor: default; }
.panier-comparer__vider { background: none; border: 0; color: #A1A1A6; cursor: pointer; font-size: 14px; padding: 6px; }

.comparer-tete { padding-bottom: 48px; }
.comparer__grille { display: grid; grid-template-columns: repeat(var(--n), minmax(200px, 1fr)); gap: 16px; overflow-x: auto; padding: 4px 4px 12px; scroll-snap-type: x mandatory; }
.comparer__col { position: relative; display: flex; flex-direction: column; align-items: flex-start; background: #fff; border-radius: var(--rayon); padding: 22px; scroll-snap-align: start; min-width: 0; }
.comparer__visuel { display: flex; align-items: flex-end; width: 100%; min-height: 150px; padding: 18px 0 4px; }
.comparer__visuel img { width: 100%; height: auto; display: block; }
.comparer__col select, .comparer__vide select { width: 100%; font: inherit; font-size: 14px; margin-top: 10px; padding: 8px 12px; border-radius: 10px; border: 0; background: var(--bg-gris); }
.comparer__nom { font-size: 21px; margin-top: 2px; letter-spacing: -0.01em; }
.comparer__nom a { color: inherit; }
.comparer__atouts { list-style: none; margin: 14px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; flex: 1; align-content: flex-start; }
.comparer__atouts li { font-size: 12px; font-weight: 600; color: var(--vert); background: #EAF5EC; padding: 4px 10px; border-radius: var(--rayon-pastille); }
.comparer__retirer { position: absolute; top: 14px; right: 14px; border: 0; background: none; color: var(--texte-3); font-size: 12px; cursor: pointer; }
.comparer__retirer:hover { color: var(--texte); }
.comparer__vide { justify-content: center; align-items: stretch; background: transparent; box-shadow: inset 0 0 0 1.5px var(--trait); text-align: center; color: var(--texte-2); min-height: 280px; }
.comparer__vide p { font-size: 15px; }
.comparer-outils { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.comparer-outils .source { margin: 0; }
.interrupteur { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.interrupteur input { appearance: none; -webkit-appearance: none; width: 42px; height: 26px; border-radius: 13px; background: #E3E3E8; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.interrupteur input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.interrupteur input:checked { background: var(--vert); }
.interrupteur input:checked::after { transform: translateX(16px); }
.tableau-comparer tr.groupe th { padding-top: 32px; font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--texte); box-shadow: none; }
.tableau-comparer td .valeur { white-space: pre-line; }
.tableau-comparer td .jauge { margin-bottom: 8px; max-width: 220px; }
.tableau-comparer td.vide { color: var(--texte-3); }
.tableau-comparer thead th { position: sticky; top: 68px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); z-index: 1; font-size: 14px; font-weight: 600; }
.tableau-comparer tbody th[scope="row"] { position: sticky; left: 0; background: #fff; z-index: 1; }
.defile-x { overflow-x: auto; }
@media (max-width: 733px) { .tableau-comparer { min-width: calc(140px + var(--n, 2) * 170px); } .tableau-comparer tbody th[scope="row"] { width: 120px; } }

/* ===== Choix de la taille ===== */
.nav__barre { position: relative; }
.choix-taille { position: relative; margin-left: auto; }
@media (min-width: 834px) { .choix-taille { margin-left: 0; order: 3; } }
.choix-taille__bouton { border: 0; cursor: pointer; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: var(--rayon-pastille); background: var(--bg-gris); color: var(--texte); font-variant-numeric: tabular-nums; white-space: nowrap; }
.choix-taille__bouton::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.theme-sombre .choix-taille__bouton { background: rgba(255,255,255,.12); color: #F5F5F7; }
.choix-taille__menu { position: absolute; right: 0; top: 50px; width: 280px; background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre-modale); padding: 10px; z-index: 70; color: var(--texte); }
.choix-taille__menu > p { font-size: 12px; color: var(--texte-2); padding: 6px 10px; margin: 0; }
.choix-taille__menu button { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; border: 0; background: none; padding: 10px; border-radius: 10px; cursor: pointer; text-align: left; font-size: 15px; }
.choix-taille__menu button:hover { background: var(--bg-gris); }
.choix-taille__menu button[aria-checked="true"] { background: var(--texte); color: #fff; }
.choix-taille__menu button[aria-checked="true"] span { color: #D2D2D7; }
.choix-taille__menu button span { font-size: 12px; color: var(--texte-2); }
.choix-taille__menu .choix-taille__note { border-top: 1px solid var(--trait); margin-top: 6px; padding-top: 10px; }
.prix--indispo [data-montant] { font-size: 17px; color: var(--texte-3); }
.table-prix tr.active td { font-weight: 600; color: var(--accent); }
[data-produit][data-dispo="0"] .produit__visuel { opacity: .5; }
.choix-taille__menu { width: 320px; }
.choix-taille__menu button strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.choix-taille__menu button span { text-align: right; }

/* ===== Questionnaire enrichi ===== */
@media (min-width: 734px) { .quiz__choix--3 { grid-template-columns: repeat(3, 1fr); } }
.quiz__curseurs { max-width: 520px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 28px; }
.quiz__curseur label { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; margin-bottom: 12px; }
.quiz__curseur output { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.quiz__curseur .curseur { height: 28px; }
.quiz__aide-curseur { font-size: 13px; color: var(--texte-2); margin-top: 6px; }
.quiz__curseurs .bouton { align-self: center; min-width: 200px; }
.quiz__conseil { text-align: center; margin: 18px auto 0; max-width: 520px; font-size: 17px; color: var(--accent); font-weight: 600; }
.choix.conseille { box-shadow: inset 0 0 0 2px var(--accent); }
.choix.conseille strong::after { content: "Conseillé"; margin-left: 8px; font-size: 11px; font-weight: 600; color: #fff; background: var(--accent); padding: 2px 8px; border-radius: var(--rayon-pastille); vertical-align: 2px; }
.resultats__taille { margin-top: 14px; font-size: 17px; }

/* ===== Calculateur de taille de lit ===== */
.calculateur-lit { margin: 2em 0; padding: 24px; border-radius: 24px; background: var(--bg-gris); font-size: 16px; }
.article .calculateur-lit > * + * { margin-top: 0; }
.calculateur-lit__reglages { display: grid; gap: 20px; }
@media (min-width: 734px) { .calculateur-lit__reglages { grid-template-columns: 1fr 1fr 1fr; align-items: end; } }
.segments button { white-space: nowrap; }
.calculateur-lit__reglages label { display: flex; justify-content: space-between; font-size: 14px; color: var(--texte-2); margin-bottom: 10px; }
.calculateur-lit__reglages output { color: var(--texte); font-weight: 600; font-variant-numeric: tabular-nums; }
.calculateur-lit .calculateur-lit__lits { margin-top: 24px; }
.calculateur-lit__lits { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 12px; margin-top: 24px; overflow-x: auto; }
.lit { margin: 0; background: #fff; border-radius: 16px; padding: 12px 10px 14px; display: flex; flex-direction: column; align-items: center; transition: box-shadow .3s; }
.lit--ok { box-shadow: inset 0 0 0 2px var(--vert); }
.lit svg { width: 100%; height: auto; }
.lit figcaption { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; text-align: center; margin-top: 6px; }
.lit figcaption strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.calculateur-lit__conclusion { margin-top: 18px !important; font-size: 17px; text-align: center; }
.calculateur-lit .source { text-align: center; }

/* ===== Logo de la marque ===== */
.nav__marque { display: inline-flex; align-items: center; }
.logo { display: block; height: 34px; width: auto; }
@media (min-width: 834px) { .logo { height: 42px; } }
.logo--sombre { display: none; }
.theme-sombre .logo--clair { display: none; }
.theme-sombre .logo--sombre { display: block; }
.pied__logo { height: 48px; width: auto; margin-bottom: 24px; }

/* ===== Rayon enfants ===== */
.regles { display: grid; gap: 16px; }
@media (min-width: 734px) { .regles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1068px) { .regles { grid-template-columns: repeat(3, 1fr); } }
.regles .carte { display: flex; flex-direction: column; gap: 10px; }
.regles__num { font-family: var(--font-display); font-weight: 600; color: var(--texte-3); font-variant-numeric: tabular-nums; }
.regles h3 { font-size: 19px; }
.regles p { color: var(--texte-2); font-size: 15px; line-height: 1.5; }

/* ===== Le conseiller ===== */
.decrivez-bloc { max-width: 760px; margin: 0 auto 8px; text-align: center; }
.decrivez-bloc--compact { margin-bottom: 40px; }
.decrivez__titre { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 16px; }
.decrivez { display: flex; gap: 10px; padding: 6px; border-radius: 20px; background: var(--bg-blanc); box-shadow: var(--ombre); }
.decrivez input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 17px; padding: 10px 14px; background: transparent; outline: none; }
.decrivez .bouton { flex-shrink: 0; border-radius: 14px; }
.decrivez__note { font-size: 13px; color: var(--texte-2); margin-top: 10px; }
@media (max-width: 600px) { .decrivez { flex-direction: column; } .decrivez .bouton { width: 100%; } }

.conseiller__bouton {
  position: fixed; right: 20px; bottom: 20px; z-index: 55; border: 0; cursor: pointer;
  padding: 13px 20px; border-radius: var(--rayon-pastille); background: var(--texte); color: #fff;
  font: inherit; font-size: 15px; font-weight: 600; box-shadow: var(--ombre-modale); transition: transform .2s ease;
}
.conseiller__bouton:hover { transform: translateY(-2px); }
.conseiller-ouvert .conseiller__bouton { display: none; }
html:has(.panier-comparer:not([hidden])) .conseiller__bouton { bottom: 84px; }
.conseiller {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; width: min(420px, calc(100vw - 24px)); height: min(640px, calc(100vh - 40px));
  display: flex; flex-direction: column; background: var(--bg-blanc); border-radius: 22px; box-shadow: var(--ombre-modale); overflow: hidden;
  animation: apparait .3s ease;
}
@media (max-width: 600px) { .conseiller { right: 12px; left: 12px; bottom: 12px; width: auto; height: calc(100vh - 24px); height: calc(100svh - 24px); } }
.conseiller__tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; box-shadow: 0 1px 0 var(--trait); }
.conseiller__tete strong { display: block; font-size: 17px; }
.conseiller__tete span { font-size: 12px; color: var(--texte-2); }
.conseiller__tete button { border: 0; background: var(--bg-gris); border-radius: var(--rayon-pastille); padding: 6px 12px; cursor: pointer; font-size: 13px; }
.conseiller__fil { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-gris); }
.bulle { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; animation: apparait .25s ease; }
.bulle--conseiller { align-self: flex-start; background: var(--bg-blanc); border-bottom-left-radius: 6px; }
.bulle--vous { align-self: flex-end; background: var(--lien); color: #fff; border-bottom-right-radius: 6px; }
.bulle--carte { align-self: stretch; max-width: 100%; padding: 0; background: none; }
.bulle__exemple { color: var(--texte-2); font-size: 14px; }
.bulle__choix { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; }
.bulle__choix button { border: 0; cursor: pointer; padding: 8px 14px; border-radius: var(--rayon-pastille); background: var(--bg-blanc); box-shadow: inset 0 0 0 1px var(--lien); color: var(--lien); font: inherit; font-size: 14px; }
.bulle__choix button:disabled { opacity: .45; cursor: default; }
.bulle__produit { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--bg-blanc); color: inherit; box-shadow: var(--ombre); }
.bulle__produit:hover { text-decoration: none; }
.bulle__produit img { width: 96px; height: auto; }
.bulle__produit small { display: block; font-size: 12px; color: var(--accent); font-weight: 600; }
.bulle__produit strong { display: block; font-size: 15px; margin: 2px 0; }
.bulle__produit em { display: block; font-style: normal; font-size: 13px; color: var(--texte-2); line-height: 1.4; }
.bulle__produit b { display: block; margin-top: 4px; font-variant-numeric: tabular-nums; }
.conseiller__saisie { display: flex; gap: 8px; padding: 12px; box-shadow: 0 -1px 0 var(--trait); }
.conseiller__saisie input { flex: 1; min-width: 0; border: 0; border-radius: 14px; background: var(--bg-gris); padding: 10px 14px; font: inherit; font-size: 16px; outline: none; }

/* ===== Santé ===== */
.carte-sante { display: flex; flex-direction: column; gap: 10px; }
.carte-sante h3 { font-size: 19px; }
.carte-sante p { color: var(--texte-2); font-size: 15px; line-height: 1.5; }
.carte-sante__niveaux { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--texte-3); }
[data-recherche-sante] { max-width: 640px; margin: 0 auto; }
.preuves { list-style: none; padding: 0 !important; display: flex; flex-direction: column; gap: 18px; }
.preuves li { padding: 20px 22px; border-radius: var(--rayon); background: var(--bg-gris); font-size: 17px; }
.preuves li + li { margin-top: 0 !important; }
.preuves p { margin-top: 8px; }
.niveau { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: var(--rayon-pastille); }
.niveau--preuve { background: #E6F4EA; color: var(--vert); }
.niveau--officiel { background: var(--accent-doux); color: var(--accent); }
.niveau--expert { background: #FFF1E6; color: #B4520A; }
.source-lien { display: block; margin-top: 10px; font-size: 13px; color: var(--texte-2); }
a.source-lien { text-decoration: underline; }
.conseiller__actions { display: flex; gap: 6px; }

/* ===== Photos officielles et « Voir à l'intérieur » ===== */
.visuel-double { position: relative; display: block; aspect-ratio: 7 / 5; }
.visuel-double__photo { width: 100%; height: 100%; object-fit: contain; transition: opacity .35s ease; }
.visuel-double__iso { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity .35s ease; }
.visuel-double__etiquette { position: absolute; left: 8px; bottom: 6px; font-size: 11px; color: var(--texte-2); background: rgba(255,255,255,.85); padding: 3px 8px; border-radius: var(--rayon-pastille); transition: opacity .3s; }
@media (hover: hover) {
  .produit:hover .visuel-double__photo { opacity: 0; }
  .produit:hover .visuel-double__iso { opacity: 1; }
  .produit:hover .visuel-double__etiquette { opacity: 0; }
}
@media (hover: none) { .visuel-double__etiquette { display: none; } }
.fiche-photo { margin: 0; background: var(--bg-blanc); border-radius: var(--rayon); overflow: hidden; }
.fiche-photo img { width: 100%; height: auto; display: block; }
.fiche-photo figcaption { font-size: 11px; color: var(--texte-3); padding: 8px 14px; }
.interieur { margin-top: 18px; }
.interieur summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--rayon-pastille); background: var(--texte); color: #fff; font-size: 15px; font-weight: 600; }
.interieur summary::-webkit-details-marker { display: none; }
.interieur summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.interieur[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.interieur > .eclate-auto { margin-top: 20px; }

/* ===== Illustrations de postures ===== */
.depart__posture { width: 100%; height: auto; margin: -6px 0 8px; }
.depart a { justify-content: flex-start; }
.depart .jauge { margin-bottom: 10px; padding-bottom: 0; }
.choix--image { align-items: center; text-align: center; }
.choix--image img { width: 100%; max-width: 240px; height: auto; margin-bottom: 6px; }
.regles__posture { width: 100%; height: auto; margin-bottom: 4px; }
.posture-tete { display: block; width: min(420px, 80%); height: auto; margin: 0 auto 8px; }
.posture { margin: 1.4em 0; text-align: center; }
.posture img { width: min(520px, 100%); height: auto; margin: 0 auto; }
.posture figcaption { font-size: 15px; color: var(--texte-2); margin-top: 4px; }

/* ===== Pages de collections ===== */
.chiffres-cles--compact { margin-top: 8px; }
.chiffres-cles--compact strong { font-size: 32px; }
@media (min-width: 734px) { .chiffres-cles--compact strong { font-size: 36px; } }
.liste-compte { margin: 0; padding-left: 1.2em; font-size: 18px; line-height: 1.55; }
.liste-compte li + li { margin-top: 10px; }
.puces-liens { display: flex; flex-wrap: wrap; gap: 8px; }
.puces-liens .puce { text-decoration: none; color: var(--texte); }
.section--gris .tableau-comparer tbody th[scope="row"] { background: var(--bg-gris); }
.section--gris .tableau-comparer thead th { background: rgba(245,245,247,.94); }

/* ===== Visualiseur du simulateur ===== */
.segments--4 { grid-template-columns: repeat(4, 1fr); }
.simulateur__visu svg { display: block; width: 100%; height: auto; }
.simulateur__visu:empty { display: none; }
.visu-pret .simulateur__secours { display: none; }
