/* =========================================================
   NOMACh — Feuille de style partagée
   ========================================================= */

:root {
  --blue:       #1a3a6b;
  --blue-mid:   #2456a4;
  --blue-light: #3a7bd5;
  --blue-pale:  #e8f0fb;
  --blue-ultra: #f0f5fd;
  --white:      #ffffff;
  --off-white:  #f7f8fa;
  --gray-100:   #f0f1f3;
  --gray-200:   #dde1e8;
  --gray-400:   #9aa3b0;
  --gray-600:   #5a6478;
  --gray-800:   #2c3240;
  --black:      #141820;
  --red:        #c0392b;
  --accent:     #6fb3ff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--gray-800);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
}

/* ══════════════════════════════
   TOP BAR
══════════════════════════════ */
.topbar {
  background: var(--blue);
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  padding: 0.45rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.02em;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.topbar a { color: rgba(255,255,255,0.7); text-decoration: none; }
.topbar a:hover { color: white; }
.topbar-left { display: flex; align-items: center; gap: 0.5rem; }
.topbar-right { display: flex; gap: 2rem; }

/* ══════════════════════════════
   NAV
══════════════════════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  box-shadow: 0 2px 16px rgba(26,58,107,0.06);
  transition: box-shadow 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-img-nav { height: 34px; width: auto; display: block; }
.logo-img-footer { height: 38px; width: auto; display: block; }

.logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--gray-400);
  text-transform: uppercase;
  display: block;
  line-height: 1;
  margin-top: 2px;
}

.nav-right { display: flex; align-items: center; gap: 0; }

.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: var(--blue-mid);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--blue-mid);
  color: white !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 3px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
  margin-left: 0.6rem;
}
.nav-cta:hover { background: var(--blue) !important; }
.nav-cta::after { display: none !important; }

/* Sélecteur de langue — icône globe discrète + menu déroulant */
.lang-switch-globe { position: relative; margin-left: 0.6rem; display: flex; align-items: center; }
.lang-globe-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  color: var(--gray-600);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  padding: 0;
}
.lang-globe-btn svg { width: 18px; height: 18px; }
.lang-globe-btn:hover { color: var(--blue); border-color: var(--blue-pale); background: var(--blue-ultra); }
.lang-switch-globe.open .lang-globe-btn { color: var(--blue); border-color: var(--blue-mid); background: var(--blue-ultra); }

.lang-globe-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 140px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(26,58,107,0.16);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 300;
}
.lang-switch-globe.open .lang-globe-menu { opacity: 1; visibility: visible; transform: none; }

.lang-opt {
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  color: var(--gray-800);
  background: transparent;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-opt:hover { background: var(--blue-ultra); color: var(--blue); }
.lang-opt.active { color: var(--blue-mid); font-weight: 700; }

/* Dropdown menu (Services) */
.has-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-dropdown-trigger svg {
  width: 12px; height: 12px;
  stroke: currentColor; fill: none; stroke-width: 2.2;
  transition: transform 0.2s;
}
.has-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(26,58,107,0.14);
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 300;
}

/* Small invisible bridge so the pointer can travel from the link to the menu without it closing */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-dropdown li a {
  display: block;
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: 3px;
  white-space: nowrap;
}
.nav-dropdown li a::after { display: none; }
.nav-dropdown li a:hover { background: var(--blue-ultra); color: var(--blue); }

.nav-dropdown-all {
  border-top: 1px solid var(--gray-200);
  margin-top: 0.3rem;
  padding-top: 0.6rem !important;
}
.nav-dropdown-all a { color: var(--blue-mid) !important; font-weight: 600 !important; }

.nav-toggle { display: none; }

/* Page Presses — une section affichée à la fois */
.press-panel { scroll-margin-top: 70px; }
.tabs .press-panel:not(.is-active) { display: none !important; }

/* ══════════════════════════════
   BREADCRUMB / PAGE HERO (pages secondaires)
══════════════════════════════ */
.page-hero {
  background: var(--blue);
  padding: 1.6rem 5vw 1.8rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-55deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px);
}

