/* ============================================================
   E2S — E2Solaire · Design System "Clean Corporate Solar"
   ============================================================ */

:root {
  /* Couleurs principales */
  --night: #0F1923;
  --slate-900: #0F1923;
  --slate-800: #1A2733;
  --slate-700: #253444;
  --slate-600: #3A4F62;
  --slate-500: #54697C;
  --slate-400: #6B8299;
  --slate-300: #9DB0C0;
  --slate-200: #C8D5DF;
  --slate-100: #E8EEF3;
  --sky: #F4F7FA;
  --white: #FFFFFF;

  /* Accent solaire */
  --gold: #E8A020;
  --gold-dark: #B57A10;
  --gold-light: #FDF0D8;

  /* Secondaire */
  --green: #1E6B45;
  --green-light: #EAF7EF;

  --border: #DCE4EB;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(15,25,35,0.06);
  --shadow-md: 0 8px 30px rgba(15,25,35,0.10);
  --shadow-lg: 0 20px 60px rgba(15,25,35,0.16);

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "DM Serif Display", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { color: var(--slate-900); line-height: 1.15; font-weight: 600; }
.display { font-family: var(--font-display); font-weight: 400; }
.gold { color: var(--gold); }
.gold-text { color: var(--gold-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section { padding: 96px 0; }
.section-sky { background: var(--sky); }
.section-night { background: var(--night); color: var(--slate-200); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-head p { margin-top: 16px; font-size: 18px; color: var(--slate-500); }
.section-night .section-head h2 { color: var(--white); }
.section-night .section-head p { color: var(--slate-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(232,160,32,0.28); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(232,160,32,0.34); }
.btn-ghost { background: transparent; color: var(--slate-900); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--slate-900); background: var(--white); }
.btn-ghost-light { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.5); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--border); background: rgba(255,255,255,0.95); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--night);
  display: grid; place-items: center;
  position: relative;
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-text { line-height: 1; }
.logo-text .name { font-family: var(--font-display); font-size: 23px; color: var(--night); letter-spacing: 0.02em; }
.logo-text .tag { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-400); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: 8px;
  transition: all 0.18s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--night); background: var(--sky); }
.nav-link .chev { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-item:hover .chev { transform: rotate(180deg); }

.megamenu {
  position: absolute;
  top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 460px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s var(--ease);
}
.nav-item:hover .megamenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-link { display: flex; gap: 12px; padding: 12px; border-radius: 9px; transition: background 0.16s; }
.mega-link:hover { background: var(--sky); }
.mega-ico {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--gold-light); color: var(--gold-dark);
  display: grid; place-items: center; flex-shrink: 0;
}

.mega-ico svg { width: 20px; height: 20px; }
.mega-ico img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}
.mega-txt strong { display: block; font-size: 14.5px; color: var(--night); font-weight: 600; }
.mega-txt span { font-size: 12.5px; color: var(--slate-400); line-height: 1.4; }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--night); font-size: 15px; }
.header-phone svg { width: 18px; height: 18px; color: var(--gold-dark); }
.header-phone:hover { color: var(--gold-dark); }

.burger { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; border-radius: 9px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--night); margin: 5px auto; transition: all 0.25s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 99;
  padding: 24px 32px 120px;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 16px 0; font-size: 19px; font-weight: 500; color: var(--night); border-bottom: 1px solid var(--border); }
.mobile-nav .sub { padding-left: 16px; font-size: 16px; color: var(--slate-500); font-weight: 400; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; padding-top: 72px; color: #fff; overflow: hidden; background: var(--night); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,25,35,0.92) 0%, rgba(15,25,35,0.78) 42%, rgba(15,25,35,0.35) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 80px 0; max-width: 760px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 22px;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,0.82); max-width: 620px; margin-bottom: 36px; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust {
  position: relative; z-index: 2;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-trust .ht {
  background: rgba(15,25,35,0.55);
  backdrop-filter: blur(6px);
  padding: 22px 20px;
  display: flex; align-items: center; gap: 13px;
}
.hero-trust .ht-ico { width: 34px; height: 34px; color: var(--gold); flex-shrink: 0; }
.hero-trust .ht strong { display: block; font-size: 20px; color: #fff; font-weight: 600; line-height: 1; }
.hero-trust .ht span { font-size: 12.5px; color: rgba(255,255,255,0.6); }

/* ============================================================
   STATS
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(40px, 6vw, 58px); color: var(--night); line-height: 1; }
.stat .num .suffix { color: var(--gold); }
.stat .lbl { margin-top: 10px; font-size: 14px; color: var(--slate-400); font-weight: 500; }

/* ---------- Certifications ---------- */
.certs { margin-top: 64px; }
.certs-title { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 28px; }
.certs-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 100px; padding: 10px 20px;
  font-weight: 700; font-size: 14px; color: var(--slate-800);
  transition: all 0.2s var(--ease);
}
.cert-badge:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cert-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* ---------- Preuves E2S sur fond bleu ---------- */
.section.stats-proof-section {
  position: relative;
  overflow: hidden;
  background: #06385d;
  color: rgba(255, 255, 255, 0.76);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.stats-proof-section .section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.stats-proof-section .section-head h2 { color: #fff; }
.stats-proof-section .eyebrow { color: var(--gold); }
.stats-proof-section .stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 940px;
  margin: 0 auto;
}
.stats-proof-section .stat {
  min-width: 0;
  padding: 8px 32px 12px;
}
.stats-proof-section .stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}
.stats-proof-section .stat .num { color: #fff; }
.stats-proof-section .stat .num .suffix { color: var(--gold); }
.stats-proof-section .stat .lbl {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
}

@media (max-width: 700px) {
  .stats-proof-section .section-head { margin-bottom: 34px; }
  .stats-proof-section .stats-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  .stats-proof-section .stat { padding: 24px 16px; }
  .stats-proof-section .stat + .stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
  }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; box-shadow: var(--shadow-sm);
  transition: all 0.28s var(--ease); position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-ico {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--gold-light); color: var(--gold-dark);
  display: grid; place-items: center; margin-bottom: 22px;
}
.service-ico svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--slate-500); margin-bottom: 18px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--gold-dark); }
.service-link .arrow { transition: transform 0.2s; }
.service-card:hover .service-link .arrow { transform: translateX(4px); }

/* ============================================================
   RÉALISATIONS
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  background: #fff; border: 1.5px solid var(--border); border-radius: 100px;
  padding: 9px 20px; font-size: 14px; font-weight: 600; color: var(--slate-600);
  cursor: pointer; transition: all 0.18s var(--ease);
}
.filter-btn:hover { border-color: var(--slate-400); }
.filter-btn.active { background: var(--night); color: #fff; border-color: var(--night); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: all 0.28s var(--ease);
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.work-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--slate-200); }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.work-card:hover .work-img img { transform: scale(1.06); }
.work-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(15,25,35,0.82); backdrop-filter: blur(6px);
  color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: 100px; text-transform: uppercase;
}
.work-body { padding: 22px; }
.work-body h3 { font-size: 17px; margin-bottom: 6px; }
.work-meta { font-size: 13px; color: var(--slate-400); margin-bottom: 14px; }
.work-stats { display: flex; gap: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.work-stats div span { display: block; font-size: 12px; color: var(--slate-400); }
.work-stats div strong { font-size: 16px; color: var(--gold-dark); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.google-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px 32px; text-align: center; box-shadow: var(--shadow-md); }
.google-score { font-family: var(--font-display); font-size: 68px; color: var(--night); line-height: 1; }
.google-score small { font-size: 26px; color: var(--slate-400); }
.stars { color: var(--gold); font-size: 26px; letter-spacing: 3px; margin: 12px 0 8px; }
.google-count { font-size: 14px; color: var(--slate-500); }
.google-logo { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13px; color: var(--slate-400); font-weight: 600; }

.review-slider { position: relative; min-height: 220px; }
.review-slide {
  position: absolute; inset: 0; opacity: 0; transform: translateY(14px);
  transition: all 0.5s var(--ease); pointer-events: none;
}
.review-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; position: relative; }
.review-quote { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; color: var(--slate-800); font-style: italic; margin-bottom: 24px; }
.review-quote::before { content: "“"; color: var(--gold); font-size: 1.4em; line-height: 0; vertical-align: -0.2em; margin-right: 4px; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--night); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.review-author strong { display: block; color: var(--night); font-size: 15px; }
.review-author span { font-size: 13px; color: var(--slate-400); }
.review-dots { display: flex; gap: 8px; margin-top: 30px; }
.review-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--slate-200); cursor: pointer; padding: 0; transition: all 0.2s; }
.review-dots button.active { background: var(--gold); width: 26px; border-radius: 5px; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 36px; }
.why-item { display: flex; gap: 18px; }
.why-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(232,160,32,0.12); color: var(--gold-dark); display: grid; place-items: center; flex-shrink: 0; }
.why-ico svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 16.5px; margin-bottom: 6px; }
.why-item p { font-size: 14px; color: var(--slate-500); }

/* ============================================================
   CTA BAND (night)
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px;
  border-radius: 50%; border: 1px solid rgba(232,160,32,0.18);
}
.cta-band::after {
  content: ""; position: absolute; top: -60px; right: -20px; width: 280px; height: 280px;
  border-radius: 50%; border: 1px solid rgba(232,160,32,0.26);
}
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.cta-inner h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 4vw, 44px); color: #fff; line-height: 1.1; }
.cta-inner h2 em { color: var(--gold); font-style: italic; }
.cta-inner p { color: var(--slate-300); font-size: 18px; margin: 18px 0 30px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-phone { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; font-size: 17px; }
.cta-phone svg { width: 20px; height: 20px; color: var(--gold); }

/* Mini form */
.mini-form { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.mini-form h3 { font-size: 20px; margin-bottom: 4px; }
.mini-form .fsub { font-size: 13.5px; color: var(--slate-400); margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--slate-600); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: 15px; color: var(--slate-800); background: var(--white);
  transition: border-color 0.18s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,160,32,0.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-reassure { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; font-size: 12.5px; color: var(--slate-500); }
.form-reassure span { display: inline-flex; align-items: center; gap: 6px; }
.form-reassure svg { width: 15px; height: 15px; color: var(--green); }
.form-msg { display: none; background: var(--green-light); border: 1px solid #8DC9A8; color: var(--green); padding: 14px; border-radius: var(--radius-sm); font-size: 14px; margin-top: 12px; }
.form-msg.show { display: block; }

/* ============================================================
   ZONES
   ============================================================ */
.zones-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.zones-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.zone-pill { background: #fff; border: 1.5px solid var(--border); border-radius: 100px; padding: 9px 18px; font-weight: 600; font-size: 14px; color: var(--slate-700); transition: all 0.18s var(--ease); }
.zone-pill:hover { border-color: var(--gold); color: var(--gold-dark); transform: translateY(-2px); }
.zones-map { background: var(--night); border-radius: var(--radius-lg); padding: 40px; min-height: 360px; display: grid; place-items: center; position: relative; overflow: hidden; }
.zones-map svg { width: 100%; height: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--night); color: var(--slate-300); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 20px; }
.footer-about .logo-text .name { color: #fff; }
.footer-about p { font-size: 14px; color: var(--slate-400); margin: 18px 0; max-width: 280px; }
.footer-contact { font-size: 14px; }
.footer-contact div { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.footer-links a { display: block; font-size: 14px; color: var(--slate-400); padding: 7px 0; transition: color 0.16s; }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.07); display: grid; place-items: center; transition: all 0.2s; }
.footer-social a:hover { background: var(--gold); color: var(--night); }
.footer-social svg { width: 18px; height: 18px; }
.footer-rating { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 14px 16px; background: rgba(255,255,255,0.05); border-radius: var(--radius-sm); }
.footer-rating .fr-score { font-family: var(--font-display); font-size: 30px; color: #fff; line-height: 1; }
.footer-rating .stars { font-size: 15px; margin: 2px 0 0; }
.footer-rating span { font-size: 12px; color: var(--slate-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--slate-500); }
.footer-bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom-links a:hover { color: var(--gold); }
.footer-credit {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0 20px;
  color: rgba(255,255,255,0.56);
  font-size: 12px;
  text-align: center;
}
.footer-credit a {
  color: rgba(255,255,255,0.9);
  font-weight: 750;
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--gold);
}

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  display: none; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border);
  box-shadow: 0 -6px 24px rgba(15,25,35,0.16);
  transform: translateY(0); transition: transform 0.3s var(--ease);
}
.mobile-cta.hidden { transform: translateY(100%); }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; font-weight: 700; font-size: 15px; }
.mobile-cta .mc-call { background: var(--night); color: #fff; }
.mobile-cta .mc-devis { background: var(--gold); color: #fff; }
.mobile-cta svg { width: 18px; height: 18px; }

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-hero { background: var(--night); color: #fff; padding: 150px 0 72px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: -100px; right: -60px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(232,160,32,0.18); }
.page-hero .breadcrumb { font-size: 13px; color: var(--slate-400); margin-bottom: 16px; }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 5vw, 52px); color: #fff; line-height: 1.08; max-width: 760px; }
.page-hero p { font-size: 18px; color: var(--slate-300); margin-top: 18px; max-width: 620px; }

/* Prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin: 38px 0 14px; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; }
.prose p { margin-bottom: 14px; color: var(--slate-600); }
.prose ul { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 8px; color: var(--slate-600); }
.prose strong { color: var(--slate-900); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav, .header-phone { display: none; }
  .burger { display: block; }
  .header-cta .btn-primary { display: none; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-wrap, .cta-inner, .zones-wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .mobile-cta { display: grid; }
  body { padding-bottom: 56px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { min-height: auto; }
  .hero-inner { padding: 56px 0; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .services-grid, .work-grid, .why-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
}

/* ============================================================
   E2S modern premium refresh
   ============================================================ */
body {
  color: #d8e6f4;
  background:
    radial-gradient(circle at 82% 6%, rgba(232,160,32,.18), transparent 28%),
    radial-gradient(circle at 7% 28%, rgba(0,67,123,.34), transparent 30%),
    linear-gradient(135deg, #04192c 0%, #062541 46%, #0b2f4f 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}
.header {
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(0,67,123,.12);
  box-shadow: 0 18px 50px rgba(3,27,49,.08);
}
.header.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 48px rgba(3,27,49,.14);
}
.logo-image {
  width: 128px;
  min-height: 48px;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,.88);
}
.logo-image img {
  width: 112px;
  height: auto;
  object-fit: contain;
}
.footer .logo-image {
  width: 134px;
  min-height: 54px;
  background: #fff;
}
.footer .logo-image img {
  width: 116px;
}
.logo-mark,
.logo-text {
  display: none;
}
.hero {
  min-height: 96vh;
}
.hero-bg::after {
  background:
    linear-gradient(105deg, rgba(3,27,49,.94) 0%, rgba(3,27,49,.82) 42%, rgba(0,67,123,.42) 78%, rgba(0,67,123,.18) 100%),
    radial-gradient(circle at 78% 24%, rgba(232,160,32,.22), transparent 28%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 18%;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,160,32,.7), rgba(255,255,255,.34), transparent);
  transform: rotate(-9deg);
  animation: modernBeam 8s linear infinite;
}
.hero-inner {
  max-width: 860px;
}
.hero h1 {
  font-family: var(--font-sans);
  font-weight: 850;
  letter-spacing: -0.02em;
}
.hero-sub {
  color: rgba(255,255,255,.84);
}
.hero-trust {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.09);
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
}
.hero-trust .ht {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}
.section {
  position: relative;
  overflow: hidden;
  color: #153047;
  background:
    radial-gradient(circle at 86% 10%, rgba(232,160,32,.09), transparent 26%),
    linear-gradient(135deg, #f4f8fc 0%, #e8f1f8 100%);
}
.section p,
.section .section-head p,
.service-card p,
.work-meta,
.prose,
.review-slider {
  color: #486176;
}
.section h1,
.section h2,
.section h3,
.service-card h3,
.work-card h3 {
  color: #062541;
}
.section + .section {
  border-top: 1px solid rgba(0,67,123,.08);
}
.section-sky,
.section:nth-of-type(odd):not(.section-night) {
  color: rgba(255,255,255,.82);
  background:
    radial-gradient(circle at 80% 12%, rgba(232,160,32,.16), transparent 28%),
    linear-gradient(135deg, #062541 0%, #00437b 60%, #062541 100%);
}
.section-sky h1,
.section-sky h2,
.section-sky h3,
.section:nth-of-type(odd):not(.section-night) h1,
.section:nth-of-type(odd):not(.section-night) h2,
.section:nth-of-type(odd):not(.section-night) h3 {
  color: #fff;
}
.section-sky p,
.section-sky .section-head p,
.section:nth-of-type(odd):not(.section-night) p,
.section:nth-of-type(odd):not(.section-night) .section-head p {
  color: rgba(255,255,255,.72);
}
.section-head h2 {
  font-family: var(--font-sans);
  font-weight: 850;
  letter-spacing: -0.02em;
}
.service-card,
.work-card,
.google-card,
.mini-form,
.cert-badge,
.zone-pill,
.prose,
.review-slider {
  border: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,255,255,.72));
  box-shadow: 0 24px 70px rgba(3,27,49,.14);
  backdrop-filter: blur(14px);
}
.section-sky .service-card,
.section-sky .work-card,
.section-sky .google-card,
.section-sky .mini-form,
.section-sky .cert-badge,
.section-sky .zone-pill,
.section-sky .prose,
.section-sky .review-slider,
.section:nth-of-type(odd):not(.section-night) .service-card,
.section:nth-of-type(odd):not(.section-night) .work-card,
.section:nth-of-type(odd):not(.section-night) .google-card,
.section:nth-of-type(odd):not(.section-night) .mini-form,
.section:nth-of-type(odd):not(.section-night) .cert-badge,
.section:nth-of-type(odd):not(.section-night) .zone-pill,
.section:nth-of-type(odd):not(.section-night) .prose,
.section:nth-of-type(odd):not(.section-night) .review-slider {
  color: #dbe9f6;
  border-color: rgba(255,255,255,.16);
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.055)),
    rgba(3,27,49,.45);
  box-shadow: 0 28px 80px rgba(0,0,0,.26);
}
.section-sky .service-card h3,
.section-sky .work-card h3,
.section:nth-of-type(odd):not(.section-night) .service-card h3,
.section:nth-of-type(odd):not(.section-night) .work-card h3 {
  color: #fff;
}
.section-sky .service-card p,
.section-sky .work-meta,
.section:nth-of-type(odd):not(.section-night) .service-card p,
.section:nth-of-type(odd):not(.section-night) .work-meta {
  color: rgba(255,255,255,.66);
}
.service-card::after,
.work-card::after,
.mini-form::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,.22) 50%, transparent 60% 100%);
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity .2s ease, transform .7s var(--ease);
}
.service-card:hover::after,
.work-card:hover::after,
.mini-form:hover::after {
  opacity: 1;
  transform: translateX(120%);
}
.btn-primary {
  color: #062541;
  background: linear-gradient(135deg, #ffcf34, #e8a020);
  box-shadow: 0 12px 34px rgba(232,160,32,.28);
}
.btn-primary:hover {
  color: #062541;
  background: linear-gradient(135deg, #ffe16a, #e8a020);
}
.cta-section {
  background:
    radial-gradient(circle at 76% 12%, rgba(232,160,32,.2), transparent 26%),
    linear-gradient(135deg, #04192c, #00437b 58%, #062541);
}
.zones-map {
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.04)),
    #062541;
}
.page-hero {
  background:
    radial-gradient(circle at 78% 24%, rgba(232,160,32,.16), transparent 30%),
    linear-gradient(135deg, #04192c, #00437b 62%, #062541);
}
.mobile-nav {
  background:
    radial-gradient(circle at 80% 10%, rgba(232,160,32,.12), transparent 30%),
    linear-gradient(135deg, #f7fbff, #e9f4ff);
}
.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.consent-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0 16px;
  color: #486176;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
.consent-line input {
  width: auto;
  margin-top: 4px;
}
.section-sky .consent-line,
.section:nth-of-type(odd):not(.section-night) .consent-line {
  color: rgba(255,255,255,.76);
}
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: min(420px, calc(100vw - 40px));
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  color: #dbe9f6;
  background:
    linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.06)),
    rgba(3,27,49,.94);
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(16px);
}
.cookie-banner strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}
.cookie-banner p {
  color: rgba(255,255,255,.72);
  margin: 0 0 14px;
  font-size: 13px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-actions button {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.cookie-accept {
  color: #062541;
  background: linear-gradient(135deg, #ffcf34, #e8a020);
}
.cookie-refuse {
  color: #fff;
  background: rgba(255,255,255,.12);
}
@keyframes modernBeam {
  to { transform: translateX(16%) rotate(-9deg); }
}
@media (max-width: 820px) {
  .logo-image {
    width: 112px;
    min-height: 46px;
  }
  .logo-image img {
    width: 98px;
  }
  .header {
    background: rgba(255,255,255,.94);
  }
  .cookie-banner {
    right: 12px;
    bottom: 78px;
    width: calc(100vw - 24px);
    padding: 12px;
    border-radius: 14px;
  }
  .cookie-banner strong {
    margin-bottom: 3px;
    font-size: 14px;
  }
  .cookie-banner p {
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.45;
  }
  .cookie-actions {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .cookie-actions button,
  .cookie-actions .btn {
    flex: 1 1 0;
    padding: 8px 10px !important;
    font-size: 12px;
    white-space: nowrap;
    justify-content: center;
  }
}

/* ============================================================
   MAISON 3D INTERACTIVE (model-viewer)
   ============================================================ */
.scene3d { background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); }
.scene3d-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #1b2a3a 0%, var(--night) 70%);
  box-shadow: var(--shadow-lg);
}
#e2sHouse {
  width: 100%;
  height: clamp(640px, 68vh, 780px);
  --min-hotspot-opacity: 0;
  --poster-color: transparent;
  background: transparent;
  outline: none;
}
.scene3d-hint {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: rgba(255,255,255,0.7);
  background: rgba(15,25,35,0.5); backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}

/* Loader */
.scene3d-loader { transition: opacity .4s ease; display: flex; flex-direction: column; align-items: center; gap: 14px; color: rgba(255,255,255,0.8); font-size: 14px; }
.s3d-spin { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(232,160,32,0.25); border-top-color: var(--gold); animation: s3dspin 0.9s linear infinite; }
@keyframes s3dspin { to { transform: rotate(360deg); } }

/* Hotspots */
.hotspot {
  display: block; position: relative;
  border: none; background: transparent; cursor: pointer;
  text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.hs-dot {
  display: block; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  position: relative; transition: transform 0.2s var(--ease);
}
.hs-dot::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid var(--gold); opacity: 0.6;
  animation: hspulse 2s var(--ease) infinite;
}
@keyframes hspulse { 0% { transform: scale(0.7); opacity: 0.7; } 100% { transform: scale(1.7); opacity: 0; } }
.hotspot:hover .hs-dot, .hotspot:focus-visible .hs-dot { transform: scale(1.18); }

.hs-card {
  position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; color: var(--night);
  border-radius: 10px; padding: 10px 14px; min-width: 170px;
  box-shadow: var(--shadow-md); text-align: left;
  opacity: 0; visibility: hidden; transition: all 0.2s var(--ease); pointer-events: none;
}
.hs-card::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 7px solid transparent; border-top-color: #fff; }
.hs-card strong { display: block; font-size: 14px; color: var(--night); }
.hs-card span { font-size: 12px; color: var(--slate-400); }
.hotspot:hover .hs-card, .hotspot:focus-visible .hs-card { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* model-viewer hide occluded hotspots smoothly */
.hotspot[data-visibility="hidden"] { opacity: 0; transition: opacity 0.3s; pointer-events: none; }

/* Legend */
.scene3d-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.s3d-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 100px;
  padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--slate-700);
  transition: all 0.18s var(--ease);
}
.s3d-chip:hover { border-color: var(--gold); color: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.s3d-bullet { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }

/* Placement helper (dev) */
.s3d-place-badge {
  position: fixed; bottom: 16px; left: 16px; z-index: 9999;
  background: var(--night); color: #fff; font-size: 12px; font-family: monospace;
  padding: 12px 14px; border-radius: 10px; max-width: 320px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold);
}
.s3d-place-badge b { color: var(--gold); }

