/* ==========================================================================
   VITRINE DIGITALE PEETERS — CSS V9 (SEAM BLUR UNIQUE & LECTEUR DÉDIÉ 00:00)
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --brand-pink: #D60B88;
  --brand-pink-hover: #B80873;
  --brand-pink-subtle: #FDF2F8;

  --bg-page: #F8F7F4;
  --bg-page-gradient: linear-gradient(180deg, #FFFFFF 0%, #F8F7F4 18%, #F3F1EB 55%, #EDEBE3 100%);
  --bg-surface: #FFFFFF;
  --bg-surface-subtle: #F5F3ED;
  --bg-footer: #161514;

  --text-heading: #1C1917;
  --text-main: #44403C;
  --text-muted: #78716C;

  --border-hairline: rgba(28, 25, 23, 0.08);
  --border-light: rgba(228, 221, 208, 0.30);
  --border-medium: rgba(208, 196, 176, 0.30);

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  background-image: var(--bg-page-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- DEUX LARGEURS STRICTES --- */
.container-xl {
  max-width: 1872px; /* Conteneur Nos Réalisations x 0.975 (1920 * 0.975) */
  width: 97.5%;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.container-actualite-1280 {
  max-width: 1400px;
  width: 78.75vw;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ==========================================================================
   ESTHÉTIQUE DES PHOTOS DE REFONTE-PEETERS (ARÊTES BISEAUTÉES ATTÉNUÉES DE 30%)
   ========================================================================== */
.photo-refonte-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: none !important;
  background: transparent;
  box-shadow:
    -14px 22px 50px -10px rgba(15, 23, 42, 0.16),
    -5px 8px 18px -4px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring);
}

/* Pseudo-élément superposé (Lumière Haut/Droite & Ombre Bas/Gauche) */
.photo-refonte-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  z-index: 12;
  box-shadow:
    /* Lumière supérieure (Haut) */
    inset 0 16px 20px -8px rgba(255, 255, 255, 0.36),
    inset 0 3px 2px 0 rgba(255, 255, 255, 0.50),
    /* Lumière latérale droite */
    inset -14px 0 18px -6px rgba(255, 255, 255, 0.32),
    inset -3px 0 2px 0 rgba(255, 255, 255, 0.43),
    /* Ombre d'épaisseur basse */
    inset 0 -16px 20px -8px rgba(0, 0, 0, 0.29),
    inset 0 -3px 3px 0 rgba(0, 0, 0, 0.22),
    /* Ombre d'épaisseur gauche */
    inset 14px 0 18px -6px rgba(0, 0, 0, 0.26),
    inset 3px 0 3px 0 rgba(0, 0, 0, 0.18),
    /* Fine arête de contour blanc/perle */
    inset 0 0 0 1px rgba(255, 255, 255, 0.17);
  transition: box-shadow 0.35s ease;
}

.photo-refonte-frame:hover {
  transform: translateY(-2px);
  box-shadow:
    -18px 28px 60px -8px rgba(15, 23, 42, 0.20),
    -6px 12px 22px -4px rgba(15, 23, 42, 0.10);
}

.photo-refonte-frame:hover::after {
  box-shadow:
    inset 0 18px 22px -8px rgba(255, 255, 255, 0.43),
    inset 0 3px 2px 0 rgba(255, 255, 255, 0.60),
    inset -16px 0 20px -6px rgba(255, 255, 255, 0.38),
    inset -3px 0 2px 0 rgba(255, 255, 255, 0.50),
    inset 0 -18px 22px -8px rgba(0, 0, 0, 0.35),
    inset 0 -3px 3px 0 rgba(0, 0, 0, 0.26),
    inset 16px 0 20px -6px rgba(0, 0, 0, 0.31),
    inset 3px 0 3px 0 rgba(0, 0, 0, 0.21),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   1. HEADER IDENTIQUE REFONTE-PEETERS (HAUTEUR 110px, LOGO 104px)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999999 !important; /* Au-dessus de tout le monde */
  opacity: 1 !important;
  background-color: rgba(255, 255, 255, 0.50) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid rgba(228, 221, 208, 0.50);
  height: 179px;
  min-height: 179px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 16px -2px rgba(28, 25, 23, 0.05);
  -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 37.5px), transparent 100%);
  mask-image: linear-gradient(to bottom, black calc(100% - 37.5px), transparent 100%);
}

/* Le logo et la pastille téléphone restent strictement opaques à 1 */
.logo-sanctuary-island,
.logo-svg,
.header-right-phone,
.btn-header-phone-link {
  opacity: 1 !important;
}

.mobile-header-backdrop {
  display: none !important;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 97.5%;
  max-width: 1872px; /* Aligné sur la largeur de Nos Réalisations x 0.975 */
  margin: 0 auto;
  height: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.logo-sanctuary-island {
  display: inline-flex;
  align-items: center;
  height: 100%;
  margin-right: auto;
  flex-shrink: 0;
}

.logo-svg {
  height: 120px; /* x0.9 sur desktop (133px * 0.9) */
  max-height: 120px;
  width: auto;
  object-fit: contain;
  display: block;
  transform: translate(-18px, 2px); /* 18px vers la gauche */
}

.header-right-phone {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.btn-header-phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem; /* -15% */
  background-color: var(--brand-pink);
  border-radius: 9999px;
  font-size: 0.92rem; /* -15% */
  font-weight: 700;
  color: #FFFFFF !important;
  text-decoration: none;
  white-space: nowrap;
  transform: translateY(10px); /* baissé de 10px */
  transition: background 0.2s var(--ease-spring), transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(214, 11, 136, 0.28);
}

.btn-header-phone-link .phone-number-text {
  color: #FFFFFF !important;
  white-space: nowrap;
}

.btn-header-phone-link:hover {
  background-color: var(--brand-pink-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   2. VIDÉO HERO (AMBIANCE BLUR X2 & LECTEUR DÉDIÉ SCELLÉ À 00:00)
   ========================================================================== */
.section-hero-cinema {
  display: block;
  margin-top: -179px; /* Passe derrière le header translucide de 179px (+20px) */
  padding: 0 0 calc(2rem - 5px);
  position: relative;
  z-index: 10;
  width: 100% !important;
}

.section-hero-cinema .container-xl {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.cinema-frame-box {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  /* Hauteur -17px par le bas (remontée de 17px) */
  height: calc(min(71vh, 630px) + 123px); /* 140px - 17px = 123px */
  margin-top: 0;
  border-radius: 0 !important;
  overflow: hidden;
  border: none !important;
  background: transparent;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
}

.cinema-frame-box.photo-refonte-frame {
  border-radius: 0 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10) !important;
}

/* Biseaux & Arêtes Directionnelles sur la boîte vidéo (Coins carrés full-width) */
.cinema-frame-box::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0 !important;
  pointer-events: none;
  z-index: 25;
  box-shadow:
    /* Lumière supérieure (Haut) */
    inset 0 20px 24px -8px rgba(255, 255, 255, 0.40),
    inset 0 3px 2px 0 rgba(255, 255, 255, 0.56),
    /* Ombre d'épaisseur basse (Bas) — Réduite de 50% */
    inset 0 -10px 14px -6px rgba(0, 0, 0, 0.19),
    inset 0 -2px 2px 0 rgba(0, 0, 0, 0.14),
    /* Fine arête de contour blanc/perle haut/bas */
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -1px 0 rgba(255, 255, 255, 0.20);
}

@keyframes ouvertureAuBlanc50Frames {
  0% {
    filter: blur(45px) brightness(4.0) sepia(1) saturate(5.0) contrast(0.2);
    opacity: 0.1;
  }

  30% {
    filter: blur(25px) brightness(2.2) sepia(0.4) saturate(2.8) contrast(0.6);
    opacity: 0.7;
  }

  100% {
    filter: blur(10px) brightness(1.20) sepia(0) saturate(1.39) contrast(0.96);
    opacity: 1;
  }
}

.hero-video-ambient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transform: none;
  filter: none;
  pointer-events: none;
  transition: opacity 0.4s ease;
  animation: ouvertureAuBlanc50Frames 1.66s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 2. Lecteur Vidéo Principal Haute Définition Dédié */
.hero-video-clean-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 50;
  border-radius: 0 !important;
  background: transparent;
}

/* Overlay & Lettrage avec Voile Dépoli Blanc Cassé / Crème à 0.35 d'Opacité */
.video-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centrage vertical parfait pour marge haute = marge basse */
  align-items: center;
  text-align: center;
  padding: calc(179px + 1.5rem) 2rem 1.5rem 2rem; /* Compense les 179px du header pour garder le centrage parfait */
  background: radial-gradient(circle at 50% 55%, rgba(246, 243, 236, 0.20) 0%, rgba(246, 243, 236, 0.35) 55%, rgba(238, 234, 225, 0.35) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.45s ease;
}

.video-hero-overlay.overlay-hidden {
  opacity: 0;
  pointer-events: none;
  display: none !important;
}

.hero-blur-text-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  max-width: 1020px;
  margin-bottom: 0;
}

.hero-blur-title {
  margin: 0;
}

/* ==========================================================================
   VERSION 2 AFFINÉE : L'ÉDITORIAL GRAND FORMAT & LOGO QUALIBAT BLEU
   ========================================================================== */

.editorial-text-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 1060px;
  margin-top: 0; /* Alignement rigoureusement centré */
  margin-bottom: 0;
  transform: translateY(-17px); /* Remontée Desktop de 17px */
}

/* Logo Qualibat Bleu Intégré */
.editorial-qualibat-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.15rem;
}

.editorial-qualibat-logo {
  height: 78px;
  width: auto;
  border-radius: 8px;
  border: none;
  box-shadow: none;
  object-fit: contain;
  display: block;
}

/* Titre Majeur Asymétrique Grand Format */
.editorial-title-wrapper {
  position: relative;
  text-align: center;
}

.editorial-title-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.40rem;
  margin: 0;
}

.editorial-lead-line {
  font-family: var(--font-display);
  font-size: clamp(1.50rem, 3.2vw, 2.65rem); /* -2 points */
  font-weight: 900;
  color: #161413;
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95), 0 2px 10px rgba(255, 255, 255, 0.60);
}

.editorial-accent-hairline {
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-pink), transparent);
  margin: 0.35rem auto;
  border-radius: 2px;
}

.editorial-secondary-line {
  font-family: var(--font-display);
  font-size: clamp(1.10rem, 2.1vw, 1.62rem); /* +2 points */
  font-weight: 800; /* Lettrage gras */
  color: #2E2925;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.90);
}

.editorial-amp {
  color: var(--brand-pink);
  font-weight: 800;
  margin: 0 0.15rem;
}

.editorial-sub,
.hero-blur-sub.editorial-sub {
  font-size: clamp(1.18rem, 1.75vw, 1.40rem) !important;
  font-weight: 600;
  color: #2E2925;
  line-height: 1.5;
  max-width: 820px;
  margin: 0.2rem auto 0 auto;
  text-wrap: balance;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.50) !important;
}

/* Matiérage minéral avec bordure 0.30 et ombre de contact */
.satin-shimmer-box {
  position: relative;
  overflow: hidden;
  background: rgba(246, 243, 236, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  border-radius: 2.5px !important;
  box-shadow: 0 4px 14px -2px rgba(28, 25, 23, 0.06), 0 1px 3px rgba(28, 25, 23, 0.04) !important;
}

/* Barre de Statut Continue Inférieure avec bordure 0.30 et ombre de contact */
.editorial-bottom-bar {
  display: flex;
  justify-content: center;
  width: 100%;
}

.editorial-status-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 8px 20px;
  background: rgba(246, 243, 236, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px -2px rgba(28, 25, 23, 0.06), 0 1px 3px rgba(28, 25, 23, 0.04) !important;
}

.editorial-status-pill::before,
.editorial-status-pill::after {
  display: none !important;
}

.editorial-status-pill::before,
.editorial-status-pill::after {
  border-radius: 9999px !important;
}

.status-seg {
  display: inline-flex;
  align-items: center;
  gap: 0.60rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1A1715;
  padding: 6px 16px;
  letter-spacing: -0.01em;
}

.status-vertical-sep {
  width: 1px;
  height: 18px;
  background: rgba(28, 25, 23, 0.18);
  margin: 0 2px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: #1A1715;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.status-seg.status-sinistre {
  color: #1A1715;
}

.status-seg.status-sinistre .sinistre-spark-icon {
  color: var(--brand-pink);
  font-size: 0.95rem;
}

.hero-blur-sub {
  font-size: clamp(1.22rem, 1.85vw, 1.45rem);
  font-weight: 600;
  color: #2E2925;
  max-width: 860px;
  line-height: 1.5;
  margin: 0 auto;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.45);
  letter-spacing: -0.005em;
}

.hero-blur-text-bottom {
  display: flex;
  justify-content: center;
}

.hero-blur-sinistre {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1A1715;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 22px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 3px 16px rgba(28, 25, 23, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  letter-spacing: -0.01em;
}

.sinistre-spark-icon {
  color: var(--brand-pink);
  font-size: 0.85rem;
  display: inline-block;
}

/* Bouton Play CTA avec Glow Pulsant Ultra Intense, Halo Étendu & Brillance */
.video-play-cta-wrapper {
  cursor: pointer;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-top: 15px;
  margin-bottom: 15px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinema-frame-box:hover .video-play-cta-wrapper {
  transform: scale(1.08);
}

.video-play-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--brand-pink);
  color: #FFFFFF;
  border: 2.5px solid rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: pulsePlayHalo 2.2s infinite;
}