.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb a:hover { color: white; }
.breadcrumb span.sep { opacity: 0.5; }
.breadcrumb span.current { color: #fff; }

.page-hero h1 {
  position: relative;
  z-index: 1;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 700;
  color: white;
  line-height: 1.12;
  max-width: 780px;
}

.page-hero p {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255,255,255,0.96);
  max-width: 700px;
  margin-top: 0.4rem;
  line-height: 1.55;
}

/* ══════════════════════════════
   HERO (accueil)
══════════════════════════════ */
#hero {
  background: var(--blue);
  padding: 3rem 5vw 2.2rem;
  position: relative;
  overflow: hidden;
}

#hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.13;
  z-index: 0;
  mix-blend-mode: luminosity;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-55deg, transparent, transparent 40px, rgba(255,255,255,0.018) 40px, rgba(255,255,255,0.018) 41px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.1rem;
}

.hero-eyebrow-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  color: white;
  margin-bottom: 0.9rem;
  letter-spacing: 0.01em;
}

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

.hero-p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: center; }

.btn-white {
  background: white;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  text-decoration: none;
  border-radius: 3px;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  display: inline-block;
}
.btn-white:hover { background: var(--blue-pale); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.85rem 2rem;
  text-decoration: none;
  border-radius: 3px;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.08); }

.btn-blue-outline {
  background: transparent;
  color: var(--blue-mid);
  border: 2px solid var(--blue-pale);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.8rem 1.9rem;
  text-decoration: none;
  border-radius: 3px;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  display: inline-block;
}
.btn-blue-outline:hover { border-color: var(--blue-mid); background: var(--blue-ultra); }

/* Swiss accent / trust bar */
.swiss-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.1rem 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.6rem;
  overflow-x: auto;
}

.swiss-item { display: flex; align-items: center; gap: 0.55rem; white-space: nowrap; flex-shrink: 0; }
.swiss-item svg { width: 17px; height: 17px; stroke: var(--blue-mid); fill: none; stroke-width: 2; flex-shrink: 0; }
.swiss-item span { font-size: 0.8rem; font-weight: 500; color: var(--gray-600); letter-spacing: 0.03em; }
.swiss-divider { width: 1px; height: 18px; background: var(--gray-200); flex-shrink: 0; }

/* ══════════════════════════════
   SECTION COMMONS
══════════════════════════════ */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.section-label::before { content: ''; width: 28px; height: 2px; background: var(--blue-mid); flex-shrink: 0; }

h2.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.section-lead { font-size: 1rem; color: var(--gray-600); line-height: 1.75; max-width: 620px; }

/* Bandeau distributeur Locatelli */
.locatelli-strip {
  background: var(--white);
  padding: 1.8rem 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.locatelli-strip-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
  text-align: center;
  line-height: 1.5;
}
.locatelli-strip-logo { height: 54px; width: auto; display: block; position: relative; top: 6px; }
@media (max-width: 600px) {
  .locatelli-strip { gap: 1rem; }
}

/* ══════════════════════════════
   ACCUEIL — GALERIE ATELIER (carrousel)
══════════════════════════════ */
#gallery { padding: 5rem 5vw; background: var(--white); }

.gallery-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.gallery-header .section-label { justify-content: center; }
.gallery-header .section-label::before { display: none; }

.pillar-link { font-size: 0.82rem; font-weight: 600; color: var(--blue-mid); display: inline-flex; align-items: center; gap: 0.35rem; }
.pillar-link svg { width: 14px; height: 14px; stroke: var(--blue-mid); fill: none; stroke-width: 2; transition: transform 0.2s; }

/* Carousel — défilement rectiligne : la piste glisse horizontalement,
   on voit toujours un bout des photos voisines de part et d'autre */
.carousel-wrap {
  --w: min(640px, 62vw);      /* largeur de la photo active */
  --h: 380px;
  position: relative;
  max-width: 1140px;
  height: var(--h);
  margin: 0 auto 2.4rem;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  width: max-content;
  transition: transform 0.7s cubic-bezier(.22,.8,.24,1);
  will-change: transform;
}