@media (max-width: 640px) {
  #e2sHouse { height: min(560px, 72vh); }
  .hs-card { min-width: 140px; }
}

/* Home background rhythm: keep the blue for impact, not repetition. */
body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises),
body.home-page #avis.section-sky,
body.home-page #zones.section-sky {
  color: #153047;
  background:
    radial-gradient(circle at 8% 16%, rgba(255,207,52,.18), transparent 26%),
    radial-gradient(circle at 88% 20%, rgba(0,67,123,.10), transparent 30%),
    linear-gradient(135deg, #fbfdff 0%, #eef5fa 54%, #ffffff 100%);
}

body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) h1,
body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) h2,
body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) h3,
body.home-page #avis.section-sky h1,
body.home-page #avis.section-sky h2,
body.home-page #avis.section-sky h3,
body.home-page #zones.section-sky h1,
body.home-page #zones.section-sky h2,
body.home-page #zones.section-sky h3 {
  color: #062541;
}

body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) p,
body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) .section-head p,
body.home-page #avis.section-sky p,
body.home-page #avis.section-sky .section-head p,
body.home-page #zones.section-sky p,
body.home-page #zones.section-sky .section-head p {
  color: #486176;
}

body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) .service-card,
body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) .work-card,
body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) .google-card,
body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) .mini-form,
body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) .cert-badge,
body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) .zone-pill,
body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) .prose,
body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) .review-slider,
body.home-page #avis.section-sky .google-card,
body.home-page #avis.section-sky .review-slider,
body.home-page #zones.section-sky .zone-pill {
  color: #153047;
  border-color: rgba(0,67,123,.12);
  background:
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(247,251,255,.80));
  box-shadow: 0 22px 60px rgba(3,27,49,.12);
}

body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) .service-card h3,
body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) .work-card h3,
body.home-page #avis.section-sky .review-quote,
body.home-page #avis.section-sky .review-author strong,
body.home-page #zones.section-sky .zone-pill {
  color: #062541;
}

body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) .service-card p,
body.home-page .section:nth-of-type(odd):not(.section-night):not(#expertises) .work-meta,
body.home-page #avis.section-sky .review-author span {
  color: #557087;
}

body.home-page #expertises.section-sky {
  background:
    radial-gradient(circle at 80% 12%, rgba(232,160,32,.18), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.08), transparent 32%),
    linear-gradient(135deg, #062541 0%, #00437b 60%, #062541 100%);
}

/* Final home color system: only reviews and quote CTA are blue. */
body.home-page .section:not(.section-night):not(#avis) {
  color: #153047;
  background: #fff;
}

body.home-page .section:not(.section-night):not(#avis) h1,
body.home-page .section:not(.section-night):not(#avis) h2,
body.home-page .section:not(.section-night):not(#avis) h3 {
  color: #062541;
}

body.home-page .section:not(.section-night):not(#avis) p,
body.home-page .section:not(.section-night):not(#avis) .section-head p {
  color: #486176;
}

body.home-page .section:not(.section-night):not(#avis) .service-card,
body.home-page .section:not(.section-night):not(#avis) .work-card,
body.home-page .section:not(.section-night):not(#avis) .google-card,
body.home-page .section:not(.section-night):not(#avis) .mini-form,
body.home-page .section:not(.section-night):not(#avis) .cert-badge,
body.home-page .section:not(.section-night):not(#avis) .zone-pill,
body.home-page .section:not(.section-night):not(#avis) .prose,
body.home-page .section:not(.section-night):not(#avis) .review-slider {
  color: #153047;
  border-color: rgba(0,67,123,.10);
  background: #fff;
  box-shadow: 0 18px 55px rgba(3,27,49,.10);
}

body.home-page .section:not(.section-night):not(#avis) .service-card h3,
body.home-page .section:not(.section-night):not(#avis) .work-card h3 {
  color: #062541;
}

body.home-page .section:not(.section-night):not(#avis) .service-card p,
body.home-page .section:not(.section-night):not(#avis) .work-meta {
  color: #557087;
}

body.home-page #avis.section-sky,
body.home-page .cta-band.section-night {
  color: rgba(255,255,255,.84);
  background:
    radial-gradient(circle at 82% 12%, rgba(232,160,32,.22), transparent 28%),
    radial-gradient(circle at 18% 86%, rgba(255,255,255,.08), transparent 30%),
    linear-gradient(135deg, #062541 0%, #00437b 58%, #062541 100%);
}

body.home-page #avis.section-sky h1,
body.home-page #avis.section-sky h2,
body.home-page #avis.section-sky h3,
body.home-page .cta-band.section-night h1,
body.home-page .cta-band.section-night h2,
body.home-page .cta-band.section-night h3 {
  color: #fff;
}

body.home-page #avis.section-sky p,
body.home-page #avis.section-sky .section-head p,
body.home-page .cta-band.section-night p {
  color: rgba(255,255,255,.74);
}

body.home-page #avis.section-sky .google-card,
body.home-page #avis.section-sky .review-slider,
body.home-page .cta-band.section-night .mini-form {
  color: #153047;
  border-color: rgba(255,255,255,.18);
  background: #fff;
  box-shadow: 0 28px 80px rgba(0,0,0,.20);
}

body.home-page #avis.section-sky .review-quote,
body.home-page #avis.section-sky .review-author strong,
body.home-page .cta-band.section-night .mini-form h3 {
  color: #062541;
}

body.home-page #avis.section-sky .review-author span,
body.home-page .cta-band.section-night .mini-form p,
body.home-page .cta-band.section-night .mini-form .fsub,
body.home-page .cta-band.section-night .consent-line {
  color: #557087;
}

/* Explicit wins for the two-blue-sections layout. */
body.home-page section.section#avis.section-sky:not(#expertises):not(.section-night) {
  color: rgba(255,255,255,.84);
  background:
    radial-gradient(circle at 82% 12%, rgba(232,160,32,.22), transparent 28%),
    radial-gradient(circle at 18% 86%, rgba(255,255,255,.08), transparent 30%),
    linear-gradient(135deg, #062541 0%, #00437b 58%, #062541 100%);
}

body.home-page section.section#avis.section-sky:not(#expertises):not(.section-night) h1,
body.home-page section.section#avis.section-sky:not(#expertises):not(.section-night) h2,
body.home-page section.section#avis.section-sky:not(#expertises):not(.section-night) h3 {
  color: #fff;
}

body.home-page section.section#avis.section-sky:not(#expertises):not(.section-night) p,
body.home-page section.section#avis.section-sky:not(#expertises):not(.section-night) .section-head p {
  color: rgba(255,255,255,.74);
}

body.home-page section.section#avis.section-sky:not(#expertises):not(.section-night) .google-card,
body.home-page section.section#avis.section-sky:not(#expertises):not(.section-night) .review-slider {
  color: #153047;
  background: #fff;
}

body.home-page section.section#zones.section-sky:not(#avis):not(.section-night) {
  color: #153047;
  background: #fff;
}

body.home-page section.section#zones.section-sky:not(#avis):not(.section-night) h1,
body.home-page section.section#zones.section-sky:not(#avis):not(.section-night) h2,
body.home-page section.section#zones.section-sky:not(#avis):not(.section-night) h3,
body.home-page section.section#zones.section-sky:not(#avis):not(.section-night) .zone-pill {
  color: #062541;
}

body.home-page section.section#zones.section-sky:not(#avis):not(.section-night) p,
body.home-page section.section#zones.section-sky:not(#avis):not(.section-night) .section-head p {
  color: #486176;
}

body.home-page .section:not(.section-night):not(#avis) {
  background: #fff !important;
}

body.home-page #avis.section-sky,
body.home-page .cta-band.section-night {
  background:
    radial-gradient(circle at 82% 12%, rgba(232,160,32,.22), transparent 28%),
    radial-gradient(circle at 18% 86%, rgba(255,255,255,.08), transparent 30%),
    linear-gradient(135deg, #062541 0%, #00437b 58%, #062541 100%) !important;
}

/* Expertises also uses the blue band, with readable white cards. */
body.home-page #expertises.section-sky {
  color: rgba(255,255,255,.84);
  background:
    radial-gradient(circle at 82% 12%, rgba(232,160,32,.22), transparent 28%),
    radial-gradient(circle at 18% 86%, rgba(255,255,255,.08), transparent 30%),
    linear-gradient(135deg, #062541 0%, #00437b 58%, #062541 100%) !important;
}

body.home-page #expertises.section-sky .section-head h2 {
  color: #fff;
}

body.home-page #expertises.section-sky .section-head p {
  color: rgba(255,255,255,.74);
}

body.home-page #expertises.section-sky .service-card {
  color: #153047;
  background: #fff;
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 28px 80px rgba(0,0,0,.20);
}

body.home-page #expertises.section-sky .service-card h3 {
  color: #062541;
}

body.home-page #expertises.section-sky .service-card p {
  color: #557087;
}

/* Review cards are white on blue: keep their text dark and readable. */
body.home-page section.section#avis.section-sky:not(#expertises):not(.section-night) .review-slider .review-quote,
body.home-page section.section#avis.section-sky:not(#expertises):not(.section-night) .review-slider .review-author strong {
  color: #062541;
}

body.home-page section.section#avis.section-sky:not(#expertises):not(.section-night) .review-slider .review-author span {
  color: #557087;
}

/* Highest priority: expertises is the third blue home section. */
body.home-page section.section#expertises.section-sky:not(#avis):not(.section-night) {
  color: rgba(255,255,255,.84);
  background:
    radial-gradient(circle at 82% 12%, rgba(232,160,32,.22), transparent 28%),
    radial-gradient(circle at 18% 86%, rgba(255,255,255,.08), transparent 30%),
    linear-gradient(135deg, #062541 0%, #00437b 58%, #062541 100%) !important;
}

body.home-page section.section#expertises.section-sky:not(#avis):not(.section-night) .section-head h2 {
  color: #fff;
}

body.home-page section.section#expertises.section-sky:not(#avis):not(.section-night) .section-head p {
  color: rgba(255,255,255,.74) !important;
}

body.home-page section.section#expertises.section-sky:not(#avis):not(.section-night) .service-card {
  color: #153047;
  background: #fff;
}

body.home-page section.section#expertises.section-sky:not(#avis):not(.section-night) .service-card h3 {
  color: #062541;
}

body.home-page section.section#expertises.section-sky:not(#avis):not(.section-night) .service-card p {
  color: #557087 !important;
}

body.home-page section.section#expertises.section-sky:not(#avis):not(.section-night) .service-card {
  transform: translateY(0) scale(1);
  transform-origin: center;
  transition:
    transform .34s cubic-bezier(.2,.8,.2,1),
    box-shadow .34s ease,
    border-color .34s ease;
  will-change: transform;
}

body.home-page section.section#expertises.section-sky:not(#avis):not(.section-night) .service-card:hover,
body.home-page section.section#expertises.section-sky:not(#avis):not(.section-night) .service-card:focus-within {
  transform: translateY(-14px) scale(1.035);
  border-color: rgba(255,207,52,.42);
  box-shadow: 0 34px 95px rgba(0,0,0,.28);
}

body.home-page section.section#expertises.section-sky:not(#avis):not(.section-night) .service-card .service-ico {
  transition: transform .34s cubic-bezier(.2,.8,.2,1), background .34s ease;
}

body.home-page section.section#expertises.section-sky:not(#avis):not(.section-night) .service-card:hover .service-ico,
body.home-page section.section#expertises.section-sky:not(#avis):not(.section-night) .service-card:focus-within .service-ico {
  transform: scale(1.08) rotate(-2deg);
  background: rgba(255,207,52,.24);
}

/* ============================================================
   RÉALISATIONS HORIZONTALES HOME
   ============================================================ */
