/* ═══════════════════════════════════════════════════════════
   GLX SERVICES — STYLESHEET
   Rouge & Noir Industriel | Responsive | Custom CSS uniquement
═══════════════════════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ───────────────────────────────────── */
:root {
  --red:        #C0392B;
  --red-dark:   #922B21;
  --red-light:  #E74C3C;
  --black:      #0D0D0D;
  --dark:       #1A1A1A;
  --dark-2:     #242424;
  --gray-steel: #2C2C2C;
  --gray-dark:  #333333;
  --gray:       #666666;
  --gray-light: #F0F0F0;
  --white:      #FFFFFF;

  --shadow:    0 4px 24px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 10px 48px rgba(0, 0, 0, 0.16);

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --radius:     8px;
  --radius-lg:  16px;
  --transition: 0.3s ease;

  --container: 1200px;
  --nav-height: 72px;
}

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); }

/* ── SELECTION ───────────────────────────────────────────── */
::selection { background: var(--red); color: var(--white); }

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img  { max-width: 100%; height: auto; display: block; }
ul   { list-style: none; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

section, #accueil, #apropos, #services, #criblage, #galerie,
#temoignages, #zone, #contact {
  scroll-margin-top: var(--nav-height);
}

/* ── FOCUS VISIBLE ───────────────────────────────────────── */
*:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  font-weight: 700;
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-sm   { padding: 10px 22px; font-size: 0.8rem; }
.btn-full { width: 100%; clip-path: none; }

/* ── SECTION BASE ────────────────────────────────────────── */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  color: var(--red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--black);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.75;
}

.section-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════
   INTRO SCREEN
═══════════════════════════════════════════════════════════ */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#intro-grid-container {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#intro-grid-container.visible { opacity: 1; }

.intro-panel {
  flex: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='40'%3E%3Cline x1='0' y1='0' x2='60' y2='0' stroke='rgba(192,57,43,.3)' stroke-width='1'/%3E%3Cline x1='0' y1='0' x2='0' y2='40' stroke='rgba(192,57,43,.3)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 40px;
  transition: transform 0.5s ease-in;
}

#intro-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.intro-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  animation: particleFall linear forwards;
}
@keyframes particleFall {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(70px) scale(0.3); }
}

#intro-logo {
  position: absolute;
  z-index: 2;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
#intro-logo.visible { opacity: 1; }

.intro-word {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: 0.22em;
  line-height: 1;
}
.intro-word--glx {
  font-size: clamp(5rem, 14vw, 11rem);
  color: var(--white);
}
.intro-word--services {
  font-size: clamp(1.6rem, 4.5vw, 3.6rem);
  color: var(--red);
  margin-top: 0.2em;
  letter-spacing: 0.45em;
}

/* Lettres — cachées, pilotées par JS */
.intro-letter {
  display: inline-block;
  opacity: 0;
}

/* En cours de déchiffrement */
.intro-letter.scrambling {
  opacity: 1;
  color: rgba(192,57,43,0.65);
  text-shadow: 0 0 10px rgba(192,57,43,0.5);
  animation: introFlicker 0.05s steps(1) infinite;
}
.intro-word--services .intro-letter.scrambling {
  color: rgba(192,57,43,0.45);
}
@keyframes introFlicker {
  0%   { opacity: 1; }
  49%  { opacity: 0.55; }
  50%  { opacity: 1; }
}

/* Lettre verrouillée — GLX */
.intro-word--glx .intro-letter.locked {
  opacity: 1;
  color: var(--white);
  animation: introGlxLock 0.55s ease-out forwards;
}
@keyframes introGlxLock {
  0%   {
    color: var(--red-light);
    text-shadow:
      4px 0 0 rgba(192,57,43,1),
      -4px 0 0 rgba(0,220,255,0.8),
      0 0 50px rgba(255,255,255,0.9);
  }
  45%  {
    color: var(--white);
    text-shadow:
      1px 0 0 rgba(192,57,43,0.3),
      -1px 0 0 rgba(0,220,255,0.2),
      0 0 18px rgba(255,255,255,0.25);
  }
  100% {
    color: var(--white);
    text-shadow: 0 0 8px rgba(255,255,255,0.08);
  }
}

/* Lettre verrouillée — SERVICES */
.intro-word--services .intro-letter.locked {
  opacity: 1;
  color: var(--red);
  animation: introSrvLock 0.4s ease-out forwards;
}
@keyframes introSrvLock {
  0%   {
    color: var(--white);
    text-shadow: 0 0 28px rgba(192,57,43,1), 0 0 55px rgba(192,57,43,0.7);
  }
  100% {
    color: var(--red);
    text-shadow: 0 0 6px rgba(192,57,43,0.35);
  }
}

/* Barre séparatrice */
.intro-bar {
  display: block;
  height: 2px;
  width: 0;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--red), rgba(255,255,255,0.8), var(--red), transparent);
  margin: 0.38em auto;
  box-shadow: 0 0 14px var(--red), 0 0 35px rgba(192,57,43,0.5);
  transition: width 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.12s ease;
}

