/* ========================================
   THÈME DESNEUX ET FILS - CSS COMPLET
   Fichier externalisé pour performance
   ======================================== */

:root {
  --primary-color: #1e293b;
  --secondary-color: #f8fafc;
  --accent-color: #f97316;
  --text-color: #111827;
  --light-text-color: #ffffff;
  --card-bg: #ffffff;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 16px 32px rgba(0, 0, 0, 0.15);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", "Manrope", sans-serif;
  line-height: 1.7;
  background-color: var(--secondary-color);
  color: var(--text-color);
}

/* ===== NAVIGATION ===== */
.main-nav {
  background: #0f172a;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 2px 12px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 62px;
}

.nav-logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo img {
  display: block;
  height: 35px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 0.15rem;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  transition:
    color 0.2s,
    background 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.nav-link:hover {
  color: var(--light-text-color);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: var(--accent-color);
  background: rgba(249, 115, 22, 0.12);
}

/* Contact CTA in nav */
a.nav-link.nav-cta {
  background: var(--accent-color);
  color: #fff;
  font-weight: 600;
  margin-left: 0.5rem;
}

a.nav-link.nav-cta:hover {
  background: #ea580c;
  color: #fff;
}

/* Services dropdown */
.nav-group {
  position: relative;
}

.nav-services-btn svg {
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.nav-group:hover .nav-services-btn svg,
.nav-services-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a2e46;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.5rem;
  padding-top: 0.8rem;
  min-width: 220px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  z-index: 200;
  animation: ddFadeIn 0.15s ease;
}

@keyframes ddFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.nav-group:hover .nav-dropdown {
  display: block;
}

/* Pont invisible pour éviter le coupure du hover entre le bouton et le menu */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.87rem;
  font-weight: 500;
  transition:
    background 0.15s,
    color 0.15s;
}

.nav-dropdown-link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-color);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.15s;
}

.nav-dropdown-link:hover,
.nav-dropdown-link.active {
  background: rgba(249, 115, 22, 0.13);
  color: #fff;
}

.nav-dropdown-link:hover::before,
.nav-dropdown-link.active::before {
  opacity: 1;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.85);
  margin: 5px 0;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X quand actif */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(160deg, #0f172a 0%, #1a2e46 100%);
  color: var(--light-text-color);
  padding: 6.5rem 2rem 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 580px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--accent-color);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(249, 115, 22, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(249, 115, 22, 0.04) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 2.5rem;
  max-width: 620px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.bouton-contact {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.bouton-contact.phone-btn {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
}

.bouton-contact.ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--light-text-color);
}

.bouton-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.bouton-contact.phone-btn:hover {
  background: #ea580c;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.5);
}

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

.hero-badges span {
  background: rgba(255, 255, 255, 0.07);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
}

/* ===== PROMISE BAR ===== */
.promise-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 100%;
  margin: 0;
  background: #fff;
  border-bottom: 1px solid #e9eef4;
}

.promise-item {
  text-align: center;
  padding: 1.6rem 1.5rem 1.4rem;
  border-right: 1px solid #e9eef4;
}

.promise-item:last-child {
  border-right: none;
}

.promise-item .promise-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  background: rgba(249, 115, 22, 0.08);
  border-radius: 8px;
  flex-shrink: 0;
}

.promise-item .promise-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-color);
  fill: none;
  stroke-width: 2;
}

.promise-item strong {
  display: block;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.promise-item span {
  color: #64748b;
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  .promise-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .promise-item:nth-child(2) {
    border-right: none;
  }
  .promise-item:nth-child(3),
  .promise-item:nth-child(4) {
    border-top: 1px solid #e9eef4;
  }
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Full-bleed sections (override max-width) */
.services-compact,
.proofs-section,
.gallery-section,
.zone-materiel,
.faq-section,
.stats-section {
  max-width: 100%;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-label {
  display: inline-block;
  color: var(--accent-color);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.7rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-header p {
  color: #64748b;
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ===== SERVICES SECTION (full-bleed with alt bg) ===== */
.services-compact {
  background: #f8fafc;
  padding: 5rem 2rem;
}

.services-compact .section-header,
.services-compact .services-cards {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SERVICES CARDS ===== */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-compact-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 4px 16px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  border: 1px solid #edf2f7;
  border-top: 3px solid var(--accent-color);
  display: flex;
  flex-direction: column;
}

.service-compact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-color);
  fill: none;
  stroke-width: 2;
}

.service-compact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.service-compact-card p {
  color: #64748b;
  margin-bottom: 0.75rem;
  line-height: 1.65;
  font-size: 0.92rem;
}

.service-compact-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-compact-card li {
  padding: 0.25rem 0;
  color: #475569;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-compact-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
  flex-shrink: 0;
  opacity: 0.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: gap 0.2s;
  margin-top: auto;
}

.service-link:hover {
  gap: 0.5rem;
  color: #ea580c;
}

/* ===== PROOFS SECTION ===== */
.proofs-section {
  background: #fff;
  padding: 5rem 2rem;
}

.proofs-section .section-header,
.proofs-section .proofs-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.proofs-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Legacy .proofs-grid (other pages) */
.proofs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 0 auto;
}

.proof-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.055);
  border: 1px solid #edf2f7;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}

.proof-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.proof-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(249, 115, 22, 0.09);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proof-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-color);
  fill: none;
}