body.home-page #realisations.work-horizontal {
  --work-pad: clamp(22px, 4vw, 56px);
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: clip;
  background: #fff;
  color: var(--night);
}
body.home-page #realisations .work-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 3vh, 30px);
  padding: calc(76px + clamp(18px, 3vh, 36px)) 0 clamp(24px, 4vh, 44px);
  overflow: hidden;
}
body.home-page #realisations .work-horizontal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}
body.home-page #realisations .section-head {
  max-width: 820px;
  margin: 0;
}
body.home-page #realisations .section-head h2 {
  max-width: 820px;
  font-size: clamp(38px, 6vw, 84px);
  line-height: .96;
  letter-spacing: 0;
  color: var(--night);
}
body.home-page #realisations .section-head p {
  max-width: 720px;
  color: #486176;
}
body.home-page #realisations .work-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}
body.home-page #realisations .filters {
  justify-content: flex-end;
  margin: 0;
  gap: 8px;
}
body.home-page #realisations .filter-btn {
  border: 1px solid rgba(6,37,65,.14);
  background: rgba(255,255,255,.72);
  color: #24384a;
  padding: 10px 16px;
  font-size: 13px;
  box-shadow: none;
}
body.home-page #realisations .filter-btn:hover {
  border-color: rgba(6,37,65,.36);
  transform: translateY(-1px);
}
body.home-page #realisations .filter-btn.active {
  background: #062541;
  color: #fff;
  border-color: #062541;
}
body.home-page #realisations .work-progress {
  height: 3px;
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(6,37,65,.10);
}
body.home-page #realisations .work-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #f7c84b);
  transition: width .12s linear;
}
body.home-page #realisations .work-viewport {
  width: 100vw;
  overflow: hidden;
  padding-left: max(var(--work-pad), calc((100vw - 1180px) / 2 + var(--work-pad)));
  padding-right: var(--work-pad);
}
body.home-page #realisations .work-grid {
  display: flex;
  grid-template-columns: none;
  gap: clamp(18px, 3vw, 36px);
  width: max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
}
body.home-page #realisations .work-card {
  position: relative;
  flex: 0 0 min(74vw, 900px);
  height: min(63vh, 700px);
  min-height: 500px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #061829;
  box-shadow: none;
  isolation: isolate;
}
body.home-page #realisations .work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(3,27,49,.18);
}
body.home-page #realisations .work-card::after {
  display: none;
}
body.home-page #realisations .work-img {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  background: #061829;
}
body.home-page #realisations .work-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,37,65,.08) 0%, rgba(6,37,65,.08) 38%, rgba(6,24,41,.88) 100%),
    linear-gradient(90deg, rgba(6,24,41,.66) 0%, transparent 52%);
}
body.home-page #realisations .work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .75s cubic-bezier(.22,1,.36,1);
}
body.home-page #realisations .work-card:hover .work-img img {
  transform: scale(1.07);
}
body.home-page #realisations .work-tag {
  z-index: 2;
  top: 24px;
  left: 24px;
  background: rgba(255,255,255,.92);
  color: #062541;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 11px;
  letter-spacing: .08em;
  backdrop-filter: blur(10px);
}
body.home-page #realisations .work-body {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 760px;
  padding: clamp(26px, 4vw, 58px);
  color: #fff;
}
body.home-page #realisations .work-body h3 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(28px, 4.4vw, 58px);
  line-height: .98;
  letter-spacing: 0;
  color: #fff;
}
body.home-page #realisations .work-meta {
  margin-bottom: 22px;
  color: rgba(255,255,255,.72);
  font-size: clamp(14px, 1.3vw, 18px);
}
body.home-page #realisations .work-stats {
  gap: clamp(18px, 3vw, 38px);
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.22);
}
body.home-page #realisations .work-stats div span {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
body.home-page #realisations .work-stats div strong {
  color: #ffd34f;
  font-size: clamp(18px, 2vw, 26px);
}
body.home-page #realisations .work-horizontal-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
}
body.home-page #realisations .work-horizontal-foot .btn {
  background: transparent;
  border-color: rgba(6,37,65,.18);
}
@media (max-width: 980px) {
  body.home-page #realisations.work-horizontal {
    min-height: auto !important;
    overflow: hidden;
  }
  body.home-page #realisations .work-sticky {
    position: relative;
    min-height: auto;
    padding: 88px 0 72px;
    overflow: visible;
  }
  body.home-page #realisations .work-horizontal-head {
    display: block;
  }
  body.home-page #realisations .work-controls {
    margin-top: 26px;
  }
  body.home-page #realisations .filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  body.home-page #realisations .filter-btn {
    white-space: nowrap;
  }
  body.home-page #realisations .work-viewport {
    overflow-x: auto;
    padding-left: var(--work-pad);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  body.home-page #realisations .work-viewport::-webkit-scrollbar {
    display: none;
  }
  body.home-page #realisations .work-grid {
    transform: none !important;
  }
  body.home-page #realisations .work-card {
    flex-basis: min(86vw, 560px);
    height: clamp(640px, 68vh, 780px);
    min-height: 460px;
    scroll-snap-align: start;
  }
  body.home-page #realisations .work-body h3 {
    font-size: clamp(28px, 9vw, 42px);
  }
  body.home-page #realisations .work-progress {
    display: none;
  }
  body.home-page #realisations .work-horizontal-foot {
    justify-content: flex-start;
    margin-top: 8px;
  }
}
@media (max-width: 560px) {
  body.home-page #realisations .section-head h2 {
    font-size: clamp(36px, 13vw, 54px);
  }
  body.home-page #realisations .work-card {
    flex-basis: 88vw;
    height: 520px;
  }
  body.home-page #realisations .work-body {
    padding: 26px;
  }
  body.home-page #realisations .work-stats {
    flex-wrap: wrap;
  }
}
/* Ajustements finaux du rail réalisations */
body.home-page section#realisations.work-horizontal .work-sticky {
  justify-content: flex-start;
  padding-top: calc(76px + clamp(18px, 3vh, 28px));
  padding-bottom: clamp(18px, 3vh, 28px);
  gap: clamp(14px, 2.4vh, 22px);
}
body.home-page section#realisations.work-horizontal .section-head h2 {
  font-size: clamp(36px, 5vw, 66px);
}
body.home-page section#realisations.work-horizontal .section-head p {
  font-size: clamp(15px, 1.5vw, 18px);
}
body.home-page section#realisations.work-horizontal .work-card {
  height: clamp(360px, 48vh, 620px);
  min-height: 360px;
}
body.home-page section#realisations.work-horizontal .work-card.reveal {
  opacity: 1;
  transform: none;
}
body.home-page section#realisations.work-horizontal .work-body h3 {
  color: #fff !important;
  font-size: clamp(26px, 3.8vw, 50px);
}
body.home-page section#realisations.work-horizontal .work-meta {
  color: rgba(255,255,255,.76) !important;
}
body.home-page section#realisations.work-horizontal .work-stats div span {
  color: rgba(255,255,255,.62) !important;
}
body.home-page section#realisations.work-horizontal .work-stats div strong {
  color: #ffd34f !important;
}
@media (max-width: 980px) {
  body.home-page section#realisations.work-horizontal .work-card {
    height: clamp(640px, 68vh, 780px);
    min-height: 460px;
  }
}
@media (max-width: 560px) {
  body.home-page section#realisations.work-horizontal .work-card {
    height: 520px;
  }
}
/* Lisibilité renforcée des titres réalisations */
body.home-page #realisations.work-horizontal .work-card .work-body h3,
body.home-page section#realisations.work-horizontal article.work-card .work-body h3,
body.home-page section#realisations.work-horizontal article.work-card h3 {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.38);
}
body.home-page #realisations.work-horizontal .work-card .work-body {
  text-shadow: 0 1px 14px rgba(0,0,0,.28);
}

/* Section avis modernisée */
#avis.proof-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(86px, 9vw, 132px) 0;
  background:
    linear-gradient(135deg, #062541 0%, #06466f 54%, #183f4a 100%);
  color: #fff;
}
#avis.proof-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .18;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
#avis.proof-section::after {
  content: "";
  position: absolute;
  inset: auto -10% -26% -10%;
  height: 48%;
  z-index: -1;
  background: linear-gradient(90deg, rgba(232,160,32,.26), rgba(255,255,255,.08), rgba(6,70,111,.18));
  filter: blur(70px);
  opacity: .72;
}
#avis.proof-section .container { position: relative; }
#avis.proof-section .proof-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 58px);
}
#avis.proof-section .section-head {
  text-align: left;
  max-width: 780px;
  margin: 0;
}
#avis.proof-section .section-head .eyebrow {
  color: var(--gold) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
#avis.proof-section .section-head h2 {
  color: #fff;
  font-size: clamp(36px, 5.2vw, 72px);
  max-width: 920px;
  text-wrap: balance;
}
#avis.proof-section .section-head p {
  color: rgba(255,255,255,.74);
  max-width: 700px;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.75;
}
#avis.proof-section .proof-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
#avis.proof-section .proof-kpi {
  min-height: 104px;
  padding: 18px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
#avis.proof-section .proof-kpi strong {
  display: block;
  color: #fff;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1;
}
#avis.proof-section .proof-kpi span {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.35;
}
#avis.proof-section .proof-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
}
#avis.proof-section .proof-score-card,
#avis.proof-section .proof-review-card {
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0,0,0,.22);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
#avis.proof-section .proof-score-card:hover,
#avis.proof-section .proof-review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232,160,32,.52);
  box-shadow: 0 36px 100px rgba(0,0,0,.28);
}
#avis.proof-section .proof-score-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  padding: clamp(28px, 3vw, 38px);
  text-decoration: none;
  background:
    linear-gradient(155deg, rgba(255,255,255,.98), rgba(255,255,255,.88));
  color: var(--night);
}
#avis.proof-section .proof-card-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
#avis.proof-section .proof-card-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(232,160,32,.14);
}
#avis.proof-section .google-score {
  font-family: var(--font-sans);
  font-size: clamp(72px, 7vw, 106px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #071b2b;
}
#avis.proof-section .google-score small {
  font-size: .28em;
  color: var(--slate-400);
  letter-spacing: 0;
}
#avis.proof-section .stars {
  margin: 0;
  color: var(--gold);
  font-size: 30px;
  letter-spacing: 5px;
  line-height: 1;
}
#avis.proof-section .google-count {
  color: var(--slate-500);
  font-size: 15px;
  font-weight: 700;
}
#avis.proof-section .proof-rating-bar {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(6,37,65,.10);
  margin: 8px 0 2px;
}
#avis.proof-section .proof-rating-bar span {
  display: block;
  width: 94%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #ffd96b);
}
#avis.proof-section .proof-google-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: #12304a;
  font-size: 14px;
  font-weight: 800;
}
#avis.proof-section .proof-review-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: clamp(30px, 4.4vw, 58px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(245,249,252,.90));
  color: var(--night);
}
#avis.proof-section .proof-review-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(232,160,32,.14), transparent 34%, rgba(6,70,111,.08));
  pointer-events: none;
}
#avis.proof-section .proof-review-card > * { position: relative; }
#avis.proof-section .proof-quote-mark {
  position: absolute;
  right: clamp(28px, 4vw, 54px);
  top: 18px;
  color: rgba(232,160,32,.18);
  font-family: Georgia, serif;
  font-size: clamp(110px, 12vw, 190px);
  line-height: .8;
  pointer-events: none;
}
#avis.proof-section .review-slider {
  min-height: 205px;
  margin-top: clamp(22px, 3vw, 34px);
}
#avis.proof-section .review-slide {
  transform: translateX(18px) translateY(0);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
#avis.proof-section .review-slide.active {
  transform: translateX(0) translateY(0);
}
#avis.proof-section .review-quote {
  max-width: 900px;
  color: #0c263d;
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.45vw, 34px);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin-bottom: clamp(26px, 3vw, 38px);
}
#avis.proof-section .review-quote::before { content: none; }
#avis.proof-section .review-author {
  gap: 16px;
}
#avis.proof-section .review-avatar {
  width: 58px;
  height: 58px;
  color: var(--gold);
  background: #071b2b;
  box-shadow: 0 12px 30px rgba(7,27,43,.22);
}
#avis.proof-section .review-author strong {
  color: #071b2b;
  font-size: 17px;
}
#avis.proof-section .review-author span {
  color: var(--slate-500);
  font-size: 14px;
}
#avis.proof-section .proof-review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(24px, 3vw, 38px);
}
#avis.proof-section .review-dots {
  margin-top: 0;
}
#avis.proof-section .review-dots button {
  width: 10px;
  height: 10px;
  background: rgba(6,37,65,.18);
}
#avis.proof-section .review-dots button.active {
  width: 34px;
  background: var(--gold);
}
#avis.proof-section .proof-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
#avis.proof-section .proof-live span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #1aa36f;
  box-shadow: 0 0 0 7px rgba(26,163,111,.12);
}
@media (max-width: 980px) {
  #avis.proof-section .proof-head,
  #avis.proof-section .proof-layout {
    grid-template-columns: 1fr;
  }
  #avis.proof-section .proof-kpis {
    max-width: 620px;
  }
  #avis.proof-section .proof-score-card,
  #avis.proof-section .proof-review-card {
    min-height: auto;
  }
}
@media (max-width: 640px) {
  #avis.proof-section {
    padding: 70px 0 86px;
  }
  #avis.proof-section .proof-kpis {
    grid-template-columns: 1fr;
  }
  #avis.proof-section .proof-score-card,
  #avis.proof-section .proof-review-card {
    border-radius: 22px;
    padding: 26px;
  }
  #avis.proof-section .google-score {
    font-size: 72px;
  }
  #avis.proof-section .review-quote {
    font-size: 21px;
  }
  #avis.proof-section .proof-review-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Priorité finale section avis modernisée */
body.home-page section.section#avis.section-sky.proof-section {
  color: #fff !important;
  background: linear-gradient(135deg, #062541 0%, #06466f 54%, #183f4a 100%) !important;
}
body.home-page section.section#avis.section-sky.proof-section .section-head h2,
body.home-page section.section#avis.section-sky.proof-section .proof-kpi strong {
  color: #fff !important;
}
body.home-page section.section#avis.section-sky.proof-section .section-head p,
body.home-page section.section#avis.section-sky.proof-section .proof-kpi span {
  color: rgba(255,255,255,.74) !important;
}
body.home-page section.section#avis.section-sky.proof-section .proof-score-card.google-card {
  background: linear-gradient(155deg, rgba(255,255,255,.98), rgba(255,255,255,.88)) !important;
  color: var(--night) !important;
  border-color: rgba(255,255,255,.24) !important;
}
body.home-page section.section#avis.section-sky.proof-section .proof-review-card {
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(245,249,252,.90)) !important;
  color: var(--night) !important;
  border-color: rgba(255,255,255,.24) !important;
}
body.home-page section.section#avis.section-sky.proof-section .proof-review-card .review-slider {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
body.home-page section.section#avis.section-sky.proof-section .review-quote,
body.home-page section.section#avis.section-sky.proof-section .review-author strong {
  color: #0c263d !important;
}
body.home-page section.section#avis.section-sky.proof-section .review-author span,
body.home-page section.section#avis.section-sky.proof-section .proof-live {
  color: var(--slate-500) !important;
}
/* Section avis compacte */
body.home-page section.section#avis.section-sky.avis-compact {
  position: relative;
  overflow: hidden;
  color: #fff !important;
  padding: clamp(56px, 6vw, 86px) 0 !important;
  background: linear-gradient(135deg, #062541 0%, #06466f 62%, #062541 100%) !important;
}
body.home-page section#avis.avis-compact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .14;
  pointer-events: none;
}
body.home-page section#avis.avis-compact .avis-compact-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .74fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
}
body.home-page section#avis.avis-compact .avis-compact-head {
  max-width: 560px;
}
body.home-page section#avis.avis-compact .eyebrow {
  color: var(--gold) !important;
  margin-bottom: 16px;
}
body.home-page section#avis.avis-compact h2 {
  color: #fff !important;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.02;
  margin: 0 0 18px;
  text-wrap: balance;
}
body.home-page section#avis.avis-compact .avis-compact-head p {
  color: rgba(255,255,255,.74) !important;
  font-size: clamp(16px, 1.5vw, 19px);
  margin: 0;
}
body.home-page section#avis.avis-compact .avis-compact-head strong {
  color: var(--gold);
  font-size: 1.2em;
}
body.home-page section#avis.avis-compact .avis-compact-slider,
body.home-page section#avis.avis-compact .review-slider {
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
body.home-page section#avis.avis-compact .avis-compact-slider {
  border-left: 1px solid rgba(255,255,255,.18) !important;
  padding-left: clamp(26px, 4vw, 54px) !important;
}
body.home-page section#avis.avis-compact .review-slider {
  min-height: 178px;
}
body.home-page section#avis.avis-compact .review-slide {
  transform: translateY(10px);
}
body.home-page section#avis.avis-compact .review-slide.active {
  transform: translateY(0);
}
body.home-page section#avis.avis-compact .review-quote {
  color: #fff !important;
  max-width: 850px;
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.2vw, 19px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  margin: 0 0 26px;
}
body.home-page section#avis.avis-compact .review-quote::before {
  content: "“";
  color: var(--gold);
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.25em;
  margin-right: 6px;
}
body.home-page section#avis.avis-compact .review-author {
  gap: 14px;
}
body.home-page section#avis.avis-compact .review-avatar {
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,.12);
  color: var(--gold);
  border: 1px solid rgba(255,255,255,.18);
}
body.home-page section#avis.avis-compact .review-author strong {
  color: #fff !important;
  font-size: 15px;
}
body.home-page section#avis.avis-compact .review-author span {
  color: rgba(255,255,255,.66) !important;
  font-size: 13px;
}
body.home-page section#avis.avis-compact .avis-compact-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}
body.home-page section#avis.avis-compact .review-dots {
  margin-top: 0;
}
body.home-page section#avis.avis-compact .review-dots button {
  background: rgba(255,255,255,.42);
}
body.home-page section#avis.avis-compact .review-dots button.active {
  background: var(--gold);
}
body.home-page section#avis.avis-compact .avis-google-link {
  color: rgba(255,255,255,.82);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(232,160,32,.7);
  padding-bottom: 3px;
}
body.home-page section#avis.avis-compact .avis-google-link:hover {
  color: var(--gold);
}
@media (max-width: 860px) {
  body.home-page section#avis.avis-compact .avis-compact-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  body.home-page section#avis.avis-compact .avis-compact-slider {
    border-left: 0 !important;
    padding-left: 0 !important;
  }
}
@media (max-width: 560px) {
  body.home-page section.section#avis.section-sky.avis-compact {
    padding: 52px 0 66px !important;
  }
  body.home-page section#avis.avis-compact .review-slider {
    min-height: 245px;
  }
  body.home-page section#avis.avis-compact .avis-compact-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Fenêtre 3D agrandie */
body.home-page #maison-3d .container {
  max-width: min(1480px, calc(100vw - 48px));
}
body.home-page #maison-3d .scene3d-stage {
  border-radius: 26px;
}
/* Navbar blanche permanente */
.header,
.header.scrolled {
  background: #fff !important;
  border-bottom: 1px solid rgba(0,67,123,.10) !important;
  box-shadow: 0 12px 34px rgba(3,27,49,.08) !important;
  -webkit-backdrop-  backdrop-}
.header .nav-link,
.header .header-phone {
  color: var(--night) !important;
}
.header .nav-link:hover,
.header .nav-link.active {
  background: #f3f8fc !important;
  color: var(--night) !important;
}
/* Navbar unifiée façon Réalisations */
.header,
.header.scrolled {
  background: #fff !important;
  border-bottom: 1px solid rgba(0,67,123,.10) !important;
  box-shadow: 0 10px 30px rgba(3,27,49,.08) !important;
  -webkit-backdrop-  backdrop-}