/* Ligne de scan */
.intro-scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), rgba(255,255,255,0.85), var(--red), transparent);
  box-shadow: 0 0 14px var(--red), 0 0 28px rgba(192,57,43,0.5);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
}
.intro-scan-line.scanning {
  animation: introScan 1.0s ease-in-out forwards;
}
@keyframes introScan {
  0%   { top: 25%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 75%; opacity: 0; }
}

@keyframes vibrate {
  0%   { transform: translate(0, 0) scale(1); }
  10%  { transform: translate(-3px, 2px) scale(1.002); }
  20%  { transform: translate(3px, -2px) scale(1.004); }
  30%  { transform: translate(-2px, 3px) scale(1.006); }
  40%  { transform: translate(2px, -3px) scale(1.008); }
  50%  { transform: translate(-3px, 1px) scale(1.010); }
  60%  { transform: translate(3px, -1px) scale(1.013); }
  70%  { transform: translate(-1px, 3px) scale(1.015); }
  80%  { transform: translate(1px, -2px) scale(1.017); }
  90%  { transform: translate(-2px, 2px) scale(1.019); }
  100% { transform: translate(0, 0) scale(1.020); }
}

#intro-grid-container.vibrating {
  animation: vibrate 0.08s linear infinite;
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
#header.scrolled {
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  border-bottom: 2px solid var(--red);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 0 28px;
  transition: height var(--transition);
  box-sizing: border-box;
}
#header.scrolled .navbar { height: 60px; }

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo-image {
  display: block;
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: filter 0.3s ease, transform 0.3s ease;
}
.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.logo-glx {
  color: var(--red-light);
  letter-spacing: -1px;
}
.logo-services {
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 12px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-link:hover,
.nav-link.active,
.nav-link:focus-visible { color: var(--red-light); }

.nav-link.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
  margin-left: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: background 0.2s;
  border-radius: 0;
}
.nav-link.nav-cta:hover,
.nav-link.nav-cta:focus-visible {
  background: var(--red-dark);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
  flex-shrink: 0;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.hamburger:hover { background: rgba(255, 255, 255, 0.07); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              width 0.25s ease;
  transform-origin: center;
}
.hamburger span:nth-child(3) { width: 16px; }
.hamburger:hover span:nth-child(3) { width: 24px; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 24px; }

/* Nav overlay */
#nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#nav-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.banner-slider {
  position: absolute;
  inset: 0;
}
.banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.banner-slide.active {
  opacity: 0.42;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13, 13, 13, 0.92) 0%, rgba(192, 57, 43, 0.15) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='40'%3E%3Cline x1='0' y1='0' x2='60' y2='0' stroke='rgba(192,57,43,.04)' stroke-width='1'/%3E%3Cline x1='0' y1='0' x2='0' y2='40' stroke='rgba(192,57,43,.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: auto, 60px 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding: 140px 24px 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 20px;
  margin-bottom: 28px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-accent { color: var(--red-light); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 48px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: block;
}
.hero-scroll span {
  display: block;
  width: 28px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  position: relative;
}
.hero-scroll span::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 9px;
  background: var(--red);
  border-radius: 2px;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 24px; }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════ */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

.about-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-left: 4px solid var(--red);
  margin-bottom: 28px;
}

.about-text p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-values {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--gray-dark);
  font-size: 0.97rem;
}
.value-item svg {
  width: 20px;
  height: 20px;
  fill: var(--red);
  flex-shrink: 0;
}

/* Stats */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  align-content: stretch;
}
.stat-card {
  background: var(--black);
  color: var(--white);
  padding: 36px 24px;
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3rem;
  color: var(--red-light);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════ */
.services { background: var(--gray-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border: 1px solid #E8E8E8;
  border-top: 4px solid var(--red);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(192, 57, 43, 0.12);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.service-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
  stroke: none;
}
.service-icon svg.stroked {
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
  line-height: 1.35;
}

.service-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.5;
}
.service-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════
   CRIBLAGE
═══════════════════════════════════════════════════════════ */
.section-criblage {
  background: var(--dark);
  color: var(--white);
  padding: 96px 0;
}

.criblage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-criblage h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  margin-bottom: 8px;
}

.criblage-features {
  list-style: none;
  padding: 0;
  margin: 28px 0 36px;
}
.criblage-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.97rem;
  display: flex;
  align-items: center;
}
.criblage-features li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.08); }

.feature-icon {
  color: var(--red-light);
  margin-right: 12px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.criblage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card-dark {
  background: var(--gray-steel);
  padding: 32px 24px;
  border-left: 3px solid var(--red);
  transition: transform var(--transition);
}
.stat-card-dark:hover { transform: translateY(-4px); }
.stat-card-dark.highlight {
  background: var(--red);
  border-left: none;
}

.stat-card-dark .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat-card-dark .stat-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}
.stat-card-dark.highlight .stat-label { color: rgba(255, 255, 255, 0.85); }