.carousel-slide {
  position: relative;
  flex: 0 0 auto;
  width: var(--w);
  height: 86%;
  border-radius: 8px;
  overflow: hidden;
  background: #10131a;
  opacity: 0.5;
  filter: brightness(0.6) saturate(0.85);
  transform: scale(0.94);
  transition: transform 0.7s cubic-bezier(.22,.8,.24,1), filter 0.5s ease, opacity 0.5s ease, height 0.7s cubic-bezier(.22,.8,.24,1), box-shadow 0.5s ease;
  cursor: pointer;
}
.carousel-slide.is-active {
  height: 100%;
  opacity: 1;
  filter: none;
  transform: scale(1);
  cursor: default;
  box-shadow: 0 18px 44px rgba(26,58,107,0.22);
}
.carousel-slide:hover:not(.is-active) { filter: brightness(0.78) saturate(0.95); }

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,14,24,0.85));
  padding: 2rem 1.4rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.carousel-slide.is-active .carousel-caption { opacity: 1; transform: none; transition-delay: 0.35s; }
.carousel-caption span:first-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.carousel-caption span:last-child { font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.92); }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.carousel-btn:hover { background: rgba(255,255,255,0.32); }
.carousel-btn.prev { left: calc(50% - var(--w) / 2 + 10px); }
.carousel-btn.next { right: calc(50% - var(--w) / 2 + 10px); }

.carousel-dots {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #c5d3e8;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active { background: var(--blue-mid); transform: scale(1.3); }

@media (max-width: 600px) {
  .carousel-wrap { --w: 78vw; --h: 260px; }
  .carousel-track { gap: 10px; }
}

/* ══════════════════════════════
   CTA BAND
══════════════════════════════ */
.cta-band {
  background: var(--blue);
  padding: 3.2rem 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-55deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px);
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}
.cta-band p { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-bottom: 1.6rem; }
.cta-band .hero-actions { justify-content: center; }

/* Stats strip (accueil, sous hero) */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.stat-cell {
  text-align: center;
  padding: 1.8rem 1rem;
  border-right: 1px solid var(--gray-200);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  display: block;
  line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--gray-600); margin-top: 0.35rem; display: block; letter-spacing: 0.02em; }

/* ══════════════════════════════
   HYDRAULIC SPECIALTY
══════════════════════════════ */
#hydraulic {
  background: var(--blue-ultra);
  border-top: 3px solid var(--blue-mid);
  padding: 5rem 5vw;
  display: block;
  position: relative;
  overflow: hidden;
}

#hydraulic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/hydraulic-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

#hydraulic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(232,240,251,0.5) 0%, rgba(232,240,251,0.65) 50%, rgba(232,240,251,0.8) 100%);
  pointer-events: none;
  z-index: 0;
}

#hydraulic > * { position: relative; z-index: 1; }

.hydraulic-text { max-width: 1100px; margin: 0 auto; }
.hydraulic-text .section-title { font-size: clamp(2rem, 3.5vw, 3rem); }
.hydraulic-text p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 1rem; }

.hydraulic-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .hydraulic-grid { grid-template-columns: 1fr; }
}

.hydraulic-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
  margin-top: 2.5rem;
}

.hc-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.hc-item:last-child { border-bottom: none; }

.hc-check {
  width: 22px;
  height: 22px;
  background: var(--blue-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.hc-check svg { width: 11px; height: 11px; stroke: white; stroke-width: 2.5; fill: none; }
.hc-item span { font-size: 0.9rem; color: var(--gray-800); line-height: 1.5; }

/* ══════════════════════════════
   BLOC TEXTE + PHOTO (Locatelli / occasion)
══════════════════════════════ */
.split-block {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.split-block.reverse .split-photo { order: -1; }
.split-block p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.8; margin: 1rem 0; }
.split-block .section-title { margin-top: 0.4rem; }

.photo-placeholder {
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--blue-pale);
  border-radius: 8px;
  background: var(--blue-ultra);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--blue-mid);
  text-align: center;
  padding: 1.5rem;
}
.photo-placeholder svg { width: 34px; height: 34px; stroke: var(--blue-mid); fill: none; stroke-width: 1.6; opacity: 0.75; }
.photo-placeholder span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; }
.photo-placeholder small { font-size: 0.72rem; color: var(--gray-400); font-weight: 500; }

