/* ============================================
   V.E. S.à r.l. — Design System v2
   Direction : Precision Electricity
   Couleurs brand + énergie électrique
============================================ */

:root {
  /* Brand */
  --navy:    #0C1B3A;
  --navy-2:  #12234F;
  --blue:    #1A6FC4;
  --blue-lt: #2B80D5;
  --green:   #4DB526;
  --green-dk:#3A9019;
  --white:   #FFFFFF;
  --surface: #F4F7FB;
  --surface2:#EEF3FA;
  --text:    #1E2535;
  --muted:   #6B7280;
  --border:  #DDE4F0;

  /* Glows */
  --glow-green: 0 0 32px rgba(77,181,38,.45);
  --glow-blue:  0 0 24px rgba(26,111,196,.35);

  /* Fonts */
  --font-h: 'Poppins', sans-serif;
  --font-b: 'Inter', sans-serif;

  /* Radii */
  --r-sm:  8px;
  --r-md: 14px;
  --r-lg: 20px;

  /* Shadows */
  --sh-sm: 0 2px 8px rgba(12,27,58,.07);
  --sh-md: 0 6px 24px rgba(12,27,58,.12);
  --sh-lg: 0 16px 48px rgba(12,27,58,.18);

  /* Transitions */
  --t:  220ms cubic-bezier(.4,0,.2,1);
  --ts: 380ms cubic-bezier(.4,0,.2,1);
}

/* ============================================
   BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-b); color: var(--text); background: var(--white); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }
input, select, textarea { font-family: inherit; }

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 5.5vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 700; color: var(--navy-2); }
h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy-2); }
h4 { font-size: .9375rem; font-weight: 700; color: var(--navy-2); }
p  { line-height: 1.7; }

.display-xl { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }

/* Section label with green bar */
.label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.label::before {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  flex-shrink: 0;
}
.label--white { color: rgba(255,255,255,.6); }
.label--white::before { background: var(--green); }

/* ============================================
   LAYOUT
============================================ */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }
@media (min-width: 768px)  { .container { padding: 0 44px; } }
@media (min-width: 1024px) { .container { padding: 0 64px; } }

.section-py { padding: 96px 0; }
@media (max-width: 767px) { .section-py { padding: 64px 0; } }

.section-header { margin-bottom: 60px; }
.section-header .lead { font-size: 1.0625rem; color: var(--muted); max-width: 540px; margin-top: 14px; line-height: 1.75; }

/* ============================================
   SKIP LINK
============================================ */
.skip-link { position: absolute; left: -9999px; top: 0; padding: 8px 16px; background: var(--blue); color: #fff; font-weight: 600; z-index: 9999; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }

/* ============================================
   NAVIGATION
============================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.site-nav.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(12,27,58,.06);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }

/* ══════════════════════════════════════════════════
   NAV — Logo SVG inline, couleurs adaptatives
   ══════════════════════════════════════════════════ */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo svg { display: block; height: 60px; width: auto; transition: transform var(--t); }
.nav-logo:hover svg { transform: scale(1.025); }

/* Fills adaptatifs pour les SVG inlinés (nav + footer) */
.logo-fill     { fill: var(--navy-2); transition: fill var(--t); }
.logo-fill-sub { fill: var(--muted);  transition: fill var(--t); }

/* Fond sombre (hero non-scrollé) → texte blanc */
.site-nav:not(.scrolled) .logo-fill     { fill: #fff; }
.site-nav:not(.scrolled) .logo-fill-sub { fill: rgba(255,255,255,.55); }

/* Logo complet sur fond clair (page À propos) */
.logo-full-about { height: 64px; width: auto; margin-bottom: 20px; display: block; }

/* When nav is NOT scrolled (on dark hero) */
.site-nav:not(.scrolled) .nav-link  { color: rgba(255,255,255,.75); }
.site-nav:not(.scrolled) .nav-link:hover { color: #fff; }
.site-nav:not(.scrolled) .hamburger span { background: #fff; }

@media (max-width: 480px) {
  .nav-inner { height: 72px; }
  .nav-logo svg { height: 42px; }
  .mobile-menu { top: 72px; }
}

.nav-links { display: none; align-items: center; gap: 32px; }
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link {
  font-size: .875rem; font-weight: 500; color: var(--text);
  position: relative; padding-bottom: 3px;
  white-space: nowrap;
  transition: color var(--t);
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: width var(--t);
}
.nav-link:hover { color: var(--navy-2); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--navy-2); font-weight: 600; }

.nav-cta { display: none; }
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }

.hamburger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; padding: 10px; -webkit-tap-highlight-color: transparent; }
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--navy-2); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; position: fixed; top: 84px; left: 0; right: 0; bottom: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 20px; z-index: 999; box-shadow: var(--sh-lg); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-menu.open { display: block; }
body.menu-open { overflow: hidden; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.mobile-nav-link { display: block; padding: 12px 16px; font-size: 1rem; font-weight: 500; color: var(--text); border-radius: var(--r-sm); transition: background var(--t), color var(--t); }
.mobile-nav-link:hover { background: var(--surface); color: var(--navy-2); }

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-h); font-size: .9375rem; font-weight: 600;
  border-radius: var(--r-sm); border: 2px solid transparent;
  cursor: pointer; white-space: nowrap; min-height: 48px; line-height: 1;
  transition: background var(--t), border-color var(--t), box-shadow var(--t), color var(--t), transform var(--t);
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: #145fa8; border-color: #145fa8; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,111,196,.45); }
.btn-primary:active { transform: none; box-shadow: none; }

