/* HASSIBA PC · feuille de style
   Système : le « clavier » du logo. Les boutons, badges et filtres sont des touches
   (ombre pleine sous la touche, enfoncement au clic), sur fond noir écran. */

:root {
  --noir: #0B0B0C;
  --noir-2: #121316;
  --dalle: #1B1C20;
  --dalle-2: #222328;
  --trait: #2A2B31;
  --chassis: #ECECEE;
  --ombre: #7B7C82;
  --gris: #A7A8AE;
  --signal: #FF6A00;
  --signal-f: #B84A00;
  --blanc: #FFFFFF;
  --erreur: #FF7A66;

  --f-titre: "Unbounded", "Readex Pro", system-ui, sans-serif;
  --f-texte: "Sora", "Readex Pro", system-ui, sans-serif;
  --f-ar: "Readex Pro", "Sora", system-ui, sans-serif;

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --entete: 72px;
  --gout: 20px;
  color-scheme: dark;
}
html[lang="ar"] {
  --f-titre: "Readex Pro", system-ui, sans-serif;
  --f-texte: "Readex Pro", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 16px); }
body {
  margin: 0;
  background: var(--noir);
  color: var(--blanc);
  font: 400 1rem/1.6 var(--f-texte);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { line-height: 1.75; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-titre); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 700; letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
::selection { background: var(--signal); color: var(--noir); }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gout); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--noir); padding: 10px 16px; border-radius: var(--r-s); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Touches (boutons) ---------- */
.key {
  --k-fond: var(--signal); --k-texte: var(--noir); --k-ombre: var(--signal-f);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.35em;
  background: var(--k-fond); color: var(--k-texte);
  border: 0; border-radius: 12px;
  box-shadow: 0 5px 0 var(--k-ombre);
  font: 700 1rem/1.2 var(--f-texte);
  cursor: pointer; text-align: center;
  transition: transform .12s ease, box-shadow .12s ease, background-color .2s;
  margin-bottom: 5px;
}
.key svg { width: 20px; height: 20px; flex: none; }
.key:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--k-ombre); }
.key:active { transform: translateY(5px); box-shadow: 0 0 0 var(--k-ombre); }
.key--blanc { --k-fond: var(--blanc); --k-texte: var(--noir); --k-ombre: var(--ombre); }
.key--sombre { --k-fond: var(--dalle-2); --k-texte: var(--blanc); --k-ombre: #000; box-shadow: 0 5px 0 #000, inset 0 0 0 1px var(--trait); }
.key--sombre:hover { box-shadow: 0 3px 0 #000, inset 0 0 0 1px var(--trait); }
.key--sombre:active { box-shadow: 0 0 0 #000, inset 0 0 0 1px var(--trait); }
.key--petit { min-height: 42px; padding: .55em 1em; font-size: .92rem; border-radius: 10px; box-shadow: 0 4px 0 var(--k-ombre); margin-bottom: 4px; }
.key--petit:hover { box-shadow: 0 2px 0 var(--k-ombre); }
.key--plein { width: 100%; }

.lien-fleche { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; color: var(--blanc); border-bottom: 2px solid var(--signal); padding-bottom: 4px; }
.lien-fleche svg { width: 18px; height: 18px; order: 2; color: var(--signal); transition: transform .2s; }
.lien-fleche:hover svg { transform: translateX(4px); }
[dir="rtl"] .lien-fleche svg, [dir="rtl"] .rayon__fleche svg { transform: scaleX(-1); }
[dir="rtl"] .lien-fleche:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- En-tête ---------- */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--entete); transition: background-color .25s, border-color .25s; border-bottom: 1px solid transparent; }
.entete--plein, .menu-ouvert .entete { background: rgba(11, 11, 12, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--trait); }
.menu-ouvert .entete { background: var(--noir); -webkit-backdrop-filter: none; backdrop-filter: none; }
.entete__barre { height: 100%; display: flex; align-items: center; gap: 24px; }
.entete__logo img { width: 150px; height: auto; }
.entete__nav { flex: 1; display: flex; justify-content: center; }
.entete__nav ul { display: flex; gap: 4px; }
.entete__nav ul a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--gris); transition: color .2s, background-color .2s; }
.entete__nav ul a:hover { color: var(--blanc); background: var(--dalle); }
.entete__nav ul a[aria-current="page"] { color: var(--blanc); box-shadow: inset 0 -2px 0 var(--signal); border-radius: 10px 10px 4px 4px; }
.entete__nav-pied { display: none; }
.entete__actions { display: flex; align-items: center; gap: 10px; }
.langue {
  min-height: 42px; padding: 0 14px; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px solid var(--trait); color: var(--blanc);
  font: 600 .98rem/1 var(--f-ar); transition: border-color .2s, background-color .2s;
}
.langue:lang(fr) { font-family: "Sora", sans-serif; font-size: .9rem; }
.langue:hover { border-color: var(--signal); background: var(--dalle); }
.entete__burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--trait); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.entete__burger svg { width: 22px; height: 22px; }

