/* ============================================================
   Clone d'entraînement Samsung FR — CSS écrit from scratch
   (usage local uniquement, jamais publié)
   ============================================================ */

/* ---------- Polices officielles (scrapées) ---------- */
@font-face { font-family: 'SamsungOne'; src: url('../fonts/SamsungOne-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'SamsungOne'; src: url('../fonts/SamsungOne-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'SamsungSharpSans'; src: url('../fonts/SamsungSharpSansBd.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'SamsungSSHead'; src: url('../fonts/SamsungSSHead-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'SamsungSSBody'; src: url('../fonts/SamsungSSBody-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'SamsungSSBody'; src: url('../fonts/SamsungSSBody-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* ---------- Jetons ---------- */
:root {
  --font-body: 'SamsungOne', arial, sans-serif;
  --font-head: 'SamsungSharpSans', 'SamsungOne', arial, sans-serif;
  --noir: #000;
  --blanc: #fff;
  --gris-tuile: #f7f7f7;
  --gris-bordure: #ddd;
  --gris-clair: #eee;
  --gris-texte: #757575;
  --gris-texte2: #555;
  --bleu-lien: #006bea;
  --bleu-flag: #2189ff;
  --rouge-promo: #d62e2e;
  --teal-stock: #007d89;
  --radius-tuile: 16px;
  --radius-pill: 100px;
  --largeur-max: 1408px;
  --ease: cubic-bezier(.4,0,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.35;
  color: var(--noir); background: var(--blanc);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul { list-style: none; }
svg[hidden] { display: none; }
[hidden] { display: none !important; }
.conteneur { max-width: var(--largeur-max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ============================================================
   HEADER
   ============================================================ */
.utilitaire { background: var(--blanc); }
.utilitaire__inner { display: flex; justify-content: flex-end; gap: 24px; padding: 10px 24px 0; max-width: var(--largeur-max); margin: 0 auto; }
.utilitaire a { font-size: 13px; color: #313131; }
.utilitaire a:hover { text-decoration: underline; }
.utilitaire .ext::after { content: '\2197'; font-size: 11px; margin-left: 3px; }

.entete { position: sticky; top: 0; z-index: 200; background: var(--blanc); transition: box-shadow .25s; }
.entete.est-scrolle { box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.entete__inner { display: flex; align-items: center; gap: 36px; height: 64px; max-width: var(--largeur-max); margin: 0 auto; padding: 0 24px; }
.entete__logo { flex: 0 0 auto; display: flex; align-items: center; }
.entete__logo svg { width: 100px; height: 23px; fill: var(--noir); }
.entete__nav { display: flex; gap: 26px; flex: 1 1 auto; }
.entete__nav a { font-size: 15px; font-weight: 700; padding: 8px 0; position: relative; white-space: nowrap; }
.entete__nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--noir); transition: right .2s var(--ease); }
.entete__nav a:hover::after, .entete__nav a.est-actif::after { right: 0; }
.entete__ico { display: flex; gap: 22px; align-items: center; }
.entete__ico button, .entete__ico a { display: flex; padding: 4px; }
.entete__ico svg { width: 22px; height: 22px; stroke: var(--noir); fill: none; stroke-width: 1.6; }

/* Recherche */
.recherche { display: none; border-top: 1px solid var(--gris-clair); background: var(--blanc); }
.recherche.est-ouverte { display: block; }
.recherche__inner { max-width: 720px; margin: 0 auto; padding: 28px 24px; }
.recherche__champ { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--noir); padding-bottom: 10px; }
.recherche__champ svg { width: 20px; height: 20px; stroke: var(--noir); fill: none; stroke-width: 1.6; flex: none; }
.recherche__champ input { flex: 1; border: 0; outline: 0; font: 700 20px var(--font-body); }
.recherche__champ input::placeholder { color: #aaa; font-weight: 400; }

/* ============================================================
   TITRE + CARROUSEL CATÉGORIES
   ============================================================ */
.page-titre { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.5px; padding: 26px 0 22px; }

.categories { position: relative; }
.categories__rail { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.categories__rail::-webkit-scrollbar { display: none; }
.cat-tuile { flex: 0 0 auto; width: 132px; height: 100px; background: var(--gris-tuile); border: 1.5px solid transparent; border-radius: 14px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: transform .2s var(--ease), border-color .15s; cursor: pointer; }
.cat-tuile:hover { transform: translateY(-2px); border-color: #bbb; }
.cat-tuile.est-active { border-color: var(--noir); background: var(--blanc); }
.cat-tuile span { font-size: 13px; font-weight: 700; text-align: center; line-height: 1.15; }
.cat-tuile img { height: 56px; width: auto; margin-top: auto; object-fit: contain; }
.cat-tuile--large { width: 196px; align-items: flex-start; padding: 12px 14px; position: relative; overflow: hidden; text-align: left; }
.cat-tuile--large span { text-align: left; font-size: 14px; }
.cat-tuile--large small { font-size: 10.5px; color: var(--gris-texte); line-height: 1.25; max-width: 104px; text-align: left; }
.cat-tuile--large img { position: absolute; right: 8px; bottom: 8px; height: 60px; margin: 0; }
.categories__nav { display: flex; align-items: center; gap: 18px; justify-content: center; margin-top: 14px; }
.categories__fleche { width: 34px; height: 34px; border: 1px solid var(--gris-bordure); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blanc); transition: background .15s; }
.categories__fleche:hover { background: var(--gris-tuile); }
.categories__fleche svg { width: 13px; height: 13px; stroke: var(--noir); fill: none; stroke-width: 2; }
.categories__barre { width: 220px; height: 3px; border-radius: 2px; background: var(--gris-clair); overflow: hidden; }
.categories__barre i { display: block; height: 100%; width: 30%; background: var(--noir); border-radius: 2px; transition: transform .25s var(--ease); }

/* ---------- Onglets ---------- */
.onglets { display: flex; gap: 28px; justify-content: center; margin: 26px 0 8px; }
@media (max-width: 860px) {
  .onglets { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .onglets::-webkit-scrollbar { display: none; }
  .onglets button { white-space: nowrap; flex: 0 0 auto; }
  .entete__nav { display: none; }
  .entete__inner { gap: 16px; }
}
.onglets button { font-size: 15px; padding: 6px 2px 10px; position: relative; color: #313131; }
.onglets button.est-actif { font-weight: 700; color: var(--noir); }
.onglets button.est-actif::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--noir); }

/* ============================================================
   BARRE OUTILS + FILTRES
   ============================================================ */
.outils { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 12px; }
.outils__gauche { display: flex; align-items: center; gap: 14px; }
.btn-filtres { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.btn-filtres svg { width: 18px; height: 18px; stroke: var(--noir); fill: none; stroke-width: 1.8; }
.outils__compte { font-size: 14px; color: var(--gris-texte); }
.outils__compte b { color: var(--noir); font-weight: 700; }
.tri { position: relative; }
.tri__btn { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gris-texte); }
.tri__btn b { color: var(--noir); font-weight: 700; }
.tri__btn svg { width: 12px; height: 12px; stroke: var(--noir); fill: none; stroke-width: 2; transition: transform .2s; }
.tri.est-ouvert .tri__btn svg { transform: rotate(180deg); }
.tri__menu { display: none; position: absolute; right: 0; top: calc(100% + 10px); background: var(--blanc); border-radius: 12px; box-shadow: 0 6px 28px rgba(0,0,0,.16); padding: 8px; min-width: 210px; z-index: 60; }
.tri.est-ouvert .tri__menu { display: block; }
.tri__menu button { display: block; width: 100%; text-align: left; font-size: 14px; padding: 10px 14px; border-radius: 8px; }
.tri__menu button:hover { background: var(--gris-tuile); }
.tri__menu button.est-actif { font-weight: 700; }
.tri__menu button.est-actif::after { content: '\2713'; float: right; }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 16px; position: relative; }
@media (max-width: 1023px) {
  .pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .pills::-webkit-scrollbar { display: none; }
}
.pill { position: relative; flex: 0 0 auto; }
.pill__btn { display: flex; align-items: center; gap: 7px; border: 1px solid var(--gris-bordure); border-radius: var(--radius-pill); padding: 9px 15px; font-size: 13.5px; background: var(--blanc); transition: border-color .15s; white-space: nowrap; }
.pill__btn:hover { border-color: var(--noir); }
.pill__btn svg { width: 11px; height: 11px; stroke: var(--noir); fill: none; stroke-width: 2; transition: transform .2s; }
.pill.est-ouvert .pill__btn svg { transform: rotate(180deg); }
.pill.a-selection .pill__btn { border-color: var(--noir); font-weight: 700; }
.pill__menu { display: none; position: absolute; left: 0; top: calc(100% + 8px); background: var(--blanc); border-radius: 14px; box-shadow: 0 6px 28px rgba(0,0,0,.16); padding: 10px; min-width: 250px; z-index: 60; }
.pill.est-ouvert .pill__menu { display: block; }
.pill--droite .pill__menu { left: auto; right: 0; }

.opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.opt:hover { background: var(--gris-tuile); }
.opt input { width: 18px; height: 18px; accent-color: var(--noir); flex: none; }
.opt .dispo { color: var(--gris-texte); font-size: 12px; margin-left: auto; }

/* Tiroir de filtres */
.voile { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 300; opacity: 0; pointer-events: none; transition: opacity .25s; }
.voile.est-visible { opacity: 1; pointer-events: auto; }
.tiroir { position: fixed; top: 0; left: 0; bottom: 0; width: min(400px, 92vw); background: var(--blanc); z-index: 310; transform: translateX(-102%); transition: transform .3s var(--ease); display: flex; flex-direction: column; }
.tiroir.est-ouvert { transform: none; }
.tiroir__tete { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--gris-clair); }
.tiroir__tete h2 { font-size: 19px; font-weight: 700; }
.tiroir__tete button svg { width: 20px; height: 20px; stroke: var(--noir); stroke-width: 2; fill: none; }
.tiroir__corps { flex: 1; overflow-y: auto; padding: 6px 22px; }
.tiroir__groupe { border-bottom: 1px solid var(--gris-clair); }
.tiroir__groupe > button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 17px 0; font-size: 15px; font-weight: 700; }
.tiroir__groupe > button svg { width: 13px; height: 13px; stroke: var(--noir); stroke-width: 2; fill: none; transition: transform .2s; }
.tiroir__groupe.est-ouvert > button svg { transform: rotate(180deg); }
.tiroir__groupe > div { display: none; padding-bottom: 12px; }
.tiroir__groupe.est-ouvert > div { display: block; }
.tiroir__pied { display: flex; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--gris-clair); }
.tiroir__pied .btn-secondaire { flex: 1; }
.tiroir__pied .btn-noir { flex: 2; }

/* Étiquettes filtres actifs */
.actifs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 14px; }
.actifs:empty { display: none; }
.actif { display: flex; align-items: center; gap: 8px; background: var(--gris-tuile); border-radius: var(--radius-pill); padding: 7px 14px; font-size: 13px; font-weight: 700; }
.actif button { display: flex; }
.actif svg { width: 12px; height: 12px; stroke: var(--noir); stroke-width: 2; fill: none; }
.actifs__reset { font-size: 13px; text-decoration: underline; color: var(--gris-texte2); align-self: center; }

/* ============================================================
   GRILLE + CARTES
   ============================================================ */
.grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1180px) { .grille { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .grille { grid-template-columns: repeat(2, 1fr); } }

.carte { background: var(--blanc); border-radius: var(--radius-tuile); padding: 16px 16px 18px; display: flex; flex-direction: column; transition: box-shadow .25s var(--ease); }
.carte:hover { box-shadow: 0 6px 26px rgba(0,0,0,.1); }
.carte__flags { min-height: 22px; display: flex; gap: 10px; }
.flag { font-size: 13px; font-weight: 700; color: var(--bleu-flag); }
.flag--offre { color: var(--rouge-promo); }
.carte__media { position: relative; background: var(--gris-tuile); border-radius: var(--radius-tuile); margin-top: 6px; aspect-ratio: 1 / .8; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.carte__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s var(--ease); }
.carte:hover .carte__media img { transform: scale(1.045); }
.coup-doeil { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 8px); background: rgba(255,255,255,.95); border-radius: var(--radius-pill); padding: 9px 18px; font-size: 13px; font-weight: 700; box-shadow: 0 2px 10px rgba(0,0,0,.14); opacity: 0; transition: all .25s var(--ease); }
.carte:hover .coup-doeil { opacity: 1; transform: translate(-50%, 0); }

.carte__nom { font-size: 17px; font-weight: 700; line-height: 1.28; margin: 14px 0 6px; display: block; }
.carte__nom:hover { text-decoration: underline; }

.note { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gris-texte2); min-height: 20px; }
.etoiles { position: relative; display: inline-block; line-height: 1; font-size: 0; }
.etoiles svg { width: 14px; height: 14px; }
.etoiles__fond { color: #d9d9d9; }
.etoiles__plein { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--noir); white-space: nowrap; }
.note b { color: var(--noir); font-weight: 700; }

.carte__couleurs { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; min-height: 24px; flex-wrap: wrap; }
.pastille { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.14); cursor: pointer; position: relative; flex: none; }
.pastille.est-active::after { content: ''; position: absolute; inset: -5px; border: 1.5px solid var(--noir); border-radius: 50%; }
.carte__couleur-nom { font-size: 12.5px; color: var(--gris-texte); width: 100%; order: -1; margin-bottom: 2px; }

.carte__stockages { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 2px; }
.chip-sto { border: 1px solid var(--gris-bordure); border-radius: 8px; padding: 7px 12px; font-size: 13px; background: var(--blanc); transition: border-color .15s; }
.chip-sto:hover { border-color: var(--noir); }
.chip-sto.est-actif { border: 1.5px solid var(--noir); font-weight: 700; }
.chip-sto[disabled] { color: #bbb; border-style: dashed; cursor: not-allowed; }

.energie { display: flex; align-items: center; gap: 10px; margin: 10px 0 2px; min-height: 30px; }
.badge-energie { display: flex; align-items: center; height: 22px; padding: 0 5px 0 7px; font: 700 13px/1 var(--font-body); color: #fff; position: relative; border-radius: 2px 0 0 2px; }
.badge-energie::after { content: ''; position: absolute; left: 100%; top: 0; border: 11px solid transparent; border-left-width: 7px; }
.badge-energie--a { background: #00a651; } .badge-energie--a::after { border-left-color: #00a651; }
.badge-energie--b { background: #50b848; } .badge-energie--b::after { border-left-color: #50b848; }
.badge-energie--c { background: #bfd730; } .badge-energie--c::after { border-left-color: #bfd730; }
.badge-energie--d { background: #f7ec1f; color: #333; } .badge-energie--d::after { border-left-color: #f7ec1f; }
.badge-energie--e { background: #fdb913; color: #333; } .badge-energie--e::after { border-left-color: #fdb913; }
.badge-energie--f { background: #f37021; } .badge-energie--f::after { border-left-color: #f37021; }
.badge-energie--g { background: #ed1c24; } .badge-energie--g::after { border-left-color: #ed1c24; }
.energie__liens { display: flex; flex-direction: column; gap: 1px; }
.energie__liens a { font-size: 11.5px; color: var(--gris-texte2); text-decoration: underline; }
.energie__note { font-size: 11.5px; color: var(--gris-texte); }

.carte__prix { margin: 12px 0 2px; min-height: 44px; }
.prix-libelle { font-size: 12.5px; color: var(--gris-texte); }
.prix-actuel { font-size: 19px; font-weight: 700; }
.prix-barre { font-size: 13.5px; color: var(--gris-texte); text-decoration: line-through; margin-right: 8px; }
.prix-economie { font-size: 13px; font-weight: 700; color: var(--rouge-promo); }
.prix-indispo { font-size: 14px; font-weight: 700; color: var(--gris-texte); }

.carte__ctas { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.btn-noir { display: inline-flex; align-items: center; justify-content: center; background: var(--noir); color: var(--blanc); border-radius: var(--radius-pill); padding: 11px 26px; font-size: 14px; font-weight: 700; transition: background .15s; }
.btn-noir:hover { background: #2b2b2b; }
.btn-noir[aria-disabled="true"] { background: #ccc; cursor: not-allowed; }
.btn-secondaire { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--noir); border-radius: var(--radius-pill); padding: 10px 24px; font-size: 14px; font-weight: 700; background: var(--blanc); }
.btn-secondaire:hover { background: var(--gris-tuile); }
.lien-souligne { font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.carte__comparer { display: flex; align-items: center; gap: 9px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--gris-clair); font-size: 13.5px; cursor: pointer; color: var(--gris-texte2); }
.carte__comparer input { width: 17px; height: 17px; accent-color: var(--noir); }

/* Carte bannière (merch) */
.carte--banniere { padding: 0; overflow: hidden; background: #eef5e7; justify-content: flex-start; }
.carte--banniere .banniere__corps { padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.banniere__titre { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.3; }
.banniere__texte { font-size: 13.5px; color: #313131; }
.banniere__logo { font-size: 17px; font-weight: 700; font-style: italic; color: #003087; }
.carte--banniere .btn-noir { align-self: flex-start; margin-top: auto; }

/* Voir plus */
.voir-plus { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 34px 0 10px; }
.voir-plus__progress { width: 220px; height: 3px; background: var(--gris-clair); border-radius: 2px; overflow: hidden; }
.voir-plus__progress i { display: block; height: 100%; background: var(--noir); }
.voir-plus small { font-size: 13px; color: var(--gris-texte); }

/* ============================================================
   COMPARATEUR
   ============================================================ */
.plateau { position: fixed; left: 0; right: 0; bottom: 0; background: var(--blanc); box-shadow: 0 -6px 30px rgba(0,0,0,.14); z-index: 250; transform: translateY(105%); transition: transform .3s var(--ease); }
.plateau.est-visible { transform: none; }
.plateau__inner { max-width: var(--largeur-max); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 18px; }
.plateau__slots { display: flex; gap: 12px; flex: 1; }
.slot { display: flex; align-items: center; gap: 10px; border: 1px dashed var(--gris-bordure); border-radius: 12px; padding: 8px 12px; min-width: 190px; min-height: 58px; font-size: 13px; color: var(--gris-texte); position: relative; }
.slot img { width: 40px; height: 40px; object-fit: contain; }
.slot b { font-size: 12.5px; color: var(--noir); line-height: 1.2; }
.slot--plein { border-style: solid; }
.slot__retirer { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; background: var(--noir); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.slot__retirer svg { width: 9px; height: 9px; stroke: #fff; stroke-width: 2.4; fill: none; }
.plateau__actions { display: flex; align-items: center; gap: 16px; }

.modale { position: fixed; inset: 0; z-index: 400; display: none; }
.modale.est-ouverte { display: block; }
.modale__voile { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.modale__boite { position: absolute; inset: 4vh 4vw; background: var(--blanc); border-radius: 20px; overflow: auto; padding: 30px; }
.modale__boite--petite { inset: auto; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(860px, 92vw); max-height: 88vh; }
.modale__fermer { position: sticky; top: 0; float: right; width: 38px; height: 38px; background: var(--gris-tuile); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 5; }
.modale__fermer svg { width: 15px; height: 15px; stroke: var(--noir); stroke-width: 2; fill: none; }

.comparatif h2 { font-family: var(--font-head); font-size: 24px; margin-bottom: 22px; }
.comparatif table { border-collapse: collapse; width: 100%; }
.comparatif th, .comparatif td { border-top: 1px solid var(--gris-clair); padding: 12px 14px; font-size: 13.5px; text-align: left; vertical-align: top; }
.comparatif thead th { border-top: 0; vertical-align: bottom; }
.comparatif th:first-child, .comparatif td:first-child { width: 190px; color: var(--gris-texte); font-weight: 400; position: sticky; left: 0; background: var(--blanc); }
.comparatif td b.section { font-size: 15px; }
.comparatif thead img { width: 120px; height: 96px; object-fit: contain; background: var(--gris-tuile); border-radius: 12px; padding: 6px; }
.comparatif thead .nom { font-size: 15px; font-weight: 700; margin: 8px 0 2px; }
.comparatif thead .px { font-size: 14px; }

/* Coup d'oeil */
.ql { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.ql__media { background: var(--gris-tuile); border-radius: 16px; aspect-ratio: 1/.85; display: flex; align-items: center; justify-content: center; }
.ql__media img { width: 97%; height: 97%; object-fit: contain; mix-blend-mode: multiply; }
.ql__vignettes { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ql__vignettes button { width: 54px; height: 54px; background: var(--gris-tuile); border-radius: 10px; border: 1.5px solid transparent; display: flex; align-items: center; justify-content: center; }
.ql__vignettes button.est-actif { border-color: var(--noir); }
.ql__vignettes img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.ql h3 { font-family: var(--font-head); font-size: 22px; margin: 4px 0 10px; }
.ql .prix-actuel { font-size: 22px; }
.ql__usp { margin: 14px 0 20px; display: flex; flex-direction: column; gap: 7px; }
.ql__usp li { font-size: 13.5px; color: #313131; padding-left: 16px; position: relative; }
.ql__usp li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--noir); }
@media (max-width: 720px) { .ql { grid-template-columns: 1fr; } }

/* ============================================================
   PAGE PRODUIT
   ============================================================ */
.filariane { display: flex; align-items: center; gap: 8px; padding: 14px 0; font-size: 12.5px; color: var(--gris-texte2); flex-wrap: wrap; }
.filariane a:hover { text-decoration: underline; }
.filariane svg { width: 9px; height: 9px; stroke: #999; stroke-width: 2; fill: none; }
.filariane b { color: var(--noir); }

.produit { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, 1fr); gap: 40px; padding-bottom: 40px; }
@media (max-width: 900px) { .produit { grid-template-columns: 1fr; } }

.galerie__principale { background: var(--gris-tuile); border-radius: 20px; aspect-ratio: 1/.85; display: flex; align-items: center; justify-content: center; position: sticky; top: 84px; overflow: hidden; }
.galerie__principale img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transform: scale(1.45); }
.galerie__vignettes { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.galerie__vignettes button { width: 64px; height: 64px; background: var(--gris-tuile); border-radius: 12px; border: 1.5px solid transparent; display: flex; align-items: center; justify-content: center; }
.galerie__vignettes button.est-actif { border-color: var(--noir); }
.galerie__vignettes img { width: 94%; height: 94%; object-fit: contain; mix-blend-mode: multiply; transform: scale(1.18); }

.achat h1 { font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; margin-bottom: 8px; }
.achat .note { margin-bottom: 14px; }
.achat__prix { margin: 12px 0 4px; }
.achat__prix .prix-actuel { font-size: 26px; }
.achat__section { margin-top: 22px; }
.achat__section > h4 { font-size: 14px; margin-bottom: 10px; }
.achat__section > h4 span { color: var(--gris-texte); font-weight: 400; }
.achat .pastille { width: 26px; height: 26px; }
.achat .pastille.est-active::after { inset: -6px; }
.achat__couleurs { display: flex; gap: 14px; flex-wrap: wrap; }
.achat__stockages { display: flex; flex-direction: column; gap: 10px; }
.rangee-sto { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--gris-bordure); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; background: var(--blanc); transition: border-color .15s; }
.rangee-sto:hover { border-color: var(--noir); }
.rangee-sto.est-actif { border: 2px solid var(--noir); font-weight: 700; }
.rangee-sto .px { color: var(--gris-texte2); font-weight: 400; font-size: 13.5px; }
.achat__benefices { margin-top: 20px; border-top: 1px solid var(--gris-clair); padding-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.achat__benefices li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: #313131; }
.achat__benefices svg { width: 17px; height: 17px; stroke: var(--teal-stock); fill: none; stroke-width: 1.8; flex: none; }
.achat__ctas { display: flex; gap: 12px; margin-top: 24px; }
.achat__ctas .btn-noir { flex: 1; padding: 15px 20px; font-size: 15px; }
.achat__ctas .btn-secondaire { padding: 15px 20px; }
.achat__stock { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--teal-stock); }

.specs { border-top: 1px solid var(--gris-bordure); margin-top: 26px; padding: 34px 0 60px; }
.specs h2 { font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 8px; }
.specs__sous { font-size: 14px; color: var(--gris-texte); margin-bottom: 22px; }
.spec-section { border-bottom: 1px solid var(--gris-clair); }
.spec-section > button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 19px 4px; font-size: 16px; font-weight: 700; }
.spec-section > button svg { width: 14px; height: 14px; stroke: var(--noir); stroke-width: 2; fill: none; transition: transform .2s; }
.spec-section.est-ouverte > button svg { transform: rotate(180deg); }
.spec-section__corps { display: none; padding: 2px 4px 20px; }
.spec-section.est-ouverte .spec-section__corps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
@media (max-width: 720px) { .spec-section.est-ouverte .spec-section__corps { grid-template-columns: 1fr; } }
.spec-item dt { font-size: 12.5px; color: var(--gris-texte); margin-bottom: 3px; }
.spec-item dd { font-size: 14px; white-space: pre-line; }
.specs__disclaimer { font-size: 11.5px; color: var(--gris-texte); margin-top: 26px; line-height: 1.5; white-space: pre-line; }
.specs__outils { display: flex; gap: 18px; margin: 20px 0 6px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.pied { border-top: 1px solid var(--gris-bordure); margin-top: 60px; }
.pied__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0 26px; }
@media (max-width: 860px) { .pied__cols { grid-template-columns: repeat(2, 1fr); } }
.pied__cols h4 { font-size: 14px; margin-bottom: 14px; }
.pied__cols li { margin-bottom: 9px; }
.pied__cols a { font-size: 13px; color: var(--gris-texte2); }
.pied__cols a:hover { text-decoration: underline; color: var(--noir); }
.pied__legal { border-top: 1px solid var(--gris-clair); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.pied__legal a { font-size: 12.5px; color: var(--gris-texte2); }
.pied__legal a:hover { text-decoration: underline; }
.pied__pays { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; margin-right: auto; }
.pied__pays svg { width: 15px; height: 15px; stroke: var(--noir); fill: none; stroke-width: 1.5; }
.pied__copy { padding: 4px 0 30px; font-size: 12px; color: var(--gris-texte); }

/* Divers */
.vide { text-align: center; padding: 70px 0; color: var(--gris-texte); }
.vide b { display: block; font-size: 19px; color: var(--noir); margin-bottom: 8px; }

/* ============================================================
   V2 — panier, toast, burger, mobile
   ============================================================ */

/* ---------- Badge panier ---------- */
.entete__ico #btn-panier { position: relative; }
.badge-panier { position: absolute; top: -3px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; background: var(--bleu-flag); color: #fff; border-radius: 10px; font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ---------- Tiroir droit (panier) ---------- */
.tiroir--droite { left: auto; right: 0; transform: translateX(102%); }
.tiroir--droite.est-ouvert { transform: none; }
.panier-titre-nb { color: var(--gris-texte); font-weight: 400; font-size: 15px; }
.panier-corps { display: flex; flex-direction: column; gap: 0; padding-top: 10px; }
.panier-vide { text-align: center; padding: 46px 10px; color: var(--gris-texte); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.panier-vide b { color: var(--noir); font-size: 17px; }
.panier-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--gris-clair); }
.panier-item img { width: 76px; height: 76px; object-fit: contain; background: var(--gris-tuile); border-radius: 12px; flex: none; }
.panier-item__infos { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.panier-item__nom { font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.panier-item__nom:hover { text-decoration: underline; }
.panier-item__variante { font-size: 12.5px; color: var(--gris-texte); }
.panier-item__infos > b { font-size: 14.5px; margin-top: 2px; }
.panier-item__actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.stepper { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--gris-bordure); border-radius: var(--radius-pill); overflow: hidden; }
.stepper button { width: 32px; height: 30px; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.stepper button:hover { background: var(--gris-tuile); }
.stepper b { min-width: 26px; text-align: center; font-size: 13.5px; }
.panier-item__retirer { font-size: 12.5px; color: var(--gris-texte2); text-decoration: underline; }
.panier-pied { flex-direction: column; gap: 10px; align-items: stretch; }
.panier-pied:empty { display: none; }
.panier-total { display: flex; justify-content: space-between; font-size: 16px; }
.panier-total b { font-size: 19px; }
.panier-total-note { font-size: 11.5px; color: var(--gris-texte); }
.panier-pied .btn-noir { width: 100%; padding: 14px; font-size: 15px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--noir); color: #fff; padding: 13px 26px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 500; box-shadow: 0 6px 24px rgba(0,0,0,.25); max-width: 88vw; text-align: center; }
.toast.est-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Modale commande ---------- */
.commande { text-align: center; padding: 40px 34px; }
.commande__coche { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: #e7f6ec; display: flex; align-items: center; justify-content: center; }
.commande__coche svg { width: 30px; height: 30px; stroke: #00a651; stroke-width: 2.4; fill: none; }
.commande h3 { font-family: var(--font-head); font-size: 23px; margin-bottom: 8px; }
.commande__num { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.commande__note { font-size: 13px; color: var(--gris-texte); margin-bottom: 22px; }

/* ---------- À propos ---------- */
.apropos { padding: 36px 34px; }
.apropos h3 { font-family: var(--font-head); font-size: 21px; margin-bottom: 12px; }
.apropos p { font-size: 14px; line-height: 1.55; color: #313131; }
.pied__apropos { font-size: 12.5px; color: var(--gris-texte2); text-decoration: underline; }

/* ---------- Menu mobile ---------- */
.entete__burger { display: none; padding: 4px; }
.entete__burger svg { width: 24px; height: 24px; stroke: var(--noir); fill: none; stroke-width: 1.8; }
.menu-mobile { display: flex; flex-direction: column; padding-top: 8px; }
.menu-mobile a, .menu-mobile button { display: block; width: 100%; text-align: left; font-size: 16px; font-weight: 700; padding: 15px 2px; border-bottom: 1px solid var(--gris-clair); }

/* ---------- Coup d'oeil : CTAs ---------- */
.ql__ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .entete__nav { display: none; }
  .entete__burger { display: flex; order: 3; }   /* burger à droite, comme Samsung */
  .entete__inner { gap: 12px; height: 56px; padding: 0 16px; }
  .entete__logo { order: 1; margin-right: auto; }
  .entete__logo svg { width: 92px; height: 21px; }
  .entete__ico { order: 2; gap: 18px; margin-left: 0; }
  .conteneur { padding: 0 16px; }
  .page-titre { padding: 18px 0 16px; font-size: clamp(24px, 6vw, 34px); }

  .cat-tuile { width: 116px; height: 92px; }
  .cat-tuile--large { width: 178px; }
  .categories__nav { margin-top: 10px; }
  .categories__barre { width: 140px; }

  .onglets { gap: 20px; margin: 18px 0 4px; }
  .outils { flex-wrap: wrap; gap: 10px; }

  .grille { gap: 8px; }
  .carte { border: 1px solid var(--gris-clair); }

  .pastille { width: 20px; height: 20px; }

  .plateau__inner { padding: 10px 12px; gap: 10px; flex-wrap: wrap; }
  .plateau__slots { overflow-x: auto; padding-bottom: 4px; }
  .slot { min-width: 150px; font-size: 12px; }
  .plateau__actions { margin-left: auto; }

  .modale__boite { inset: 0; border-radius: 0; padding: 18px 14px; }
  .modale__boite--petite { inset: auto 0 0 0; transform: none; left: 0; top: auto; width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; overflow: auto; }
  .comparatif th:first-child, .comparatif td:first-child { width: 120px; font-size: 12px; }
  .comparatif thead img { width: 84px; height: 68px; }

  .galerie__principale { position: static; border-radius: 14px; }
  .achat__ctas { flex-direction: column; }
  .achat__ctas .btn-secondaire { width: 100%; }
  .specs { padding: 26px 0 40px; }

  .tiroir { width: min(360px, 100vw); }
  .tiroir--droite { width: min(420px, 100vw); }
  .pied__cols { grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px 0 18px; }
}

@media (max-width: 640px) {
  /* Grille 2 colonnes comme le vrai site mobile */
  .grille { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .carte { padding: 12px 12px 14px; }
  .carte__flags { min-height: 20px; }
  .flag { font-size: 11.5px; }
  .carte__media { aspect-ratio: 1 / .92; margin-top: 4px; }
  .coup-doeil { display: none; }               /* pas de hover sur mobile */
  .carte__nom { font-size: 14.5px; line-height: 1.25; margin: 10px 0 5px; }
  .note { font-size: 12px; gap: 4px; }
  .note .etoiles svg { width: 12px; height: 12px; }
  .carte__couleur-nom { font-size: 11.5px; }
  .pastille { width: 17px; height: 17px; }
  .chip-sto { padding: 6px 9px; font-size: 12px; }
  .energie { gap: 7px; }
  .energie__liens a, .energie__note { font-size: 10.5px; }
  .prix-actuel { font-size: 17px; }
  .prix-libelle, .prix-barre, .prix-economie { font-size: 11.5px; }
  /* CTA empilés, pleine largeur (comme Samsung) */
  .carte__ctas { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 10px; }
  .carte__ctas .btn-noir { width: 100%; padding: 11px; }
  .carte__ctas .lien-souligne { text-align: center; border: 1px solid var(--noir); border-radius: var(--radius-pill); padding: 10px; text-decoration: none; }
  .carte__comparer { font-size: 12.5px; margin-top: 11px; padding-top: 11px; }

  .outils__compte { font-size: 13px; }
  .btn-filtres { font-size: 14px; }
  .pied__cols { grid-template-columns: 1fr; }
  .voir-plus__progress { width: 160px; }
}

@media (max-width: 340px) {
  .grille { grid-template-columns: 1fr; }   /* écrans minuscules seulement : 1 colonne */
}

/* ============================================================
   V3 — page d'accueil (téléphonie uniquement)
   ============================================================ */
main > .conteneur { display: block; }

.hero { position: relative; max-width: 1440px; margin: 0 auto; overflow: hidden; }
.hero__slide { display: none; position: relative; }
.hero__slide.est-active { display: block; animation: hero-fondu .5s var(--ease); }
@keyframes hero-fondu { from { opacity: 0; } to { opacity: 1; } }
.hero img, .hero video { width: 100%; display: block; border-radius: 0 0 20px 20px; background: #eef3f0; }
.hero__ctas { position: absolute; left: 4.5%; top: 62%; display: flex; gap: 12px; }
.hero__ctas--basdroite { left: auto; right: 4.5%; top: auto; bottom: 9%; }
.hero__ctas .btn-noir, .hero__ctas .btn-secondaire { padding: 12px 30px; font-size: 15px; }
.hero__nav { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.82); border-radius: 100px; padding: 5px 10px; backdrop-filter: blur(4px); }
.hero__fleche { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.hero__fleche:hover { background: rgba(0,0,0,.07); }
.hero__fleche svg { width: 11px; height: 11px; stroke: var(--noir); fill: none; stroke-width: 2; }
.hero__point { width: 7px; height: 7px; border-radius: 50%; background: #b5b5b5; transition: all .2s; }
.hero__point.est-actif { background: var(--noir); width: 20px; border-radius: 5px; }
@media (max-width: 700px) {
  .hero img, .hero video { border-radius: 0; }
  .hero__ctas { left: 50%; top: 31%; transform: translateX(-50%); }
  .hero__ctas--basdroite { left: 50%; right: auto; top: auto; bottom: 12%; transform: translateX(-50%); }
  .hero__ctas .btn-noir, .hero__ctas .btn-secondaire { padding: 10px 22px; font-size: 13.5px; white-space: nowrap; }
}

.vedettes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.vedette { position: relative; border-radius: var(--radius-tuile); overflow: hidden; background: var(--gris-tuile); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: block; }
.vedette:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.vedette img { width: 100%; display: block; }
.vedette__texte { position: absolute; top: 18px; left: 0; right: 0; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.vedette__texte b { font-family: var(--font-head); font-size: clamp(17px, 1.6vw, 22px); }
@media (max-width: 860px) {
  .vedettes { grid-template-columns: 1fr; }
  .vedette img { width: 100%; }
}

.section-tete { display: flex; align-items: center; justify-content: space-between; margin: 44px 0 18px; }
.section-tete h2, .gammes h2 { font-family: var(--font-head); font-size: clamp(21px, 2.4vw, 30px); }
.section-fleches { display: flex; gap: 10px; }

.reco__rail { display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px; }
.reco__rail::-webkit-scrollbar { display: none; }
.reco-carte { flex: 0 0 236px; background: var(--blanc); border: 1px solid var(--gris-clair); border-radius: var(--radius-tuile); padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.reco-carte__media { background: var(--gris-tuile); border-radius: 12px; aspect-ratio: 1/.9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.reco-carte__media img { width: 92%; height: 92%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s var(--ease); }
.reco-carte:hover .reco-carte__media img { transform: scale(1.05); }
.reco-carte__nom { font-weight: 700; font-size: 14.5px; line-height: 1.25; min-height: 36px; }
.reco-carte__nom:hover { text-decoration: underline; }
.reco-carte .note { min-height: 18px; }
.reco-carte__prix { display: flex; align-items: baseline; gap: 8px; font-size: 15.5px; margin: 2px 0 6px; }
.reco-carte__btn { margin-top: auto; padding: 10px 14px; font-size: 13px; }

.gammes { margin-top: 44px; }
.gammes__rail { margin-top: 16px; }
.gammes .cat-tuile { text-decoration: none; }



/* ============================================================
   V4 — page produit enrichie
   ============================================================ */
.temps-forts { margin-top: 8px; padding-bottom: 8px; }
.temps-forts h2, .avis-bloc h2, .similaires h2 { font-family: var(--font-head); font-size: clamp(21px, 2.4vw, 30px); margin: 26px 0 18px; }
.temps-fort { margin: 0 0 12px; }
.temps-fort img, .temps-fort video { width: 100%; display: block; border-radius: var(--radius-tuile); background: var(--gris-tuile); }

.avis-bloc { border-top: 1px solid var(--gris-bordure); }
.avis-bloc:empty { display: none; border: 0; }
.avis-bloc__resume { display: flex; align-items: center; gap: 18px; }
.avis-bloc__note { font-family: var(--font-head); font-size: 52px; line-height: 1; }
.avis-bloc__resume .etoiles svg { width: 20px; height: 20px; }
.avis-bloc__nb { font-size: 14px; color: var(--gris-texte2); }
.avis-bloc__source { font-size: 12px; color: var(--gris-texte); margin: 14px 0 8px; }

.similaires { padding-bottom: 50px; }
.similaires .reco__rail { padding-top: 4px; }