.proof-card-body h3 {
  color: var(--primary-color);
  margin-bottom: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.proof-card-body p {
  color: #64748b;
  line-height: 1.65;
  font-size: 0.92rem;
}

/* Legacy proof-card (no icon wrapper) */
.proof-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.proof-card p {
  color: #64748b;
  line-height: 1.65;
  font-size: 0.92rem;
}

/* ===== ZONE MATERIEL (fond clair, cohérent avec le reste du site) ===== */
.zone-materiel {
  background: #f8fafc;
  padding: 5rem 2rem;
  max-width: 100%;
  width: 100%;
  margin: 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.zone-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}

.zone-materiel h2 {
  color: #0f172a;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  padding-top: 0.25rem;
}

.zone-materiel h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--accent-color, #f97316);
  border-radius: 2px;
  margin-bottom: 0.65rem;
}

.zone-materiel p {
  color: #374151;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.zone-materiel .zone-note {
  font-size: 0.87rem;
  color: #64748b;
}

.zone-materiel ul {
  list-style: none;
  padding: 0;
}

.zone-materiel li {
  padding: 0.45rem 0;
  color: #374151;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.zone-materiel li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
  flex-shrink: 0;
}

/* ===== PROCESS ===== */
.process-new {
  background: #fff;
  padding: 5rem 2rem;
}

.process-new .section-header,
.process-new .process-grid {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-grid::after {
  content: "";
  position: absolute;
  top: 23px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-color) 0%,
    rgba(249, 115, 22, 0.15) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.process-card {
  background: transparent;
  border-radius: 0;
  padding: 0 1.5rem 1.5rem;
  box-shadow: none;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
  position: relative;
  z-index: 2;
}

.process-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.process-card p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .process-grid::after {
    display: none;
  }
}

/* ===== GALLERY SECTION (full-bleed alt bg) ===== */
.gallery-section {
  background: #f8fafc;
  padding: 5rem 2rem;
}

.gallery-section .section-header,
.gallery-section .gallery {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  position: relative;
  cursor: zoom-in;
}

.gallery-link {
  display: block;
  position: relative;
  overflow: hidden;
}

/* Overlay loupe au survol */
.gallery-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E")
    center/48px no-repeat;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    background-color 0.3s ease;
  border-radius: 0;
}

.gallery figure:hover .gallery-link::after {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.38);
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery figure:hover img {
  transform: scale(1.06);
}

/* ===== LIGHTBOX ===== */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: zoom-out;
}

#lightbox-img {
  max-width: min(90vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
  cursor: default;
  animation: lb-in 0.22s ease;
}