/* ---------- Héros ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--entete) + clamp(28px, 6vw, 72px));
  padding-bottom: clamp(40px, 6vw, 80px);
  min-height: min(100svh, 860px);
  display: flex; align-items: center;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(255, 255, 255, .055), transparent 70%),
    var(--noir);
  overflow: hidden;
}
[dir="rtl"] .hero { background: radial-gradient(60% 70% at 22% 45%, rgba(255, 255, 255, .055), transparent 70%), var(--noir); }
.hero__grille { display: grid; grid-template-columns: 1.2fr .9fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__adresse { display: inline-flex; align-items: center; gap: .5em; color: var(--gris); font-size: .92rem; margin-bottom: 22px; border-bottom: 1px solid var(--trait); padding-bottom: 4px; transition: color .2s, border-color .2s; }
.hero__adresse svg { width: 18px; height: 18px; color: var(--signal); }
.hero__adresse:hover { color: var(--blanc); border-color: var(--signal); }
.hero__titre { font-size: clamp(2rem, 1rem + 2.6vw, 3.25rem); max-width: 21ch; }
html[lang="ar"] .hero__titre { font-size: clamp(2.1rem, 1.2rem + 2.9vw, 3.6rem); max-width: 17ch; }
html[dir="ltr"] .hero__alt { text-align: left; }
html[dir="rtl"] .hero__alt { text-align: right; }
.hero__alt { margin-top: 16px; font: 600 clamp(1.1rem, .9rem + .8vw, 1.45rem)/1.5 var(--f-ar); color: var(--signal); }
.hero__alt:lang(fr) { font-family: "Unbounded", sans-serif; font-weight: 600; font-size: clamp(.95rem, .8rem + .5vw, 1.15rem); line-height: 1.4; }
.hero__sub { margin-top: 18px; color: var(--gris); font-size: 1.06rem; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__count { margin-top: 26px; font-size: .9rem; color: var(--gris); display: flex; align-items: center; gap: 10px; }
.hero__count:not(:empty)::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--signal); box-shadow: 0 2px 0 var(--signal-f); }

.hero__logo { position: relative; }
.hero__logo::after {
  content: ""; position: absolute; left: -30%; right: -30%; top: calc(108 / 152 * 100% - 1px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--trait) 25%, var(--trait) 75%, transparent);
  z-index: -1;
}
.logo-anim { width: 100%; max-width: 640px; margin-inline: auto; overflow: visible; }

/* Ouverture du portable du logo */
.logo-anim .lg-lid { transform-box: fill-box; transform-origin: 50% 100%; animation: lg-ouvre 1s cubic-bezier(.2, .85, .25, 1) .25s both; }
.logo-anim .lg-key { transform-box: fill-box; transform-origin: 50% 100%; animation: lg-touche .55s cubic-bezier(.3, 1.35, .5, 1) both; }
.logo-anim .lg-key--1 { animation-delay: 1.05s; }
.logo-anim .lg-key--2 { animation-delay: 1.22s; }
.logo-anim .lg-tag { animation: lg-fondu .7s ease 1.45s both; }
@keyframes lg-ouvre {
  0% { transform: scaleY(.035); filter: brightness(.55); }
  70% { filter: brightness(1); }
  100% { transform: scaleY(1); filter: none; }
}
@keyframes lg-touche {
  0% { opacity: 0; transform: translateY(-16px); }
  55% { opacity: 1; transform: translateY(2px); }
  100% { opacity: 1; transform: none; }
}
@keyframes lg-fondu { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero__texte > * { animation: monte .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero__texte > :nth-child(1) { animation-delay: .5s; }
.hero__texte > :nth-child(2) { animation-delay: .62s; }
.hero__texte > :nth-child(3) { animation-delay: .74s; }
.hero__texte > :nth-child(4) { animation-delay: .86s; }
.hero__texte > :nth-child(5) { animation-delay: .98s; }
.hero__texte > :nth-child(6) { animation-delay: 1.1s; }
@keyframes monte { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Atouts ---------- */
.atouts { border-block: 1px solid var(--trait); background: var(--noir-2); }
.atouts__liste { display: grid; grid-template-columns: repeat(4, 1fr); }
.atout { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; }
.atout + .atout { border-inline-start: 1px solid var(--trait); }
.atout__ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--dalle); box-shadow: 0 4px 0 #000, inset 0 0 0 1px var(--trait); color: var(--signal); --fond-ico: var(--dalle); }
.atout__ico svg { width: 24px; height: 24px; }
.atout strong { display: block; font-weight: 700; font-size: .98rem; line-height: 1.3; }
.atout span:not(.atout__ico) { display: block; margin-top: 4px; font-size: .86rem; color: var(--gris); line-height: 1.45; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec--dalle { background: var(--noir-2); border-block: 1px solid var(--trait); }
/* Deux sections sans fond qui se suivent (Marques puis Produits phares) : un seul espacement entre elles, pas deux */
.sec:not(.sec--dalle) + .sec:not(.sec--dalle) { padding-top: 0; }
.sec__tete { margin-bottom: clamp(24px, 3.5vw, 40px); }
.sec__tete h2 { font-size: clamp(1.6rem, 1.05rem + 1.9vw, 2.55rem); }
.sec__tete p { margin-top: 10px; color: var(--gris); max-width: 58ch; }
.sec__tete--ligne { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; }
.sec__suite { margin-top: 36px; }

/* ---------- Rayons ---------- */
.rayons { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; }
.rayon {
  position: relative; display: flex; align-items: flex-end; min-height: 300px; padding: 26px;
  border-radius: var(--r-l); overflow: hidden; background: var(--dalle); isolation: isolate;
  border: 1px solid var(--trait); transition: border-color .25s;
}
.rayon:hover { border-color: var(--signal); }
.rayon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.rayon:hover img { transform: scale(1.04); }
.rayon::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 12, 0) 30%, rgba(11, 11, 12, .92) 100%); }
.rayon__texte { display: flex; flex-direction: column; gap: 4px; }
.rayon__texte strong { font: 800 clamp(1.3rem, 1rem + 1vw, 1.9rem)/1.15 var(--f-titre); }
html[lang="ar"] .rayon__texte strong { font-weight: 700; }
.rayon__texte span { color: var(--gris); font-size: .95rem; }
.rayon__fleche { position: absolute; top: 22px; inset-inline-end: 22px; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--signal); color: var(--noir); box-shadow: 0 4px 0 var(--signal-f); transition: transform .15s, box-shadow .15s; }
.rayon:hover .rayon__fleche { transform: translateY(2px); box-shadow: 0 2px 0 var(--signal-f); }
.rayon__fleche svg { width: 22px; height: 22px; }
.rayon--accessoires::before { background: none; }
.rayon__motif { position: absolute; inset: 0; z-index: -1; }
.rayon--accessoires .rayon__motif {
  background-color: var(--dalle);
  background-image:
    linear-gradient(180deg, rgba(27, 28, 32, 0) 20%, var(--dalle) 85%),
    repeating-linear-gradient(0deg, transparent 0 34px, var(--dalle) 34px 42px),
    repeating-linear-gradient(90deg, #2A2B31 0 34px, var(--dalle) 34px 42px);
  background-position: 0 0, 8px 10px, 8px 10px;
}

/* ---------- Cartes produit ---------- */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.pcard { background: var(--dalle); border: 1px solid var(--trait); border-radius: var(--r-m); overflow: hidden; transition: border-color .25s, transform .25s; }
.pcard:hover { border-color: var(--signal); }
.pcard__lien { display: flex; flex-direction: column; height: 100%; }
.pcard__img { position: relative; aspect-ratio: 1; background: #101012; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pcard__badges--statique { position: static; align-items: center; margin-bottom: 16px; gap: 10px; }
.pcard__corps { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; flex: 1; }
.pcard__titre { font: 600 1.04rem/1.3 var(--f-texte); letter-spacing: 0; }
html[lang="ar"] .pcard__titre { font-weight: 600; line-height: 1.4; }
.pcard__marque { font-weight: 700; }
.pcard__titre { font-weight: 400; color: var(--chassis); }
.pcard__marque { color: var(--blanc); }
.pcard__specs { font-size: .84rem; color: var(--gris); line-height: 1.5; text-align: start; }
.pcard__prix { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }

.prix { font: 800 1.22rem/1.1 "Unbounded", "Readex Pro", sans-serif; color: var(--blanc); white-space: nowrap; }
.prix--grand { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); }
.prix-barre { color: var(--ombre); font-size: .92rem; white-space: nowrap; }

.badge { display: inline-block; padding: .38em .72em .34em; border-radius: 7px; font: 700 .74rem/1 var(--f-texte); letter-spacing: .01em; }
html[lang="ar"] .badge { font-size: .8rem; padding: .4em .75em .35em; }
.badge--promo { background: var(--signal); color: var(--noir); box-shadow: 0 3px 0 var(--signal-f); }
.badge--new { background: var(--blanc); color: var(--noir); box-shadow: 0 3px 0 var(--ombre); }

.etat { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 600; color: var(--gris); }
.etat::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--ombre); }
.etat--neuf { color: var(--blanc); }
.etat--neuf::before { background: var(--signal); }