/* ═══════════════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════════════ */
.gallery { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-view-all {
  text-align: center;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--gray-light);
  margin: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.08); }

figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: var(--white);
  padding: 36px 14px 12px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.gallery-item:hover figcaption,
.gallery-item:focus-visible figcaption { transform: translateY(0); }

.gallery-zoom {
  position: absolute;
  inset: 0;
  background: rgba(192, 57, 43, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-zoom svg {
  width: 44px;
  height: 44px;
  fill: var(--white);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS — CAROUSEL
═══════════════════════════════════════════════════════════ */
.testimonials { background: var(--gray-light); }

.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.testimonial-card {
  background: var(--white);
  padding: 36px;
  border-bottom: 3px solid var(--red);
  min-width: calc(33.333% - 16px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); }

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}

.author-info { display: flex; flex-direction: column; }
.author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--black);
}
.author-role {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 2px;
}

.stars {
  color: var(--red);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray);
  line-height: 1.8;
  flex: 1;
  font-size: 0.96rem;
  padding-left: 16px;
  border-left: 3px solid var(--red);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.carousel-btn:hover { background: var(--red-dark); transform: scale(1.1); }

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(192, 57, 43, 0.3);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
  border: none;
}
.carousel-dot.active {
  background: var(--red);
  transform: scale(1.4);
}

/* ═══════════════════════════════════════════════════════════
   ZONE D'INTERVENTION
═══════════════════════════════════════════════════════════ */
.zone {
  background: var(--dark);
  color: var(--white);
}
.zone .section-label  { color: var(--red-light); }
.zone .section-title  { color: var(--white); }

.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.zone-content p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.75;
}

.zone-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 24px 0 28px;
}
.zone-list-aside {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  font-weight: 700;
  margin-top: -4px;
  margin-bottom: 4px;
}
.zone-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.90);
  font-size: 1rem;
  font-weight: 500;
}
.zone-pin {
  width: 28px;
  height: 28px;
  background: rgba(192, 57, 43, 0.20);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.zone-pin svg {
  width: 16px;
  height: 16px;
  fill: var(--red-light);
}
.zone-note {
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.50) !important;
  font-style: italic;
  margin-bottom: 32px !important;
}

/* Map */
.zone-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.45);
}
.zone-map-frame {
  position: relative;
}
.zone-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
  filter: sepia(15%) contrast(88%) brightness(88%);
}
.zone-map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.zone-ring {
  position: absolute;
  border-radius: 999px;
  border: 2px solid rgba(231, 76, 60, 0.9);
  background: rgba(231, 76, 60, 0.12);
  box-shadow: 0 0 0 10px rgba(231, 76, 60, 0.08);
}
.zone-ring--main {
  top: 34%;
  left: 26%;
  width: 34%;
  height: 28%;
}
.zone-ring--north {
  top: 28%;
  left: 12%;
  width: 22%;
  height: 18%;
}
.zone-ring--east {
  top: 24%;
  left: 44%;
  width: 20%;
  height: 18%;
}
.zone-label {
  position: absolute;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.zone-label::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-light);
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.2);
}
.zone-label--leuze {
  top: 38%;
  left: 29%;
}
.zone-label--leuze::before {
  left: -4px;
  bottom: -12px;
}
.zone-label--tournai {
  top: 44%;
  left: 11%;
}
.zone-label--tournai::before {
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
}
.zone-label--peruwelz {
  top: 25%;
  left: 16%;
}
.zone-label--peruwelz::before {
  right: -4px;
  bottom: -10px;
}
.zone-label--ath {
  top: 27%;
  left: 49%;
}
.zone-label--ath::before {
  left: -4px;
  bottom: -10px;
}
.map-credit {
  background: var(--dark-2);
  padding: 8px 16px;
  text-align: right;
  font-size: 0.78rem;
}
.map-credit a {
  color: var(--red-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════ */
.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--black);
  margin-bottom: 28px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; fill: var(--white); }

.contact-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray);
  margin-bottom: 4px;
}
.contact-item a,
.contact-item span {
  color: var(--gray-dark);
  font-weight: 600;
  font-size: 0.93rem;
  display: block;
}
.contact-item a:hover { color: var(--red); }

.contact-hours {
  margin-top: 28px;
  padding: 20px;
  background: var(--gray-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
}
.contact-hours p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  margin-bottom: 6px;
  line-height: 1.5;
}
.contact-hours p strong {
  font-family: var(--font-heading);
  color: var(--black);
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.required { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #DEDEDE;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #E53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.10);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-group select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  cursor: pointer;
  padding-right: 44px;
}

.error-msg {
  font-size: 0.78rem;
  color: #E53935;
  font-weight: 600;
  min-height: 18px;
  display: block;
}

.form-note {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.5;
  margin-top: -4px;
}

/* Success */
.form-success[hidden] {
  display: none !important;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 56px 40px;
  background: #F0FFF4;
  border: 2px solid #68D391;
  border-radius: var(--radius-lg);
}
.success-icon {
  width: 72px;
  height: 72px;
  background: #38A169;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-icon svg { width: 40px; height: 40px; fill: var(--white); }
.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #276749;
}
.form-success p { color: #38A169; font-size: 0.97rem; max-width: 420px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  font-size: 3rem;
  gap: 14px;
  line-height: 1;
}

.footer-logo .site-logo-image {
  height: 86px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 16px 0 20px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-style: normal;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--red-light); }
