/* =============================================================================
   STORE MOBILE QUÉBEC — styles.css
   Approche mobile-first. Voir CLAUDE.md pour la direction de design.
   Palette : NOIR PUR + nuances gris très foncé / BLEU ÉLECTRIQUE (accent du logo).
   Typo : Fraunces (titres) + Manrope (corps).
   Signature : motif « lames » (bandes horizontales évoquant un store).
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. TOKENS — variables de design
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs — direction « noir + bleu électrique » */
  --noir:        #000000;   /* fond dominant : noir pur */
  --noir-900:    #0A0A0A;   /* sections alternées : gris très foncé */
  --noir-800:    #0E1114;   /* surfaces / champs de formulaire */
  --carte:       #15181C;   /* cartes sur fond noir (gris foncé) */

  --bleu:        #1B9DF0;   /* ACCENT principal : bleu électrique vif (logo) */
  --bleu-700:    #1486D6;   /* survol / variante plus profonde */
  --bleu-300:    #6CC1F6;   /* teinte claire : eyebrows, liens sur fond foncé */

  --blanc:       #FFFFFF;
  --gris:        #B0B0B0;   /* texte secondaire (corps) */
  --gris-700:    #8A8F96;   /* texte tertiaire / fine print */
  --bordure:     rgba(255, 255, 255, 0.12); /* bordures subtiles sur fond foncé */
  --bordure-forte: rgba(255, 255, 255, 0.20);

  /* Texte */
  --texte:       #FFFFFF;   /* texte principal / titres */
  --texte-clair: #B0B0B0;   /* texte courant sur fond foncé */

  /* Typo */
  --font-display: "Fraunces", Georgia, serif;
  --font-corps:   "Manrope", system-ui, -apple-system, sans-serif;

  /* Rayons & ombres */
  --radius:      6px;
  --radius-sm:   3px;
  --ombre:       0 18px 50px -24px rgba(0, 0, 0, 0.75);
  --ombre-douce: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
  --glow-bleu:   0 8px 30px -8px rgba(27, 157, 240, 0.55); /* halo bleuté des CTA */

  /* Mise en page */
  --max:         1180px;
  --gouttiere:   clamp(1.25rem, 4vw, 2rem);
  --espace-sec:  clamp(3.5rem, 6.5vw, 5.75rem); /* padding vertical des sections */

  /* Transitions */
  --t-rapide:    180ms ease;
  --t-douce:     420ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* -----------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px; /* compense le header fixe (104px) lors des ancres */
  -webkit-text-size-adjust: 100%;
}

/* Décale la cible des ancres pour que les titres ne passent jamais sous le header */
section[id] { scroll-margin-top: 116px; }

body {
  font-family: var(--font-corps);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gris);
  background: var(--noir);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--blanc);
}

em { font-style: italic; }

/* Focus clavier visible (accessibilité) */
:focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 3px;
  border-radius: 2px;
}

/* -----------------------------------------------------------------------------
   3. UTILITAIRES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.section { padding-block: var(--espace-sec); }

/* Alternance de fonds : noir pur ⇄ gris très foncé */
.section-light { background: var(--noir-900); color: var(--gris); }
.section-dark  { background: var(--noir);     color: var(--gris); }
.section-noir  { background: var(--noir);     color: var(--gris); }

/* En-têtes de section */
.section-head { max-width: 52ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--left { max-width: 46ch; }

.eyebrow {
  font-family: var(--font-corps);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bleu);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}
/* Repère « lame » devant l'eyebrow */
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}
.eyebrow--light { color: var(--bleu-300); }

.section-title {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.9rem);
  margin-bottom: 1.1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--gris);
  max-width: 56ch;
}
.section-lead--light { color: var(--texte-clair); }

/* Lien fléché */
.link-arrow {
  color: var(--bleu);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-rapide), color var(--t-rapide);
  white-space: nowrap;
}
.link-arrow:hover { border-color: currentColor; }
.section-dark .link-arrow,
.section-noir .link-arrow { color: var(--bleu-300); }

/* -----------------------------------------------------------------------------
   4. BOUTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-corps);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--t-rapide), background var(--t-rapide),
              color var(--t-rapide), border-color var(--t-rapide), box-shadow var(--t-rapide);
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

/* CTA principal — bleu électrique + halo bleuté subtil */
.btn-primary {
  background: var(--bleu);
  color: var(--blanc);
  border-color: var(--bleu);
  box-shadow: var(--glow-bleu);
}
.btn-primary:hover {
  background: var(--bleu-700);
  border-color: var(--bleu-700);
  box-shadow: 0 12px 34px -8px rgba(27, 157, 240, 0.7);
}

/* Bouton fantôme clair (sur fond foncé, ex. hero) */
.btn-ghost-light {
  background: transparent;
  color: var(--blanc);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--blanc);
}

.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* -----------------------------------------------------------------------------
   5. HEADER STICKY
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: transform var(--t-douce), background var(--t-douce), box-shadow var(--t-douce), border-color var(--t-douce);
  border-bottom: 1px solid transparent;
  will-change: transform;
}
/* Masqué au défilement vers le bas — réapparaît vers le haut ou à l'arrêt (géré par script.js) */
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 104px;
}

/* État au chargement : transparent sur le hero, texte blanc */
.site-header { color: var(--blanc); }

/* État après défilement : fond noir translucide flouté, texte blanc */
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--bordure);
  box-shadow: 0 6px 24px -18px rgba(0, 0, 0, 0.85);
  color: var(--blanc);
}

/* Logo + tagline */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

/* Logo officiel (image) — grand format, sans filtre (couleurs natives nettes sur fond noir) */
.logo-img { height: 90px; width: auto; display: block; }
/* Tagline sous le logo */
.logo-tagline {
  font-family: var(--font-corps);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.logo-mark {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 4px;
  background: var(--bleu);
  position: relative;
  overflow: hidden;
}
/* Trois lames dans le carré du logo */
.logo-mark::before {
  content: "";
  position: absolute;
  inset: 7px 6px;
  background: repeating-linear-gradient(
    to bottom,
    var(--blanc) 0 2px,
    transparent 2px 6px
  );
}
.logo-mark--light { background: var(--blanc); }
.logo-mark--light::before { background: repeating-linear-gradient(to bottom, var(--bleu) 0 2px, transparent 2px 6px); }

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-line1 {
  font-family: var(--font-corps);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}
.logo-line2 {
  font-family: var(--font-corps);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  color: var(--bleu-300);
  margin-top: 2px;
}

/* Navigation bureau */
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 1.9rem; }
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-block: 0.3rem;
  transition: color var(--t-rapide);
}
.nav-link:hover { color: var(--bleu); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--bleu);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-douce);
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }

.header-cta { flex: none; }
.nav-cta-mobile { display: none; } /* visible uniquement dans le menu mobile */

