/* ==========================================================
   MESTOU ENERGIE - direction visuelle premium
   Direction : clair, épuré, premium. Blanc / gris clair,
   typographie nette (Albert Sans), boutons pilule, grandes
   cartes aérées. Accent brand rouge Mestou conservé.
   HTML et JS identiques à la version d'origine.
   ========================================================== */

:root {
  /* Fonds sombres, comme le site original */
  --fond: #0a0a0c;         /* fond de page */
  --surface: #131317;      /* cartes / panneaux */
  --gris-05: #0e0e12;
  --gris-10: #101015;      /* sections alternées, tuiles, champs */
  --gris-15: #17171d;
  --gris-ligne: #26262c;
  --gris-ligne-2: #34343c;

  /* Textes (clairs sur fond sombre) */
  --encre: #f4f2ee;        /* titres / texte fort */
  --encre-2: #cfccc6;
  --gris: #9d9a94;         /* texte secondaire */
  --gris-doux: #7e7c77;

  /* Accents */
  --rouge: #e8332a;        /* accent brand Mestou */
  --rouge-sombre: #b3231c;
  --bleu: #5b9dff;         /* liens (clair pour rester lisible sur sombre) */
  --vert-wa: #22c55e;
  --vert-wa-sombre: #15803d;
  --noir-btn: #e8332a;

  /* Compat styles inline du HTML : var(--blanc)=texte clair, var(--noir*)=fonds sombres */
  --blanc: #f4f2ee;
  --noir: #0a0a0c;
  --noir-2: #101014;
  --noir-3: #17171d;

  --font-display: "Albert Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Albert Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .55);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, .40);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Les ancres s'arrêtent sous l'en-tête collant, pas derrière */
[id] { scroll-margin-top: 86px; }

body {
  background: var(--fond);
  color: var(--encre);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--rouge); color: #fff; }

img { max-width: 100%; display: block; }

a { color: inherit; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* --------- Typographie --------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: none;
  line-height: 1.08;
  color: var(--encre);
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.03em; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.45rem); letter-spacing: -.01em; }

.rouge { color: var(--rouge); }
.muted { color: var(--gris); }

/* Filet d'accent discret entre sections */
.hazard {
  height: 1px;
  border: none;
  background: var(--gris-ligne);
}

/* --------- Header --------- */
header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10, 10, 12, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gris-ligne);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 18px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .01em;
  color: var(--encre);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logo .bolt {
  width: 30px; height: 30px;
  background: var(--rouge);
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}

.logo .bolt svg { width: 17px; height: 17px; fill: #fff; }

.logo em { font-style: normal; color: var(--rouge); }

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: .93rem;
  font-weight: 600;
  color: var(--encre-2);
  transition: color .2s var(--ease);
  position: relative;
}

.nav-links a:not(.nav-cta):not(.lang-switch)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -7px;
  width: 100%; height: 2px;
  background: var(--encre);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav-links a:not(.nav-cta):not(.lang-switch):hover::after,
.nav-links a.actif::after { transform: scaleX(1); }

.nav-links a:hover, .nav-links a.actif { color: var(--encre); }

.nav-cta {
  background: var(--noir-btn);
  color: #fff !important;
  padding: 11px 20px;
  border-radius: 100px;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}

.nav-cta:hover { background: #000; transform: translateY(-1px); }

.nav-cta svg { width: 16px; height: 16px; fill: currentColor; }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--gris-ligne-2);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--encre);
  margin: 4px 0;
  transition: .25s;
}

/* Sélecteur de langue FR | EN */
.nav-links .lang-switch {
  border: 1px solid var(--gris-ligne-2);
  border-radius: 9px;
  padding: 6px 12px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--encre-2);
}
.nav-links .lang-switch:hover { border-color: var(--encre); color: var(--encre); }

/* Drapeaux (SVG inline, sans clip-path pour pouvoir être dupliqués) */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; }
.uk-flag, .fr-flag { width: 22px; height: auto; border-radius: 2px; display: block; flex: none; }

/* Actions rapides toujours visibles sur mobile : Nos Box · Contact · Devis · drapeau */
.nav-quick { display: none; align-items: center; gap: 6px; }
.nav-quick-pill {
  background: var(--surface); color: var(--encre-2);
  font-size: .78rem; font-weight: 700; white-space: nowrap;
  padding: 7px 12px; border-radius: 100px;
  border: 1px solid var(--gris-ligne-2); text-decoration: none;
}
.nav-quick-pill:hover { border-color: var(--encre); color: var(--encre); }
.nav-quick-cta {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--vert-wa); color: #06210f;
  font-size: .78rem; font-weight: 800; white-space: nowrap;
  padding: 8px 12px; border-radius: 100px; text-decoration: none;
}
.nav-quick-cta svg { width: 14px; height: 14px; fill: currentColor; }
.nav-quick-lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--gris-ligne-2); border-radius: 8px;
  padding: 5px 7px; text-decoration: none;
}