@keyframes lb-in {
  from {
    opacity: 0;
    transform: scale(0.93);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}

#lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1a2e46 100%);
  color: var(--light-text-color);
  text-align: center;
  padding: 6.5rem 2rem 5rem;
  max-width: 100%;
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 52px, 50% 0, 100% 52px, 100% 100%, 0 100%);
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(249, 115, 22, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.cta-section .bouton-contact {
  background: var(--accent-color);
  color: var(--light-text-color);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
}

.cta-section .bouton-contact:hover {
  background: #ea580c;
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0f172a 100%);
  color: var(--light-text-color);
  padding: 4rem 2rem 2rem;
  border-top: 3px solid var(--accent-color);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-section a {
  text-decoration: none;
  display: block;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-contact-secondary {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.88rem;
}

.footer-contact-secondary:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.footer-contact-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.footer-legal-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  transition:
    color 0.2s,
    background 0.2s;
}

.footer-legal-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.footer-legal-links a + a::before {
  content: "·";
  margin-right: 0.3rem;
  color: rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: #0f172a;
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    /* Ombre portée pour délimiter le menu */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    max-height: calc(100vh - 62px);
    overflow-y: auto;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Dropdown mobile */
  .nav-group {
    width: 100%;
  }

  .nav-group .nav-services-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
  }

  /* Désactiver le hover desktop */
  .nav-group:hover .nav-dropdown {
    display: none;
  }

  .nav-dropdown {
    display: none;
    position: static !important;
    transform: none !important;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    border-radius: 8px;
    box-shadow: none;
    padding: 0.25rem 0.5rem;
    min-width: auto;
    animation: none;
    margin-top: 0.15rem;
  }

  .nav-dropdown.mobile-open {
    display: block !important;
  }

  /* Chevron tourne quand ouvert */
  .nav-services-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
    opacity: 1;
  }

  .nav-link {
    width: 100%;
    padding: 0.65rem 0.85rem;
  }

  .nav-link.nav-cta {
    margin-left: 0;
    text-align: center;
    justify-content: center;
    margin-top: 0.3rem;
  }
}

/* ===== RESPONSIVE 768px (tablettes + mobiles) ===== */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1.5rem 3rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  section {
    padding: 3.5rem 1.25rem;
  }

  .services-compact,
  .proofs-section,
  .gallery-section,
  .zone-materiel,
  .faq-section,
  .stats-section,
  .process-new,
  .cta-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.65rem;
  }

  .section-header p {
    font-size: 0.92rem;
  }

  .services-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .proofs-inner,
  .proofs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .proof-card {
    flex-direction: row;
    gap: 1rem;
  }

  .zone-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .gallery img {
    height: 160px;
  }
}

