/* ==========================================================================
   ACCORE INGÉNIERIE — feuille de style principale
   Charte issue du logo : bleu #01499E / #1B4478 · bronze #C3A688 / #B99970
   ========================================================================== */

/* ---------- 1. Jetons de design ---------- */
:root {
  --blue-950: #04203f;
  --blue-900: #062a54;
  --blue-850: #08325f;
  --blue-800: #0a3a70;
  --blue-700: #0e4c8f;
  --blue-600: #1263b4;
  --blue-500: #2e7fd1;
  --blue-100: #e8f0fa;

  --bronze-700: #86683d;
  --bronze-600: #9c7c4e;
  --bronze-500: #be9c6b;
  --bronze-400: #d2b489;
  --bronze-200: #eaddc6;
  --bronze-100: #f6f0e5;

  --ink: #0d1826;
  --slate-700: #38455a;
  --slate-500: #64718a;
  --slate-400: #8a95a8;
  --line: #e2e7ee;
  --line-soft: #eef1f6;
  --paper: #ffffff;
  --paper-2: #f6f8fb;
  --paper-3: #eef2f7;

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-s: 6px;
  --radius: 14px;
  --radius-l: 22px;

  --shadow-s: 0 1px 2px rgba(13, 24, 38, .05), 0 2px 8px rgba(13, 24, 38, .04);
  --shadow-m: 0 4px 12px rgba(13, 24, 38, .06), 0 18px 40px rgba(13, 24, 38, .08);
  --shadow-l: 0 10px 24px rgba(6, 42, 84, .10), 0 30px 70px rgba(6, 42, 84, .14);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(68px, 8.5vw, 128px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--slate-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-600); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 4.05rem); font-weight: 500; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); font-weight: 500; letter-spacing: -.03em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .38em; }

::selection { background: var(--blue-700); color: #fff; }

:focus-visible {
  outline: 3px solid var(--bronze-500);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--blue-900); color: #fff; padding: 14px 22px; border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. Utilitaires de mise en page ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.container--wide { max-width: 1420px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--soft { background: var(--paper-2); }
.section--dark { background: var(--blue-950); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.lead { font-size: clamp(1.06rem, 1.5vw, 1.24rem); line-height: 1.62; color: var(--slate-700); }
.section--dark .lead { color: rgba(255, 255, 255, .8); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--bronze-600);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--bronze-500); flex: none;
}
.section--dark .eyebrow { color: var(--bronze-400); }
.eyebrow--center { justify-content: center; }

.section-head { max-width: 780px; margin-bottom: clamp(38px, 5vw, 62px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-bottom: 0; }

.grid { display: grid; gap: clamp(18px, 2.2vw, 30px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 76px); align-items: center;
}
.split--reverse > :first-child { order: 2; }

.text-center { text-align: center; }

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-size: .92rem; font-weight: 600;
  letter-spacing: .01em;
  padding: 15px 28px; border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; transition: all .28s var(--ease); text-align: center;
}
.btn svg { flex: none; transition: transform .28s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--blue-800); color: #fff; box-shadow: 0 8px 24px rgba(10, 58, 112, .26); }
.btn--primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10, 58, 112, .32); }

.btn--gold { background: var(--bronze-500); color: var(--blue-950); }
.btn--gold:hover { background: var(--bronze-400); color: var(--blue-950); transform: translateY(-2px); }

.btn--ghost { border-color: rgba(13, 24, 38, .18); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--blue-800); color: var(--blue-800); background: rgba(10, 58, 112, .04); }

.btn--light { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; color: var(--blue-900); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  color: var(--blue-800);
}
.link-arrow svg { transition: transform .28s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 5. En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 16px;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(4, 32, 63, .58), rgba(4, 32, 63, 0));
  opacity: 1; transition: opacity .35s var(--ease);
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(13, 24, 38, .07);
  padding-block: 10px;
}
.site-header.is-solid::before { opacity: 0; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; transition: height .35s var(--ease); }
.brand .logo-dark { display: none; }
.site-header.is-solid .brand .logo-dark { display: block; }
.site-header.is-solid .brand .logo-light { display: none; }
.site-header.is-solid .brand img { height: 40px; }