/* --------- Hero --------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 116px) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(28, 98, 214, .07), transparent 60%),
    linear-gradient(180deg, var(--gris-10), var(--fond) 70%);
}

.hero::before, .hero::after { content: none; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.badge-ligne {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gris-ligne);
  background: var(--surface);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.badge-ligne .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--vert-wa);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .16);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,.16); }
  50% { box-shadow: 0 0 0 8px rgba(34,197,94,.04); }
}

.hero p.accroche {
  margin: 22px 0 30px;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--gris);
  max-width: 34rem;
}

.hero p.accroche strong { color: var(--encre); font-weight: 700; }

.cta-groupe { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* --------- Boutons (pilule, plat, épuré) --------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .2s var(--ease), background .2s var(--ease),
              box-shadow .2s var(--ease), border-color .2s var(--ease), color .2s;
  border: 1.5px solid transparent;
  cursor: pointer;
  position: relative;
}

.btn:active { transform: scale(.98); }

.btn-wa {
  background: var(--vert-wa);
  color: #06210f;
}

.btn-wa:hover { background: #1eb555; transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-wa svg { width: 20px; height: 20px; fill: currentColor; }

.btn-ligne {
  border: 1.5px solid var(--gris-ligne-2);
  color: var(--encre);
  background: var(--surface);
}

.btn-ligne:hover { border-color: var(--encre); color: var(--encre); transform: translateY(-2px); }

/* Bouton principal : pilule noire (neutre) */
.btn-rouge {
  background: var(--noir-btn);
  color: #fff;
}

.btn-rouge:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.hero-visuel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gris-10);
  border: 1px solid var(--gris-ligne);
  box-shadow: var(--shadow);
}

.hero-visuel img { width: 100%; height: auto; }

.hero-visuel .etiquette {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  border: 1px solid var(--gris-ligne);
  border-left: 4px solid var(--rouge);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--encre);
}

.hero-visuel .etiquette small {
  display: block;
  color: var(--gris);
  font-weight: 600;
  font-size: .75rem;
}

.micro-reassurance {
  margin-top: 16px;
  font-size: .82rem;
  color: var(--gris);
  display: flex;
  align-items: center;
  gap: 8px;
}

.micro-reassurance::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--vert-wa);
  flex: none;
}

/* --------- Bandeau confiance --------- */
.confiance {
  border-block: 1px solid var(--gris-ligne);
  background: var(--gris-10);
}

.confiance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gris-ligne);
}

.confiance-item {
  background: var(--gris-10);
  padding: 28px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.confiance-item svg { width: 26px; height: 26px; fill: var(--rouge); flex: none; margin-top: 3px; }

.confiance-item b { display: block; font-size: 1rem; color: var(--encre); }

.confiance-item span { font-size: .86rem; color: var(--gris); }

/* --------- Sections --------- */
section { padding: clamp(62px, 8.5vw, 118px) 0; }

.section-tete { max-width: 48rem; margin-bottom: clamp(34px, 5vw, 58px); }

.surtitre {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.surtitre::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--rouge);
}

.section-tete p { color: var(--gris); margin-top: 14px; font-size: 1.05rem; }
.section-tete h2 b { color: var(--encre) !important; }

/* --------- Cartes produits --------- */
.grille-produits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.carte {
  background: var(--surface);
  border: 1px solid var(--gris-ligne);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.carte:hover {
  transform: translateY(-6px);
  border-color: var(--gris-ligne-2);
  box-shadow: var(--shadow);
}

.carte.vedette { border-color: var(--rouge); position: relative; }

.carte.vedette::before {
  content: "★ BEST-SELLER";
  position: absolute;
  top: 16px; left: 16px;
  background: var(--rouge);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 6px 12px;
  border-radius: 100px;
  z-index: 2;
}

.carte-visuel {
  background: var(--gris-10);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--gris-ligne);
}

.carte-visuel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s var(--ease);
}

.carte:hover .carte-visuel img { transform: scale(1.04); }

/* Cartes résidentielles : visuel portrait */
#residentiel .carte-visuel { aspect-ratio: 2 / 3; }

.carte-visuel .picto-box { width: 62%; height: auto; }

.carte-corps { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }

.carte-corps h3 { margin-bottom: 4px; }

.best-tag {
  display: inline-block;
  color: var(--rouge);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .01em;
  margin: 2px 0 8px;
}

