/* ==========================================================================
   YuguTech — UI clean / éditoriale (réf. Power The City)
   Chargée après ui-cube.css : hero sobre, trois cartes produit, zéro 3D.
   ========================================================================== */

:root {
  --clean-bg: #050609;
  --clean-panel: #090b10;
  --clean-card: #0a0c12;
  --clean-line: rgba(255, 255, 255, 0.08);
  --clean-line-2: rgba(255, 255, 255, 0.14);
  --clean-texte: #f4f6f9;
  --clean-texte-2: #a6adba;
  --clean-muet: #737b8b;
  --clean-accent: #7dd3fc;
}

html { background: var(--clean-bg); }

body {
  background: var(--clean-bg) !important;
  color: var(--clean-texte) !important;
}

/* Le décor 3D et la scène précédente disparaissent. */
.lab-decor { display: none !important; }

/* --------------------------------------------------------------- entête --- */
.entete {
  background: rgba(7, 8, 12, 0.96) !important;
  border-bottom: 1px solid var(--clean-line) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}

.entete a,
.entete button,
.entete label,
.entete select {
  color: var(--clean-texte-2);
  box-shadow: none !important;
}

.entete a:hover,
.entete button:hover { color: var(--clean-texte); }

.logo__texte { color: var(--clean-texte) !important; }
.logo__texte strong { color: var(--clean-texte) !important; }
.logo__point { color: var(--clean-accent) !important; }

.recherche {
  background: #0c0e14 !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.recherche input {
  background: transparent !important;
  color: var(--clean-texte) !important;
}

.recherche input::placeholder { color: #626a79 !important; }

.entete__outils > a,
.entete__outils > button,
.menu-boutiques__bouton,
.bouton-liste,
.devise-entete,
.langue {
  background: transparent !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  color: var(--clean-texte-2) !important;
}

.bouton-zone,
.entete .bouton-zone {
  background: #0d1017 !important;
  border-color: var(--clean-line-2) !important;
  color: var(--clean-texte) !important;
}

.entete__outils > a:hover,
.entete__outils > button:hover,
.menu-boutiques__bouton:hover,
.bouton-liste:hover {
  background: #10131b !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: var(--clean-texte) !important;
}

.badge-bientot {
  background: #151821 !important;
  color: #8d95a4 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ---------------------------------------------------------------- hero ---- */
.clean-hero {
  position: relative;
  isolation: isolate;
  max-width: 1320px;
  margin: 0 auto;
  padding: 52px 24px 36px;
}

.clean-hero__haut {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 56px;
  align-items: end;
}

.clean-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7b8392;
}

.clean-kicker span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #b6bdc9;
  letter-spacing: 0;
  font-size: 8px;
}

.clean-titre {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(3.2rem, 6.1vw, 5.6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.055em;
  color: var(--clean-texte);
}

.clean-titre span { display: block; margin-top: 0.14em; color: #c8ceda; }

.clean-hero__droite {
  justify-self: end;
  max-width: 330px;
  padding-bottom: 6px;
  text-align: left;
}

.clean-hero__droite p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #8c94a3;
}

.clean-lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #dce1e9 !important;
}

.clean-lien:hover { border-color: var(--clean-accent); color: #fff !important; }

/* --------------------------------------------------------------- cartes --- */
.clean-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.clean-card {
  display: flex;
  flex-direction: column;
  min-height: 512px;
  border: 1px solid var(--clean-line);
  border-radius: 16px;
  background: var(--clean-card);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.clean-card:hover {
  border-color: rgba(125, 211, 252, 0.38);
  background: #0b0e15;
  transform: translateY(-2px);
}

.clean-card:focus-visible {
  outline: 1px solid var(--clean-accent);
  outline-offset: 3px;
}

.clean-card__haut {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px 13px;
}

.clean-num {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 8px;
  color: #b4bccb;
}

.clean-cat {
  flex: 1;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #959dac;
}

.clean-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #737b8b;
  cursor: pointer;
}

.clean-arrow svg { width: 15px; height: 15px; transition: transform 0.18s ease; }
.clean-card:hover .clean-arrow svg { transform: translate(2px, -2px); color: #dce1e9; }

.clean-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 258px;
  margin: 0 12px;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.clean-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.clean-remise {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 4px 7px;
  border-radius: 4px;
  background: #eef2f8;
  color: #1d4ed8;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.clean-corps {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 17px 18px 18px;
}

.clean-marque {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #717a8a;
}

.clean-nom {
  margin: 7px 0 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--clean-texte);
}

.clean-specs {
  margin: 7px 0 0;
  font-size: 10.5px;
  line-height: 1.55;
  color: #858d9c;
}

.clean-prix {
  margin-top: 15px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #fff;
}

.clean-prix span {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #8a92a1;
}

.clean-prix s {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  color: #626a79;
}

.clean-shop {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 0;
  font-size: 10px;
  color: #7f8796;
}

.clean-shop i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.55);
}

