/* ==========================================================================
   GLOBAL CSS — extrait depuis modele.html (verrouillé 2026-05-09)
   Source de vérité : /modele.html à la racine du projet.
   Ne pas modifier sans synchroniser avec modele.html.
   ========================================================================== */

/* ==========================================================================
   0. POLICES AUTO-HÉBERGÉES (Plus Jakarta Sans)
   font-display: optional → si la police n'arrive pas en 100 ms, le navigateur
   garde la fallback définitivement pour cette page → CLS = 0 sur le swap police.
   size-adjust + override pour matcher la métrique de la fallback (BlinkMacSystemFont)
   et neutraliser le décalage résiduel.
   ========================================================================== */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/assets/fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url('/assets/fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2');
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 25%;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('/assets/fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 25%;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('/assets/fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2');
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 25%;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url('/assets/fonts/plus-jakarta-sans-v12-latin-800.woff2') format('woff2');
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 25%;
}

/* ==========================================================================
   1. CORE & VARIABLES
   ========================================================================== */
:root {
  --surface-dark: #050505;
  --surface-card: #0a0a0a;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.4);
  --accent-emerald: #10B981;

  --glass-bg: rgba(20, 20, 20, 0.35);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px);

  --font-sys: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --h1-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  --p-size: clamp(1rem, 1.5vw + 0.5rem, 1.15rem);
  --easing-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  background-color: #fafafa;
  color: #111;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  font-family: var(--font-sys);
}

::selection {
  background-color: var(--accent-emerald);
  color: white;
}

/* ==========================================================================
   2. HERO PREMIUM ARCHITECT (Fusion Texte & Formulaire)
   ========================================================================== */
#hero-premium-architect {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-dark);
  overflow: hidden;
  padding: 100px 0;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: contrast(1.1) brightness(0.9);
}
/* Le hero LCP peut être servi en <picture> (WebP + fallback JPEG). Le <picture>
   doit remplir le .hero-bg-layer (absolu) pour que .hero-image en 100%/100% tienne. */
.hero-bg-layer > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.85) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.95) 100%);
  z-index: 2;
}

/* Variante adoucie : à utiliser sur les pages avec hero.bgImage statique
   (la vignette par défaut est calibrée pour la vidéo de la home et écrase l'image fixe). */
.hero-vignette.hero-vignette--soft {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.7) 100%);
}

/* Mobile/tablette : ne pas étirer le hero à 100vh (force le zoom de l'image landscape).
   Règle obligatoire — voir CLAUDE.md règle 8. */
@media (max-width: 1023px) {
  #hero-premium-architect {
    min-height: auto;
    padding: 0 0 60px;
    /* Le hero est en display:flex — sans cette règle le bandeau et le container
       se mettent côte à côte (cf. bug Lot 1 corrigé 2026-05-09). */
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .hero-image,
  .hero-video {
    transform: scale(1);
    object-position: center;
  }
  /* Vignette allégée sur mobile : la vignette par défaut est calibrée pour un écran
     large (bords à 85 % de noir, milieu clair) ; sur un écran étroit tout le viewport
     tombe dans les zones sombres → vidéo illisible. On garde juste assez de voile
     pour la lisibilité du texte blanc. Règle ajoutée 2026-07-13 (nouvelle vidéo hero). */
  .hero-vignette:not(.hero-vignette--soft) {
    background:
      linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.45) 100%),
      linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.75) 100%);
  }
  /* Sur mobile, l'image bg étire trop : on la masque uniquement si le bandeau mobile
     prend le relais (cas bgImage sans bgVideo). Pour les pages avec bgVideo seule
     (home, devis-en-ligne), on garde la vidéo visible plein hero sur mobile. */
  #hero-premium-architect:has(.hero-mobile-banner) > .hero-bg-layer {
    display: none;
  }
  /* Cas bandeau mobile présent (bgImage seul) : padding-top réduit, le bandeau gère déjà l'espace */
  #hero-premium-architect:has(.hero-mobile-banner) .hero-container {
    padding-top: 1.5rem;
  }
  /* Cas bgVideo seul (ou aucun media) : pas de bandeau → le badge se retrouve collé sous
     le header sticky (~70px). Padding-top calibré pour faire descendre le badge proprement.
     Règle ajoutée 2026-05-10 — voir feedback hero badge bgVideo. */
  #hero-premium-architect:not(:has(.hero-mobile-banner)) .hero-container {
    padding-top: 6rem;
  }
  .hero-mobile-hide {
    display: none !important;
  }
}

/* PC : pour les pages avec bgVideo seul, la 1ère colonne (badge+titre+desc+CTA+trust)
   est plus courte que le formulaire à droite. align-items:center du grid centre la 1ère
   colonne, mais quand le contenu est très court (ex: pas de titleHighlight), le badge
   se retrouve trop haut visuellement. On ajoute un padding-top calibré pour pousser le
   contenu vers le bas et garder une zone respiratoire sous le header sticky.
   Règle ajoutée 2026-05-10 — voir feedback hero badge bgVideo. */
@media (min-width: 1024px) {
  #hero-premium-architect:has(.hero-video) .hero-container > .text-left {
    padding-top: 3rem;
  }
}

/* Bandeau image mobile (alternative au bg-layer zoomé sur portrait).
   Caché par défaut, affiché uniquement <1024px. */
.hero-mobile-banner { display: none; }
@media (max-width: 1023px) {
  .hero-mobile-banner {
    display: block;
    position: relative;
    width: 100%;
    min-height: 340px;
    overflow: hidden;
    background: var(--surface-dark);
  }
  /* Quand le contenu (badge + H1 long) déborde, le bandeau s'étend.
     Évite que le badge soit poussé sur le header sticky.
     Voir feedback_pages_chantier.md règle hero — Lot 9 (2026-05-10). */
  .hero-mobile-banner__img,
  .hero-mobile-banner__overlay {
    position: absolute !important;
    inset: 0;
  }
  .hero-mobile-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero-mobile-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 60%, rgba(5,5,5,0.95) 100%);
  }
  .hero-mobile-banner__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* padding-top élevé pour faire descendre le badge sous le header sticky */
    padding: 5rem 1.5rem 1.5rem;
    color: #fff;
    gap: 0.75rem;
  }
  .hero-mobile-banner__title {
    font-size: clamp(1.6rem, 6vw, 2.1rem);
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
  }
  .hero-mobile-banner__title .highlight {
    background: linear-gradient(90deg, var(--accent-emerald) 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* Carte auteur (photo + texte) — dédiée pour les heros custom (page Marseille).
   Définie en CSS pur car Tailwind compilé peut purger certaines utilities.
   Voir feedback_lot_pages_landing.md règle 9. */
.hero-author-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  max-width: 22rem;
}
.hero-author-card__avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  object-fit: cover;
}
.hero-author-card__text {
  min-width: 0;
}
.hero-author-card__name {
  font-weight: 700;
  color: #111827;
  font-size: 0.875rem;
  margin: 0;
}
.hero-author-card__role {
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 2px 0 0;
}