/* Diaporama photo (ex. presses Locatelli) */
.locatelli-slideshow {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}
.locatelli-slideshow .ls-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease;
}
.locatelli-slideshow .ls-slide.is-active { opacity: 1; }
.locatelli-slideshow .ls-dots {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.locatelli-slideshow .ls-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.locatelli-slideshow .ls-dot.active { background: white; transform: scale(1.2); }

@media (max-width: 900px) {
  .split-block, .split-block.reverse { grid-template-columns: 1fr; gap: 1.8rem; }
  .split-block.reverse .split-photo { order: 0; }
}

/* ══════════════════════════════
   COMPARATEUR AVANT / APRÈS RÉVISION
══════════════════════════════ */
.before-after { width: 100%; max-width: 440px; margin: 0 auto; }
.ba-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-mid);
  background: var(--blue-pale);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
}
.before-after > p { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 1.2rem; }

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  user-select: none;
  box-shadow: 0 18px 44px rgba(26,58,107,0.18);
  cursor: ew-resize;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-before-wrap {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
}
.ba-before-wrap .ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--slider-w, 100%);
  max-width: none;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle-line { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; margin-left: -1.5px; background: white; box-shadow: 0 0 8px rgba(0,0,0,0.3); }
.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28);
  pointer-events: auto;
  cursor: ew-resize;
}
.ba-handle-btn svg { width: 18px; height: 18px; stroke: var(--blue-mid); fill: none; stroke-width: 2.2; }
.ba-label {
  position: absolute;
  bottom: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  background: rgba(20,24,32,0.55);
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  pointer-events: none;
}
.ba-label-before { left: 1rem; }
.ba-label-after { right: 1rem; }

@media (max-width: 600px) {
  .ba-handle-btn { width: 36px; height: 36px; }
}

/* ══════════════════════════════
   SERVICES
══════════════════════════════ */
#services { padding: 5rem 5vw; background: var(--white); }

.services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }

.svc-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s, padding-bottom 0.4s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}
.svc-card:hover .pillar-link svg { transform: translateX(3px); }
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue-mid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.svc-card:hover { border-color: var(--blue-pale); box-shadow: 0 8px 32px rgba(26,58,107,0.1); transform: translateY(-3px); }
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
  width: 56px; height: 56px;
  background: var(--blue-ultra);
  border: 1px solid var(--blue-pale);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}
.svc-card:hover .svc-icon { background: var(--blue-pale); }
.svc-icon svg { width: 28px; height: 28px; stroke: var(--blue-mid); fill: none; stroke-width: 1.8; }

.svc-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  transition: margin-bottom 0.4s ease;
}

.svc-desc { font-size: 0.875rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.1rem; }

.svc-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.svc-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-mid);
  background: var(--blue-ultra);
  border: 1px solid var(--blue-pale);
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
  letter-spacing: 0.03em;
}

/* Cartes services repliées : icône + titre seuls, le détail apparaît au survol
   (uniquement sur les appareils avec une souris — sur tactile, tout reste visible) */
@media (hover: hover) and (pointer: fine) {
  .svc-card { padding-bottom: 1.7rem; }
  .svc-title { margin-bottom: 0; }
  .svc-more {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(.22,.8,.24,1), opacity 0.35s ease;
  }
  .svc-card:hover,
  .svc-card:focus-within { padding-bottom: 2.2rem; }
  .svc-card:hover .svc-title,
  .svc-card:focus-within .svc-title { margin-bottom: 1rem; }
  .svc-card:hover .svc-more,
  .svc-card:focus-within .svc-more { max-height: 480px; opacity: 1; margin-top: 0.2rem; }
}