/* ===== RESPONSIVE 480px (petits mobiles) ===== */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }

  .hero {
    padding: 2.75rem 1.25rem 2.25rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .bouton-contact {
    text-align: center;
    width: 100%;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .services-cards {
    grid-template-columns: 1fr;
  }

  .proofs-inner,
  .proofs-grid {
    grid-template-columns: 1fr;
  }

  .proof-card {
    flex-direction: column;
    gap: 0.75rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .gallery img {
    height: 220px;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-section {
    clip-path: polygon(0 28px, 50% 0, 100% 28px, 100% 100%, 0 100%);
    padding-top: 3.25rem;
  }

  .zone-inner {
    gap: 2rem;
  }

  .contact-form-card,
  .contact-coords {
    padding: 1.5rem 1.25rem;
  }

  .faq-question {
    font-size: 0.88rem;
    padding: 0.9rem 1rem;
  }

  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-legal-links a + a::before {
    display: none;
  }

  .page-intro {
    padding: 2.5rem 1.25rem 2rem;
  }

  .page-content-service {
    padding: 0 0 2rem;
  }

  .breadcrumb {
    padding: 0.6rem 1.25rem;
  }

  .bouton-contact {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }

  .floating-call-btn {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card.scroll-animate,
.advantage-card.scroll-animate {
  transition-delay: calc(var(--card-index, 0) * 0.12s);
}

/* ===== BOUTON APPEL FLOTTANT ===== */
.floating-call-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), #ea580c);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
  z-index: 1000;
  text-decoration: none;
  overflow: hidden;
  transition:
    width 0.35s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.3s ease,
    gap 0.35s ease;
  animation: pulse-call 2.5s infinite;
}
.floating-call-btn:hover {
  width: 200px;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.65);
  animation: none;
  padding-left: 4px;
}
.floating-call-btn svg {
  width: 26px;
  height: 26px;
  fill: white;
  flex-shrink: 0;
}
.floating-call-number {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition:
    opacity 0.25s ease 0.1s,
    max-width 0.35s ease;
  letter-spacing: 0.02em;
}
.floating-call-btn:hover .floating-call-number {
  opacity: 1;
  max-width: 160px;
}
@keyframes pulse-call {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(249, 115, 22, 0.7);
  }
}

/* ===== COMPTEURS ANIMES ===== */
.stats-section {
  text-align: center;
  background: linear-gradient(135deg, #0f172a 0%, #1a2e46 100%);
  padding: 4.5rem 2rem;
  margin: 0;
  max-width: 100%;
  width: 100%;
  position: relative;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(249, 115, 22, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.stats-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  color: #ffffff;
  text-align: center;
  padding: 0 1.5rem;
}

.stat-item + .stat-item {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-label {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .stat-item {
    padding: 1rem;
  }
  .stat-item + .stat-item {
    border-left: none;
  }
  .stat-item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .stat-number {
    font-size: 2.4rem;
  }
}

/* ===== CONTACT HERO ===== */
.contact-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    #1e3a5f 55%,
    #0f172a 100%
  );
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(249, 115, 22, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.contact-hero::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 3%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(249, 115, 22, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.contact-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 1;
}
.contact-hero-text {
  flex: 1;
  min-width: 0;
}
.contact-hero-label {
  display: inline-block;
  color: var(--accent-color);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
.contact-hero-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  border-left: 4px solid var(--accent-color);
}
.contact-hero-text p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
}
.contact-hero-cta {
  padding-left: 1.1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.contact-hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-color);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.contact-hero-phone:hover {
  background: #ea580c;
  transform: translateY(-2px);
}
.contact-hero-or {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}
/* Badges droite */
.contact-hero-badges {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-shrink: 0;
}
.contact-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.75rem 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.contact-badge svg {
  stroke: var(--accent-color);
  flex-shrink: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 4rem 2rem;
  background: #f8fafc;
}
.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}
.contact-form-card,
.contact-coords {
  background: #fff;
  border-radius: 16px;
  padding: 2.2rem 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.contact-card-title {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 1.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-card-title svg {
  stroke: var(--accent-color);
  flex-shrink: 0;
}
/* Form */
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-field {
  margin-bottom: 1.1rem;
}
.contact-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.38rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #1e293b;
  background: #f8fafc;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-sizing: border-box;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
  background: #fff;
}
.contact-field textarea {
  resize: vertical;
}
.contact-submit {
  width: 100%;
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
  margin-top: 0.5rem;
}
.contact-submit:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.45);
}
.contact-success {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.contact-success svg {
  stroke: #16a34a;
  flex-shrink: 0;
}
.contact-error {
  background: #fff1f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
/* RGPD consent */
.contact-rgpd {
  margin-top: 0.25rem;
}
.contact-rgpd-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.5;
}
.contact-rgpd-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--accent-color);
  cursor: pointer;
}
.contact-rgpd-label a {
  color: var(--accent-color);
  text-decoration: underline;
}
/* Coords */
.coords-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.coords-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.coords-icon {
  width: 36px;
  height: 36px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.coords-icon svg {
  stroke: var(--accent-color);
}
.coords-list li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.coords-list strong {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}
.coords-list a,
.coords-list span {
  font-size: 0.95rem;
  color: #1e293b;
  text-decoration: none;
  line-height: 1.5;
}
.coords-list a:hover {
  color: var(--accent-color);
}
.coords-secondary {
  color: #64748b !important;
  font-size: 0.87rem !important;
}
.coords-response {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  color: #c2410c;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 8px;
}
.coords-response svg {
  stroke: var(--accent-color);
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .contact-hero-inner {
    flex-direction: column;
    gap: 2rem;
  }
  .contact-hero-badges {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .contact-badge {
    white-space: normal;
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 880px;
  margin: 0 auto;
}
.legal-content h1 {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.legal-content h2 {
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--accent-color);
}
.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #334155;
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}
.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 0.6rem;
}
.legal-content ul {
  margin: 0 0 1rem 1.5rem;
}
.legal-content a {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover {
  color: #ea580c;
}
.legal-content .date-update {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  font-style: italic;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.87rem;
}
.legal-table th {
  background: #f1f5f9;
  color: #1e293b;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid #e2e8f0;
}
.legal-table td {
  padding: 0.7rem 1rem;
  border: 1px solid #e2e8f0;
  color: #475569;
  vertical-align: top;
}
.legal-table tr:nth-child(even) td {
  background: #f8fafc;
}
@media (max-width: 600px) {
  .legal-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .legal-content h1 {
    font-size: 1.5rem;
  }
  .legal-content h2 {
    font-size: 1.05rem;
  }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: #f8fafc;
  padding: 0.7rem 2rem;
  font-size: 0.82rem;
  color: #64748b;
  border-bottom: 1px solid #edf2f7;
  max-width: 100%;
}
.breadcrumb a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* ===== PAGE INTRO (service pages — bandeau autonome) ===== */
.page-intro {
  background: linear-gradient(160deg, #0f172a 0%, #1a2e46 100%);
  color: var(--light-text-color);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(249, 115, 22, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
}
.page-intro-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-intro-label {
  display: inline-block;
  color: var(--accent-color);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
.page-intro h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}
.page-intro p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto;
}

/* ===== PAGE INTRO dans content-container-service (pages service) ===== */
/* Section d'intro texte légère — le hero dark est déjà au-dessus */
.content-container-service .page-intro {
  background: #fff;
  padding: 3rem 0 0;
  margin: 0;
  width: auto;
  max-width: none;
  border-left: none;
  position: static;
  overflow: visible;
}
.content-container-service .page-intro::before,
.content-container-service .page-intro::after {
  display: none;
}
.content-container-service .page-intro > * {
  position: static;
  z-index: auto;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.content-container-service .page-intro h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 1rem;
  padding: 0 0 0.75rem;
  border-bottom: 3px solid #f97316;
  border-left: none;
}
.content-container-service .page-intro p {
  color: #374151;
  font-size: 1rem;
  line-height: 1.8;
  max-width: none;
  margin: 0 0 1rem;
  padding: 0;
}
.content-container-service .page-intro strong {
  color: #0f172a;
  font-weight: 700;
}
.content-container-service .page-intro em {
  color: #64748b;
}
/* Badges highlights dans l'intro — conserve le style orange de base */
.content-container-service .page-intro .service-highlights {
  padding: 0;
  margin-top: 1.25rem;
}
/* (pas d'override sur .highlight — style orange de base bien adapté au fond blanc) */

/* ===== PAGE CONTENT SERVICE ===== */
.page-content-service {
  padding: 0 0 4rem;
  background: #fff;
  overflow: hidden;
}
.content-container-service {
  max-width: 860px;
  margin: 0 auto;
  color: #374151;
  line-height: 1.8;
  padding: 0 2rem;
}
.content-container-service h1,
.content-container-service h2 {
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.content-container-service h2 {
  font-size: 1.3rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--accent-color);
}
.content-container-service h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.content-container-service p {
  margin-bottom: 1rem;
}
.content-container-service ul,
.content-container-service ol {
  margin: 0 0 1rem 1.5rem;
}
.content-container-service li {
  margin-bottom: 0.4rem;
}
.content-container-service strong {
  color: var(--primary-color);
}
.content-container-service a {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Images libres dans le contenu WP : max-width pour éviter les plein-écran */
.content-container-service img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0.5rem 0;
}

/* ===== GALLERY-GRID (galerie sur pages service, contenu WP) ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.gallery-grid figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  position: relative;
  cursor: zoom-in;
  background: #f1f5f9;
  display: flex;
  flex-direction: column;
}

.gallery-grid .gallery-link {
  display: block;
  position: relative;
  overflow: hidden;
}

/* Icône loupe au survol */
.gallery-grid .gallery-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E")
    center/48px no-repeat;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    background-color 0.3s ease;
}

.gallery-grid figure:hover .gallery-link::after {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.38);
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center;
  background: #f1f5f9;
  display: block;
  padding: 0.5rem;
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.gallery-grid figure:hover img {
  transform: scale(1.03);
}

.gallery-grid figcaption {
  padding: 0.45rem 0.75rem 0.55rem;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.35;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  flex: 1;
}

/* ===== PAGE ABOUT — styles des sections WP ===== */

/* Section wrapper (titre h3 + contenu) */
.content-container-service .services-list {
  margin-top: 2.5rem;
}
.content-container-service .services-list > h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #e2e8f0;
}

/* Badges highlights (30 ans expérience, zone 100km…) */
.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.highlight {
  display: inline-block;
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent-color);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-color), #e2e8f0);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.645rem;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-color);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--accent-color);
  flex-shrink: 0;
}
.timeline-date {
  min-width: 90px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 0.15rem;
}
.timeline-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}
.timeline-content p {
  font-size: 0.93rem;
  color: #555;
  margin-bottom: 0;
}