.clean-shop b { color: #c4cad5; font-weight: 550; }

.clean-pied {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.clean-jauge { display: flex; gap: 3px; }

.clean-jauge i {
  width: 14px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.clean-jauge i.on { background: var(--clean-accent); }

.clean-code {
  flex: 1;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.10em;
  color: #636b7a;
}

.clean-cta {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #cfd5df;
  cursor: pointer;
}

.clean-card:hover .clean-cta { color: var(--clean-accent); }

.clean-hero__bas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--clean-line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #687080;
}

.clean-live { display: inline-flex; align-items: center; gap: 7px; }

.clean-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

/* ---------------------------------------------------------- sections bas -- */
.lab-compare,
.lab-cat,
.lab-catalogue {
  margin-top: 76px;
}

.lab-section__tete h2,
.lab-cat__titre,
.lab-catalogue__titre {
  font-family: "Inter", sans-serif !important;
  font-weight: 650 !important;
  letter-spacing: -0.04em !important;
  color: #f1f3f7 !important;
}

.lab-kicker,
.lab-section__tete p,
.lab-cat__sous-titre,
.lab-catalogue__sous-titre { color: #7f8797 !important; }

.lab-compare__panneau,
.lab-cat__carte,
.lab-catalogue .carte,
.lab-catalogue .filtres {
  background: #090b10 !important;
  border: 1px solid var(--clean-line) !important;
  box-shadow: none !important;
  border-radius: 16px !important;
}

.lab-cat__carte:hover,
.lab-catalogue .carte:hover {
  border-color: rgba(125, 211, 252, 0.32) !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

.lab-table { color: #c9cfda !important; }
.lab-table thead th { color: #8d95a4 !important; }
.lab-table tbody th { color: #7f8796 !important; }
.lab-table tbody td { color: #d7dce4 !important; }
.lab-table tbody tr.est-prix td { color: #fff !important; }

.lab-cat__nom { color: #e9edf3 !important; }
.lab-cat__nb { color: #7f8796 !important; }

/* --------------------------------------------------------------- mobile --- */
@media (max-width: 1080px) {
  .clean-hero__haut {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .clean-hero__droite { justify-self: start; max-width: 520px; }
  .clean-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clean-card { min-height: 480px; }
}

@media (max-width: 760px) {
  .clean-hero { padding: 30px 16px 24px; }
  .clean-titre { font-size: clamp(2.4rem, 10.5vw, 3.6rem); }
  .clean-kicker { margin-bottom: 14px; }
  .clean-cards { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .clean-card { min-height: 0; }
  .clean-media { height: 230px; margin: 0 10px; }
  .clean-hero__bas { flex-wrap: wrap; }
  .lab-compare, .lab-cat, .lab-catalogue { margin-top: 48px; }
}


/* Écrans de portable : le hero et les trois cartes tiennent dans la hauteur. */
@media (max-height: 920px) and (min-width: 761px) {
  .clean-hero { padding: 30px 24px 24px; }
  .clean-kicker { margin-bottom: 12px; }
  .clean-titre { font-size: clamp(2.9rem, 5.4vw, 4.6rem); }
  .clean-hero__haut { gap: 36px; }
  .clean-cards { margin-top: 28px; }
  .clean-card { min-height: 430px; }
  .clean-media { height: 205px; }
  .clean-corps { padding: 14px 16px 15px; }
  .clean-nom { font-size: 15.5px; }
  .clean-specs { font-size: 9.8px; }
  .clean-prix { font-size: 20px; margin-top: 11px; }
  .clean-shop { font-size: 9.5px; }
  .clean-pied { padding-top: 12px; }
  .clean-hero__bas { margin-top: 16px; padding-top: 12px; }
}


/* --------------------------------------------------------- sections clean -- */
.lab-courbe { display: none !important; }

.lab-compare__panneau {
  padding: 18px !important;
}

.lab-table thead th:not(:first-child) {
  background: #0d1017 !important;
  border-bottom: 1px solid var(--clean-line) !important;
}

.lab-table tbody tr:hover { background: rgba(255, 255, 255, 0.02) !important; }

.lab-cat__carte {
  color: #8b93a3 !important;
}

.lab-cat__carte:hover {
  color: #e7ebf1 !important;
}

.lab-cat__icone {
  background: #10131b !important;
  border: 1px solid var(--clean-line) !important;
  color: #9aa3b2 !important;
}

.lab-cat__nb b { color: #e7ebf1 !important; }

.vitrine__promo,
.carte .vitrine__promo {
  background: #eef2f8 !important;
  color: #1d4ed8 !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: var(--mono);
  font-size: 8px !important;
  letter-spacing: 0.04em;
}

.lab-catalogue .carte {
  background: #0a0c12 !important;
  border: 1px solid var(--clean-line) !important;
  box-shadow: none !important;
  border-radius: 14px !important;
}

.lab-catalogue .carte::before { display: none !important; }

.lab-catalogue .carte:hover {
  border-color: rgba(125, 211, 252, 0.32) !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

.lab-catalogue .carte__visuel {
  background: #fff !important;
  border-bottom: 1px solid var(--clean-line) !important;
  box-shadow: none !important;
}

.lab-catalogue .carte__titre { color: #eef1f6 !important; }
.lab-catalogue .carte__titre a { color: inherit !important; }
.lab-catalogue .carte__boutique { color: #8f98a7 !important; }
.lab-catalogue .carte__boutique b { color: #cfd5df !important; }
.lab-catalogue .carte__autres { color: #747d8c !important; }
.lab-catalogue .prix { color: #fff !important; }
.lab-catalogue .prix-barre { color: #626a79 !important; }

.filtres {
  background: #090b10 !important;
  border: 1px solid var(--clean-line) !important;
  box-shadow: none !important;
}

.filtres h2,
.filtres h3 { color: #e8ecf2 !important; }

.liste-filtres button {
  color: #9aa3b2 !important;
  border-radius: 7px !important;
}

.liste-filtres button:hover {
  background: #10131b !important;
  color: #e8ecf2 !important;
}

.liste-filtres button.est-actif,
.liste-filtres button[aria-pressed="true"],
.liste-filtres button.actif {
  background: #151a23 !important;
  color: #fff !important;
  border-color: var(--clean-line-2) !important;
}

.lab-catalogue .resultats__entete,
.lab-catalogue .resultats__barre {
  background: transparent !important;
  border-color: var(--clean-line) !important;
  box-shadow: none !important;
}

.lab-catalogue .resume { color: #e8ecf2 !important; }
.lab-catalogue .maj { color: #737c8b !important; }


.lab-compare__courbe { display: none !important; }

.lab-table tbody tr.est-prix td {
  color: #ffffff !important;
  text-shadow: none !important;
}
.lab-table tbody tr.est-prix td small { color: #7f8796 !important; }

.lab-catalogue .carte::after { display: none !important; }
.lab-catalogue .carte__visuel::after { display: none !important; }

.etiquette-promo {
  background: #eef2f8 !important;
  background-image: none !important;
  color: #1d4ed8 !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: var(--mono);
  font-size: 8px !important;
  letter-spacing: 0.04em;
}

.favori {
  background: #11141b !important;
  border: 1px solid var(--clean-line) !important;
  color: #8b93a3 !important;
  box-shadow: none !important;
}

.carte__prix .prix,
.carte__prix .devise { color: #ffffff !important; }
.carte__prix .prix-barre { color: #626a79 !important; }


/* Grille ondulée monochrome derrière le hero. */
.clean-fond {
  position: absolute;
  inset: -20px 0 0;
  z-index: -1;
  background: #050609 url("img/fond-tunnel.webp") center 42% / cover no-repeat;
  opacity: 0.82;
  filter: brightness(0.22) contrast(1.05) saturate(0.55) blur(5px);
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 76%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 76%, transparent 100%);
}

.clean-hero > :not(.clean-fond) {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .clean-fond { opacity: 0.36; background-size: auto 100%; background-position: center 70%; }
}


/* --------------------------------------------------------- cartes 3D ----- */
.clean-cards { perspective: 1500px; }

.clean-card {
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: border-color 0.18s ease, background 0.18s ease,
              transform 0.16s ease-out, box-shadow 0.18s ease;
  will-change: transform;
}

.clean-card:hover {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-3px);
  box-shadow: 0 34px 60px -42px rgba(0, 0, 0, 0.95);
}

.clean-card:nth-child(1) { --glow: rgba(88, 126, 255, 0.42); }
.clean-card:nth-child(2) { --glow: rgba(238, 158, 255, 0.34); }
.clean-card:nth-child(3) { --glow: rgba(94, 234, 178, 0.30); }

.clean-card__haut { transform: translateZ(14px); }

.clean-media {
  transform: translateZ(42px);
  box-shadow:
    0 26px 40px -28px rgba(0, 0, 0, 0.95),
    0 0 42px -14px var(--glow, rgba(125, 211, 252, 0.25)),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease;
}

.clean-card:hover .clean-media {
  transform: translateZ(56px);
  box-shadow:
    0 34px 52px -30px rgba(0, 0, 0, 0.95),
    0 0 60px -10px var(--glow, rgba(125, 211, 252, 0.35)),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.clean-media img {
  transform: translateZ(16px) scale(1.005);
  transition: transform 0.22s ease-out;
}

.clean-card:hover .clean-media img {
  transform: translateZ(26px) scale(1.03);
}

.clean-corps { transform: translateZ(16px); }

.clean-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 255, 255, 0.075), transparent 46%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.clean-card:hover::after { opacity: 1; }

@media (hover: none), (prefers-reduced-motion: reduce) {
  .clean-card,
  .clean-card:hover,
  .clean-media,
  .clean-card:hover .clean-media,
  .clean-media img,
  .clean-card:hover .clean-media img { transform: none; }
  .clean-card::after { display: none; }
}


.clean-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(65% 55% at 50% 28%, rgba(5, 6, 9, 0.22), rgba(5, 6, 9, 0.78) 100%),
    linear-gradient(to bottom, rgba(5, 6, 9, 0.52), rgba(5, 6, 9, 0.10) 42%, rgba(5, 6, 9, 0.58));
}


/* ============================================================== modale ==== */
#modale .modale__voile {
  background: rgba(3, 4, 7, 0.80) !important;
  backdrop-filter: blur(10px);
}

#modale .modale__carte {
  width: min(760px, calc(100vw - 32px));
  max-height: min(88vh, 900px);
  background: #090b10 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 18px !important;
  box-shadow: 0 48px 120px -48px rgba(0, 0, 0, 0.95) !important;
  color: #e8ecf2 !important;
  overflow: auto;
}

#modale .modale__fermer {
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #11141b !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: #aab2bf !important;
  font-size: 16px;
  line-height: 1;
  box-shadow: none !important;
}

#modale .modale__fermer:hover { color: #fff !important; border-color: rgba(255, 255, 255, 0.22) !important; }

#modale .modale__contenu { padding: 24px 24px 20px; }

#modale .produit__entete {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-right: 26px;
}

#modale .produit__visuel {
  width: 100%;
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 12px;
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  overflow: hidden;
}

#modale .produit__visuel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

#modale .produit__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

#modale .etiquette {
  background: #11141b !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  color: #9aa3b2 !important;
  border-radius: 5px !important;
  padding: 4px 8px !important;
  font-family: var(--mono);
  font-size: 8px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  box-shadow: none !important;
}

#modale .etiquette--accent {
  color: #d6dce5 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

#modale .produit__titre {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: #f4f6f9 !important;
}

#modale .produit__meilleur {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

#modale .produit__meilleur .prix {
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -0.04em;
  color: #ffffff !important;
}

#modale .produit__meilleur .devise {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #8b93a3 !important;
}

#modale .produit__chez {
  margin-left: 8px;
  font-size: 10.5px;
  color: #8b93a3 !important;
}

#modale .produit__economie {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 7px;
  background: #0e1118 !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  color: #aab2bf !important;
  font-size: 10.5px;
  line-height: 1.5;
  box-shadow: none !important;
}

#modale .produit__section-titre {
  margin: 24px 0 10px;
  padding: 0;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f7786 !important;
}

#modale .offres {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 11.5px;
}

#modale .offres th {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #6f7786 !important;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
}

#modale .offres td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #cfd5df !important;
  background: transparent;
}

#modale .offres tr.est-meilleure td {
  background: #0e121a !important;
  border-top: 1px solid rgba(125, 211, 252, 0.16);
  border-bottom: 1px solid rgba(125, 211, 252, 0.16);
  color: #f4f6f9 !important;
  box-shadow: none !important;
}

#modale .offres tr.est-meilleure td:first-child {
  border-left: 2px solid #7dd3fc;
  border-radius: 7px 0 0 7px;
}

#modale .offres tr.est-meilleure td:last-child { border-radius: 0 7px 7px 0; }

#modale .offre__boutique { font-weight: 600; color: #e6eaf1 !important; }
#modale .offre__prix { font-weight: 600; color: #ffffff !important; white-space: nowrap; }

#modale .offre__ancien {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: #626a79 !important;
  text-decoration: line-through;
}

#modale .offre__dispo,
#modale .offre__rupture {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0 !important;
  background: none !important;
  font-size: 9px !important;
  box-shadow: none !important;
}

#modale .offre__dispo { color: #a6b0bd !important; }
#modale .offre__dispo::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 7px rgba(74, 222, 128, 0.5);
}

#modale .offre__rupture { color: #6f7786 !important; }

#modale .offre__lien {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 6px;
  background: #11141b !important;
  color: #c7ced9 !important;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: none !important;
}

#modale .offre__lien:hover {
  border-color: rgba(125, 211, 252, 0.35) !important;
  color: #fff !important;
}

#modale .historique { margin-top: 6px; }
#modale .sparkline { width: 100%; height: 56px; margin: 4px 0 8px; }
#modale .sparkline__ligne { stroke: #7dd3fc !important; stroke-width: 1.4; filter: none !important; }
#modale .sparkline__aire { fill: rgba(125, 211, 252, 0.08) !important; }

#modale .historique__pied {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 10px;
  color: #8b93a3 !important;
}

#modale .historique__quand { color: #6f7786 !important; font-size: 9px; }

#modale .historique__badge {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 4px;
  background: #11141b !important;
  border: 1px solid rgba(125, 211, 252, 0.18) !important;
  color: #b9c6d3 !important;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  box-shadow: none !important;
}