.nav { display: flex; align-items: center; gap: clamp(4px, 1vw, 12px); }
.nav a {
  font-family: var(--font-display); font-size: .89rem; font-weight: 500;
  color: rgba(255, 255, 255, .88);
  padding: 10px 13px; border-radius: 8px; position: relative;
  transition: color .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1.5px;
  background: var(--bronze-500); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover { color: #fff; }
.site-header.is-solid .nav a { color: var(--slate-700); }
.site-header.is-solid .nav a:hover,
.site-header.is-solid .nav a[aria-current="page"] { color: var(--blue-800); }

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header-tel {
  display: none; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  color: #fff;
}
.site-header.is-solid .header-tel { color: var(--blue-800); }
.header-cta .btn { padding: 12px 22px; font-size: .86rem; }
.site-header:not(.is-solid) .header-cta .btn--primary {
  background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .38); backdrop-filter: blur(8px); box-shadow: none;
}
.site-header:not(.is-solid) .header-cta .btn--primary:hover { background: #fff; color: var(--blue-900); }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .08); border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  transition: all .25s var(--ease);
}
.burger span { display: block; width: 19px; height: 1.6px; background: #fff; transition: all .3s var(--ease); }
.site-header.is-solid .burger { border-color: var(--line); background: var(--paper-2); }
.site-header.is-solid .burger span { background: var(--ink); }

/* menu mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--blue-950);
  display: flex; flex-direction: column;
  padding: 22px var(--gutter) 40px;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .45s var(--ease), opacity .35s var(--ease), visibility .45s;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.mobile-nav__top img { height: 40px; }
.mobile-nav__close {
  width: 46px; height: 46px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .28);
  background: transparent; color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.mobile-nav a.mnav-link {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; color: #fff;
  padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mobile-nav a.mnav-link span { font-size: .7rem; color: var(--bronze-400); font-weight: 600; letter-spacing: .1em; }
.mobile-nav__foot { margin-top: auto; padding-top: 32px; color: rgba(255, 255, 255, .68); font-size: .95rem; }
.mobile-nav__foot a { color: #fff; display: block; margin-bottom: 6px; }

/* ---------- 6. Héros ---------- */
.hero {
  position: relative; min-height: min(94vh, 900px);
  display: flex; align-items: flex-end;
  padding-top: 150px; padding-bottom: clamp(46px, 6vw, 84px);
  background: var(--blue-950); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 16s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 32, 63, .93) 0%, rgba(4, 32, 63, .78) 42%, rgba(4, 32, 63, .28) 100%),
    linear-gradient(to top, rgba(4, 32, 63, .88), rgba(4, 32, 63, 0) 55%);
}
.hero__inner { position: relative; width: 100%; }
.hero__content { max-width: 830px; color: #fff; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--bronze-400); }
.hero__lead { font-size: clamp(1.04rem, 1.6vw, 1.28rem); color: rgba(255, 255, 255, .82); max-width: 660px; margin-bottom: 34px; }
.hero .eyebrow { color: var(--bronze-400); }
.hero .eyebrow::before { background: var(--bronze-400); }

.hero__facts {
  margin-top: clamp(44px, 6vw, 78px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero__facts div { padding: 22px 26px 6px 0; }
.hero__facts dt { font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 300; color: #fff; letter-spacing: -.03em; }
.hero__facts dd { margin: 6px 0 0; font-size: .84rem; color: rgba(255, 255, 255, .62); letter-spacing: .02em; }
.hero__facts b { color: var(--bronze-400); font-weight: 300; }

.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); font-family: var(--font-display);
}
.hero-scroll i { display: block; width: 1px; height: 44px; background: linear-gradient(rgba(255,255,255,.6), transparent); }

/* héros secondaire (pages intérieures) */
.page-hero {
  position: relative; background: var(--blue-950); color: #fff;
  padding-top: clamp(150px, 17vw, 210px); padding-bottom: clamp(60px, 8vw, 104px);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4, 32, 63, .95) 10%, rgba(4, 32, 63, .8) 55%, rgba(4, 32, 63, .55) 100%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 15ch; }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 620px; font-size: clamp(1rem, 1.4vw, 1.16rem); }