.hero-play-sub-hint {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4A433D;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 3px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@keyframes pulsePlayHalo {
  0% {
    transform: scale(1);
    background-color: #E60B94;
    filter: brightness(1.12) drop-shadow(0 0 3.4px rgba(255, 26, 155, 0.65));
    box-shadow:
      0 2px 6.8px rgba(214, 11, 136, 0.70),
      0 0 0 0 rgba(255, 26, 155, 0.38),
      0 0 6.8px rgba(255, 26, 155, 0.60),
      0 0 13.6px rgba(255, 26, 155, 0.30);
  }

  50% {
    transform: scale(1.09);
    background-color: #FF26A6;
    filter: brightness(1.40) drop-shadow(0 0 6.1px rgba(255, 38, 166, 0.90));
    box-shadow:
      0 4px 12.8px rgba(214, 11, 136, 0.90),
      0 0 0 5.4px rgba(255, 26, 155, 0),
      0 0 15px rgba(255, 38, 166, 0.90),
      0 0 24.5px rgba(255, 38, 166, 0.55);
  }

  100% {
    transform: scale(1);
    background-color: #E60B94;
    filter: brightness(1.12) drop-shadow(0 0 3.4px rgba(255, 26, 155, 0.65));
    box-shadow:
      0 2px 6.8px rgba(214, 11, 136, 0.70),
      0 0 0 0 rgba(255, 26, 155, 0.38),
      0 0 6.8px rgba(255, 26, 155, 0.60),
      0 0 13.6px rgba(255, 26, 155, 0.30);
  }
}

/* --- Titre éditorial d'amorce scroll Desktop (Même typo & trait magenta, zéro pilule) --- */
.hero-scroll-cue-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 34px; /* Baissé de 10px (24px + 10px) */
  padding: 0 clamp(1rem, 2.5vw, 2.5rem);
  position: relative;
  z-index: 30;
  width: 100%;
}

.hero-scroll-cue-link {
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.hero-scroll-cue-link:hover {
  transform: translateY(2px);
}

.hero-cue-title-group {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-cue-title-group .realisations-section-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

/* Sur Desktop : masquer le doublon du titre à l'intérieur de la boîte blanche */
@media (min-width: 769px) {
  .realisations-header-title-bar {
    display: none !important;
  }
}

/* ==========================================================================
   3. SECTION "NOS RÉALISATIONS" (FULL WIDTH BORD À BORD 100%)
   ========================================================================== */
.section-realisations-xl {
  margin-top: 7px; /* Baissé de 7px */
  padding: 0.5rem 0 1.5rem;
  background: transparent;
  border-top: none;
  border-bottom: 1px solid rgba(228, 221, 208, 0.30);
  width: 100% !important;
}

.section-realisations-xl .container-xl {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* Conteneur Blanc "Nos Réalisations" Full Width */
.realisations-fullwidth-box {
  background: #FFFFFF !important;
  border-top: 1.5px solid rgba(28, 25, 23, 0.35) !important;
  border-bottom: 1.5px solid rgba(28, 25, 23, 0.35) !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 1.75rem 0 calc(1.75rem + 40px) 0;
  box-shadow:
    0 0 18px rgba(28, 25, 23, 0.08),
    0 18px 30px -4px rgba(28, 25, 23, 0.16) !important;
  box-sizing: border-box;
}

.realisations-fullwidth-box > .realisations-header-title-bar,
.realisations-fullwidth-box > .carousel-deploy-area {
  margin-left: clamp(1rem, 2.5vw, 2.5rem);
  margin-right: clamp(1rem, 2.5vw, 2.5rem);
  width: auto;
}

/* ==========================================================================
   CHAPITRAGES ÉDITORIAUX : SIGNATURE TRAIT STYLISÉ MAGENTA
   Inspiré du trait séparateur de la homepage (discret, effilé, premium)
   ========================================================================== */
.chapitre-title-group {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

.chapitre-accent-hairline {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    var(--brand-pink) 0%, 
    rgba(214, 11, 136, 0.70) 50%, 
    rgba(214, 11, 136, 0.25) 82%, 
    transparent 100%
  );
  margin-top: 0.35rem;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(214, 11, 136, 0.18);
}

.chapitre-sep-dash {
  color: var(--brand-pink);
  font-weight: 600;
  margin: 0 0.35rem;
}

.realisations-header-title-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
  padding-bottom: 0.45rem;
}

.realisations-section-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-heading);
}

/* Grille / Bandeau défilant des 9 Galeries — GPU-acceleré via translateX */
.rubriques-x-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.85rem 0.5rem 1.25rem;
  align-items: center;
}

.rubriques-scroll-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.rubriques-x-grid::-webkit-scrollbar {
  display: none;
}

.rubriques-track-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1.15rem;
  align-items: center;
  flex-shrink: 0;
}

.rubriques-track-row.is-clone {
  display: flex;
}

/* Indication sous les scrolling galleries : Sélectionner une galerie pour plus de détails */
.rubriques-sub-hint-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 0.65rem 1rem 0;
  margin: 0 auto;
}

.rubriques-sub-hint-text {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--brand-pink);
  letter-spacing: 0.02em;
  text-align: center;
}

/* Carte Ravalement de Façade : taille STRICTEMENT ÉGALE aux autres + bordure fine magenta */
.rubrique-card-ravalement {
  border: 1.5px solid var(--brand-pink) !important;
  box-shadow: 0 4px 14px rgba(214, 11, 136, 0.16) !important;
}

.rubrique-card-ravalement:hover,
.rubrique-card-ravalement.active {
  border-color: var(--brand-pink) !important;
  box-shadow: 0 10px 24px -2px rgba(214, 11, 136, 0.28), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

.hero-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin-bottom: 0.45rem;
  text-align: center;
  min-height: auto !important;
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.22rem !important;
  font-weight: 800 !important;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.hero-card-sub {
  font-family: var(--font-sans);
  font-size: 0.80rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-photo-stack {
  width: 200px !important;
  height: 110px !important;
  margin: 0 auto !important;
}

.rubrique-x-card {
  width: 190px;
  flex: 0 0 190px;
  min-width: 190px;
  background: var(--bg-surface-subtle);
  border: 1px solid rgba(208, 196, 176, 0.40);
  border-radius: 9px;
  box-shadow: 0 3px 10px -2px rgba(28, 25, 23, 0.06);
  padding: 0.40rem 0.25rem 0.45rem;
  cursor: pointer;
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  user-select: none;
  z-index: 1;
  overflow: visible;
}

.rubrique-x-card:hover,
.rubrique-x-card.active {
  z-index: 20;
  border-color: rgba(214, 11, 136, 0.55);
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 10px 24px -3px rgba(214, 11, 136, 0.15), 0 4px 10px rgba(0, 0, 0, 0.06);
  background: #FFF;
}

.rubrique-x-card-head {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.25rem;
  text-align: center;
  width: 100%;
  min-height: 2.2em;
}

.rubrique-x-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.18;
  text-align: center;
  word-break: normal;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* EFFET ÉVENTAIL NATIF MULTI-PHOTOS (Conteneur neutre, cartes x0.9 à 104x76px, décalage -3px à gauche) */
.photo-stack-container {
  position: relative;
  width: 160px;
  height: 105px;
  margin: auto auto 2px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.photo-stack-item {
  position: absolute;
  width: 104px; /* x0.9 (115 * 0.9) */
  height: 76px;  /* x0.9 (84 * 0.9) */
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 3px 9px -2px rgba(0, 0, 0, 0.28), 0 2px 4px rgba(0, 0, 0, 0.14);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, filter 0.4s ease;
  background: #E5E0D8;
  transform-origin: bottom center;
}

.photo-stack-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Effet laiteux & adouci pour les cartes d'arrière-plan */
.stack-pos-2 img,
.stack-pos-3 img,
.stack-pos-4 img,
.stack-pos-5 img {
  filter: brightness(1.02) contrast(0.90) saturate(0.85);
  opacity: 0.88;
}

.stack-pos-1 img {
  filter: none;
  opacity: 1;
}

/* ÉVENTAIL NORMALISÉ AVEC DÉCALAGE -3px À GAUCHE */
.stack-pos-4 {
  z-index: 1;
  transform: rotate(-9deg) translate(-13px, 2px) scale(0.92);
}

.stack-pos-2 {
  z-index: 3;
  transform: rotate(-4.5deg) translate(-8px, 1px) scale(0.96);
}

.stack-pos-1 {
  z-index: 5;
  transform: rotate(0deg) translate(-3px, 0) scale(1.04);
  box-shadow: 0 6px 15px -3px rgba(0, 0, 0, 0.32), 0 2px 5px rgba(0, 0, 0, 0.18);
}

.stack-pos-3 {
  z-index: 4;
  transform: rotate(4.5deg) translate(2px, 1px) scale(0.96);
}

.stack-pos-5 {
  z-index: 2;
  transform: rotate(9deg) translate(7px, 2px) scale(0.92);
}

/* Interaction au survol */
.rubrique-x-card:hover .stack-pos-4 {
  transform: rotate(-11deg) translate(-13px, 2px) scale(0.94);
}
.rubrique-x-card:hover .stack-pos-2 {
  transform: rotate(-5.5deg) translate(-6px, 1px) scale(0.98);
}
.rubrique-x-card:hover .stack-pos-1 {
  transform: rotate(0deg) translate(0, -3px) scale(1.05);
  box-shadow: 0 8px 18px -3px rgba(214, 11, 136, 0.16), 0 2px 5px rgba(0, 0, 0, 0.20);
}
.rubrique-x-card:hover .stack-pos-3 {
  transform: rotate(5.5deg) translate(6px, 1px) scale(0.98);
}
.rubrique-x-card:hover .stack-pos-5 {
  transform: rotate(11deg) translate(13px, 2px) scale(0.94);
}

/* Zone du Carrousel 3D Déployé */
.carousel-deploy-area {
  width: 100%;
  max-width: 100%;
  margin: 1.25rem auto 0 auto;
  padding: 1.25rem 1.5rem;
  background: #FFFFFF !important;
  border: 1.5px solid rgba(28, 25, 23, 0.35) !important;
  border-radius: 16px;
  box-shadow:
    0 0 18px rgba(28, 25, 23, 0.10),
    -14px 22px 34px -4px rgba(28, 25, 23, 0.22),
    -6px 8px 14px -2px rgba(28, 25, 23, 0.12) !important;
  animation: fadeIn 0.35s ease;
}

.carousel-deploy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.carousel-active-title-group {
  display: inline-flex;
  align-items: center;
}

.carousel-active-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background-image: linear-gradient(90deg, 
    var(--brand-pink) 0%, 
    rgba(214, 11, 136, 0.70) 50%, 
    rgba(214, 11, 136, 0.25) 82%, 
    transparent 100%
  );
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 0.25em;
}

.carousel-active-title::before {
  content: '✦';
  color: var(--brand-pink);
  font-weight: 800;
  margin-right: 0.4em;
  font-size: 0.75em;
  letter-spacing: 0;
}

.carousel-active-hairline {
  display: none;
}

.carousel-hover-hint {
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--brand-pink);
  transform: translateY(7px); /* Baissé de 15px (-8px + 15px) */
}

.btn-close-carousel {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-medium);
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-close-carousel:hover {
  color: var(--brand-pink);
  border-color: var(--brand-pink);
}

/* ==========================================================================
   PLEIN ÉCRAN DESKTOP : Galerie Scroll en V agrandie remplissant la page
   (bande défilante des 9 galeries-éventails visible juste sous le header,
    galerie calée à 20px du bas, bord supérieur à 20px sous le header)
   ========================================================================== */
/* ==========================================================================
   GALERIE V — MODE IMMERSIF SOUS LE HEADER
   Le header reste au-dessus en Z.
   La galerie passe derrière lui sans déplacement vertical du header.
   ========================================================================== */

.section-realisations-xl.deploy-fullscreen {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 20px;
  left: 0;

  /*
   Le header est à z-index:999999.
   Cette section reste volontairement très en dessous :
   les vignettes peuvent donc passer derrière le header.
   */
  z-index: 900 !important;

  background: transparent !important;
  overflow-x: hidden;
  overflow-y: auto;
  border: none !important;
  margin: 0;
  padding: 0;
  pointer-events: auto;
}

.section-realisations-xl.deploy-fullscreen .realisations-header-title-bar {
  display: none !important;
}

.section-realisations-xl.deploy-fullscreen .container-xl {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/*
   Important :
   aucun fond blanc opaque ne doit se trouver derrière le header.
   Le header translucide doit laisser voir les vignettes qui passent dessous.
 */
.section-realisations-xl.deploy-fullscreen .realisations-fullwidth-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  width: 100%;
  max-width: none;
  min-height: calc(100vh - 20px);

  margin: 0;
  padding: 0;

  box-sizing: border-box;

  background: transparent !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;

  transform: none !important;
  transform-origin: top center;
}

/*
   Le bandeau des vignettes commence naturellement en haut de la section.
   Il passe sous le header grâce au z-index inférieur de la section.
 */
.section-realisations-xl.deploy-fullscreen .rubriques-x-grid {
  flex: 0 0 auto;
  transform: translateY(-35px) !important;
  position: relative;
  z-index: 1;
}

/*
   La Vgalerie occupe l'espace disponible.
   Son bord inférieur reste à 20px du bas de la fenêtre.
 */
.section-realisations-xl.deploy-fullscreen .carousel-deploy-area {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;

  min-height: 0;
  height: calc(100vh - 20px);

  margin: 0;
  padding: 0.4rem 0.9rem 0.5rem;

  background: transparent !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  animation: none;
}

.section-realisations-xl.deploy-fullscreen .stage-3d-viewport.stage-cream-bg {
  position: relative;
  z-index: 1;

  width: 100%;
  height: 100%;
  min-height: 0;

  flex: 1 1 auto;

  background: var(--bg-surface-subtle) !important;
  border-radius: 12px;
}

/* Scale sur le TRACK (espace intérieur sans contrainte), pas sur le viewport
   (conteneur perspective + overflow:hidden qui rognait l'effet) */
.section-realisations-xl.deploy-fullscreen .stage-3d-track {
  transform: translateY(-15px) scale(1.452); /* Remonté de 15px et grossi de 10% (1.32 * 1.10) */
  transform-origin: center;
}

.section-realisations-xl.deploy-fullscreen .stage-dots-container {
  transform: scale(0.4); /* points blanc/magenta réduits x0.4 (combiné avec le x1.15 du stage) */
  transform-origin: bottom center;
}


/* CARROUSEL 3D : HAUTEUR COMPACTE OPTIMISÉE (480px SUR DESKTOP, FLUIDE ET LÉGER) */
.stage-3d-viewport.stage-cream-bg {
  position: relative;
  width: 100%;
  height: 480px;
  perspective: none !important;
  overflow: hidden;
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  box-shadow: none !important;
  cursor: ew-resize;

  user-select: none;
  -webkit-user-select: none;
}

.stage-3d-viewport.stage-cream-bg::before,
.stage-3d-viewport.stage-cream-bg::after {
  display: none !important;
  content: none !important;
  box-shadow: none !important;
}

.stage-3d-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: flat !important;
  display: flex;
  align-items: center;
  justify-content: center;

}