.header .header-inner {
  height: 94px !important;
  max-width: min(1680px, calc(100vw - 64px));
  padding: 0 28px;
}
.header .logo-image {
  width: 176px !important;
  min-height: 70px !important;
  padding: 6px 12px !important;
  border-radius: 8px;
  background: #fff;
}
.header .logo-image img {
  width: 150px !important;
}
.header .nav {
  gap: 14px !important;
}
.header .nav-link {
  min-height: 58px;
  padding: 0 18px !important;
  font-size: clamp(14px, .78vw, 16px) !important;
  font-weight: 500 !important;
  color: var(--night) !important;
  border-radius: 10px !important;
}
.header .nav-link:hover,
.header .nav-link.active {
  background: #f3f8fc !important;
  color: var(--night) !important;
}
.header .nav-link .chev {
  width: 17px !important;
  height: 17px !important;
}
.header .header-cta {
  gap: 22px !important;
}
.header .header-phone {
  font-size: clamp(16px, .95vw, 20px) !important;
  color: var(--night) !important;
  font-weight: 600 !important;
  white-space: nowrap;
}
.header .header-phone svg {
  width: 22px !important;
  height: 22px !important;
  color: var(--gold-dark) !important;
}
.header .header-cta .btn-primary {
  min-height: 70px;
  padding: 0 40px !important;
  border-radius: 10px !important;
  font-size: clamp(16px, .95vw, 20px) !important;
  font-weight: 800 !important;
  box-shadow: 0 18px 36px rgba(232,160,32,.28) !important;
}
.header .megamenu {
  top: calc(100% + 14px) !important;
}
@media (max-width: 1180px) {
  .header .header-inner {
    height: 78px !important;
    max-width: none;
    padding: 0 20px;
  }
  .header .logo-image {
    width: 132px !important;
    min-height: 54px !important;
  }
  .header .logo-image img {
    width: 112px !important;
  }
}
/* Navbar compacte sur écrans intermédiaires */
@media (min-width: 1025px) and (max-width: 1400px) {
  .header .header-inner {
    max-width: none;
    height: 84px !important;
    padding: 0 22px;
  }
  .header .logo-image {
    width: 146px !important;
    min-height: 60px !important;
    padding: 5px 10px !important;
  }
  .header .logo-image img {
    width: 124px !important;
  }
  .header .nav {
    gap: 6px !important;
  }
  .header .nav-link {
    min-height: 50px;
    padding: 0 11px !important;
    font-size: 14px !important;
  }
  .header .header-cta {
    gap: 12px !important;
  }
  .header .header-phone {
    font-size: 15px !important;
  }
  .header .header-phone svg {
    width: 18px !important;
    height: 18px !important;
  }
  .header .header-cta .btn-primary {
    min-height: 58px;
    padding: 0 24px !important;
    font-size: 15px !important;
  }
}
/* Logo PNG sans cartouche blanc dans la navbar */
.header .logo-image {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.header .logo-image img {
  display: block;
}
@media (min-width: 1025px) and (max-width: 1400px) {
  .header .logo-image {
    padding: 0 !important;
  }
}
/* Carte Google Maps zones */
body.home-page #zones .zones-map {
  padding: 0 !important;
  min-height: 430px;
  border-radius: 28px;
  overflow: hidden;
  display: block;
  border: 1px solid rgba(0,67,123,.12);
  background: #062541;
  box-shadow: 0 28px 70px rgba(3,27,49,.16);
}
body.home-page #zones .zones-map iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  display: block;
}
body.home-page #zones .map-open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #062541;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 12px 30px rgba(3,27,49,.18);
}
body.home-page #zones .map-open:hover {
  color: #062541;
  background: #ffcf34;
  transform: translateY(-2px);
}
body.home-page #zones .zone-pill {
  cursor: pointer;
}
body.home-page #zones .zone-pill:focus-visible {
  outline: 3px solid rgba(232,160,32,.35);
  outline-offset: 3px;
}
@media (max-width: 720px) {
  body.home-page #zones .zones-map,
  body.home-page #zones .zones-map iframe {
    min-height: 340px;
  }
  body.home-page #zones .map-open {
    left: 14px;
    right: 14px;
  }
}
/* Navbar plus compacte */
.header .header-inner {
  height: 78px !important;
  max-width: min(1580px, calc(100vw - 56px));
  padding: 0 24px;
}
.header .logo-image {
  width: 132px !important;
  min-height: 52px !important;
  padding: 0 !important;
}
.header .logo-image img {
  width: 112px !important;
}
.header .nav {
  gap: 8px !important;
}
.header .header-cta {
  gap: 14px !important;
}
.header .header-phone {
  font-size: 15px !important;
  gap: 7px !important;
}
.header .header-phone svg {
  width: 18px !important;
  height: 18px !important;
}
.header .header-cta .btn-primary {
  min-height: 52px !important;
  padding: 0 24px !important;
  border-radius: 9px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 26px rgba(232,160,32,.24) !important;
}
@media (min-width: 1025px) and (max-width: 1400px) {
  .header .header-inner {
    height: 74px !important;
    max-width: none;
    padding: 0 20px;
  }
  .header .logo-image {
    width: 118px !important;
    min-height: 48px !important;
  }
  .header .logo-image img {
    width: 100px !important;
  }
  .header .nav {
    gap: 5px !important;
  }
  .header .header-cta {
    gap: 10px !important;
  }
  .header .header-phone {
    font-size: 14px !important;
  }
  .header .header-phone svg {
    width: 17px !important;
    height: 17px !important;
  }
  .header .header-cta .btn-primary {
    min-height: 48px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
  }
}
@media (max-width: 1180px) {
  .header .logo-image {
    width: 112px !important;
    min-height: 46px !important;
  }
  .header .logo-image img {
    width: 94px !important;
  }
}
/* TerraElix-inspired video hero for E2S */
.hero-terraelix {
  min-height: 100svh;
  padding: 0;
  align-items: stretch;
  color: #fff;
  background: #061928;
  isolation: isolate;
}

.hero-terraelix .hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.04);
}

.hero-terraelix .hero-bg::after {
  background:
    radial-gradient(circle at 78% 20%, rgba(255,207,52,.26), transparent 30%),
    linear-gradient(90deg, rgba(3,22,36,.90) 0%, rgba(3,22,36,.68) 42%, rgba(3,22,36,.34) 78%, rgba(3,22,36,.50) 100%),
    linear-gradient(0deg, rgba(3,22,36,.58), transparent 48%);
}

.hero-terraelix::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .34;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.55) 52%, transparent 100%);
}

.hero-terraelix::after {
  content: "";
  position: absolute;
  left: 4vw;
  right: 4vw;
  bottom: 34px;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,207,52,.72), rgba(255,255,255,.38), transparent);
  transform: rotate(-3deg);
  opacity: .72;
}

.hero-terraelix-container {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 138px;
  padding-bottom: 70px;
}

.hero-terraelix-content {
  width: 100%;
  max-width: 1180px;
}

.hero-terraelix-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: rgba(255,255,255,.86);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 10px 16px;
  backdrop-filter: blur(12px);
}

.hero-terraelix-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(255,207,52,.18);
}

.hero-terraelix h1 {
  margin: 0;
  max-width: 1120px;
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: .86;
  letter-spacing: 0;
  color: #fff;
}

.hero-terraelix .hero-line {
  display: block;
  text-wrap: balance;
  text-shadow: 0 24px 70px rgba(0,0,0,.34);
}

.hero-terraelix .hero-line-main {
  font-size: 106px;
}

.hero-terraelix .hero-line-soft {
  font-size: 96px;
  color: rgba(255,255,255,.46);
}

.hero-terraelix .hero-line-gold {
  font-size: 112px;
  color: var(--gold);
}

.hero-terraelix-bottom {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.hero-terraelix-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 270px;
  min-height: 68px;
  padding: 0 30px;
  color: #061928;
  background: #fff;
  border: 1px solid rgba(255,255,255,.62);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  transition: transform .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease);
}

.hero-terraelix-cta:hover {
  transform: translateY(-4px);
  background: var(--gold);
  box-shadow: 0 30px 84px rgba(0,0,0,.34);
}

.hero-terraelix-cta span {
  font-size: 24px;
  line-height: 1;
}

.hero-terraelix-bottom p {
  max-width: 360px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .hero-terraelix .hero-line-main,
  .hero-terraelix .hero-line-gold {
    font-size: 78px;
  }

  .hero-terraelix .hero-line-soft {
    font-size: 70px;
  }
}

@media (max-width: 760px) {
  .hero-terraelix {
    min-height: 92svh;
  }

  .hero-terraelix-container {
    min-height: 92svh;
    padding-top: 112px;
    padding-bottom: 44px;
  }

  .hero-terraelix-kicker {
    font-size: 12px;
    padding: 8px 12px;
    margin-bottom: 18px;
  }

  .hero-terraelix .hero-line-main,
  .hero-terraelix .hero-line-gold {
    font-size: 46px;
    line-height: .94;
  }

  .hero-terraelix .hero-line-soft {
    font-size: 41px;
    line-height: .96;
  }

  .hero-terraelix-bottom {
    display: grid;
    gap: 16px;
    margin-top: 28px;
  }

  .hero-terraelix-cta {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    font-size: 16px;
  }

  .hero-terraelix-bottom p {
    font-size: 15px;
  }
}

/* Hero requested simplification: no location badge, white left title */
.hero-terraelix-kicker {
  display: none !important;
}

.hero-terraelix-content {
  max-width: 980px;
}

.hero-terraelix h1 {
  max-width: 980px;
  color: #ffffff !important;
  line-height: .94;
}

.hero-terraelix .hero-line,
.hero-terraelix .hero-line-main,
.hero-terraelix .hero-line-soft,
.hero-terraelix .hero-line-gold {
  color: #ffffff !important;
  font-size: 82px !important;
  line-height: .96 !important;
  font-weight: 800;
  text-shadow: 0 24px 70px rgba(0,0,0,.40);
}

@media (max-width: 1180px) {
  .hero-terraelix .hero-line,
  .hero-terraelix .hero-line-main,
  .hero-terraelix .hero-line-soft,
  .hero-terraelix .hero-line-gold {
    font-size: 64px !important;
  }
}

@media (max-width: 760px) {
  .hero-terraelix .hero-line,
  .hero-terraelix .hero-line-main,
  .hero-terraelix .hero-line-soft,
  .hero-terraelix .hero-line-gold {
    font-size: 38px !important;
    line-height: 1.02 !important;
  }
}

/* Hero layout closer to the requested reference */
.hero-terraelix-container {
  align-items: center !important;
  padding-top: 110px !important;
  padding-bottom: 80px !important;
}

.hero-terraelix-content {
  max-width: 700px !important;
}

.hero-terraelix h1 {
  max-width: 700px !important;
  line-height: .98 !important;
}

.hero-terraelix .hero-line,
.hero-terraelix .hero-line-main,
.hero-terraelix .hero-line-soft,
.hero-terraelix .hero-line-gold {
  color: #ffffff !important;
  font-size: 72px !important;
  line-height: 1.02 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 22px 64px rgba(0,0,0,.48) !important;
}

.hero-terraelix-sub {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 500;
  text-shadow: 0 16px 42px rgba(0,0,0,.45);
}

.hero-terraelix-bottom {
  margin-top: 34px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.hero-terraelix-cta {
  min-width: 250px !important;
  min-height: 62px !important;
  color: #061928 !important;
  background: linear-gradient(135deg, #ffcf34 0%, #f2a916 100%) !important;
  border: 1px solid rgba(255,207,52,.9) !important;
  border-radius: 10px !important;
  box-shadow: 0 22px 60px rgba(242,169,22,.30), 0 18px 50px rgba(0,0,0,.24) !important;
}

.hero-terraelix-cta:hover {
  background: #ffcf34 !important;
  transform: translateY(-4px) !important;
}

@media (max-width: 1180px) {
  .hero-terraelix-content,
  .hero-terraelix h1 {
    max-width: 620px !important;
  }

  .hero-terraelix .hero-line,
  .hero-terraelix .hero-line-main,
  .hero-terraelix .hero-line-soft,
  .hero-terraelix .hero-line-gold {
    font-size: 58px !important;
  }
}

@media (max-width: 760px) {
  .hero-terraelix-container {
    align-items: flex-end !important;
    padding-top: 104px !important;
    padding-bottom: 48px !important;
  }

  .hero-terraelix .hero-line,
  .hero-terraelix .hero-line-main,
  .hero-terraelix .hero-line-soft,
  .hero-terraelix .hero-line-gold {
    font-size: 38px !important;
    line-height: 1.05 !important;
  }

  .hero-terraelix-sub {
    margin-top: 20px;
    font-size: 15px;
  }

  .hero-terraelix-bottom {
    margin-top: 24px !important;
  }

  .hero-terraelix-cta {
    min-height: 58px !important;
    width: 100% !important;
  }
}

/* Force hero text block to the left like the reference */
.hero-terraelix-container {
  justify-content: flex-start !important;
}

.hero-terraelix-content,
.hero-terraelix h1,
.hero-terraelix-sub,
.hero-terraelix-bottom {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.hero-terraelix .hero-line {
  width: max-content !important;
  max-width: 100% !important;
  text-align: left !important;
  text-wrap: normal !important;
}

/* Pull the hero composition closer to the left edge */
.hero-terraelix .hero-terraelix-container {
  max-width: none !important;
  width: 100% !important;
  padding-left: clamp(42px, 7vw, 118px) !important;
  padding-right: clamp(24px, 5vw, 80px) !important;
}

.hero-terraelix-content {
  transform: translateX(0) !important;
}

/* Keep hero title locked on exactly three lines */
.hero-terraelix .hero-line {
  display: block !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .hero-terraelix .hero-line,
  .hero-terraelix .hero-line-main,
  .hero-terraelix .hero-line-soft,
  .hero-terraelix .hero-line-gold {
    font-size: 34px !important;
  }
}

@media (max-width: 380px) {
  .hero-terraelix .hero-line,
  .hero-terraelix .hero-line-main,
  .hero-terraelix .hero-line-soft,
  .hero-terraelix .hero-line-gold {
    font-size: 31px !important;
  }
}

/* Hero expertise index */
.hero-terraelix .hero-terraelix-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(440px, .82fr);
  gap: clamp(34px, 4vw, 64px);
  align-items: center !important;
}

.hero-terraelix .hero-line,
.hero-terraelix .hero-line-main,
.hero-terraelix .hero-line-soft,
.hero-terraelix .hero-line-gold {
  font-size: clamp(54px, 4.2vw, 62px) !important;
}

.hero-expertise-panel {
  width: 100%;
  max-width: 560px;
  justify-self: end;
  padding: 22px 24px 10px;
  color: #fff;
  background: rgba(3, 22, 36, .58);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  animation: heroExpertiseIn .9s cubic-bezier(.22, .8, .25, 1) .35s both;
}

.hero-expertise-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 18px;
}

.hero-expertise-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-expertise-heading > span::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.hero-expertise-heading > strong {
  max-width: 250px;
  color: rgba(255, 255, 255, .94);
  font-size: 14px;
  line-height: 1.35;
  text-align: right;
}

.hero-expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-solution {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 11px;
  min-height: 78px;
  padding: 12px 13px 12px 0;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .14);
  transition: color .25s ease, transform .25s ease, background .25s ease;
}

.hero-solution:nth-child(2n) {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.hero-solution:hover,
.hero-solution:focus-visible {
  color: var(--gold);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .045);
}

.hero-solution-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #061928;
  background: var(--gold);
  border-radius: 6px;
  transition: transform .25s ease, background .25s ease;
}

.hero-solution:hover .hero-solution-icon,
.hero-solution:focus-visible .hero-solution-icon {
  transform: translateY(-2px) scale(1.04);
  background: #fff;
}

.hero-solution-icon img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.hero-solution-icon svg {
  width: 27px;
  height: 27px;
}

.hero-solution-copy {
  min-width: 0;
}

.hero-solution-copy strong,
.hero-solution-copy small {
  display: block;
  letter-spacing: 0;
}

.hero-solution-copy strong {
  color: currentColor;
  font-size: 13px;
  line-height: 1.25;
}

.hero-solution-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  line-height: 1.3;
}

.hero-solution-arrow {
  color: rgba(255, 255, 255, .46);
  font-size: 16px;
  transition: color .25s ease, transform .25s ease;
}

.hero-solution:hover .hero-solution-arrow,
.hero-solution:focus-visible .hero-solution-arrow {
  color: var(--gold);
  transform: translate(2px, -2px);
}