.carte-corps .usage {
  color: var(--gris);
  font-size: .92rem;
  min-height: 2.9em;
  margin-bottom: 16px;
}

.specs {
  list-style: none;
  border-top: 1px solid var(--gris-ligne);
  padding-top: 16px;
  margin-bottom: 18px;
  font-size: .92rem;
  display: grid;
  gap: 8px;
}

.specs li { display: flex; justify-content: space-between; gap: 12px; }

.specs li span:first-child { color: var(--gris); }

.specs li b { font-weight: 700; text-align: right; color: var(--encre); }

.prix { margin-top: auto; }

.prix .eur {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -.02em;
  color: var(--encre);
}

.prix .kmf {
  color: var(--gris);
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.carte .btn { width: 100%; justify-content: center; font-size: .95rem; padding: 13px 18px; }

.note-gamme {
  margin-top: 28px;
  font-size: .9rem;
  color: var(--gris);
  border-left: 3px solid var(--gris-ligne-2);
  padding-left: 16px;
  max-width: 48rem;
}
.note-gamme b { color: var(--encre); }

/* --------- Étapes / process --------- */
.etapes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: etape;
}

.etape {
  background: var(--gris-10);
  border: 1px solid var(--gris-ligne);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.etape:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.etape::before {
  counter-increment: etape;
  content: "0" counter(etape);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--rouge);
  display: block;
  margin-bottom: 12px;
  letter-spacing: -.03em;
}

.etape b { display: block; margin-bottom: 8px; font-size: 1.04rem; color: var(--encre); }

.etape p { font-size: .9rem; color: var(--gris); }

/* --------- MAKINI --------- */
.makini {
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(28, 98, 214, .06), transparent 60%),
    var(--gris-10);
  border-block: 1px solid var(--gris-ligne);
}

.makini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.makini-prix {
  background: var(--surface);
  border: 1px solid var(--gris-ligne);
  border-radius: var(--radius-lg);
  padding: 34px;
  text-align: center;
  box-shadow: var(--shadow);
}

.makini-prix .display { font-size: 2.5rem; color: var(--encre); }

.makini-prix .ou {
  display: block;
  margin: 8px 0;
  color: var(--gris-doux);
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.liste-check { list-style: none; display: grid; gap: 14px; margin: 22px 0 26px; }

.liste-check li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; color: var(--encre-2); }

.liste-check li b { color: var(--encre); }

.liste-check svg { width: 20px; height: 20px; flex: none; margin-top: 3px; fill: var(--vert-wa-sombre); }

.liste-check.croix svg { fill: var(--rouge); }

.petit-note { font-size: .82rem; color: var(--gris); }

/* --------- Diaspora --------- */
.diaspora-carte {
  background: linear-gradient(140deg, var(--gris-10), var(--gris-15));
  border: 1px solid var(--gris-ligne);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.diaspora-carte::after {
  content: "DIASPORA";
  position: absolute;
  right: -18px; bottom: -30px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 6.5rem;
  letter-spacing: -.03em;
  color: rgba(17, 19, 23, .04);
  pointer-events: none;
}

/* --------- SAV / réalisations --------- */
.sav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Les 3 étapes du SAV se numérotent 01, 02, 03 (compteur propre à la section) */
#sav .sav-grid { counter-reset: etape; }

.sav-grid .carte-corps b { color: var(--encre); }

/* --------- FAQ --------- */
details {
  border: 1px solid var(--gris-ligne);
  border-radius: 14px;
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

details[open] { box-shadow: var(--shadow-soft); border-color: var(--gris-ligne-2); }

summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--encre);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--rouge);
  transition: transform .2s;
}

details[open] summary::after { transform: rotate(45deg); }

details .rep { padding: 0 24px 22px; color: var(--gris); font-size: .96rem; }
details .rep a { color: var(--bleu) !important; text-decoration: none; font-weight: 600; }
details .rep a:hover { text-decoration: underline; }

/* --------- Contact --------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.contact-bloc {
  background: var(--surface);
  border: 1px solid var(--gris-ligne);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.contact-bloc h3 { margin-bottom: 14px; }

.contact-bloc p { color: var(--gris); font-size: .96rem; margin-bottom: 8px; }

.contact-bloc p b { color: var(--encre); }

.contact-bloc .btn { margin-top: 16px; }

/* --------- Footer --------- */
footer {
  border-top: 1px solid var(--gris-ligne);
  background: var(--gris-10);
  padding: 54px 0 34px;
  font-size: .92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-grid .logo { color: var(--encre); }

footer h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--encre);
}