.footer-contact svg { width: 16px; height: 16px; fill: var(--red); flex-shrink: 0; }

/* Social */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-link {
  width: 40px;
  height: 40px;
  background: var(--gray-steel);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  border-radius: 4px;
}
.social-link:hover { background: var(--red); }
.social-link svg { width: 18px; height: 18px; fill: var(--white); }

.footer-nav h4,
.footer-services h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-nav ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  transition: color var(--transition), padding-left var(--transition);
  display: block;
}
.footer-nav a:hover { color: var(--red-light); padding-left: 4px; }

.footer-services li {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-services li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7);
}
.lightbox-caption {
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.88rem;
  margin-top: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.75);
  z-index: 2;
  line-height: 1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color var(--transition), background var(--transition),
              transform var(--transition);
}
.lightbox-close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.40);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--red); color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .service-card:nth-child(2),
.testimonials-track .testimonial-card:nth-child(2) {
  transition-delay: 0.10s;
}
.services-grid .service-card:nth-child(3),
.testimonials-track .testimonial-card:nth-child(3) {
  transition-delay: 0.20s;
}
.gallery-grid .gallery-item:nth-child(2) { transition-delay: 0.06s; }
.gallery-grid .gallery-item:nth-child(3) { transition-delay: 0.12s; }
.gallery-grid .gallery-item:nth-child(4) { transition-delay: 0.06s; }
.gallery-grid .gallery-item:nth-child(5) { transition-delay: 0.12s; }
.gallery-grid .gallery-item:nth-child(6) { transition-delay: 0.18s; }
.gallery-grid .gallery-item:nth-child(7) { transition-delay: 0.06s; }
.gallery-grid .gallery-item:nth-child(8) { transition-delay: 0.12s; }
.gallery-grid .gallery-item:nth-child(9) { transition-delay: 0.18s; }

