:root {
  color-scheme: light;
  --navy: #154266;
  --navy-deep: #0e2d46;
  --navy-dark: #081d2d;
  --blue: #1c6ba4;
  --blue-soft: #edf5fb;
  --accent: #1371b0;
  --accent-light: #38bdf8;
  --steel: #8e9ca8;
  --steel-light: #dce3e8;
  --paper: #f4f6f8;
  --white: #fff;
  --ink: #142738;
  --muted: #5f707f;
  --line: #e2e8ee;
  --rule: rgba(21, 66, 102, .16);
  --font-body: "DM Sans", "Trebuchet MS", sans-serif;
  --font-display: "Manrope", "Trebuchet MS", sans-serif;
  --font-script: "Mrs Saint Delafield", cursive;
  --content: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 78px; }
#accueil { scroll-margin-top: 0; }
body { margin: 0; color: var(--ink); background: var(--white); font: 15px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
.container { width: min(var(--content), calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 30; top: 10px; left: 10px; padding: 10px 14px; color: var(--navy); background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

/* SVG Icons */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.125em;
}

/* Common Section Title */
.section-title {
  margin: 0 0 12px;
  color: var(--navy-deep);
  font: 800 32px/1.2 var(--font-display);
}

/* Utility Bar */
.utility-bar { color: rgba(255,255,255,.84); background: var(--navy-deep); font-size: 10px; }
.utility-inner { width: min(1320px, calc(100% - 80px)); min-height: 34px; display: flex; justify-content: space-between; align-items: center; margin-inline: auto; }
.utility-inner > span { text-transform: uppercase; letter-spacing: .08em; }
.utility-links { display: flex; gap: 24px; }
.utility-links a { transition: color .2s ease; }
.utility-links a:hover { color: var(--white); }

/* Site Header */
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--rule); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
.header-inner { width: min(1320px, calc(100% - 80px)); min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-inline: auto; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: var(--navy); }
.brand-logo { width: 138px; height: auto; max-height: 56px; flex: 0 0 auto; object-fit: contain; }
.primary-navigation { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav-link { position: relative; padding: 32px 0 29px; color: var(--ink); font-size: 11px; font-weight: 600; white-space: nowrap; transition: color .2s ease; }
.nav-link::after { position: absolute; right: 0; bottom: 22px; left: 0; height: 2px; background: var(--navy); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--navy); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* Buttons */
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 19px; border: 1px solid transparent; border-radius: 2px; font-size: 11px; font-weight: 700; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-navy { color: var(--white); background: var(--navy); box-shadow: 0 4px 14px rgba(21, 66, 102, .2); }
.button-navy:hover { background: var(--navy-deep); box-shadow: 0 6px 20px rgba(14, 45, 70, .3); }
.button-light { color: var(--navy-deep); background: var(--white); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.button-light:hover { background: var(--steel-light); }
.button-outline { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.button-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.button-whatsapp { color: var(--white); background: #25D366; border: 0; cursor: pointer; }
.button-whatsapp:hover { background: #20ba5a; }
.header-cta { min-height: 40px; padding-inline: 15px; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 4px; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-blue { color: var(--white); background: var(--blue); }
.btn-blue:hover { background: #15466a; }
.btn-ghost { border: 1px solid rgba(255,255,255,.6); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.button span { font-size: 17px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 12px; font-weight: 700; }
.text-link .icon { font-size: 15px; transition: transform .2s ease; }
.text-link span { font-size: 17px; transition: transform .2s ease; }
.text-link:hover span, .text-link:hover .icon { transform: translateX(4px); }

/* Section Space */
.section-space { padding-block: 48px; }

/* Hero Section */
.hero {
  min-height: calc(100vh - 116px);
  min-height: calc(100svh - 116px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
  position: relative;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 4.2vh, 48px) max(36px, calc((100vw - var(--content)) / 2)) clamp(24px, 3.8vh, 44px) max(36px, calc((100vw - var(--content)) / 2));
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(10px, 1.8vh, 16px);
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow > span { width: 28px; height: 2px; display: inline-block; background: var(--steel); }
.eyebrow-dark { color: var(--navy); }
.hero h1 {
  max-width: 650px;
  margin-bottom: clamp(10px, 1.8vh, 18px);
  font: 800 clamp(32px, 3.6vw, 54px)/1.12 var(--font-display);
  letter-spacing: -0.01em;
}
.hero h1 em, .section-heading h2 em, .values-heading h2 em, .contact-intro h2 em { color: var(--accent-light); font-style: normal; }
.hero-description {
  max-width: 480px;
  margin-bottom: clamp(14px, 2.4vh, 22px);
  color: rgba(255,255,255,.84);
  font-size: clamp(12.5px, 0.95vw, 14px);
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-signature {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: clamp(16px, 2.5vh, 28px);
  color: rgba(255,255,255,.74);
  font-size: 10px;
}
.signature-line { width: 30px; height: 1px; background: var(--steel); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(14px, 2vh, 22px);
  padding-top: clamp(12px, 1.8vh, 18px);
  border-top: 1px solid rgba(255,255,255,.16);
  width: 100%;
  max-width: 480px;
}
.stat-item { display: flex; flex-direction: column; }
.stat-number { font: 800 24px/1 var(--font-display); color: var(--accent-light); }
.stat-label { margin-top: 5px; font-size: 10px; line-height: 1.35; color: rgba(255,255,255,.72); }

/* Hero Visual with Parallax & Ken Burns */
.hero-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,44,67,.25), transparent 45%), linear-gradient(0deg, rgba(11,34,53,.55), transparent 40%);
  content: "";
  pointer-events: none;
  z-index: 2;
}
.hero-photo-wrap {
  position: absolute;
  top: -12%;
  left: -2%;
  width: 104%;
  height: 124%;
  will-change: transform;
  pointer-events: none;
}
@keyframes heroKenBurns {
  0% { transform: scale(1.02) translate3d(0, 0, 0); }
  50% { transform: scale(1.07) translate3d(-1%, -1.2%, 0); }
  100% { transform: scale(1.03) translate3d(1%, -0.6%, 0); }
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 82%;
  animation: heroKenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-photo-caption {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  border-radius: 4px;
  background: rgba(8, 29, 45, .82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
.hero-photo-caption span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.hero-photo-caption span:first-child::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

/* Trust Strip */
.trust-strip { background: linear-gradient(180deg, #0d283f 0%, #091f32 100%); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); padding: 22px 0; color: var(--white); }
.trust-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 8px; background: rgba(56, 189, 248, .12); border: 1px solid rgba(56, 189, 248, .28); display: grid; place-items: center; color: var(--accent-light); }
.trust-icon svg { width: 22px; height: 22px; }
.trust-content strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--white); line-height: 1.25; }
.trust-content p { margin: 3px 0 0; font-size: 11.5px; color: rgba(255,255,255,.72); line-height: 1.35; }

/* ---------- 1. À propos de nous (Modern Kept Section) ---------- */
.about { padding-block: 48px; background: var(--white); }
.about-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.about-text { max-width: 560px; }
.about-text p { margin-bottom: 14px; color: #3f4f5d; font-size: 14px; line-height: 1.7; }
.about-text .btn, .about-text .button { margin-top: 10px; }
.founder-card { display: flex; gap: 20px; align-items: flex-start; padding: 28px 26px 24px; border-radius: 6px; background: var(--blue-soft); border: 1px solid rgba(28, 91, 138, 0.12); }
.founder-avatar { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; color: var(--blue); font-size: 40px; }
.founder-photo { width: 92px; height: 110px; border-radius: 6px; object-fit: cover; object-position: 52% 18%; flex: 0 0 auto; border: 2px solid var(--white); box-shadow: 0 4px 14px rgba(15, 42, 63, .12); }
.founder-label { margin: 0 0 4px; color: var(--blue); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.founder-card h3 { margin: 0 0 4px; color: var(--navy-deep); font: 800 20px/1.25 var(--font-display); }
.founder-role { margin: 0 0 12px; color: var(--ink); font-size: 12.5px; font-weight: 600; }
.founder-bio { margin: 0 0 8px; color: #4c5d6a; font-size: 12.5px; line-height: 1.65; }
.founder-signature { display: inline-block; margin: 0; padding: 0 22px 2px 0; border-bottom: 1px solid var(--blue); color: var(--blue); font: 400 38px/1.1 var(--font-script); }

/* ---------- 2. Nos services ---------- */
.services { padding-block: 48px; background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { display: flex; flex-direction: column; min-height: 190px; padding: 28px 24px; border: 1px solid var(--rule); border-radius: 6px; background: var(--white); transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-4px); border-color: var(--navy); box-shadow: 0 14px 34px rgba(23, 62, 91, .09); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.service-icon-box { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 6px; background: var(--blue-soft); color: var(--navy); border: 1px solid rgba(21, 66, 102, .12); transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease; }
.service-card:hover .service-icon-box { background: var(--navy); color: var(--white); border-color: var(--navy); transform: scale(1.05); }
.service-icon { font-size: 22px; }
.service-index { color: var(--steel); font: 700 12px var(--font-display); letter-spacing: .05em; }
.service-card h3 { margin: 0 0 10px; color: var(--navy-deep); font: 700 16px/1.35 var(--font-display); }
.service-card p { margin: 0; color: #4c5d6a; font-size: 12.5px; line-height: 1.6; }

/* ---------- 3. Références & Réalisations (Restored from Reference) ---------- */
.references-section { background: var(--white); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 0; color: var(--navy-deep); font: 800 37px/1.18 var(--font-display); }
.section-heading h2 em { color: var(--accent); }
.section-intro { max-width: 580px; margin-top: 12px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.reference-list { border-top: 1px solid var(--rule); }
.reference-item { display: grid; grid-template-columns: 42px 1fr 180px; align-items: start; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.reference-index { padding-top: 3px; color: var(--steel); font: 700 11px var(--font-display); }
.reference-item h3 { margin-bottom: 5px; color: var(--navy); font: 700 15px/1.35 var(--font-display); }
.reference-item p { max-width: 760px; margin: 0; color: #536573; font-size: 12px; line-height: 1.65; }
.reference-location { padding-top: 3px; color: var(--muted); font-size: 9px; text-align: right; }
/* Real-cards grid (styled as Image 2 with deep blue background) */
.realisations-banner { margin-top: 36px; padding: 24px 20px; border-radius: 8px; background: linear-gradient(135deg, rgba(14, 42, 78, .92), rgba(20, 60, 105, .95)), url("photo/chantier-fond.jpeg") center / cover, var(--navy-deep); box-shadow: 0 12px 35px rgba(14, 42, 78, .16); }
.carousel { width: 100%; min-width: 0; }
.carousel-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; width: 100%; padding: 2px 0; }
.real-card { min-width: 0; overflow: hidden; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .15); color: var(--ink); background: var(--white); box-shadow: 0 6px 20px rgba(0, 0, 0, .22); transition: transform .3s ease, box-shadow .3s ease; cursor: pointer; }
.real-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 0, 0, .32); }
.real-photo { height: 160px; overflow: hidden; background: var(--navy); position: relative; }
.real-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.25,1,.5,1); }
.real-card:hover .real-photo img { transform: scale(1.05); }
.real-body { padding: 14px 16px 16px; background: var(--white); }
.real-body h3 { margin: 0 0 4px; color: var(--navy-deep); font: 700 14px/1.3 var(--font-display); }
.real-body p { margin: 0; color: var(--muted); font-size: 12px; }

/* ---------- 4. Clients / Ils nous font confiance (Restored from Reference) ---------- */
.clients-section { padding-block: 46px; background: var(--paper); }
.clients-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 28px; }
.clients-heading .eyebrow { margin: 0; }
.clients-heading h2 { margin: 0; color: var(--navy-deep); font: 800 28px/1.2 var(--font-display); }
.client-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; gap: 20px; padding: 27px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.client-name { min-height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-left: 1px solid var(--rule); color: #596a77; font-size: 10px; font-weight: 700; line-height: 1.4; text-align: center; transition: color .2s ease; cursor: pointer; }
.client-logo-frame { width: min(100%, 190px); height: 74px; display: grid; place-items: center; overflow: hidden; background: var(--white); border-radius: 6px; padding: 6px 12px; border: 1px solid rgba(21, 66, 102, .08); box-shadow: 0 2px 8px rgba(21, 66, 102, .04); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.client-name:hover .client-logo-frame { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 10px 24px rgba(21, 66, 102, .12); }
.client-logo { width: 100%; height: 100%; min-width: 0; min-height: 0; max-height: 100%; display: block; object-fit: contain; transition: transform .3s ease; }
.client-name:hover .client-logo { transform: scale(1.05); }
.client-name:hover span:last-child { color: var(--navy); }

/* ---------- 5. Nos engagements (Restored from Reference) ---------- */
.values-section { padding-block: 48px; color: var(--white); background: var(--navy); }
.values-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12%; align-items: start; }
.values-heading .eyebrow { color: rgba(255,255,255,.77); }
.values-heading h2 { margin-bottom: 17px; color: var(--white); font: 800 37px/1.18 var(--font-display); }
.values-heading h2 em { color: var(--accent-light); }
.values-heading > p:last-child { max-width: 370px; margin: 0; color: rgba(255,255,255,.74); font-size: 12px; }
.values-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.22); }
.values-list li { min-height: 54px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.92); font-size: 12px; }
.values-list li span { color: var(--accent-light); font: 700 11px var(--font-display); letter-spacing: .06em; }

/* ---------- 6. Pourquoi choisir ILLIH INGÉNIERIE ? ---------- */
.why { padding-block: 48px; background: var(--white); }
.why-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: center; }
.why .eyebrow { margin-bottom: 24px; }
.why-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.why-item { min-height: auto; padding: 4px 14px; border-left: 1px solid var(--line); text-align: center; }
.why-item:first-child { padding-left: 0; border-left: 0; }
.why-icon-box { width: 44px; height: 44px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 6px; background: var(--blue-soft); color: var(--navy); border: 1px solid rgba(21, 66, 102, .12); transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease; }
.why-item:hover .why-icon-box { transform: translateY(-2px) scale(1.05); background: var(--navy); color: var(--white); border-color: var(--navy); }
.why-icon { font-size: 22px; }
.why-item p { margin: 0; color: #3f4f5d; font-size: 12px; line-height: 1.5; }
.commit-card { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 200px; overflow: hidden; border-radius: 6px; color: var(--white); background: var(--navy-deep); box-shadow: 0 8px 24px rgba(16,44,67,.12); }
.commit-photo { min-height: 100%; background: var(--navy); }
.commit-photo img { width: 100%; height: 100%; object-fit: cover; }
.commit-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px 26px; }
.commit-body h3 { margin: 0 0 10px; font: 800 19px/1.25 var(--font-display); }
.commit-body p { margin: 0 0 16px; color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.6; }

/* ---------- 6bis. FAQ Section (Questions Fréquentes) ---------- */
.faq-section { background: var(--paper); border-top: 1px solid rgba(16,44,67,.08); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 54px; align-items: flex-start; }
.faq-intro { position: sticky; top: 100px; }
.faq-intro h2 { font: 800 34px/1.2 var(--font-display); color: var(--navy-deep); margin: 0 0 14px; }
.faq-help-box { margin-top: 26px; padding: 22px 20px; border-radius: 8px; background: var(--white); border: 1px solid rgba(19, 113, 176, 0.16); box-shadow: 0 4px 18px rgba(10, 31, 49, 0.05); }
.faq-help-badge { display: inline-block; margin-bottom: 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); background: rgba(19, 113, 176, .08); padding: 3px 9px; border-radius: 4px; }
.faq-help-box p { font-size: 12px; color: #475569; line-height: 1.6; margin: 0 0 16px; }
.faq-help-box .button { width: 100%; justify-content: center; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: 8px; background: var(--white); border: 1px solid #e2e8f0; overflow: hidden; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: rgba(19, 113, 176, 0.4); box-shadow: 0 6px 20px rgba(19, 113, 176, 0.08); }
.faq-question { padding: 18px 22px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14.5px; font-weight: 700; color: var(--navy-deep); user-select: none; transition: color .2s ease; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--accent); }
.faq-toggle { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: #f1f5f9; display: grid; place-items: center; font-size: 18px; font-weight: 600; color: var(--accent); transition: transform .25s ease, background .2s ease, color .2s ease; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--accent); color: var(--white); }
.faq-answer { padding: 0 22px 20px; font-size: 13px; line-height: 1.7; color: #475569; border-top: 1px solid #f1f5f9; margin-top: 4px; padding-top: 16px; }
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol { margin: 10px 0; padding-left: 20px; }
.faq-answer li { margin-bottom: 6px; }
.faq-answer strong { color: var(--navy-deep); }

/* ---------- 7. Contact (Restored from Reference) ---------- */
.contact-section { padding-block: 50px; color: var(--white); background: var(--navy-deep); }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 8%; align-items: start; }
.contact-intro h2 { margin-bottom: 23px; color: var(--white); font: 800 37px/1.18 var(--font-display); }
.contact-intro h2 em { color: var(--accent-light); }
.contact-intro > p:not(.eyebrow) { max-width: 330px; margin: 0; color: rgba(255,255,255,.75); font-size: 12px; }
.contact-panel { min-width: 0; }
.project-form { display: grid; gap: 15px; margin-bottom: 28px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 18px; }
.project-form label { min-width: 0; display: grid; gap: 6px; color: rgba(255,255,255,.88); font-size: 11px; font-weight: 600; }
.project-form input, .project-form select, .project-form textarea { width: 100%; min-height: 39px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 2px; color: var(--white); background: rgba(255,255,255,.05); font: 13px var(--font-body); }
.project-form select option { color: var(--ink); background: var(--white); }
.project-form textarea { min-height: 94px; resize: vertical; }
.project-form input:focus, .project-form select:focus, .project-form textarea:focus { outline: 2px solid var(--accent-light); outline-offset: 1px; border-color: var(--accent-light); background: rgba(255,255,255,.08); }
.message-field { grid-column: 1 / -1; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-submit { border: 0; cursor: pointer; }
.form-note { max-width: 520px; margin: -4px 0 0; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.5; font-weight: 500; transition: color 0.3s ease; }
.privacy-details { color: rgba(255,255,255,.75); font-size: 10px; }
.privacy-details summary { width: fit-content; color: #bdc8d1; cursor: pointer; }
.privacy-details p { max-width: 520px; margin: 8px 0 0; line-height: 1.5; }
.contact-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; }
.contact-detail { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.26); }
.contact-detail > span { display: block; margin-bottom: 8px; color: var(--accent-light); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.contact-detail p { margin: 0; color: rgba(255,255,255,.9); font-size: 11px; line-height: 1.7; }
.contact-detail strong { color: var(--white); }
.contact-detail em { display: block; margin-top: 4px; font-size: 10px; color: var(--accent-light); font-style: normal; }
.contact-detail a { color: var(--accent-light); transition: color .2s ease; }
.contact-detail a:hover { color: var(--white); text-decoration: underline; }

/* ---------- 8. Footer ---------- */
.site-footer { color: rgba(255,255,255,.8); background: var(--navy-dark); }
.footer-main { display: grid; grid-template-columns: 1.35fr 1.55fr 1.1fr; gap: 36px; padding-block: 34px; }
.footer-about, .footer-nav, .footer-legal { min-width: 0; }
.footer-brand { display: inline-flex; align-items: center; padding: 0; background: transparent; }
.footer-brand .brand-logo, .footer-logo { width: 140px; height: auto; max-height: 56px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25)); }
.footer-tagline { max-width: 270px; margin: 12px 0 0; color: #bdc8d1; font-size: 11px; line-height: 1.6; }
.footer-title { margin: 0 0 12px; color: var(--white); font-size: 13.5px; font-weight: 700; letter-spacing: .02em; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; }
.footer-nav .footer-title { grid-column: 1 / -1; margin-bottom: 2px; }
.footer-nav a, .footer-bottom { color: rgba(255,255,255,.72); font-size: 11px; }
.footer-nav a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s ease; }
.footer-nav a::before { content: "›"; color: var(--accent-light); font-size: 13px; line-height: 1; transition: transform .2s ease; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--white); }
.footer-nav a:hover::before { transform: translateX(2px); color: var(--white); }
.footer-legal-text { margin: 0; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.7; }
.footer-legal-text strong { color: var(--white); font-size: 11.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom .container { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-right: 56px; }
.social-links { display: flex; align-items: center; gap: 8px; }
.social-link { width: 32px; height: 32px; display: grid; place-items: center; }
.social-link svg { width: 21px; height: 21px; }
.social-link:hover { color: var(--white); }
.social-link:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

/* Floating Elements (WhatsApp Left, Back-To-Top Right, Hidden on Hero/Accueil) */
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, .45); }
  50% { box-shadow: 0 4px 22px rgba(37, 211, 102, .7), 0 0 0 6px rgba(37, 211, 102, .18); }
}
.whatsapp-float {
  position: fixed;
  z-index: 25;
  left: 24px;
  right: auto;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .45);
  animation: wa-pulse 3.5s infinite ease-in-out;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease, box-shadow .2s ease;
}
.whatsapp-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.whatsapp-float:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .6);
}
.whatsapp-float svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.back-to-top {
  position: fixed;
  z-index: 15;
  right: 24px;
  bottom: 24px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #172c3d;
  background: #f5c400;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: #ffd633; transform: translateY(-3px); }
.back-to-top:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* Lightbox Modal */
.lightbox-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.lightbox-modal.is-active { opacity: 1; visibility: visible; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(11, 34, 53, .88); backdrop-filter: blur(8px); }
.lightbox-content { position: relative; z-index: 2; max-width: 860px; width: 100%; max-height: 90vh; display: flex; flex-direction: column; background: var(--navy-deep); border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .15); transform: scale(.95); transition: transform .25s ease; }
.lightbox-modal.is-active .lightbox-content { transform: scale(1); }
.lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--white); background: rgba(0, 0, 0, .6); cursor: pointer; font-size: 16px; transition: background .2s ease, transform .2s ease; }
.lightbox-close:hover { background: var(--navy); transform: scale(1.1); }
.lightbox-image { width: 100%; max-height: 62vh; object-fit: cover; background: #000; }
.lightbox-meta { padding: 16px 22px 20px; color: var(--white); }
.lightbox-tag { display: inline-block; padding: 3px 8px; border-radius: 2px; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-light); background: rgba(255, 255, 255, .1); margin-bottom: 6px; }
.lightbox-title { margin: 0 0 4px; font: 700 17px/1.3 var(--font-display); color: var(--white); }
.lightbox-desc { margin: 0; font-size: 12px; color: rgba(255, 255, 255, .82); }

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reference-item:nth-child(2) { transition-delay: .06s; }
.reference-item:nth-child(3) { transition-delay: .12s; }
@keyframes hero-arrive { from { opacity: .7; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
.hero-photo { animation: hero-arrive .9s ease-out both; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1000px) {
  .container, .header-inner, .utility-inner { width: min(100% - 48px, var(--content)); }
  .header-inner { min-height: 74px; }
  .primary-navigation { gap: 15px; }
  .nav-link { font-size: 10px; }
  .hero { min-height: 500px; }
  .hero-copy { padding-right: 28px; }
  .hero h1 { font-size: 48px; }
  .hero-visual { min-height: 500px; }

  /* About */
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-text { max-width: 640px; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Reference / Values / Contact */
  .values-layout, .contact-layout { gap: 8%; }
  .site-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Why */
  .why-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  section[id] { scroll-margin-top: 68px; }
  .container, .header-inner, .utility-inner { width: calc(100% - 40px); }
  .utility-inner { min-height: 31px; }
  .utility-links { gap: 14px; }
  .utility-inner > span { display: none; }
  .header-inner { min-height: 68px; }
  .brand-logo { width: 126px; max-height: 52px; }
  .menu-toggle { width: 40px; height: 40px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--rule); color: var(--navy); background: var(--white); cursor: pointer; }
  .menu-toggle span { width: 18px; height: 2px; display: block; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .primary-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-top: 1px solid var(--rule); background: var(--white); box-shadow: 0 16px 24px rgba(11,34,53,.12); }
  .primary-navigation.is-open { display: flex; flex-direction: column; }
  .nav-link { padding: 12px 3px; border-bottom: 1px solid var(--rule); font-size: 12px; }
  .nav-link::after { bottom: 6px; right: auto; width: 24px; }
  .header-cta { align-self: flex-start; margin-top: 14px; }

  /* Hero */
  .hero { min-height: auto; display: flex; flex-direction: column; }
  .hero-copy { min-height: 390px; padding: 58px 24px 44px; }
  .hero h1 { font-size: 42px; }
  .hero-description { max-width: 450px; font-size: 13px; }
  .hero-signature { margin-top: 30px; }
  .hero-visual { min-height: 340px; width: 100%; }
  .hero-photo-caption { right: 20px; bottom: 18px; left: 20px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
  .stat-number { font-size: 20px; }

  /* Trust Strip */
  .trust-strip { padding: 18px 0; }
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
  .trust-item { gap: 10px; }
  .trust-icon { width: 38px; height: 38px; }
  .trust-icon svg { width: 18px; height: 18px; }
  .trust-content strong { font-size: 12px; }
  .trust-content p { font-size: 10.5px; }

  .section-space { padding-block: 62px; }

  /* About */
  .about { padding-block: 48px; }
  .about-layout { grid-template-columns: 1fr; gap: 24px; }
  .founder-card { padding: 22px; }

  /* Services */
  .services { padding-block: 48px; }
  .services-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }

  /* References */
  .section-heading { display: block; margin-bottom: 27px; }
  .section-intro { max-width: 500px; margin-top: 15px; }
  .realisations-banner { padding: 18px 14px; margin-top: 24px; }
  .carousel-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .carousel-track::-webkit-scrollbar { display: none; }
  .real-card { flex: 0 0 80%; min-width: 220px; scroll-snap-align: start; }

  /* Clients */
  .clients-section { padding-block: 42px; }
  .clients-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .client-list { grid-template-columns: repeat(2, 1fr); gap: 17px 10px; padding-block: 21px; }
  .client-name:last-child { grid-column: 1 / -1; }
  .client-name { min-height: 120px; }
  .client-logo-frame { height: 58px; }

  /* Values */
  .values-section { padding-block: 60px; }
  .values-layout { grid-template-columns: 1fr; gap: 35px; }
  .values-heading h2, .contact-intro h2 { font-size: 32px; }

  /* Why */
  .why { padding-block: 48px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .why-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .why-item:last-child { grid-column: 1 / -1; border-left: 0; }
  .commit-card { grid-template-columns: 1fr; }
  .commit-photo { height: 180px; }

  /* FAQ */
  .faq-section { padding-block: 52px; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro { position: static; max-width: 100%; }
  .faq-intro h2 { font-size: 27px; }
  .faq-help-box { margin-top: 20px; padding: 18px 16px; }
  .faq-question { padding: 15px 16px; font-size: 13.5px; }
  .faq-answer { padding: 0 16px 16px; font-size: 12.5px; }

  /* Contact */
  .contact-section { padding-block: 58px; }
  .contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .contact-details { grid-template-columns: 1fr; gap: 16px; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding-block: 32px; }
  .footer-tagline { max-width: 360px; }
  .footer-nav { gap: 10px; }
  .footer-title { margin-bottom: 12px; }
  .back-to-top { right: 16px; bottom: 16px; width: 36px; height: 36px; font-size: 18px; }
  .whatsapp-float { left: 16px; right: auto; bottom: 16px; padding: 9px 13px; font-size: 11px; }
  .footer-bottom .container { padding-right: 54px; }
}

@media (max-width: 420px) {
  .container, .header-inner, .utility-inner { width: calc(100% - 32px); }
  .hero-copy { min-height: 380px; padding-inline: 20px; }
  .hero h1 { font-size: 36px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 300px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-strip-grid { grid-template-columns: 1fr; gap: 12px; }
  .real-card { flex-basis: 88%; }
  .field-grid, .contact-details { grid-template-columns: 1fr; gap: 15px; }
  .whatsapp-float { left: 16px; right: auto; bottom: 16px; padding: 9px; border-radius: 50%; }
  .whatsapp-float-label { display: none; }
  .footer-bottom .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; padding: 12px 54px 12px 0; }
  .footer-bottom .social-links { grid-column: 1; grid-row: 2; justify-self: start; }
}