/* Cartes 3D STRICTEMENT 16:9 — Sans liseré ni cartouche */
.stage-card-3d {
  position: absolute;
  width: 765px;
  max-width: 83%;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-surface-subtle);
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  border: 1px solid rgba(28, 25, 23, 0.20);
  box-shadow:
    0 0 9px rgba(28, 25, 23, 0.05),
    -7px 11px 18px -2px rgba(28, 25, 23, 0.16),
    -3px 4px 8px -1px rgba(28, 25, 23, 0.08) !important;
  overflow: hidden;
  opacity: 1 !important;
  transition: none !important; /* Piloté en 60fps pur par requestAnimationFrame sans friction */
  will-change: auto;
  image-rendering: auto !important;

  user-select: none;
  -webkit-user-select: none;
}

/* Voile laiteux minéral */
.stage-card-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(246, 243, 236, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  opacity: var(--card-milky-opacity, 0);
  pointer-events: none;
  transition: opacity 0.22s ease;
  border-radius: 12px;
}

/* Cartouches magenta & liserés désactivés */
.stage-card-3d.has-magenta-borders::before,
.stage-card-3d::before {
  display: none !important;
  content: none !important;
}

.stage-card-3d .slide-content,
.slide-bottom-cartouche {
  display: none !important;
  visibility: hidden !important;
}

/* BANDE UNIQUE DE FLOU DE CONTACT 3D */
.seam-blur-strip {
  position: absolute;
  width: 240px;
  pointer-events: none;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.4);
  -webkit-mask-image: 
    linear-gradient(to right, transparent 0, black 15px, black calc(100% - 15px), transparent 100%),
    linear-gradient(to bottom, transparent 0, black 15px, black calc(100% - 15px), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: 
    linear-gradient(to right, transparent 0, black 15px, black calc(100% - 15px), transparent 100%),
    linear-gradient(to bottom, transparent 0, black 15px, black calc(100% - 15px), transparent 100%);
  mask-composite: intersect;
  border-radius: 0px;
  display: none;
}

.stage-dots-container {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 50;
  pointer-events: none;
}

.stage-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(339, 0%, 100%) !important; /* BLANC PUR */
  border: 1px solid rgba(28, 25, 23, 0.25);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.90;
  pointer-events: auto;
  cursor: pointer;
  padding: 4px; /* Zone tactile élargie pour le doigt */
  box-sizing: content-box;
}

.stage-dot.active {
  background: var(--brand-pink, #D60B88) !important; /* BILLE MAGENTA PEETERS */
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(214, 11, 136, 0.70);
  opacity: 1;
}

/* Badge Pictogramme Multi-Images Style Instagram */
.instagram-multi-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 60;
  background: rgba(28, 25, 23, 0.75) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none; /* TRES IMPORTANT : Empêche le navigateur d'interpréter le toucher */
}

.instagram-multi-badge:hover {
  background: rgba(214, 11, 136, 0.85); /* Magenta de survol */
  transform: scale(1.10);
  box-shadow: 0 4px 14px rgba(214, 11, 136, 0.45);
}

.instagram-multi-badge:active {
  transform: scale(0.95);
}

.instagram-multi-badge svg {
  width: 17px;
  height: 17px;
  display: block;
}

@media (max-width: 768px) {
  .instagram-multi-badge {
    top: 10px !important;
    right: 10px !important;
  }

  /* Points blanc et magenta divisés par 3 sur mobile */
  .stage-dots-container {
    bottom: 8px !important;
    gap: 4px !important;
  }
  .stage-dot {
    width: 4px !important;
    height: 4px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.30) !important;
  }
  .stage-dot.active {
    width: 6px !important;
    height: 6px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    box-shadow: 0 0 5px rgba(214, 11, 136, 0.75) !important;
  }
}

/* Sélecteur Tactile Horizontal des 3 Galeries Chantiers Max au Doigt (Chips UI Instagram) */
.terrain-touch-chips-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.20rem 0.25rem 1.15rem;
  margin-bottom: 0.5rem;
}

.terrain-touch-chips-nav::-webkit-scrollbar {
  display: none;
}

.terrain-chip-btn {
  flex: 1 1 0;
  min-width: 105px;
  max-width: 220px;
  min-height: 42px;
  padding: 8px 12px;
  background: rgba(246, 243, 236, 0.90);
  border: 1.5px solid var(--border-medium);
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: all 0.2s var(--ease-spring);
  box-shadow: 0 2px 6px rgba(28, 25, 23, 0.04);
  touch-action: manipulation;
  user-select: none;
}

.terrain-chip-btn:hover {
  border-color: var(--brand-pink);
  background: #FFF;
}

.terrain-chip-btn:active,
.terrain-chip-btn.active {
  background: var(--brand-pink);
  color: #FFFFFF;
  border-color: var(--brand-pink);
  box-shadow: 0 4px 12px rgba(214, 11, 136, 0.30);
}

.terrain-chip-btn.active svg path {
  fill: #FFFFFF;
  stroke: #FFFFFF;
}

.terrain-chip-btn .chip-pin {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}


/* ==========================================================================
   4. SECTION "ACTUELLEMENT SUR LE TERRAIN" (CONTENEUR BLANC 2/3 = 1280px)
   ========================================================================== */
.section-actualite-1280 {
  padding: 3.5rem 0;
  margin-top: 38px; /* Baissé de 18px supplémentaires (20px + 18px) */
}

.actualite-white-box {
  position: relative;
  background-color: var(--brand-pink-subtle) !important;
  background-image: none !important;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 10px 35px rgba(28, 25, 23, 0.06);
  overflow: hidden;
}

/* Filet Périphérique Double EXACT d'hier soir : Magenta Adouci 2px & Sous-couche Nacre Blanc Cassé 6px (#F3F0EA) */
.actualite-white-box::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(214, 11, 136, 0.40);
  border-radius: 14px;
  pointer-events: none;
  z-index: 10;
}

.actualite-white-box::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 6px #F3F0EA;
  pointer-events: none;
  z-index: 9;
}

.actualite-live-header-strip {
  padding-top: 15px; /* Baisse tout le texte de 15px */
  margin-bottom: 1.5rem;
}

.live-fast-glow-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Voyant Rouge Clignotant Rapide (Diamètre et Glow Réduits de Moitié) */
.live-flash-dot-strong {
  width: 7px;
  height: 7px;
  background-color: #FF0000;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px 2px #FF0000, 0 0 0 2px rgba(255, 0, 0, 0.30);
  animation: fastRedGlow 0.85s infinite alternate;
}

@keyframes fastRedGlow {
  0% {
    transform: scale(0.90);
    box-shadow: 0 0 4px 1px #FF0000, 0 0 0 1.5px rgba(255, 0, 0, 0.25);
  }

  100% {
    transform: scale(1.15);
    box-shadow: 0 0 12px 3.5px #FF0000, 0 0 0 4px rgba(255, 0, 0, 0.40);
  }
}

.actualite-text-group {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.actualite-main-banner {
  font-family: var(--font-sans);
  font-size: 1.34rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-heading);
}

.actualite-time-banner {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-pink);
  background: var(--brand-pink-subtle);
  padding: 3px 10px;
  border-radius: 9999px;
}

/* Barre d'Administration (Masquée par défaut pour les visiteurs, activée via ?admin=1) */
.admin-terrain-bar {
  display: none;
  justify-content: space-between;
  align-items: center;
  background: rgba(246, 243, 236, 0.85);
  border: 1px dashed var(--border-medium);
  border-radius: 10px;
  padding: 10px 18px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.admin-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-pink);
  border-radius: 50%;
}

.admin-bar-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-heading);
}

.admin-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease-spring);
  border: none;
}

.btn-admin-add {
  background: var(--brand-pink);
  color: #FFF;
  box-shadow: 0 2px 8px rgba(214, 11, 136, 0.3);
}

.btn-admin-add:hover {
  background: var(--brand-pink-hover);
  transform: translateY(-1px);
}

.btn-admin-refresh {
  background: #FFF;
  color: var(--text-heading);
  border: 1px solid var(--border-medium);
}

.btn-admin-refresh:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--brand-pink);
}

/* Pile des Galeries / Carrousels 3D */
.terrain-galleries-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Conteneurs Blancs Galeries Chantiers : 95% de largeur full width */
.gallery-carrousel-unit {
  width: 95% !important;
  max-width: 95% !important;
  margin: 0 auto;
  background: #FFFFFF !important;
  border: 1.5px solid rgba(28, 25, 23, 0.35) !important;
  border-radius: 18px;
  padding: 1.75rem 0 0 0;
  box-shadow:
    0 0 18px rgba(28, 25, 23, 0.10),
    -14px 22px 34px -4px rgba(28, 25, 23, 0.22),
    -6px 8px 14px -2px rgba(28, 25, 23, 0.12) !important;
  animation: fadeIn 0.4s ease;
  box-sizing: border-box;
  overflow: hidden;
}

.bellecour-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  padding: 0 1.75rem;
}

.bellecour-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.04rem; /* Réduit x0.8 (1.30 * 0.8) */
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.chantier-pin-icon {
  width: 16px; /* Réduit x0.8 */
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 2px 4px rgba(214, 11, 136, 0.25));
}

.bellecour-date-tag {
  display: block;
  font-size: 0.72rem; /* Réduit x0.8 (0.90 * 0.8) */
  font-weight: 600;
  color: var(--brand-pink);
  margin-top: 3px;
}

.bellecour-badge {
  font-size: 0.70rem; /* Réduit x0.8 (0.88 * 0.8) */
  font-weight: 700;
  color: var(--brand-pink);
  background: rgba(214, 11, 136, 0.08);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid rgba(214, 11, 136, 0.30);
  white-space: nowrap;
}

/* Flèches tactiles masquées selon demande utilisateur */
.stage-touch-arrow {
  display: none !important;
}

.stage-terrain-viewport {
  width: 100% !important;
  height: var(--terrain-stage-h, 384px) !important;
  border: none !important;
  border-radius: 0 0 16px 16px !important;
  overflow: hidden !important; /* Empêche le débordement 3D hors du viewport */
  contain: paint !important;
  clip-path: inset(0 0 0 0 round 0 0 16px 16px) !important;
  perspective: 1600px !important;
}

.stage-terrain-viewport:not(.is-vertical-carousel) .stage-card-3d {
  aspect-ratio: var(--terrain-card-ratio, 16 / 9);
}

.stage-terrain-viewport .stage-3d-track {
  transform-style: preserve-3d !important;
}

/* Format 9:16 Vertical pour les Carrousels Terrain (agrandi x1.2 puis x1.1 : 507px) */
@media (min-width: 769px) {
  .is-vertical-carousel.stage-terrain-viewport {
    height: 507px !important;
  }

  .is-vertical-carousel .stage-card-3d {
    width: auto;
    height: 462px;
    max-height: 92%;
    aspect-ratio: 9 / 16;
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 768px) {
  .stage-terrain-viewport {
    height: var(--terrain-stage-h, 380px) !important;
  }
}

/* Flèches Tactiles Thumb Zone (>= 44px) */
.stage-touch-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: var(--text-heading);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 80;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  line-height: 1;
  padding-bottom: 2px;
}