.svc-card.full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--blue-ultra);
  border-color: rgba(36,86,164,0.2);
}
.svc-card.full::before { background: var(--blue); }
.svc-card.full .svc-icon { width: 64px; height: 64px; background: var(--blue-pale); }
.svc-card.full .svc-title { font-size: 1.4rem; }

.full-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue-mid);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.8rem;
}

/* ══════════════════════════════
   SERVICE DETAIL PAGE
══════════════════════════════ */
.service-detail { padding: 5rem 5vw; background: var(--white); }
.service-detail-inner { max-width: 880px; margin: 0 auto; }
.service-detail-inner p { font-size: 0.98rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 1.1rem; }
.service-detail-inner .hydraulic-checklist { margin-top: 2.2rem; }

.related-services { background: var(--off-white); border-top: 1px solid var(--gray-200); padding: 3.5rem 5vw; text-align: center; }
.related-services .zones-list { max-width: 760px; }

/* Zones d'intervention (SEO local) */
#zones { background: var(--off-white); border-top: 1px solid var(--gray-200); padding: 4rem 5vw; text-align: center; }
.zones-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 900px;
  margin: 2rem auto 0;
}
.zone-chip {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 1.2rem;
  border-radius: 20px;
}

/* ══════════════════════════════
   WORLD MAP
══════════════════════════════ */
#map-section { background: var(--blue); padding: 5rem 5vw; position: relative; overflow: hidden; }
#map-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-55deg, transparent, transparent 40px, rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px);
}
.map-header { text-align: center; margin-bottom: 3rem; position: relative; z-index: 2; }
.map-header .section-label { justify-content: center; color: var(--accent); }
.map-header .section-label::before { background: var(--accent); }
.map-header h2 { color: white; font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.map-header p { color: rgba(255,255,255,0.65); max-width: 540px; margin: 0.8rem auto 0; font-size: 0.95rem; }

.map-container { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; }

/* ══════════════════════════════
   PROCESS
══════════════════════════════ */
#process { background: var(--off-white); padding: 5rem 5vw; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.process-header { text-align: center; margin-bottom: 3.5rem; }
.process-header .section-label { justify-content: center; }
.process-header .section-label::before { display: none; }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-light));
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; padding: 0 1rem; }
.ps-circle {
  width: 64px; height: 64px;
  background: var(--blue-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 4px 16px rgba(36,86,164,0.3);
  border: 3px solid var(--off-white);
  transition: transform 0.2s;
}
.process-step:hover .ps-circle { transform: scale(1.08); }
.ps-circle svg { width: 26px; height: 26px; stroke: white; fill: none; stroke-width: 1.8; }
.ps-num {
  position: absolute; top: -8px; right: calc(50% - 40px);
  background: var(--blue); color: white;
  font-size: 0.6rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ps-title { font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.ps-desc { font-size: 0.78rem; color: var(--gray-600); line-height: 1.6; }

/* ══════════════════════════════
   WHY US
══════════════════════════════ */
#why { padding: 5rem 5vw; background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 3rem; }
.why-grid p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 1.2rem; }

.why-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.why-num-card { background: var(--blue-ultra); border: 1px solid var(--blue-pale); border-radius: 4px; padding: 1.5rem; }
.wn-num { font-family: 'Barlow Condensed', sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--blue); line-height: 1; display: block; }
.wn-label { font-size: 0.78rem; color: var(--gray-600); letter-spacing: 0.04em; margin-top: 0.3rem; display: block; }

.why-right { display: flex; flex-direction: column; gap: 1px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.why-item { background: var(--white); padding: 1.4rem 1.8rem; display: flex; align-items: flex-start; gap: 1.2rem; transition: background 0.2s; }
.why-item:hover { background: var(--blue-ultra); }
.wi-icon { width: 38px; height: 38px; background: var(--blue-ultra); border: 1px solid var(--blue-pale); border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wi-icon svg { width: 18px; height: 18px; stroke: var(--blue-mid); fill: none; stroke-width: 2; }
.wi-title { font-weight: 600; font-size: 0.9rem; color: var(--blue); margin-bottom: 0.2rem; }
.wi-desc { font-size: 0.82rem; color: var(--gray-600); line-height: 1.6; }

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
#contact { background: var(--off-white); padding: 5rem 5vw; border-top: 1px solid var(--gray-200); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; margin-top: 3rem; }
.contact-info-items { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.ci-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem 1.5rem; background: var(--white); border: 1px solid var(--gray-200); border-radius: 4px; }
.ci-icon { width: 36px; height: 36px; background: var(--blue-ultra); border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-icon svg { width: 18px; height: 18px; stroke: var(--blue-mid); fill: none; stroke-width: 2; }
.ci-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-400); display: block; margin-bottom: 0.2rem; }
.ci-val { font-size: 0.9rem; font-weight: 500; color: var(--gray-800); }
.ci-val a { color: var(--blue-mid); text-decoration: none; }
.ci-val a:hover { text-decoration: underline; }

.contact-map { margin-top: 1.5rem; border-radius: 4px; overflow: hidden; border: 1px solid var(--gray-200); }
.contact-map iframe { width: 100%; height: 260px; display: block; border: 0; }

.contact-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: 4px; padding: 2.5rem; }
.contact-form h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 1.8rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--gray-200); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-600); }
.form-group input, .form-group textarea, .form-group select {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
  padding: 0.75rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  border-radius: 3px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(36,86,164,0.1);
  background: var(--white);
}
.form-group textarea { min-height: 110px; }
.form-group select option { background: white; }