#modale .produit__ecart {
  margin: 12px 0 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  background: #0e1118;
  color: #9aa3b2;
  font-size: 10px;
}

#modale .modale__note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6f7786 !important;
  font-size: 9px;
  line-height: 1.5;
}

#modale .modale__note > span { flex: 1 1 280px; }

#modale .copier,
#modale .copier--fiche,
#modale .copier--liste,
#modale .copier--compare,
#modale .copier--alerte {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 6px;
  background: #11141b !important;
  color: #c7ced9 !important;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: none !important;
}

#modale .copier:hover { border-color: rgba(125, 211, 252, 0.35) !important; color: #fff !important; }

#modale .copier--alerte span { filter: grayscale(1) brightness(1.7); }

@media (max-width: 640px) {
  #modale .modale__contenu { padding: 18px 16px 16px; }
  #modale .produit__entete { grid-template-columns: 108px minmax(0, 1fr); gap: 14px; padding-right: 24px; }
  #modale .produit__titre { font-size: 16px; }
  #modale .produit__meilleur .prix { font-size: 25px; }
  #modale .offres th:nth-child(3),
  #modale .offres td:nth-child(3) { display: none; }
  #modale .offres { font-size: 10px; }
  #modale .offres th,
  #modale .offres td { padding: 9px 5px; }
  #modale .historique__badge { margin-left: 0; }
}