.stage-touch-arrow:hover {
  background: #FFF;
  color: var(--brand-pink);
  transform: translateY(-50%) scale(1.08);
}

.stage-touch-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.stage-touch-arrow.arrow-prev {
  left: 14px;
}

.stage-touch-arrow.arrow-next {
  right: 14px;
}

/* ==========================================================================
   INTERCALAIRE QUALIBAT (AGRANDI X1.5 ENTRE TERRAIN ET PRÉSENTATION)
   ========================================================================== */
.qualibat-intercalaire-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4.5rem 0 3.5rem 0;
  margin: 0 auto;
}

.qualibat-logo-intercalaire {
  height: 102px; /* Agrandissement x1.5 (68px * 1.5 = 102px) */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 6px 16px rgba(28, 25, 23, 0.08));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.qualibat-logo-intercalaire:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 10px 24px rgba(28, 25, 23, 0.14));
}

/* ==========================================================================
   5. PRÉSENTATION PEETERS (TITRE MONOLIGNE & SPECS)
   ========================================================================== */
.section-presentation-unifiee {
  padding: 2.5rem 0 5rem;
}

.pres-header-top-clean {
  margin-bottom: 3.5rem;
}

.pres-title-inline {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   STRUCTURE D'UN ÉTAGE EN QUINCONCE ASYMÉTRIQUE (STYLE ATTACHÉ WINS STÉPHANE)
   ========================================================================== */
.strata-tier-row {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 6.5rem; /* Aération généreuse entre les rubriques */
}

/* Étage avec Photo à Droite (01 et 03) */
.tier-right-photo {
  justify-content: flex-start;
}

.tier-right-photo .tier-card-block {
  width: 72%;
  padding-right: 18%; /* Zone de respiration libre pour l'overlap de la photo droite */
}

.tier-right-photo .tier-photo-layer {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 35%;
  z-index: 10; /* Toujours au-dessus de la carte */
}

/* Étage avec Photo à Gauche (02 et 04) */
.tier-left-photo {
  justify-content: flex-end;
}

.tier-left-photo .tier-card-block {
  width: 72%;
  padding-left: 18%; /* Zone de respiration libre pour l'overlap de la photo gauche */
}

.tier-left-photo .tier-photo-layer {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 36%;
  z-index: 10; /* Toujours au-dessus de la carte */
}

/* 1. CONTENEUR CARTE TEXTE BLANCHE ÉLÉVÉE (Ombres marquées en dessous et à gauche) */
.tier-card-block {
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 
    -14px 18px 36px -4px rgba(28, 25, 23, 0.11),
    -4px 6px 12px -2px rgba(28, 25, 23, 0.06);
  border: 1px solid rgba(228, 221, 208, 0.40);
  padding: 42px 50px;
  position: relative;
  z-index: 1;
}

/* Header de carte avec alignement parfait */
.tier-card-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 0.9rem;
  margin-bottom: 1.35rem;
}

.tier-idx-badge {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-pink);
  background: var(--brand-pink-subtle);
  border: 1px solid var(--brand-pink-border);
  padding: 4px 10px;
  border-radius: 6px;
  line-height: 1;
}

.tier-heading {
  font-family: var(--font-display);
  font-size: 1.30rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-heading);
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.tier-sub-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Pilule Magenta 39 Collaborateurs */
.tier-meta-tag-pink {
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--brand-pink-subtle);
  color: var(--brand-pink);
  border: 1.5px solid var(--brand-pink-border);
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.tier-highlight-lead {
  font-size: 1.10rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1.15rem;
  line-height: 1.4;
}

/* Listes avec chevrons magenta harmonisés */
.tier-realisations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tier-realisations-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
}

.list-bullet-icon {
  color: var(--brand-pink);
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1.3;
  flex-shrink: 0;
}

/* Pôle Personnel : Hero Peintres Niveau III */
.painter-hero-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, #FFF1F5 0%, #FFFFFF 100%);
  border: 1.5px solid var(--brand-pink-border);
  padding: 1.1rem 1.4rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(214, 11, 136, 0.06);
}

.painter-count-huge {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-pink);
  line-height: 1;
}

.painter-banner-meta strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
}

.painter-banner-meta span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--brand-pink);
  font-weight: 700;
}

.team-flow-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.team-flow-chip {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--text-main);
}

.team-flow-chip strong {
  color: var(--text-heading);
  font-weight: 700;
}

.team-flow-chip.highlight-pink {
  border-color: var(--brand-pink-border);
  background: var(--brand-pink-subtle);
  color: var(--brand-pink);
}

/* Pôle Écologie : Badge vert */
.eco-badge-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 12px 18px;
  border-radius: 10px;
}

.eco-badge-icon {
  font-size: 1.5rem;
  line-height: 1;
}

/* 2. PHOTOS HAUTE DÉFINITION DÉBORDANTES : RAYON 8px + OMBRES MARQUÉES EN DESSOUS & À GAUCHE */
.realisation-photo-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(228, 221, 208, 0.40);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  box-shadow: 
    -16px 20px 38px -4px rgba(15, 23, 42, 0.18),
    -5px 8px 14px -2px rgba(15, 23, 42, 0.10);
  background-color: #1E293B;
}

@media (hover: hover) and (pointer: fine) {
  .realisation-photo-frame {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .realisation-photo-frame:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
      -20px 26px 46px -4px rgba(15, 23, 42, 0.22),
      -8px 12px 18px -2px rgba(15, 23, 42, 0.12);
  }
}

.realisation-framed-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: none;
}

.realisation-photo-frame:hover .realisation-framed-img {
  transform: scale(1.045);
}

/* 3. PARALLAXE + BLUR PROGRESSIF (DESKTOP) : Flou dégressif pur 2px sur les 4 photos de présentation (sans voile laiteux) */
.section-presentation-unifiee .realisation-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

/* Flou haut dégressif (0 à 22% de la hauteur) : Blur pur 2px sans milky */
.section-presentation-unifiee .realisation-photo-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22%;
  z-index: 4;
  pointer-events: none;
  background: transparent;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0) 100%);
}

/* Flou bas dégressif (78% à 100% de la hauteur) : Blur pur 2px sans milky */
.section-presentation-unifiee .realisation-photo-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22%;
  z-index: 4;
  pointer-events: none;
  background: transparent;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0) 100%);
}

.realisation-framed-img {
  will-change: transform;
  transition: none;
}

.tier-left-photo .realisation-framed-img {
  height: 440px;
}

.photo-edge-reflection {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 8px;
  box-shadow:
    inset 0 16px 20px -8px rgba(255, 255, 255, 0.42),
    inset 0 2px 2px 0 rgba(255, 255, 255, 0.55),
    inset 14px 0 18px -6px rgba(255, 255, 255, 0.35),
    inset 2px 0 2px 0 rgba(255, 255, 255, 0.45),
    inset 0 -14px 18px -6px rgba(0, 0, 0, 0.25),
    inset -12px 0 16px -6px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.pres-cta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-pres-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.3rem;
  background: var(--brand-pink);
  color: #FFF;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: 8px;
}

.btn-pres-mail {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-pink);
  text-decoration: none;
}

/* Colonne Photos */
.pres-col-photos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.photo-box {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.pres-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-sunset-team {
  height: 320px;
}

.photo-dual-bottom {
  display: flex;
  gap: 1rem;
}

.photo-wide-2x {
  height: 190px;
  flex: 1.4;
}

.photo-materiel-orig {
  height: 190px;
  flex: 1;
}

/* ==========================================================================
   6. SECTION COORDONNÉES DE L'ENTREPRISE (BANDEAU ARCHITECTURAL PLEINE LARGEUR)
   ========================================================================== */
.section-coordonnees-entreprise {
  width: 100%;
  background: #FFFFFF;
  border-top: 1px solid rgba(228, 221, 208, 0.50);
  border-bottom: none; /* Supprime toute bande de démarcation intermédiaire */
  padding: 3.5rem 0 2rem;
  box-shadow: 0 4px 20px -2px rgba(28, 25, 23, 0.04);
}

.coordonnees-unified-white-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.coordonnees-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.coordonnees-title {
  font-family: var(--font-display);
  font-size: 1.85rem; /* Exactement la même taille que PEETERS et Nos réalisations */
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.coordonnees-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-pink);
  background: var(--brand-pink-subtle);
  padding: 4px 12px;
  border-radius: 9999px;
}

.coordonnees-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: center;
}

.coordonnees-info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-entry-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.contact-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-pink-subtle);
  color: var(--brand-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(216, 27, 96, 0.12);
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.contact-icon-bubble svg {
  width: 22px;
  height: 22px;
}

.contact-entry-row:hover .contact-icon-bubble {
  transform: scale(1.06);
  background: var(--brand-pink);
  color: #FFFFFF;
}

.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-value-phone {
  margin: 1px 0 0 0;
}

.contact-value-phone a,
.contact-value-phone .btn-header-phone-link {
  font-size: calc(1.35rem - 3px) !important;
  font-weight: 800;
  font-family: var(--font-display);
  margin-top: 1px !important;
  margin-bottom: 1px !important;
  padding-top: 0.38rem !important;
  padding-bottom: 0.38rem !important;
  text-decoration: none;
  transition: background 0.2s var(--ease-spring), transform 0.2s ease;
}

.contact-value-phone .phone-number-text {
  font-size: inherit !important;
}

.contact-value-phone a:hover {
  background-color: var(--brand-pink-hover);
  transform: translateY(-1px);
}

.contact-value-email a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-pink);
  text-decoration: none;
}

.contact-address-text,
.contact-address-text * {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-main) !important;
  font-weight: 600;
  text-decoration: none !important;
  -webkit-text-fill-color: var(--text-main) !important;
}

.contact-address-text a {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none;
  cursor: default;
  -webkit-text-fill-color: inherit !important;
}

.contact-horaires-clean {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 0.25rem;
}

.contact-horaires-text {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-heading);
}

/* Plan Google Maps Grand Format */
.coordonnees-map-column {
  width: 100%;
}

.google-map-large-frame {
  width: 100%;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: 0 8px 25px rgba(28, 25, 23, 0.08);
}

.google-map-large-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   7. FOOTER (BLANC & ÉPURÉ AVEC COPYRIGHT AU-DESSUS DU DOCK FLOTTANT)
   ========================================================================== */
.site-footer {
  background: #FFFFFF;
  color: var(--text-muted);
  padding: 1rem 0 6.55rem;
  border-top: none; /* Zéro liseré ou bande parasite au-dessus du copyright */
  position: relative;
  z-index: 10;
}

.footer-inner-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.90rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   ADAPTATION MOBILE & DÉTECTION FORMAT AUTOMATIQUE (MAX-WIDTH 1080px, 768px, 480px)
   ========================================================================== */
@media (max-width: 1200px) {
  .pres-title-inline {
    white-space: normal;
    font-size: 1.3rem;
  }
}

@media (max-width: 1080px) {
  .rubriques-x-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    scroll-snap-type: none !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    will-change: auto;
    width: 100%;
    scrollbar-width: none;
  }

  .rubriques-x-grid::-webkit-scrollbar {
    display: none;
  }

  .rubriques-track-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
  }

  .rubriques-track-row.is-clone {
    display: flex;
  }

  .rubrique-x-card,
  .rubrique-hero-card {
    flex: 0 0 128px !important;
    width: 128px !important;
    min-width: 128px !important;
    padding: 0.35rem 0.20rem 0.35rem !important;
    will-change: auto;
    contain: layout style;
    overflow: visible !important;
  }

  .hero-card-badge-wrap,
  .hero-card-sub {
    display: none !important;
  }

  .photo-stack-container {
    width: 135px !important;
    height: 95px !important;
    margin: 0 auto !important;
  }

  .photo-stack-item,
  .eventail-composite-img,
  .fan-composite-img {
    width: 130px !important;
    height: 95px !important;
    max-width: 130px !important;
    max-height: 95px !important;
    object-fit: contain !important;
  }

  .rubrique-x-name {
    font-size: 0.82rem !important;
    line-height: 1.15;
  }
}

@media (max-width: 960px) {
  .presentation-unified-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .materiels-two-cols {
    grid-template-columns: 1fr;
  }

  .coordonnees-grid-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .google-map-large-frame {
    height: 280px;
  }

}