/* Bouton hamburger (caché en bureau) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 24px; height: 2px;
  background: currentColor;
  transition: transform var(--t-rapide), opacity var(--t-rapide);
}

/* -----------------------------------------------------------------------------
   6. HERO — plein écran + animation « lames » au chargement
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--blanc);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--noir); }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  /* Dégradé noir, plus foncé pour un rendu premium et une lisibilité maximale */
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.88) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.1) 65%);
}

/* Les lames qui révèlent le hero (effet store qu'on lève) */
.hero-slats {
  position: absolute; inset: 0; z-index: -1;
  display: flex; flex-direction: column;
  pointer-events: none;
}
.hero-slats .slat {
  flex: 1;
  background: var(--noir);
  transform-origin: top;
  transform: scaleY(1);
}
/* Animation déclenchée quand <body> reçoit .is-loaded.
   Ces lames internes (derrière la vidéo) se rétractent VITE et TÔT : au moment
   où l'overlay d'intro se retire, la vidéo est déjà découverte et en marche —
   pas de second « temps » d'ouverture. */
.is-loaded .hero-slats .slat {
  transform: scaleY(0);
  transition: transform 700ms cubic-bezier(0.7, 0, 0.2, 1);
}
.is-loaded .hero-slats .slat:nth-child(1) { transition-delay: 30ms; }
.is-loaded .hero-slats .slat:nth-child(2) { transition-delay: 60ms; }
.is-loaded .hero-slats .slat:nth-child(3) { transition-delay: 90ms; }
.is-loaded .hero-slats .slat:nth-child(4) { transition-delay: 120ms; }
.is-loaded .hero-slats .slat:nth-child(5) { transition-delay: 150ms; }
.is-loaded .hero-slats .slat:nth-child(6) { transition-delay: 180ms; }
.is-loaded .hero-slats .slat:nth-child(7) { transition-delay: 210ms; }
.is-loaded .hero-slats .slat:nth-child(8) { transition-delay: 240ms; }

/* Contenu du hero (apparaît après les lames) */
.hero-content { position: relative; max-width: 760px; padding-block: 120px 96px; }
.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bleu-300);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.hero-eyebrow::before {
  content: ""; width: 34px; height: 2px; background: currentColor;
}
.hero-title {
  /* Lettrage display distinctif (Bricolage Grotesque) ; Sora en repli swappable */
  font-family: "Bricolage Grotesque", "Sora", var(--font-corps);
  font-size: clamp(2.7rem, 1.5rem + 5.6vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
/* Mot accent du titre en bleu électrique */
.hero-title em { color: var(--bleu); }
/* Emphase « qualité supérieure » : bleu électrique + lueur diffuse */
.hero-title-accent {
  color: var(--bleu);
  text-shadow:
    0 0 14px rgba(27, 157, 240, 0.55),
    0 0 34px rgba(27, 157, 240, 0.40),
    0 0 66px rgba(27, 157, 240, 0.25);
}
.hero-sub {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 54ch;
  margin-bottom: 2.3rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.hero-trust {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

/* Bloc preuve sociale « 5 étoiles Google » — or doré (volontairement hors palette) */
.hero-reviews {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin-bottom: 1.6rem;
}
.hero-stars {
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #FFC53D;                          /* doré : tranche volontairement avec le bleu marque */
  text-shadow:
    0 0 10px rgba(255, 184, 0, 0.55),
    0 0 24px rgba(255, 184, 0, 0.32);      /* glow doré doux, premium */
}
.hero-reviews-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.hero-reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFD477;
  border-bottom: 1px solid rgba(255, 197, 61, 0.45);
  transition: color var(--t-rapide), border-color var(--t-rapide), transform var(--t-rapide);
}
.hero-reviews-link::after { content: "→"; }
.hero-reviews-link:hover {
  color: #FFE3AA;
  border-color: #FFC53D;
  transform: translateX(2px);
}

/* Animation d'entrée du contenu */
.hero-eyebrow, .hero-title, .hero-sub, .hero-actions, .hero-reviews, .hero-trust {
  opacity: 0;
  transform: translateY(24px);
}
.is-loaded .hero-eyebrow,
.is-loaded .hero-title,
.is-loaded .hero-sub,
.is-loaded .hero-actions,
.is-loaded .hero-reviews,
.is-loaded .hero-trust {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Le texte fond DANS le mouvement d'ouverture (chevauche la rétractation des
   lames), pas après un temps mort — pour un seul geste continu. */
.is-loaded .hero-eyebrow { transition-delay: 300ms; }
.is-loaded .hero-title   { transition-delay: 420ms; }
.is-loaded .hero-sub     { transition-delay: 560ms; }
.is-loaded .hero-actions { transition-delay: 700ms; }
.is-loaded .hero-reviews { transition-delay: 780ms; }
.is-loaded .hero-trust   { transition-delay: 860ms; }

/* Indicateur de défilement */
.hero-scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 24px; height: 44px;
}
.hero-scroll-line {
  position: absolute; left: 50%; top: 0;
  width: 1px; height: 100%;
  background: rgba(255, 255, 255, 0.4);
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%;
  background: var(--bleu);
  animation: scrollDot 2.2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* -----------------------------------------------------------------------------
   7. PRODUITS — grille de cartes
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.product-card {
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-douce), box-shadow var(--t-douce), border-color var(--t-douce);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(27, 157, 240, 0.4);
  border-color: var(--bleu);
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--noir-800);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card:hover .product-media img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  background: var(--bleu);
  color: var(--blanc);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 100px;
}
.product-body { padding: 1.4rem 1.5rem 1.6rem; }
.product-title { font-size: 1.4rem; margin-bottom: 0.5rem; }
.product-desc { color: var(--gris); font-size: 0.98rem; }

/* Carte vedette (motorisé) — accent bleu électrique : tint + bordure + halo */
.product-card--feature {
  background:
    linear-gradient(160deg, rgba(27, 157, 240, 0.16), rgba(27, 157, 240, 0.02)),
    var(--carte);
  border-color: var(--bleu);
  box-shadow: var(--glow-bleu);
  color: var(--blanc);
}
.product-card--feature:hover {
  border-color: var(--bleu);
  box-shadow: 0 18px 50px -16px rgba(27, 157, 240, 0.6);
}
.product-card--feature .product-desc { color: rgba(255, 255, 255, 0.82); }

.products-note {
  margin-top: 2.4rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--gris);
}
.products-note strong { color: var(--blanc); }

/* -----------------------------------------------------------------------------
   8. POURQUOI NOUS
   -------------------------------------------------------------------------- */
.why-layout { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}
.why-item {
  position: relative;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bordure);
  border-top: 2px solid var(--bleu);
}
.why-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--bleu);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.8rem;
}
.why-title { font-size: 1.3rem; margin-bottom: 0.5rem; }
.why-desc { color: var(--texte-clair); font-size: 0.98rem; }