.page-hero .eyebrow { color: var(--bronze-400); }
.page-hero .eyebrow::before { background: var(--bronze-400); }

.breadcrumb { font-size: .82rem; color: rgba(255, 255, 255, .55); margin-top: 30px; }
.breadcrumb a { color: rgba(255, 255, 255, .75); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin-inline: 8px; opacity: .5; }

/* ---------- 7. Cartes ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(26px, 3vw, 36px);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: var(--bronze-200); }
.card h3 { margin-bottom: .5em; }
.card p { font-size: .97rem; color: var(--slate-500); }
.card ul { font-size: .95rem; color: var(--slate-500); padding-left: 1.05em; }
.card ul li::marker { color: var(--bronze-500); }

.card__icon {
  width: 52px; height: 52px; border-radius: 13px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue-100), #fff);
  border: 1px solid var(--line);
  color: var(--blue-700);
}
.card__icon svg { width: 25px; height: 25px; }
.card:hover .card__icon { background: linear-gradient(145deg, var(--blue-800), var(--blue-600)); color: #fff; border-color: transparent; }

.card--num { position: relative; padding-top: 40px; }
.card__num {
  font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  color: var(--bronze-600); display: block; margin-bottom: 14px;
}

.card--dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .13); }
.card--dark h3 { color: #fff; }
.card--dark p, .card--dark li { color: rgba(255, 255, 255, .7); }
.card--dark:hover { border-color: rgba(190, 156, 107, .5); background: rgba(255, 255, 255, .06); }
.card--dark .card__icon { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: var(--bronze-400); }

/* ---------- 8. Chiffres animés ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); }
.stat { border-left: 2px solid var(--bronze-300); padding-left: 22px; }
.stat__value { font-family: var(--font-display); font-size: clamp(2.1rem, 3.6vw, 3.1rem); font-weight: 300; color: var(--ink); letter-spacing: -.035em; line-height: 1; }
.stat__value sup { font-size: .45em; vertical-align: super; color: var(--bronze-600); font-weight: 500; }
.stat__label { font-size: .9rem; color: var(--slate-500); margin-top: 12px; }
.section--dark .stat__value { color: #fff; }
.section--dark .stat__label { color: rgba(255, 255, 255, .62); }
.section--dark .stat { border-color: rgba(190, 156, 107, .6); }

/* ---------- 9. Listes de compétences ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 32px; margin: 0; font-size: .99rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 15px; height: 8px; border-left: 2px solid var(--bronze-500); border-bottom: 2px solid var(--bronze-500);
  transform: rotate(-45deg);
}
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 34px; }
.section--dark .check-list li { color: rgba(255, 255, 255, .78); }

.tag-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; list-style: none; }
.tag-list li { margin: 0; }
.tag {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: .85rem; color: var(--slate-700); font-family: var(--font-display); font-weight: 500;
}
.section--dark .tag { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .82); }

/* ---------- 10. Secteurs ---------- */
.sector {
  display: block; position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 28px; background: var(--paper); height: 100%;
  transition: all .38s var(--ease); overflow: hidden;
}
.sector::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--bronze-500), var(--blue-700));
  transform: scaleY(0); transform-origin: top; transition: transform .42s var(--ease);
}
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: transparent; }
.sector:hover::before { transform: scaleY(1); }
.sector__icon { color: var(--blue-700); margin-bottom: 18px; }
.sector__icon svg { width: 30px; height: 30px; }
.sector h3 { font-size: 1.1rem; margin-bottom: .6em; }
.sector ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; color: var(--slate-500); }
.sector li { position: relative; padding-left: 15px; margin-bottom: .3em; }
.sector li::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 1px; background: var(--bronze-500); }