@media (max-width: 768px) {
  /* Neutralisation du masque blanc opaque : la vidéo passe derrière le header translucide */
  .mobile-header-backdrop {
    display: none !important;
  }

  /* Header : Calage strict à gauche du logo et pilule téléphone horizontale monomiligne */
  /* Header : Calage strict à gauche du logo (+4pt) et téléphone (+2pt) */
  .site-header {
    height: 121px !important; /* baissé de 20px par le bas (101px + 20px) */
    min-height: 121px !important;
    z-index: 999999 !important; /* Au-dessus de tout le monde */
  }

  .header-container {
    width: 100%;
    padding: 0 0.75rem;
  }

  .logo-svg {
    height: 79px; /* grossi x1.1 */
    max-width: 250px;
    transform: translateY(0px); /* remonté de 10px (10px - 10px) */
  }

  .btn-header-phone-link {
    padding: 0.40rem 0.76rem; /* -15% */
    font-size: 0.83rem; /* -15% */
    gap: 0.38rem;
    transform: translateY(15px); /* remonté de 10px (25px - 10px) */
  }

  .btn-header-phone-link svg {
    width: 14px;
    height: 14px;
  }

  .btn-micro-sas-trigger {
    transform: none !important;
  }

  /* Hero Cinema Mobile : Étendu derrière le header translucide de 121px sans changer le bas */
  .section-hero-cinema {
    margin-top: -121px !important; /* Passe derrière le header mobile de 121px (+20px) */
    padding: 0 0 calc(1rem - 5px) !important;
    width: 100% !important;
    position: relative;
    z-index: 10;
  }

  .section-hero-cinema .container-xl {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .cinema-frame-box {
    margin: 0 !important;
    /* Ancien sommet: 123px (101px + 22px). Nouveau sommet: 0px. Hauteur +123px: la position basse reste strictement identique */
    height: calc(100dvh - 67px) !important; /* (100dvh - 190px) + 123px */
    min-height: 450px !important;
    max-height: 820px !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.10) !important;
  }

  .cinema-frame-box.photo-refonte-frame,
  .cinema-frame-box::after,
  .hero-video-clean-player {
    border-radius: 0 !important;
  }

  .video-hero-overlay {
    padding: calc(121px + 1rem) 0.75rem 1rem 0.75rem !important;
    justify-content: center !important;
  }

  .editorial-text-top {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    gap: 0.65rem !important;
  }

  .editorial-qualibat-logo {
    height: 50px;
  }

  .editorial-lead-line {
    font-size: 1.40rem;
    letter-spacing: -0.01em;
  }

  .editorial-secondary-line {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
  }

  .editorial-accent-hairline {
    width: 90px;
    margin: 0.2rem auto;
  }

  .video-play-btn {
    width: 52px;
    height: 52px;
  }

  .video-play-btn svg {
    width: 28px !important;
    height: 28px !important;
  }

  .editorial-sub,
  .hero-blur-sub.editorial-sub {
    font-size: 0.90rem !important;
    line-height: 1.38;
    max-width: 95%;
  }

  /* --- ÉLARGISSEMENT DE TOUS LES CONTENEURS À 100% DE LARGEUR SUR MOBILE --- */
  .container-xl {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0.40rem !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .container-actualite-1280 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0.20rem !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  /* Boîte "Nos Réalisations" Mobile Full Width bord à bord */
  .realisations-fullwidth-box {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    background: #FFFFFF !important;
    border-top: 1.5px solid rgba(28, 25, 23, 0.35) !important;
    border-bottom: 1.5px solid rgba(28, 25, 23, 0.35) !important;
    padding: 1.25rem 0 calc(1.25rem + 40px) 0 !important;
    box-shadow:
      0 0 16px rgba(28, 25, 23, 0.08),
      0 12px 24px -4px rgba(28, 25, 23, 0.16) !important;
    box-sizing: border-box !important;
  }

  .realisations-fullwidth-box > .realisations-header-title-bar,
  .realisations-fullwidth-box > .carousel-deploy-area {
    margin-left: 0.75rem !important;
    margin-right: 0.75rem !important;
    width: auto !important;
  }

  .section-realisations-xl .container-xl {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .presentation-unified-card,
  .coordonnees-unified-white-card,
  .footer-inner-layout {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }

  /* Amorce scroll : masquée sur mobile (Desktop only) */
  .hero-scroll-cue-wrapper {
    display: none !important;
  }

  /* Section Réalisations */
  .section-realisations-xl {
    margin-top: 0 !important;
    padding: 0.75rem 0 1rem;
    width: 100% !important;
  }

  .realisations-header-title-bar {
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
  }

  .realisations-section-title {
    font-size: 1.40rem;
  }

  .stage-3d-viewport.stage-cream-bg {
    height: 260px;
  }

  .carousel-hover-hint {
    display: none !important;
  }

  /* --- CARROUSEL MOBILE : SUPPRESSION TRAITEMENT 3D, LOOK LAITEUX ET BLUR --- */
  .stage-card-3d {
    max-width: 96%;
    filter: none !important;
    -webkit-filter: none !important;
    border: 1px solid rgba(28, 25, 23, 0.20) !important;
    box-shadow:
      0 0 8px rgba(28, 25, 23, 0.05),
      -6px 9px 15px -2px rgba(28, 25, 23, 0.16),
      -3px 4px 7px -1px rgba(28, 25, 23, 0.08) !important;
    transition: none !important;
    will-change: transform;
    transform: translateZ(0);
  }

  .stage-card-3d::after {
    display: none !important;
    opacity: 0 !important;
  }

  .seam-blur-strip {
    display: none !important;
  }

  /* --- RUBRIQUE "ACTUELLEMENT SUR LE TERRAIN" : 100% LARGEUR AVEC LISERÉ DISTINCTIF & MARGE MINIMALE --- */
  .section-actualite-1280 {
    padding: 0.75rem 0 1.25rem;
    margin-top: 38px !important; /* Baissé de 18px supplémentaires (20px + 18px) */
    width: 100% !important;
  }

  .actualite-white-box {
    width: 100% !important;
    border-radius: 14px !important;
    border: 1px solid var(--border-light) !important;
    padding: 1.25rem 0.60rem !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 18px rgba(28, 25, 23, 0.05) !important;
    position: relative !important;
    overflow: hidden !important;
    background-color: var(--brand-pink-subtle) !important;
    background-image: none !important;
  }

  .actualite-white-box::before {
    display: block !important;
    content: '' !important;
    position: absolute !important;
    inset: 4px 6px !important;
    border: 2px solid rgba(214, 11, 136, 0.50) !important;
    border-radius: 8px !important;
    pointer-events: none !important;
    z-index: 10 !important;
  }

  .actualite-white-box::after {
    display: block !important;
    content: '' !important;
    position: absolute !important;
    inset: 4px 6px !important;
    border-radius: 8px !important;
    box-shadow: inset 0 0 0 4px #F3F0EA !important;
    pointer-events: none !important;
    z-index: 9 !important;
  }

  .actualite-live-header-strip {
    padding: 15px 0.5rem 0 0.5rem !important; /* Baisse tout le texte de 15px */
    margin-bottom: 0.75rem !important;
  }

  .live-fast-glow-wrap {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
  }

  .live-flash-dot-strong {
    margin-top: 5px !important; /* Calé pile sur la ligne de texte de la phrase */
    flex-shrink: 0 !important;
  }

  .actualite-text-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.20rem !important;
  }

  .actualite-main-banner {
    font-size: 1.15rem;
    line-height: 1.15 !important;
  }

  .bellecour-header {
    padding: 0 0.5rem !important;
    margin-bottom: 0.75rem !important;
  }

  .gallery-carrousel-unit {
    border-radius: 14px !important;
    padding: 1.15rem 0 0.5rem 0 !important;
    margin-bottom: 1.5rem !important;
    background: #FFFFFF !important;
    border: 1.5px solid rgba(28, 25, 23, 0.35) !important;
    box-shadow:
      0 0 16px rgba(28, 25, 23, 0.10),
      -12px 18px 28px -4px rgba(28, 25, 23, 0.22),
      -5px 7px 12px -2px rgba(28, 25, 23, 0.12) !important;
  }

  .bellecour-title {
    font-size: 1.08rem;
  }

  /* Hauteur calibrée pour les carrousels swipe plat sur mobile (s'adapte au ratio 16:9 ou 2.20) */
  .stage-terrain-viewport {
    height: var(--terrain-stage-h, 160px) !important;
    perspective: none !important;
  }

  .is-vertical-carousel.stage-terrain-viewport {
    height: 211px !important;
    perspective: none !important;
  }

  .is-vertical-carousel .stage-card-3d {
    width: auto !important;
    height: 100% !important;
    aspect-ratio: 9 / 16 !important;
    max-width: 100% !important;
  }

  /* --- LARGEUR MOBILE 100% SUR LES 2 DERNIÈRES RUBRIQUES (PRÉSENTATION & COORDONNÉES) --- */
  .section-presentation-unifiee,
  .section-coordonnees-entreprise {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .section-presentation-unifiee > .container-xl,
  .section-coordonnees-entreprise > .container-xl {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Conteneurs sous le logo Qualibat (Présentation, Coordonnées, Specs, Map) sur Mobile :
     Bordure assombrie 1.5px solid rgba(28, 25, 23, 0.35)
     Ombre sur les 4 côtés + renforcée x1.5 en dessous (+Y) et sur le côté gauche (-X) */
  .presentation-unified-card,
  .coordonnees-unified-white-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.25rem 0.65rem !important;
    border-radius: 14px !important;
    margin: 0 !important;
    background: #FFFFFF !important;
    border: 1.5px solid rgba(28, 25, 23, 0.35) !important;
    box-shadow:
      0 0 18px rgba(28, 25, 23, 0.10),
      -14px 22px 34px -4px rgba(28, 25, 23, 0.22),
      -6px 8px 14px -2px rgba(28, 25, 23, 0.12) !important;
    box-sizing: border-box !important;
  }

  /* Étage Présentation en colonne fluide sur mobile (zéro débordement) */
  .strata-tier-row {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 2.5rem !important;
    position: static !important;
  }

  .tier-right-photo .tier-card-block,
  .tier-left-photo .tier-card-block {
    width: 100% !important;
    padding: 1.25rem 0.85rem !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  .tier-right-photo .tier-photo-layer,
  .tier-left-photo .tier-photo-layer {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 1rem !important;
    max-width: 100% !important;
  }

  /* 3. MOBILE-ONLY : Blur dégressif pur indexé sur la hauteur de l'écran (0 à 22vh et 78vh à 100vh, sans milky) */
  .section-presentation-unifiee .realisation-photo-frame {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
  }

  /* Flou haut dégressif écran (0 à 22% hauteur écran) : Blur pur 8px sans milky */
  .section-presentation-unifiee .realisation-photo-frame::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: var(--mobile-top-veil-h, 0px) !important;
    opacity: var(--mobile-top-veil-op, 0) !important;
    z-index: 4 !important;
    pointer-events: none !important;
    background: transparent !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0) 100%) !important;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0) 100%) !important;
    transition: none !important;
  }

  /* Flou bas dégressif écran (82% à 100% hauteur écran) : Blur pur 8px sans milky */
  .section-presentation-unifiee .realisation-photo-frame::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: var(--mobile-bot-veil-h, 0px) !important;
    opacity: var(--mobile-bot-veil-op, 0) !important;
    z-index: 4 !important;
    pointer-events: none !important;
    background: transparent !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0) 100%) !important;
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0) 100%) !important;
    transition: none !important;
  }

  .realisation-framed-img,
  .tier-left-photo .realisation-framed-img {
    height: 240px !important;
    border-radius: 8px !important;
    will-change: auto !important;
    transition: none !important;
  }

  .spec-block {
    background: #FFFFFF !important;
    border: 1.5px solid rgba(28, 25, 23, 0.30) !important;
    border-radius: 12px !important;
    box-shadow:
      0 0 12px rgba(28, 25, 23, 0.08),
      -10px 15px 24px -3px rgba(28, 25, 23, 0.18),
      -4px 6px 10px -2px rgba(28, 25, 23, 0.10) !important;
    padding: 1.15rem 0.85rem !important;
  }

  .eco-recyclage-box {
    border: 1.5px solid #059669 !important;
    border-radius: 10px !important;
    box-shadow:
      0 0 12px rgba(5, 150, 105, 0.10),
      -8px 12px 20px -3px rgba(5, 150, 105, 0.20) !important;
  }

  .pres-specs-grid,
  .materiels-two-cols,
  .coordonnees-grid-layout {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1rem !important;
  }

  .pres-col-text,
  .pres-col-photos,
  .coordonnees-info-column,
  .coordonnees-map-column {
    width: 100% !important;
    max-width: 100% !important;
  }

  .google-map-large-frame {
    width: 100% !important;
    height: 260px !important;
    border-radius: 12px !important;
    border: 1.5px solid rgba(28, 25, 23, 0.35) !important;
    box-shadow:
      0 0 16px rgba(28, 25, 23, 0.10),
      -12px 18px 28px -3px rgba(28, 25, 23, 0.20),
      -5px 7px 12px -2px rgba(28, 25, 23, 0.10) !important;
    overflow: hidden !important;
  }

  .spec-block-full {
    grid-column: span 1;
  }

  .spec-img-responsive {
    height: 220px !important;
  }

  .spec-block-full .spec-img-responsive {
    height: 280px !important;
  }

  .pres-title-inline {
    font-size: 1.15rem;
  }

  .photo-dual-bottom {
    flex-direction: column;
  }

  .contact-value-phone a,
  .contact-value-phone .btn-header-phone-link {
    font-size: 0.95rem !important;
    padding-top: 0.40rem !important;
    padding-bottom: 0.40rem !important;
  }
}