/* -----------------------------------------------------------------------------
   9. COMMENT ÇA MARCHE — étapes avec motif « mesure »
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--bordure);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--bordure); }
.step-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 500;
  color: var(--bleu);
  line-height: 1;
  position: relative;
  padding-right: 1.4rem;
}
/* Repères « ticks » de règle à droite du numéro */
.step-num::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    var(--bordure-forte) 0 6px,
    transparent 6px 12px
  );
}
.step-title { font-size: 1.35rem; margin-bottom: 0.4rem; }
.step-desc { color: var(--gris); max-width: 60ch; }

/* -----------------------------------------------------------------------------
   10. RÉALISATIONS — galerie mosaïque
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--carte);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1), filter var(--t-douce);
  filter: saturate(0.95);
}
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1.1); }

/* -----------------------------------------------------------------------------
   11. ZONE DESSERVIE
   -------------------------------------------------------------------------- */
.zone-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.zone-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1.5rem;
  margin: 1.8rem 0;
}
.zone-list li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 500;
  color: var(--blanc);
}
.zone-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 14px; height: 2px;
  background: var(--bleu);
}
.zone-note { color: var(--gris); }

/* Carte Google Maps embarquée (zone desservie) */
.zone-map {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 300px;
  background: var(--carte);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ombre-douce);
}
.zone-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* -----------------------------------------------------------------------------
   12. SOUMISSION — le cœur du site
   -------------------------------------------------------------------------- */
.soumission-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.soumission-points {
  display: grid;
  gap: 0.9rem;
  margin: 1.8rem 0;
}
.soumission-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--texte-clair);
}
.check {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--bleu);
  position: relative;
}
.check::after {
  content: "";
  position: absolute;
  left: 7px; top: 4px;
  width: 6px; height: 11px;
  border: solid var(--noir);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.soumission-call { margin-top: 2rem; color: var(--texte-clair); }
.soumission-phone {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--blanc);
  display: inline-block;
  margin-top: 0.3rem;
  border-bottom: 2px solid rgba(27, 157, 240, 0.5);
  transition: border-color var(--t-rapide);
}
.soumission-phone:hover { border-color: var(--bleu); }

/* Formulaire — carte foncée mise en valeur par une bordure/halo bleuté */
.soumission-form {
  background: var(--carte);
  color: var(--blanc);
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  border: 1px solid rgba(27, 157, 240, 0.25);
  box-shadow: var(--ombre), 0 0 40px -28px rgba(27, 157, 240, 0.5);
}
.field { margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  color: var(--blanc);
}
.field-optional { color: var(--gris); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--blanc);
  background: var(--noir-800);
  border: 1.5px solid var(--bordure);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
  transition: border-color var(--t-rapide), box-shadow var(--t-rapide), background var(--t-rapide);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--gris-700); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bleu);
  background: var(--noir-800);
  box-shadow: 0 0 0 3px rgba(27, 157, 240, 0.25);
}
/* Champ en erreur (ajouté par script.js) */
.field input.has-error,
.field select.has-error,
.field textarea.has-error {
  border-color: #FF6B5E;
  box-shadow: 0 0 0 3px rgba(255, 107, 94, 0.18);
}
.field-error {
  display: block;
  color: #FF6B5E;
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.form-fineprint {
  font-size: 0.82rem;
  color: var(--gris);
  margin-top: 0.9rem;
  text-align: center;
}
.form-feedback {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(27, 157, 240, 0.12);
  border: 1px solid rgba(27, 157, 240, 0.5);
  color: #DFF0FD;
  font-weight: 500;
  text-align: center;
}

/* -----------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--noir); color: rgba(255, 255, 255, 0.72); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.6rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer-brand { max-width: 34ch; }
.footer-logo {
  font-family: var(--font-corps);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blanc);
  margin: 0.9rem 0 0.7rem;
}
.footer-logo-img { height: 76px; width: auto; display: block; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.95rem; color: var(--gris); }
.footer-heading {
  font-family: var(--font-corps);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.1rem;
}
.footer-contact li,
.footer-hours li { margin-bottom: 0.7rem; }
.footer-contact li { display: flex; flex-direction: column; }
.footer-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bleu-300);
}
.footer-contact a { color: rgba(255, 255, 255, 0.85); transition: color var(--t-rapide); }
.footer-contact a:hover { color: var(--bleu); }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 230px; }

.footer-social { display: flex; gap: 0.7rem; margin-bottom: 1.4rem; }
.social-link {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border: 1px solid var(--bordure-forte);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  transition: background var(--t-rapide), color var(--t-rapide), border-color var(--t-rapide);
}
.social-link:hover { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.footer-cta { display: inline-flex; }

.footer-bottom { border-top: 1px solid var(--bordure); }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding-block: 1.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-credit { color: var(--bleu-300); border-bottom: 1px solid rgba(27, 157, 240, 0.4); }
.footer-credit:hover { color: var(--bleu); }

/* -----------------------------------------------------------------------------
   14. CTA FLOTTANT (mobile)
   -------------------------------------------------------------------------- */
.floating-cta {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 90;
  display: none; /* affiché en mobile uniquement */
  align-items: center;
  justify-content: center;
  background: var(--bleu);
  color: var(--blanc);
  font-weight: 600;
  padding: 1rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 34px -10px rgba(27, 157, 240, 0.6);
  text-align: center;
  /* Glisse/fond doux quand on le masque pendant le défilement (voir script.js) */
  transition: transform var(--t-douce), opacity var(--t-douce);
}
/* Masqué pendant qu'on défile : glisse sous l'écran et s'efface */
.floating-cta.is-hidden {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}

/* -----------------------------------------------------------------------------
   15. ANIMATIONS AU SCROLL (révélation)
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Léger décalage en cascade dans les grilles */
.products-grid [data-reveal].is-visible,
.why-grid [data-reveal].is-visible,
.gallery [data-reveal].is-visible { transition-delay: 60ms; }

/* =============================================================================
   16. RESPONSIVE — points de rupture (mobile-first → tablette → bureau)
   ============================================================================= */

/* ≥ 600px : grilles à 2 colonnes, lignes de formulaire côte à côte */
@media (min-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-item { aspect-ratio: auto; }
  .gallery-item--tall { grid-row: span 2; }
  .gallery-item--wide { grid-column: span 2; }
}

/* ≥ 900px : passage à la mise en page bureau (nav complète) */
@media (min-width: 900px) {
  /* Nav complète au bureau : on cache le hamburger, on montre le CTA */
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }

  .products-grid { grid-template-columns: repeat(3, 1fr); }

  .why-layout { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .zone-layout { grid-template-columns: 1.1fr 0.9fr; }
  .soumission-layout { grid-template-columns: 1fr 1.05fr; }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 230px;
  }

  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ≥ 980px : pleine navigation bureau */
@media (min-width: 980px) {
  .step { grid-template-columns: auto 1fr; gap: 2.2rem; }
}

/* ----- MENU MOBILE (< 900px) ----- */
@media (max-width: 899.98px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  /* Le menu se déploie en plein écran sous le header */
  .main-nav {
    position: fixed;
    inset: 104px 0 0 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    background: var(--noir);
    color: var(--blanc);
    padding: 1.5rem var(--gouttiere) 2.5rem;
    transform: translateX(100%);
    transition: transform var(--t-douce);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }

  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-list li { border-bottom: 1px solid var(--bordure); }
  .nav-link {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    padding-block: 1.1rem;
    color: var(--blanc);
  }
  .nav-link::after { display: none; }

  .nav-cta-mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 1.8rem;
  }

  /* Hamburger animé en croix quand ouvert */
  .nav-toggle[aria-expanded="true"] { color: var(--blanc); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Empêche le défilement du body quand le menu est ouvert */
  body.nav-open { overflow: hidden; }

  /* Sur mobile, le CTA flottant suffit : on masque les 2 boutons du hero */
  .hero-actions { display: none; }

  /* CTA flottant visible sur mobile */
  .floating-cta { display: flex; }
  /* Évite que le CTA flottant cache le bas du formulaire */
  #soumission { padding-bottom: calc(var(--espace-sec) + 58px); }
}

/* ----- Très petits écrans ----- */
@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .zone-list { grid-template-columns: 1fr; }
}

