/* ═══════════════════════════════════════════════════════════
   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;
  transform: scale(0.85);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
#intro-logo.visible {
  opacity: 1;
  transform: scale(1);
}
#intro-logo img {
  width: 100%;
  max-width: 280px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 24px rgba(232, 101, 10, 0.5));
}

@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);
  padding: 0 40px;
  transition: height var(--transition);
}
#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;
}
.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: 5px;
  padding: 8px;
  z-index: 1001;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav overlay */
#nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
}
#nav-overlay.visible { display: block; }

/* ═══════════════════════════════════════════════════════════
   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: start;
}

.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;
  gap: 20px;
}
.stat-card {
  background: var(--black);
  color: var(--white);
  padding: 36px 24px;
  border-radius: var(--radius);
  text-align: 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-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 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 iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
  filter: sepia(15%) contrast(88%) brightness(88%);
}
.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);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  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 {
  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-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)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

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

  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 999;
  }
  .nav-menu.open { transform: translateX(0); }

  .nav-link {
    font-size: 0.95rem;
    padding: 12px 16px;
    width: 100%;
    text-align: left;
  }
  .nav-link.nav-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
    clip-path: none;
    border-radius: var(--radius);
  }

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

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

  .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; }

  .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-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% + 8px);
  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 — CAROUSELS PAR CHANTIER
═══════════════════════════════════════════════════════════ */
.realisations-section { background: var(--white); }

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

.chantier-card {
  background: var(--white);
  border: 1px solid #E8E8E8;
  border-top: 3px solid var(--red);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.chantier-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.10); }

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

.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;
}

.chantier-info {
  padding: 20px 24px 24px;
}
.chantier-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 6px;
}
.chantier-meta {
  font-size: 0.82rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chantier-meta::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Video-only card */
.chantier-card.video-card .chantier-carousel { aspect-ratio: 16 / 9; }
.chantier-card.video-card video { border: none; }

/* ═══════════════════════════════════════════════════════════
   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-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) {
  /* Reset dropdown positioning for mobile nav */
  .nav-item-dropdown { width: 100%; }

  .nav-dropdown-btn {
    width: 100%;
    justify-content: space-between;
    padding: 14px 24px;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: rgba(255,255,255,0.04);
    border: none;
    border-left: 3px solid var(--red);
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-item-dropdown.open .nav-dropdown { max-height: 300px; }

  .nav-dropdown-link {
    padding: 11px 24px 11px 32px;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .nav-dropdown-link:hover { padding-left: 38px; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — NOUVELLES PAGES
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .realisations-grid { grid-template-columns: 1fr; gap: 28px; }
  .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; }
  .chantier-info { padding: 16px 18px 20px; }
}

@media (max-width: 480px) {
  .realisations-grid { gap: 20px; }
  .machine-specs h3 { font-size: 0.7rem; }
}