.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--text-primary);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.hero-badge .stars { color: #FBBF24; font-size: 1.1rem; letter-spacing: 2px; }

.hero-title {
  font-size: var(--h1-size);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-title span.highlight {
  background: linear-gradient(135deg, #FFFFFF 0%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: var(--p-size);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-description strong { color: var(--text-primary); font-weight: 600; }

.trust-metrics {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  width: 100%;
  max-width: 500px;
}

@media (min-width: 640px) {
  .trust-metrics { flex-direction: row; gap: 2rem; }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.trust-item svg { width: 20px; height: 20px; color: var(--accent-emerald); }

/* ==========================================================================
   3. FORMULAIRE MULTI-STEP (Glassmorphism Premium)
   ========================================================================== */
.glass-form-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.6);
  border-radius: 24px;
  padding: 2.5rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.mdm-step { display: none; opacity: 0; transform: translateY(10px); transition: all 0.4s var(--easing-premium); }
.mdm-step.active { display: block; opacity: 1; transform: translateY(0); }

.mdm-radio-btn {
  border: 1px solid #e5e7eb;
  color: #4b5563;
  transition: all 0.3s var(--easing-premium);
}
.mdm-radio-btn:hover { border-color: #111; background: #f9fafb; }
.mdm-radio-btn.selected { border-color: #111; background: #111; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.btn-black {
  background: #111;
  color: #fff;
  transition: all 0.4s var(--easing-premium);
  position: relative;
  overflow: hidden;
}
.btn-black:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  background: #000;
}

/* ==========================================================================
   4. SECTIONS CONTENU (Minimalisme Blanc)
   ========================================================================== */
.section-title {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #111;
}

.service-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s var(--easing-premium);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: #e5e7eb;
}
.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.7s var(--easing-premium);
}
.service-card:hover img { transform: scale(1.05); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  auto-rows: 300px;
}
.bento-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}
.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--easing-premium);
}
.bento-item:hover img { transform: scale(1.05); }
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s var(--easing-premium);
}
.bento-item:hover .bento-overlay { opacity: 1; }

@media (min-width: 768px) {
  .bento-large { grid-column: span 2; grid-row: span 2; }
}

/* ==========================================================================
   5. SECTION APP PREMIUM
   ========================================================================== */
.premium-app-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 5%;
  background-color: var(--surface-dark);
  color: var(--text-primary);
  overflow: hidden;
}
.premium-app-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.app-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 60px;
}
@media (max-width: 992px) {
  .app-container { flex-direction: column; text-align: center; }
}
.quote-preview-card {
  width: 100%;
  max-width: 540px;
  background: var(--surface-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.cost-row { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 0.95rem; }
.cost-dots { flex-grow: 1; border-bottom: 1px dashed var(--glass-border); margin: 0 16px; opacity: 0.5; position: relative; top: -4px; }

/* ==========================================================================
   6. ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s var(--easing-premium);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ==========================================================================
   7. APPLE DOCK (Sidebar flottante obligatoire sur chaque page)
   ========================================================================== */
.apple-dock {
  background-color: rgba(244, 244, 245, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.15);
}
.dock-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #27272a;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dock-item:hover {
  background-color: rgba(0, 0, 0, 0.06);
  transform: scale(1.12);
  color: #000;
}
.dock-tooltip {
  position: absolute;
  background-color: #18181b;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
@media (min-width: 768px) {
  .dock-tooltip { right: 64px; transform: translateX(10px) scale(0.95); }
  .dock-item:hover .dock-tooltip { opacity: 1; transform: translateX(0) scale(1); }
}
@media (max-width: 767px) {
  .dock-tooltip { bottom: 64px; transform: translateY(10px) scale(0.95); }
  .dock-item:hover .dock-tooltip { opacity: 1; transform: translateY(0) scale(1); }
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* --- Dock : variantes WhatsApp + Rappel express (conversion) --- */
.dock-item--wa { color: #25D366; }
.dock-item--wa:hover { background-color: rgba(37, 211, 102, 0.12); color: #1da851; }
.dock-item--callback {
  color: #fff;
  background-color: #10B981;
}
.dock-item--callback:hover { background-color: #0d9f6e; color: #fff; }
.dock-item--callback .dock-tooltip { background-color: #065f46; }

/* Menu latéral mobile ouvert → on masque l'apple-dock flottant.
   Sans ça, le dock (fixed, bottom-6, z-50) recouvre les CTA du footer du menu
   (Prendre RDV / WhatsApp / Appeler). Le menu (.site-mobile-menu) est rendu
   AVANT le dock dans le <body>, d'où le sélecteur de frère général (~). */
.apple-dock { transition: opacity 0.25s ease, visibility 0.25s ease; }
.site-mobile-menu.open ~ .apple-dock {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ===========================================================================
   « Sur le même sujet » (.psuj) — cartes d'expertises liées.
   Maillage interne couche 1 (pages-liees.njk). Design dédié, insensible à la
   purge Tailwind. Accent emerald #10B981 (token du site).
   =========================================================================== */
.psuj {
  padding: 4.5rem 0;
  background: #fafafa;
  border-top: 1px solid #f1f1f2;
}
.psuj__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .psuj__inner { padding: 0 3rem; } }

.psuj__eyebrow {
  display: block;
  color: #10B981;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.psuj__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: clamp(1.6rem, 3.4vw, 2.15rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
  margin: 0 0 2.25rem;
}
.psuj__title svg {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  color: #10B981;
}

.psuj__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px)  { .psuj__grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .psuj__grid { grid-template-columns: repeat(3, 1fr); } }

.psuj-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.35rem;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease, border-color 0.3s ease;
}
.psuj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(16, 185, 129, 0.35);
  border-color: #6ee7b7;
}
.psuj-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}
.psuj-card__badge {
  display: inline-flex;
  align-items: center;
  background: #10B981;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.34rem 0.72rem;
  border-radius: 9999px;
  white-space: nowrap;
}
.psuj-card__icon {
  flex-shrink: 0;
  color: #10B981;
  opacity: 0.9;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.psuj-card__icon svg { width: 2.15rem; height: 2.15rem; display: block; }
.psuj-card:hover .psuj-card__icon { transform: scale(1.08) rotate(-3deg); }
.psuj-card__title {
  flex: 1 1 auto;
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 700;
  color: #111;
  margin: 0 0 1.5rem;
  transition: color 0.25s ease;
}
.psuj-card:hover .psuj-card__title { color: #059669; }
.psuj-card__cta {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  font-weight: 700;
  font-size: 0.85rem;
  color: #111;
}
.psuj-card__cta > span {
  border-bottom: 2px solid #111;
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.psuj-card:hover .psuj-card__cta > span { color: #10B981; border-color: #10B981; }
.psuj-card__cta svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease, color 0.25s ease;
}
.psuj-card:hover .psuj-card__cta svg { transform: translateX(6px); color: #10B981; }

/* --- Modale « Rappel express » (callback-modal.njk) --- */
.callback-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
@media (min-width: 640px) { .callback-modal { align-items: center; } }
.callback-modal.is-open { opacity: 1; visibility: visible; }
.callback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.callback-modal__panel {
  position: relative;
  width: 100%;
  max-width: 27rem;
  background: #fff;
  border-radius: 1.75rem 1.75rem 0 0;
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: 0 -10px 40px -10px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 640px) {
  .callback-modal__panel { border-radius: 1.75rem; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.4); transform: translateY(14px) scale(0.98); margin: 1rem; }
}
.callback-modal.is-open .callback-modal__panel { transform: none; }
.callback-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  color: #9ca3af;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.callback-modal__close:hover { color: #111; background: #e5e7eb; }

/* ==========================================================================
   8. HEADER (Sticky transparent puis opaque au scroll)
   Créé en complément du modele.html — règle utilisateur 2026-05-09
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 1rem 0;
  background-color: transparent;
  transition: all 0.3s var(--easing-premium);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 0.6rem 0;
}

.site-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s var(--easing-premium);
}
.site-header.scrolled .site-logo { color: #111; }

.site-logo img { height: 40px; width: auto; }
.site-logo-name { font-weight: 700; letter-spacing: -0.01em; font-size: 1rem; }

.site-nav { display: none; gap: 2rem; align-items: center; }

@media (min-width: 1024px) { .site-nav { display: flex; } }

.site-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s var(--easing-premium);
}
.site-nav a:hover { color: var(--accent-emerald); }
.site-header.scrolled .site-nav a { color: #27272a; }
.site-header.scrolled .site-nav a:hover { color: var(--accent-emerald); }

/* Burger mobile */
.site-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s var(--easing-premium);
}
.site-header.scrolled .site-burger { background-color: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.08); color: #111; }
@media (min-width: 1024px) { .site-burger { display: none; } }

/* Wrapper actions (cart + burger) à droite du header */
.site-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* CTA header desktop : tel + devis (audit conversion 2026-06-11) — masqués mobile, le menu mobile a déjà ses 2 CTA */
.site-header-tel,
.site-header-devis { display: none; }

@media (min-width: 1024px) {
  .site-header-tel {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.3s var(--easing-premium);
  }
  .site-header-tel:hover { color: var(--accent-emerald); }
  .site-header.scrolled .site-header-tel,
  body.boutique-page .site-header-tel { color: #27272a; }
  .site-header.scrolled .site-header-tel:hover,
  body.boutique-page .site-header-tel:hover { color: var(--accent-emerald); }

  .site-header-devis {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
    background-color: var(--accent-emerald);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
    transition: all 0.3s var(--easing-premium);
  }
  .site-header-devis:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35); }
}

/* Bouton caddy (PC + mobile) */
.site-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--easing-premium);
  flex-shrink: 0;
}
.site-cart-btn:hover {
  transform: scale(1.08);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}
.site-header.scrolled .site-cart-btn,
body.boutique-page .site-cart-btn {
  background-color: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
  color: #111;
}
.site-header.scrolled .site-cart-btn:hover,
body.boutique-page .site-cart-btn:hover {
  color: var(--accent-emerald);
  border-color: var(--accent-emerald);
}

.site-cart-btn__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent-emerald);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.site-cart-btn__badge[hidden] { display: none; }

.site-mobile-menu {
  position: fixed;
  inset: 0;
  background-color: #fafafa;
  z-index: 50;
  display: none;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
}
.site-mobile-menu.open { display: flex; }
.site-mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.site-mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #111;
}