/* =============================================================================
   17. ACCESSIBILITÉ — mouvement réduit
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  /* On affiche tout de suite tout ce qui est animé */
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-slats .slat { transform: scaleY(0) !important; }
  .hero-eyebrow, .hero-title, .hero-sub, .hero-actions, .hero-reviews, .hero-trust {
    opacity: 1 !important; transform: none !important;
  }
  .hero-scroll-line::after { animation: none !important; }
  .hero-video { filter: none !important; transform: none !important; }
  .ba-slider, .famille, .product-card { transition: none !important; }
  /* Le CTA flottant reste simplement visible : aucun masquage au défilement */
  .floating-cta.is-hidden { transform: none !important; opacity: 1 !important; pointer-events: auto !important; }
}

/* =============================================================================
   18. HERO VIDÉO — fond vidéo + dégradé de secours
   ============================================================================= */
/* Fond de secours élégant si la vidéo est absente / ne charge pas */
.hero-media {
  background:
    radial-gradient(120% 90% at 72% 8%, rgba(27, 157, 240, 0.14) 0%, transparent 55%),
    radial-gradient(140% 120% at 50% 100%, #0b1620 0%, #000 60%);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Flou doux (encore un cran de plus) + zoom accru pour masquer les bords flous */
  filter: blur(6px);
  transform: scale(1.1);
}

/* =============================================================================
   19. MODES DE FONCTIONNEMENT (manuel / motorisé)
   ============================================================================= */
.modes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.mode-card {
  position: relative;
  display: flex;
  flex-direction: column;        /* carte verticale : store en haut, texte dessous */
  gap: 1.3rem;
  align-items: stretch;
  padding: 2.9rem 1.6rem 1.8rem; /* bande haute : aligne les stores + dégage le badge VEDETTE */
  border-radius: var(--radius);
  background: var(--carte);
  border: 1px solid var(--bordure);
  transition: opacity var(--t-douce), filter var(--t-douce),
              transform var(--t-douce), box-shadow var(--t-douce), border-color var(--t-douce);
}
.mode-text { display: flex; flex-direction: column; min-width: 0; }
.mode-card--feature {
  background:
    linear-gradient(160deg, rgba(27, 157, 240, 0.16), rgba(27, 157, 240, 0.02)),
    var(--carte);
  border-color: var(--bleu);
  box-shadow: var(--glow-bleu);
}
.mode-icon {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(27, 157, 240, 0.14);
  color: var(--bleu);
}
.mode-icon svg { width: 26px; height: 26px; }
.mode-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.mode-card p { color: var(--gris); font-size: 0.96rem; }
.mode-card--feature p { color: rgba(255, 255, 255, 0.82); }
/* CTA « Commande maintenant » — bleu + glow doux (réutilise .btn .btn-primary).
   margin-top:auto pousse le bouton en bas pour aligner les CTA d'une carte à
   l'autre ; .mode-text grandit pour occuper la hauteur égale des cartes. */
.mode-text { flex: 1; }
.mode-cta { align-self: flex-start; margin-top: auto; }
.mode-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 10;                /* toujours au-dessus du store, sur toutes les tailles */
  background: var(--bleu);
  color: var(--blanc);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
}
/* Mobile : bande dédiée en haut pour que le badge VEDETTE ne soit ni chevauché par le store ni coupé */
@media (max-width: 519.98px) {
  .mode-card--feature { padding-top: 3.4rem; }
  .mode-card--feature .mode-badge { top: 1.1rem; right: 1.8rem; }
}

/* =============================================================================
   20. FAMILLES — carrousel horizontal défilable
   ============================================================================= */
.familles-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}
.familles-title {
  font-size: clamp(1.3rem, 1rem + 1.4vw, 1.8rem);
  max-width: 26ch;
}
.familles-nav { display: none; gap: 0.6rem; flex: none; }
.familles-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--bordure-forte);
  background: transparent;
  color: var(--blanc);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background var(--t-rapide), border-color var(--t-rapide), color var(--t-rapide);
}
.familles-arrow:hover { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }

/* Piste défilable avec accroche (scroll-snap) */
.familles-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-top: 2rem;       /* marge pour le glow coloré + grossissement au survol */
  padding-bottom: 1.4rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.familles-track::-webkit-scrollbar { height: 6px; }
.familles-track::-webkit-scrollbar-thumb { background: var(--bordure-forte); border-radius: 100px; }

/* Plus de boîte : le store 3D flotte directement sur le fond noir, texte dans le vide */
.famille {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: opacity var(--t-douce), filter var(--t-douce);
}
/* Teinte de glow par famille — partagée par l'image ET le nom (lien visuel) */
.famille--opaque    { --glow: 27 157 240; }   /* bleu électrique (marque) */
.famille--alterne   { --glow: 129 140 248; }  /* indigo / bleu profond */
.famille--decoratif { --glow: 45 212 218; }   /* cyan / turquoise lumineux */
.famille--solaire   { --glow: 245 185 90; }   /* ambre / doré chaud */
.famille-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--noir-800); }
.famille-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.famille:hover .famille-media img { transform: scale(1.05); }
.famille-body { padding: 1.3rem 0.5rem 0.4rem; display: flex; flex-direction: column; gap: 0.55rem; }
.famille-tag {
  align-self: flex-start;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* Teinte + glow de la famille, portés UNIQUEMENT par le badge */
  color: rgb(var(--glow, 27 157 240));
  text-shadow: 0 0 14px rgb(var(--glow, 27 157 240) / 0.55);
  border: 1px solid rgb(var(--glow, 27 157 240) / 0.45);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  transition: transform var(--t-douce), text-shadow var(--t-douce);
  transform-origin: left center;
}
.famille-title {
  font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.05rem);
  font-weight: 600;
  color: var(--blanc);
}
.famille-what { color: var(--gris); font-size: 0.96rem; }
.famille-why { color: var(--texte-clair); font-size: 0.92rem; }
.famille-why strong { color: var(--blanc); font-weight: 600; }