@keyframes heroExpertiseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .hero-terraelix .hero-terraelix-container {
    grid-template-columns: minmax(0, 600px) minmax(390px, 1fr);
    gap: 36px;
  }

  .hero-expertise-panel {
    padding-inline: 18px;
  }

  .hero-solution {
    grid-template-columns: 38px minmax(0, 1fr) 14px;
    gap: 9px;
  }

  .hero-solution-icon {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 980px) {
  .hero-terraelix .hero-terraelix-container {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 30px;
    padding-top: 132px !important;
    padding-bottom: 48px !important;
  }

  .hero-terraelix-content {
    max-width: 660px !important;
  }

  .hero-expertise-panel {
    max-width: 720px;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .hero-terraelix .hero-terraelix-container {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: flex-end !important;
    gap: 18px;
    min-height: 100svh;
    padding: 104px 20px 84px !important;
  }

  .hero-terraelix .hero-line,
  .hero-terraelix .hero-line-main,
  .hero-terraelix .hero-line-soft,
  .hero-terraelix .hero-line-gold {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(26px, 7.2vw, 29px) !important;
    line-height: 1.06 !important;
    white-space: nowrap !important;
  }

  .hero-terraelix-sub {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-terraelix-bottom {
    margin-top: 18px !important;
  }

  .hero-terraelix-cta {
    min-height: 52px !important;
  }

  .hero-expertise-panel {
    max-width: none;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-expertise-heading {
    padding-bottom: 10px;
  }

  .hero-expertise-heading > strong {
    display: none;
  }

  .hero-expertise-grid {
    display: flex;
    gap: 8px;
    padding: 2px 1px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero-expertise-grid::-webkit-scrollbar {
    display: none;
  }

  .hero-solution,
  .hero-solution:nth-child(2n) {
    flex: 0 0 194px;
    grid-template-columns: 36px minmax(0, 1fr);
    min-height: 58px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 8px;
    background: rgba(3, 22, 36, .62);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    scroll-snap-align: start;
  }

  .hero-solution-icon {
    width: 34px;
    height: 34px;
  }

  .hero-solution-icon img {
    width: 24px;
    height: 24px;
  }

  .hero-solution-copy strong {
    font-size: 12px;
  }

  .hero-solution-copy small {
    display: none;
  }

  .hero-solution-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-expertise-panel {
    animation: none;
  }
}
/* /Hero expertise index */

/* Hero editorial expertise line */
.hero-terraelix .hero-terraelix-container {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
}

.hero-terraelix-content,
.hero-terraelix h1 {
  width: 100%;
  max-width: 900px !important;
}

.hero-terraelix .hero-line,
.hero-terraelix .hero-line-main,
.hero-terraelix .hero-line-soft,
.hero-terraelix .hero-line-gold {
  font-size: clamp(60px, 5vw, 76px) !important;
}

.hero-highlight {
  color: var(--gold) !important;
  text-shadow: 0 12px 42px rgba(242, 169, 22, .18);
}

.hero-terraelix-sub {
  max-width: 660px;
}

.hero-expertise-inline {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 890px;
  margin-top: 22px;
  line-height: 1.45;
}

.hero-expertise-inline-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-top: 3px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-expertise-inline-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.hero-expertise-inline-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 6px;
}

.hero-expertise-inline-links a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: color .22s ease, transform .22s ease;
}

.hero-expertise-inline-links a:not(:last-child)::after {
  content: "•";
  margin: 0 10px;
  color: var(--gold);
  font-size: 11px;
}

.hero-expertise-inline-links a:hover,
.hero-expertise-inline-links a:focus-visible {
  color: var(--gold);
  transform: translateY(-1px);
}

.hero-terraelix-bottom {
  margin-top: 28px !important;
}

@media (max-width: 980px) {
  .hero-terraelix .hero-terraelix-container {
    padding-top: 126px !important;
    padding-bottom: 64px !important;
  }

  .hero-terraelix-content,
  .hero-terraelix h1 {
    max-width: 760px !important;
  }

  .hero-terraelix .hero-line,
  .hero-terraelix .hero-line-main,
  .hero-terraelix .hero-line-soft,
  .hero-terraelix .hero-line-gold {
    font-size: clamp(50px, 7vw, 66px) !important;
  }
}

@media (max-width: 760px) {
  .hero-terraelix .hero-terraelix-container {
    align-items: flex-end !important;
    justify-content: flex-end !important;
    min-height: 100svh;
    padding: 104px 20px 84px !important;
  }

  .hero-terraelix .hero-line,
  .hero-terraelix .hero-line-main,
  .hero-terraelix .hero-line-soft,
  .hero-terraelix .hero-line-gold {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(26px, 7.2vw, 29px) !important;
    line-height: 1.06 !important;
    white-space: nowrap !important;
  }

  .hero-terraelix-sub {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-expertise-inline {
    display: block;
    margin-top: 14px;
  }

  .hero-expertise-inline-label {
    margin-bottom: 6px;
    padding-top: 0;
    font-size: 9px;
  }

  .hero-expertise-inline-label::before {
    width: 18px;
  }

  .hero-expertise-inline-links {
    row-gap: 3px;
  }

  .hero-expertise-inline-links a {
    font-size: 11px;
  }

  .hero-expertise-inline-links a:not(:last-child)::after {
    margin: 0 6px;
    font-size: 8px;
  }

  .hero-terraelix-bottom {
    margin-top: 18px !important;
  }

  .hero-terraelix-cta {
    min-height: 52px !important;
  }
}

/* E2S splash opening */
/* ===================== SPLASH E2S — overlay plein écran ===================== */
  #e2s-splash{
    --splash-bg:#ffffff;            /* fond du splash (mettre #1a4484 pour la version bleue) */
    position:fixed; inset:0; z-index:99999;
    display:flex; align-items:center; justify-content:center;
    background:var(--splash-bg);
    opacity:1; transition:opacity .6s ease;
  }
  #e2s-splash.is-hiding{ opacity:0; }                 /* fondu de sortie */
  #e2s-splash.is-done{ display:none; }                /* retiré du flux */
  #e2s-splash svg{ width:min(440px,70vw); height:auto; overflow:visible; }

  /* version négatif blanc sur fond bleu : ajouter la classe "e2s-splash--blue" sur l'overlay */
  #e2s-splash.e2s-splash--blue{ --splash-bg:#1a4484; }
  #e2s-splash.e2s-splash--blue .g-dot,#e2s-splash.e2s-splash--blue .g-refdot,
  #e2s-splash.e2s-splash--blue .g-ray,#e2s-splash.e2s-splash--blue .g-sun,
  #e2s-splash.e2s-splash--blue .g-leftline{ fill:#fff; }
  #e2s-splash.e2s-splash--blue .g-underline{ stroke:#fff; }
  #e2s-splash.e2s-splash--blue .g-e path,#e2s-splash.e2s-splash--blue .g-two path,
  #e2s-splash.e2s-splash--blue .g-ess path{ fill:#fff; }

  /* --- état initial : éléments cachés (les lettres sont gérées par leur masque) --- */
  #logoSvg [class^="g-"]{ opacity:0; }
  #logoSvg .g-e,#logoSvg .g-two,#logoSvg .g-ess{ opacity:1 !important; }

  /* ===================== ANIMATION (déclenchée par .play) ===================== */
  .g-dot{ transform-box:fill-box; transform-origin:center; }
  .play .g-dot{ animation:e2s-pop .45s cubic-bezier(.34,1.56,.64,1) forwards; }
  .play #p1{animation-delay:.05s;} .play #p15{animation-delay:.13s;}
  .play #p14{animation-delay:.21s;} .play #p16{animation-delay:.29s;}
  .play #p17{animation-delay:.37s;} .play #p18{animation-delay:.45s;}
  .play #p19{animation-delay:.53s;} .play #p3{animation-delay:.60s;}

  .g-ray{ transform-box:view-box; transform-origin:50px 58px; }
  .play .g-ray{ animation:e2s-grow .5s cubic-bezier(.22,1,.36,1) forwards; }
  .play #p6{animation-delay:.62s;} .play #p7{animation-delay:.70s;}
  .play #p8{animation-delay:.78s;} .play #p9{animation-delay:.86s;}
  .play #p10{animation-delay:.94s;} .play #p11{animation-delay:1.02s;}

  .g-sun{ transform-box:view-box; transform-origin:59px 66px; }
  .play .g-sun{ animation:e2s-rise .55s cubic-bezier(.22,1,.36,1) .98s forwards; }

  .g-leftline{ transform-box:view-box; transform-origin:5px 69px; }
  .play .g-leftline{ animation:e2s-wipeX .5s cubic-bezier(.22,1,.36,1) 1.15s forwards; }

  .play #m-e  { animation:e2s-draw .70s cubic-bezier(.5,.05,.3,1) 1.45s forwards; }
  .play #m-two{ animation:e2s-draw .40s cubic-bezier(.5,.05,.3,1) 2.15s forwards; }
  .play #m-ess{ animation:e2s-draw .55s cubic-bezier(.5,.05,.3,1) 2.55s forwards; }

  .play .g-underline{ animation:e2s-show 0s 3.10s forwards, e2s-draw .50s ease 3.10s forwards; }

  .g-refdot{ transform-box:fill-box; transform-origin:center; }
  .play .g-refdot{ animation:e2s-pop .4s cubic-bezier(.34,1.56,.64,1) 3.55s forwards; }

  @keyframes e2s-pop{0%{opacity:0;transform:scale(0);}100%{opacity:1;transform:scale(1);}}
  @keyframes e2s-grow{0%{opacity:0;transform:scale(.15);}100%{opacity:1;transform:scale(1);}}
  @keyframes e2s-rise{0%{opacity:0;transform:scaleY(0);}100%{opacity:1;transform:scaleY(1);}}
  @keyframes e2s-wipeX{0%{opacity:0;transform:scaleX(0);}100%{opacity:1;transform:scaleX(1);}}
  @keyframes e2s-draw{to{stroke-dashoffset:0;}}
  @keyframes e2s-show{to{opacity:1;}}

  /* ===================== Accessibilité : animations réduites ===================== */
  @media (prefers-reduced-motion: reduce){
    #logoSvg [class^="g-"]{ opacity:1 !important; animation:none !important; transform:none !important; }
    #e2s-splash .hw{ stroke-dashoffset:0 !important; animation:none !important; }
  }
/* /E2S splash opening */

/* Faster splash motion */
#e2s-splash svg {
  position: relative;
  z-index: 1;
  width: min(390px, 64vw);
}
#e2s-splash.is-hiding {
  transition-duration: .45s !important;
}
.play .g-dot { animation-duration: .30s !important; }
.play .g-ray { animation-duration: .34s !important; }
.play #p1{animation-delay:.02s;} .play #p15{animation-delay:.07s;}
.play #p14{animation-delay:.12s;} .play #p16{animation-delay:.17s;}
.play #p17{animation-delay:.22s;} .play #p18{animation-delay:.27s;}
.play #p19{animation-delay:.32s;} .play #p3{animation-delay:.37s;}
.play #p6{animation-delay:.18s;} .play #p7{animation-delay:.23s;}
.play #p8{animation-delay:.28s;} .play #p9{animation-delay:.33s;}
.play #p10{animation-delay:.38s;} .play #p11{animation-delay:.43s;}
.play .g-sun { animation-duration: .40s !important; animation-delay: .32s !important; }
.play .g-leftline { animation-duration: .36s !important; animation-delay: .43s !important; }
.play #m-e { animation-duration: .62s !important; animation-delay: .52s !important; }
.play #m-two { animation-duration: .38s !important; animation-delay: 1.10s !important; }
.play #m-ess { animation-duration: .50s !important; animation-delay: 1.42s !important; }
.play .g-underline { animation-duration: .38s !important; animation-delay: 1.88s !important; }
.play .g-refdot { animation-duration: .24s !important; animation-delay: 2.18s !important; }
/* /Faster splash motion */


/* E2S dark glass navbar */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: transparent !important;
  -webkit-backdrop-  backdrop-  border-bottom: 0 !important;
  box-shadow: none !important;
}
.header.scrolled {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
}
.header .header-inner {
  height: 72px !important;
  max-width: none !important;
  width: 100% !important;
  padding: 0 clamp(22px, 2.4vw, 42px) !important;
  display: grid !important;
  grid-template-columns: minmax(122px, 1fr) auto minmax(142px, 1fr) !important;
  align-items: center !important;
  gap: clamp(18px, 2.2vw, 34px) !important;
}
.header .logo-image {
  width: 128px !important;
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.header .logo-image img {
  content: url('../images/e2s-logo-white.svg?v=static2') !important;
  width: 112px !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
}
.header .nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
}
.header .nav-link {
  min-height: auto !important;
  padding: 8px 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55) !important;
}
.header .nav-link:hover,
.header .nav-link.active {
  color: #fff !important;
  background: transparent !important;
  box-shadow: none !important;
}
.header .nav-link:hover {
  opacity: .78 !important;
}
.header .nav-link .chev {
  width: 13px !important;
  height: 13px !important;
  color: #fff !important;
}
.header .megamenu {
  top: calc(100% + 12px) !important;
  background: rgba(8, 24, 38, .94) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34) !important;
}
.header .mega-link:hover {
  background: rgba(255, 255, 255, .08) !important;
}
.header .mega-txt strong {
  color: #fff !important;
}
.header .mega-txt span {
  color: rgba(255, 255, 255, .66) !important;
}
.header .header-cta {
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}
.header .header-phone {
  display: none !important;
}
.header .header-cta .btn-primary {
  min-height: 42px !important;
  padding: 0 24px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #ffd230, #f3a916) !important;
  color: #061623 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  box-shadow: 0 16px 38px rgba(238, 165, 20, .24) !important;
}
.header .header-cta .btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 20px 44px rgba(238, 165, 20, .32) !important;
}
.header .burger span {
  background: #fff !important;
}
.mobile-nav {
  top: 72px !important;
  background: rgba(7, 22, 35, .96) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  backdrop-filter: blur(18px) !important;
}
.mobile-nav a {
  color: #fff !important;
  border-bottom-color: rgba(255, 255, 255, .10) !important;
}
.mobile-nav .sub {
  color: rgba(255, 255, 255, .68) !important;
}
@media (max-width: 1180px) {
  .header .header-inner {
    grid-template-columns: auto 1fr auto !important;
  }
  .header .logo-image {
    width: 116px !important;
    min-height: 42px !important;
  }
  .header .logo-image img {
    width: 102px !important;
  }
  .header .nav {
    gap: 16px !important;
  }
}
@media (max-width: 1024px) {
  .header .header-inner {
    display: flex !important;
    height: 66px !important;
  }
  .header .nav,
  .header .header-cta .btn-primary {
    display: none !important;
  }
  .header .burger {
    display: block !important;
    margin-left: auto !important;
  }
}
/* /E2S dark glass navbar */

/* E2S navbar larger spaced links */
.header .header-inner {
  height: 82px !important;
  padding-left: clamp(34px, 4.8vw, 86px) !important;
  padding-right: clamp(28px, 4vw, 76px) !important;
  grid-template-columns: minmax(178px, 1fr) auto minmax(178px, 1fr) !important;
}
.header .logo-image {
  width: 172px !important;
  min-height: 58px !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 2 !important;
}
.header .logo-image img {
  content: url('../images/e2s-logo-white.svg?v=static2') !important;
  width: 154px !important;
  max-width: 154px !important;
  opacity: 1 !important;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .34)) !important;
}
.header .nav {
  gap: clamp(30px, 3vw, 48px) !important;
}
.header .nav-link {
  font-size: 15.5px !important;
  font-weight: 800 !important;
  padding: 10px 0 !important;
  letter-spacing: 0 !important;
}
.header .nav-link .chev {
  width: 15px !important;
  height: 15px !important;
}
@media (max-width: 1180px) {
  .header .header-inner {
    height: 76px !important;
    padding-left: 26px !important;
    padding-right: 26px !important;
    grid-template-columns: auto 1fr auto !important;
  }
  .header .logo-image {
    width: 138px !important;
    min-height: 50px !important;
  }
  .header .logo-image img {
    width: 124px !important;
    max-width: 124px !important;
  }
  .header .nav {
    gap: 22px !important;
  }
  .header .nav-link {
    font-size: 14px !important;
  }
}
@media (max-width: 1024px) {
  .header .header-inner {
    height: 66px !important;
  }
}
/* /E2S navbar larger spaced links */

/* E2S compact scroll nav */
@media (min-width: 1025px) {
  .header.scrolled {
    top: 18px !important;
    pointer-events: auto !important;
  }

  .header.scrolled .header-inner {
    height: 56px !important;
    width: 100% !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    pointer-events: auto !important;
  }

  .header.scrolled .logo-image,
  .header.scrolled .header-cta {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
  }

  .header.scrolled .nav {
    position: relative !important;
    width: 78px !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 !important;
    gap: 0 !important;
    justify-content: center !important;
    overflow: visible !important;
    pointer-events: auto !important;
    border-radius: 999px !important;
    background: rgba(7, 22, 35, .68) !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    box-shadow: 0 18px 52px rgba(0, 0, 0, .26) !important;
    -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
    backdrop-filter: blur(18px) saturate(150%) !important;
    transition: width .42s var(--ease), padding .42s var(--ease), gap .42s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease) !important;
  }

  .header.scrolled .nav::before {
    content: "Menu";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
    text-shadow: 0 10px 28px rgba(0, 0, 0, .42);
    transition: opacity .22s var(--ease), transform .22s var(--ease);
    pointer-events: none;
  }

  .header.scrolled .nav:hover,
  .header.scrolled.nav-expanded .nav,
  .header.scrolled .nav:focus-within {
    width: min(660px, calc(100vw - 48px)) !important;
    padding: 0 34px !important;
    gap: clamp(24px, 2.5vw, 42px) !important;
    background: rgba(7, 22, 35, .78) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .32) !important;
  }

  .header.scrolled .nav:hover::before,
  .header.scrolled.nav-expanded .nav::before,
  .header.scrolled .nav:focus-within::before {
    opacity: 0;
    transform: translateY(-4px) scale(.94);
  }

  .header.scrolled .nav .nav-item {
    max-width: 0 !important;
    opacity: 0 !important;
    transform: translateY(6px) !important;
    overflow: hidden !important;
    pointer-events: none !important;
    white-space: nowrap !important;
    transition: max-width .38s var(--ease), opacity .24s var(--ease), transform .32s var(--ease) !important;
  }

  .header.scrolled .nav:hover .nav-item,
  .header.scrolled.nav-expanded .nav .nav-item,
  .header.scrolled .nav:focus-within .nav-item {
    max-width: 190px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }

  .header.scrolled .nav-link {
    font-size: 14px !important;
    padding: 0 !important;
    text-shadow: 0 10px 28px rgba(0, 0, 0, .42) !important;
  }

  .header.scrolled .megamenu {
    top: calc(100% + 18px) !important;
  }
}
/* /E2S compact scroll nav */

/* E2S case study pages */
.case-hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #071623;
  color: #fff;
  padding: 148px 0 84px;
}
.case-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.case-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.case-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 207, 52, .20), transparent 30%),
    linear-gradient(90deg, rgba(3, 18, 30, .94) 0%, rgba(3, 18, 30, .74) 48%, rgba(3, 18, 30, .32) 100%),
    linear-gradient(0deg, rgba(3, 18, 30, .58), transparent 55%);
}
.case-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin-left: 0;
}
.case-hero .breadcrumb,
.case-hero .breadcrumb a {
  color: rgba(255,255,255,.68);
}
.case-hero .eyebrow {
  color: var(--gold);
}
.case-hero h1 {
  max-width: 860px;
  margin: 0 0 22px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(46px, 7vw, 96px);
  font-weight: 850;
  line-height: .98;
  letter-spacing: 0;
  text-shadow: 0 24px 70px rgba(0,0,0,.42);
}
.case-hero p {
  max-width: 680px;
  margin: 0 0 34px;
  color: rgba(255,255,255,.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}
.case-stats {
  padding: 0;
}
.case-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  transform: translateY(-44px);
  position: relative;
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(15,25,35,.14);
}
.case-stat {
  min-height: 132px;
  padding: 26px;
  background: #fff;
  border: 1px solid rgba(220,228,235,.82);
}
.case-stat span,
.case-info-card dt {
  display: block;
  color: var(--slate-400);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.case-stat strong {
  display: block;
  margin-top: 10px;
  color: var(--night);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.08;
}
.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(42px, 6vw, 86px);
  align-items: start;
}
.case-content {
  max-width: 780px;
}
.case-content h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}
.case-content p {
  margin: 0 0 20px;
  font-size: 18px;
  color: var(--slate-500);
}
.case-highlight {
  margin: 34px 0;
  padding: 28px;
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, rgba(232,160,32,.10), rgba(232,160,32,.03));
}
.case-highlight strong {
  display: block;
  margin-bottom: 8px;
  color: var(--night);
  font-size: 19px;
}
.case-highlight p {
  margin: 0;
}
.case-sidebar {
  position: sticky;
  top: 110px;
}
.case-info-card {
  padding: 30px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 20px 70px rgba(15,25,35,.10);
}
.case-info-card.dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  box-shadow: none;
}
.case-info-card h3 {
  margin-bottom: 20px;
  font-size: 22px;
}
.case-info-card.dark h3,
.case-info-card.dark dd {
  color: #fff;
}
.case-info-card dl {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}
.case-info-card div {
  display: grid;
  gap: 4px;
}
.case-info-card dd {
  margin: 0;
  color: var(--night);
  font-weight: 800;
}
.case-gallery {
  display: grid;
  grid-template-columns: 1.15fr .9fr .9fr;
  gap: 18px;
}
.case-gallery img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 70px rgba(15,25,35,.10);
}
.case-gallery img:first-child {
  height: 520px;
  grid-row: span 2;
}
@media (max-width: 980px) {
  .case-hero {
    min-height: 72svh;
    padding: 122px 0 58px;
  }
  .case-stats-grid,
  .case-layout,
  .case-gallery {
    grid-template-columns: 1fr;
  }
  .case-stats-grid {
    transform: translateY(-24px);
  }
  .case-sidebar {
    position: static;
  }
  .case-gallery img,
  .case-gallery img:first-child {
    height: 280px;
    grid-row: auto;
  }
}
@media (max-width: 640px) {
  .case-hero h1 {
    font-size: 42px;
    line-height: 1;
  }
  .case-stat {
    min-height: auto;
  }
}
/* /E2S case study pages */