.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-dk); border-color: var(--green-dk); transform: translateY(-2px); box-shadow: var(--glow-green); }

.btn-white-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-white-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn-outline-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }

.btn-full { width: 100%; justify-content: center; }

/* Pulsing CTA animation */
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 6px 20px rgba(26,111,196,.4); }
  50%       { box-shadow: 0 6px 32px rgba(26,111,196,.7), 0 0 0 6px rgba(26,111,196,.12); }
}
.btn-pulse { animation: pulse-cta 2.4s ease-in-out infinite; }

/* ============================================
   BADGES & TAGS
============================================ */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 100px; font-size: .8125rem; font-weight: 600; }
.badge-green { background: var(--green); color: #fff; }
.badge-blue  { background: rgba(26,111,196,.1); color: var(--blue); border: 1px solid rgba(26,111,196,.2); }
.badge-white { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.badge-outline { background: transparent; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.25); }

.tag { display: inline-block; padding: 3px 10px; background: rgba(77,181,38,.1); color: #2d8015; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 100px; border: 1px solid rgba(77,181,38,.2); }

/* ============================================
   HERO — ELECTRIC
============================================ */
.hero-electric {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center;
  background: linear-gradient(150deg, #07111F 0%, #0C1B3A 45%, #0F2250 100%);
  overflow: hidden;
}

/* Dot grid overlay */
.hero-electric::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(26,111,196,.22) 1.5px, transparent 1.5px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 40% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 40% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

/* Diagonal bottom edge */
.hero-electric::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* Large decorative watermark */
.hero-wm {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-h);
  font-size: 32vw;
  font-weight: 900;
  color: rgba(255,255,255,.025);
  line-height: .85;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.05em;
}

/* Electric pulse ring */
@keyframes ring-pulse {
  0%   { transform: scale(1);    opacity: .5; }
  100% { transform: scale(2.5);  opacity: 0; }
}
.hero-ring {
  position: absolute;
  top: 50%; right: 18%;
  transform: translate(50%, -50%);
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(26,111,196,.2);
  pointer-events: none;
}
.hero-ring::before,
.hero-ring::after {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  border: 1px solid rgba(77,181,38,.12);
  animation: ring-pulse 3.5s ease-out infinite;
}
.hero-ring::after { animation-delay: 1.75s; }

/* Floating cert card (desktop only) */
.hero-cert {
  position: absolute;
  z-index: 3;
  right: 64px; bottom: 100px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  display: flex; flex-direction: column; gap: 10px;
}
@media (max-width: 1023px) { .hero-cert { display: none; } }

.hero-cert__item { display: flex; align-items: center; gap: 10px; }
.hero-cert__dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; flex-shrink: 0; box-shadow: var(--glow-green); }
.hero-cert__text { font-size: .8125rem; font-weight: 600; color: rgba(255,255,255,.85); white-space: nowrap; }

/* Hero content */
.hero-content { position: relative; z-index: 2; padding: 100px 0 120px; }

.hero-h1 { color: #fff; margin-bottom: 6px; font-size: clamp(1.875rem, 4.4vw, 3.4rem); }
.hero-h1 span { color: var(--green); text-shadow: 0 0 40px rgba(77,181,38,.5); }

.hero-location { font-family: var(--font-h); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 300; color: rgba(255,255,255,.45); margin-bottom: 28px; letter-spacing: .02em; }

.hero-sub { font-size: 1.0625rem; color: rgba(255,255,255,.6); max-width: 520px; margin-bottom: 44px; line-height: 1.75; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }

/* Services quick-list */
.hero-services {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 10px 28px;
  margin-bottom: 40px;
}
.hero-srv {
  display: flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 500;
  color: rgba(255,255,255,.45);
  white-space: nowrap;
  transition: color var(--t);
}
.hero-srv:hover { color: rgba(255,255,255,.85); }
.hero-srv svg { color: var(--green); flex-shrink: 0; }
@media (max-width: 480px) { .hero-services { grid-template-columns: repeat(2, auto); } }

/* Stats row */
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat__val { font-family: var(--font-h); font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; }
.hero-stat__val span { color: var(--green); }
.hero-stat__lbl { font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* ============================================
   HERO — COMPACT (inner pages)
============================================ */
.hero-compact {
  padding: 128px 0 80px;
  background: linear-gradient(150deg, #07111F 0%, #0C1B3A 60%, #0F2250 100%);
  position: relative; overflow: hidden;
}
.hero-compact::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(26,111,196,.18) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at 30% 60%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 60%, black 20%, transparent 75%);
  pointer-events: none;
}
.hero-compact::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px; background: var(--white); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.hero-compact__content { position: relative; z-index: 2; }
.hero-compact h1 { color: #fff; margin: 12px 0 16px; }
.hero-compact p  { color: rgba(255,255,255,.6); max-width: 560px; font-size: 1.0625rem; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: rgba(255,255,255,.4); }
.breadcrumb a { color: rgba(255,255,255,.4); transition: color var(--t); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span:last-child { color: rgba(255,255,255,.8); }
.breadcrumb-sep { color: rgba(255,255,255,.25); }

/* ============================================
   MARQUEE / TICKER
============================================ */
.marquee-strip {
  background: var(--navy-2);
  border-top: 3px solid var(--green);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.marquee-strip::before,
.marquee-strip::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 2;
  pointer-events: none;
}
.marquee-strip::before { left: 0;  background: linear-gradient(to right, var(--navy-2), transparent); }
.marquee-strip::after  { right: 0; background: linear-gradient(to left,  var(--navy-2), transparent); }

.marquee-inner { padding: 26px 0; }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 36s linear infinite; }
@media (max-width: 767px) { .marquee-track { animation-duration: 26s; gap: 44px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; white-space: nowrap; }
.marquee-logo {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) opacity(.85);
  transition: filter var(--t);
}
.marquee-logo:hover {
  filter: brightness(0) invert(1) opacity(1) drop-shadow(0 0 8px rgba(77,181,38,.5));
}

/* ============================================
   SERVICE CARDS — V3 (dark header + light body)
============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* Per-card accent via inherited CSS custom props */
.sc--blue   { --sc-accent: #1A6FC4; --sc-glow: rgba(26,111,196,.42);  }
.sc--green  { --sc-accent: #4DB526; --sc-glow: rgba(77,181,38,.42);   }
.sc--indigo { --sc-accent: #6366F1; --sc-glow: rgba(99,102,241,.42);  }
.sc--amber  { --sc-accent: #F59E0B; --sc-glow: rgba(245,158,11,.42);  }
.sc--teal   { --sc-accent: #0D9488; --sc-glow: rgba(13,148,136,.42);  }
.sc--gold   { --sc-accent: #CA9A04; --sc-glow: rgba(202,154,4,.42);   }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--ts), box-shadow var(--ts), border-color var(--ts);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg), 0 0 0 2px var(--sc-accent, var(--green));
  border-color: var(--sc-accent, var(--green));
}

/* ── Dark illustrated header ── */
.service-card__visual {
  height: 210px;
  position: relative; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #07111F 0%, #0C1B3A 55%, #0F2250 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
/* Colored accent line at top */
.service-card__visual::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sc-accent, var(--blue)) 0%, transparent 100%);
  z-index: 2;
}
/* Accent glow from top + dot grid layered */
.service-card__visual::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 130% 70% at 50% -10%, var(--sc-glow, rgba(26,111,196,.35)) 0%, transparent 65%),
    radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  pointer-events: none;
}

/* Big service number watermark */
.service-card__num {
  position: absolute;
  bottom: -12px; right: 10px;
  font-family: var(--font-h);
  font-size: 7.5rem; font-weight: 900;
  color: rgba(255,255,255,.045);
  line-height: 1;
  pointer-events: none; user-select: none; z-index: 0;
  letter-spacing: -.04em;
}

/* Icon circle with glow */
.service-card__icon {
  position: relative; z-index: 1;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1.5px solid var(--sc-glow, rgba(26,111,196,.4));
  display: flex; align-items: center; justify-content: center;
  color: var(--sc-accent, var(--blue));
  box-shadow: 0 0 32px var(--sc-glow, rgba(26,111,196,.25)), inset 0 1px 0 rgba(255,255,255,.08);
  transition: box-shadow var(--t), transform var(--t);
}
.service-card:hover .service-card__icon {
  box-shadow: 0 0 56px var(--sc-glow, rgba(26,111,196,.55));
  transform: scale(1.08);
}

/* ── Light body ── */
.service-card__body {
  padding: 22px 26px 20px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}

.service-card__title { font-size: 1.0625rem; font-weight: 700; color: var(--navy-2); line-height: 1.35; }
.service-card__desc  { font-size: .875rem; color: var(--muted); line-height: 1.72; flex: 1; }

.service-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--border);
}
.service-card__link {
  display: flex; align-items: center; gap: 4px;
  font-size: .8125rem; font-weight: 700;
  color: var(--sc-accent, var(--blue));
  transition: gap var(--t);
}
.service-card__link:hover { gap: 8px; }

/* ============================================
   USP — DARK GLASS
============================================ */
.usp-dark { background: linear-gradient(150deg, #07111F 0%, #0C1B3A 60%, #0F2250 100%); position: relative; overflow: hidden; }
.usp-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(26,111,196,.15) 1.5px, transparent 1.5px);
  background-size: 44px 44px;
  pointer-events: none;
}

.usp-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .usp-grid { grid-template-columns: repeat(3, 1fr); } }

.usp-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background var(--ts), border-color var(--ts), transform var(--ts);
}
.usp-item:hover { background: rgba(255,255,255,.08); border-color: rgba(77,181,38,.3); transform: translateY(-4px); }