/* Bande défilante (nouveautés) */
.defile {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-top: 28px;
  scrollbar-width: thin; scrollbar-color: var(--trait) transparent;
}
.defile > * { scroll-snap-align: start; }
.defile::-webkit-scrollbar { height: 6px; }
.defile::-webkit-scrollbar-thumb { background: var(--trait); border-radius: 6px; }
.defile-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; }
.defile-nav + .defile { margin-top: 18px; }
.defile-nav h3 { font: 700 1.05rem/1.2 var(--f-titre); letter-spacing: .01em; }
html[lang="ar"] .defile-nav h3 { font-weight: 600; }
.defile-nav__btns { display: flex; gap: 10px; }
.defile-nav__btns[hidden] { display: none; }
.defile-nav .vbtn { width: 44px; height: 44px; border-radius: 12px; }
.defile-nav .vbtn:disabled { opacity: .35; cursor: default; color: var(--blanc); transform: none; box-shadow: 0 4px 0 #000, inset 0 0 0 1px var(--trait); }

/* Promotion en vedette */
.vedette { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; border-radius: var(--r-l); overflow: hidden; background: var(--dalle); border: 1px solid var(--trait); transition: border-color .25s; }
.vedette:hover { border-color: var(--signal); }
.vedette__img { position: relative; overflow: hidden; min-height: 320px; max-height: 520px; background: #101012; }
.vedette__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.vedette:hover .vedette__img img { transform: scale(1.04); }
.vedette__corps { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.vedette__titre { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); }
.vedette__titre { font-weight: 600; }
.vedette__titre span { font-weight: 800; }
.vedette__specs { margin-top: 20px; display: grid; gap: 8px; color: var(--chassis); font-size: .95rem; width: 100%; }
.vedette__specs li { display: flex; gap: 10px; align-items: baseline; }
.vedette__specs li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; background: var(--signal); transform: translateY(-2px); }
.vedette__prix { margin: 26px 0 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.vedette__prix .prix-barre { font-size: 1.05rem; }
.economie { display: inline-block; padding: .4em .7em; border-radius: 8px; background: rgba(255, 106, 0, .14); color: var(--signal); font-weight: 700; font-size: .88rem; }

/* ---------- Marques ---------- */
.marques { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.marque {
  display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px; border-radius: var(--r-m);
  background: var(--dalle); box-shadow: 0 6px 0 #000, inset 0 0 0 1px var(--trait);
  transition: transform .12s, box-shadow .12s; margin-bottom: 6px;
}
.marque:hover { transform: translateY(3px); box-shadow: 0 3px 0 #000, inset 0 0 0 1px var(--signal); }
.marque:active { transform: translateY(6px); box-shadow: 0 0 0 #000, inset 0 0 0 1px var(--signal); }
.marque__nom { font: 800 1.45rem/1.1 "Unbounded", sans-serif; text-align: start; }
.marque__n { font-size: .86rem; color: var(--gris); }

/* ---------- Onglets ---------- */
.onglets { display: flex; flex-wrap: wrap; gap: 10px; }
.onglet {
  min-height: 44px; padding: .5em 1.05em; border-radius: 10px; cursor: pointer; border: 0;
  background: var(--dalle); color: var(--gris); font-weight: 600; font-size: .92rem;
  box-shadow: 0 4px 0 #000, inset 0 0 0 1px var(--trait); margin-bottom: 4px;
  transition: transform .12s, box-shadow .12s, color .2s;
}
.onglet:hover { color: var(--blanc); }
.onglet[aria-selected="true"] { background: var(--blanc); color: var(--noir); box-shadow: 0 4px 0 var(--ombre); }
.onglet:active { transform: translateY(4px); box-shadow: 0 0 0 #000; }

/* ---------- Visite / carte ---------- */
.visite__grille { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.visite__texte h2 { font-size: clamp(1.6rem, 1.05rem + 1.9vw, 2.55rem); }
.visite__adresse { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-weight: 600; font-size: 1.08rem; }
.visite__adresse svg { width: 22px; height: 22px; color: var(--signal); flex: none; }
.visite__note { margin-top: 10px; color: var(--gris); }
.visite__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.visite__social-titre { margin-top: 36px; font: 600 1rem var(--f-texte); color: var(--gris); }
.carte { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--trait); background: var(--dalle); aspect-ratio: 4 / 3; }
.carte iframe { width: 100%; height: 100%; border: 0; }

.social { display: grid; gap: 12px; margin-top: 14px; }
.social__lien { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--r-m); background: var(--dalle); border: 1px solid var(--trait); transition: border-color .2s; }
[dir="rtl"] .social__lien { padding: 12px 12px 12px 16px; }
.social__lien:hover { border-color: var(--signal); }
.social__lien > svg { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--noir); color: var(--signal); flex: none; }
.social__lien > span { display: flex; flex-direction: column; line-height: 1.35; }
.social__lien strong { font-weight: 700; }
.social__lien > span > span { color: var(--gris); font-size: .9rem; }

/* ---------- Pied de page ---------- */
.pied { background: #070708; border-top: 1px solid var(--trait); padding-top: clamp(48px, 6vw, 72px); }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 36px; }
.pied__marque img { width: 220px; height: auto; }
.pied__marque p { margin-top: 18px; color: var(--gris); font-size: .92rem; max-width: 36ch; }
.pied__titre { font: 700 .95rem/1.3 var(--f-texte); margin-bottom: 14px; letter-spacing: 0; }
.pied__liste { display: grid; gap: 10px; }
.pied__liste a { display: inline-flex; align-items: center; gap: 10px; color: var(--gris); font-size: .93rem; transition: color .2s; }
.pied__liste a:hover { color: var(--blanc); }
.pied__liste svg { width: 18px; height: 18px; color: var(--signal); flex: none; }
.pied__petit { margin-top: 12px; color: var(--ombre); font-size: .82rem; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-block: 22px 96px; border-top: 1px solid var(--trait); color: var(--ombre); font-size: .84rem; }

/* ---------- WhatsApp flottant ---------- */
.wa-flottant {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--signal); color: var(--noir); box-shadow: 0 5px 0 var(--signal-f), 0 12px 30px rgba(0, 0, 0, .45);
  transition: transform .12s, box-shadow .12s;
}
.wa-flottant svg { width: 30px; height: 30px; }
.menu-ouvert .wa-flottant, .filtres-ouverts .wa-flottant { display: none; }
.wa-flottant { transition: transform .12s, box-shadow .12s, opacity .2s, visibility 0s; }
.wa-flottant.wa-flottant--cache { opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .2s, transform .2s, visibility 0s .2s; }
.wa-flottant:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--signal-f), 0 10px 24px rgba(0, 0, 0, .45); }

/* ---------- En-tête de page intérieure ---------- */
.page-tete { padding-top: calc(var(--entete) + clamp(32px, 5vw, 64px)); padding-bottom: clamp(24px, 3vw, 36px); }
.page-tete h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem); }
.page-tete p { margin-top: 12px; color: var(--gris); max-width: 60ch; font-size: 1.04rem; }
.fil { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--gris); margin-bottom: 18px; }
.fil a:hover { color: var(--blanc); }
.fil li + li::before { content: "/"; margin-inline-end: 8px; color: var(--ombre); }