/* ── PREFERS-REDUCED-MOTION ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-scroll span::after { animation: none; }
  @keyframes scrollPulse { 0%, 100% { opacity: 1; top: 6px; } }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .about-grid,
  .zone-grid { grid-template-columns: 1fr; gap: 40px; }

  .criblage-grid { grid-template-columns: 1fr; gap: 48px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .testimonial-card { min-width: calc(50% - 12px); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
═══════════════════════════════════════════════════════════ */
/* ── MOBILE NAV — éléments visibles uniquement sur mobile ── */
.nav-mobile-brand,
.nav-mobile-contact { display: none; }

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Nav */
  .navbar { padding: 0 20px; }
  #header.scrolled .navbar { height: 56px; }

  .hamburger { display: flex; }

  /* ── DRAWER PANEL ────────────────────────────────────── */
  .nav-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    left: auto;
    width: 88%;
    max-width: 360px;
    background: #0E0E0E;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    transform: translateX(102%);
    transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 999;
    box-shadow: -16px 0 80px rgba(0, 0, 0, 0.75);
  }
  .nav-menu::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 210px; height: 210px;
    background: var(--red);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: 0.09;
    pointer-events: none;
    z-index: 0;
  }
  .nav-menu.open { transform: translateX(0); }

  /* ── BRAND HEADER ────────────────────────────────────── */
  .nav-mobile-brand {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 26px 24px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.38s ease 0.06s, transform 0.38s ease 0.06s;
    flex-shrink: 0;
  }
  .nav-menu.open .nav-mobile-brand {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-mobile-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.45rem;
    letter-spacing: -0.01em;
  }
  .nav-mobile-tagline {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  /* ── NAV LINKS ───────────────────────────────────────── */
  .nav-menu > li:not(.nav-mobile-brand):not(.nav-mobile-contact):not(.nav-item-dropdown) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(26px);
    transition: opacity 0.38s ease var(--link-delay, 0.12s),
                transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) var(--link-delay, 0.12s);
  }
  .nav-menu.open > li:not(.nav-mobile-brand):not(.nav-mobile-contact):not(.nav-item-dropdown) {
    opacity: 1;
    transform: translateX(0);
  }
  .nav-menu > li:nth-child(2) { --link-delay: 0.12s; }
  .nav-menu > li:nth-child(3) { --link-delay: 0.19s; }
  .nav-menu > li:nth-child(5) { --link-delay: 0.33s; }
  .nav-menu > li:nth-child(6) { --link-delay: 0.40s; }

  .nav-link {
    font-size: 1.05rem;
    font-weight: 800;
    padding: 16px 24px;
    width: 100%;
    text-align: left;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    align-items: center;
    transition: color 0.2s ease, padding-left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-link:not(.nav-cta)::after { display: none; }
  .nav-link:hover { color: var(--white); padding-left: 32px; }
  .nav-link.active { color: var(--red-light); }

  /* ── CTA BUTTON ──────────────────────────────────────── */
  .nav-link.nav-cta {
    display: block;
    margin: 14px 20px 6px;
    padding: 14px 20px;
    text-align: center;
    background: var(--red);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
    border-radius: 0;
    transition: background 0.2s ease, padding-left 0s;
  }
  .nav-link.nav-cta:hover { background: var(--red-dark); padding-left: 20px; color: var(--white); }

  /* ── CONTACT FOOTER ──────────────────────────────────── */
  .nav-mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 24px 28px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.4s ease 0.45s;
  }
  .nav-menu.open .nav-mobile-contact {
    opacity: 1;
  }
  .nav-mobile-tel,
  .nav-mobile-fb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s;
  }
  .nav-mobile-tel { color: rgba(255, 255, 255, 0.5); }
  .nav-mobile-fb  { color: rgba(255, 255, 255, 0.35); }
  .nav-mobile-tel:hover { color: var(--white); }
  .nav-mobile-fb:hover  { color: #4A90D9; }
  .nav-mobile-tel svg { width: 15px; height: 15px; fill: var(--red); flex-shrink: 0; }
  .nav-mobile-fb  svg { width: 15px; height: 15px; fill: #4A90D9; flex-shrink: 0; }

  /* Hero */
  .hero-content { padding: 110px 20px 56px; }
  .hero-ctas { flex-direction: column; align-items: center; }

  /* Grids */
  .services-grid { grid-template-columns: 1fr; }

  /* Gallery accueil → carousel horizontal sur mobile */
  .gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding-bottom: 8px;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-item {
    flex: 0 0 80vw;
    scroll-snap-align: start;
  }

  /* Dots carousel galerie mobile */
  .gallery-mobile-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
  }
  .gallery-mobile-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), transform var(--transition);
  }
  .gallery-mobile-dot.active { background: var(--red); transform: scale(1.3); }

  .testimonial-card { min-width: calc(100% - 0px); }

  .about-stats { grid-template-columns: 1fr 1fr; }

  .criblage-stats { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Lightbox */
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-prev,
  .lightbox-next { width: 40px; height: 40px; font-size: 1.2rem; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 480px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; }
  .criblage-stats { grid-template-columns: 1fr; }

  .zone-map iframe { height: 280px; }
  .zone-label {
    font-size: 0.62rem;
    padding: 7px 10px;
  }

  .service-card { padding: 28px 20px; }
  .testimonial-card { padding: 28px 20px; }

  .section-header { margin-bottom: 40px; }
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION — DROPDOWN "NOS MACHINES"
═══════════════════════════════════════════════════════════ */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
}

.nav-dropdown-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 12px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  white-space: nowrap;
}
.nav-dropdown-btn:hover,
.nav-dropdown-btn.active,
.nav-dropdown-btn:focus-visible { color: var(--red-light); }

.dropdown-caret {
  font-size: 0.65rem;
  transition: transform var(--transition);
  display: inline-block;
}
.nav-item-dropdown.open .dropdown-caret,
.nav-item-dropdown:focus-within .dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.09);
  border-top: 2px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  min-width: 220px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}

/* Desktop: show on hover */
@media (min-width: 769px) {
  .nav-item-dropdown:hover .nav-dropdown,
  .nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

/* All screens: show when .open */
.nav-item-dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 11px 20px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
  white-space: nowrap;
}
.nav-dropdown-link:hover,
.nav-dropdown-link.active {
  color: var(--red-light);
  background: rgba(192, 57, 43, 0.10);
  padding-left: 26px;
}

/* ═══════════════════════════════════════════════════════════
   PAGE HERO — bannière intérieure (pages secondaires)
═══════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--black);
  padding: calc(var(--nav-height) + 56px) 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13,13,13,0.95) 0%, rgba(192,57,43,0.12) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='40'%3E%3Cline x1='0' y1='0' x2='60' y2='0' stroke='rgba(192,57,43,.06)' stroke-width='1'/%3E%3Cline x1='0' y1='0' x2='0' y2='40' stroke='rgba(192,57,43,.06)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: auto, 60px 40px;
}
.page-hero .container { position: relative; z-index: 1; }

.page-hero-label {
  display: inline-block;
  color: var(--red-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page-hero-title span { color: var(--red-light); }
.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.68);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--red-light); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,0.25); }

/* ═══════════════════════════════════════════════════════════
   RÉALISATIONS — GRILLE PHOTOS + VISIONNEUSE
═══════════════════════════════════════════════════════════ */
.realisations-section { background: var(--white); }
.realisations-section .container { max-width: 1600px; }

/* Wrapper wider than standard container */
.real-grid-wrap {
  max-width: 1440px;
  margin: 48px auto 0;
  padding: 0 20px;
}

/* 4-column square mosaic */
.real-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

