/* I2A Cristal : feuille de style du site
   Mise en page : grille nette de 1200 px, photos de chantiers réels,
   le bleu du logo comme seule couleur d'accent, une bande sombre pour le suivi en ligne. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2-variations"),
       url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs : thème clair */
  --bg: #FFFFFF;
  --bg-alt: #F3F6F9;
  --surface: #FFFFFF;
  --ink: #0D1B2A;
  --muted: #475769;
  --subtle: #5F6E7E;
  --line: #DCE3EB;
  --line-strong: #8796A5;
  --chip-line: #C5D0DB;
  --panel-line: rgba(13, 27, 42, 0.12);
  --accent: #0060A8;
  --accent-deep: #04497E;
  --accent-soft: #EBF2F8;
  --on-accent: #FFFFFF;
  --band: #0D1B2A;
  --band-ink: #FFFFFF;
  --band-muted: #C3D0DD;
  --band-soft: #9FB0C2;
  --band-accent: #9CC3EA;
  --band-line: rgba(255, 255, 255, 0.16);
  --band-btn: #FFFFFF;
  --band-btn-ink: #0D1B2A;
  --band-btn-hover: #DCE8F4;
  --band-btn-line: rgba(255, 255, 255, 0.42);
  --ok: #146C43;
  --ok-dot: #1F9D55;
  --ok-soft: #E7F5EE;
  --error: #B42318;
  --error-soft: #FDECEA;
  --warn-ink: #7A4B00;
  --warn-soft: #FFF3D6;
  --star: #D99A0B;
  --pill: rgba(13, 27, 42, 0.82);
  --pill-ink: #FFFFFF;
  --backdrop: rgba(5, 12, 20, 0.86);
  --shadow: 0 28px 56px -28px rgba(13, 27, 42, 0.42), 0 2px 6px rgba(13, 27, 42, 0.06);

  /* Typographie */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Mesures */
  --max: 1200px;
  --gutter-l: max(clamp(16px, 5vw, 64px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 5vw, 64px), env(safe-area-inset-right, 0px));
  --section: clamp(64px, 8vw, 112px);
  --radius: 12px;
  --radius-lg: 16px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1520;
    --bg-alt: #0E1C2A;
    --surface: #122233;
    --ink: #E7EEF5;
    --muted: #A8B7C6;
    --subtle: #93A3B4;
    --line: #22364B;
    --line-strong: #5E7690;
    --chip-line: #2C4560;
    --panel-line: rgba(255, 255, 255, 0.12);
    --accent: #5AA9E6;
    --accent-deep: #8CC5F2;
    --accent-soft: #10304C;
    --on-accent: #04111D;
    --band: #050C14;
    --band-ink: #FFFFFF;
    --band-muted: #B6C4D2;
    --band-soft: #93A6B9;
    --band-accent: #9CC3EA;
    --band-line: rgba(255, 255, 255, 0.14);
    --band-btn: #FFFFFF;
    --band-btn-ink: #0D1B2A;
    --band-btn-hover: #DCE8F4;
    --band-btn-line: rgba(255, 255, 255, 0.42);
    --ok: #5BD08D;
    --ok-dot: #3DBA72;
    --ok-soft: #12301F;
    --error: #FF8A80;
    --error-soft: #3A1512;
    --warn-ink: #F6C66A;
    --warn-soft: #3A2A08;
    --star: #F2B530;
    --pill: rgba(4, 10, 18, 0.85);
    --pill-ink: #FFFFFF;
    --backdrop: rgba(2, 6, 10, 0.9);
    --shadow: 0 28px 56px -28px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0A1520;
  --bg-alt: #0E1C2A;
  --surface: #122233;
  --ink: #E7EEF5;
  --muted: #A8B7C6;
  --subtle: #93A3B4;
  --line: #22364B;
  --line-strong: #5E7690;
  --chip-line: #2C4560;
  --panel-line: rgba(255, 255, 255, 0.12);
  --accent: #5AA9E6;
  --accent-deep: #8CC5F2;
  --accent-soft: #10304C;
  --on-accent: #04111D;
  --band: #050C14;
  --band-ink: #FFFFFF;
  --band-muted: #B6C4D2;
  --band-soft: #93A6B9;
  --band-accent: #9CC3EA;
  --band-line: rgba(255, 255, 255, 0.14);
  --band-btn: #FFFFFF;
  --band-btn-ink: #0D1B2A;
  --band-btn-hover: #DCE8F4;
  --band-btn-line: rgba(255, 255, 255, 0.42);
  --ok: #5BD08D;
  --ok-dot: #3DBA72;
  --ok-soft: #12301F;
  --error: #FF8A80;
  --error-soft: #3A1512;
  --warn-ink: #F6C66A;
  --warn-soft: #3A2A08;
  --star: #F2B530;
  --pill: rgba(4, 10, 18, 0.85);
  --pill-ink: #FFFFFF;
  --backdrop: rgba(2, 6, 10, 0.9);
  --shadow: 0 28px 56px -28px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--surface);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--accent-soft); color: var(--ink); }