/* Cartes service (équipe, matériel, engagements) */
.content-container-service .services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 0.75rem;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  border: 1px solid #edf2f7;
  border-top: 3px solid var(--accent-color);
}
.service-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0;
  line-height: 1.65;
}
/* Variante "engagements" */
.commitment-card {
  border-top-color: #0ea5e9;
}
.commitment-card h4::before {
  content: "✓ ";
  color: #0ea5e9;
}

/* ===== GOOGLE MAPS SECTION ===== */
.google-maps-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.maps-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.maps-container h3 {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}
.maps-address {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.maps-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  margin-bottom: 2rem;
}
.maps-wrapper iframe {
  display: block;
}
.maps-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.maps-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #555;
}
.maps-icon {
  display: flex;
  align-items: center;
  color: var(--accent-color);
}
.maps-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-color);
}
.maps-info-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}
.maps-info-item a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .google-maps-section {
    padding: 2rem 1rem;
  }
  .maps-container h3 {
    font-size: 1.5rem;
  }
  .maps-info {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 5rem 2rem;
  background: #ffffff;
}
.faq-container {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #e8eef6;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.faq-item[open] {
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.08);
}
.faq-question {
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--primary-color);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent-color);
  transition: transform 0.25s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-question:hover {
  background: #f8fafc;
}
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: #64748b;
  line-height: 1.75;
  font-size: 0.95rem;
}
.faq-answer p {
  margin: 0;
}
@media (max-width: 768px) {
  .faq-section {
    padding: 4rem 1.25rem;
  }
  .faq-question {
    font-size: 0.92rem;
    padding: 1rem 1.25rem;
  }
  .faq-answer {
    padding: 0 1.25rem 1.25rem;
  }
}