/* =============================================================================
   21. SECTION-CTA — bouton soumission réparti dans le parcours
   ============================================================================= */
.section-cta {
  margin-top: clamp(2rem, 4vw, 2.8rem);
  display: flex;
  justify-content: center;
}

/* =============================================================================
   22. PROCESSUS — timeline 3 étapes avec ligne de progression
   ============================================================================= */
.process {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: clamp(2rem, 4vw, 2.8rem);
}
/* Ligne verticale reliant les numéros (du centre du 1er au centre du dernier) */
.process::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(var(--bleu), rgba(27, 157, 240, 0.2));
}
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.4rem;
  align-items: start;
}
.process-num {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--blanc);
  background: var(--bleu);
  box-shadow: var(--glow-bleu);
  position: relative;
  z-index: 1;
}
/* Icône premium de l'étape (SVG inline) — accent bleu + glow doux on-brand */
.process-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  margin-bottom: 0.9rem;
  border-radius: 11px;
  color: var(--bleu);
  background: rgba(27, 157, 240, 0.1);
  border: 1px solid rgba(27, 157, 240, 0.28);
  box-shadow: 0 0 20px -6px rgba(27, 157, 240, 0.6);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow var(--t-douce);
}
.process-icon svg { width: 23px; height: 23px; }
/* Pop léger de l'icône à l'apparition au scroll */
.process-step[data-reveal] .process-icon { transform: scale(0.8); }
.process-step.is-visible .process-icon { transform: scale(1); transition-delay: 120ms; }

/* Cascade légère des 3 étapes à l'apparition */
.process-step:nth-child(2).is-visible { transition-delay: 110ms; }
.process-step:nth-child(2).is-visible .process-icon { transition-delay: 230ms; }
.process-step:nth-child(3).is-visible { transition-delay: 220ms; }
.process-step:nth-child(3).is-visible .process-icon { transition-delay: 340ms; }

.process-title { font-size: 1.35rem; margin-bottom: 0.5rem; }
/* Mots-clés mis en valeur dans les étapes */
.process-kw { font-weight: 700; color: var(--blanc); }
.process-desc .process-kw { font-size: 1.04em; }
/* Mot-clé vedette de chaque étape : plus gros + reflet « shine » qui balaie au survol.
   Dégradé bleu→blanc→bleu masqué au texte (background-clip), déplacé G→D au hover. */
.process-kw--accent {
  display: inline-block;
  font-weight: 800;
  font-size: 1.22em;
  letter-spacing: -0.01em;
  color: var(--bleu); /* repli si background-clip:text non supporté */
  background-image: linear-gradient(
    100deg,
    var(--bleu) 0%,
    var(--bleu) 42%,
    #bfe6ff 48%,
    #ffffff 50%,
    #bfe6ff 52%,
    var(--bleu) 58%,
    var(--bleu) 100%
  );
  background-size: 250% 100%;
  background-position: 100% 0;            /* reflet hors champ à gauche au repos */
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.85s ease;
}
@media (hover: hover) {
  /* Au survol de l'étape, le reflet traverse le mot de gauche à droite */
  .process-step:hover .process-kw--accent { background-position: 0% 0; }
}

.process-desc { color: var(--gris); max-width: 52ch; }

/* =============================================================================
   23. AVANT / APRÈS — curseur de comparaison
   ============================================================================= */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.ba-card { margin: 0; }
.ba-slider {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--carte);
  border: 1px solid var(--bordure);
  touch-action: pan-y;          /* permet le défilement vertical tout en glissant */
  user-select: none;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
/* Couche « avant » révélée à gauche du curseur */
.ba-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
/* Vraies photos avant/après branchées : aucun traitement sur le « avant ». */
.ba-before { filter: none; }

/* Champ range invisible qui capte le glissement (accessible au clavier) */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}
.ba-range:focus-visible { outline: 2px solid var(--bleu); outline-offset: 2px; }

/* Poignée verticale + bouton rond */
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  background: var(--bleu);
  transform: translateX(-1px);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(27, 157, 240, 0.7);
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 38px; height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--bleu);
  border: 2px solid var(--blanc);
  box-shadow: var(--glow-bleu);
}
.ba-handle::after {
  content: "\21C4";              /* ⇄ */
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--blanc);
  font-size: 0.85rem;
  line-height: 1;
}
.ba-label {
  position: absolute;
  bottom: 0.8rem;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.62);
  color: var(--blanc);
  pointer-events: none;
}
.ba-label--before { left: 0.8rem; }
.ba-label--after  { right: 0.8rem; color: var(--bleu-300); }
/* Label du style, discret, juste au-dessus du slider avant/après */
.ba-style {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gris);
  margin-bottom: 0.6rem;
}
.ba-style strong { color: var(--bleu); font-weight: 700; }

.ba-caption {
  margin-top: 0.8rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gris);
}