@media (max-width: 480px) {
  /* Header : Téléphone et logo sur la même ligne avec taille optimisée (+4pt logo, +2pt tel) */
  .site-header {
    height: 110px !important; /* baissé de 20px par le bas (90px + 20px) */
    min-height: 110px !important;
    z-index: 999999 !important; /* Au-dessus de tout le monde */
  }

  .header-container {
    padding: 0 0.5rem;
  }

  .logo-svg {
    height: 67px; /* grossi x1.1 */
    max-width: 220px;
    transform: translateY(0px); /* remonté de 10px (10px - 10px) */
  }

  .btn-header-phone-link {
    padding: 0.35rem 0.60rem; /* -15% */
    font-size: 0.76rem; /* -15% */
    gap: 0.30rem;
    transform: translateY(15px); /* remonté de 10px (25px - 10px) */
  }

  .btn-header-phone-link svg {
    width: 13px;
    height: 13px;
  }

  /* Container blanc neutralisé */
  .mobile-header-backdrop {
    display: none !important;
  }

  .section-hero-cinema {
    margin-top: -110px !important;
    padding: 0 0 calc(1rem - 5px) !important;
    width: 100% !important;
  }

  /* Hero Cinema Mobile : Étendu derrière le header de 110px, bas strictement identique, full width */
  .cinema-frame-box {
    /* Ancien sommet: 113px (90px + 23px). Nouveau sommet: 0px. Hauteur +113px: bas strictement identique */
    height: calc(100dvh - 127px) !important; /* (100dvh - 240px) + 113px */
    min-height: 440px !important;
    max-height: 760px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .video-hero-overlay {
    padding: calc(110px + 0.8rem) 0.65rem 0.8rem 0.65rem !important;
    justify-content: center !important;
  }

  .editorial-text-top {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    gap: 0.50rem !important;
  }

  .editorial-qualibat-logo {
    height: 42px;
  }

  .editorial-lead-line {
    font-size: 1.20rem;
  }

  .editorial-secondary-line {
    font-size: 0.88rem;
  }

  .video-play-btn {
    width: 46px;
    height: 46px;
  }

  .video-play-btn svg {
    width: 24px !important;
    height: 24px !important;
  }

  .editorial-sub,
  .hero-blur-sub.editorial-sub {
    font-size: 0.80rem !important;
    line-height: 1.32;
  }

  .stage-3d-viewport.stage-cream-bg {
    height: 220px;
  }

  .stage-terrain-viewport {
    height: var(--terrain-stage-h, 188px) !important;
  }

  .is-vertical-carousel.stage-terrain-viewport {
    height: 249px !important;
  }

  .is-vertical-carousel .stage-card-3d {
    width: auto !important;
    height: 100% !important;
    aspect-ratio: 9 / 16 !important;
  }

  .rubrique-x-card {
    flex: 0 0 128px !important;
    width: 128px !important;
    min-width: 128px !important;
    padding: 0.35rem 0.20rem 0.35rem !important;
    overflow: visible !important;
  }

  .photo-stack-container {
    width: 115px !important;
    height: 85px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .photo-stack-item,
  .eventail-composite-img,
  .fan-composite-img {
    width: 112px !important;
    height: 85px !important;
    max-width: 112px !important;
    max-height: 85px !important;
    object-fit: contain !important;
  }

  .rubrique-x-name {
    font-size: 0.82rem !important;
  }

  .actualite-white-box {
    padding: 1.10rem 0.35rem 0.85rem !important;
  }

  .actualite-white-box::before {
    inset: 3px 3px !important;
    border: 2px solid rgba(214, 11, 136, 0.65) !important;
    border-radius: 8px !important;
  }

  .actualite-white-box::after {
    inset: 3px 3px !important;
    border-radius: 8px !important;
    box-shadow: inset 0 0 0 3px #F3F0EA !important;
  }

  .bellecour-header {
    padding: 0 0.35rem !important;
  }

  .terrain-chip-btn {
    min-width: 90px;
    font-size: 0.75rem;
    padding: 6px 10px;
    min-height: 38px;
  }
}

/* --- ADRESSE FOOTER SANS CÉSURE PARASITE --- */
.footer-address-block {
  margin-top: 0.35rem;
  line-height: 1.45;
}

.nobr-city,
.nobr-line {
  white-space: nowrap !important;
}

/* ==========================================================================
   LIGHTBOX MODAL PLEIN ÉCRAN HAUTE DÉFINITION (FOND BLANC PUR 100% OPAQUE)
   ========================================================================== */
body.lightbox-is-open {
  overflow: hidden !important;
  touch-action: none !important;
  -webkit-overflow-scrolling: auto !important;
}

body.lightbox-is-open > *:not(#peeters-lightbox) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.peeters-lightbox {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  height: -webkit-fill-available !important;
  background: #FFFFFF !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 99999999 !important;
  display: none;
  pointer-events: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.25s ease;
  overflow: hidden;
  touch-action: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.peeters-lightbox.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Prise en charge native Fullscreen API (Vrai plein écran immersif sans barres) */
:fullscreen,
:-webkit-full-screen {
  background: #FFFFFF !important;
  overflow: hidden !important;
}

.peeters-lightbox:fullscreen,
.peeters-lightbox:-webkit-full-screen,
.peeters-lightbox:-moz-full-screen,
.peeters-lightbox:-ms-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  height: -webkit-fill-available !important;
  background: #FFFFFF !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: flex !important;
  opacity: 1 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 99999999 !important;
  touch-action: none !important;
}

:fullscreen .peeters-lightbox,
:-webkit-full-screen .peeters-lightbox {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  display: flex !important;
  opacity: 1 !important;
  z-index: 99999999 !important;
}


/* Conteneur principal centré de la Lightbox */
.lightbox-content-col {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 16px 20px;
  box-sizing: border-box;
  touch-action: none !important;
}

.lightbox-media-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 96vw;
  max-height: calc(85dvh - 75px);
  box-sizing: border-box;
  touch-action: none !important;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.peeters-lightbox img,
.peeters-lightbox video {
  max-width: 96vw;
  max-height: calc(85dvh - 75px);
  border-radius: 12px;
  box-shadow: 0 16px 40px -10px rgba(28, 25, 23, 0.20);
  border: 1px solid rgba(228, 221, 208, 0.90);
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  outline: none;
  touch-action: none !important;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* MARGE DE 15px SPÉCIFIQUE AUX GALERIES CHANTIER EN PLEIN ÉCRAN FF */
.peeters-lightbox.lightbox-chantier .lightbox-media-wrapper {
  padding: 15px !important;
  box-sizing: border-box !important;
}

.peeters-lightbox.lightbox-chantier img,
.peeters-lightbox.lightbox-chantier video {
  margin: 15px !important;
  max-width: calc(100vw - 30px) !important;
  max-height: calc(100dvh - 30px) !important;
  box-sizing: border-box !important;
}

/* Zone d'indication DIRECTEMENT EN DESSOUS DE L'IMAGE */
.lightbox-below-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
  pointer-events: none;
  z-index: 100;
}

/* Indication de rotation mobile (galeries chantiers horizontales seulement) */
.lightbox-rotate-hint {
  display: none;
  position: static;
  transform: none;
  background: rgba(28, 25, 23, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #F8F7F4;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 120;
  white-space: nowrap;
  align-items: center;
  gap: 7px;
}

.lightbox-rotate-hint .rotate-hint-svg {
  color: var(--brand-pink, #D60B88);
  flex-shrink: 0;
  animation: rotateHintSpin 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes rotateHintSpin {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(90deg); }
  60%, 100% { transform: rotate(90deg); }
}

@media (min-width: 769px) {
  .lightbox-rotate-hint {
    display: none !important;
  }
}

@media (orientation: landscape), (max-height: 550px) {
  .lightbox-rotate-hint,
  .lightbox-rotate-hint-large,
  .lightbox-footer-bar,
  .lightbox-dots-container,
  .lightbox-counter,
  .lightbox-below-media {
    display: none !important;
  }

  .peeters-lightbox.active {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #FFFFFF !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    z-index: 99999999 !important;
  }

  .lightbox-media-wrapper {
    position: relative !important;
    width: 100vw !important;
    flex: 1 !important;
    max-height: 100dvh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .peeters-lightbox img,
  .peeters-lightbox video {
    max-width: 100vw !important;
    max-height: 100dvh !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  .peeters-lightbox-close {
    position: absolute !important;
    top: max(8px, env(safe-area-inset-top, 8px)) !important;
    right: max(12px, env(safe-area-inset-right, 12px)) !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 1.4rem !important;
    background: rgba(28, 25, 23, 0.70) !important;
    color: #FFFFFF !important;
    border-radius: 50% !important;
    z-index: 999999999 !important;
  }

  .lightbox-nav-arrow {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.6rem !important;
    background: rgba(28, 25, 23, 0.45) !important;
    color: #FFFFFF !important;
    border: none !important;
    z-index: 999999999 !important;
  }

  .lightbox-arrow-prev {
    left: max(8px, env(safe-area-inset-left, 8px)) !important;
  }

  .lightbox-arrow-next {
    right: max(8px, env(safe-area-inset-right, 8px)) !important;
  }
}

/* Flèches de navigation Plein Écran */
.lightbox-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  width: 50px;
  height: 50px;
  background: rgba(28, 25, 23, 0.08);
  border: 1px solid rgba(28, 25, 23, 0.15);
  color: #1C1917;
  font-size: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  user-select: none;
}

.lightbox-nav-arrow:hover {
  background: var(--brand-pink);
  color: #FFFFFF;
  border-color: var(--brand-pink);
  transform: translateY(-50%) scale(1.10);
}

.lightbox-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.lightbox-arrow-prev {
  left: 20px;
}

.lightbox-arrow-next {
  right: 20px;
}

@media (max-width: 640px) {
  .lightbox-nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
  }
  .lightbox-arrow-prev {
    left: 8px;
  }
  .lightbox-arrow-next {
    right: 8px;
  }
}

/* Suppression définitive du compteur numérique (1/5, 2/5, etc.) */
.lightbox-counter {
  display: none !important;
}

.lightbox-dots-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 4px 10px;
  pointer-events: auto;
}

/* Points inactifs : BLANC PUR */
.lightbox-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(339, 0%, 100%) !important;
  border: 1px solid rgba(28, 25, 23, 0.25) !important;
  transition: all 0.25s ease;
  cursor: pointer;
}

/* Bille active : BILLE MAGENTA ÉCLATANTE */
.lightbox-dot.active {
  width: 9px;
  height: 9px;
  background: var(--brand-pink, #D60B88) !important;
  box-shadow: 0 0 8px rgba(214, 11, 136, 0.85) !important;
  border: none !important;
}

.stage-card-3d video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.stage-card-video-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(14, 18, 26, 0.82);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(214, 11, 136, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  z-index: 3;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.peeters-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(28, 25, 23, 0.08);
  border: 1px solid rgba(28, 25, 23, 0.15);
  color: #1C1917;
  font-size: 1.8rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
  z-index: 101;
}

.peeters-lightbox-close:hover {
  background: var(--brand-pink);
  color: #FFFFFF;
  border-color: var(--brand-pink);
  transform: scale(1.08);
}

@media (max-width: 640px) {
  .admin-terrain-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px;
  }

  .admin-bar-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .btn-admin-pill {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   MICRO-SAS : "DEVIS EXPRESS EN 1 MIN" (HAUTE JOAILLERIE & MOBILITÉ)
   ========================================================================== */

/* --- 1. DOCK FLOTTANT & DÉCLENCHEUR D'ACTION (THUMB ZONE) --- */
/* --- 1. DOCK FLOTTANT & DÉCLENCHEUR D'ACTION (THUMB ZONE) --- */
.micro-sas-floating-dock {
  position: fixed;
  bottom: 36px; /* 8px plus bas (44px - 8px) */
  right: 43px; /* 10px plus à droite (53px - 10px) */
  z-index: 990;
  pointer-events: auto;
}

.btn-micro-sas-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #FFFFFF;
  border: 1.5px solid #C4B5A0; /* Bordure Beige Foncé qui englobe le glow */
  border-radius: 9999px;
  padding: 6px 14px 6px 11px; /* 10% plus gros */
  cursor: pointer;
  font-family: var(--font-sans);
  text-decoration: none;
  isolation: isolate;
  overflow: visible;
  transform: scale(1.15); /* Grossit x1.15 sur desktop seulement */
  transform-origin: bottom right;
}

/* Cœur magenta (élargi de +7%) + Glow */
.btn-micro-sas-trigger::before {
  content: '';
  position: absolute;
  inset: 5% 1.5%; /* Largeur augmentée de +7% (retrait latéral réduit de 5% à 1.5%) */
  background-color: rgba(214, 11, 136, 0.85);
  border-radius: 9999px;
  z-index: -1;
  /* Glow deux fois moins large */
  box-shadow: 
    0 0 6px 1.5px rgba(214, 11, 136, 0.85),
    0 0 12px 3px rgba(214, 11, 136, 0.55);
}

/* Pas d'effet de survol */
.btn-micro-sas-trigger:hover {
  transform: scale(1.15);
  border-color: #C4B5A0;
}

.btn-micro-sas-trigger:hover::before {
  transform: none;
  box-shadow: 
    0 0 6px 1.5px rgba(214, 11, 136, 0.85),
    0 0 12px 3px rgba(214, 11, 136, 0.55);
}

/* Icône de page */
.sas-trigger-icon {
  width: 20px;
  height: 20px;
  background: transparent;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sas-trigger-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.sas-trigger-text strong {
  font-family: var(--font-display);
  font-size: 0.90rem; /* 10% plus gros */
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

/* --- 2. BACKDROP & MODALE MICRO-SAS --- */
.micro-sas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(22, 21, 20, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.micro-sas-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.micro-sas-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 2.25rem 2.25rem 2rem;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.38), 0 1px 3px rgba(0, 0, 0, 0.05);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.micro-sas-backdrop.active .micro-sas-card {
  transform: translateY(0) scale(1);
}

/* Filet Périphérique Double Signature Micro-SAS (2px Magenta + 6px Nacre #F3F0EA) */
.micro-sas-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(214, 11, 136, 0.40);
  border-radius: 14px;
  pointer-events: none;
  z-index: 10;
}

.micro-sas-card::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 6px #F3F0EA;
  pointer-events: none;
  z-index: 9;
}

/* Bouton Fermer */
.micro-sas-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: rgba(28, 25, 23, 0.05);
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 20;
  transition: all 0.2s ease;
}

.micro-sas-close:hover {
  background: var(--brand-pink);
  color: #FFFFFF;
  border-color: var(--brand-pink);
  transform: scale(1.05);
}

/* --- 3. HEADER DU MICRO-SAS --- */
.micro-sas-header {
  position: relative;
  z-index: 12;
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.sas-badge-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-pink);
  background: var(--brand-pink-subtle);
  border: 1px solid var(--brand-pink-border);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 0.6rem;
}

.sas-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.25;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.02em;
}