/* E2S minimal case page */
body.case-study-page .header,
body.case-study-page .header.scrolled {
  background: rgba(255,255,255,.96) !important;
  border-bottom: 1px solid rgba(0,67,123,.10) !important;
  box-shadow: 0 12px 34px rgba(3,27,49,.08) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  backdrop-filter: blur(14px) !important;
}
body.case-study-page .header .nav-link,
body.case-study-page .header .header-phone {
  color: var(--night) !important;
  text-shadow: none !important;
}
body.case-study-page .header .nav-link:hover,
body.case-study-page .header .nav-link.active {
  color: var(--night) !important;
  background: #f3f8fc !important;
}
body.case-study-page .header .logo-image img {
  content: url('../images/e2s-logo.png') !important;
}
body.case-study-page .header .burger span {
  background: var(--night) !important;
}
.case-minimal {
  background: #fff;
  color: var(--slate-700);
  overflow: hidden;
}
.case-minimal-intro {
  padding: clamp(130px, 12vw, 190px) 0 54px;
  background: linear-gradient(180deg, #fff 0%, #fff 72%, #f6fafc 100%);
}
.case-minimal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 44px;
  color: var(--slate-400);
  font-size: 13px;
  font-weight: 700;
}
.case-minimal-breadcrumb a {
  color: var(--slate-500);
}
.case-minimal-breadcrumb a:hover {
  color: var(--gold-dark);
}
.case-minimal-breadcrumb strong {
  color: var(--night);
}
.case-minimal-kicker,
.case-minimal-label {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.case-minimal-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 500px);
  gap: clamp(30px, 6vw, 84px);
  align-items: end;
}
.case-minimal-head h1 {
  max-width: 920px;
  margin: 0;
  color: var(--night);
  font-family: var(--font-sans);
  font-size: clamp(44px, 6.2vw, 86px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: 0;
}
.case-minimal-head p {
  margin: 0 0 12px;
  color: var(--slate-500);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.55;
}
.case-minimal-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: clamp(36px, 5vw, 64px) 0 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.case-minimal-meta div {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
}
.case-minimal-meta div:last-child {
  border-right: 0;
}
.case-minimal-meta span,
.case-minimal-aside dt {
  display: block;
  color: var(--slate-400);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.case-minimal-meta strong {
  display: block;
  margin-top: 8px;
  color: var(--night);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1;
}
.case-minimal-cover {
  margin: 42px 0 0;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16 / 7;
  background: #dbe8ef;
  box-shadow: 0 28px 80px rgba(3, 27, 49, .12);
}
.case-minimal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-minimal-body {
  background: #fff;
}
.case-minimal-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 360px);
  justify-content: space-between;
  gap: clamp(42px, 8vw, 120px);
}
.case-minimal-copy h2,
.case-minimal-section-head h2,
.case-minimal-next h2 {
  margin: 0 0 24px;
  color: var(--night);
  font-family: var(--font-sans);
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}
.case-minimal-copy > p:not(.case-minimal-label),
.case-minimal-next p:not(.case-minimal-label) {
  color: var(--slate-500);
  font-size: 19px;
  line-height: 1.75;
}
.case-minimal-points {
  display: grid;
  gap: 22px;
  margin-top: 42px;
}
.case-minimal-points div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.case-minimal-points span {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
}
.case-minimal-points h3 {
  margin: 0 0 8px;
  color: var(--night);
  font-size: 22px;
}
.case-minimal-points p {
  grid-column: 2;
  margin: 0;
  color: var(--slate-500);
  line-height: 1.65;
}
.case-minimal-aside {
  position: sticky;
  top: 116px;
  align-self: start;
  padding-top: 24px;
  border-top: 3px solid var(--gold);
}
.case-minimal-aside h2 {
  margin: 0 0 22px;
  color: var(--night);
  font-size: 24px;
}
.case-minimal-aside dl {
  display: grid;
  gap: 0;
  margin: 0 0 26px;
}
.case-minimal-aside dl div {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.case-minimal-aside dd {
  margin: 7px 0 0;
  color: var(--night);
  font-size: 17px;
  font-weight: 800;
}
.case-minimal-gallery-section {
  background: #f6fafc;
}
.case-minimal-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.case-minimal-gallery {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 16px;
}
.case-minimal-gallery img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  background: #dbe8ef;
}
.case-minimal-gallery img:first-child {
  height: 560px;
}
.case-minimal-next {
  padding: clamp(66px, 9vw, 118px) 0;
  background: #fff;
}
.case-minimal-next-inner {
  display: grid;
  grid-template-columns: minmax(0, 680px) auto;
  gap: 36px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.case-minimal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
@media (max-width: 980px) {
  .case-minimal-intro { padding-top: 122px; }
  .case-minimal-head,
  .case-minimal-grid,
  .case-minimal-next-inner { grid-template-columns: 1fr; }
  .case-minimal-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-minimal-meta div:nth-child(2n) { border-right: 0; }
  .case-minimal-cover { aspect-ratio: 4 / 3; }
  .case-minimal-aside { position: static; }
  .case-minimal-gallery { grid-template-columns: 1fr; }
  .case-minimal-gallery img,
  .case-minimal-gallery img:first-child { height: 320px; }
  .case-minimal-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .case-minimal-intro { padding-top: 108px; }
  .case-minimal-breadcrumb { margin-bottom: 34px; }
  .case-minimal-head h1 { font-size: 42px; line-height: 1; }
  .case-minimal-meta { grid-template-columns: 1fr; }
  .case-minimal-meta div { border-right: 0; }
  .case-minimal-points div { grid-template-columns: 1fr; }
  .case-minimal-points p { grid-column: 1; }
  .case-minimal-cover { border-radius: 8px; }
}
/* /E2S minimal case page */
/* E2S image hero case page */
.case-image-hero {
  position: relative;
  min-height: 92svh;
  padding: clamp(104px, 9vw, 140px) 0 clamp(28px, 5vw, 58px);
  display: flex;
  align-items: stretch;
  background: #061827;
  color: #fff;
  isolation: isolate;
}
.case-image-hero .case-minimal-cover {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  background: #061827;
}
.case-image-hero .case-minimal-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,18,31,.88) 0%, rgba(4,18,31,.58) 38%, rgba(4,18,31,.22) 70%, rgba(4,18,31,.50) 100%),
    linear-gradient(180deg, rgba(4,18,31,.58) 0%, rgba(4,18,31,.08) 38%, rgba(4,18,31,.86) 100%);
  z-index: 1;
}
.case-image-hero .case-minimal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  display: block;
}
.case-image-hero-inner {
  min-height: calc(92svh - clamp(104px, 9vw, 140px) - clamp(28px, 5vw, 58px));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}
.case-image-hero .case-minimal-breadcrumb {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 10px 14px;
  width: fit-content;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: rgba(255,255,255,.74);
}
.case-image-hero .case-minimal-breadcrumb a,
.case-image-hero .case-minimal-breadcrumb strong {
  color: #fff;
}
.case-image-hero .case-image-hero-content {
  max-width: 1120px;
  margin-bottom: clamp(34px, 5vw, 62px);
}
.case-image-hero .case-minimal-kicker {
  display: none;
  color: var(--gold);
  text-shadow: 0 12px 34px rgba(0,0,0,.32);
}
.case-image-hero .case-minimal-head {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  gap: clamp(28px, 5vw, 78px);
  align-items: end;
}
.case-image-hero .case-minimal-head h1 {
  color: #fff;
  max-width: 780px;
  font-size: clamp(52px, 7.6vw, 112px);
  line-height: .92;
  text-shadow: 0 22px 70px rgba(0,0,0,.40);
}
.case-image-hero .case-minimal-head p {
  color: rgba(255,255,255,.84);
  margin-bottom: 8px;
  text-shadow: 0 12px 34px rgba(0,0,0,.32);
}
.case-image-hero .case-minimal-meta {
  margin: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(6,24,39,.46);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px rgba(0,0,0,.26);
}
.case-image-hero .case-minimal-meta div {
  border-right-color: rgba(255,255,255,.16);
  padding: clamp(18px, 2.2vw, 30px);
}
.case-image-hero .case-minimal-meta span {
  color: rgba(255,255,255,.62);
}
.case-image-hero .case-minimal-meta strong {
  color: #fff;
  text-shadow: 0 10px 24px rgba(0,0,0,.28);
}
.case-image-hero + .case-minimal-body {
  padding-top: clamp(78px, 8vw, 126px);
}
@media (max-width: 980px) {
  .case-image-hero {
    min-height: auto;
    padding-top: 118px;
  }
  .case-image-hero-inner {
    min-height: 660px;
  }
  .case-image-hero .case-minimal-breadcrumb {
    position: relative;
    margin-bottom: auto;
  }
  .case-image-hero .case-minimal-head {
    grid-template-columns: 1fr;
  }
  .case-image-hero .case-minimal-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-image-hero .case-minimal-meta div:nth-child(2n) {
    border-right: 0;
  }
}
@media (max-width: 640px) {
  .case-image-hero {
    padding-top: 102px;
    padding-bottom: 24px;
  }
  .case-image-hero-inner {
    min-height: 680px;
  }
  .case-image-hero .case-minimal-head h1 {
    font-size: 46px;
    line-height: .98;
  }
  .case-image-hero .case-minimal-head p {
    font-size: 17px;
  }
  .case-image-hero .case-minimal-meta {
    grid-template-columns: 1fr;
  }
  .case-image-hero .case-minimal-meta div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .case-image-hero .case-minimal-meta div:last-child {
    border-bottom: 0;
  }
}
/* /E2S image hero case page */
/* E2S case hero polish */
body.case-study-page .header,
body.case-study-page .header.scrolled {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-  backdrop-}
body.case-study-page .header .logo-image img {
  content: url('../images/e2s-logo-white.svg?v=case-polish') !important;
}
body.case-study-page .header .nav-link,
body.case-study-page .header .nav-link:hover,
body.case-study-page .header .nav-link.active {
  color: #fff !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55) !important;
}
body.case-study-page .header .nav-link .chev {
  color: #fff !important;
  background: transparent !important;
}
body.case-study-page .header .burger span {
  background: #fff !important;
}
body.case-study-page .header.scrolled .nav {
  background: rgba(7, 22, 35, .72) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .26) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
  backdrop-filter: blur(18px) saturate(150%) !important;
}
body.case-study-page .header.scrolled .nav:hover,
body.case-study-page .header.scrolled.nav-expanded .nav,
body.case-study-page .header.scrolled .nav:focus-within {
  background: rgba(7, 22, 35, .82) !important;
}
.case-image-hero {
  min-height: 100svh;
  padding: clamp(108px, 9vw, 144px) 0 clamp(30px, 5vw, 62px);
}
.case-image-hero::before {
  content: "";
  position: absolute;
  right: clamp(28px, 5vw, 78px);
  bottom: 32px;
  z-index: 2;
  width: 2px;
  height: 58px;
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(255, 210, 48, 0), rgba(255, 210, 48, .95), rgba(255, 210, 48, 0));
  animation: caseScrollCue 1.8s ease-in-out infinite;
  pointer-events: none;
}
.case-image-hero .case-minimal-cover img {
  object-position: center 45%;
  transform: scale(1.04);
  animation: caseHeroImage 5.5s cubic-bezier(.16, 1, .3, 1) forwards;
}
.case-image-hero .case-minimal-cover::after {
  background:
    linear-gradient(90deg, rgba(3,15,26,.88) 0%, rgba(3,15,26,.68) 44%, rgba(3,15,26,.26) 78%, rgba(3,15,26,.54) 100%),
    linear-gradient(180deg, rgba(3,15,26,.56) 0%, rgba(3,15,26,.10) 42%, rgba(3,15,26,.88) 100%);
}
.case-image-hero-inner {
  min-height: calc(100svh - clamp(108px, 9vw, 144px) - clamp(30px, 5vw, 62px));
  align-items: flex-start;
}
.case-image-hero .case-minimal-breadcrumb {
  left: 0;
  top: 0;
  max-width: min(100%, 520px);
  animation: caseHeroReveal .7s cubic-bezier(.16, 1, .3, 1) .08s both;
}
.case-image-hero .case-image-hero-content {
  width: min(760px, 100%);
  max-width: 760px;
  margin: auto 0 clamp(26px, 4vw, 44px);
  text-align: left;
}
.case-image-hero .case-minimal-head {
  display: block;
}
.case-image-hero .case-minimal-head h1 {
  max-width: 760px;
  font-size: clamp(44px, 5.8vw, 82px);
  line-height: .98;
  letter-spacing: 0;
  text-align: left;
  animation: caseHeroReveal .78s cubic-bezier(.16, 1, .3, 1) .18s both;
}
.case-image-hero .case-minimal-head p {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.55;
  text-align: left;
  animation: caseHeroReveal .78s cubic-bezier(.16, 1, .3, 1) .30s both;
}
.case-image-hero .case-minimal-meta {
  width: min(640px, 100%);
  align-self: flex-start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  animation: caseHeroReveal .78s cubic-bezier(.16, 1, .3, 1) .42s both;
}
.case-image-hero .case-minimal-meta div {
  min-width: 0;
  padding: clamp(16px, 1.8vw, 24px);
  transition: transform .28s var(--ease), background .28s var(--ease);
}
.case-image-hero .case-minimal-meta div:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.07);
}
.case-image-hero .case-minimal-meta strong {
  max-width: 100%;
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: normal;
}
@keyframes caseHeroReveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes caseHeroImage {
  to { transform: scale(1.015); }
}
@keyframes caseScrollCue {
  0%, 100% { opacity: .28; transform: translateY(-8px) scaleY(.68); }
  50% { opacity: .95; transform: translateY(8px) scaleY(1); }
}
@media (max-width: 980px) {
  .case-image-hero {
    min-height: auto;
    padding-top: 112px;
  }
  .case-image-hero-inner {
    min-height: 690px;
  }
  .case-image-hero .case-minimal-breadcrumb {
    position: relative;
    margin-bottom: auto;
  }
  .case-image-hero .case-image-hero-content {
    margin-top: auto;
  }
  .case-image-hero .case-minimal-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .case-image-hero::before { display: none; }
  .case-image-hero-inner { min-height: 720px; }
  .case-image-hero .case-minimal-head h1 {
    font-size: clamp(40px, 12vw, 54px);
  }
  .case-image-hero .case-minimal-meta {
    grid-template-columns: 1fr;
  }
  .case-image-hero .case-minimal-meta strong {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .case-image-hero::before,
  .case-image-hero .case-minimal-cover img,
  .case-image-hero .case-minimal-breadcrumb,
  .case-image-hero .case-minimal-head h1,
  .case-image-hero .case-minimal-head p,
  .case-image-hero .case-minimal-meta {
    animation: none !important;
  }
}
/* /E2S case hero polish */
/* E2S case hero wide-left final */
.case-image-hero .case-minimal-breadcrumb {
  display: none !important;
}
.case-image-hero-inner.container {
  width: 100% !important;
  max-width: none !important;
  padding-left: clamp(34px, 6vw, 92px) !important;
  padding-right: clamp(28px, 5vw, 80px) !important;
}
.case-image-hero-inner {
  align-items: flex-start !important;
  justify-content: flex-end !important;
}
.case-image-hero .case-image-hero-content {
  width: min(1060px, 78vw) !important;
  max-width: 1060px !important;
  margin: auto 0 clamp(24px, 3.4vw, 42px) !important;
  transform-origin: left center;
}
.case-image-hero .case-minimal-head h1 {
  max-width: 1060px !important;
  font-size: clamp(48px, 6.7vw, 104px) !important;
  line-height: .91 !important;
  text-wrap: balance;
}
.case-image-hero .case-minimal-head p {
  max-width: 780px !important;
  margin-top: clamp(18px, 2.3vw, 28px) !important;
  font-size: clamp(18px, 1.55vw, 24px) !important;
}
.case-image-hero .case-minimal-meta {
  width: min(1120px, calc(100vw - clamp(68px, 12vw, 184px))) !important;
  max-width: 1120px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  border-radius: 16px !important;
  background: linear-gradient(90deg, rgba(8, 28, 45, .58), rgba(8, 28, 45, .36)) !important;
}
.case-image-hero .case-minimal-meta div {
  padding: clamp(18px, 2vw, 28px) clamp(18px, 2.1vw, 30px) !important;
}
.case-image-hero .case-minimal-meta strong {
  font-size: clamp(19px, 1.55vw, 28px) !important;
  letter-spacing: 0 !important;
}
.case-image-hero .case-minimal-meta span {
  letter-spacing: .14em !important;
}
@media (max-width: 1180px) {
  .case-image-hero .case-image-hero-content {
    width: min(900px, 82vw) !important;
  }
  .case-image-hero .case-minimal-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(760px, 82vw) !important;
  }
}
@media (max-width: 640px) {
  .case-image-hero-inner.container {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  .case-image-hero .case-image-hero-content {
    width: 100% !important;
  }
  .case-image-hero .case-minimal-meta {
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }
}
/* /E2S case hero wide-left final */
/* Netlify splash failsafe */
#e2s-splash {
  pointer-events: auto;
  animation: e2sSplashAutoHide .45s ease 4.2s forwards;
}
#e2s-splash.is-scripted {
  animation: none;
}
#e2s-splash.is-scripted:not(.is-hiding):not(.is-done) {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
#e2s-splash.is-hiding,
#e2s-splash.is-done {
  animation: none !important;
}
#e2s-splash.is-done {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}
@keyframes e2sSplashAutoHide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
/* /Netlify splash failsafe */
/* ============================================================
   E2S client portal
   ============================================================ */
.client-page .client-hero {
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(52px, 7vw, 88px);
  background:
    linear-gradient(120deg, rgba(3, 20, 36, .94), rgba(7, 65, 105, .82)),
    url("../images/pexels-nbasak-32483941.jpg") center / cover no-repeat;
}
.client-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
}
.client-hero h1 {
  max-width: 850px;
  color: #fff;
  font-size: clamp(42px, 6vw, 82px);
  letter-spacing: -0.04em;
}
.client-hero p { max-width: 660px; color: rgba(255,255,255,.78); }
.client-hero .breadcrumb,
.client-hero .breadcrumb a { color: rgba(255,255,255,.72); }
.client-hero-card {
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: #fff;
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
.client-hero-card strong { display: block; margin-bottom: 8px; font-size: 18px; }
.client-hero-card span { display: block; color: rgba(255,255,255,.72); line-height: 1.55; }
.client-section { background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); }
.client-layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.client-panel,
.client-documents {
  border: 1px solid rgba(15,25,35,.09);
  background: rgba(255,255,255,.86);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.client-panel { padding: clamp(24px, 3vw, 36px); }
.client-panel-kicker {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 12px;
}
.client-panel h2,
.client-documents h2 { font-size: clamp(26px, 3vw, 36px); }
.client-panel p { margin: 12px 0 24px; color: var(--slate-500); }
.client-login { display: grid; gap: 16px; }
.client-login .btn { justify-content: center; width: 100%; }
.client-help {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 4px;
  font-size: 14px;
}
.client-help strong { color: var(--night); }
.client-help a { color: var(--slate-500); }
.client-help a:hover { color: var(--gold-dark); }
.client-documents { min-height: 420px; padding: clamp(24px, 3vw, 34px); }
.client-documents-head {
  display: flex;
  gap: 20px;
  align-items: start;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.client-logout {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--slate-600);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
  cursor: pointer;
}
.client-logout:hover { border-color: var(--night); color: var(--night); }
.client-status {
  margin-top: 28px;
  min-height: 260px;
  border: 1px dashed rgba(15,25,35,.18);
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 34px;
  color: var(--slate-500);
  background: linear-gradient(135deg, rgba(244,247,250,.8), rgba(255,255,255,.9));
}
.client-status strong { display: block; color: var(--night); font-size: 20px; margin-bottom: 8px; }
.client-status span { display: block; max-width: 520px; }
.client-status.loading { border-style: solid; border-color: rgba(232,160,32,.45); }
.client-status.error { border-style: solid; border-color: rgba(190,45,45,.35); background: #fff7f7; }
.client-status.error strong { color: #9b1c1c; }
.client-file-list { display: grid; gap: 14px; margin-top: 24px; }
.client-file {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.client-file:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: rgba(232,160,32,.42); }
.client-file-icon {
  width: 74px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gold-light);
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
}
.client-file-main { min-width: 0; }
.client-file-main h3 {
  font-size: 17px;
  overflow-wrap: anywhere;
}
.client-file-main p { color: var(--slate-400); font-size: 14px; margin-top: 3px; }
.client-download {
  border: 0;
  background: var(--night);
  color: #fff;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
}
.client-download:hover { background: var(--gold-dark); }
.client-download:disabled { opacity: .66; cursor: wait; }
@media (max-width: 980px) {
  .client-hero-inner,
  .client-layout { grid-template-columns: 1fr; }
  .client-file { grid-template-columns: 58px minmax(0, 1fr); }
  .client-file-icon { width: 58px; height: 52px; }
  .client-download { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 640px) {
  .client-documents-head { display: block; }
  .client-logout { margin-top: 14px; }
}
.client-status[hidden],
.client-file-list[hidden],
#client-logout[hidden] {
  display: none !important;
}
/* E2S client portal refinements 20260619 */
.client-access-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 260px;
}
.client-access-card strong {
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.client-access-steps {
  display: grid;
  gap: 10px;
}
.client-access-steps span {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .76);
  line-height: 1.4;
}
.client-access-steps b {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--night);
  font-size: 12px;
  letter-spacing: .02em;
}