/* Each tile — square */
.real-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark);
  display: block;
}

.real-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.real-item:hover img,
.real-item:focus img {
  transform: scale(1.07);
}

.real-item:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -3px;
}

/* Hover overlay */
.real-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  pointer-events: none;
}

.real-overlay svg {
  width: 40px;
  height: 40px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

.real-item:hover .real-overlay,
.real-item:focus .real-overlay {
  background: rgba(0, 0, 0, 0.28);
}

.real-item:hover .real-overlay svg,
.real-item:focus .real-overlay svg {
  opacity: 1;
}

/* Video tile — dark background with play icon */
.real-item--video {
  background: #111;
}

.real-video-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.real-video-thumb svg {
  width: 64px;
  height: 64px;
  color: rgba(255,255,255,0.75);
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
  transition: color 0.3s, transform 0.3s;
}

.real-item--video:hover .real-video-thumb svg {
  color: var(--red-light);
  transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════════════
   VISIONNEUSE (LIGHTBOX) RÉALISATIONS
═══════════════════════════════════════════════════════════ */
#real-lb {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#real-lb.is-open {
  opacity: 1;
  visibility: visible;
}

.real-lb-media {
  position: relative;
  max-width: min(92vw, 1320px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.real-lb-media img {
  max-width: min(92vw, 1320px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.real-lb-media video {
  max-width: min(92vw, 1100px);
  max-height: 80vh;
  display: block;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

/* Close button */
.real-lb-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}

.real-lb-close:hover { background: var(--red); border-color: var(--red); }
.real-lb-close svg { width: 22px; height: 22px; }

/* Prev / Next */
.real-lb-prev,
.real-lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}

.real-lb-prev { left: 16px; }
.real-lb-next { right: 16px; }
.real-lb-prev:hover,
.real-lb-next:hover { background: var(--red); border-color: var(--red); }
.real-lb-prev svg,
.real-lb-next svg { width: 24px; height: 24px; }

/* Counter */
.real-lb-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
}

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.chantier-card {
  background: var(--dark);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.chantier-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.18); }

.chantier-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--dark);
  cursor: pointer;
}

.chantier-track {
  display: flex;
  height: 100%;
  transition: transform 0.42s ease;
}

.chantier-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}
.chantier-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video slide */
.chantier-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chantier-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.50);
  color: var(--white);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  border: none;
  transition: background 0.2s;
  font-size: 1rem;
  border-radius: 2px;
}
.chantier-nav:hover { background: var(--red); }
.chantier-nav.prev { left: 10px; }
.chantier-nav.next { right: 10px; }
.chantier-nav[hidden] { display: none; }

.chantier-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  letter-spacing: 0.05em;
  border-radius: 2px;
  pointer-events: none;
}

/* Video-only card */
.chantier-card--video .chantier-carousel {
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.chantier-video-trigger {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  width: 100%;
}
.chantier-card--video:hover .chantier-video-trigger,
.chantier-video-trigger:focus-visible { background: rgba(192,57,43,0.55); }
.chantier-video-trigger svg {
  width: 56px;
  height: 56px;
  fill: var(--white);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

/* ═══════════════════════════════════════════════════════════
   PAGES MACHINES — fiche technique
═══════════════════════════════════════════════════════════ */
.machine-section { background: var(--white); }

.machine-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.machine-image-wrap {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.machine-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-left: 4px solid var(--red);
  display: block;
  background: var(--gray-light);
}

.machine-img--plan {
  object-fit: contain;
  background: var(--white);
  padding: 18px;
}

.machine-gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.machine-carousel-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.machine-gallery-label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--red);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.machine-carousel-heading h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--black);
}

.machine-carousel {
  position: relative;
  overflow: hidden;
  background: var(--gray-light);
}

.machine-carousel--plans {
  background: #F8F8F8;
}

.machine-carousel-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.machine-carousel-slide {
  min-width: 100%;
}

.machine-carousel-slide .machine-img {
  border-left: none;
}

.machine-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(13, 13, 13, 0.82);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  z-index: 1;
}

.machine-carousel-btn:hover {
  background: var(--red);
}

.machine-carousel-btn--prev {
  left: 14px;
}

.machine-carousel-btn--next {
  right: 14px;
}

.machine-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.machine-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(192, 57, 43, 0.25);
  transition: transform var(--transition), background var(--transition);
}

.machine-carousel-dot.active {
  background: var(--red);
  transform: scale(1.15);
}

.machine-thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.machine-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--gray-light);
  border-left: 4px solid rgba(192, 57, 43, 0.35);
}

.machine-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-left: 4px solid var(--red);
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.machine-img-placeholder svg {
  width: 48px;
  height: 48px;
  fill: rgba(192,57,43,0.45);
}
.machine-img-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.machine-img-inner p {
  font-size: 0.78rem;
  line-height: 1.6;
}

.machine-content { display: flex; flex-direction: column; gap: 32px; }

.machine-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.machine-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 8px 0;
}
.machine-title span { color: var(--red); }