.usp-item__icon-wrap {
  width: 54px; height: 54px;
  background: rgba(77,181,38,.15);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.usp-item__num { font-family: var(--font-h); font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.usp-item__title { font-size: 1.1875rem; font-weight: 700; color: #fff; }
.usp-item__text  { font-size: .9375rem; color: rgba(255,255,255,.55); line-height: 1.75; }

/* ============================================
   REVIEWS — PREMIUM
============================================ */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--ts), box-shadow var(--ts);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

/* Large decorative quote mark */
.review-card::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 18px;
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  color: var(--blue);
  opacity: .08;
  pointer-events: none;
}

.review-stars { display: flex; gap: 3px; color: #F59E0B; }
.review-quote { font-size: .9375rem; color: var(--text); font-style: italic; line-height: 1.7; flex: 1; position: relative; z-index: 1; }
.review-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.review-avatar { width: 42px; height: 42px; background: linear-gradient(135deg, var(--blue), #2B80D5); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-h); font-size: .8125rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.review-name   { font-size: .875rem; font-weight: 700; color: var(--navy-2); }
.review-source { font-size: .75rem; color: var(--muted); }

/* ============================================
   RÉALISATIONS GRID
============================================ */
.realisations-grid { column-count: 1; column-gap: 16px; }
@media (min-width: 640px) { .realisations-grid { column-count: 2; } }
@media (min-width: 1024px) { .realisations-grid { column-count: 3; } }

.realisation-card { position: relative; display: block; break-inside: avoid; margin-bottom: 16px; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); cursor: pointer; }

.realisation-card img { display: block; width: 100%; height: auto; transition: transform 600ms ease; }
.realisation-card:hover img { transform: scale(1.06); }
.realisation-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,17,31,.88) 0%, rgba(7,17,31,.2) 55%, transparent 100%); }
.realisation-card__body { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px; }
.realisation-card__cat { display: inline-block; margin-bottom: 8px; padding: 3px 10px; background: rgba(26,111,196,.85); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 100px; }
.realisation-card__title { font-family: var(--font-h); font-size: 1.0625rem; font-weight: 700; color: #fff; line-height: 1.35; }
.realisation-card--feat .realisation-card__title { font-size: 1.375rem; }
.realisation-card__loc { display: flex; align-items: center; gap: 4px; margin-top: 6px; color: rgba(255,255,255,.5); font-size: .75rem; }

/* ---- Filtres réalisations ---- */
.real-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.real-filter-btn { padding: 8px 20px; border-radius: 100px; border: 1.5px solid var(--border); background: transparent; color: var(--muted); font-family: var(--font-h); font-size: .8125rem; font-weight: 600; cursor: pointer; transition: background var(--t), border-color var(--t), color var(--t); white-space: nowrap; }
.real-filter-btn:hover { background: var(--surface2); border-color: var(--text); color: var(--text); }
.real-filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---- Cards — multi-badges & couleurs catégories ---- */
.realisation-card__cats { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.realisation-card__cat { display: inline-block; padding: 3px 10px; background: rgba(26,111,196,.85); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 100px; }
.realisation-card__cat--irve      { background: rgba(77,181,38,.85); }
.realisation-card__cat--solaire   { background: rgba(234,160,0,.9); color: #0D0D0D; }
.realisation-card__cat--domotique { background: rgba(99,102,241,.85); }
.realisation-card__cat--securite  { background: rgba(220,38,38,.85); }
.realisation-card__detail { font-size: .8125rem; color: rgba(255,255,255,.6); margin-top: 4px; margin-bottom: 6px; line-height: 1.5; }
.realisation-card.is-hidden { display: none; }

/* ============================================
   CONTACT STRIP — ELECTRIC
============================================ */
.contact-strip {
  background: linear-gradient(150deg, #07111F 0%, #0C1B3A 100%);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
/* Circuit-like decoration */
.contact-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,111,196,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,111,196,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.contact-strip__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 768px) { .contact-strip__inner { grid-template-columns: 1fr 1fr; gap: 80px; } }

.contact-strip__title { color: #fff; margin-bottom: 10px; }
.contact-strip__sub   { color: rgba(255,255,255,.55); margin-bottom: 28px; font-size: 1.0625rem; }
.contact-strip__badges { display: flex; flex-wrap: wrap; gap: 8px; }

/* Phone number glow */
.phone-electric {
  font-family: var(--font-h);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -.03em;
  text-shadow: 0 0 40px rgba(77,181,38,.4);
}
.phone-electric a { color: inherit; transition: text-shadow var(--t); }
.phone-electric a:hover { text-shadow: 0 0 60px rgba(77,181,38,.7); }

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: #07111F;
  color: rgba(255,255,255,.5);
  padding: 72px 0 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,111,196,.4), rgba(77,181,38,.4), transparent);
}

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.07); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }

.footer-logo { margin-bottom: 16px; }
.footer-logo svg { display: block; height: 100px; width: auto; }
.footer-logo .logo-fill     { fill: #fff; }
.footer-logo .logo-fill-sub { fill: rgba(255,255,255,.45); }
.footer-brand-desc { font-size: .9375rem; line-height: 1.75; max-width: 360px; margin-bottom: 20px; }
.footer-rcs { font-size: .75rem; color: rgba(255,255,255,.25); margin-bottom: 16px; }
.footer-certs { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-cert { font-size: .6875rem; font-weight: 600; letter-spacing: .04em; padding: 4px 12px; background: rgba(26,111,196,.15); color: rgba(255,255,255,.6); border-radius: 100px; border: 1px solid rgba(26,111,196,.25); }

.footer-col-title { font-family: var(--font-h); font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: .875rem; color: rgba(255,255,255,.45); transition: color var(--t); }
.footer-link:hover { color: #fff; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact-item svg { flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.footer-contact-item p { font-size: .875rem; line-height: 1.6; }
.footer-contact-item a { color: rgba(255,255,255,.45); transition: color var(--t); }
.footer-contact-item a:hover { color: #fff; }

.footer-bottom { padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.footer-copy { font-size: .8125rem; color: rgba(255,255,255,.3); }
.footer-copy a { color: rgba(255,255,255,.3); transition: color var(--t); }
.footer-copy a:hover { color: rgba(255,255,255,.6); }

/* ============================================
   PRESTATIONS — ALTERNATE SECTIONS
============================================ */
.service-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.service-section:last-of-type { border-bottom: none; }
.service-section__grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 768px) { .service-section__grid { grid-template-columns: 1fr 1fr; gap: 72px; } .service-section.alt .service-section__grid { direction: rtl; } .service-section.alt .service-section__grid > * { direction: ltr; } }
.service-section__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10; background: var(--surface); box-shadow: var(--sh-md); }
.service-section__img img { width: 100%; height: 100%; object-fit: cover; }
.service-section__content h2 { margin-bottom: 14px; }
.service-section__content p { color: var(--muted); margin-bottom: 20px; line-height: 1.75; font-size: .9375rem; }

.check-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; }
.check-list svg { flex-shrink: 0; color: var(--green); margin-top: 2px; }

.norm-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: rgba(12,27,58,.06); color: var(--navy-2); border: 1px solid rgba(12,27,58,.12); border-radius: 100px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 20px; }

/* ============================================
   METHOD STEPS
============================================ */
.methode-steps { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px)  { .methode-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .methode-steps { grid-template-columns: repeat(4, 1fr); } }
.methode-step { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; position: relative; box-shadow: var(--sh-sm); }
.methode-step__num { font-family: var(--font-h); font-size: 2.5rem; font-weight: 900; color: rgba(26,111,196,.08); position: absolute; top: 14px; right: 18px; line-height: 1; }
.methode-step svg { color: var(--blue); }
.methode-step h4 { font-size: .9375rem; color: var(--navy-2); }
.methode-step p  { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ============================================
   ABOUT / CONTACT
============================================ */
.about-layout { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 768px) { .about-layout { grid-template-columns: 1fr 1fr; gap: 80px; } }
.about-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--surface); box-shadow: var(--sh-md); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

.values-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card { padding: 28px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); display: flex; flex-direction: column; gap: 12px; transition: transform var(--ts), box-shadow var(--ts); }
.value-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.value-card svg { color: var(--blue); }
.value-card h4  { font-size: 1rem; color: var(--navy-2); }
.value-card p   { font-size: .875rem; color: var(--muted); line-height: 1.65; }