footer ul { list-style: none; display: grid; gap: 10px; }

footer a { color: var(--gris); text-decoration: none; }

footer a:hover { color: var(--encre); }

footer p { color: var(--gris); }

.footer-bas {
  border-top: 1px solid var(--gris-ligne);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--gris-doux);
  font-size: .82rem;
}
.footer-bas a { color: var(--gris); }

/* --------- Bouton WhatsApp flottant --------- */
.wa-fab {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 95;
}

#waBtn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--vert-wa);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(34, 197, 94, .38);
  transition: transform .2s;
}

#waBtn:hover { transform: scale(1.08); }

#waBtn svg { width: 30px; height: 30px; fill: #fff; }

.wa-menu {
  position: absolute;
  bottom: 72px; right: 0;
  background: var(--surface);
  border: 1px solid var(--gris-ligne);
  border-radius: 16px;
  padding: 10px;
  width: 246px;
  display: none;
  box-shadow: var(--shadow);
}

.wa-menu.ouvert { display: block; animation: monte .2s ease; }

@keyframes monte {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.wa-menu a {
  display: block;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--encre);
}

.wa-menu a small { display: block; color: var(--gris); font-weight: 500; font-size: .78rem; }

.wa-menu a:hover { background: var(--gris-10); }

/* Ligne d'indication (non cliquable) : numéro comorien affiché pour info */
.wa-menu .wa-info {
  display: block;
  padding: 10px 14px 4px;
  margin-top: 4px;
  border-top: 1px solid var(--gris-ligne);
  font-size: .82rem;
  font-weight: 700;
  color: var(--gris);
}

.wa-menu .wa-info small { display: block; color: var(--gris-doux); font-weight: 500; font-size: .78rem; }

/* --------- Pages internes (garantie, CGV) --------- */
.page-tete {
  padding: clamp(46px, 7vw, 76px) 0 clamp(30px, 5vw, 50px);
  background: linear-gradient(180deg, var(--gris-10), var(--fond));
  border-bottom: 1px solid var(--gris-ligne);
}

.prose { max-width: 54rem; }

.prose h2 { margin: 44px 0 16px; font-size: 1.55rem; }

.prose h3 { margin: 28px 0 10px; font-size: 1.1rem; color: var(--encre); }

.prose p, .prose li { color: var(--encre-2); font-size: .98rem; }

.prose a { color: var(--bleu); }

.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; }

.prose li { margin-bottom: 7px; }

.prose .encadre {
  background: var(--gris-10);
  border: 1px solid var(--gris-ligne);
  border-left: 4px solid var(--rouge);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 20px 0;
}

.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 26px 0; }

.version-cgv {
  display: inline-block;
  background: var(--gris-10);
  border: 1px solid var(--gris-ligne);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gris);
  margin-top: 14px;
}

/* ==========================================================
   MOTION - animations
   Apparitions en cascade, glissés directionnels, flou→net,
   parallaxe, en-tête compact, intro hero cinématique.
   ========================================================== */

/* Système d'apparition unifié (piloté par JS via data-anim + --d) */
html.js .reveal,
html.js [data-anim] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .8s var(--ease),
    transform .9s var(--ease),
    filter .8s var(--ease);
  transition-delay: var(--d, 0s);
}

/* Variantes directionnelles */
html.js [data-anim="up"]    { transform: translateY(34px); }
html.js [data-anim="left"]  { transform: translateX(-40px); }
html.js [data-anim="right"] { transform: translateX(40px); }
html.js [data-anim="scale"] { transform: scale(.92); }
html.js [data-anim="blur"]  { transform: translateY(24px); filter: blur(12px); }

/* Titres : léger flou→net (effet premium) */
html.js .section-tete h2,
html.js .hero h1 { filter: blur(0); }
html.js [data-anim].title { transform: translateY(26px); filter: blur(10px); }

/* État visible */
html.js .reveal.visible,
html.js [data-anim].in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* --------- En-tête compact au défilement --------- */
header {
  transition: padding .3s var(--ease), background .3s var(--ease),
              box-shadow .3s var(--ease), border-color .3s var(--ease);
}
header.scrolled {
  background: rgba(10, 10, 12, .92);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .5);
}
header.scrolled .nav { padding-top: 9px; padding-bottom: 9px; }
header.scrolled .logo { font-size: 1.24rem; }

/* --------- Intro hero cinématique (au chargement) --------- */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(38px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: none; }
}
html.js .hero .badge-ligne,
html.js .hero h1,
html.js .hero p.accroche,
html.js .hero .cta-groupe,
html.js .hero .micro-reassurance {
  animation: heroUp .95s var(--ease) both;
}
html.js .hero h1 { animation-delay: .12s; }
html.js .hero p.accroche { animation-delay: .26s; }
html.js .hero .cta-groupe { animation-delay: .4s; }
html.js .hero .micro-reassurance { animation-delay: .52s; }