/* ============================================================
   PAGE RÉALISATIONS
   ============================================================ */

/* Breadcrumb */
.breadcrumb {
  background: #f1f5f9;
  padding: 0.6rem 2rem;
  font-size: 0.82rem;
  color: #64748b;
}
.breadcrumb a {
  color: #64748b;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--accent-color, #f97316);
}

/* Hero réalisations */
.realisations-hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 5rem 2rem 4rem;
  border-bottom: 4px solid var(--accent-color, #f97316);
}
.realisations-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.realisations-hero-text {
  flex: 1;
  min-width: 260px;
}
.realisations-hero-label {
  display: inline-block;
  background: var(--accent-color, #f97316);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.realisations-hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.1;
}
.realisations-hero-text p {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 520px;
  margin: 0;
  line-height: 1.7;
}
.realisations-hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.realisation-stat {
  text-align: center;
  padding: 1.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}
.realisation-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-color, #f97316);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.realisation-stat span {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- Section galerie ---- */
.realisations-gallery-section {
  padding: 3.5rem 2rem 5rem;
  background: #f8fafc;
}
.realisations-gallery-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

/* ---- Filtres ---- */
.real-filters {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.35rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.real-filter {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s;
  white-space: nowrap;
}
.real-filter:hover {
  background: #f8fafc;
  color: #1e293b;
}
.real-filter.active {
  background: var(--accent-color, #f97316);
  color: #fff;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35);
}
.real-filter.active .real-filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.real-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  line-height: 1;
  transition:
    background 0.18s,
    color 0.18s;
}

/* Compteur de résultats */
.real-count {
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0 0 2rem;
  letter-spacing: 0.04em;
}

/* ---- Grille miniatures ---- */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Card réalisation */
.real-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #1e293b;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.25s;
}
.real-item--hidden {
  display: none;
}
.real-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transform: translateY(-3px);
}

/* Bouton miniature – ratio paysage 16/9 (moins de zoom sur photos chantier) */
.real-thumb-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.real-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition:
    transform 0.35s ease,
    opacity 0.3s;
}
.real-item:hover .real-thumb-btn img {
  transform: scale(1.04);
}

/* Overlay loupe au survol */
.real-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    background 0.25s ease;
  z-index: 2;
}
.real-item:hover .real-thumb-overlay {
  opacity: 1;
  background: rgba(15, 23, 42, 0.42);
}
.real-thumb-overlay svg {
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
}

/* Légende en overlay sur fond dégradé (bas de l'image) */
.real-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 1.8rem 0.75rem 0.6rem;
  font-size: 0.78rem;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.3;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0) 100%
  );
  pointer-events: none;
}
.real-tag {
  display: inline-block;
  background: var(--accent-color, #f97316);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- LIGHTBOX RÉALISATIONS ---- */
#real-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
#real-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 22, 0.93);
  cursor: zoom-out;
}
#real-lb-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(88vw, 1100px);
  max-height: 92vh;
}
#real-lb-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.25s ease;
  display: block;
}
#real-lb-caption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  backdrop-filter: blur(6px);
}
#real-lb-tag {
  background: var(--accent-color, #f97316);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  flex-shrink: 0;
}
#real-lb-legend {
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 500;
}
#real-lb-counter {
  color: #64748b;
  font-size: 0.78rem;
  margin-left: auto;
  white-space: nowrap;
}
#real-lb-close {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
  line-height: 1;
}
#real-lb-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
#real-lb-prev,
#real-lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 2.2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition:
    background 0.2s,
    transform 0.2s;
  backdrop-filter: blur(4px);
}
#real-lb-prev {
  left: 1.25rem;
}
#real-lb-next {
  right: 1.25rem;
}
#real-lb-prev:hover {
  background: rgba(249, 115, 22, 0.7);
  transform: translateY(-50%) scale(1.07);
}
#real-lb-next:hover {
  background: rgba(249, 115, 22, 0.7);
  transform: translateY(-50%) scale(1.07);
}