.timeline { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.timeline-item { padding: 28px 24px; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .timeline-item { border-top: none; border-right: 1px solid var(--border); } .timeline-item:last-child { border-right: none; } }
.timeline-year  { font-family: var(--font-h); font-size: 1.5rem; font-weight: 800; color: var(--blue); margin-bottom: 6px; }
.timeline-title { font-size: 1rem; font-weight: 700; color: var(--navy-2); margin-bottom: 8px; }
.timeline-desc  { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* Stats counters */
.stats-strip { background: linear-gradient(150deg, #07111F 0%, #0C1B3A 100%); padding: 72px 0; position: relative; }
.stats-strip::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(26,111,196,.12) 1px, transparent 1px); background-size: 36px 36px; pointer-events: none; }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 600px; margin: 0 auto; }
.stat-item { text-align: center; }
.stat-value { font-family: var(--font-h); font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 800; line-height: 1; margin-bottom: 8px; color: #fff; }
.stat-num   { color: var(--green); text-shadow: 0 0 24px rgba(77,181,38,.5); }
.stat-label { font-size: .6875rem; font-weight: 600; color: rgba(255,255,255,.4); letter-spacing: .1em; text-transform: uppercase; }

/* ============================================
   CONTACT SECTION — redesign
============================================ */
.contact-section { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: start; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.15fr; gap: 72px; } }

/* Info column */
.contact-info-col { display: flex; flex-direction: column; gap: 32px; }

.contact-info-header { display: flex; flex-direction: column; gap: 12px; }
.contact-info-header h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.1; margin: 0; }
.contact-info-header__sub { font-size: .9375rem; color: var(--muted); line-height: 1.7; max-width: 40ch; }