[hidden] { display: none !important; }
strong { font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); color: var(--on-accent); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 128px);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.section { padding-block: var(--section); }
.section--alt { background: var(--bg-alt); }
.section--band { background: var(--band); color: var(--band-ink); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }

/* ---------- Icônes ---------- */
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon.star { fill: var(--star); stroke: none; }
.icon.ok { color: var(--ok-dot); stroke-width: 2.4; }
.icon.accent { color: var(--accent); }
.icon.dim { color: var(--muted); }

/* ---------- Typographie ---------- */
.eyebrow {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section--band .eyebrow { color: var(--band-accent); }
.h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.125rem);
  line-height: 1.04;
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -0.025em;
}
.h1 em { font-style: normal; color: var(--accent); }
.h1--page { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.h2 {
  margin: 14px 0 0;
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
  font-stretch: 106%;
  letter-spacing: -0.02em;
}
.h2--sm { font-size: clamp(1.625rem, 2.6vw, 2.25rem); line-height: 1.15; }
.h3 {
  margin: 0;
  font-size: 1.21875rem;
  line-height: 1.3;
  font-weight: 700;
  font-stretch: 104%;
}
.lead {
  margin: 0;
  max-width: 36em;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.6;
  color: var(--muted);
}
.section--band .lead, .section--band p { color: var(--band-muted); }
.h1 + .lead, .h2 + .lead, .h2 + p { margin-top: 22px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 64px;
}
.section-head > div { flex: 1 1 560px; min-width: 0; }
.section-head > .lead { flex: 1 1 340px; max-width: 460px; font-size: 1.0625rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); color: var(--on-accent); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--chip-line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: var(--band-btn); color: var(--band-btn-ink); }
.btn-light:hover { background: var(--band-btn-hover); color: var(--band-btn-ink); }
.btn-outline-light { background: transparent; color: var(--band-ink); border-color: var(--band-btn-line); }
.btn-outline-light:hover { border-color: var(--band-ink); color: var(--band-ink); }
.btn-sm { min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 9px; font-size: 0.90625rem; font-weight: 600; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

/* ---------- Bandeau et en-tête ---------- */
.topbar { background: var(--band); color: var(--band-muted); font-size: 0.84375rem; line-height: 1.4; }
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  padding-block: 9px;
}
.topbar__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.topbar a { color: var(--band-ink); text-decoration: none; }
.topbar a:hover { color: var(--band-ink); text-decoration: underline; }

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  min-height: 76px;
}
.brand { display: flex; flex: none; align-items: center; padding-block: 6px; }
.brand img { width: auto; height: 56px; }
.nav-main { display: none; align-items: center; gap: 26px; font-size: 0.9375rem; font-weight: 500; }
.nav-main a, .nav-mobile a { color: var(--ink); text-decoration: none; }
.nav-main a { padding-block: 8px; }
.nav-main a:hover, .nav-mobile a:hover { color: var(--accent); }
.nav-main a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--chip-line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.nav-mobile { border-top: 1px solid var(--line); background: var(--surface); }
.nav-mobile .wrap { display: flex; flex-direction: column; padding-block: 6px 20px; }
.nav-mobile a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; font-weight: 600; }
.nav-mobile a[aria-current="page"] { color: var(--accent); }
.nav-mobile .btn { margin-top: 18px; border-bottom: 0; }
.nav-mobile .btn-primary, .nav-mobile .btn-primary:hover { color: var(--on-accent); }

@media (min-width: 1200px) {
  .nav-main { display: flex; }
  .menu-toggle, .nav-mobile { display: none !important; }
}
@media (max-width: 760px) { .hide-sm { display: none !important; } }
@media (max-width: 520px) {
  .hide-xs { display: none !important; }
  .brand img { height: 48px; }
  .header-row { min-height: 68px; }
}