html.js .hero-visuel {
  animation: heroVisuel 1.2s var(--ease) both;
  animation-delay: .2s;
}
@keyframes heroVisuel {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

/* Parallaxe (translateY piloté par JS via --par) */
html.js .parallax { transform: translateY(var(--par, 0)); will-change: transform; }

/* Compteur : évite le "saut" de largeur pendant l'animation */
.prix .eur { font-variant-numeric: tabular-nums; }

/* Ligne de survol "En savoir plus" (optionnel) */
.lien-plus {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--bleu);
  font-weight: 700;
  text-decoration: none;
  font-size: .95rem;
}
.lien-plus svg { width: 16px; height: 16px; fill: currentColor; transition: transform .25s var(--ease); }
.lien-plus:hover svg { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal,
  html.js [data-anim] { opacity: 1; transform: none; filter: none; transition: none; }
  html.js .hero .badge-ligne,
  html.js .hero h1,
  html.js .hero p.accroche,
  html.js .hero .cta-groupe,
  html.js .hero .micro-reassurance,
  html.js .hero-visuel { animation: none; }
  html.js .parallax { transform: none !important; }
  * { animation: none !important; }
}

/* --------- Section vidéo --------- */
.video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gris-ligne);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background: var(--gris-10);
}

.video-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .4s var(--ease); }

.video-wrap:hover img { opacity: 1; }

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 20px;
  color: #fff;
}

.video-play .rond {
  width: 82px; height: 82px;
  border-radius: 50%;
  background: var(--rouge);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 40px rgba(232, 51, 42, .4);
  transition: transform .3s var(--ease);
}

.video-wrap:hover .video-play .rond { transform: scale(1.08); }

.video-play .rond svg { width: 34px; height: 34px; fill: #fff; margin-left: 5px; }

.video-play b { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }

.video-play small { color: rgba(255,255,255,.85); font-size: .85rem; }

/* Lecteur vidéo portrait */
.video-portrait { display: flex; justify-content: center; }

.promo-video {
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  aspect-ratio: 480 / 854;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gris-ligne);
  background: var(--gris-10);
  box-shadow: var(--shadow);
  object-fit: cover;
  display: block;
}

@media (max-width: 640px) {
  .promo-video { width: 100%; max-height: 74vh; }
}

.hero-visuel--video { display: flex; align-items: center; justify-content: center; padding: 14px; }
.hero-visuel--video .promo-video { max-height: 520px; width: auto; border: none; box-shadow: none; }
@media (max-width: 980px) {
  .hero-visuel--video .promo-video { max-height: 70vh; }
}

/* --------- Section coffret de sécurité --------- */
.securite-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.securite-liste { list-style: none; display: grid; gap: 18px; margin-top: 8px; }

.securite-liste li { display: flex; gap: 14px; align-items: flex-start; }

.securite-liste .ic {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: rgba(232, 51, 42, .08);
  border: 1px solid rgba(232, 51, 42, .2);
  display: grid; place-items: center;
  flex: none;
}

.securite-liste .ic svg { width: 21px; height: 21px; fill: var(--rouge); }

.securite-liste b { display: block; margin-bottom: 3px; font-size: 1.04rem; color: var(--encre); }

.securite-liste span { color: var(--gris); font-size: .93rem; }