.sas-title-highlight {
  color: var(--brand-pink);
}

.sas-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(28, 25, 23, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.75rem;
}

.sas-progress-fill {
  height: 100%;
  background: var(--brand-pink);
  border-radius: 9999px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sas-step-indicator {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-weight: 500;
}

/* --- 4. STEP PANES & FORMULAIRES --- */
.sas-step-pane {
  position: relative;
  z-index: 12;
  display: none;
  animation: sas-fade-slide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sas-step-pane.active {
  display: block;
}

@keyframes sas-fade-slide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sas-field-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.6rem;
}

.sas-field-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: -0.3rem 0 0.8rem 0;
  line-height: 1.4;
}

.sas-recom-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  background: #FDF2F8;
  color: var(--brand-pink);
  border: 1px solid var(--brand-pink-border);
  padding: 1px 7px;
  border-radius: 9999px;
  vertical-align: middle;
  margin-left: 6px;
}

/* Grille de puces tactiles */
.sas-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.sas-choice-pill {
  position: relative;
  min-height: 42px;
  padding: 8px 14px;
  background-color: transparent;
  border: 1px solid rgba(28, 25, 23, 0.14);
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  transition: none;
  overflow: visible;
  isolation: isolate;
}

/* Pas d'effet de survol */
.sas-choice-pill:hover {
  border-color: rgba(28, 25, 23, 0.14);
  color: var(--text-main);
  transform: none;
}

/* Sélection active : Épaisseur du glow diminuée par 2 */
.sas-choice-pill.selected {
  border-color: rgba(214, 11, 136, 0.50);
  color: #FFFFFF;
  font-weight: 700;
}

.sas-choice-pill.selected::before {
  content: '';
  position: absolute;
  inset: 5px 5px;
  background-color: rgba(214, 11, 136, 0.85); /* Magenta Opacité 0.85 */
  border-radius: 9999px;
  z-index: -1;
  /* Glow divisé par 2 en épaisseur */
  box-shadow: 
    0 0 5px 2px rgba(214, 11, 136, 0.85),
    0 0 10px 4px rgba(214, 11, 136, 0.55),
    0 0 16px 6px rgba(214, 11, 136, 0.30);
}

/* --- 5. ZONE D'UPLOAD DE PHOTOS --- */
.sas-upload-zone {
  position: relative;
  background: #FAF8F5;
  border: 1.5px dashed rgba(214, 11, 136, 0.35);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sas-upload-zone:hover {
  background: #FDF2F8;
  border-color: var(--brand-pink);
  transform: translateY(-1px);
}

.sas-file-input {
  display: none;
}

.sas-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sas-upload-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-pink-subtle);
  color: var(--brand-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.sas-upload-text {
  font-size: 0.86rem;
  color: var(--text-heading);
}

.sas-upload-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.sas-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  justify-content: center;
}

.sas-preview-item {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.sas-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sas-preview-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* --- 6. CHAMPS TEXTES & INPUTS --- */
.sas-text-input {
  width: 100%;
  min-height: 46px;
  background: #FAF8F5;
  border: 1px solid rgba(28, 25, 23, 0.15);
  border-radius: 10px;
  padding: 0 14px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-heading);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.sas-text-input:focus {
  background: #FFFFFF;
  border-color: var(--brand-pink);
  box-shadow: 0 0 0 3px rgba(214, 11, 136, 0.15);
}

.sas-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sas-preference-block {
  margin-top: 1.25rem;
}

/* --- 7. BOUTONS D'ACTION DU MICRO-SAS (TOUS LES BOUTONS EN BAS À DROITE EN MAGENTA) --- */
.sas-actions-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(28, 25, 23, 0.08);
}

/* Boutons en bas à droite : 100% Magenta Signature */
.sas-btn-next,
.sas-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  background: var(--brand-pink);
  /* 100% Magenta */
  color: #FFFFFF;
  border: 1px solid var(--brand-pink);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(214, 11, 136, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: auto;
}

.sas-btn-next:hover,
.sas-btn-submit:hover {
  background: #B80873;
  border-color: #B80873;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(214, 11, 136, 0.45);
}

.sas-btn-prev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sas-btn-prev:hover {
  background: #FAF8F5;
  color: var(--text-heading);
  border-color: rgba(28, 25, 23, 0.25);
}

/* --- 8. ÉCRAN DE SUCCÈS --- */
.sas-success-icon {
  margin-bottom: 1rem;
}

.sas-success-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.sas-success-text {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.5;
  max-width: 400px;
  margin: 0 auto 1.25rem;
}

.sas-success-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-pink);
  background: var(--brand-pink-subtle);
  border: 1px solid var(--brand-pink-border);
  padding: 6px 16px;
  border-radius: 8px;
}

/* --- 9. RESPONSIVE MOBILE (< 640px) --- */
@media (max-width: 640px) {
  .micro-sas-floating-dock {
    bottom: 8px;
    right: 12px;
    left: 12px;
  }

  .btn-micro-sas-trigger {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }

  .micro-sas-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .micro-sas-card {
    border-radius: 24px 24px 0 0;
    max-height: 90vh;
    padding: 1.35rem 1.15rem 1.25rem;
    transform: translateY(100%);
    overflow-y: auto;
  }

  .micro-sas-card::before,
  .micro-sas-card::after {
    border-radius: 18px 18px 0 0;
    bottom: 0;
  }

  .micro-sas-header {
    margin-bottom: 0.85rem;
  }

  .sas-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }

  /* Hauteur calibrée rigoureusement identique pour les 3 étapes */
  .sas-step-pane {
    min-height: 380px;
    display: none;
    flex-direction: column;
  }

  .sas-step-pane.active {
    display: flex;
  }

  .sas-field-label {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
    margin-top: 0.5rem;
  }

  .sas-field-label:first-child {
    margin-top: 0;
  }

  .sas-field-hint {
    font-size: 0.74rem;
    margin: -0.2rem 0 0.5rem 0;
  }

  /* Puces en 2 colonnes compactes pour éviter tout débordement vertical */
  .sas-pill-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .sas-choice-pill {
    min-height: 35px;
    padding: 5px 8px;
    font-size: 0.78rem;
    border-radius: 8px;
  }

  .sas-choice-pill.selected::before {
    inset: 3px 3px;
    border-radius: 6px;
  }

  /* Zone d'upload compacte */
  .sas-upload-zone {
    padding: 0.85rem 0.5rem;
    border-radius: 10px;
  }

  .sas-upload-icon {
    width: 32px;
    height: 32px;
  }

  .sas-upload-text {
    font-size: 0.80rem;
  }

  .sas-upload-sub {
    font-size: 0.70rem;
  }

  /* Inputs compacts pour l'étape 3 */
  .sas-text-input {
    height: 38px;
    padding: 0 10px;
    font-size: 0.82rem;
    border-radius: 8px;
  }

  .sas-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .sas-preference-block {
    margin-top: 0.5rem;
  }

  #sas-suite-group {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
  }

  #sas-suite-group .sas-choice-pill {
    font-size: 0.72rem;
    padding: 4px 4px;
    min-height: 33px;
  }

  /* Actions footer automatiquement calé à la même position basse */
  .sas-actions-footer {
    margin-top: auto;
    padding-top: 0.85rem;
  }

  .sas-btn-next,
  .sas-btn-submit {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.82rem;
  }

  .sas-btn-prev {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.80rem;
  }
}
/* ==========================================================================
  /* Animation alternée du double carré (1s pile) */