/* Contact rows — horizontal list */
.contact-rows { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: var(--sh-sm); }
.contact-row { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--border); transition: background var(--t); }
.contact-row:last-child { border-bottom: none; }
.contact-row:hover { background: var(--surface); }
.contact-row__icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: rgba(26,111,196,.08); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.contact-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.contact-row__label { font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-row__value { font-size: .9375rem; font-weight: 700; color: var(--navy-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact-row__value a { color: var(--blue); transition: color var(--t); }
.contact-row__value a:hover { color: var(--navy-2); }
.contact-row__sub { font-size: .8125rem; color: var(--muted); }
.contact-row__action { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--border); color: var(--blue); display: flex; align-items: center; justify-content: center; transition: background var(--t), border-color var(--t), color var(--t); }
.contact-row__action:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Zone badge */
.contact-zone-badge { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: rgba(26,111,196,.05); border: 1px solid rgba(26,111,196,.18); border-radius: var(--r-md); }
.contact-zone-badge svg { color: var(--blue); flex-shrink: 0; }
.contact-zone-badge__title { font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px; }
.contact-zone-badge__value { font-size: .9375rem; font-weight: 600; color: var(--navy-2); }

/* Map block */
.contact-map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--sh-sm); }
.contact-map__label { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--surface); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border); }
.contact-map__label svg { color: var(--blue); }