#modale .modale__note > span { flex: 1 1 100%; }
#modale .modale__note { row-gap: 8px; }


/* ================================================ modale : lisibilité ===== */
#modale .modale__carte {
  width: min(840px, calc(100vw - 32px)) !important;
  max-width: 840px !important;
  max-height: 92vh !important;
}

#modale .modale__contenu { padding: 28px 28px 22px !important; }

#modale .produit__entete {
  grid-template-columns: 190px minmax(0, 1fr) !important;
  gap: 24px !important;
  padding-right: 30px !important;
}

#modale .produit__titre {
  font-size: 24px !important;
  line-height: 1.28 !important;
  margin-bottom: 14px !important;
}

#modale .produit__meilleur .prix { font-size: 38px !important; }
#modale .produit__meilleur .devise { font-size: 12px !important; }
#modale .produit__chez { font-size: 12.5px !important; }

#modale .etiquette {
  font-size: 9.5px !important;
  padding: 5px 9px !important;
}

#modale .produit__economie {
  font-size: 12.5px !important;
  padding: 10px 12px !important;
  margin-top: 12px !important;
}

#modale .produit__section-titre {
  font-size: 10.5px !important;
  margin: 28px 0 12px !important;
  letter-spacing: 0.14em !important;
}

#modale .offres { font-size: 13.5px !important; }