.securite-valeur {
  background: var(--gris-10);
  border: 1px solid var(--gris-ligne);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.securite-valeur .display { font-size: 2.5rem; }

.securite-valeur .barre {
  color: var(--gris-doux);
  text-decoration: line-through;
  font-size: 1.1rem;
  font-weight: 700;
}

/* --------- Section fondateur / histoire --------- */
.fondateur {
  background:
    radial-gradient(700px 380px at 15% 0%, rgba(28, 98, 214, .05), transparent 60%),
    var(--gris-10);
  border-block: 1px solid var(--gris-ligne);
}

.fondateur-carte {
  max-width: 54rem;
  margin: 0 auto;
  text-align: center;
}

.fondateur-carte .surtitre { justify-content: center; }

.fondateur-carte .cite {
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  line-height: 1.4;
  font-weight: 700;
  color: var(--encre);
  margin: 8px 0 22px;
  letter-spacing: -.01em;
}

.fondateur-carte .cite .rouge { font-weight: 800; }

.fondateur-carte p { color: var(--gris); }

.fondateur-signature {
  margin-top: 24px;
  font-weight: 700;
  color: var(--encre);
}

.fondateur-signature span { display: block; color: var(--gris); font-weight: 500; font-size: .88rem; }

/* --------- Focus clavier --------- */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------- Simulateur / aide au choix --------- */
.compa-calc {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 24px;
  margin-bottom: 36px;
}

html:not(.js) .compa-calc { display: none; }

/* Profils rapides */
.compa-profils { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }

.compa-profil {
  border: 1px solid var(--gris-ligne-2);
  background: var(--surface);
  color: var(--encre-2);
  border-radius: 100px;
  padding: 9px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}

.compa-profil:hover { border-color: var(--encre); color: var(--encre); }

.compa-profil.actif { background: var(--rouge); border-color: var(--rouge); color: #fff; }

.compa-profil--reset { border-style: dashed; color: var(--gris); }

/* Tuiles d'appareils : 4 par ligne, compactes */
.compa-appareils {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.compa-cell { position: relative; }

.compa-tuile {
  width: 100%;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--gris-ligne);
  border-radius: var(--radius);
  padding: 10px 6px 34px;
  cursor: pointer;
  color: var(--encre);
  font-family: inherit;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color .15s, background .15s, transform .15s var(--ease);
}

.compa-tuile:hover { border-color: var(--gris-ligne-2); transform: translateY(-2px); }

.compa-tuile:active { transform: scale(.97); }

.compa-tuile .ic {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--gris-10);
  border: 1px solid var(--gris-ligne);
  display: grid; place-items: center;
  margin-bottom: 6px;
}

.compa-tuile .ic svg { width: 17px; height: 17px; fill: var(--gris); transition: fill .15s; }

.compa-tuile .nom { font-weight: 700; font-size: .75rem; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }

.compa-tuile .watts { color: var(--gris); font-size: .68rem; font-weight: 500; }

.compa-tuile .qte {
  position: absolute;
  top: 6px; right: 6px;
  background: var(--rouge);
  color: #fff;
  font-weight: 800;
  font-size: .7rem;
  border-radius: 100px;
  padding: 1px 6px;
}

.compa-cell.active .compa-tuile { border-color: var(--rouge); background: rgba(232, 51, 42, .06); }
.compa-cell.active .ic { background: rgba(232, 51, 42, .12); border-color: rgba(232, 51, 42, .3); }
.compa-cell.active .ic svg { fill: var(--rouge); }

.compa-moins {
  position: absolute;
  right: 6px; bottom: 6px;
  width: 32px; height: 32px;
  border-radius: 9px;
  border: 1px solid var(--gris-ligne-2);
  background: var(--gris-10);
  color: var(--encre);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.compa-moins:hover { border-color: var(--encre); background: var(--gris-15); }

/* Panneau résultat */
.compa-resultat {
  background: var(--gris-10);
  border: 1px solid var(--gris-ligne);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: sticky;
  top: 84px;
  align-self: start;
  box-shadow: var(--shadow-soft);
}

.compa-reco { font-size: 1.55rem; color: var(--encre); font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; }

.compa-metriques { font-size: .85rem; color: var(--gris); margin-bottom: 12px; }
.compa-metriques b { color: var(--encre); font-weight: 700; }

.compa-jauge {
  height: 6px;
  border-radius: 100px;
  background: var(--gris-15);
  border: 1px solid var(--gris-ligne);
  overflow: hidden;
  margin-bottom: 8px;
}

.compa-jauge > div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--rouge-sombre), var(--rouge));
  border-radius: 100px;
  transition: width .5s var(--ease);
}

.compa-jauge-label { font-size: .74rem; color: var(--gris-doux); margin-bottom: 18px; }

.compa-carte-box {
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--gris-ligne);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 16px;
}

.compa-carte-box img {
  width: 86px; height: 86px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--gris-ligne);
  flex: none;
}

.compa-box-infos { min-width: 0; }

.compa-box-nom {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -.01em;
  color: var(--rouge);
}

.compa-box-prix {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -.02em;
  color: var(--encre);
  font-variant-numeric: tabular-nums;
}

.compa-box-kmf { color: var(--gris); font-size: .78rem; }

.compa-box-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; padding: 0; }

.compa-box-specs li {
  font-size: .82rem;
  font-weight: 700;
  color: var(--encre-2);
  background: var(--gris-10);
  border: 1px solid var(--gris-ligne);
  padding: 3px 9px;
  border-radius: 100px;
}

.compa-resultat .btn { width: 100%; justify-content: center; }

.compa-alt { font-size: .8rem; margin-top: 12px; }
.compa-alt b { color: var(--encre); }