/* Form card */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-md); overflow: hidden; }
.form-card__header { padding: 28px 32px 24px; background: var(--navy-2); position: relative; }
.form-card__header::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); }
@media (max-width: 480px) { .form-card__header { padding: 22px 20px 20px; } }
.form-title { font-size: 1.25rem; color: #fff; margin-bottom: 4px; }
.form-sub   { font-size: .875rem; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.form-trust-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.form-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 100px; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.form-badge svg { color: var(--green); }
.form-body { padding: 28px 32px; display: flex; flex-direction: column; }
@media (max-width: 480px) { .form-body { padding: 20px; } }
.form-row   { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: .8125rem; font-weight: 700; color: var(--text); }
.req { color: #DC2626; margin-left: 2px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 11px 14px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-sm); font-size: 1rem; color: var(--text); outline: none; min-height: 46px; transition: border-color var(--t), box-shadow var(--t), background var(--t); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(26,111,196,.1); }
.form-input.err, .form-select.err, .form-textarea.err { border-color: #DC2626; }
.form-error-msg { font-size: .75rem; color: #DC2626; margin-top: -2px; }
.form-textarea { resize: vertical; min-height: 96px; }
.form-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; margin: 2px 0 20px; }
.form-check input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; accent-color: var(--blue); }
.form-check span { font-size: .8125rem; color: var(--muted); line-height: 1.5; }

/* IRVE table */
.power-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.power-table th { background: var(--navy-2); color: #fff; padding: 14px 18px; text-align: left; font-family: var(--font-h); font-weight: 700; font-size: .8125rem; }
.power-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.power-table tr:last-child td { border-bottom: none; }
.power-table tr:nth-child(even) td { background: var(--surface); }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--border); }

/* Highlight card */
.highlight-card { background: linear-gradient(135deg, #EEF5FF 0%, #F0FCEF 100%); border: 1px solid rgba(26,111,196,.15); border-radius: var(--r-lg); padding: 40px 36px; }
.highlight-card h3 { color: var(--navy-2); margin-bottom: 14px; }
.highlight-card p  { color: var(--muted); line-height: 1.8; }

/* Domotique level cards */
.level-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .level-cards { grid-template-columns: repeat(3, 1fr); } }
.level-card { border-radius: var(--r-lg); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; border: 2px solid transparent; transition: transform var(--ts), box-shadow var(--ts); }
.level-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.level-card--basic    { background: var(--surface); border-color: var(--border); }
.level-card--standard { background: rgba(26,111,196,.04); border-color: rgba(26,111,196,.2); }
.level-card--premium  { background: linear-gradient(135deg, rgba(12,27,58,.04), rgba(26,111,196,.04)); border-color: rgba(12,27,58,.15); }
.level-badge { font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; align-self: flex-start; }
.level-badge--basic    { background: rgba(107,114,128,.1); color: var(--muted); }
.level-badge--standard { background: rgba(26,111,196,.12); color: var(--blue); }
.level-badge--premium  { background: rgba(12,27,58,.08); color: var(--navy-2); }
.level-title { font-size: 1.25rem; font-weight: 700; color: var(--navy-2); }
.level-list  { display: flex; flex-direction: column; gap: 8px; }
.level-list li { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--text); }
.level-list svg { color: var(--green); flex-shrink: 0; }

/* ============================================
   HERO — photo de fond (derrière le lamp effect)
============================================ */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-photo img,
.hero-bg-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: .32;
  filter: brightness(.75) saturate(1.1);
}

/* ============================================
   ACTIVITIES STRIP — 3 cartes pleine largeur
============================================ */
.activities-strip {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .activities-strip { grid-template-columns: repeat(3, 1fr); height: 440px; }
}

.activity-card {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  min-height: 240px;
  display: block;
  cursor: pointer;
}
.activity-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
  filter: brightness(.75) saturate(.9);
}
.activity-card:hover img {
  transform: scale(1.07);
  filter: brightness(.6) saturate(1.1);
}
.activity-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,27,58,.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
  transition: background var(--ts);
}
.activity-card:hover .activity-card__overlay {
  background: rgba(12,27,58,.70);
}
.activity-card__cat {
  font-family: var(--font-h);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.activity-card__cat::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.activity-card__title {
  font-family: var(--font-h);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}
.activity-card__desc {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 280px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--ts), transform var(--ts);
}
.activity-card:hover .activity-card__desc {
  opacity: 1;
  transform: none;
}
.activity-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-h);
  font-size: .8125rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  transition: color var(--t), gap var(--t);
}
.activity-card:hover .activity-card__link {
  color: #fff;
  gap: 12px;
}
/* Séparateurs verticaux entre cartes */
.activity-card + .activity-card::before {
  content: '';
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 0;
  width: 1px;
  background: rgba(255,255,255,.1);
  z-index: 5;
}
@media (max-width: 767px) {
  .activity-card + .activity-card::before { display: none; }
}