/* ---------- Accueil : en-tête ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 104px); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 80px); }
.hero__text { flex: 1 1 520px; min-width: 0; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.hero__eyebrow::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--accent); }
.hero .lead { margin-top: 26px; max-width: 580px; }
.hero__actions { margin-top: 34px; }
.hero__call { margin: 18px 0 0; font-size: 0.9375rem; color: var(--muted); }
.hero__call a { font-weight: 700; text-decoration: none; }
.trust {
  list-style: none;
  margin: 40px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 0.90625rem;
  font-weight: 500;
}
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .icon { width: 18px; height: 18px; stroke-width: 1.8; color: var(--accent); }
.hero__visual { flex: 1 1 400px; min-width: 0; position: relative; padding-bottom: 12px; }
.hero__photo {
  position: relative;
  margin: 0 0 0 clamp(0px, 9%, 64px);
  max-width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-alt);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pill);
  color: var(--pill-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}
.client-card {
  position: absolute;
  left: 0;
  bottom: 36px;
  width: min(340px, 86%);
  padding: 20px 20px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  line-height: 1.45;
}
.client-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.client-card__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78125rem; font-weight: 600; color: var(--ok); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok-dot); }
.client-card__title { margin: 12px 0 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.client-card__sub { margin: 2px 0 0; color: var(--muted); }
.timeline { list-style: none; margin: 14px 0 0; padding: 0; }
.timeline li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.timeline .t { width: 42px; flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline .label { flex: 1 1 auto; min-width: 0; }
.timeline .label span { color: var(--muted); }
.timeline .icon { width: 18px; height: 18px; }
.client-card__note { margin: 6px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--subtle); }
@media (max-width: 640px) {
  .hero__visual { padding-bottom: 0; }
  .hero__photo { margin-left: 0; }
  .client-card { position: relative; left: auto; bottom: auto; width: auto; margin: -72px 14px 0; }
}

/* ---------- Cartes de prestations ---------- */
.cards { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px; }
.service-card {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.service-card:hover { border-color: var(--accent); transform: translateY(-2px); color: inherit; }
.service-card > .icon { width: 30px; height: 30px; stroke-width: 1.5; color: var(--accent); }
.service-card .h3 { margin-top: 10px; }
.service-card p { margin: 0; font-size: 0.96875rem; line-height: 1.55; color: var(--muted); }
.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.90625rem;
  font-weight: 650;
  color: var(--accent);
}
.service-card .more .icon { width: 16px; height: 16px; stroke-width: 2; }
.cta-strip {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cta-strip p { margin: 0; font-size: 1.0625rem; font-weight: 600; }

/* ---------- Blocs en deux colonnes ---------- */
.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(40px, 6vw, 80px); }
.split > * { flex: 1 1 440px; min-width: 0; }
.split--center { align-items: center; }
.checklist { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 1.03125rem; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; }
.checklist .icon { width: 20px; height: 20px; margin-top: 3px; stroke-width: 2.2; color: var(--accent); }
.checklist--sm { margin-top: 16px; gap: 10px; font-size: 0.96875rem; }
.checklist--sm .icon { width: 18px; height: 18px; margin-top: 3px; }
.split .actions { margin-top: 34px; }
.panel { padding: clamp(28px, 3.5vw, 44px); background: var(--accent-soft); border-radius: var(--radius-lg); }
.panel__title { display: flex; align-items: center; gap: 14px; }
.panel__title .icon { width: 30px; height: 30px; stroke-width: 1.5; color: var(--accent-deep); }
.steps { list-style: none; margin: 22px 0 0; padding: 0; }
.steps li { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--panel-line); }
.steps__n {
  flex: none;
  width: 44px;
  font-size: 1.625rem;
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--accent-deep);
}
.steps strong { display: block; font-size: 1.09375rem; line-height: 1.35; }
.steps p { margin: 4px 0 0; font-size: 0.96875rem; line-height: 1.55; color: var(--muted); }
.panel__note { margin: 0; padding-top: 18px; border-top: 1px solid var(--panel-line); font-size: 0.9375rem; color: var(--muted); }

/* ---------- Réalisations ---------- */
.projects { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px; }
.project-card {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
a.project-card:hover { border-color: var(--accent); color: inherit; }
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.project-card__body p { margin: 0; font-size: 0.96875rem; line-height: 1.55; color: var(--muted); }
.tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.78125rem;
  font-weight: 700;
}
.meta { margin: 0; font-size: 0.90625rem; font-weight: 600; color: var(--subtle); }
.project-card .meta { color: var(--subtle); }
.section-foot { margin-top: 36px; }