/* ==========================================================================
   9. FOOTER (4 colonnes riche)
   Créé en complément du modele.html — règle utilisateur 2026-05-09
   ========================================================================== */
.site-footer {
  background-color: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 4rem 0 0;
  color: #111;
}

.site-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .site-footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
}

.site-footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: #111;
}
.site-footer-brand .footer-logo img { height: 44px; width: auto; }
.site-footer-brand .footer-logo-name { font-weight: 700; font-size: 1.05rem; }

.site-footer-tagline {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #111;
}

.footer-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #4b5563;
}
.footer-rating .stars { color: #FBBF24; letter-spacing: 1px; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #4b5563;
}
.footer-contact a { color: #4b5563; text-decoration: none; transition: color 0.3s; }
.footer-contact a:hover { color: var(--accent-emerald); }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111;
  margin-bottom: 1.2rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--accent-emerald); }

.site-footer-bottom {
  margin-top: 3.5rem;
  padding: 1.5rem 5%;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  color: #6b7280;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .site-footer-bottom { flex-direction: row; text-align: left; }
}

.site-footer-bottom .footer-legal { line-height: 1.6; }
.site-footer-bottom .footer-social { display: flex; gap: 0.75rem; }
.site-footer-bottom .footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #111;
  transition: all 0.3s;
}
.site-footer-bottom .footer-social a:hover {
  background: var(--accent-emerald);
  color: #fff;
  border-color: var(--accent-emerald);
  transform: translateY(-2px);
}

/* ==========================================================================
   10. PATCHES (LiteSpeed lazy load + WP emojis)
   ========================================================================== */
#reviews-slider svg,
#reviews-slider .mt-auto img,
#reviews-slider .mt-auto div.rounded-full {
  flex-shrink: 0 !important;
}

#reviews-slider img.emoji {
  display: inline !important;
  width: 1.2em !important;
  height: 1.2em !important;
  margin: 0 0.1em !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
}

#reviews-slider .text-\[\#FBBF24\] {
  gap: 4px;
  align-items: center;
}

/* ==========================================================================
   11. POPUP CONSTRUCTION (Lot 3 — pages constructeur)
   Modal Apple-style avec 2 raccourcis : terrains + app IA
   ========================================================================== */
.construction-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--easing-premium), visibility .35s var(--easing-premium);
}

.construction-popup.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.construction-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.construction-popup__panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #ffffff;
  border-radius: 28px 28px 0 0;
  padding: 36px 28px 28px;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(40px);
  transition: transform .45s var(--easing-premium);
}

.construction-popup.is-open .construction-popup__panel {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .construction-popup {
    align-items: center;
    padding: 24px;
  }
  .construction-popup__panel {
    border-radius: 28px;
    padding: 40px 36px 32px;
    transform: translateY(20px) scale(.97);
  }
  .construction-popup.is-open .construction-popup__panel {
    transform: translateY(0) scale(1);
  }
}

.construction-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.construction-popup__close:hover {
  background: #e5e5e5;
  transform: rotate(90deg);
}

.construction-popup__header {
  text-align: center;
  margin-bottom: 24px;
}

.construction-popup__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-emerald);
  margin-bottom: 12px;
}

.construction-popup__title {
  font-size: clamp(1.5rem, 2.4vw + 0.5rem, 2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0a0a0a;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.construction-popup__title-accent {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.construction-popup__subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.55;
}

.construction-popup__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.construction-popup__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 18px;
  border-radius: 20px;
  border: 1px solid #ececec;
  background: #fafafa;
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--easing-premium), box-shadow .3s var(--easing-premium), border-color .3s var(--easing-premium), background .3s var(--easing-premium);
}

.construction-popup__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #d5d5d5;
  background: #ffffff;
}

.construction-popup__card--app {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #ffffff;
}

.construction-popup__card--app:hover {
  background: #161616;
  border-color: #161616;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.25);
}

.construction-popup__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #ececec;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.construction-popup__icon--accent {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-color: transparent;
  color: #ffffff;
}

.construction-popup__card-text {
  flex: 1;
  min-width: 0;
}

.construction-popup__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  line-height: 1.25;
}

.construction-popup__card-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #6b7280;
}

.construction-popup__card--app .construction-popup__card-desc {
  color: rgba(255, 255, 255, 0.7);
}

.construction-popup__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-emerald);
}

.construction-popup__card--app .construction-popup__card-cta {
  color: var(--accent-emerald);
}

.construction-popup__card-cta svg {
  transition: transform .3s var(--easing-premium);
}

.construction-popup__card:hover .construction-popup__card-cta svg {
  transform: translateX(4px);
}

.construction-popup__skip {
  display: block;
  width: 100%;
  margin-top: 8px;
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 10px;
  cursor: pointer;
  transition: color .25s ease;
}
.construction-popup__skip:hover {
  color: #111;
}

/* ==========================================================================
   12. CATALOGUE TERRAINS (page /terrains/ + cartes)
   ========================================================================== */
.terrain-empty-state {
  border: 2px dashed #e5e7eb;
  border-radius: 28px;
  padding: 64px 32px;
  text-align: center;
  background: #fafafa;
}

.terrain-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 24px;
  overflow: hidden;
  transition: transform .35s var(--easing-premium), box-shadow .35s var(--easing-premium);
}

.terrain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.terrain-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.terrain-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--easing-premium);
}

.terrain-card:hover .terrain-card__media img {
  transform: scale(1.04);
}

.terrain-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #111;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.terrain-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   13. CATALOGUE MAISONS-MODÈLES (cartes produit Lot 3)
   ========================================================================== */
.maison-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 24px;
  overflow: hidden;
  transition: transform .35s var(--easing-premium), box-shadow .35s var(--easing-premium), border-color .35s var(--easing-premium);
}

.maison-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-color: #d5d5d5;
}

.maison-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f4f4f4;
}

/* Variante : image cliquable (wrapper <a>) — landings + pages catégorie */
.maison-card__media--link {
  display: block;
  cursor: pointer;
}
.maison-card__media--link:focus-visible {
  outline: 2px solid var(--accent-emerald);
  outline-offset: 2px;
}

/* Nom du modèle cliquable */
.maison-card__name-link {
  color: inherit;
  text-decoration: none;
  transition: color .25s var(--easing-premium);
}
.maison-card__name-link:hover {
  color: var(--accent-emerald);
}