/* ============================================
   EXPERTISE — section 2 colonnes image/texte
============================================ */
.xp-section { background: var(--surface); }

.xp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}
@media (min-width: 1024px) {
  .xp-layout { grid-template-columns: 52% 44%; gap: 80px; }
}

/* Mosaïque d'images */
.xp-imgs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 180px;
  gap: 12px;
}
.xp-img-a {
  grid-column: 1;
  grid-row: 1 / span 2;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.xp-img-b {
  grid-column: 2;
  grid-row: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.xp-img-c {
  grid-column: 2;
  grid-row: 2;
  border-radius: var(--r-md);
  overflow: hidden;
}
.xp-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}
.xp-img-a:hover img,
.xp-img-b:hover img,
.xp-img-c:hover img { transform: scale(1.04); }

/* Contenu textuel */
.xp-content { padding-top: 32px; }
@media (min-width: 1024px) { .xp-content { padding-top: 0; } }

.xp-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 36px;
}
.xp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9375rem;
  color: var(--text);
  line-height: 1.55;
}
.xp-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(77,181,38,.12);
  border: 1.5px solid rgba(77,181,38,.4);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%234DB526' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================
   SERVICE CARDS — image header
============================================ */
/* .service-card__img — slot photo réservé pour intégration future */
.service-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 600ms ease, filter 600ms ease;
  filter: brightness(.45) saturate(.7);
  z-index: 0;
}
.service-card:hover .service-card__img { transform: scale(1.07); filter: brightness(.5) saturate(.8); }

/* ============================================
   USP DARK — photo de fond atmosphérique
============================================ */
.usp-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.usp-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: .18;
  filter: grayscale(15%) brightness(.6);
}

/* ============================================
   SCROLL ANIMATIONS
============================================ */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .10s; } .d2 { transition-delay: .18s; }
.d3 { transition-delay: .26s; } .d4 { transition-delay: .34s; }
.d5 { transition-delay: .42s; }

@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .fade-up { opacity: 1; transform: none; }
}

/* ============================================
   UTILITIES
============================================ */
.bg-surface { background: var(--surface); }
.bg-surface2 { background: var(--surface2); }
.bg-navy    { background: var(--navy); }
.text-center { text-align: center; }
.text-white  { color: #fff; }
.text-muted  { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