/* ---------- 11. Réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 4vw, 46px); }
.filter {
  border: 1px solid var(--line); background: var(--paper); color: var(--slate-700);
  font-family: var(--font-display); font-size: .86rem; font-weight: 500;
  padding: 11px 20px; border-radius: 999px; cursor: pointer; transition: all .26s var(--ease);
}
.filter:hover { border-color: var(--blue-700); color: var(--blue-800); }
.filter.is-active { background: var(--blue-900); border-color: var(--blue-900); color: #fff; }

.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }

.project {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--blue-950);
  cursor: pointer; border: 0; padding: 0; text-align: left; width: 100%; font: inherit; color: inherit;
  display: block;
}
.project__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project__media img { transform: scale(1.06); }
.project__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4, 32, 63, .95) 0%, rgba(4, 32, 63, .78) 30%, rgba(4, 32, 63, .3) 60%, rgba(4, 32, 63, 0) 86%);
  transition: opacity .4s var(--ease);
}
.project__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px; color: #fff; }
.project__cat {
  font-family: var(--font-display); font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-400); display: block; margin-bottom: 9px;
}
.project__title { font-family: var(--font-display); font-size: 1.08rem; font-weight: 500; line-height: 1.3; margin: 0 0 6px; color: #fff; }
.project__meta { font-size: .84rem; color: rgba(255, 255, 255, .68); margin: 0; }
.project__plus {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .3);
  display: grid; place-items: center; color: #fff;
  opacity: 0; transform: scale(.8); transition: all .38s var(--ease);
}
.project:hover .project__plus { opacity: 1; transform: scale(1); }
.project.is-hidden { display: none; }

/* visionneuse */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(4, 18, 34, .95);
  display: none; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 56px);
  backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox__figure { max-width: 1180px; width: 100%; }
.lightbox__figure img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: var(--radius-s); }
.lightbox__caption { color: #fff; margin-top: 22px; }
.lightbox__caption span { display: block; color: var(--bronze-400); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; font-family: var(--font-display); font-weight: 600; }
.lightbox__caption strong { font-family: var(--font-display); font-size: 1.24rem; font-weight: 500; display: block; margin-bottom: 6px; }
.lightbox__caption p { color: rgba(255, 255, 255, .68); font-size: .95rem; margin: 0; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: all .25s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: #fff; color: var(--blue-900); }
.lightbox__close { top: 24px; right: 24px; font-size: 22px; line-height: 1; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- 12. Accordéon ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: flex-start; gap: 20px; text-align: left;
  padding: 26px 0; font: inherit; color: var(--ink);
}
.acc-head:hover { color: var(--blue-800); }
.acc-head__num { font-family: var(--font-display); font-size: .78rem; font-weight: 600; color: var(--bronze-600); letter-spacing: .12em; padding-top: .45em; flex: none; width: 34px; }
.acc-head__title { font-family: var(--font-display); font-size: clamp(1.06rem, 1.7vw, 1.32rem); font-weight: 500; flex: 1; letter-spacing: -.015em; }
.acc-head__icon { flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; position: relative; transition: all .3s var(--ease); }
.acc-head__icon::before, .acc-head__icon::after { content: ""; position: absolute; background: var(--blue-800); transition: transform .3s var(--ease); }
.acc-head__icon::before { width: 12px; height: 1.6px; }
.acc-head__icon::after { width: 1.6px; height: 12px; }
.acc-item.is-open .acc-head__icon { background: var(--blue-800); border-color: var(--blue-800); }
.acc-item.is-open .acc-head__icon::before, .acc-item.is-open .acc-head__icon::after { background: #fff; }
.acc-item.is-open .acc-head__icon::after { transform: rotate(90deg) scaleX(0); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s var(--ease); }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-body__inner { padding: 0 0 32px 54px; max-width: 900px; color: var(--slate-500); font-size: .99rem; }
.acc-body__inner h4 { color: var(--ink); margin: 26px 0 12px; font-family: var(--font-display); font-size: 1rem; }
.acc-body__inner h4:first-child { margin-top: 0; }
.acc-body__inner ul { padding-left: 1.1em; }
.acc-body__inner li::marker { color: var(--bronze-500); }

/* ---------- 13. Démarche (frise) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 20px; }
.step { position: relative; padding: 42px 24px 0 0; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line);
}
.step::after {
  content: ""; position: absolute; top: -5px; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--bronze-500);
}
.step__num { font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .18em; color: var(--bronze-600); display: block; margin-bottom: 12px; }
.step h3 { font-size: 1.06rem; margin-bottom: .55em; }
.step p { font-size: .92rem; color: var(--slate-500); }
.section--dark .step::before { background: rgba(255, 255, 255, .18); }
.section--dark .step::after { background: var(--blue-950); }
.section--dark .step p { color: rgba(255, 255, 255, .66); }

/* ---------- 14. Bandeau image ---------- */
.band { position: relative; color: #fff; overflow: hidden; background: var(--blue-950); }
.band__media { position: absolute; inset: 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(4, 32, 63, .95), rgba(4, 32, 63, .72) 60%, rgba(4, 32, 63, .5)); }
.band .container { position: relative; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .8); }
.band .eyebrow { color: var(--bronze-400); }
.band .eyebrow::before { background: var(--bronze-400); }

/* ---------- 15. Média encadré ---------- */
.figure-frame { position: relative; }
.figure-frame img { position: relative; z-index: 1; border-radius: var(--radius); box-shadow: var(--shadow-l); }
.figure-frame::after {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 58%; height: 58%;
  border: 1px solid var(--bronze-300); border-radius: var(--radius); z-index: 0; pointer-events: none;
}
.figure-caption { font-size: .84rem; color: var(--slate-400); margin-top: 14px; }

.media-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.media-duo img { border-radius: var(--radius); box-shadow: var(--shadow-s); }
.media-duo > :last-child { margin-top: 42px; }

/* ---------- 16. Citation / dirigeant ---------- */
.quote {
  border-left: 2px solid var(--bronze-500); padding-left: clamp(22px, 3vw, 38px);
  font-family: var(--font-display); font-weight: 300; letter-spacing: -.02em;
  font-size: clamp(1.2rem, 2.2vw, 1.72rem); line-height: 1.42; color: var(--ink);
}
.section--dark .quote { color: #fff; }
.quote footer { font-family: var(--font-body); font-size: .92rem; font-weight: 400; color: var(--slate-500); margin-top: 22px; letter-spacing: 0; }
.section--dark .quote footer { color: rgba(255, 255, 255, .6); }

.profile-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 40px); box-shadow: var(--shadow-s);
}
.profile-card dl { display: grid; gap: 0; margin: 0; }
.profile-card dt { font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-600); padding-top: 18px; }
.profile-card dd { margin: 6px 0 18px; font-size: .96rem; color: var(--slate-700); border-bottom: 1px solid var(--line-soft); padding-bottom: 18px; }
.profile-card dd:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }

/* ---------- 16 bis. Portrait & chronologie ---------- */
.portrait {
  position: relative;
  /* largeur explicite : sans elle, la figure se dimensionne sur le contenu et
     s'effondre tant que l'image différée n'est pas chargée */
  width: 100%; max-width: 380px; flex: 0 1 380px;
}
.portrait img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-l); position: relative; z-index: 1;
}
.portrait::before {
  content: ""; position: absolute; left: -20px; top: 26px; bottom: 26px; width: 62%;
  background: linear-gradient(160deg, var(--bronze-200), rgba(190, 156, 107, 0));
  border-radius: var(--radius); z-index: 0;
}
.portrait__badge {
  position: absolute; right: -22px; bottom: 26px; z-index: 2;
  background: var(--blue-900); color: #fff; border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-m); max-width: 190px;
}
.portrait__badge strong {
  display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 300; line-height: 1;
}
.portrait__badge span { font-size: .78rem; color: rgba(255, 255, 255, .68); display: block; margin-top: 6px; line-height: 1.35; }
.section--dark .portrait::before { background: linear-gradient(160deg, rgba(190, 156, 107, .55), rgba(190, 156, 107, 0)); }
.section--dark .portrait__badge { background: var(--bronze-500); color: var(--blue-950); }
.section--dark .portrait__badge span { color: rgba(4, 32, 63, .72); }

.timeline { border-left: 1px solid var(--line); padding-left: 34px; margin-left: 5px; }
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -40px; top: 7px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--bronze-500);
}
.tl-date {
  font-family: var(--font-display); font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-600);
}
.tl-item h3 { font-size: 1.12rem; margin: .45em 0 .2em; }
.tl-org { font-size: .93rem; color: var(--blue-700); font-weight: 500; margin: 0 0 .5em; }
.tl-item p { font-size: .95rem; color: var(--slate-500); margin: 0; }
.section--dark .timeline { border-color: rgba(255, 255, 255, .16); }
.section--dark .tl-item::before { background: var(--blue-950); }
.section--dark .tl-date { color: var(--bronze-400); }
.section--dark .tl-org { color: var(--bronze-400); }
.section--dark .tl-item p { color: rgba(255, 255, 255, .68); }