.maison-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--easing-premium);
}

.maison-card:hover .maison-card__media img {
  transform: scale(1.04);
}

.maison-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.maison-card__badge--emerald { background: rgba(16, 185, 129, 0.95); color: #ffffff; }
.maison-card__badge--blue    { background: rgba(37, 99, 235, 0.95); color: #ffffff; }
.maison-card__badge--amber   { background: rgba(245, 158, 11, 0.95); color: #ffffff; }
.maison-card__badge--dark    { background: rgba(17, 17, 17, 0.92); color: #ffffff; }

.maison-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.maison-card__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.maison-card__name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  line-height: 1.2;
}

.maison-card__tagline {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.45;
  font-style: italic;
}

.maison-card__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 10px 0 8px;
  border-top: 1px solid #f1f1f1;
  border-bottom: 1px solid #f1f1f1;
}

.maison-card__stats li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.maison-card__stats svg {
  flex-shrink: 0;
  color: var(--accent-emerald);
}

.maison-card__specs {
  list-style: disc;
  list-style-position: outside;
  padding-left: 18px;
  margin: 4px 0 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.maison-card__specs li {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #4b5563;
}

.maison-card__price {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fafafa;
  border: 1px solid #f1f1f1;
}

.maison-card__price-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-emerald);
}

.maison-card__price-value {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  line-height: 1.1;
  margin-top: 2px;
}

.maison-card__price-suffix {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 2px;
}

.maison-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.maison-card__cta-primary,
.maison-card__cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all .25s var(--easing-premium);
  text-decoration: none;
}

.maison-card__cta-primary {
  background: #0a0a0a;
  color: #ffffff;
}

.maison-card__cta-primary:hover {
  background: var(--accent-emerald);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.maison-card__cta-secondary {
  background: #ffffff;
  color: #0a0a0a;
  border: 1px solid #e5e7eb;
}

.maison-card__cta-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* Variante CTA "Voir le modèle" pour pages catégorie boutique (card entièrement cliquable
   via wrapper <a>, donc le CTA est un <span> non-interactif visuel) */
.maison-card__cta-primary--link {
  width: 100%;
  background: #0a0a0a;
  color: #fff;
}

/* Wrapper <a> qui rend la card entière cliquable (pages catégorie /boutique/piscines/ et /boutique/construction/) */
.maison-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 24px;
  transition: transform .35s var(--easing-premium);
}
.maison-card-link:hover .maison-card__cta-primary--link {
  background: var(--accent-emerald);
}

/* Variante section landings : 3 CTAs avec wrapper card-link partiel */
.maison-card__actions--3cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.maison-card__cta-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent-emerald);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all .25s var(--easing-premium);
}
.maison-card__cta-tertiary:hover {
  background: #0e7c5c;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   BOUTIQUE — structure dédiée (différente des landings : fond blanc, pas de
   hero sombre). Header rendu opaque en permanence + lightbox galerie produit.
   ========================================================================== */

/* Header toujours opaque sur les pages boutique (fond blanc → sinon texte blanc invisible) */
body.boutique-page .site-header {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 4px 20px rgba(0, 0, 0, 0.04);
}
body.boutique-page .site-logo,
body.boutique-page .site-nav a { color: #27272a; }
body.boutique-page .site-nav a:hover { color: var(--accent-emerald); }
body.boutique-page .site-burger {
  background-color: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
  color: #111;
}

/* Lightbox galerie produit */
.bq-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--easing-premium), visibility 0.3s var(--easing-premium);
}
.bq-lightbox.is-open { opacity: 1; visibility: visible; }
.bq-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 1rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}
.bq-lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease;
}
.bq-lightbox__close:hover { background: rgba(255, 255, 255, 0.24); }

/* Image principale de la galerie produit : curseur loupe */
.bq-gallery-main { cursor: zoom-in; }

/* Miniatures galerie produit */
.bq-thumb {
  border: 2px solid transparent;
  border-radius: 0.75rem;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #f4f4f5;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.bq-thumb:hover { transform: translateY(-2px); }
.bq-thumb--active { border-color: #111; }

/* ==========================================================================
   BOUTIQUE v2 — refonte UI (2026-05-16)
   Classes utilitaires utilisées par sidebar/toolbar/cards/cats-rail/sheets.
   ========================================================================== */

/* --- Barre catégories mobile : overflow horizontal propre avec spacer droit --- */
.bq-cat-rail {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
}
.bq-cat-rail::-webkit-scrollbar { display: none; }
.bq-cat-rail__inner {
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.25rem 1.5rem 0.5rem 1.5rem;
  width: max-content;
}
.bq-cat-rail__spacer { display: inline-block; width: 1.5rem; flex-shrink: 0; }
/* Fade indicateur de scroll droit (overflow visuel) */
.bq-cat-rail::after {
  content: '';
  position: sticky;
  right: 0;
  top: 0;
  bottom: 0;
  width: 32px;
  pointer-events: none;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}

/* --- Carte produit : placeholder sans image (gradient + initiale marque) --- */
.bq-card-placeholder {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, #fafafa 60%, rgba(0,0,0,0.02) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem;
}
.bq-card-placeholder__initial {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 800;
  color: rgba(0,0,0,0.18);
  line-height: 1;
}
.bq-card-placeholder__label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(0,0,0,0.32);
}

/* --- Barre de recherche hero --- */
.bq-search { position: relative; }
.bq-search__icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: #6b7280; pointer-events: none;
}
.bq-search__input {
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111;
  padding: 0.75rem 2.5rem 0.75rem 2.5rem;
  border-radius: 0.875rem;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bq-search__input::placeholder { color: #9ca3af; }
.bq-search__input:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(0,0,0,0.06); }
.bq-search__clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 9999px;
  background: rgba(0,0,0,0.06); color: #4b5563;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1; cursor: pointer; border: 0;
  transition: background 0.2s ease;
}
.bq-search__clear:hover { background: rgba(0,0,0,0.12); }