/* Bouton ghost CTA */
.bouton-contact.ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.bouton-contact.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Nav active */
.nav-link.active {
  color: var(--accent-color, #f97316) !important;
}
/* Exception : le bouton CTA contact garde son texte blanc même actif */
a.nav-link.nav-cta.active {
  color: #fff !important;
  background: var(--accent-color);
}

/* ---- Responsive galerie réalisations ---- */
@media (max-width: 1024px) {
  .realisations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .realisations-hero {
    padding: 3.5rem 1.25rem 3rem;
  }
  .realisations-hero-inner {
    flex-direction: column;
    gap: 2rem;
  }
  .realisations-hero-stats {
    width: 100%;
    justify-content: center;
    gap: 1rem;
  }
  .realisation-stat {
    padding: 1rem 1.25rem;
  }
  .realisations-gallery-section {
    padding: 2rem 0.75rem 3rem;
  }
  .realisations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .real-filters {
    padding: 0.25rem;
    gap: 0.15rem;
    border-radius: 10px;
  }
  .real-filter {
    font-size: 0.75rem;
    padding: 0.45rem 0.7rem;
  }
  #real-lb-prev {
    left: 0.5rem;
  }
  #real-lb-next {
    right: 0.5rem;
  }
}
@media (max-width: 480px) {
  .realisations-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ===== GALERIE SERVICE (photos chantier sur pages service) ===== */
.service-gallery-section {
  background: #f8fafc;
  padding: 3rem 2rem 4rem;
}
.service-gallery-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.service-gallery-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.75rem;
}
.service-gallery-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--accent-color, #f97316);
  border-radius: 2px;
}
.service-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) {
  .service-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}
@media (max-width: 480px) {
  .service-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Lightbox partagée (même style que #real-lightbox) */
#srv-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
#srv-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 28, 0.92);
}
#srv-lb-content {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1000px);
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
#srv-lb-img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: 8px;
  display: block;
  transition: opacity 0.2s;
}
#srv-lb-caption {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  color: #e2e8f0;
  font-size: 0.85rem;
}
#srv-lb-counter {
  color: #94a3b8;
  font-size: 0.78rem;
}
#srv-lb-close,
#srv-lb-prev,
#srv-lb-next {
  position: fixed;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  transition: background 0.2s;
  line-height: 1;
}
#srv-lb-close {
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
#srv-lb-prev,
#srv-lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
#srv-lb-prev { left: 1.5rem; }
#srv-lb-next { right: 1.5rem; }
#srv-lb-close:hover,
#srv-lb-prev:hover,
#srv-lb-next:hover { background: rgba(255,255,255,0.25); }

/* ===== SERVICE HERO (H1 + localisation) ===== */
.service-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1a2744 100%);
  padding: 3.5rem 1.5rem 3rem;
  border-bottom: 3px solid var(--accent-color);
}
.service-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}
.service-hero .breadcrumb,
.contact-hero .breadcrumb {
  background: transparent;
  border-bottom: none;
  padding: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.1rem;
}
.service-hero .breadcrumb a,
.contact-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.service-hero .breadcrumb a:hover,
.contact-hero .breadcrumb a:hover {
  color: #f97316;
}
.service-hero h1 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.25;
  margin: 0 0 0.6rem;
}
.service-hero-sub {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 1.6rem;
}
.service-hero-sub strong {
  color: #f97316;
  font-weight: 600;
}
.service-hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
@media (max-width: 540px) {
  .service-hero {
    padding: 2.5rem 1rem 2rem;
  }
  .service-hero h1 {
    font-size: 1.35rem;
  }
}

/* ===== PAGE H1 WRAPPER (about, mentions, etc.) ===== */
.page-h1-wrapper {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 2.5rem 1.5rem 2rem;
  border-bottom: 2px solid rgba(249, 115, 22, 0.2);
}
.page-h1 {
  max-width: 860px;
  margin: 0 auto 0.5rem;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
}
.page-h1-sub {
  max-width: 860px;
  margin: 0 auto;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
}
.page-h1-sub strong {
  color: #f97316;
}
@media (max-width: 540px) {
  .page-h1-wrapper {
    padding: 2rem 1rem 1.5rem;
  }
}