/* ---------- 17. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(34px, 5vw, 72px); align-items: start; }

.contact-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-of-type { border-top: 1px solid var(--line); }
.contact-item__icon { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue-700); }
.contact-item__icon svg { width: 19px; height: 19px; }
.contact-item h3 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-600); font-weight: 600; margin-bottom: 6px; }
.contact-item p, .contact-item a { font-size: 1.02rem; color: var(--ink); margin: 0; font-family: var(--font-display); font-weight: 500; }
.contact-item a:hover { color: var(--blue-700); }
.contact-item small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--slate-500); font-size: .88rem; margin-top: 4px; }

.form-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(26px, 3.4vw, 44px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-display); font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: .01em; }
.field label span { color: var(--bronze-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(18, 99, 180, .12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--slate-500); margin-bottom: 24px; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue-700); }
.form-note { font-size: .84rem; color: var(--slate-400); margin-top: 18px; }
.form-status { margin-top: 18px; font-size: .92rem; padding: 14px 16px; border-radius: 10px; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: var(--bronze-100); border: 1px solid var(--bronze-200); color: var(--bronze-700); }
.form-status--ko { background: #fdecec; border: 1px solid #f6c9c9; color: #a3352f; }

.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.35) contrast(1.03); }

/* ---------- 18. Appel à l'action ---------- */
.cta {
  background: linear-gradient(115deg, var(--blue-950) 0%, var(--blue-800) 58%, var(--blue-700) 100%);
  color: #fff; border-radius: var(--radius-l); padding: clamp(38px, 5.4vw, 78px);
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
  border: 1px solid rgba(190, 156, 107, .35); border-radius: 50%;
}
.cta::before {
  content: ""; position: absolute; right: 20px; bottom: -140px; width: 260px; height: 260px;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%;
}
.cta h2 { color: #fff; max-width: 17ch; }
.cta p { color: rgba(255, 255, 255, .8); max-width: 52ch; }
.cta > * { position: relative; z-index: 1; }

/* ---------- 19. Pied de page ---------- */
.site-footer { background: var(--blue-950); color: rgba(255, 255, 255, .64); padding-top: clamp(56px, 7vw, 90px); font-size: .94rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 54px; }
.site-footer img.footer-logo { height: 46px; margin-bottom: 24px; }
.site-footer h4 { color: #fff; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 11px; }
.site-footer a { color: rgba(255, 255, 255, .64); }
.site-footer a:hover { color: var(--bronze-400); }
.footer-contact strong { display: block; color: #fff; font-family: var(--font-display); font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 26px 0 34px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  font-size: .85rem; color: rgba(255, 255, 255, .45);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18);
  display: grid; place-items: center; color: rgba(255, 255, 255, .72); transition: all .26s var(--ease);
}
.socials a:hover { background: var(--bronze-500); border-color: var(--bronze-500); color: var(--blue-950); }
.socials svg { width: 16px; height: 16px; }

/* ---------- 20. Contenu éditorial (mentions légales) ---------- */
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 1.12rem; }
.prose li::marker { color: var(--bronze-500); }
.callout {
  background: var(--bronze-100); border: 1px solid var(--bronze-200); border-radius: var(--radius);
  padding: 22px 26px; font-size: .95rem; color: var(--bronze-700);
}
.callout strong { color: var(--bronze-700); }

/* ---------- 21. Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 22. Adaptatif ---------- */
@media (min-width: 1300px) {
  .header-tel { display: inline-flex; }
}

@media (max-width: 1150px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: flex; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
  .hero__facts div { padding-right: 12px; }
  .hero-scroll { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .figure-frame::after { display: none; }
}

@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4, .projects { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-right: 0; }
  .check-list--2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .media-duo > :last-child { margin-top: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .acc-body__inner { padding-left: 0; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }
  .hero { min-height: auto; padding-top: 128px; }
}