/* Barre de résultat collante (mobile / tablette) */
.compa-barre {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 94;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(19, 19, 23, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gris-ligne-2);
  padding: 10px max(4%, 14px) calc(10px + env(safe-area-inset-bottom, 0px));
}

.compa-barre-info {
  background: none;
  border: none;
  color: var(--encre);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  min-width: 0;
  padding: 0;
}

.compa-barre-info b { display: block; font-size: .96rem; font-weight: 800; }

.compa-barre-info span {
  display: block;
  color: var(--gris);
  font-size: .78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compa-barre .btn { flex: none; padding: 11px 20px; font-size: .9rem; }

.wa-fab { transition: bottom .25s var(--ease); }

@media (max-width: 979px) {
  .compa-barre:not([hidden]) { display: flex; animation: monte .25s var(--ease); }
  body.barre-visible .wa-fab { bottom: 92px; }
}

.compa-table-wrap { overflow-x: auto; border: 1px solid var(--gris-ligne); border-radius: var(--radius); box-shadow: var(--shadow-soft); }

.compa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 340px;
  background: var(--surface);
}

.compa-table caption { caption-side: top; padding: 14px 18px 0; color: var(--gris); }

.compa-table th {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
  font-size: .84rem;
  color: var(--encre);
  text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid var(--gris-ligne);
  background: var(--gris-10);
}

.compa-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gris-ligne);
  color: var(--encre-2);
}

.compa-table tr:last-child td { border-bottom: none; }

.compa-table .compa-ligne-vedette td { background: rgba(232, 51, 42, .04); }

.compa-table td b { color: var(--encre); }