/* ---------- Catalogue ---------- */
.catalogue { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; align-items: start; padding-bottom: clamp(56px, 8vw, 104px); }
.filtres { position: sticky; top: calc(var(--entete) + 16px); max-height: calc(100vh - var(--entete) - 32px); overflow: auto; padding: 4px 6px 24px 2px; scrollbar-width: thin; scrollbar-color: var(--trait) transparent; }
.filtres__tete { display: none; }
.filtre { border: 0; margin: 0 0 22px; padding: 0 0 20px; border-bottom: 1px solid var(--trait); min-width: 0; }
.filtre legend { padding: 0; margin-bottom: 12px; font-weight: 700; font-size: .92rem; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { position: relative; }
.puce input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.puce span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: .4em .8em; border-radius: 9px;
  background: var(--dalle); color: var(--chassis); font-size: .86rem; font-weight: 600;
  box-shadow: 0 3px 0 #000, inset 0 0 0 1px var(--trait); margin-bottom: 3px;
  transition: transform .1s, box-shadow .1s, background-color .15s, color .15s;
}
.puce span small { color: var(--ombre); font-weight: 600; font-size: .78rem; }
.puce input:hover + span { box-shadow: 0 3px 0 #000, inset 0 0 0 1px var(--ombre); }
.puce input:checked + span { background: var(--signal); color: var(--noir); box-shadow: 0 3px 0 var(--signal-f); }
.puce input:checked + span small { color: rgba(11, 11, 12, .65); }
.puce input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 3px; }
.puce input:active + span { transform: translateY(3px); box-shadow: 0 0 0 #000; }
.prix-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.champ-court { width: 100%; height: 44px; padding: 0 12px; border-radius: 10px; background: #0F0F11; border: 1px solid var(--trait); color: var(--blanc); }
.champ-court:focus { border-color: var(--signal); outline: none; }
.lien-reset { background: none; border: 0; padding: 6px 0; color: var(--signal); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

.outils { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.recherche { position: relative; flex: 1 1 280px; }
.recherche svg { position: absolute; top: 50%; inset-inline-start: 14px; width: 20px; height: 20px; transform: translateY(-50%); color: var(--gris); pointer-events: none; }
.recherche input { width: 100%; height: 50px; padding-inline: 46px 14px; border-radius: 12px; background: var(--dalle); border: 1px solid var(--trait); color: var(--blanc); }
.recherche input:focus, .tri select:focus { border-color: var(--signal); outline: none; }
.recherche input::placeholder { color: var(--ombre); }
.tri { display: flex; align-items: center; gap: 10px; color: var(--gris); font-size: .9rem; }
.tri select { height: 50px; padding: 0 38px 0 14px; border-radius: 12px; background: var(--dalle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23A7A8AE' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; border: 1px solid var(--trait); color: var(--blanc); appearance: none; cursor: pointer; }
[dir="rtl"] .tri select { padding: 0 14px 0 38px; background-position: left 12px center; }
.btn-filtres { display: none; }
.resultat { margin-bottom: 18px; color: var(--gris); font-size: .92rem; }
.vide { padding: 48px 28px; border-radius: var(--r-l); background: var(--dalle); border: 1px dashed var(--trait); text-align: center; }
.vide h2 { font-size: 1.3rem; }
.vide p { margin: 10px auto 24px; color: var(--gris); max-width: 50ch; }
.vide .key { margin-inline: 6px; }

/* ---------- Fiche produit ---------- */
.fiche { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.galerie { position: sticky; top: calc(var(--entete) + 16px); }
.galerie__principale { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 1px solid var(--trait); border-radius: var(--r-l); overflow: hidden; background: #101012; cursor: zoom-in; }
.galerie__principale img { width: 100%; height: 100%; object-fit: contain; }
.galerie__zoom { position: absolute; bottom: 14px; inset-inline-end: 14px; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: rgba(11, 11, 12, .8); color: var(--blanc); border: 1px solid var(--trait); }
.galerie__zoom svg { width: 20px; height: 20px; }
.galerie__compteur { position: absolute; bottom: 14px; inset-inline-start: 14px; padding: 6px 10px; border-radius: 8px; background: rgba(11, 11, 12, .8); font-size: .8rem; color: var(--chassis); }
.vignettes { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--trait) transparent; }
.vignette { flex: none; width: 76px; height: 76px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #101012; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.vignette img { width: 100%; height: 100%; object-fit: cover; }
.vignette:hover { opacity: 1; }
.vignette[aria-current="true"] { border-color: var(--signal); opacity: 1; }

.fiche__info h1 { font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.6rem); margin-top: 4px; }
.fiche__info h1 { font-weight: 600; }
.fiche__info h1 span { font-weight: 800; }
.fiche__etat { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; }
.fiche__etat .etat { font-size: .9rem; }
.garantie-puce { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--chassis); }
.garantie-puce svg { width: 18px; height: 18px; color: var(--signal); }
.fiche__prix { margin-top: 26px; padding: 22px 24px; border-radius: var(--r-m); background: var(--dalle); border: 1px solid var(--trait); }
.fiche__prix-ligne { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.fiche__prix .economie { margin-top: 12px; }
.fiche__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.fiche__cta .key { flex: 1 1 auto; }
.fiche__cta .key span { white-space: nowrap; }
.rassure { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.rassure li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--trait); font-size: .88rem; font-weight: 600; line-height: 1.35; }
.rassure svg { width: 22px; height: 22px; color: var(--signal); flex: none; --fond-ico: var(--noir); }
.fiche__infos { margin-top: 20px; color: var(--gris); font-size: .92rem; }

.fiche__bas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4.5vw, 64px); margin-top: clamp(48px, 7vw, 88px); align-items: start; }
.fiche__bas h2 { font-size: clamp(1.35rem, 1.05rem + 1vw, 1.9rem); margin-bottom: 20px; }
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs th, .specs td { padding: 14px 0; border-bottom: 1px solid var(--trait); text-align: start; vertical-align: top; }
.specs th { width: 38%; color: var(--gris); font-weight: 600; padding-inline-end: 16px; }

/* Formulaire de commande */
.commande { padding: clamp(22px, 3.5vw, 36px); border-radius: var(--r-l); background: var(--dalle); border: 1px solid var(--trait); }
.commande > p { color: var(--gris); margin: -8px 0 22px; font-size: .95rem; }
.commande__produit { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; background: var(--noir); border: 1px solid var(--trait); margin-bottom: 22px; }
.commande__produit img { width: 64px; height: 64px; border-radius: 9px; object-fit: cover; flex: none; }
.commande__produit strong { display: block; font-size: .95rem; line-height: 1.35; }
.commande__produit span { color: var(--gris); font-size: .86rem; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.champ { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.champ--large { grid-column: 1 / -1; }
.champ label { font-weight: 600; font-size: .9rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 11px;
  background: #0F0F11; border: 1px solid var(--trait); color: var(--blanc); font-size: 1rem;
  transition: border-color .2s;
}
.champ textarea { min-height: 88px; resize: vertical; }
.champ select { appearance: none; padding-inline-end: 40px; background: #0F0F11 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23A7A8AE' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
[dir="rtl"] .champ select { background-position: left 14px center; padding-inline: 14px 40px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--signal); outline: none; }
.champ input::placeholder, .champ textarea::placeholder { color: var(--ombre); }
.champ input[type="tel"] { direction: ltr; }
[dir="rtl"] .champ input[type="tel"] { text-align: right; }
.champ__aide { font-size: .8rem; color: var(--ombre); }
.champ__err { font-size: .84rem; color: var(--erreur); font-weight: 600; display: none; }
.champ.invalide input, .champ.invalide select { border-color: var(--erreur); }
.champ.invalide .champ__err { display: block; }
.champ.invalide .champ__aide { display: none; }
.qte { display: flex; align-items: stretch; height: 50px; border-radius: 11px; border: 1px solid var(--trait); background: #0F0F11; overflow: hidden; }
.qte button { width: 50px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--blanc); }
.qte button:hover { background: var(--dalle-2); color: var(--signal); }
.qte input { flex: 1; min-height: 0; border: 0; text-align: center; background: transparent; border-radius: 0; padding: 0; font-weight: 700; -moz-appearance: textfield; }
.qte input::-webkit-outer-spin-button, .qte input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.commande__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 24px 0 18px; padding-top: 18px; border-top: 1px solid var(--trait); }
.commande__total > span:first-child { color: var(--gris); font-weight: 600; }
.commande__note { margin-top: 10px; font-size: .84rem; color: var(--gris); text-align: center; }
.commande__ok { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 106, 0, .12); color: var(--chassis); font-size: .9rem; display: none; }
.commande__ok.visible { display: block; }

.similaires { margin-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.similaires h2 { font-size: clamp(1.35rem, 1.05rem + 1vw, 1.9rem); margin-bottom: 24px; }

/* Visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 90; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 6, 7, .97); color: var(--blanc); }
.visionneuse::backdrop { background: rgba(6, 6, 7, .9); }
.visionneuse[open] { display: grid; grid-template-rows: auto 1fr auto; }
.visionneuse__haut { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.visionneuse__compteur { font-size: .9rem; color: var(--gris); }
.visionneuse__scene { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 72px; touch-action: pan-y; }
.visionneuse__scene img { max-width: 100%; max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); object-fit: contain; border-radius: 10px; user-select: none; }
.vbtn { width: 50px; height: 50px; border-radius: 13px; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--dalle-2); color: var(--blanc); box-shadow: 0 4px 0 #000, inset 0 0 0 1px var(--trait); transition: transform .1s, box-shadow .1s; }
.vbtn:hover { color: var(--signal); }
.vbtn:active { transform: translateY(4px); box-shadow: 0 0 0 #000; }
.vbtn svg { width: 24px; height: 24px; }
.vbtn--prec, .vbtn--suiv { position: absolute; top: 50%; transform: translateY(-50%); }
.vbtn--prec:active, .vbtn--suiv:active { transform: translateY(calc(-50% + 4px)); }
.vbtn--prec { inset-inline-start: 14px; }
.vbtn--suiv { inset-inline-end: 14px; }
[dir="rtl"] .vbtn--prec svg, [dir="rtl"] .vbtn--suiv svg { transform: scaleX(-1); }
.visionneuse__vignettes { display: flex; gap: 8px; justify-content: center; padding: 14px; overflow-x: auto; }
.visionneuse__vignettes .vignette { width: 58px; height: 58px; }

/* ---------- Accessoires ---------- */
.acc-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.acc-tuile { position: relative; padding: 24px 22px; min-height: 190px; border-radius: var(--r-l); background: var(--dalle); border: 1px solid var(--trait); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.acc-tuile svg { width: 52px; height: 52px; padding: 10px; border-radius: 12px; background: var(--noir); box-shadow: 0 4px 0 #000, inset 0 0 0 1px var(--trait); color: var(--signal); }
.acc-tuile h2 { font-size: 1.25rem; margin-top: 18px; }
.acc-tuile .bientot { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--gris); font-weight: 600; }
.acc-tuile .bientot::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--ombre); }
.demande { margin-top: 28px; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-l); background: var(--signal); color: var(--noir); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.demande h2 { font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); }
.demande p { margin-top: 8px; font-weight: 600; max-width: 48ch; }
.demande .key { --k-fond: var(--noir); --k-texte: var(--blanc); --k-ombre: #000; }

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding-bottom: clamp(48px, 7vw, 88px); }
.bloc { padding: 24px; border-radius: var(--r-l); background: var(--dalle); border: 1px solid var(--trait); }
.bloc + .bloc { margin-top: 18px; }
.bloc h2 { font: 700 1rem/1.3 var(--f-texte); color: var(--gris); margin-bottom: 12px; letter-spacing: 0; }
.bloc__gros { font: 800 1.2rem/1.35 var(--f-titre); }
html[lang="ar"] .bloc__gros { font-weight: 700; }
.bloc__gros .chiffres { font-family: "Unbounded", sans-serif; letter-spacing: .01em; direction: ltr; }
.bloc__note { margin-top: 8px; color: var(--gris); font-size: .9rem; }
.bloc__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.liste-atouts { display: grid; gap: 14px; }
.liste-atouts li { display: flex; gap: 12px; align-items: flex-start; }
.liste-atouts svg { width: 24px; height: 24px; color: var(--signal); flex: none; --fond-ico: var(--dalle); }
.liste-atouts strong { display: block; }
.liste-atouts span { color: var(--gris); font-size: .88rem; }
.carte--haute { aspect-ratio: auto; height: clamp(360px, 52vw, 560px); }
/* Ordinateur : la carte prend toute la hauteur de la colonne de gauche (pas de trou sous la carte) */
@media (min-width: 961px) {
  .contact-grille > .carte--haute { align-self: stretch; height: auto; min-height: 560px; }
}
.reseaux { padding-bottom: clamp(56px, 8vw, 104px); }
.reseaux .social { grid-template-columns: 1fr 1fr; margin-top: 0; }
.reseaux .social__lien { padding: 18px 20px 18px 18px; }
.reseaux .social__lien > svg { width: 56px; height: 56px; padding: 13px; }
.reseaux .social__lien strong { font-size: 1.1rem; }

/* ---------- Promotions, accessoires ---------- */
.titre-sec { font-size: clamp(1.35rem, 1.05rem + 1vw, 1.9rem); margin-bottom: 22px; }
.bloc-promos { padding-bottom: clamp(48px, 7vw, 88px); }
.liste-promos { display: grid; gap: 22px; }
.bloc-acc { padding-bottom: clamp(56px, 8vw, 104px); }
p.vide { color: var(--gris); }

/* ---------- Apparitions ---------- */
/* Arabe : textes masqués jusqu'à la traduction (classe posée par le script en ligne du <head>) */
html.i18n-attente [data-i18n] { visibility: hidden; }

html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
html.js .rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .atouts__liste { grid-template-columns: repeat(2, 1fr); }
  .atout:nth-child(3) { border-inline-start: 0; }
  .atout:nth-child(n + 3) { border-top: 1px solid var(--trait); }
  .defile { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .acc-grille { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --entete: 64px; }
  .entete__logo img { width: 124px; }
  .entete__burger { display: inline-flex; }
  .entete__nav {
    position: fixed; inset: var(--entete) 0 0 0; z-index: 49; display: flex; flex-direction: column; justify-content: space-between;
    padding: 18px var(--gout) 28px; background: var(--noir); border-top: 1px solid var(--trait);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
    overflow-y: auto;
  }
  .menu-ouvert .entete__nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .menu-ouvert body { overflow: hidden; }
  .entete__nav ul { flex-direction: column; gap: 0; }
  .entete__nav ul a { padding: 16px 4px; font: 700 1.35rem/1.2 var(--f-titre); color: var(--blanc); border-bottom: 1px solid var(--trait); border-radius: 0; }
  html[lang="ar"] .entete__nav ul a { font-weight: 600; }
  .entete__nav ul a:hover { background: none; color: var(--signal); }
  .entete__nav ul a[aria-current="page"] { color: var(--signal); box-shadow: none; border-radius: 0; }
  .entete__nav-pied { display: grid; gap: 14px; margin-top: 28px; }
  .entete__nav-pied .key { width: 100%; }

  .hero { min-height: 0; }
  .hero__grille { grid-template-columns: 1fr; gap: 28px; }
  .hero__logo { order: -1; max-width: 460px; width: 100%; margin-inline: auto; }
  .hero__texte { text-align: start; }

  .rayons { grid-template-columns: 1fr; }
  .rayon { min-height: 240px; }
  .vedette { grid-template-columns: 1fr; }
  .vedette__img { min-height: 0; max-height: none; aspect-ratio: 4 / 3.4; }
  .visite__grille { grid-template-columns: 1fr; }

  .catalogue { grid-template-columns: 1fr; }
  .btn-filtres { display: inline-flex; }
  .filtres {
    position: fixed; inset: 0; z-index: 80; max-height: none; top: 0; padding: 0;
    background: var(--noir); display: flex; flex-direction: column;
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s;
  }
  .filtres-ouverts .filtres { visibility: visible; opacity: 1; transition: opacity .2s; }
  .filtres-ouverts body { overflow: hidden; }
  .filtres__tete { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gout); border-bottom: 1px solid var(--trait); }
  .filtres__tete h2 { font-size: 1.2rem; }
  .filtres__corps { flex: 1; overflow-y: auto; padding: 20px var(--gout); }
  .filtres__pied { padding: 14px var(--gout) 18px; border-top: 1px solid var(--trait); display: flex; gap: 14px; align-items: center; }
  .filtres__pied .key { flex: 1; }

  .fiche, .fiche__bas, .contact-grille { grid-template-columns: minmax(0, 1fr); }
  .galerie { position: static; }
}
@media (min-width: 961px) {
  .filtres__pied .key { display: none; }
}

@media (max-width: 640px) {
  :root { --gout: 16px; }
  .entete__wa span { display: none; }
  .entete__wa { padding: 0; width: 42px; }
  .langue { padding: 0 11px; }
  .hero__cta .key { flex: 1 1 100%; }
  .atouts__liste { grid-template-columns: 1fr; }
  .atout { padding: 18px 4px; }
  .atout + .atout { border-inline-start: 0; border-top: 1px solid var(--trait); }
  .defile { grid-auto-columns: 74%; }
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard__corps { padding: 12px 12px 14px; gap: 5px; }
  .pcard__titre { font-size: .9rem; }
  .pcard__specs { font-size: .76rem; }
  .prix { font-size: 1rem; }
  .prix--grand { font-size: 1.9rem; }
  .prix-barre { font-size: .8rem; }
  .pcard__badges { top: 8px; inset-inline-start: 8px; gap: 6px; }
  .badge { font-size: .66rem; }
  .marques { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .marque { padding: 16px; }
  .marque__nom { font-size: 1.15rem; }
  .pied__grille { grid-template-columns: 1fr; gap: 30px; }
  .rassure { grid-template-columns: 1fr; }
  .fiche__cta .key { flex: 1 1 100%; }
  .champs { grid-template-columns: 1fr; }
  .acc-grille { grid-template-columns: 1fr 1fr; gap: 12px; }
  .acc-tuile { min-height: 160px; padding: 18px; }
  .acc-tuile .bientot { font-size: .78rem; white-space: nowrap; }
  .acc-tuile h2 { font-size: 1.05rem; }
  .reseaux .social { grid-template-columns: 1fr; }
  .visionneuse__scene { padding: 0 8px 84px; }
  .vbtn--prec, .vbtn--suiv { top: auto; bottom: 14px; transform: none; }
  .vbtn--prec { inset-inline-start: calc(50% - 64px); }
  .vbtn--suiv { inset-inline-end: calc(50% - 64px); }
  .vbtn--prec:active, .vbtn--suiv:active { transform: translateY(4px); }
  .visionneuse__vignettes { display: none; }
  .onglets { flex-wrap: wrap; gap: 8px; width: 100%; }
  .onglet { flex: none; padding: .5em .8em; font-size: .86rem; }
  .defile-nav__btns { display: none; }
  .defile-nav { margin-top: 32px; }
  /* Bouton WhatsApp flottant : plus petit, et de la place en bas pour que rien ne passe dessous */
  .wa-flottant { width: 48px; height: 48px; border-radius: 14px; bottom: 16px; inset-inline-end: 16px; }
  .wa-flottant svg { width: 25px; height: 25px; }
  main { padding-bottom: 88px; }
  .pied__bas { padding-bottom: 88px; }
  .hero__logo { max-width: 330px; }
  .tri { flex: 1; }
  .tri select { flex: 1; }
  .outils .btn-filtres { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js .rv { opacity: 1; transform: none; }
}