#modale .offres th {
  font-size: 9.5px !important;
  padding: 10px 12px !important;
}

#modale .offres td {
  font-size: 13.5px !important;
  padding: 14px 12px !important;
}

#modale .offre__boutique { font-size: 14px !important; }
#modale .offre__prix { font-size: 14px !important; }
#modale .offre__ancien { font-size: 10.5px !important; }
#modale .offre__dispo,
#modale .offre__rupture { font-size: 11px !important; }

#modale .offre__lien {
  font-size: 9.5px !important;
  padding: 7px 12px !important;
}

#modale .sparkline { height: 64px !important; }

#modale .historique__pied {
  font-size: 12px !important;
  gap: 10px !important;
}

#modale .historique__quand { font-size: 10.5px !important; }

#modale .historique__badge {
  font-size: 9.5px !important;
  padding: 4px 8px !important;
}

#modale .produit__ecart {
  font-size: 11.5px !important;
  padding: 10px 12px !important;
  margin-top: 14px !important;
}

#modale .modale__note {
  font-size: 11.5px !important;
  line-height: 1.55 !important;
  margin-top: 18px !important;
  padding-top: 16px !important;
  row-gap: 10px !important;
}

#modale .modale__note > span { flex: 1 0 100% !important; }

#modale .copier,
#modale .copier--fiche,
#modale .copier--liste,
#modale .copier--compare,
#modale .copier--alerte {
  font-size: 10.5px !important;
  padding: 8px 11px !important;
}