/* --------- Responsive --------- */
@media (max-width: 980px) {
  .hero-grid, .makini-grid, .diaspora-carte, .compa-calc, .securite-grid { grid-template-columns: 1fr; }
  .compa-resultat { position: static; }
  .grille-produits, .sav-grid { grid-template-columns: 1fr 1fr; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .confiance-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Menu burger dès que le menu complet ne tient plus (tablettes comprises) */
@media (max-width: 1079px) {
  .nav-links {
    position: fixed;
    top: 62px; left: 0; right: 0;
    height: calc(100vh - 62px);
    height: calc(100dvh - 62px);
    background: var(--fond);
    border-bottom: 1px solid var(--gris-ligne);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 6%;
    gap: 18px;
    display: none;
    overflow-y: auto;
    box-shadow: var(--shadow);
  }

  .nav-links.ouvert { display: flex; }

  .burger { display: block; }

  /* Header compact : on masque "ENERGIE" et on affiche les actions rapides */
  .logo em { display: none; }
  .nav-quick { display: flex; margin-left: auto; }
  .nav { gap: 10px; }
}

/* Téléphones : pas de place pour les pilules à côté de Devis + drapeau ;
   on les garde uniquement sur écrans larges (≥541px). Les téléphones gardent
   logo + Devis + drapeau + burger, et Nos Box / Contact restent dans le menu. */
@media (max-width: 540px) {
  .nav-quick-pill { display: none; }
}

@media (max-width: 640px) {
  .grille-produits, .sav-grid, .etapes, .confiance-grid, .footer-grid, .deux-colonnes { grid-template-columns: 1fr; }

  .cta-groupe { width: 100%; }
  .cta-groupe .btn { width: 100%; justify-content: center; }
  .hero .cta-groupe { flex-direction: column; align-items: stretch; }

  .hero p.accroche, .section-tete, .section-tete p { max-width: none; }

  /* Espace en bas pour que le bouton WhatsApp flottant ne masque pas le footer */
  footer { padding-bottom: 96px; }
}

@media (max-width: 430px) {
  body { font-size: 16px; }
  .container { width: 90%; }

  h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  h2 { font-size: clamp(1.6rem, 7.5vw, 2.05rem); }

  section { padding: 54px 0; }
  .hero { padding: 48px 0 42px; }

  .carte-corps { padding: 22px 20px 24px; }
  .prix .eur { font-size: 1.7rem; }
  .specs { font-size: .88rem; }

  .btn { font-size: .95rem; padding: 14px 20px; }
  .nav-cta { padding: 10px 16px; }

  #waBtn { width: 54px; height: 54px; }
  .wa-menu { width: min(246px, 78vw); }
}

/* ==========================================================
   SHOWCASE pleine largeur (cinématique, esprit premium)
   ========================================================== */
.showcase {
  position: relative;
  min-height: min(70vh, 620px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(60px, 10vw, 120px) 0;
}
.showcase-media { position: absolute; inset: 0; z-index: 0; }
.showcase-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translateY(var(--par, 0)) scale(1.12);
}
.showcase-voile { position: absolute; inset: 0; z-index: 1; }
.showcase--dark .showcase-voile {
  background: linear-gradient(90deg, rgba(8,9,12,.85) 0%, rgba(8,9,12,.62) 42%, rgba(8,9,12,.15) 100%);
}
.showcase-inner { position: relative; z-index: 2; max-width: 40rem; }
.showcase--dark .showcase-inner,
.showcase--dark .showcase-inner h2 { color: #fff; }
.showcase--dark .surtitre { color: #ff6a5e; }
.showcase--dark .surtitre::before { background: #ff6a5e; }
.showcase-inner h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.showcase-inner p {
  margin: 18px 0 26px;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, .82);
  max-width: 32rem;
}
.lien-plus--clair { color: #fff; }
.lien-plus--clair svg { fill: #fff; }

/* ==========================================================
   FLAGSHIP — section sombre premium (best-seller Gulagula)
   ========================================================== */
.flagship {
  position: relative;
  background: #0c0e12;
  color: #fff;
  overflow: hidden;
  padding: clamp(64px, 9vw, 124px) 0;
  border-block: 1px solid #1c1f26;
}
.flagship-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; z-index: 0; }
.flagship-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: translateY(var(--par, 0)) scale(1.12);
}
.flagship-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #0c0e12 0%, rgba(12,14,18,.55) 32%, rgba(12,14,18,.05) 100%);
}
.flagship-grid { position: relative; z-index: 1; }
.flagship-texte { max-width: 40rem; }
.flagship-texte h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); }
.flagship-texte > .surtitre { color: #ff6a5e; }
.flagship-texte > .surtitre::before { background: #ff6a5e; }
.flagship-texte p {
  color: rgba(255, 255, 255, .78);
  margin: 18px 0 28px;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
}
.flagship-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
  max-width: 42rem;
}
.flagship-stats .stat {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 16px 14px;
}
.flagship-stats .stat b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.flagship-stats .stat span { font-size: .78rem; color: rgba(255, 255, 255, .6); }
.flagship-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 26px; }
.flagship-prix .eur { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.flagship-prix .kmf { color: rgba(255, 255, 255, .6); font-size: .9rem; }
.flagship .btn-rouge { background: var(--rouge); }
.flagship .btn-rouge:hover { background: #ff4238; }

/* ==========================================================
   CARROUSEL horizontal (box nomades)
   ========================================================== */
.carrousel { position: relative; }
.carrousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carrousel-track::-webkit-scrollbar { display: none; }
.carrousel-track > .carte {
  flex: 0 0 clamp(280px, 82%, 384px);
  scroll-snap-align: start;
}
.carrousel-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.carrousel-nav[hidden] { display: none; }
.carrousel-fleche {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gris-ligne-2);
  background: var(--surface);
  color: var(--encre);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s var(--ease), border-color .2s var(--ease),
              transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s;
}
.carrousel-fleche:hover { border-color: var(--encre); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.carrousel-fleche:disabled { opacity: .3; cursor: default; transform: none; box-shadow: none; }
.carrousel-fleche svg { width: 20px; height: 20px; fill: currentColor; }

/* Parallaxe du visuel hero (le JS pilote --par) */
.hero-visuel img, .hero-visuel video { transform: translateY(var(--par, 0)); }

@media (max-width: 980px) {
  .flagship-bg { width: 100%; opacity: .26; }
  .flagship-bg::after { background: linear-gradient(180deg, rgba(12,14,18,.45), #0c0e12 68%); }
  .flagship-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .showcase-media img { transform: translateY(var(--par, 0)) scale(1.22); }
  .showcase { min-height: 62vh; }
  .flagship-prix .eur { font-size: 1.9rem; }
}

/* ==========================================================
   AJUSTEMENTS THÈME SOMBRE (composants à couleur fixe)
   ========================================================== */
/* Bouton nav WhatsApp en vert, comme le site original */
.nav-cta { background: var(--vert-wa); color: #06210f !important; }
.nav-cta:hover { background: #33d46e; }

/* Bouton principal rouge (au lieu de la pilule noire du thème clair) */
.btn-rouge { background: var(--rouge); color: #fff; }
.btn-rouge:hover { background: #f0453c; }

/* Filigrane DIASPORA : clair et discret sur fond sombre */
.diaspora-carte::after { color: rgba(255, 255, 255, .045); }

/* Ligne best-seller du comparatif : teinte rouge un peu plus visible */
.compa-table .compa-ligne-vedette td { background: rgba(232, 51, 42, .08); }

/* Sélecteur de langue plus lisible sur sombre */
.nav-links .lang-switch { color: var(--encre); }