@keyframes swapRectFront {
  0%, 49%   { fill: #FFFFFF; stroke: rgba(0,0,0,0.30); }
  50%, 100% { fill: #D60B88; stroke: transparent; }
}
@keyframes swapRectBack {
  0%, 49%   { fill: #D60B88; stroke: transparent; }
  50%, 100% { fill: #FFFFFF; stroke: rgba(0,0,0,0.30); }
}

.icon-rect-front { animation: swapRectFront 2s steps(1, end) infinite; }
.icon-rect-back { animation: swapRectBack 2s steps(1, end) infinite; }

/* Message de Pivotement Mobile */
.lightbox-rotate-hint-large {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  text-align: center;
  color: #1C1917;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  pointer-events: none;
}

@keyframes rotatePhoneGeste {
  0%, 20%   { transform: rotate(0deg); }
  80%, 100% { transform: rotate(-90deg); }
}

.phone-rotate-anim {
  animation: rotatePhoneGeste 2.4s ease-in-out infinite alternate;
  filter: drop-shadow(0 2px 8px rgba(214, 11, 136, 0.35));
}

@media (orientation: landscape) {
  .lightbox-rotate-hint-large { display: none !important; }
}
/* ==========================================================================
   GALERIE V — BLOC FINAL UNIQUE v6
   Blur : bande pleine hauteur, cloche à plateau plat, renforcée.
   Largeur de bande pilotée par le moteur (15% de la carte héros).
   ========================================================================== */

@media (min-width: 769px) {

  /* 1. STRUCTURE DE LA SECTION */
  .section-realisations-xl.deploy-fullscreen {
    top: 0 !important;
    bottom: 20px !important;
    z-index: 900 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  .section-realisations-xl.deploy-fullscreen .realisations-fullwidth-box {
    background: transparent !important;
    transform: none !important;
  }

  /* 2. BANDEAU ÉVENTAILS */
  .section-realisations-xl.deploy-fullscreen .rubriques-x-grid {
    transform: translateY(-35px) !important;
    position: relative !important;
    z-index: 1 !important;
  }

  /* 3. VGALERIE — baissée de 15px (-145px + 15px = -130px) */
  .section-realisations-xl.deploy-fullscreen .carousel-deploy-area {
    transform: translateY(-130px) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* 4. RANGÉE DE TEXTES */
  .section-realisations-xl.deploy-fullscreen .carousel-deploy-header {
    position: relative !important;
    z-index: 5 !important;
    transform: translateY(100px) !important;
  }

  /* 5. TEXTES x1.15 (police) */
  .section-realisations-xl.deploy-fullscreen .carousel-active-title {
    font-size: 1.10rem !important;
  }

  .section-realisations-xl.deploy-fullscreen .carousel-hover-hint {
    font-size: 0.92rem !important;
    transform: translateY(15px) !important; /* Baissé de 15px */
  }

  .section-realisations-xl.deploy-fullscreen .btn-close-carousel {
    font-size: 0.95rem !important;
  }

  /* 6. ZOOM SCÈNE x1.1 */
  .section-realisations-xl.deploy-fullscreen .stage-3d-viewport.stage-cream-bg {
    transform: scale(1.1) !important;
    transform-origin: center center !important;
  }

  /* 7. POINTS (0.36 x 1.1 = 0.40) */
  .section-realisations-xl.deploy-fullscreen .stage-dots-container {
    transform: scale(0.36) !important;
    transform-origin: bottom center !important;
  }

      /* 8. TRANSITION BLUR — XFADE PURE AVEC MASK 2D (ANTI-DÉBORDEMENT HAUT/BAS) */
  .section-realisations-xl.deploy-fullscreen .seam-blur-strip {
    background: transparent !important;
    border-radius: 0 !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    transition: none !important;
    -webkit-mask-image: 
      linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.20) 11%, rgba(255, 255, 255, 0.45) 22%, rgba(255, 255, 255, 0.68) 32%, rgba(255, 255, 255, 0.88) 40%, rgba(255, 255, 255, 1) 47%, rgba(255, 255, 255, 1) 53%, rgba(255, 255, 255, 0.88) 60%, rgba(255, 255, 255, 0.68) 68%, rgba(255, 255, 255, 0.45) 78%, rgba(255, 255, 255, 0.20) 89%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #ffffff 20px, #ffffff calc(100% - 20px), transparent 100%) !important;
    -webkit-mask-composite: source-in !important;
    mask-image: 
      linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.20) 11%, rgba(255, 255, 255, 0.45) 22%, rgba(255, 255, 255, 0.68) 32%, rgba(255, 255, 255, 0.88) 40%, rgba(255, 255, 255, 1) 47%, rgba(255, 255, 255, 1) 53%, rgba(255, 255, 255, 0.88) 60%, rgba(255, 255, 255, 0.68) 68%, rgba(255, 255, 255, 0.45) 78%, rgba(255, 255, 255, 0.20) 89%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #ffffff 20px, #ffffff calc(100% - 20px), transparent 100%) !important;
    mask-composite: intersect !important;
  }

  /* 9. HEADER PENDANT LE VISIONNAGE — inchangé, tel que validé. */
  body:has(.section-realisations-xl.deploy-fullscreen) .site-header {
    background-color: transparent !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  }

  body:has(.section-realisations-xl.deploy-fullscreen) .mobile-header-backdrop {
    display: none !important;
  }
}
/* ==========================================================================
   GALERIES CHANTIERS + PHOTOS RUBRIQUE PEETERS — BLOC COMPLET
   ========================================================================== */

/* 1. POINTS BLANCS/MAGENTA — taille divisée par 2
      (6px → 3px, actif 8px → 4px), zone tactile conservée via le padding */
.gallery-carrousel-unit .stage-dot {
  width: 3px !important;
  height: 3px !important;
  padding: 5px !important;
}

.gallery-carrousel-unit .stage-dot.active {
  width: 4px !important;
  height: 4px !important;
}

/* 2. NOMBRE DE MÉDIAS — déplacé au-dessus, centré, posé sur la
      frontière blanc / blanc cassé de chaque galerie V */
.gallery-carrousel-unit .bellecour-header {
  position: relative !important;
}

.gallery-carrousel-unit .bellecour-badge {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: calc(-1.2rem + 2px) !important;
  white-space: nowrap !important;
}

/* 3. ÉTIQUETTE « AGRANDIR » — au-dessus du picto FF, dans le bandeau
      blanc, justifiée par le bas sur la frontière blanc cassé / blanc */
.gallery-carrousel-unit .bellecour-header::after {
  content: 'Agrandir';
  position: absolute;
  right: 1rem;
  bottom: calc(-1.2rem + 2px);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  pointer-events: none;
}

/* Mobile : marges du header chantier plus courtes sur petit écran */
@media (max-width: 768px) {
  .gallery-carrousel-unit .bellecour-badge {
    bottom: calc(-0.75rem + 2px) !important;
  }

  .gallery-carrousel-unit .bellecour-header::after {
    right: 0.7rem;
    bottom: calc(-0.75rem + 2px);
    font-size: 0.62rem;
  }
}

/* 4. RUBRIQUE PEETERS (photos de présentation) :
      bordure noire (halo sombre) divisée par 2,
      + ombre dessous et ombre côté vertical gauche */
.realisation-photo-frame {
  box-shadow:
    -16px 20px 38px -4px rgba(15, 23, 42, 0.09),
    -5px 8px 14px -2px rgba(15, 23, 42, 0.05),
    0 18px 30px -10px rgba(28, 25, 23, 0.26),
    -14px 0 26px -12px rgba(28, 25, 23, 0.18) !important;
}

.realisation-photo-frame:hover {
  box-shadow:
    -16px 20px 38px -4px rgba(15, 23, 42, 0.11),
    -5px 8px 14px -2px rgba(15, 23, 42, 0.06),
    0 22px 34px -10px rgba(28, 25, 23, 0.30),
    -16px 0 28px -12px rgba(28, 25, 23, 0.22) !important;
}
/* ==========================================================================
   MOBILE-ONLY — GALERIES CHANTIERS & RUBRIQUE PEETERS
   ========================================================================== */

@media (max-width: 768px) {

  /* 1. GALERIES CHANTIERS — suppression des points blancs/magenta
        sous les photos (les points réduits x0.5 restent sur desktop) */
  .gallery-carrousel-unit .stage-dots-container {
    display: none !important;
  }

  /* 2. RUBRIQUE PEETERS — container vert environnement baissé de 20px
        sous la dernière photo (matériel/entrepôt) */
  .eco-badge-card {
    margin-top: 20px !important;
  }
}
/* ==========================================================================
   MOBILE-ONLY — GALERIES CHANTIERS : COMPTEUR MÉDIAS
   ========================================================================== */

@media (max-width: 768px) {

  /* Nombre de médias : magenta, coin supérieur droit,
     sur la ligne du titre (annule le centrage desktop) */
  .gallery-carrousel-unit .bellecour-badge {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin-left: auto !important;
    color: var(--brand-pink) !important;
    background: rgba(214, 11, 136, 0.08) !important;
    border: 1px solid rgba(214, 11, 136, 0.35) !important;
    font-weight: 800 !important;
  }
}
/*/* ==========================================================================
   DESKTOP — GALERIES CHANTIERS UNIQUEMENT
   Points réellement réduits ×0.42 ; wipe 180px, flou 28px.
   ========================================================================== */

@media (min-width: 769px) {

  /* Les anciens points avaient 4px de padding de CHAQUE côté.
     On retire ce padding : leur taille visible diminue réellement. */
  .gallery-carrousel-unit .stage-dot {
    box-sizing: border-box !important;
    width: 6.7px !important;
    height: 6.7px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .gallery-carrousel-unit .stage-dot.active {
    box-sizing: border-box !important;
    width: 7.6px !important;
    height: 7.6px !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }
}
  
/* ==========================================================================
   DESKTOP — GALERIES CHANTIERS : RESET POINTS
   Ce bloc remplace tous les essais précédents de wipe chantier.
   ========================================================================== */

@media (min-width: 769px) {

  /* ------------------------------------------------------------------------
     1. POINTS BLANCS / MAGENTA
     Taille visible réellement réduite x0.42 :
     - blanc : 6px d'origine → 2.5px
     - magenta : 8px d'origine → 3.4px
     Le padding doit être à zéro, sinon il annule visuellement la réduction.
     ------------------------------------------------------------------------ */

  .gallery-carrousel-unit .stage-dots-container .stage-dot {
    box-sizing: border-box !important;
    width: 2.5px !important;
    height: 2.5px !important;
    min-width: 2.5px !important;
    min-height: 2.5px !important;
    padding: 0 !important;
    border-width: 0.5px !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25) !important;
  }

  .gallery-carrousel-unit .stage-dots-container .stage-dot.active {
    box-sizing: border-box !important;
    width: 3.4px !important;
    height: 3.4px !important;
    min-width: 3.4px !important;
    min-height: 3.4px !important;
    padding: 0 !important;
    border-width: 0.5px !important;
    box-shadow: 0 0 3px rgba(214, 11, 136, 0.55) !important;
  }

/* ==========================================================================
   WIPE BLUR CHANTIERS — BANDE FIXE 70PX
   ========================================================================== */

.gallery-carrousel-unit .seam-blur-strip {
  width: 70px !important;
  border-radius: 0 !important;
  background: transparent !important;

  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;

  transition: none !important;

  -webkit-mask-image: 
    linear-gradient(to right, transparent 0, #ffffff 15px, #ffffff calc(100% - 15px), transparent 100%),
    linear-gradient(to bottom, transparent 0, #ffffff 15px, #ffffff calc(100% - 15px), transparent 100%) !important;
  -webkit-mask-composite: source-in !important;

  mask-image: 
    linear-gradient(to right, transparent 0, #ffffff 15px, #ffffff calc(100% - 15px), transparent 100%),
    linear-gradient(to bottom, transparent 0, #ffffff 15px, #ffffff calc(100% - 15px), transparent 100%) !important;
  mask-composite: intersect !important;
}
}

/* ==========================================================================
   GALERIE V — WIPE BLUR IDENTIQUE AUX GALERIES CHANTIER
   Bande fixe 120px, centrée, opacité constante, fade spatial 2D (horizontal + vertical).
   ========================================================================== */

#seam-blur-active,
.section-realisations-xl.deploy-fullscreen .stage-3d-viewport.stage-cream-bg .seam-blur-strip {
  width: 120px !important;
  border-radius: 0 !important;
  background: transparent !important;
  z-index: 150 !important;

  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  opacity: 1 !important;
  transition: none !important;

  -webkit-mask-image: 
    linear-gradient(to right, transparent 0, #ffffff 25px, #ffffff calc(100% - 25px), transparent 100%),
    linear-gradient(to bottom, transparent 0, #ffffff 20px, #ffffff calc(100% - 20px), transparent 100%) !important;
  -webkit-mask-composite: source-in !important;

  mask-image: 
    linear-gradient(to right, transparent 0, #ffffff 25px, #ffffff calc(100% - 25px), transparent 100%),
    linear-gradient(to bottom, transparent 0, #ffffff 20px, #ffffff calc(100% - 20px), transparent 100%) !important;
  mask-composite: intersect !important;
}

@media (max-width: 768px) and (orientation: portrait) {
  .peeters-lightbox {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    height: 100vh !important;
    height: 100dvh !important;
  }

  /* PHOTO VERTICALE SUR MOBILE PORTRAIT : 100% PLEIN ÉCRAN, ZÉRO MESSAGE */
  .peeters-lightbox.is-vertical-photo #lightbox-rotate-hint,
  .peeters-lightbox.is-vertical-photo .lightbox-rotate-hint-large {
    display: none !important;
  }

  .peeters-lightbox.is-vertical-photo .lightbox-media-wrapper,
  #peeters-lightbox.is-vertical-photo #lightbox-media-wrapper {
    position: relative !important;
    width: 100vw !important;
    height: 100% !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: auto !important;
    box-sizing: border-box !important;
  }

  .peeters-lightbox.is-vertical-photo img,
  .peeters-lightbox.is-vertical-photo video,
  #peeters-lightbox.is-vertical-photo #peeters-lightbox-img,
  #peeters-lightbox.is-vertical-photo #peeters-lightbox-video {
    max-width: 100vw !important;
    max-height: 100dvh !important;
    width: 100vw !important;
    height: auto !important;
    object-fit: contain !important;
    margin: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
  }

  /* PHOTO HORIZONTALE SUR MOBILE PORTRAIT : MESSAGE DE ROTATION SOUS L'IMAGE */
  .peeters-lightbox:not(.is-vertical-photo) .lightbox-media-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 100vw !important;
    max-height: 65dvh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  .peeters-lightbox:not(.is-vertical-photo) img, 
  .peeters-lightbox:not(.is-vertical-photo) video {
    max-width: 94vw !important;
    max-height: 65dvh !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    margin: 0 auto !important;
  }

  .lightbox-rotate-hint-large {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 16px auto 0 !important;
    padding: 8px 16px !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    z-index: 10 !important;
    display: none;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    text-align: center !important;
  }

  .lightbox-rotate-hint-large p {
    font-size: 0.85rem !important;
    color: #1C1917 !important;
    font-weight: 600 !important;
    margin: 0 !important;
    text-align: center !important;
  }

  .phone-rotate-anim {
    width: 44px !important;
    height: 44px !important;
  }
}

/* ==========================================================================
   STYLE ÉVENTAIL COMPOSITE APLATI (PERFORMANCE & FLUIDITÉ SCROLL)
   ========================================================================== */
.eventail-composite-img,
.fan-composite-img {
  width: 100%;
  height: 100%;
  max-width: 155px;
  max-height: 100px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.rubrique-x-card:hover .eventail-composite-img,
.rubrique-x-card:hover .fan-composite-img {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .eventail-composite-img,
  .fan-composite-img {
    width: 112px !important;
    height: 85px !important;
    max-width: 112px !important;
    max-height: 85px !important;
    object-fit: contain !important;
  }
}

.is-vertical-carousel {
  transform: translateY(20px) !important;
}

/* ==========================================================================
   BORDURES MAGENTA LATÉRALES — FULL FRAME NOS RÉALISATIONS (MOBILE & DESKTOP)
   ========================================================================== */
.section-realisations-xl .stage-card-3d {
  border-left: 2.5px solid var(--brand-pink, #D60B88) !important;
  border-right: 2.5px solid var(--brand-pink, #D60B88) !important;
  border-top: none !important;
  border-bottom: none !important;
  box-sizing: border-box !important;
}

.peeters-lightbox.lightbox-nos-realisations #peeters-lightbox-img,
.peeters-lightbox.lightbox-nos-realisations #peeters-lightbox-video,
#peeters-lightbox.lightbox-nos-realisations #peeters-lightbox-img,
#peeters-lightbox.lightbox-nos-realisations #peeters-lightbox-video {
  border-left: 2.5px solid var(--brand-pink, #D60B88) !important;
  border-right: 2.5px solid var(--brand-pink, #D60B88) !important;
  border-top: none !important;
  border-bottom: none !important;
  box-sizing: border-box !important;
  max-width: 100vw !important;
  max-height: 100dvh !important;
}

@media (orientation: landscape), (max-height: 550px) {
  .peeters-lightbox.lightbox-nos-realisations #peeters-lightbox-img,
  .peeters-lightbox.lightbox-nos-realisations #peeters-lightbox-video,
  #peeters-lightbox.lightbox-nos-realisations #peeters-lightbox-img,
  #peeters-lightbox.lightbox-nos-realisations #peeters-lightbox-video {
    width: auto !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    max-width: 100vw !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
  }
}