@media (max-width: 640px) {
  #modale .modale__contenu { padding: 20px 18px 18px !important; }
  #modale .produit__entete {
    grid-template-columns: 118px minmax(0, 1fr) !important;
    gap: 16px !important;
    padding-right: 26px !important;
  }
  #modale .produit__titre { font-size: 18px !important; }
  #modale .produit__meilleur .prix { font-size: 29px !important; }
  #modale .produit__economie { font-size: 11px !important; }
  #modale .produit__section-titre { font-size: 9.5px !important; }
  #modale .offres { font-size: 11.5px !important; }
  #modale .offres th { font-size: 8.5px !important; }
  #modale .offres td { font-size: 11.5px !important; padding: 11px 6px !important; }
  #modale .offre__boutique,
  #modale .offre__prix { font-size: 12px !important; }
  #modale .offre__lien { font-size: 8.5px !important; }
  #modale .historique__pied { font-size: 10.5px !important; }
  #modale .modale__note { font-size: 9.5px !important; }
  #modale .copier,
  #modale .copier--fiche,
  #modale .copier--liste,
  #modale .copier--compare,
  #modale .copier--alerte { font-size: 8.5px !important; padding: 7px 9px !important; }
}


/* =============================================== fond global du site ==== */
.site-fond {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #050609 url("img/fond-points.webp?v=2") center center / cover no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

.site-fond::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 65% at 50% 35%, rgba(5, 6, 9, 0.18), rgba(5, 6, 9, 0.72) 100%),
    linear-gradient(to bottom, rgba(5, 6, 9, 0.62), rgba(5, 6, 9, 0.24) 38%, rgba(5, 6, 9, 0.62));
}

header,
main,
footer { position: relative; z-index: 1; }

.clean-fond,
.clean-hero::before { display: none !important; }

.entete {
  background: rgba(6, 7, 11, 0.84) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: blur(16px);
}