.project { padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.project:first-of-type { border-top: 0; }
.project__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px 56px; }
.project__intro { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.project__intro .h2 { margin-top: 2px; }
.project__intro p:not(.meta) { margin: 0; color: var(--muted); max-width: 40em; }
.project__facts { flex: 1 1 300px; min-width: 0; }
.project__facts .checklist { margin-top: 4px; }
.gallery {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 12px;
}
.gallery button {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  cursor: zoom-in;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery .photo-tag { top: auto; right: auto; bottom: 10px; left: 10px; padding: 4px 10px; font-size: 0.75rem; }

.filters { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--chip-line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.90625rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }

/* Visionneuse */
.lightbox {
  width: min(1000px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--band);
  color: var(--band-ink);
  overflow: hidden;
}
.lightbox::backdrop { background: var(--backdrop); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; }
.lightbox img { width: auto; max-width: 100%; max-height: calc(100vh - 150px); margin-inline: auto; object-fit: contain; }
.lightbox figcaption { padding: 14px 150px 16px 18px; font-size: 0.9375rem; color: var(--band-muted); }
.lightbox__nav { position: absolute; right: 10px; bottom: 8px; display: flex; gap: 6px; }
.lightbox__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--band-line);
  border-radius: 50%;
  background: var(--pill);
  color: var(--pill-ink);
  cursor: pointer;
}
.lightbox__btn .icon { width: 20px; height: 20px; stroke-width: 2; }

/* ---------- Bande espace client ---------- */
.features { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 36px 32px; }
.feature { flex: 1 1 240px; min-width: 0; padding-top: 22px; border-top: 1px solid var(--band-line); }
.feature .icon { width: 28px; height: 28px; stroke-width: 1.5; color: var(--band-accent); }
.feature h3 { margin: 16px 0 0; font-size: 1.15625rem; line-height: 1.3; color: var(--band-ink); }
.feature p { margin: 6px 0 0; font-size: 0.96875rem; line-height: 1.55; }
.section--band .actions { margin-top: 52px; }

/* ---------- Engagements ---------- */
.commitments { list-style: none; margin: 56px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 40px 32px; }
.commitments li { flex: 1 1 320px; min-width: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.commitments .icon { width: 26px; height: 26px; stroke-width: 1.6; color: var(--accent); }
.commitments h3 { margin: 12px 0 0; }
.commitments p { margin: 8px 0 0; font-size: 0.96875rem; color: var(--muted); }

/* ---------- Références ---------- */
.sectors { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--chip-line); }
.sectors li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--chip-line);
}
.sectors strong { font-size: 1.125rem; font-stretch: 104%; }
.sectors span { font-size: 0.9375rem; color: var(--muted); }
.rating {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.rating__score { font-size: 2.875rem; font-weight: 800; font-stretch: 112%; line-height: 1; letter-spacing: -0.02em; }
.rating p { margin: 6px 0 0; font-size: 0.90625rem; color: var(--muted); }
.stars { display: flex; gap: 3px; }
.stars .icon { width: 20px; height: 20px; }

/* ---------- Recrutement ---------- */
.recruit .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; }
.recruit__text { flex: 1 1 560px; min-width: 0; }
.recruit__text > p:not(.eyebrow) { margin: 12px 0 0; max-width: 620px; color: var(--muted); }
.recruit__text .btn { margin-top: 24px; }
.recruit figure, .team-photo { flex: 0 1 320px; min-width: 0; margin: 0; }
.recruit img, .team-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
figcaption { margin-top: 10px; font-size: 0.84375rem; color: var(--subtle); }