.header .megamenu {
  width: min(360px, calc(100vw - 32px)) !important;
}
.header .mega-link {
  min-width: 0 !important;
}
.header .mega-txt {
  min-width: 0 !important;
}
.header .mega-txt strong,
.header .mega-txt span {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

@media (min-width: 1181px) {
  .header.scrolled .nav:hover,
  .header.scrolled.nav-expanded .nav,
  .header.scrolled .nav:focus-within {
    width: min(860px, calc(100vw - 180px)) !important;
    padding: 0 clamp(24px, 2vw, 34px) !important;
    gap: clamp(16px, 1.45vw, 28px) !important;
  }
  .header.scrolled .nav:hover .nav-item,
  .header.scrolled.nav-expanded .nav .nav-item,
  .header.scrolled .nav:focus-within .nav-item {
    max-width: none !important;
    flex: 0 0 auto !important;
  }
  .header.scrolled .nav-link {
    white-space: nowrap !important;
    font-size: clamp(12.5px, .74vw, 14px) !important;
    line-height: 1 !important;
  }
}
@media (min-width: 1181px) and (max-width: 1320px) {
  .header.scrolled .nav:hover,
  .header.scrolled.nav-expanded .nav,
  .header.scrolled .nav:focus-within {
    width: min(790px, calc(100vw - 96px)) !important;
    gap: 18px !important;
    padding: 0 22px !important;
  }
  .header.scrolled .nav-link {
    font-size: 12.5px !important;
  }
}
@media (max-width: 640px) {
  .client-access-card {
    min-height: auto;
  }
  .client-access-steps span {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .client-access-steps b {
    width: 30px;
    height: 30px;
  }
}
/* /E2S client portal refinements 20260619 */
/* E2S slow scroll reveals 20260619 */
:root {
  --reveal-duration: 1.15s;
  --reveal-distance: 42px;
  --reveal-ease: cubic-bezier(.16, 1, .3, 1);
}
.reveal {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0) scale(.985);
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.section .eyebrow.reveal,
.section .section-head.reveal {
  --reveal-distance: 30px;
}
.service-card.reveal,
.expertise-card.reveal,
.work-card.reveal,
.proof-card.reveal,
.client-panel.reveal,
.client-documents.reveal {
  --reveal-distance: 36px;
}
.footer .reveal {
  --reveal-distance: 24px;
  --reveal-duration: .95s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* /E2S slow scroll reveals 20260619 */
body.home-page section#realisations.work-horizontal .work-card.reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(.985);}
body.home-page section#realisations.work-horizontal .work-card.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);}
/* E2S nav sans bandeau translucide */
.header,
.header.scrolled,
body.case-study-page .header,
body.case-study-page .header.scrolled {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.header .header-inner,
.header .nav,
.header.scrolled .nav,
body.case-study-page .header .nav,
body.case-study-page .header.scrolled .nav {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.header.scrolled .nav:hover,
.header.scrolled.nav-expanded .nav,
.header.scrolled .nav:focus-within,
body.case-study-page .header.scrolled .nav:hover,
body.case-study-page .header.scrolled.nav-expanded .nav,
body.case-study-page .header.scrolled .nav:focus-within {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.header .nav-link,
.header .nav-link:hover,
.header .nav-link.active,
body.case-study-page .header .nav-link,
body.case-study-page .header .nav-link:hover,
body.case-study-page .header .nav-link.active {
  background: transparent !important;
  box-shadow: none !important;
}
/* /E2S nav sans bandeau translucide */
/* E2S icone menu au scroll */
@media (min-width: 1025px) {
  .header.scrolled .nav::before,
  body.case-study-page .header.scrolled .nav::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 30px !important;
    height: 20px !important;
    inset: auto !important;
    display: block !important;
    background:
      linear-gradient(#fff, #fff) 0 0 / 100% 3px no-repeat,
      linear-gradient(#fff, #fff) 0 50% / 100% 3px no-repeat,
      linear-gradient(#fff, #fff) 0 100% / 100% 3px no-repeat !important;
    border-radius: 0 !important;
    transform: translate(-50%, -50%) !important;
    opacity: 1 !important;
    pointer-events: none !important;
    text-shadow: none !important;
    transition: opacity .22s var(--ease), transform .22s var(--ease) !important;
  }
  .header.scrolled .nav:hover::before,
  .header.scrolled.nav-expanded .nav::before,
  .header.scrolled .nav:focus-within::before,
  body.case-study-page .header.scrolled .nav:hover::before,
  body.case-study-page .header.scrolled.nav-expanded .nav::before,
  body.case-study-page .header.scrolled .nav:focus-within::before {
    opacity: 0 !important;
    transform: translate(-50%, -58%) scale(.9) !important;
  }
}
/* /E2S icone menu au scroll */
/* E2S menu scroll lisible sur fonds blancs */
@media (min-width: 1025px) {
  .header.scrolled .nav::before,
  body.case-study-page .header.scrolled .nav::before {
    background:
      linear-gradient(var(--gold), var(--gold)) 0 0 / 100% 3px no-repeat,
      linear-gradient(var(--gold), var(--gold)) 0 50% / 100% 3px no-repeat,
      linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 3px no-repeat !important;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .18));
  }
  .header.scrolled .nav-link,
  .header.scrolled .nav-link:hover,
  .header.scrolled .nav-link.active,
  .header.scrolled .nav-link .chev,
  body.case-study-page .header.scrolled .nav-link,
  body.case-study-page .header.scrolled .nav-link:hover,
  body.case-study-page .header.scrolled .nav-link.active,
  body.case-study-page .header.scrolled .nav-link .chev {
    color: var(--gold) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .18) !important;
  }
}
/* /E2S menu scroll lisible sur fonds blancs */

@media (min-width: 1025px) and (max-width: 1360px) {
  .header .header-inner {
    padding-left: 26px !important;
    padding-right: 26px !important;
    grid-template-columns: minmax(140px, 1fr) auto minmax(166px, 1fr) !important;
    gap: 18px !important;
  }

  .header .logo-image {
    width: 148px !important;
  }

  .header .logo-image img {
    width: 134px !important;
    max-width: 134px !important;
  }

  .header .nav {
    gap: 18px !important;
  }

  .header .nav-link {
    font-size: 13.5px !important;
    white-space: nowrap !important;
  }

  .header .header-cta .btn-primary {
    padding-inline: 20px !important;
    white-space: nowrap !important;
  }
}

/* E2S fond transparent au survol du menu scroll */
@media (min-width: 1025px) {
  .header.scrolled .nav:hover,
  .header.scrolled.nav-expanded .nav,
  .header.scrolled .nav:focus-within,
  body.case-study-page .header.scrolled .nav:hover,
  body.case-study-page .header.scrolled.nav-expanded .nav,
  body.case-study-page .header.scrolled .nav:focus-within {
    background: rgba(6, 24, 39, .52) !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .18) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border-radius: 999px !important;
  }
  .header.scrolled .nav:hover .nav-link,
  .header.scrolled.nav-expanded .nav .nav-link,
  .header.scrolled .nav:focus-within .nav-link,
  body.case-study-page .header.scrolled .nav:hover .nav-link,
  body.case-study-page .header.scrolled.nav-expanded .nav .nav-link,
  body.case-study-page .header.scrolled .nav:focus-within .nav-link {
    color: #fff !important;
    text-shadow: none !important;
  }
  .header.scrolled .nav:hover .nav-link:hover,
  .header.scrolled.nav-expanded .nav .nav-link:hover,
  .header.scrolled .nav:focus-within .nav-link:hover,
  body.case-study-page .header.scrolled .nav:hover .nav-link:hover,
  body.case-study-page .header.scrolled.nav-expanded .nav .nav-link:hover,
  body.case-study-page .header.scrolled .nav:focus-within .nav-link:hover {
    color: var(--gold) !important;
  }
}
/* /E2S fond transparent au survol du menu scroll */
/* E2S flou capsule menu scroll */
@media (min-width: 1025px) {
  .header.scrolled .nav:hover,
  .header.scrolled.nav-expanded .nav,
  .header.scrolled .nav:focus-within,
  body.case-study-page .header.scrolled .nav:hover,
  body.case-study-page .header.scrolled.nav-expanded .nav,
  body.case-study-page .header.scrolled .nav:focus-within {
    background: rgba(6, 24, 39, .48) !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .20) !important;
    -webkit-backdrop-filter: blur(16px) saturate(145%) !important;
    backdrop-filter: blur(16px) saturate(145%) !important;
  }
}
/* /E2S flou capsule menu scroll */

.client-auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.client-auth-actions button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--night);
  border-radius: 999px;
  padding: 11px 12px;
  font-weight: 800;
  cursor: pointer;
}
.client-auth-actions button:hover {
  border-color: rgba(232,160,32,.55);
  color: var(--gold-dark);
}
.client-auth-message {
  min-height: 18px;
  color: #9b1c1c;
  font-weight: 700;
  font-size: 14px;
}
.client-auth-message.ok { color: #167047; }
.client-recovery {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(232,160,32,.35);
  border-radius: 16px;
  background: rgba(255,248,232,.72);
}
.client-recovery form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 520px) {
  .client-auth-actions { grid-template-columns: 1fr; }
}


.client-onboarding {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  padding: 16px;
  border: 1px solid rgba(232, 160, 32, .35);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 248, 232, .95), rgba(255, 255, 255, .92));
  box-shadow: 0 16px 34px rgba(232, 160, 32, .12);
}
.client-onboarding strong,
.client-forgot-row span {
  display: block;
  color: var(--night);
  font-weight: 900;
}
.client-onboarding span {
  display: block;
  margin-top: 4px;
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.45;
}
.client-onboarding button,
.client-forgot-row button {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}
.client-onboarding button {
  background: var(--gold);
  color: var(--night);
  box-shadow: 0 10px 24px rgba(232, 160, 32, .22);
}
.client-forgot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.client-forgot-row button {
  background: var(--mist);
  color: var(--night);
}
.client-onboarding button:hover,
.client-forgot-row button:hover {
  transform: translateY(-1px);
}
@media (max-width: 620px) {
  .client-onboarding {
    grid-template-columns: 1fr;
  }
  .client-onboarding button,
  .client-forgot-row button {
    width: 100%;
  }
  .client-forgot-row {
    align-items: stretch;
    flex-direction: column;
  }
}

.client-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 20px 0 22px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #eef3f8;
}
.client-auth-tab {
  min-height: 46px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--slate-600);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.client-auth-tab:hover { color: var(--night); }
.client-auth-tab.is-active {
  background: var(--gold);
  color: var(--night);
  box-shadow: 0 8px 20px rgba(232, 160, 32, .22);
}
.client-auth-tab:focus-visible {
  outline: 3px solid rgba(232, 160, 32, .28);
  outline-offset: 2px;
}
.client-login[hidden],
.client-registration[hidden],
.client-auth-tabs[hidden] {
  display: none !important;
}
.client-registration {
  margin-top: 0;
  padding: 18px;
  border: 1px solid rgba(232, 160, 32, .32);
  border-radius: 18px;
  background: linear-gradient(145deg, #fffaf0, #fff);
}
.client-optional {
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 650;
}
.client-registration-intro {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}
.client-registration-intro strong {
  color: var(--night);
  font-weight: 900;
}
.client-registration-intro span {
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.5;
}
.client-registration .client-login {
  margin-top: 0;
}
.client-status.pending {
  border-color: rgba(232, 160, 32, .42);
  background: #fff9ea;
  color: #795000;
}
.client-status.pending strong {
  color: #8a5b00;
}


/* E2S eight-expertise taxonomy */
.expertise-six-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.expertise-six-grid .service-card {
  min-width: 0;
}

@media (min-width: 1025px) {
  .header .megamenu {
    width: min(680px, calc(100vw - 48px)) !important;
    min-width: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1024px) {
  .expertise-six-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .expertise-six-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   E2S company page
   ============================================================ */
.company-page {
  color: var(--slate-700);
  background: #fff;
}

.company-page main {
  background: #fff;
}

.company-page .header:not(.scrolled) .nav-link,
.company-page .header:not(.scrolled) .nav-link.active,
.company-page .header:not(.scrolled) .nav-link:hover,
.company-page .header:not(.scrolled) .header-phone {
  color: #fff !important;
}

.company-page .header:not(.scrolled) .nav-link.active,
.company-page .header:not(.scrolled) .nav-link:hover {
  background: rgba(255, 255, 255, .12) !important;
}

.company-page .header:not(.scrolled) .header-phone svg {
  color: var(--gold) !important;
}

.company-page .btn-primary {
  background: var(--gold) !important;
}

.company-page .btn-primary:hover {
  background: var(--gold-dark) !important;
  color: #fff;
}

.company-hero {
  position: relative;
  height: 88vh;
  min-height: 720px;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #071d30;
}

.company-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.company-hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(3, 22, 36, .68);
}

.company-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 60px;
  padding-bottom: 170px;
}

.company-hero-copy {
  max-width: 820px;
}

.company-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f4b43a;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
}

.company-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--gold);
}

.company-hero h1 {
  margin: 24px 0;
  color: #fff;
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 700;
}

.company-hero h1 em {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
}

.company-hero-copy > p {
  max-width: 680px;
  color: rgba(255, 255, 255, .82);
  font-size: 19px;
  line-height: 1.65;
}

.company-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.company-proof-shell {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .22);
  background: rgba(4, 27, 46, .58);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.company-proofbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 24px;
  padding-bottom: 24px;
}

.company-proof {
  position: relative;
  min-width: 0;
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, .18);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), background-color .35s ease;
}

.company-proof:first-child {
  padding-left: 0;
  border-left: 0;
}

.company-proof strong {
  display: block;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  transition: color .35s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
}

.company-proof sup {
  color: var(--gold);
  font-size: 18px;
}

.company-proof small {
  color: var(--gold);
  font-size: 17px;
}

.company-proof span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.company-story {
  padding: 120px 0;
  background: #fff;
}

.company-story-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 88px;
  align-items: center;
}

.company-story-visual img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(7, 59, 103, .08);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), box-shadow .5s ease;
}

.company-story-visual figcaption {
  margin-top: 16px;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
  color: var(--slate-500);
  font-size: 13px;
}

.company-story-copy h2 {
  max-width: 700px;
  margin-top: 18px;
  color: var(--slate-900);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.08;
}

.company-story-copy > p {
  max-width: 720px;
  color: var(--slate-600);
}

.company-story-copy .company-lead {
  margin-top: 28px;
  color: var(--slate-800);
  font-size: 19px;
  line-height: 1.65;
}

.company-story-copy .company-lead + p {
  margin-top: 16px;
  line-height: 1.7;
}

.company-commitments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.company-commitments > div {
  position: relative;
  min-width: 0;
  padding: 15px 14px 17px;
  border-radius: 6px;
  transition: transform .42s cubic-bezier(.16, 1, .3, 1), background-color .35s ease, box-shadow .4s ease;
}

.company-commitments > div::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .42s cubic-bezier(.16, 1, .3, 1);
}

.company-commitments span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
}

.company-commitments strong {
  display: block;
  color: var(--slate-900);
  font-size: 16px;
}

.company-commitments p {
  margin-top: 7px;
  color: var(--slate-500);
  font-size: 13px;
  line-height: 1.5;
}

.company-method {
  padding: 112px 0;
  color: #fff;
  background: #073b67;
}

.company-method-head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: end;
}

.company-method h2 {
  margin-top: 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.08;
}

.company-method-head > p {
  max-width: 470px;
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  line-height: 1.7;
}

.company-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.company-step {
  min-height: 220px;
  padding: 30px 28px 0;
  border-left: 1px solid rgba(255, 255, 255, .18);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), background-color .35s ease, box-shadow .4s ease;
}

.company-step:first-child {
  padding-left: 0;
  border-left: 0;
}

.company-step > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  transition: color .3s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
}

.company-step h3 {
  margin-top: 46px;
  color: #fff;
  font-size: 23px;
  transition: color .3s ease;
}

.company-step p {
  margin-top: 12px;
  color: rgba(255, 255, 255, .66);
  font-size: 14px;
  line-height: 1.6;
}

.company-certifications {
  padding: 120px 0;
  color: var(--slate-700);
  background: #f5f8fb;
}

.company-cert-layout {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 100px;
  align-items: start;
}

.company-cert-intro {
  position: sticky;
  top: 140px;
}

.company-cert-intro h2 {
  margin-top: 18px;
  color: var(--slate-900);
  font-family: var(--font-display);
  font-size: 45px;
  font-weight: 400;
  line-height: 1.08;
}

.company-cert-intro p {
  margin-top: 22px;
  color: var(--slate-600);
  line-height: 1.7;
}

.company-text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 30px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(181, 122, 16, .35);
  color: var(--gold-dark);
  font-weight: 700;
}

.company-cert-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.company-cert-item {
  position: relative;
  min-height: 142px;
  padding: 28px 24px;
  border-top: 1px solid #cfdbe5;
  transition: transform .42s cubic-bezier(.16, 1, .3, 1), background-color .35s ease, box-shadow .4s ease;
}

.company-cert-item:nth-child(odd) {
  padding-left: 0;
  border-right: 1px solid #cfdbe5;
}