footer {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

body { background: #050609 !important; }


/* ============================================ cartes : lisibilité + nav ==== */
.clean-card {
  min-height: 560px;
}

.clean-card__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.clean-card__haut { gap: 9px; }

.clean-cat {
  font-size: 9.5px;
  color: #aab2bf;
}

.clean-num { font-size: 9px; color: #c1c8d3; }

.clean-nav {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-right: 2px;
}

.clean-nav button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: #11141b;
  color: #aab2bf;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.clean-nav button:hover {
  background: #171c26;
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.clean-nav button:active { transform: translateY(1px); }

.clean-compteur {
  min-width: 22px;
  text-align: center;
  font-family: var(--mono);
  font-size: 7.5px;
  color: #737c8b;
}

.clean-arrow { width: 26px; height: 26px; }

.clean-media { height: 250px; }

.clean-remise {
  display: flex;
  flex-direction: column;
  gap: 1px;
  left: 11px;
  top: 11px;
  padding: 5px 8px;
  background: #f2f5fa;
  color: #090b10;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.clean-remise small {
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
}

.clean-corps { padding: 18px 20px 19px; }

.clean-marque {
  font-size: 9.5px;
  color: #8f98a7;
}

.clean-nom {
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.28;
  color: #f7f8fb;
}

.clean-specs {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.55;
  color: #a6aebc;
}

.clean-prix {
  margin-top: 15px;
  font-size: 26px;
  color: #ffffff;
}

.clean-prix span { font-size: 10px; color: #98a1b0; }
.clean-prix s { font-size: 12px; color: #7f8796; }

.clean-shop {
  font-size: 11px;
  color: #a6aebc;
  margin-top: 9px;
}

.clean-shop b { color: #d8dee7; }

.clean-pied { padding-top: 14px; gap: 8px; }

.clean-code {
  font-size: 8.5px;
  color: #8b93a3;
  letter-spacing: 0.08em;
}

.clean-cta {
  font-size: 9.5px;
  color: #dbe1e9;
  font-weight: 500;
}

.clean-jauge i { width: 13px; height: 3px; }

.clean-card__inner.est-change {
  animation: clean-swap 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes clean-swap {
  from { opacity: 0.15; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-height: 920px) and (min-width: 761px) {
  .clean-card { min-height: 450px; }
  .clean-media { height: 208px; }
  .clean-corps { padding: 16px 18px 17px; }
  .clean-nom { font-size: 17px; }
  .clean-specs { font-size: 11px; }
  .clean-prix { font-size: 23px; margin-top: 12px; }
  .clean-shop { font-size: 10.5px; }
  .clean-pied { padding-top: 12px; }
  .clean-code { font-size: 8px; }
  .clean-cta { font-size: 9px; }
  .clean-nav button { width: 24px; height: 24px; font-size: 14px; }
  .clean-compteur { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .clean-card__inner.est-change { animation: none; }
}


@media (max-height: 820px) and (min-width: 761px) {
  .clean-card { min-height: 418px; }
  .clean-card__haut { padding: 10px 12px 9px; gap: 7px; }
  .clean-nav button { width: 22px; height: 22px; font-size: 13px; }
  .clean-media { height: 168px; margin: 0 10px; }
  .clean-corps { padding: 12px 15px 13px; }
  .clean-marque { font-size: 8.5px; }
  .clean-nom { font-size: 15px; line-height: 1.25; margin-top: 5px; }
  .clean-specs { font-size: 9.6px; margin-top: 5px; line-height: 1.45; }
  .clean-prix { font-size: 20px; margin-top: 8px; }
  .clean-prix span { font-size: 8px; }
  .clean-prix s { font-size: 10px; }
  .clean-shop { font-size: 9.5px; margin-top: 6px; }
  .clean-pied { padding-top: 8px; }
  .clean-code { font-size: 7.2px; }
  .clean-cta { font-size: 8.2px; }
  .clean-jauge i { width: 11px; height: 2px; }
}


@media (max-width: 1440px) {
  .entete .bouton-market { display: none !important; }
  .entete__outils { gap: 4px !important; }
  .entete__outils > a,
  .entete__outils > button,
  .entete__outils .menu-boutiques__bouton,
  .entete__outils .bouton-liste { padding-left: 10px !important; padding-right: 10px !important; }
  .entete .recherche { max-width: 205px; }
}


/* Catégories : icônes modernes, trait fin + accent. */
.lab-cat__icone {
  width: 46px !important;
  height: 46px !important;
  border-radius: 11px !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  background: linear-gradient(145deg, #141922, #0b0e14) !important;
  color: #c7ced9 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.lab-cat__icone svg { width: 26px !important; height: 26px !important; }

.lab-cat__icone .cat-accent { fill: #7dd3fc !important; }

.lab-cat__icone .cat-accent-ligne {
  stroke: #7dd3fc !important;
  fill: none !important;
}

.lab-cat__carte:hover .lab-cat__icone {
  border-color: rgba(125, 211, 252, 0.35) !important;
  background: #141a24 !important;
  box-shadow: 0 0 26px -14px rgba(125, 211, 252, 0.55) !important;
  transform: translateY(-2px);
}


/* Grands écrans : on utilise la largeur, catalogue en 4 colonnes. */
@media (min-width: 1500px) {
  .conteneur { max-width: 1600px !important; }

  .lab-catalogue .grille {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}


/* Carrousel de familles : flèches latérales + pastilles. */
.clean-carrousel { position: relative; }

.clean-carrousel__nav {
  position: absolute;
  top: calc(50% - 50px);
  z-index: 6;
  display: grid;
  place-items: center;
  width: 40px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: #0d1017;
  color: #aab2bf;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.9);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.clean-carrousel__nav:hover {
  background: #151a23;
  border-color: rgba(125, 211, 252, 0.42);
  color: #fff;
}

.clean-carrousel__nav:active { transform: scale(0.96); }
.clean-carrousel__nav svg { width: 19px; height: 19px; }
.clean-carrousel__nav--gauche { left: -54px; }
.clean-carrousel__nav--droite { right: -54px; }

.clean-carrousel__points {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}

.clean-carrousel__points button {
  width: 16px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: width 0.18s ease, background 0.18s ease;
}

.clean-carrousel__points button:hover { background: rgba(255, 255, 255, 0.4); }
.clean-carrousel__points button.est-actif { width: 30px; background: #f2f5fa; }

.clean-carrousel__legende {
  margin: 10px 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7f8796;
}

@media (max-width: 1300px) {
  .clean-carrousel { padding-bottom: 52px; }
  .clean-carrousel__nav {
    top: auto;
    bottom: 4px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .clean-carrousel__nav--gauche { left: 0; }
  .clean-carrousel__nav--droite { right: 0; }
  .clean-carrousel__points { margin-top: 18px; padding: 0 50px; }
}



/* Titres de section : mot qui glisse lentement, une seule ligne. */
.lab-section__tete h2[data-anime="1"] {
  text-align: center;
}

.titre-fixe { display: inline; white-space: nowrap; }

.titre-rouleau {
  display: inline-block;
  height: 1.12em;
  overflow: hidden;
  vertical-align: bottom;
  margin-left: 0.22em;
}

.titre-rouleau__mot {
  display: block;
  height: 1.12em;
  line-height: 1.12;
  white-space: nowrap;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.titre-rouleau__mot.est-sortie {
  opacity: 0;
  transform: translateY(-0.55em);
}

.titre-rouleau__mot.est-entree {
  opacity: 0;
  transform: translateY(0.55em);
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .titre-rouleau__mot { transition: none; }
}

html[data-animations="reduites"] .titre-rouleau__mot {
  transition: none;
}


/* ======================================================== recherche ======= */
.recherche {
  background: #0c0e14 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.recherche:focus-within {
  border-color: rgba(125, 211, 252, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.07) !important;
}

.recherche__loupe { color: #737b8b !important; }

.recherche input {
  color: #f4f6f9 !important;
  font-size: 11.5px !important;
}

.recherche input::placeholder { color: #6f7786 !important; }

.recherche__raccourci {
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  background: #11141b !important;
  color: #8b93a3 !important;
  border-radius: 5px !important;
}

.recherche__effacer {
  color: #8b93a3 !important;
  border: 0 !important;
  background: transparent !important;
}

.recherche__effacer:hover { color: #fff !important; }

.suggestions {
  min-width: min(560px, calc(100vw - 24px)) !important;
  max-height: min(460px, 70vh) !important;
  background: #0a0c12 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 12px !important;
  box-shadow: 0 28px 70px -30px #000 !important;
  scrollbar-width: thin;
  scrollbar-color: #343b48 #0a0c12;
}

.suggestions::-webkit-scrollbar { width: 9px; }
.suggestions::-webkit-scrollbar-track { background: #0a0c12; }

.suggestions::-webkit-scrollbar-thumb {
  background: #2c333f;
  border: 2px solid #0a0c12;
  border-radius: 8px;
}

.suggestions::-webkit-scrollbar-thumb:hover { background: #414957; }

.suggestions__tete {
  padding: 12px 14px 8px !important;
  color: #8b93a3 !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

.suggestions__sep {
  padding: 11px 14px 5px !important;
  background: #0a0c12 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #6f7786 !important;
  font-family: var(--mono);
  font-size: 7.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
}

.suggestion {
  grid-template-columns: 42px minmax(0, 1fr) auto !important;
  gap: 12px !important;
  padding: 9px 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045) !important;
  background: transparent !important;
}

.suggestion:hover,
.suggestion:focus-visible { background: #11151e !important; }

.suggestion img {
  width: 42px !important;
  height: 42px !important;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px !important;
  background: #ffffff !important;
  object-fit: contain;
}

.suggestion__titre {
  color: #e8ebf1 !important;
  font-size: 12.5px !important;
  font-weight: 550 !important;
  line-height: 1.35 !important;
}

.suggestion__meta {
  margin-top: 3px !important;
  color: #7f8796 !important;
  font-size: 10.5px !important;
}

.suggestion__prix {
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: -0.01em !important;
}

.suggestions mark {
  background: rgba(125, 211, 252, 0.16);
  color: #ffffff;
  border-radius: 2px;
}

.suggestions__tout {
  background: #0d1017 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #7dd3fc !important;
  padding: 12px 14px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.suggestions__tout:hover {
  background: #141822 !important;
  color: #ffffff !important;
}