/* --- Filtres : checkbox/radio compacts + pills prix --- */
.bq-check, .bq-radio {
  width: 16px; height: 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 4px;
  accent-color: #10B981;
  cursor: pointer;
}
.bq-radio { border-radius: 9999px; }
.bq-pill-filter {
  font-size: 12px; font-weight: 700;
  padding: 0.55rem 0.65rem; border-radius: 9999px;
  background: #f4f4f5; color: #374151;
  border: 1px solid #e4e4e7;
  cursor: pointer; transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.01em;
}
.bq-pill-filter:hover { background: #fff; border-color: #111; color: #111; }
.bq-pill-filter[aria-pressed="true"],
.bq-pill-filter.is-active {
  background: #111; color: #fff; border-color: #111;
}
/* Variante compacte pour la sidebar étroite (w-52) */
.bq-pill-filter--sm {
  font-size: 11px;
  padding: 0.45rem 0.35rem;
  letter-spacing: -0.015em;
}

/* --- Toolbar mobile : boutons Trier / Filtrer --- */
.bq-toolbar-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0.65rem 0.85rem;
  font-size: 13px; font-weight: 700;
  color: #111;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.bq-toolbar-btn:hover { border-color: #111; }
.bq-toolbar-btn[aria-pressed="true"] {
  background: #111; color: #fff; border-color: #111;
}

/* --- Bottom sheets mobiles (Trier / Filtrer) --- */
.bq-bottom-sheet {
  position: fixed; inset: 0; z-index: 70;
  visibility: hidden; opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.bq-bottom-sheet.is-open { visibility: visible; opacity: 1; }
.bq-bottom-sheet__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.bq-bottom-sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: #fff;
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 0.75rem 1.25rem 1.25rem;
  max-height: 80vh; overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s var(--easing-premium, cubic-bezier(0.4, 0, 0.2, 1));
  box-shadow: 0 -10px 40px rgba(0,0,0,0.18);
}
.bq-bottom-sheet.is-open .bq-bottom-sheet__panel { transform: translateY(0); }
.bq-bottom-sheet__handle {
  width: 40px; height: 4px;
  background: #e5e7eb; border-radius: 9999px;
  margin: 0 auto 0.75rem;
}
.bq-bottom-sheet__header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 0.75rem; margin-bottom: 0.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.bq-bottom-sheet__body { padding: 0.5rem 0; }
.bq-bottom-sheet__footer {
  display: flex; gap: 0.5rem;
  padding-top: 0.75rem; margin-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
}
.bq-bottom-sheet__footer button { flex: 1; }
body.bq-sheet-open { overflow: hidden; }

/* --- Carte produit base (group hover safe) --- */
.bq-card { display: flex; flex-direction: column; }

/* --- État masqué par les filtres / recherche --- */
.bq-card.is-hidden { display: none !important; }

/* --- Placeholder produit large (page fiche) --- */
.bq-card-placeholder__initial--lg {
  font-size: clamp(80px, 18vw, 160px);
}
.bq-card-placeholder__label--lg {
  font-size: 13px;
  letter-spacing: 0.18em;
}

/* --- Prose simplifiée pour la description longue produit (HTML injecté depuis JSON) --- */
.prose-bq p { margin-bottom: 1em; line-height: 1.7; font-size: 16px; }
.prose-bq p:last-child { margin-bottom: 0; }
.prose-bq strong { color: #111; font-weight: 700; }
.prose-bq em { font-style: italic; color: #374151; }

/* --- Carte placeholder dans la grille : utilisée à la place de .bq-card-placeholder
       quand le HTML est imbriqué sous une carte (aspect-square déjà géré par le parent). --- */
.bq-card-placeholder {
  width: 100%; height: 100%;
}

/* ==========================================================================
   14. BOUTIQUE — peaufinage mobile (2026-05-19)
   Toutes les règles ci-dessous sont ADDITIVES : aucune ne remplace une règle
   existante. Le design "Apple/Linear" du site reste intact.
   ========================================================================== */

/* 14.0 PATCH CRITIQUE — Tailwind compilé (figé mai 2026) ne contient PAS
   beaucoup de classes utilisées dans le projet. Sans règle CSS, ces classes
   sont SILENCIEUSEMENT ignorées :
   - aspect-ratio arbitraires → image prend sa taille naturelle → carte explose
   - min-w-0 → flex item ne peut pas rétrécir → grid déborde
   - line-clamp-X → texte non tronqué → push la largeur
   - min-h-[X] → réservation de hauteur ignorée → alignement cassé
   Les règles ci-dessous reproduisent ce que Tailwind aurait dû générer. */

/* Aspect-ratios arbitraires utilisés dans le projet */
.aspect-\[4\/3\]  { aspect-ratio: 4 / 3; }
.aspect-\[3\/2\]  { aspect-ratio: 3 / 2; }
.aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
.aspect-\[2\/1\]  { aspect-ratio: 2 / 1; }
.aspect-\[5\/4\]  { aspect-ratio: 5 / 4; }

/* min-w-0 : essentiel pour les flex items qui contiennent un grid ou du texte
   long — sans ça, l'item refuse de rétrécir sous sa largeur intrinsèque. */
.min-w-0 { min-width: 0; }

/* line-clamp : tronque le texte à N lignes (Tailwind plugin officiel manquant) */
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* min-h en em utilisés pour réserver la hauteur du titre de carte */
.min-h-\[2\.4em\] { min-height: 2.4em; }
.min-h-\[2\.6em\] { min-height: 2.6em; }

/* Variantes responsive sm: (≥640px) */
@media (min-width: 640px) {
  .sm\:aspect-square    { aspect-ratio: 1 / 1; }
  .sm\:aspect-\[4\/3\]  { aspect-ratio: 4 / 3; }
  .sm\:aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
  .sm\:items-end        { align-items: flex-end; }
  .sm\:gap-2            { gap: 0.5rem; }
  .sm\:justify-between  { justify-content: space-between; }
}

/* Variantes responsive md: (≥768px) — valeurs arbitraires manquantes */
@media (min-width: 768px) {
  .md\:aspect-\[2\/1\]  { aspect-ratio: 2 / 1; }
  .md\:aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
  .md\:aspect-\[4\/3\]  { aspect-ratio: 4 / 3; }
  .md\:aspect-auto      { aspect-ratio: auto; }
  .md\:text-\[15px\]    { font-size: 15px; }
  .md\:text-\[11px\]    { font-size: 11px; }
  .md\:px-3\.5          { padding-left: 0.875rem; padding-right: 0.875rem; }
  .md\:py-2\.5          { padding-top: 0.625rem; padding-bottom: 0.625rem; }
}

/* 14.0-bis Cartes catalogue villa/piscine : sur mobile, l'image 4/3 par défaut
   prend ~270px de hauteur (75% de viewport) — trop volumineux. On passe à 16/9
   (= 180px) pour réduire la hauteur totale de la carte sans changer le design. */
@media (max-width: 639px) {
  .maison-card__media {
    aspect-ratio: 16 / 9;
  }
  .maison-card__body {
    padding: 14px 14px 16px;
    gap: 10px;
  }
  .maison-card__name { font-size: 1.15rem; }
  .maison-card__price-value { font-size: 1.4rem; }
  .maison-card__stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px 0 6px;
  }
  .maison-card__stats li { font-size: 0.75rem; }
  .maison-card__cta-primary,
  .maison-card__cta-secondary,
  .maison-card__cta-tertiary {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

/* 14.1 Hero produit : ne plus couper le haut de l'image (toit, piscine, façade).
   aspect-ratio 4/3 sur mobile + object-position center top → tout le sujet visible. */
.bq-product-hero {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
}
@media (min-width: 768px) {
  .bq-product-hero {
    aspect-ratio: auto;
    height: 460px;
    object-position: center;
  }
}

/* 14.2 Galerie pavé Kandla : grande image principale + miniatures cohérentes mobile. */
.bq-gallery-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  cursor: zoom-in;
}
@media (min-width: 768px) {
  .bq-gallery-main {
    aspect-ratio: auto;
    height: 460px;
    object-position: center;
  }
}
.bq-gallery-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.bq-gallery-thumb:hover { transform: translateY(-2px); }
.bq-gallery-thumb--active { border-color: var(--accent-emerald); }

/* 14.3 Grille produits — alignement parfait du footer prix + CTA "Voir".
   Le footer (prix + bouton) reste collé au bas de chaque carte grâce à mt-auto. */
@media (max-width: 639px) {
  #bq-grid { gap: 0.625rem; }
}

/* 14.4 Toolbar mobile (Trier / Filtrer) : hauteur tactile WCAG 44 px (déjà 44+). */
.bq-toolbar-btn { min-height: 44px; }

/* 14.5 Barre catégories scrollable : safe-area pour iPhone à encoches.
   Le fade indicator droit est déjà géré par ::after dans la règle 13. */
.bq-cat-rail__inner {
  padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}

/* 14.5-bis Barre catégories STICKY mobile (style Amazon / Cdiscount).
   Reste collée sous le header sticky pendant le scroll de la grille produits.
   PAS de -mx négatif : on respecte le padding parent pour ne JAMAIS déborder. */
@media (max-width: 1023px) {
  .bq-cat-rail--sticky {
    position: sticky;
    top: 60px;                  /* hauteur header opaque boutique ≈ 40px logo + 2×10px padding (~60 px) */
    z-index: 30;                /* sous le header (40) et le dock (50) */
    background-color: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 1rem;
    max-width: calc(100% + 2rem);
  }
  .bq-cat-rail--sticky .bq-cat-rail__inner {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    padding-left: 0;
    padding-right: 0;
    gap: 0.4rem;
  }
  .bq-cat-rail--sticky::after { display: none; }
}

/* 14.5-ter Pills catégories — design soigné Apple/Linear-style.
   Touch target 38 px (WCAG-friendly), micro-interaction au tap, état actif
   noir avec léger relief, états inactifs ultra-discrets. */
.bq-cat-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 0.95rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #4b5563;
  background: #f4f4f5;
  border: 1px solid transparent;
  border-radius: 9999px;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.bq-cat-pill:hover {
  background: #fff;
  color: #111;
  border-color: #e5e7eb;
}
.bq-cat-pill:active {
  transform: scale(0.97);
}
.bq-cat-pill--active {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.bq-cat-pill--active:hover {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}

/* 14.6 Espace mort sous le header sticky : sur boutique mobile, le header opaque
   fait ~58 px. On garde 96 px (= pt-24) au lieu de pt-32 (128 px) pour gagner
   1 demi-écran tactile. */
@media (max-width: 639px) {
  body.boutique-page .bq-mobile-pt { padding-top: 6rem; }
}

/* 14.7 Bandeau vedettes (piscines / villas) : ratio 16:9 sur mobile sans rogner
   le toit ni la margelle, object-position légèrement remonté. */
@media (max-width: 639px) {
  .bq-feature-card { aspect-ratio: 16 / 9; }
  .bq-feature-card img { object-position: center 30%; }
}

/* 14.8 CTA primaire fiche produit (Stripe / Devis / Calendly) : zone tactile
   confortable + alignement parfait du texte sur 1 ligne mobile.
   `btn-black` existe déjà — on ajoute juste la hauteur minimum tactile. */
.btn-black { min-height: 52px; }

/* ==========================================================================
   15. MENU MOBILE — refonte Amazon-app (2026-05-19 v2)
   Plein-écran, scrollable, sections accordéon `<details>` natifs,
   header "Bonjour" + footer CTA fixes Calendly/Tel.
   ========================================================================== */
.site-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  gap: 0;
  /* Header "Bonjour" + body scrollable + footer fixe */
}
.site-mobile-menu.open { display: flex; }

/* Bouton fermer dans le header Bonjour */
.site-mobile-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.4rem;
  border: 0;
  cursor: pointer;
  z-index: 2;
}

/* Bandeau « Bonjour, bienvenue » emerald — façon Amazon app */
.site-mobile-menu__hello {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.4rem 1.25rem 1.1rem;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #fff;
  flex-shrink: 0;
}
.site-mobile-menu__hello-pic {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.site-mobile-menu__hello-l1 {
  font-size: 0.78rem;
  opacity: 0.9;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0;
}
.site-mobile-menu__hello-l2 {
  font-size: 0.98rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Corps scrollable du menu */
.site-mobile-menu__body {
  flex: 1;
  overflow-y: auto;
  background: #fff;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}

/* Lien direct simple (Accueil) */
.site-mobile-menu__item {
  display: flex !important;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.25rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #111 !important;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6 !important;
  border-top: 0 !important;
}
.site-mobile-menu__item:hover { background: #fafafa; }
.site-mobile-menu__item-icon {
  color: #6b7280;
  flex-shrink: 0;
}

/* === Accordion `<details>` === */
.site-mobile-menu__group {
  border-bottom: 1px solid #f3f4f6;
  background: #fff;
}
.site-mobile-menu__group > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  user-select: none;
  -webkit-tap-highlight-color: rgba(16, 185, 129, 0.08);
}
.site-mobile-menu__group > summary::-webkit-details-marker { display: none; }
.site-mobile-menu__group > summary::marker { display: none; }
.site-mobile-menu__group > summary:hover { background: #fafafa; }
.site-mobile-menu__summary-left {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #111;
}
.site-mobile-menu__summary-left svg { color: #6b7280; flex-shrink: 0; }
.site-mobile-menu__chevron {
  color: #9ca3af;
  flex-shrink: 0;
  transition: transform 0.25s var(--easing-premium, ease);
}
.site-mobile-menu__group[open] > summary .site-mobile-menu__chevron {
  transform: rotate(180deg);
  color: #10B981;
}
.site-mobile-menu__group[open] > summary {
  background: #f0fdf4;
}
.site-mobile-menu__group[open] > summary .site-mobile-menu__summary-left,
.site-mobile-menu__group[open] > summary .site-mobile-menu__summary-left svg {
  color: #047857;
}

/* Liste des sous-liens dans chaque accordion */
.site-mobile-menu__list {
  list-style: none;
  padding: 0.25rem 0 0.5rem;
  margin: 0;
  background: #fafafa;
  border: 0 !important;
}
.site-mobile-menu__list li { list-style: none; padding: 0; margin: 0; }
.site-mobile-menu__list a {
  display: block !important;
  padding: 0.7rem 1.25rem 0.7rem 3.1rem !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  color: #374151 !important;
  text-decoration: none;
  border: 0 !important;
  letter-spacing: -0.005em;
  position: relative;
}
.site-mobile-menu__list a::before {
  content: '';
  position: absolute;
  left: 1.85rem;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: #d1d5db;
  transform: translateY(-50%);
}
.site-mobile-menu__list a:hover {
  background: #f3f4f6;
  color: #10B981 !important;
}
.site-mobile-menu__list a:hover::before { background: #10B981; }
.site-mobile-menu__list-accent {
  color: #047857 !important;
  font-weight: 700 !important;
}

/* === Footer CTAs (Prendre RDV + Appeler) === */
.site-mobile-menu__footer {
  display: flex;
  gap: 0.6rem;
  padding: 0.85rem 1rem max(0.85rem, env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid #f3f4f6;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}
.site-mobile-menu__cta {
  flex: 1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 0.75rem !important;
  border-radius: 0.9rem;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-decoration: none;
  border: 0 !important;
}
.site-mobile-menu__cta--primary {
  background: #0a0a0a;
  color: #fff !important;
}
.site-mobile-menu__cta--primary:hover { background: #000; }
.site-mobile-menu__cta--secondary {
  background: #fff;
  color: #111 !important;
  border: 1px solid #e5e7eb !important;
}
.site-mobile-menu__cta--secondary:hover { background: #fafafa; }
.site-mobile-menu__cta--wa {
  background: #25D366;
  color: #fff !important;
}
.site-mobile-menu__cta--wa:hover { background: #1da851; }
/* 3 CTA dans le footer mobile : on resserre un peu pour tenir sur petit écran */
.site-mobile-menu__footer .site-mobile-menu__cta { padding: 0.8rem 0.5rem !important; font-size: 0.85rem !important; gap: 0.3rem; }

/* === Bloc auteur — ligne méta : dates de publication/MAJ + certifications ===
   Remplace l'ancien markup inline-flex qui fragmentait la date sur plusieurs
   lignes (« Publié le » / « 1 » / « janvier » / « 2026 »). Chaque item est une
   puce insécable ; la ligne entière passe à la ligne proprement si besoin. */
.author-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.15rem;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}
.author-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.author-meta__item svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  color: #10B981;
}
.author-meta__item time {
  font-weight: 600;
  color: #374151;
}
.author-meta__certs {
  color: #9ca3af;
  font-weight: 600;
}
@media (max-width: 480px) {
  .author-meta { gap: 0.5rem 0.9rem; }
  .author-meta__certs { flex-basis: 100%; }
}


/* ==========================================================================
   COMPARATEUR AVANT / APRÈS — _includes/partials/before-after-slider.njk
   JS : initBeforeAfter() dans assets/js/main.js
   ========================================================================== */
.ba-slider {
  --pos: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.35);
  background: #e5e7eb;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  isolation: isolate;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  will-change: clip-path;
  z-index: 2;
}
.ba-tag {
  position: absolute;
  top: 14px;
  z-index: 5;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ba-tag--before { left: 14px; background: rgba(17, 17, 17, 0.78); color: #fff; }
.ba-tag--after { right: 14px; background: rgba(16, 185, 129, 0.92); color: #fff; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin: 0;
  padding: 0;
  transform: translateX(-1px);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 14px rgba(0, 0, 0, 0.25);
  border: 0;
  z-index: 6;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.ba-handle:focus { outline: none; }
.ba-handle:focus-visible .ba-handle__grip {
  box-shadow: 0 0 0 3px #10B981, 0 6px 18px rgba(0, 0, 0, 0.4);
}
.ba-handle__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ba-slider:hover .ba-handle__grip { transform: translate(-50%, -50%) scale(1.08); }
.ba-slider.ba-slider--active .ba-handle__grip { transform: translate(-50%, -50%) scale(0.96); }
.ba-handle__grip svg { width: 22px; height: 22px; color: #111; }
.ba-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 5;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.7);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.ba-slider.ba-slider--touched .ba-hint {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}
@media (max-width: 640px) {
  .ba-handle__grip { width: 40px; height: 40px; }
  .ba-handle__grip svg { width: 18px; height: 18px; }
  .ba-tag { font-size: 0.65rem; top: 10px; padding: 4px 10px; }
  .ba-tag--before { left: 10px; }
  .ba-tag--after { right: 10px; }
  .ba-hint { bottom: 10px; font-size: 0.7rem; padding: 6px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ba-handle__grip,
  .ba-hint { transition: none; }
}

/* Modifier portrait pour comparateur avant/après — chantiers verticaux (smartphone) */
.ba-slider--portrait {
  aspect-ratio: 9 / 16;
  max-width: 460px;
  margin-inline: auto;
}

/* Modifier landscape 4:3 pour comparateur avant/après — chantiers reflex/smartphone horizontaux */
.ba-slider--landscape43 {
  aspect-ratio: 4 / 3;
  max-width: 720px;
  margin-inline: auto;
}

/* ==========================================================================
   CARTES CHANTIER — chantiers-maconnerie.njk (slider horizontal snap)
   Le CSS Tailwind du site est PRÉ-COMPILÉ et ne contient PAS les valeurs
   arbitraires w-[82vw]/w-[44vw]/w-[26vw] ni aspect-[4/3]. Sans ces règles
   les cartes n'ont aucune contrainte de largeur sur PC → images géantes.
   On définit donc les tailles ici, en CSS standard, garanti déployé.
   ========================================================================== */
.chantier-card {
  flex: 0 0 86vw;
  width: 86vw;
  min-width: 280px;
  aspect-ratio: 4 / 3;
  scroll-snap-align: center;
}
@media (min-width: 768px) {
  .chantier-card { flex: 0 0 44vw; width: 44vw; min-width: 0; }
}
@media (min-width: 1024px) {
  .chantier-card { flex: 0 0 26vw; width: 26vw; }
}
@media (min-width: 1400px) {
  /* Plafond pour grands écrans : ~360 px max */
  .chantier-card { flex: 0 0 25vw; width: 25vw; max-width: 380px; }
}
.chantier-card-spacer {
  flex-shrink: 0;
  width: 6vw;
}
@media (min-width: 768px) {
  .chantier-card-spacer { width: 12vw; }
}

/* ==========================================================================
   TL;DR — bloc « En bref » : stats en grille propre sur PC, empilées mobile
   Le rendu Tailwind `flex flex-wrap gap-x-6` collait les labels aux valeurs
   sans aucun séparateur visible (cf. screenshot 2026-05-27 page chantiers).
   On bascule en grille CSS native pour un rendu Apple-style aéré.
   ========================================================================== */
.tldr-stats {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2rem;
}
@media (min-width: 640px) {
  .tldr-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.tldr-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 2px solid #10B981;
}
.tldr-stat__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}
.tldr-stat__value {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
}

/* ============================================================
   Bandeau de consentement cookies (tracking visiteur — RGPD/CNIL)
   Markup : _includes/partials/cookie-consent.njk · logique : assets/js/tracking.js
   ============================================================ */
.lmvp-cc{position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:9999;max-width:560px;margin:0 auto;background:#0b0f17;color:#f5f5f5;border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:1.1rem 1.25rem;box-shadow:0 18px 50px rgba(0,0,0,.45);font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-size:.85rem;line-height:1.5}
.lmvp-cc[hidden]{display:none}
.lmvp-cc__text{margin:0 0 .85rem}
.lmvp-cc__text a{color:#10B981;text-decoration:underline}
.lmvp-cc__actions{display:flex;flex-wrap:wrap;gap:.6rem}
.lmvp-cc__btn{flex:1 1 auto;cursor:pointer;border-radius:11px;padding:.65rem 1rem;font-weight:700;font-size:.8rem;border:1px solid transparent;transition:transform .2s,background .2s}
.lmvp-cc__btn:hover{transform:translateY(-1px)}
.lmvp-cc__btn--accept{background:#10B981;color:#04130d}
.lmvp-cc__btn--refuse{background:transparent;color:#f5f5f5;border-color:rgba(255,255,255,.25)}
@media (max-width:520px){.lmvp-cc{font-size:.8rem}}

/* ---------------------------------------------------------------------------
   FIX bandeau conversion-booster (partials/conversion-booster.njk)
   Ces 4 utilitaires Tailwind sont PURGÉS du build compilé (tailwind-lmvp.min.css)
   → la carte « Pas encore prêt à nous appeler ? » s'affichait en blanc sur blanc
   (texte invisible) et le halo vert n'était pas flouté. On les redéfinit ici.
   --------------------------------------------------------------------------- */
.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}
.from-\[\#050505\]{--tw-gradient-from:#050505;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(5,5,5,0))}
.to-\[\#1a1a1a\]{--tw-gradient-to:#1a1a1a}
.blur-3xl{filter:blur(64px)}

/* ============================================================
   SECTION VIDÉOS — /videos/ (hub) + /videos/<slug>/ (pages dédiées)
   Design « chaîne / cinéma » volontairement distinct des landings :
   bandeau sombre, lecteur central, ponts vidéo → pages de service.
   Markup : pages/videos.njk, pages/video.njk · facade JS : assets/js/main.js
   Classes sémantiques (le Tailwind compilé est purgé : on ne s'appuie
   que sur nos classes ici + le markup facade déjà présent sur la home).
   ============================================================ */

/* --- Bandeau héros d'une vidéo --- */
.vid-hero{background:radial-gradient(120% 120% at 50% 0%,#0d1117 0%,#050505 60%);color:#f5f5f5;padding:5.5rem 1.5rem 3.5rem}
.vid-hero__inner{max-width:1000px;margin:0 auto}
.vid-eyebrow{display:inline-flex;align-items:center;gap:.5rem;font-size:.72rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#10B981}
.vid-eyebrow::before{content:"";display:inline-block;width:1.4rem;height:1px;background:#10B981}
.vid-hero__h1{font-size:clamp(1.6rem,4.2vw,2.6rem);line-height:1.12;font-weight:800;letter-spacing:-.02em;margin:1rem 0 1.1rem;color:#fff}
.vid-hero__meta{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center;margin-bottom:.4rem}
.vid-chip{display:inline-flex;align-items:center;gap:.4rem;font-size:.78rem;font-weight:600;color:#cbd5e1;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:999px;padding:.35rem .8rem}
.vid-chip svg{width:.95rem;height:.95rem;color:#10B981}
.vid-channel{display:inline-flex;align-items:center;gap:.45rem;font-size:.78rem;font-weight:700;color:#fff;background:#ff0000;border-radius:999px;padding:.4rem .85rem;text-decoration:none;transition:transform .2s,filter .2s}
.vid-channel:hover{transform:translateY(-1px);filter:brightness(1.05)}
.vid-channel svg{width:1rem;height:1rem}

/* --- Cadre du lecteur (entoure la facade Tailwind réutilisée) --- */
.vid-stage{margin:1.75rem auto 0;border-radius:1.25rem;overflow:hidden;border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 70px rgba(0,0,0,.55);background:#0a0a0a}
.vid-hero__lead{max-width:760px;margin:1.6rem auto 0;color:#d1d5db;font-size:1.06rem;line-height:1.7;text-align:center}

/* --- Bloc « ce que vous allez apprendre » --- */
.vid-section{padding:3.5rem 1.5rem}
.vid-section--light{background:#fff}
.vid-section--soft{background:#fafafa;border-top:1px solid #f0f0f0}
.vid-wrap{max-width:1000px;margin:0 auto}
.vid-h2{font-size:clamp(1.4rem,3vw,2rem);font-weight:800;letter-spacing:-.02em;color:#111;margin:.4rem 0 1.6rem}
.vid-intro{color:#4b5563;font-size:1.05rem;line-height:1.75;margin:0 0 1.5rem}
.vid-learn{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:.9rem}
@media(min-width:720px){.vid-learn{grid-template-columns:1fr 1fr}}
.vid-learn li{position:relative;display:flex;gap:.85rem;align-items:flex-start;background:#fafafa;border:1px solid #f0f0f0;border-radius:1rem;padding:1rem 1.15rem}
.vid-learn li::before{content:"";flex:none;margin-top:.15rem;width:1.35rem;height:1.35rem;border-radius:999px;background:#10B981;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat}
.vid-learn li span{font-size:.98rem;line-height:1.5;color:#374151;font-weight:500}

/* --- Ponts vidéo → pages de service (cœur du maillage) --- */
.vid-bridge{display:grid;grid-template-columns:1fr;gap:1rem}
@media(min-width:720px){.vid-bridge{grid-template-columns:1fr 1fr}}
.vid-bridge a{display:block;background:#fff;border:1px solid #ececec;border-radius:1.1rem;padding:1.25rem 1.35rem;text-decoration:none;transition:transform .25s,box-shadow .25s,border-color .25s}
.vid-bridge a:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,0,0,.08);border-color:#10B981}
.vid-bridge__label{display:flex;align-items:center;gap:.5rem;font-size:1.05rem;font-weight:800;color:#111;letter-spacing:-.01em}
.vid-bridge__label svg{width:1.05rem;height:1.05rem;color:#10B981;flex:none;transition:transform .25s}
.vid-bridge a:hover .vid-bridge__label svg{transform:translateX(4px)}
.vid-bridge__why{margin:.5rem 0 0;font-size:.92rem;line-height:1.55;color:#6b7280}

/* --- CTA vidéo --- */
.vid-cta{background:#050505;color:#fff;border-radius:1.5rem;padding:2.5rem 1.5rem;text-align:center;box-shadow:0 22px 60px rgba(0,0,0,.4)}
.vid-cta h3{font-size:clamp(1.4rem,3vw,2rem);font-weight:800;margin:0 0 .6rem;color:#fff}
.vid-cta p{color:#9ca3af;max-width:560px;margin:0 auto 1.5rem;line-height:1.6}
.vid-cta__row{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center}
.vid-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:.8rem;padding:.85rem 1.6rem;font-weight:700;font-size:.95rem;text-decoration:none;transition:transform .2s,filter .2s}
.vid-btn--primary{background:#10B981;color:#04130d}
.vid-btn--primary:hover{transform:translateY(-2px);filter:brightness(1.05)}
.vid-btn--ghost{background:rgba(255,255,255,.06);color:#fff;border:1px solid rgba(255,255,255,.25)}
.vid-btn--ghost:hover{background:rgba(255,255,255,.12)}
.vid-btn--dark{background:#111;color:#fff}
.vid-btn--dark:hover{transform:translateY(-2px);filter:brightness(1.15)}
.vid-btn--light{background:#fff;color:#111;border:1px solid #e5e7eb}
.vid-btn--light:hover{background:#f7f7f7}

/* --- Bandeau « revenir à toutes les vidéos » --- */
.vid-back{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;color:#10B981;text-decoration:none;font-size:.95rem}
.vid-back svg{width:1rem;height:1rem;transition:transform .2s}
.vid-back:hover svg{transform:translateX(-4px)}

/* ============================================================
   HUB /videos/ — galerie de toutes les vidéos
   ============================================================ */
.vidhub-hero{background:radial-gradient(120% 120% at 50% 0%,#0d1117 0%,#050505 60%);color:#fff;padding:6rem 1.5rem 3rem;text-align:center}
.vidhub-hero__inner{max-width:780px;margin:0 auto}
.vidhub-hero h1{font-size:clamp(1.9rem,5vw,3rem);font-weight:800;letter-spacing:-.025em;margin:1rem 0 1rem;color:#fff}
.vidhub-hero p{color:#cbd5e1;font-size:1.08rem;line-height:1.7}
.vidhub-stats{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:center;margin-top:1.8rem}
.vidhub-stat{text-align:center}
.vidhub-stat b{display:block;font-size:1.6rem;font-weight:800;color:#10B981}
.vidhub-stat span{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:#9ca3af}

.vidhub-nav{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid #eee;padding:.75rem 1rem}
.vidhub-nav__inner{max-width:1200px;margin:0 auto;display:flex;gap:.5rem;overflow-x:auto;justify-content:flex-start}
.vidhub-nav a{flex:none;font-size:.85rem;font-weight:700;color:#374151;text-decoration:none;padding:.5rem .95rem;border-radius:999px;border:1px solid #e5e7eb;transition:background .2s,color .2s,border-color .2s;white-space:nowrap}
.vidhub-nav a:hover{background:#10B981;color:#fff;border-color:#10B981}

.vidhub-cat{padding:3rem 1.5rem 1rem}
.vidhub-cat__head{max-width:1200px;margin:0 auto 1.6rem}
.vidhub-cat__eyebrow{font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#10B981}
.vidhub-cat__title{font-size:clamp(1.4rem,3vw,1.9rem);font-weight:800;letter-spacing:-.02em;color:#111;margin:.4rem 0 0}
.vidhub-cat__intro{color:#6b7280;margin:.5rem 0 0;max-width:680px;line-height:1.6}
.vidhub-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr;gap:1.4rem}
@media(min-width:640px){.vidhub-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1000px){.vidhub-grid{grid-template-columns:1fr 1fr 1fr}}

.vidcard{display:flex;flex-direction:column;background:#fff;border:1px solid #ececec;border-radius:1.1rem;overflow:hidden;text-decoration:none;transition:transform .25s,box-shadow .25s,border-color .25s}
.vidcard:hover{transform:translateY(-4px);box-shadow:0 18px 45px rgba(0,0,0,.1);border-color:#10B981}
.vidcard__thumb{position:relative;aspect-ratio:16/9;background:#0a0a0a;overflow:hidden}
.vidcard__thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.vidcard:hover .vidcard__thumb img{transform:scale(1.05)}
.vidcard__play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.vidcard__play span{width:3.4rem;height:3.4rem;border-radius:999px;background:rgba(0,0,0,.55);border:2px solid rgba(255,255,255,.4);display:flex;align-items:center;justify-content:center;transition:background .25s,border-color .25s,transform .25s}
.vidcard:hover .vidcard__play span{background:#10B981;border-color:#10B981;transform:scale(1.1)}
.vidcard__play svg{width:1.3rem;height:1.3rem;color:#fff;margin-left:2px}
.vidcard__views{position:absolute;left:.6rem;bottom:.6rem;font-size:.72rem;font-weight:700;color:#fff;background:rgba(0,0,0,.7);border-radius:.4rem;padding:.2rem .5rem}
.vidcard__body{padding:1rem 1.1rem 1.2rem;display:flex;flex-direction:column;flex:1}
.vidcard__title{font-size:1rem;font-weight:700;color:#111;line-height:1.35;letter-spacing:-.01em}
.vidcard:hover .vidcard__title{color:#10B981}
.vidcard__foot{margin-top:auto;padding-top:.8rem;display:flex;align-items:center;gap:.4rem;font-size:.82rem;font-weight:700;color:#9ca3af}
.vidcard:hover .vidcard__foot{color:#10B981}
.vidcard__foot svg{width:.95rem;height:.95rem;transition:transform .2s}
.vidcard:hover .vidcard__foot svg{transform:translateX(3px)}