/* ---------- Contact et formulaire ---------- */
.contact-list { margin: 36px 0 0; display: flex; flex-direction: column; gap: 22px; }
.contact-list dt { font-size: 0.78125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.contact-list dd { margin: 4px 0 0; }
.contact-list .big { font-size: 1.75rem; font-weight: 800; font-stretch: 110%; line-height: 1.2; letter-spacing: -0.01em; }
.contact-list .big a { color: var(--ink); text-decoration: none; }
.contact-list a { font-weight: 600; }
.depts { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.depts li {
  min-width: 48px;
  padding: 6px 12px;
  border: 1px solid var(--chip-line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.form__title { margin: 0; font-size: 1.3125rem; font-weight: 800; font-stretch: 106%; }
.form__row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.90625rem; font-weight: 600; }
.req { color: var(--accent); }
.input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
textarea.input { min-height: 132px; line-height: 1.5; resize: vertical; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 0.90625rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.form__hint { font-size: 0.84375rem; color: var(--subtle); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 14px 16px; border-radius: 10px; font-size: 0.9375rem; line-height: 1.5; }
.form-status[data-kind="info"] { background: var(--accent-soft); color: var(--accent-deep); }
.form-status[data-kind="error"] { background: var(--error-soft); color: var(--error); }
.form-done {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.form-done__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.form-done__icon .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.form-done h3 { margin: 8px 0 0; font-size: 1.5rem; font-weight: 800; font-stretch: 106%; }
.form-done p { margin: 0; color: var(--muted); }

/* ---------- Pages intérieures ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-hero--split .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 72px); }
.page-hero--split .page-hero__text { flex: 1 1 480px; min-width: 0; }
.page-hero__photo { flex: 1 1 380px; min-width: 0; position: relative; margin: 0; max-width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; background: var(--line); }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__photo .photo-tag { top: auto; right: auto; left: 14px; bottom: 14px; }
.breadcrumb { margin: 0 0 18px; font-size: 0.875rem; color: var(--subtle); }
.breadcrumb a { color: var(--subtle); }
.breadcrumb a:hover { color: var(--accent); }
.page-hero .lead { margin-top: 20px; }
.jump { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px 48px;
  padding-block: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.service-detail:first-child { border-top: 0; }
@media (min-width: 900px) { .service-detail { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.service-detail__head .icon { width: 36px; height: 36px; stroke-width: 1.5; color: var(--accent); }
.service-detail__head h2 { margin: 16px 0 0; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; font-weight: 800; font-stretch: 106%; letter-spacing: -0.015em; }
.service-detail__body > p:first-child { margin: 0; font-size: 1.09375rem; }
.service-detail__body h3 { margin: 22px 0 0; font-size: 0.78125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.for-whom { margin: 20px 0 0; font-size: 0.96875rem; color: var(--muted); }
.for-whom strong { color: var(--ink); }
.service-detail .actions { margin-top: 24px; }
.photo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; padding-bottom: clamp(40px, 5vw, 60px); }
.photo-strip figure { position: relative; margin: 0; max-width: 100%; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip .photo-tag { top: auto; right: auto; left: 10px; bottom: 10px; font-size: 0.75rem; padding: 4px 10px; }
.photo-strip__link { grid-column: 1 / -1; margin: 0; font-size: 0.9375rem; }
.photo-strip--small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 240px)); margin-top: 28px; padding-bottom: 0; }
.photo-strip--small figure { aspect-ratio: 4 / 3; }

.offer-grid, .equipment { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 20px; }
.offer {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.offer > .icon { width: 30px; height: 30px; stroke-width: 1.5; color: var(--accent); }
.offer .h3 { margin-top: 6px; }
.offer p { margin: 0; font-size: 0.96875rem; color: var(--muted); }
.section--alt .offer { background: var(--surface); }
.equipment__item {
  flex: 1 1 230px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.equipment__media { aspect-ratio: 4 / 3; max-width: 100%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent-deep); }
.equipment__media img { width: 100%; height: 100%; object-fit: cover; }
.equipment__media .icon { width: 56px; height: 56px; stroke-width: 1.2; }
.equipment__body { padding: 18px 20px 22px; }
.equipment__body p { margin: 6px 0 0; font-size: 0.9375rem; color: var(--muted); }

/* Textes légaux */
.prose { max-width: 46rem; }
.prose h2 { margin: 44px 0 10px; font-size: 1.375rem; line-height: 1.25; font-weight: 800; font-stretch: 104%; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 1.2em; }
.prose .note { color: var(--muted); font-size: 0.9375rem; }
.facts { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 24px; }
@media (min-width: 640px) { .facts { grid-template-columns: minmax(160px, 220px) minmax(0, 1fr); } }
.facts dt { font-weight: 700; padding-top: 10px; }
.facts dd { margin: 0; padding-top: 10px; color: var(--muted); }
@media (min-width: 640px) { .facts dt, .facts dd { border-top: 1px solid var(--line); } }
.to-complete { padding: 1px 6px; border-radius: 4px; background: var(--warn-soft); color: var(--warn-ink); font-weight: 600; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--band); color: var(--band-muted); font-size: 0.9375rem; line-height: 1.6; }
.site-footer .wrap { padding-block: clamp(56px, 7vw, 88px) 32px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 48px; }
.footer-brand { flex: 1 1 300px; min-width: 0; max-width: 380px; }
.footer-brand img { width: 200px; }
.footer-brand p { margin: 16px 0 0; }
.footer-col { flex: 0 1 200px; min-width: 0; }
.footer-col h2 { margin: 0; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--band-ink); }
.footer-col ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col p { margin: 14px 0 0; }
.footer-col .btn { margin-top: 16px; }
.site-footer a:not(.btn) { color: var(--band-muted); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--band-ink); text-decoration: underline; }
.footer-phone { font-weight: 700; }
.footer-legal {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--band-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 0.84375rem;
  color: var(--band-soft);
}
.footer-legal p { margin: 0; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer .footer-legal a:not(.btn) { color: var(--band-soft); }