/* ----- RESPONSIVE des nouveaux composants ----- */
@media (min-width: 700px) {
  .modes-grid { grid-template-columns: repeat(3, 1fr); }
  .familles-nav { display: flex; }
  .familles-track { grid-auto-columns: 47%; }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .familles-track { grid-auto-columns: 31.5%; }
  .ba-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================================
   24. COMPOSANT « STORE » (CSS pur) — têtière + panneau de tissu + barre du bas
       Réutilisé dans les cartes « modes » (déroulé au survol) et les « familles ».
       .store-fabric est PRÊT à recevoir une vraie image de tissu : il suffit de
       définir  --store-fabric: url("…/tissu.jpg")  plus tard (background swappable).
       Mobile / sans souris / mouvement réduit : store DÉPLOYÉ et lisible, sans dim.
   ============================================================================= */
.store {
  --rail: 14px;            /* hauteur de la têtière (barre du haut) */
  --bar: 11px;             /* hauteur de la barre du bas (lestée) */
  --inset: 8px;            /* léger retrait latéral du tissu */
  --store-fabric:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 7px, rgba(255, 255, 255, 0) 7px 14px),
    linear-gradient(165deg, #1c2731 0%, #0d1319 100%);
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--noir-800);
  box-shadow: inset 0 0 0 1px var(--bordure);
}
/* Têtière (barre du haut) */
.store-rail {
  position: absolute; top: 0; left: 0; right: 0;
  height: var(--rail); z-index: 4;
  background: linear-gradient(#30363f, #14181d);
  border-bottom: 1px solid rgba(0, 0, 0, 0.55);
}
.store-rail::after {              /* petit repère / commande, en bleu signature */
  content: ""; position: absolute; top: 50%; right: 12px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bleu); transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(27, 157, 240, 0.7);
}
/* Panneau de tissu — révélé du haut vers le bas (clip-path : aucun étirement) */
.store-panel {
  position: absolute;
  top: var(--rail); left: var(--inset); right: var(--inset); bottom: 0;
  overflow: hidden; z-index: 1;
  clip-path: inset(0 0 0 0);     /* déployé par défaut */
  transition: clip-path 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.store-fabric {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;             /* si .store-fabric est une <img> (familles) */
  background: var(--store-fabric);
  background-size: cover; background-position: center;
}
/* Barre du bas (lestée) */
.store-bar {
  position: absolute;
  left: var(--inset); right: var(--inset); bottom: 0;
  height: var(--bar); z-index: 3;
  background: linear-gradient(#2b313a, #0e1318);
  border-radius: 0 0 2px 2px;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.7);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----- Variante carte « mode » : scène (store + accessoire) + détails ----- */
.mode-card .store-stage {
  position: relative;
  flex: none;
  width: 100%; max-width: 200px; align-self: center;
}
.mode-card .store {
  --store-h: 170px;
  width: 100%; aspect-ratio: auto; height: var(--store-h);
}
.mode-card--feature .store {       /* tissu teinté bleu pour le motorisé (vedette) */
  --store-fabric:
    repeating-linear-gradient(180deg, rgba(27, 157, 240, 0.12) 0 7px, rgba(27, 157, 240, 0) 7px 14px),
    linear-gradient(165deg, #15324a 0%, #0a1622 100%);
}
/* Détails (bullets placeholder) — visibles par défaut (état mobile lisible) */
.store-details {
  list-style: none; margin-top: 1rem;
  display: grid; gap: 0.4rem;
}
.store-details li {
  position: relative; padding-left: 1.1rem;
  font-size: 0.92rem; color: var(--texte-clair);
}
.store-details li::before {
  content: "•"; position: absolute; left: 0;
  color: var(--bleu); font-weight: 700;
}

/* =============================================================================
   25. SURVOL (appareils avec souris uniquement) — emphase, déroulé, grossissement
       Sur mobile/tactile : aucun de ces effets (l'état lisible reste tel quel).
   ============================================================================= */
@media (hover: hover) {
  /* — MODES : store enroulé par défaut, se déroule au survol de la carte — */
  .mode-card .store-panel { clip-path: inset(0 0 100% 0); }            /* enroulé */
  .mode-card .store-bar   { transform: translateY(calc((var(--store-h) - var(--rail) - var(--bar)) * -1)); }
  .mode-card .store-details {
    opacity: 0; transform: translateY(8px);
    transition: opacity 0.45s ease 0.12s, transform 0.45s ease 0.12s;
  }
  .mode-card:hover .store-panel   { clip-path: inset(0 0 0 0); }       /* déroulé */
  .mode-card:hover .store-bar     { transform: translateY(0); }
  .mode-card:hover .store-details { opacity: 1; transform: none; }
  .mode-card:hover { border-color: var(--bleu); box-shadow: var(--glow-bleu); }

  /* — Emphase : on assombrit + floute les AUTRES cartes — */
  .modes-grid:hover .mode-card:not(:hover)     { opacity: 0.4; filter: blur(2px); }
  .familles-track:hover .famille:not(:hover)   { opacity: 0.5; filter: blur(2.5px); }

  /* — FAMILLES : la carte survolée grossit, ses infos deviennent plus présentes — */
  .famille:hover { z-index: 2; }
  .famille:hover .famille-why { color: var(--blanc); }
  .famille:hover .famille-tag {
    transform: scale(1.14);
    text-shadow: 0 0 22px rgb(var(--glow, 27 157 240) / 0.85);
  }
}

/* =============================================================================
   26. MOUVEMENT RÉDUIT — on neutralise déroulé, dim/flou et grossissement
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  .store-panel   { clip-path: inset(0 0 0 0) !important; transition: none !important; }
  .store-bar     { transform: none !important; transition: none !important; }
  .store-details { opacity: 1 !important; transform: none !important; }
  .modes-grid:hover .mode-card:not(:hover),
  .familles-track:hover .famille:not(:hover) { opacity: 1 !important; filter: none !important; }
  .famille:hover, .famille:hover .famille-tag { transform: none !important; }
}

/* =============================================================================
   27. ACCESSOIRES DE COMMANDE (cartes « modes ») — chaîne à billes & manette
       SVG/CSS uniquement. Apparaissent au survol (souris). Aucune image.
   ============================================================================= */
/* Chaîne à billes (Stores manuels) — boucle qui défile au survol */
.store-chain {
  position: absolute; z-index: 6;
  top: 6px; right: -3px; bottom: 18px;
  width: 8px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.store-chain::before,
.store-chain::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 3px;
  background-image: radial-gradient(circle at 50% 2.5px, #c8d0d8 1.5px, rgba(200, 208, 216, 0) 2px);
  background-size: 3px 7px;
  background-repeat: repeat-y;
}
.store-chain::before { left: 0; }
.store-chain::after  { right: 0; }
@keyframes chainDown { to { background-position-y: 7px; } }
@keyframes chainUp   { to { background-position-y: -7px; } }

/* Télécommande / manette (Stores motorisés) — glisse en place au survol */
.store-remote {
  position: absolute; z-index: 6;
  right: -16px; bottom: 4px;
  width: 30px; height: 60px;
  opacity: 0;
  transform: translateY(10px) rotate(-8deg) scale(0.92);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.store-remote svg { width: 100%; height: 100%; display: block; }

/* Poignée de tirage (Store Gravité) — geste de tirage à la main, en boucle au survol */
.store-pull {
  position: absolute; z-index: 6;
  left: 50%; bottom: -8px;
  width: 28px; height: 20px;
  transform: translate(-50%, 0);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.store-pull::before {              /* la barre / poignée que l'on saisit */
  content: ""; position: absolute; left: 50%; top: 8px;
  width: 24px; height: 7px; border-radius: 4px;
  transform: translateX(-50%);
  background: linear-gradient(#3a424c, #14181d);
  box-shadow: 0 1px 0 rgba(27, 157, 240, 0.3);
}
.store-pull::after {               /* fil de tirage bleu (repère du geste) */
  content: ""; position: absolute; left: 50%; top: 0;
  width: 2px; height: 8px;
  transform: translateX(-50%);
  background: rgba(27, 157, 240, 0.6);
}
@keyframes pullDown {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* =============================================================================
   28. FAMILLES — vrais rendus 3D (PNG transparent) + placeholder discret
   ============================================================================= */
.famille-render {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background: transparent;        /* aucune boîte : le store flotte sur le noir */
}
.famille-render img {
  width: 80%; height: 80%;
  object-fit: contain;            /* rendu 3D détouré, jamais étiré */
  /* Glow coloré par famille — doux et permanent au repos */
  filter:
    drop-shadow(0 0 12px rgb(var(--glow, 27 157 240) / 0.40))
    drop-shadow(0 0 30px rgb(var(--glow, 27 157 240) / 0.22));
  transition: transform var(--t-douce), filter var(--t-douce);
  will-change: transform, filter;
}
/* Placeholder discret (mini-store) affiché seulement si l'image manque encore */
.famille-render::before {
  content: "";
  position: absolute;
  width: 42%; aspect-ratio: 3 / 4;
  border-radius: 4px;
  background: linear-gradient(#2a313a, #161b21);
  box-shadow: inset 0 9px 0 -7px #3a424c, inset 0 0 0 1px var(--bordure);
  opacity: 0;
}
.famille-render.no-img::before { opacity: 0.5; }
.famille-render.no-img img { display: none; }

/* (le nom de famille est stylé dans la section FAMILLES — taille, teinte, glow) */

/* =============================================================================
   29. SURVOL (souris uniquement) — accessoires modes + glow/grossir familles
   ============================================================================= */
@media (hover: hover) {
  /* Accessoires de commande */
  .mode-card:hover .store-chain { opacity: 1; }
  .mode-card:hover .store-chain::before { animation: chainDown 0.5s linear infinite; }
  .mode-card:hover .store-chain::after  { animation: chainUp 0.5s linear infinite; }
  .mode-card:hover .store-remote { opacity: 1; transform: translateY(0) rotate(-8deg) scale(1); }
  .mode-card:hover .store-pull { opacity: 1; animation: pullDown 0.9s ease-in-out infinite; }

  /* Familles : rendu 3D grossit + glow coloré intensifié, nom plus présent */
  .famille:hover .famille-render img {
    transform: scale(1.12);
    filter:
      drop-shadow(0 0 22px rgb(var(--glow, 27 157 240) / 0.75))
      drop-shadow(0 0 52px rgb(var(--glow, 27 157 240) / 0.42));
  }
  /* (le gros titre reste blanc et fixe ; c'est le badge coloré qui réagit, voir section 20) */
}

/* =============================================================================
   30. MOUVEMENT RÉDUIT — accessoires & rendus sans animation/glissement
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  .store-chain::before,
  .store-chain::after { animation: none !important; }
  .store-remote { transition: none !important; transform: rotate(-8deg) !important; }
  .store-pull { animation: none !important; }
  .famille-render img,
  .famille-title { transition: none !important; }
  .famille:hover .famille-render img,
  .famille:hover .famille-title { transform: none !important; }
}

/* =============================================================================
   31. BANDE « 100+ TISSUS » — intro de la section Produits
       Images PNG détourées sur le fond noir (aucune boîte). Survol : glow + expand.
   ============================================================================= */
.tissus-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(2.6rem, 6vw, 4.2rem);
}
/* ≥ 760px : texte à gauche, tissus à droite, sur une seule ligne */
@media (min-width: 760px) {
  .tissus-intro { grid-template-columns: 1.05fr 0.95fr; }
}
.tissus-head { max-width: 34ch; }
.tissus-title {
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 3.7rem);
  line-height: 1.05;
  margin-bottom: 0.6rem;
  /* Glow bleu doux et diffus (#1B9DF0) — accent visuel sur le titre */
  text-shadow:
    0 0 18px rgba(27, 157, 240, 0.45),
    0 0 42px rgba(27, 157, 240, 0.25);
}
/* « 100 choix » : insécable (jamais coupé en deux lignes) + bleu de marque + glow appuyé */
.tissus-title-hl {
  white-space: nowrap;
  color: var(--bleu);
  text-shadow:
    0 0 14px rgba(27, 157, 240, 0.6),
    0 0 34px rgba(27, 157, 240, 0.38);
}
.tissus-lead { color: var(--gris); font-size: 1.1rem; }

.tissus-showcase {
  display: flex;
  justify-content: center;
}
.tissus-showcase .tissu { width: 100%; max-width: 340px; }
@media (min-width: 760px) {
  /* Aligné à droite, mais ramené légèrement vers le centre pour l'équilibre avec le texte */
  .tissus-showcase { justify-content: flex-end; padding-right: clamp(1rem, 4vw, 3rem); }
}
.tissu { margin: 0; position: relative; }
/* Pile principale (au-dessus) — définit la taille de la figure */
.tissu-main {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform var(--t-douce), filter var(--t-douce);
  will-change: transform, filter;
}
/* Tissus du fond — cachés au repos, révélés en éventail DERRIÈRE la pile au survol */
.tissu-back {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  will-change: opacity, transform;
}
/* Placeholder discret si l'image manque encore */
.tissu.no-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(165deg, #161b21, #0b0e12);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--bordure);
}
.tissu.no-img img { display: none; }

/* Survol (souris uniquement) : glow bleu diffus + léger grossissement */
@media (hover: hover) {
  .tissu:hover .tissu-main {
    transform: scale(1.06);
    filter:
      drop-shadow(0 0 18px rgba(27, 157, 240, 0.55))
      drop-shadow(0 0 44px rgba(27, 157, 240, 0.3));
  }
  /* Les 4 autres tissus s'ouvrent en éventail symétrique LARGE derrière la pile (forte impression de quantité) */
  .tissu:hover .tissu-back--1 { opacity: 0.92; transform: translate(-58%, 15%)  rotate(-26deg) scale(0.86); transition-delay: 0.07s; }
  .tissu:hover .tissu-back--2 { opacity: 0.92; transform: translate(-24%, -10%) rotate(-11deg) scale(0.93); transition-delay: 0.04s; }
  .tissu:hover .tissu-back--3 { opacity: 0.92; transform: translate(24%, -10%)  rotate(11deg)  scale(0.93); transition-delay: 0.04s; }
  .tissu:hover .tissu-back--4 { opacity: 0.92; transform: translate(58%, 15%)   rotate(26deg)  scale(0.86); transition-delay: 0.07s; }
}

/* Mouvement réduit : pas de grossissement (le glow, non animé, peut rester) */
@media (prefers-reduced-motion: reduce) {
  .tissu-main, .tissu-back { transition: none !important; }
  .tissu:hover .tissu-main { transform: none !important; }
  /* Pas de révélation des tissus du fond en mouvement réduit : état propre à 2 piles */
  .tissu-back { opacity: 0 !important; transform: none !important; }
}

/* =============================================================================
   33. MOBILE / TACTILE — auto-loops douces des animations clés (sans survol)
       Sur appareils sans survol (hover: none), on rejoue EN BOUCLE douce les
       effets normalement déclenchés au survol sur desktop, pour qu'ils soient
       visibles au doigt. Desktop strictement intact (ses effets restent dans
       @media hover:hover). Tout est neutralisé par le bloc « mouvement réduit »
       global (animation-iteration-count:1 + duration ~0 → aucun mouvement).
   ============================================================================= */

/* --- Familles : empilées en pleine largeur sur mobile (au lieu du carrousel) --- */
@media (max-width: 760px) {
  .familles-track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 2rem;
  }
  .familles-nav { display: none; }   /* flèches inutiles en mode empilé vertical */
}

@media (hover: none) {
  /* 1. TISSUS — éventail dispersé en boucle (apparition/disparition douce) */
  .tissu .tissu-main   { animation: tissuMainLoop 6.5s ease-in-out infinite; }
  .tissu .tissu-back--1 { animation: tissuBack1 6.5s ease-in-out infinite; }
  .tissu .tissu-back--2 { animation: tissuBack2 6.5s ease-in-out infinite; }
  .tissu .tissu-back--3 { animation: tissuBack3 6.5s ease-in-out infinite; }
  .tissu .tissu-back--4 { animation: tissuBack4 6.5s ease-in-out infinite; }

  /* 2. FAMILLES — glow coloré + léger grossissement en boucle (décalés par carte) */
  .famille .famille-render img { animation: familleRenderLoop 5s ease-in-out infinite; }
  .famille .famille-tag        { animation: familleTagLoop 5s ease-in-out infinite; }
  .famille--alterne   .famille-render img, .famille--alterne   .famille-tag { animation-delay: 0.6s; }
  .famille--decoratif .famille-render img, .famille--decoratif .famille-tag { animation-delay: 1.2s; }
  .famille--solaire   .famille-render img, .famille--solaire   .famille-tag { animation-delay: 1.8s; }

  /* 3. PROCESSUS — le reflet du mot-clé vedette balaie en boucle douce */
  .process-kw--accent { animation: kwShine 4.5s ease-in-out infinite; }
}

@keyframes tissuMainLoop {
  0%, 18%, 100% { transform: scale(1); filter: none; }
  42%, 68% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 18px rgba(27, 157, 240, 0.5)) drop-shadow(0 0 44px rgba(27, 157, 240, 0.28));
  }
}
@keyframes tissuBack1 {
  0%, 18%, 100% { opacity: 0; transform: scale(0.9); }
  42%, 68% { opacity: 0.92; transform: translate(-58%, 15%) rotate(-26deg) scale(0.86); }
}
@keyframes tissuBack2 {
  0%, 18%, 100% { opacity: 0; transform: scale(0.9); }
  42%, 68% { opacity: 0.92; transform: translate(-24%, -10%) rotate(-11deg) scale(0.93); }
}
@keyframes tissuBack3 {
  0%, 18%, 100% { opacity: 0; transform: scale(0.9); }
  42%, 68% { opacity: 0.92; transform: translate(24%, -10%) rotate(11deg) scale(0.93); }
}
@keyframes tissuBack4 {
  0%, 18%, 100% { opacity: 0; transform: scale(0.9); }
  42%, 68% { opacity: 0.92; transform: translate(58%, 15%) rotate(26deg) scale(0.86); }
}
@keyframes familleRenderLoop {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 12px rgb(var(--glow, 27 157 240) / 0.40)) drop-shadow(0 0 30px rgb(var(--glow, 27 157 240) / 0.22));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 22px rgb(var(--glow, 27 157 240) / 0.75)) drop-shadow(0 0 52px rgb(var(--glow, 27 157 240) / 0.42));
  }
}
@keyframes familleTagLoop {
  0%, 100% { transform: scale(1);   text-shadow: 0 0 14px rgb(var(--glow, 27 157 240) / 0.55); }
  50%      { transform: scale(1.1); text-shadow: 0 0 22px rgb(var(--glow, 27 157 240) / 0.85); }
}
@keyframes kwShine {
  0%, 100% { background-position: 100% 0; }
  55%      { background-position: 0% 0; }
}

/* =============================================================================
   32. INTRO « STORES QUI S'OUVRENT » — overlay plein écran, joué une fois au load
       Lamelles noires empilées qui se rétractent (scaleY → 0) en cascade.
       Purement décoratif (pointer-events: none). Retiré du DOM par script.js.
   ============================================================================= */
.intro-blinds {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  pointer-events: none;        /* ne bloque jamais les clics, même avant retrait */
  overflow: hidden;
  /* AUCUN fond plein : l'overlay est transparent. Le site (vidéo + titre + texte
     + boutons) déjà rendu et vivant derrière est ainsi révélé EN CONTINU à mesure
     que les lamelles s'ouvrent — jamais d'écran noir séparé entre la fin de
     l'animation et l'affichage du site. */
  background: transparent;
  opacity: 1;
  transition: opacity 500ms ease;
}
/* Fondu doux de l'overlay, en chevauchement avec la fin de l'ouverture */
.intro-blinds.is-fading { opacity: 0; }
.intro-blinds.is-done { display: none; }

.intro-slat {
  flex: 1 0 0;
  background: #000;
  transform: scaleY(1);
  transform-origin: center;
  /* Fine lueur bleue on-brand entre les lamelles (subtile) */
  box-shadow: 0 1px 0 rgba(27, 157, 240, 0.22), 0 -1px 0 rgba(27, 157, 240, 0.10);
  animation: introOpen 0.85s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}
/* Cascade légère (effet vague) du haut vers le bas */
.intro-slat:nth-child(1)  { animation-delay: 0.02s; }
.intro-slat:nth-child(2)  { animation-delay: 0.07s; }
.intro-slat:nth-child(3)  { animation-delay: 0.12s; }
.intro-slat:nth-child(4)  { animation-delay: 0.17s; }
.intro-slat:nth-child(5)  { animation-delay: 0.22s; }
.intro-slat:nth-child(6)  { animation-delay: 0.27s; }
.intro-slat:nth-child(7)  { animation-delay: 0.32s; }
.intro-slat:nth-child(8)  { animation-delay: 0.37s; }
.intro-slat:nth-child(9)  { animation-delay: 0.42s; }
.intro-slat:nth-child(10) { animation-delay: 0.47s; }

@keyframes introOpen {
  0%   { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

/* Mouvement réduit : aucune intro — la page s'affiche directement, sans overlay */
@media (prefers-reduced-motion: reduce) {
  .intro-blinds { display: none !important; }
}