.btn-blue {
  background: var(--blue-mid);
  color: white;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-blue:hover { background: var(--blue); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(36,86,164,0.3); }

.form-status { font-size: 0.85rem; margin-top: 0.8rem; display: none; }
.form-status.ok { color: #1a7a3d; display: block; }
.form-status.err { color: var(--red); display: block; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer { background: var(--blue); color: rgba(255,255,255,0.65); padding: 3.5rem 5vw 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { font-size: 0.82rem; line-height: 1.7; margin-top: 1rem; color: rgba(255,255,255,0.55); }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: white; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { font-size: 0.82rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; font-size: 0.75rem; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 0.5rem; }

/* ══════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════ */
.anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.8s ease; transition-delay: var(--d, 0ms); }
.anim .reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 960px) {
  nav { padding: 0 4vw; }
  .nav-toggle { display: flex; order: 1; margin-left: 0.8rem; }
  .nav-right { order: 2; }
  .logo-sub { display: none; }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 16px 28px rgba(26,58,107,0.12);
    transition: max-height 0.3s ease;
  }
  #main-nav.nav-open .nav-links { max-height: 560px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.9rem 6vw; }
  .nav-links a::after { display: none; }
  .nav-cta { padding: 0.55rem 1.1rem !important; font-size: 0.82rem; white-space: nowrap; }
  .has-dropdown::after { display: none; }
  .nav-dropdown-trigger svg { display: none; }
  .nav-dropdown {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0.4rem;
    background: transparent;
  }
  .nav-links .nav-dropdown li a { padding: 0.6rem 6vw 0.6rem calc(6vw + 1.2rem); font-size: 0.82rem; color: var(--gray-600); }
  .lang-switch-globe { margin-left: 0.4rem; }
  .lang-globe-btn { width: 32px; height: 32px; }
  .lang-globe-btn svg { width: 16px; height: 16px; }
  .lang-globe-menu { right: 0; left: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  #hydraulic { padding: 3rem 4vw; }
  .hydraulic-checklist { grid-template-columns: 1fr; }
  .services-header { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-card.full { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .swiss-bar { gap: 1.5rem; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
}

@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr; }
  .why-numbers { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .zones-list { gap: 0.4rem; }
}


/* ══════════════════════════════
   ANIMATIONS DES TEXTES
   (actives uniquement si JS + pas de "réduire les animations")
══════════════════════════════ */

/* Titres principaux : les mots montent un par un */
.anim .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.anim .wi { display: inline-block; transform: translateY(110%); animation: wordUp 0.85s cubic-bezier(.2,.75,.2,1) forwards; animation-delay: calc(0.2s + var(--i) * 75ms); }
@keyframes wordUp { to { transform: none; } }

/* "machines industrielles" : soulignement qui se dessine */
.anim .hero-h1 .accent {
  background: linear-gradient(var(--accent), var(--accent)) no-repeat left 92% / 0% 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: underline 0.9s cubic-bezier(.6,0,.2,1) 1.35s forwards;
}
@keyframes underline { to { background-size: 100% 3px; } }

/* Entrées douces du reste du bandeau */
.anim .hero-eyebrow { opacity: 0; animation: fadeDown 0.7s ease 0.05s forwards; }
.anim .hero-p, .anim .page-hero p { opacity: 0; animation: fadeUp 0.8s ease 0.85s forwards; }
.anim #hero .hero-actions { opacity: 0; animation: fadeUp 0.8s ease 1.05s forwards; }
.anim .breadcrumb { opacity: 0; animation: fadeDown 0.6s ease 0.05s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* Photo de fond du bandeau : léger zoom lent */
.anim #hero-bg-img { animation: slowZoom 9s ease-out forwards; }
@keyframes slowZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

/* Petits labels de section : le trait se dessine */
.anim .section-label.reveal { transform: translateX(-12px); }
.anim .section-label.reveal::before { width: 0; transition: width 0.7s cubic-bezier(.2,.7,.2,1) 0.25s; }
.anim .section-label.reveal.visible { transform: none; }
.anim .section-label.reveal.visible::before { width: 28px; }

/* Titres de section : apparition floue -> nette en montant */
.anim h2.section-title.reveal, .anim .cta-band h2.reveal { filter: blur(8px); transform: translateY(20px); }
.anim h2.section-title.reveal.visible, .anim .cta-band h2.reveal.visible { filter: blur(0); transform: none; }

/* Chiffres clés */
.stat-num, .wn-num { font-variant-numeric: tabular-nums; }

/* Boutons : reflet lumineux au survol */
.btn-white, .nav-cta { position: relative; overflow: hidden; }
.btn-white::before, .nav-cta::before {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn-white:hover::before, .nav-cta:hover::before { animation: shine 0.75s ease; }
@keyframes shine { to { left: 130%; } }

/* Point bleu du bandeau : halo qui pulse */
.hero-eyebrow-dot { box-shadow: 0 0 0 0 rgba(111,179,255,0.6); animation: pulse 2s ease-in-out infinite, halo 2s ease-out infinite; }
@keyframes halo { to { box-shadow: 0 0 0 8px rgba(111,179,255,0); } }

/* ══════════════════════════════
   PAGE RÉALISATIONS — mosaïque sans recadrage + lightbox
══════════════════════════════ */
#realisations { padding: 3.2rem 5vw 4rem; max-width: 1400px; margin: 0 auto; }
.gal-head { margin-bottom: 1.8rem; }
.gallery { column-count: 3; column-gap: 1rem; }
.gal-item {
  position: relative; display: block; margin: 0 0 1rem; break-inside: avoid;
  border-radius: 6px; overflow: hidden; background: #e8edf4;
  box-shadow: 0 2px 14px rgba(26,58,107,0.08);
}
.gal-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gal-btn img { display: block; width: 100%; height: auto; transition: transform 0.5s ease; }
.gal-item:hover .gal-btn img { transform: scale(1.03); }
.gal-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
  padding: 2.2rem 0.9rem 0.7rem; color: #fff; font-size: 0.9rem; font-weight: 500; line-height: 1.3;
  background: linear-gradient(to top, rgba(10,25,50,0.82), rgba(10,25,50,0));
}
.gal-btn:focus-visible { outline: 3px solid #4a90e2; outline-offset: -3px; }
@media (max-width: 960px) { .gallery { column-count: 2; } }
@media (max-width: 560px) { .gallery { column-count: 1; } #realisations { padding: 2.2rem 5vw 3rem; } }

.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
  background: rgba(8,16,32,0.94); padding: 3.5rem 4rem 4.2rem;
}
.lightbox.open { display: flex; }
.lb-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 100%; max-height: calc(100vh - 11rem); width: auto; height: auto; object-fit: contain; border-radius: 4px; background: #111; }
.lb-cap { color: #fff; font-size: 1rem; font-weight: 500; margin-top: 0.9rem; text-align: center; }
.lb-count { display: block; color: rgba(255,255,255,0.55); font-size: 0.8rem; margin-top: 0.2rem; }
.lb-btn {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.lb-btn:hover { background: rgba(255,255,255,0.28); }
.lb-close { top: 0.9rem; right: 0.9rem; }
.lb-prev { left: 0.9rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.9rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox { padding: 3.5rem 0.6rem 4.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 0.9rem; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}
body.lb-open { overflow: hidden; }

/* Barre de menu : jamais de retour à la ligne, resserrée sur écrans moyens */
.nav-links a, .nav-cta, .nav-dropdown-trigger { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1240px) {
  .nav-links { gap: 1.1rem; }
  .nav-links > li > a { font-size: 0.84rem; }
  .nav-cta { padding-left: 0.9rem; padding-right: 0.9rem; font-size: 0.84rem; }
  .logo-sub { display: none; }
}

/* Mosaïque en ordre de lecture (gauche→droite) : colonnes construites par le script */
.gallery.gal-js { column-count: auto; display: flex; gap: 1rem; align-items: flex-start; }
.gal-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }

/* Formulaire : champ anti-spam invisible + mention de confidentialité */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { font-size: 0.78rem; color: var(--gray-600); line-height: 1.5; margin-top: 0.9rem; }
.form-consent a { color: var(--blue-mid); text-decoration: underline; }
.form-status.ok, .form-status.err { font-size: 0.92rem; font-weight: 500; }

/* Page mentions légales */
#legal { padding: 3rem 5vw 4.5rem; background: var(--white); }
.legal-inner { max-width: 820px; margin: 0 auto; }
.legal-inner h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; color: var(--blue); margin: 2.2rem 0 0.6rem; }
.legal-inner h2:first-child { margin-top: 0; }
.legal-inner p { color: var(--gray-800); line-height: 1.7; margin-bottom: 0.9rem; }
.legal-inner a { color: var(--blue-mid); text-decoration: underline; }

/* Zones d'intervention — groupes par région */
#zones .zones-intro { max-width: 680px; margin: 0.8rem auto 0; color: var(--gray-600); line-height: 1.65; }
.zone-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.4rem; max-width: 1150px; margin: 2.4rem auto 0; text-align: left; }
.zone-group { background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px; padding: 1.3rem 1.4rem 1.4rem; }
.zone-group h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; color: var(--blue); margin-bottom: 0.8rem; letter-spacing: 0.02em; }
.zone-group .zones-list { justify-content: flex-start; margin: 0; max-width: none; gap: 0.45rem; }
.zone-group .zone-chip { background: var(--blue-ultra); border-color: transparent; padding: 0.4rem 0.85rem; font-size: 0.82rem; }
#zones .zones-more { max-width: 640px; margin: 2rem auto 0; color: var(--gray-600); font-size: 0.95rem; line-height: 1.6; }
#zones .section-label { justify-content: center; }
#zones .section-title { max-width: 860px; margin-left: auto; margin-right: auto; text-wrap: balance; }
.zone-groups { display: flex; flex-wrap: wrap; justify-content: center; }
.zone-group { flex: 0 1 345px; }
@media (max-width: 560px) { .zone-group { flex-basis: 100%; } }
.footer-col ul li { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