.company-cert-item strong {
  display: block;
  color: var(--slate-900);
  font-size: 22px;
  transition: color .3s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
}

.company-cert-item span {
  display: block;
  margin-top: 12px;
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.55;
}

.company-cta {
  padding: 86px 0;
  color: #fff;
  background: #071d30;
}

.company-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: end;
}

.company-cta h2 {
  max-width: 780px;
  margin-top: 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.12;
}

.company-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.company-call {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-weight: 700;
}

.company-call:hover {
  color: var(--gold);
}

.company-page .footer {
  background: var(--night);
}

@media (max-width: 1100px) {
  .company-hero h1 {
    font-size: 56px;
  }

  .company-story-grid {
    gap: 50px;
  }

  .company-story-visual img {
    height: 560px;
  }

  .company-cert-layout {
    gap: 60px;
  }

  .company-proof {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 900px) {
  .company-hero {
    height: auto;
    min-height: 760px;
    max-height: none;
  }

  .company-hero-inner {
    padding-top: 180px;
    padding-bottom: 190px;
  }

  .company-hero h1 {
    font-size: 48px;
  }

  .company-proofbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .company-proof:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .company-story-grid,
  .company-method-head,
  .company-cert-layout,
  .company-cta-inner {
    grid-template-columns: 1fr;
  }

  .company-story-visual img {
    height: 500px;
  }

  .company-method-head {
    gap: 24px;
  }

  .company-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-step:nth-child(3) {
    border-left: 0;
  }

  .company-cert-intro {
    position: static;
  }

  .company-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .company-hero {
    min-height: 760px;
  }

  .company-hero-media {
    object-position: 58% center;
  }

  .company-hero-inner {
    padding-top: 145px;
    padding-bottom: 245px;
  }

  .company-hero h1 {
    margin: 20px 0;
    font-size: 38px;
  }

  .company-hero-copy > p {
    font-size: 16px;
  }

  .company-hero-actions .btn {
    width: 100%;
  }

  .company-proofbar {
    gap: 18px 0;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .company-proof,
  .company-proof:first-child,
  .company-proof:nth-child(3) {
    padding: 0 14px;
  }

  .company-proof:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .company-proof strong {
    font-size: 26px;
  }

  .company-story,
  .company-method,
  .company-certifications {
    padding: 72px 0;
  }

  .company-story-grid {
    gap: 30px;
  }

  .company-story-visual img {
    height: 360px;
  }

  .company-story-copy.reveal {
    opacity: 1;
    transform: none;
  }

  .company-story-copy h2,
  .company-method h2,
  .company-cert-intro h2 {
    font-size: 36px;
  }

  .company-commitments,
  .company-steps,
  .company-cert-list {
    grid-template-columns: 1fr;
  }

  .company-commitments {
    gap: 22px;
  }

  .company-steps {
    margin-top: 46px;
  }

  .company-step,
  .company-step:first-child,
  .company-step:nth-child(3) {
    min-height: 0;
    padding: 24px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    border-left: 0;
  }

  .company-step h3 {
    margin-top: 22px;
  }

  .company-cert-layout {
    gap: 48px;
  }

  .company-cert-item,
  .company-cert-item:nth-child(odd) {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
  }

  .company-cta {
    padding: 64px 0;
  }

  .company-cta h2 {
    font-size: 34px;
  }

  .company-cta-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .company-page .header.scrolled .logo-image img {
    content: url('../images/e2s-logo.png') !important;
    filter: none !important;
  }

  .company-page .header.scrolled .burger span {
    background: #073d68 !important;
  }
}

/* Company history and team */
.company-history {
  position: relative;
  padding: 116px 0 124px;
  overflow: hidden;
  background: #f3f7fa;
}

.company-history::after {
  content: "2004";
  position: absolute;
  right: -24px;
  bottom: -75px;
  color: rgba(7, 59, 103, .035);
  font-family: var(--font-display);
  font-size: 240px;
  line-height: 1;
  pointer-events: none;
}

.company-history .container {
  position: relative;
  z-index: 1;
}

.company-history-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 100px;
  align-items: end;
}

.company-history-head h2 {
  max-width: 680px;
  margin-top: 18px;
  color: var(--slate-900);
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.08;
}

.company-history-head > p {
  max-width: 520px;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  color: var(--slate-600);
  font-size: 17px;
  line-height: 1.72;
}

.company-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px;
  margin-top: 78px;
  padding-top: 44px;
  border-top: 1px solid #b9cad8;
}

.company-milestone {
  position: relative;
  min-width: 0;
  padding-right: 20px;
  translate: 0 0;
  transition: translate .45s cubic-bezier(.16, 1, .3, 1);
}

.company-milestone::before {
  content: "";
  position: absolute;
  top: -51px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 3px solid #f3f7fa;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease;
}

.company-milestone time {
  display: block;
  min-height: 50px;
  color: #0b426d;
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  transition: color .35s ease;
}

.company-milestone:last-child time {
  padding-top: 7px;
  font-size: 34px;
}

.company-milestone h3 {
  max-width: 330px;
  margin-top: 18px;
  color: var(--slate-900);
  font-size: 21px;
  line-height: 1.25;
}

.company-milestone p {
  max-width: 380px;
  margin-top: 13px;
  color: var(--slate-600);
  font-size: 15px;
  line-height: 1.68;
}

.company-team {
  padding: 120px 0;
  overflow: hidden;
  background: #fff;
}

.company-team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
  gap: 90px;
  align-items: center;
}

.company-team-copy {
  min-width: 0;
}

.company-team-copy .company-kicker {
  color: var(--gold-dark);
}

.company-team-copy h2 {
  max-width: 600px;
  margin-top: 18px;
  color: var(--slate-900);
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.08;
}

.company-team-lead {
  max-width: 610px;
  margin-top: 26px;
  color: var(--slate-600);
  font-size: 17px;
  line-height: 1.72;
}

.company-team-fields {
  max-width: 610px;
  margin-top: 38px;
  border-top: 1px solid #d7e1e8;
}

.company-team-fields > div {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #d7e1e8;
  transition: padding-left .4s cubic-bezier(.16, 1, .3, 1), background-color .35s ease;
}

.company-team-fields span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  transition: color .35s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
}

.company-team-fields strong {
  color: var(--slate-900);
  font-size: 16px;
  transition: color .35s ease;
}

.company-team-copy blockquote {
  max-width: 610px;
  margin: 38px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
  color: #0b426d;
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  line-height: 1.34;
}

.company-team-note {
  max-width: 610px;
  margin-top: 12px;
  color: var(--slate-500);
  font-size: 13px;
}

.company-team-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(181, 122, 16, .35);
  color: var(--gold-dark);
  font-weight: 700;
  transition: color .3s ease, border-color .3s ease;
}

.company-team-link span {
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}

.company-team-link:hover {
  color: #0b426d;
  border-color: #0b426d;
}

.company-team-visual {
  order: -1;
  min-width: 0;
}

.company-team-photo {
  height: 650px;
  overflow: hidden;
  border-radius: 8px;
  background: #dce7ee;
  translate: 0 0;
  box-shadow: 0 18px 45px rgba(7, 59, 103, .08);
  transition: translate .55s cubic-bezier(.16, 1, .3, 1), box-shadow .55s ease;
}

.company-team-photo img {
  width: 116%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateX(-7%) scale(1);
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .company-proof:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .035);
  }

  .company-proof:hover strong {
    color: var(--gold);
    transform: scale(1.035);
  }

  .company-story-visual:hover img {
    transform: translateY(-7px);
    box-shadow: 0 28px 62px rgba(7, 59, 103, .16);
  }

  .company-commitments > div:hover {
    transform: translateY(-7px);
    background: #f6f9fb;
    box-shadow: 0 16px 34px rgba(7, 59, 103, .09);
  }

  .company-commitments > div:hover::after {
    transform: scaleX(1);
  }

  .company-step:hover {
    z-index: 1;
    transform: translateY(-8px);
    background: rgba(255, 255, 255, .055);
    box-shadow: inset 0 2px 0 var(--gold), 0 18px 38px rgba(0, 15, 28, .18);
  }

  .company-step:hover > span {
    color: #ffd04a;
    transform: translateX(4px);
  }

  .company-cert-item:hover {
    z-index: 1;
    transform: translateY(-6px);
    background: #fff;
    box-shadow: 0 18px 42px rgba(7, 59, 103, .11);
  }

  .company-cert-item:hover strong {
    color: var(--gold-dark);
    transform: translateX(4px);
  }

  .company-milestone:hover {
    translate: 0 -8px;
  }

  .company-milestone:hover::before {
    transform: scale(1.32);
    box-shadow: 0 0 0 5px rgba(238, 164, 23, .16);
  }

  .company-milestone:hover time {
    color: var(--gold-dark);
  }

  .company-team-fields > div:hover {
    padding-left: 10px;
    background: #f6f9fb;
  }

  .company-team-fields > div:hover span {
    color: #0b426d;
    transform: translateX(3px);
  }

  .company-team-fields > div:hover strong {
    color: #0b426d;
  }

  .company-team-visual:hover .company-team-photo {
    translate: 0 -7px;
    box-shadow: 0 28px 65px rgba(7, 59, 103, .16);
  }

  .company-team-visual:hover .company-team-photo img {
    transform: translateX(-7%) scale(1.035);
  }

  .company-team-link:hover span {
    transform: translate(3px, -3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-proof,
  .company-proof strong,
  .company-story-visual img,
  .company-commitments > div,
  .company-commitments > div::after,
  .company-step,
  .company-step > span,
  .company-step h3,
  .company-cert-item,
  .company-cert-item strong,
  .company-milestone,
  .company-milestone::before,
  .company-milestone time,
  .company-team-fields > div,
  .company-team-fields span,
  .company-team-fields strong,
  .company-team-photo,
  .company-team-photo img,
  .company-team-link,
  .company-team-link span {
    transition: none !important;
  }
}

.company-team-visual figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: 17px;
  padding-top: 16px;
  border-top: 1px solid #d7e1e8;
}

.company-team-visual figcaption span {
  color: var(--slate-500);
  font-size: 13px;
}

.company-team-visual figcaption strong {
  color: var(--slate-900);
  font-size: 14px;
}

.company-team-visual figcaption sup {
  color: var(--gold-dark);
}

@media (max-width: 1100px) {
  .company-history-head {
    gap: 60px;
  }

  .company-timeline {
    gap: 34px;
  }

  .company-team-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr);
    gap: 54px;
  }

  .company-team-photo {
    height: 590px;
  }
}

@media (max-width: 900px) {
  .company-history-head,
  .company-team-grid {
    grid-template-columns: 1fr;
  }

  .company-history-head {
    gap: 28px;
  }

  .company-history-head > p {
    max-width: 680px;
  }

  .company-timeline {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 60px;
    padding: 0 0 0 34px;
    border-top: 0;
    border-left: 1px solid #b9cad8;
  }

  .company-milestone {
    padding: 0 0 48px;
  }

  .company-milestone:last-child {
    padding-bottom: 0;
  }

  .company-milestone::before {
    top: 5px;
    left: -41px;
  }

  .company-milestone h3,
  .company-milestone p {
    max-width: 680px;
  }

  .company-team-grid {
    gap: 54px;
  }

  .company-team-visual {
    order: 0;
  }

  .company-team-copy.reveal {
    opacity: 1;
    transform: none;
  }

  .company-team-photo {
    height: 580px;
  }
}

@media (max-width: 640px) {
  .company-history,
  .company-team {
    padding: 76px 0;
  }

  .company-history::after {
    right: -10px;
    bottom: -30px;
    font-size: 110px;
  }

  .company-history-head h2,
  .company-team-copy h2 {
    font-size: 37px;
  }

  .company-history-head > p {
    padding-left: 18px;
    font-size: 16px;
  }

  .company-milestone time {
    min-height: 42px;
    font-size: 39px;
  }

  .company-milestone:last-child time {
    font-size: 30px;
  }

  .company-team-grid {
    gap: 42px;
  }

  .company-team-lead {
    font-size: 16px;
  }

  .company-team-copy blockquote {
    font-size: 23px;
  }

  .company-team-photo {
    height: 430px;
  }

  .company-team-visual figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* ---------- Unified E2S scroll motion ---------- */
:root {
  --motion-duration-fast: .5s;
  --motion-duration-base: .9s;
  --motion-duration-slow: 1.05s;
  --motion-distance: 30px;
  --motion-ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* Content stays readable when JavaScript is unavailable. */
html:not(.e2s-motion) .reveal {
  opacity: 1;
  transform: none;
}

html.e2s-motion .reveal {
  --reveal-x: 0px;
  --reveal-y: var(--motion-distance);
  --reveal-scale: .99;
  opacity: 0;
  transform: none;
  translate: var(--reveal-x) var(--reveal-y);
  scale: var(--reveal-scale);
  transition:
    opacity var(--reveal-duration, var(--motion-duration-base)) var(--motion-ease-out),
    translate var(--reveal-duration, var(--motion-duration-base)) var(--motion-ease-out),
    scale var(--reveal-duration, var(--motion-duration-base)) var(--motion-ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, translate, scale;
}

html.e2s-motion .reveal[data-reveal="left"] {
  --reveal-x: -32px;
  --reveal-y: 0px;
}

html.e2s-motion .reveal[data-reveal="right"] {
  --reveal-x: 32px;
  --reveal-y: 0px;
}

html.e2s-motion .reveal[data-reveal="soft"] {
  --reveal-y: 20px;
  --reveal-scale: .995;
}

html.e2s-motion .reveal.in {
  opacity: 1;
  transform: none;
  translate: 0 0;
  scale: 1;
}

/* Heroes keep their dedicated opening choreography. */
html.e2s-motion .hero .reveal,
html.e2s-motion .editorial-hero .reveal,
html.e2s-motion .realisation-detail-hero .reveal {
  opacity: 1;
  transform: none;
  translate: 0 0;
  scale: 1;
  transition: none;
  will-change: auto;
}

/* Override the older, home-specific reveal without changing card hover effects. */
html.e2s-motion body.home-page section#realisations.work-horizontal .work-card.reveal {
  opacity: 0;
  transform: none;
  translate: var(--reveal-x) var(--reveal-y);
  scale: var(--reveal-scale);
}

html.e2s-motion body.home-page section#realisations.work-horizontal .work-card.reveal.in {
  opacity: 1;
  transform: none;
  translate: 0 0;
  scale: 1;
}

/* Shared timeline choreography: expertise method and partner selection process. */
html.e2s-motion .e2s-timeline-ready .e2s-timeline-head > * {
  opacity: 0;
  translate: 0 24px;
  transition:
    opacity .82s var(--motion-ease-out),
    translate .82s var(--motion-ease-out);
}

html.e2s-motion .e2s-timeline-ready .e2s-timeline-head > :nth-child(2) {
  transition-delay: 90ms;
}

html.e2s-motion .e2s-timeline-ready .e2s-timeline-head > :nth-child(3) {
  transition-delay: 170ms;
}

html.e2s-motion .e2s-timeline-ready.e2s-timeline-in .e2s-timeline-head > * {
  opacity: 1;
  translate: 0 0;
}

html.e2s-motion .e2s-timeline-ready .e2s-timeline-track {
  position: relative;
  border-top-color: transparent;
}

html.e2s-motion .e2s-timeline-ready .e2s-timeline-track::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, .24);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.15s var(--motion-ease-out) 240ms;
}

html.e2s-motion .e2s-timeline-ready.e2s-timeline-in .e2s-timeline-track::before {
  transform: scaleX(1);
}

html.e2s-motion .e2s-timeline-ready .e2s-timeline-step {
  opacity: 0;
  translate: 0 26px;
  transition:
    opacity .82s var(--motion-ease-out) var(--timeline-delay, 430ms),
    translate .82s var(--motion-ease-out) var(--timeline-delay, 430ms),
    background-color .35s ease,
    transform .35s ease;
}

html.e2s-motion .e2s-timeline-ready.e2s-timeline-in .e2s-timeline-step {
  opacity: 1;
  translate: 0 0;
}

html.e2s-motion .e2s-timeline-ready .expertise-step::before,
html.e2s-motion .e2s-timeline-ready .partners-method-steps article::before {
  opacity: 0;
  scale: .25;
  transition:
    opacity .45s var(--motion-ease-out) var(--timeline-dot-delay, 500ms),
    scale .55s var(--motion-ease-out) var(--timeline-dot-delay, 500ms),
    background-color .42s ease,
    box-shadow .42s ease;
}

html.e2s-motion .e2s-timeline-ready.e2s-timeline-in .expertise-step::before,
html.e2s-motion .e2s-timeline-ready.e2s-timeline-in .partners-method-steps article::before {
  opacity: 1;
  scale: 1;
}

html.e2s-motion .e2s-timeline-ready .partners-method-steps article {
  position: relative;
}

html.e2s-motion .e2s-timeline-ready .partners-method-steps article::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: -5px;
  left: 34px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffc22c;
  box-shadow: 0 0 0 7px rgba(255, 194, 44, .13);
}

html.e2s-motion .e2s-timeline-ready .partners-method-steps article:first-child::before {
  left: 0;
}

/* The private-audience palette remains authoritative on expertise pages. */
html.e2s-motion .expertise-page[data-audience-profile="particuliers"] .e2s-timeline-track::before {
  background: rgba(23, 23, 23, .28);
}

@media (max-width: 760px) {
  html.e2s-motion .reveal {
    --reveal-y: 22px;
    --reveal-duration: .72s;
  }

  html.e2s-motion .reveal[data-reveal="left"],
  html.e2s-motion .reveal[data-reveal="right"] {
    --reveal-x: 0px;
    --reveal-y: 22px;
  }

  html.e2s-motion .e2s-timeline-ready .e2s-timeline-head > * {
    translate: 0 18px;
  }

  html.e2s-motion .e2s-timeline-ready .e2s-timeline-step {
    translate: 0 20px;
  }

  html.e2s-motion .e2s-timeline-ready .partners-method-steps article::before {
    top: -5px;
    left: 0;
  }
}

@media (max-width: 1080px) {
  html.e2s-motion .e2s-timeline-ready .e2s-timeline-track {
    border-top-color: rgba(255, 255, 255, .18);
  }

  html.e2s-motion .expertise-page[data-audience-profile="particuliers"] .e2s-timeline-track {
    border-top-color: rgba(23, 23, 23, .28);
  }

  html.e2s-motion .e2s-timeline-ready .e2s-timeline-track::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.e2s-motion .reveal,
  html.e2s-motion .reveal.in {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
    transition: none !important;
  }

  html.e2s-motion .e2s-timeline-ready .e2s-timeline-head > *,
  html.e2s-motion .e2s-timeline-ready .e2s-timeline-step,
  html.e2s-motion .e2s-timeline-ready .expertise-step::before,
  html.e2s-motion .e2s-timeline-ready .partners-method-steps article::before {
    opacity: 1 !important;
    translate: none !important;
    scale: 1 !important;
    transition: none !important;
  }

  html.e2s-motion .e2s-timeline-ready .e2s-timeline-track::before {
    transform: scaleX(1) !important;
    transition: none !important;
  }
}