/* ===== SECTIONS CONTENU SERVICE (enrichissement SEO — fond blanc) ===== */

/* Conteneur de section après page-intro */
.services-list {
  padding: 3rem 0 1.5rem;
}

/* Titres H3 communs aux sections contenu */
.services-list > h3,
.zone-intervention-service > h3,
.faq-service > h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.services-list > h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: #f97316;
  margin-top: 0.45rem;
  border-radius: 2px;
}

/* Grille de cards services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.2rem;
  margin-top: 1.25rem;
}
.service-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #f97316;
  border-radius: 10px;
  padding: 1.5rem 1.4rem;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.service-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.service-item h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.6rem;
  line-height: 1.35;
}
.service-item p {
  font-size: 0.87rem;
  color: #64748b;
  margin: 0;
  line-height: 1.7;
}
.service-item a {
  color: #f97316;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Zone d'intervention */
.zone-intervention-service {
  margin-top: 2.5rem;
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  background: #fffaf5;
  border-left: 4px solid #f97316;
  border-radius: 0 10px 10px 0;
}
.zone-intervention-service > p {
  font-size: 0.92rem;
  color: #374151;
  margin: 0.25rem 0 0.75rem;
}
.zone-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}
.zone-list li {
  font-size: 0.88rem;
  color: #374151;
  padding: 0.45rem 0 0.45rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  line-height: 1.5;
}
.zone-list li:last-child {
  border-bottom: none;
}
.zone-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: #f97316;
  border-radius: 50%;
}
.zone-list li strong {
  color: #1e293b;
  font-weight: 600;
}

/* FAQ service */
.faq-service {
  margin-top: 2.5rem;
}
.faq-service > h3 {
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #f97316;
}

/* Liens services — bandeau dark en bas */
.links-services {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem 1.75rem;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--accent-color, #f97316);
}
.links-services h3 {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.links-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.links-services li a {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 20px;
  font-size: 0.83rem;
  color: #ea580c;
  text-decoration: none;
  background: #fff;
  transition: all 0.2s;
}
.links-services li a:hover {
  background: #f97316;
  color: #fff;
  border-color: #f97316;
}
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SÉPARATEURS DÉCORATIFS ===== */

/* --- Accueil : entre chaque section --- */
main > section + section {
  position: relative;
  border-top: 1px solid #e2e8f0;
}
main > section + section::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: #fff;
  border: 2px solid var(--accent-color, #f97316);
  z-index: 2;
}
/* La promise-bar suit directement le hero qui a déjà un border-bottom orange : pas de doublon */
.promise-bar {
  border-top: none;
}
.promise-bar::before {
  display: none;
}

/* --- Pages internes : entre sous-sections de contenu --- */
.content-container-service section + section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e2e8f0;
  position: relative;
}
.content-container-service section + section::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: #fff;
  border: 2px solid var(--accent-color, #f97316);
  z-index: 2;
}

/* Barre orange courte au-dessus de chaque h3 de section */
.content-container-service section > h3 {
  position: relative;
  padding-top: 0.25rem;
}
.content-container-service section > h3::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--accent-color, #f97316);
  border-radius: 2px;
  margin-bottom: 0.65rem;
}

/* Séparateurs dans la galerie réalisations — entre filtres et grille */
.realisations-gallery-wrap .gallery-filters + .realisations-grid {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  position: relative;
}
.realisations-gallery-wrap .gallery-filters + .realisations-grid::before {
  content: "◆";
  position: absolute;
  top: -0.6em;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-color, #f97316);
  background: #f8fafc;
  padding: 0 0.75rem;
  font-size: 0.6rem;
  line-height: 1;
}

/* Séparateur avant la section zone + FAQ sur la page contact */
.contact-section + section {
  position: relative;
}
.contact-coords-extra {
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
  margin-top: 2rem;
  position: relative;
}
.contact-coords-extra::before {
  content: "◆";
  position: absolute;
  top: -0.6em;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-color, #f97316);
  background: #f8fafc;
  padding: 0 0.75rem;
  font-size: 0.6rem;
  line-height: 1;
}

/* Responsive : réduire les marges sur mobile */
@media (max-width: 640px) {
  .content-container-service section + section {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
  }
}