.machine-desc {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.85;
}

/* Specs table */
.machine-specs {
  border-top: 2px solid var(--gray-light);
  padding-top: 28px;
}
.machine-specs h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr { border-bottom: 1px solid #EFEFEF; }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th,
.specs-table td {
  padding: 11px 0;
  font-size: 0.92rem;
  text-align: left;
}
.specs-table th {
  color: var(--gray);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 45%;
}
.specs-table td {
  color: var(--gray-dark);
  font-weight: 600;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Highlights */
.machine-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.machine-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.55;
}
.machine-highlights li::before {
  content: '▸';
  color: var(--red);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.machine-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   PAGE SERVICES — détail étendu
═══════════════════════════════════════════════════════════ */
.service-detail {
  padding: 80px 0;
}
.service-detail:nth-child(even) { background: var(--gray-light); }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }

.service-detail-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-left: 4px solid var(--red);
  display: block;
}

.service-detail-content { display: flex; flex-direction: column; gap: 20px; }

.service-detail-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--black);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.service-detail-desc {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.85;
}

.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray-dark);
  font-size: 0.93rem;
  line-height: 1.5;
}
.service-detail-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 7px;
}

/* CTA bande */
.cta-band {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.cta-band p {
  color: rgba(255,255,255,0.68);
  margin-bottom: 32px;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   MAP SECTION
═══════════════════════════════════════════════════════════ */
.map-section { background: var(--gray-light); }
.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.map-wrapper iframe { display: block; }

/* ═══════════════════════════════════════════════════════════
   MOBILE — DROPDOWN MENU (hamburger ouvert, ≤768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* ── DROPDOWN "NOS MACHINES" — mobile ─────────────────── */
  .nav-item-dropdown {
    width: 100%;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateX(26px);
    transition: opacity 0.38s ease 0.26s,
                transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) 0.26s;
  }
  .nav-menu.open .nav-item-dropdown {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-dropdown-btn {
    width: 100%;
    justify-content: space-between;
    padding: 16px 24px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s;
  }
  .nav-dropdown-btn:hover { color: var(--white); }

  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-left: 2px solid var(--red);
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    margin-left: 24px;
  }
  .nav-item-dropdown.open .nav-dropdown { max-height: 320px; }

  .nav-dropdown-link {
    padding: 12px 20px 12px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease, padding-left 0.2s ease;
  }
  .nav-dropdown-link:hover {
    color: var(--red-light);
    padding-left: 22px;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — NOUVELLES PAGES
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .realisations-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .real-grid { grid-template-columns: repeat(3, 1fr); }
  .machine-layout { grid-template-columns: 1fr; gap: 40px; }
  .machine-image-wrap { position: static; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-detail-grid.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .page-hero { padding: calc(var(--nav-height) + 36px) 0 52px; }
  .page-hero-title { font-size: 1.9rem; }
  .machine-cta { flex-direction: column; }
  .realisations-grid { grid-template-columns: 1fr; gap: 10px; }
  .real-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .real-grid-wrap { padding: 0 12px; }
  .real-lb-prev { left: 8px; }
  .real-lb-next { right: 8px; }
}

@media (max-width: 480px) {
  .realisations-grid { gap: 8px; }
  .machine-specs h3 { font-size: 0.7rem; }
  .real-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .real-grid-wrap { padding: 0 8px; margin-top: 32px; }
}

/* ═══════════════════════════════════════════════════════════
   DESIGN ENHANCEMENTS — Animations & Visual Identity
═══════════════════════════════════════════════════════════ */

/* ── SCROLL PROGRESS BAR ─────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--red-dark), var(--red-light), #FF7A6A);
  z-index: 9997;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(192, 57, 43, 0.65);
  pointer-events: none;
}

/* ── DIRECTIONAL SLIDE ANIMATIONS ───────────────────────── */
.anim-left {
  opacity: 0;
  transform: translateX(-52px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-left.visible { opacity: 1; transform: translateX(0); }

.anim-right {
  opacity: 0;
  transform: translateX(52px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-right.visible { opacity: 1; transform: translateX(0); }

.anim-scale {
  opacity: 0;
  transform: scale(0.88) translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.anim-scale.visible { opacity: 1; transform: scale(1) translateY(0); }

/* Stagger pour les grilles */
.services-grid .service-card.anim-scale:nth-child(2) { transition-delay: 0.12s; }
.services-grid .service-card.anim-scale:nth-child(3) { transition-delay: 0.24s; }

/* ── SECTION TITLE WORD REVEAL ───────────────────────────── */
.section-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease var(--delay, 0s),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s);
}

.fade-in.visible .section-title .word,
.anim-left.visible .section-title .word,
.anim-right.visible .section-title .word {
  opacity: 1;
  transform: translateY(0);
}

/* ── HERO CONTENT ENTRANCE (JS-controlled) ───────────────── */
.hero-badge,
.hero-title,
.hero-sub,
.hero-ctas {
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── HERO FLOATING GEOMETRY ──────────────────────────────── */
.hero-geo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-geo-el {
  position: absolute;
  border: 1px solid rgba(192, 57, 43, 0.2);
  animation: geoFloat linear infinite;
}
.hero-geo-el:nth-child(1) {
  width: 160px; height: 160px;
  top: 12%; left: 5%;
  animation-duration: 24s;
  animation-delay: 0s;
}
.hero-geo-el:nth-child(2) {
  width: 64px; height: 64px;
  top: 62%; right: 9%;
  animation-duration: 18s;
  animation-delay: -7s;
  border-color: rgba(192, 57, 43, 0.3);
  background: rgba(192, 57, 43, 0.05);
}
.hero-geo-el:nth-child(3) {
  width: 220px; height: 220px;
  bottom: 8%; left: 52%;
  animation-duration: 32s;
  animation-delay: -14s;
  border-color: rgba(255, 255, 255, 0.04);
}
.hero-geo-el:nth-child(4) {
  width: 88px; height: 88px;
  top: 28%; right: 24%;
  animation-duration: 15s;
  animation-delay: -4s;
  border-color: rgba(192, 57, 43, 0.14);
}
@keyframes geoFloat {
  0%   { transform: rotate(0deg) translateY(0px); }
  25%  { transform: rotate(90deg) translateY(-14px); }
  50%  { transform: rotate(180deg) translateY(0px); }
  75%  { transform: rotate(270deg) translateY(14px); }
  100% { transform: rotate(360deg) translateY(0px); }
}

/* ── HERO GRAIN TEXTURE ──────────────────────────────────── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.hero-content { position: relative; z-index: 2; }

/* ── NAV LINK UNDERLINE ANIMATION ────────────────────────── */
.nav-link:not(.nav-cta) {
  position: relative;
}
.nav-link:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%;
  width: 0; height: 2px;
  background: var(--red-light);
  transform: translateX(-50%);
  transition: width 0.28s ease;
}
.nav-link:not(.nav-cta):hover::after,
.nav-link:not(.nav-cta).active::after {
  width: 65%;
}

/* ── ENHANCED BUTTON HOVER ───────────────────────────────── */
.btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.btn-primary:hover::before,
.btn-primary:focus-visible::before { opacity: 1; }

/* ── ENHANCED SERVICE CARD ───────────────────────────────── */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.4);
}

/* ── ENHANCED STAT CARD ──────────────────────────────────── */
.stat-card {
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(192, 57, 43, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover .stat-number {
  text-shadow: 0 0 28px rgba(192, 57, 43, 0.75), 0 0 55px rgba(192, 57, 43, 0.35);
}

/* ── ENHANCED STAT-CARD-DARK ─────────────────────────────── */
.stat-card-dark {
  position: relative;
  overflow: hidden;
}
.stat-card-dark::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(180deg, var(--red-light), var(--red-dark));
  transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-card-dark:hover::after { height: 100%; }

/* ── ENHANCED GALLERY HOVER ──────────────────────────────── */
.gallery-grid {
  perspective: 1000px;
}
.gallery-item {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              z-index 0s;
  position: relative;
}
.gallery-item:hover {
  transform: scale(1.04) translateY(-5px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22),
              0 0 0 2px rgba(192, 57, 43, 0.45);
  z-index: 2;
}

/* ── ENHANCED TESTIMONIAL ────────────────────────────────── */
.testimonial-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.14);
}
.testimonial-avatar {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.18);
}

/* ── ENHANCED CONTACT ICON ───────────────────────────────── */
.contact-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}
.contact-item:hover .contact-icon {
  transform: scale(1.14) rotate(-6deg);
  box-shadow: 0 8px 28px rgba(192, 57, 43, 0.38);
}

/* ── VALUE ITEM HOVER ────────────────────────────────────── */
.value-item {
  transition: transform 0.3s ease, color 0.3s ease;
}
.value-item:hover {
  transform: translateX(8px);
  color: var(--red);
}

/* ── ZONE LIST HOVER ─────────────────────────────────────── */
.zone-list li {
  transition: transform 0.3s ease, color 0.3s ease;
}
.zone-list li:hover {
  transform: translateX(8px);
  color: var(--red-light);
}

/* ── FOOTER LOGO GLOW ────────────────────────────────────── */
.footer-logo:hover .site-logo-image {
  filter: drop-shadow(0 0 18px rgba(231, 76, 60, 0.5));
  transform: translateY(-1px);
}

/* ── REDUCED MOTION — override all enhancements ─────────── */
@media (prefers-reduced-motion: reduce) {
  .anim-left, .anim-right, .anim-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .section-title .word {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-geo-el { animation: none; }
  .hero-badge, .hero-title, .hero-sub, .hero-ctas { transition: none; }
  #scroll-progress { display: none; }
  .service-card:hover .service-icon { transform: none; }
  .testimonial-card:hover { transform: none; }
  .gallery-item:hover { transform: none; }
  .value-item:hover { transform: none; }
  .zone-list li:hover { transform: none; }
}
