/* Polices hébergées sur le site (licence SIL OFL) : aucun appel à un service tiers */
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 500; font-display: swap; src: url("../fonts/source-sans-3-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

/* =========================================================
   LP CONSULTING : feuille de style principale
   Couleurs issues du logo
   ========================================================= */
:root {
  --navy: #0c3f5e;
  --navy-deep: #082c43;
  --navy-ink: #061f30;
  --steel: #285a76;
  --sky: #6dacc1;
  --sky-light: #a9d0dd;
  --mist: #eaf4f8;
  --mist-2: #f5f9fb;
  --white: #ffffff;
  --text: #1c3344;
  --muted: #5b7384;
  --line: #d6e6ee;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --radius: 4px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --shadow: 0 18px 40px -22px rgba(6, 31, 48, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--navy); color: #fff; padding: 8px 14px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

/* ---------- Étiquette (eyebrow) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--sky);
}
.on-dark .eyebrow { color: var(--sky-light); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600;
  font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 15px 26px;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--steel); color: #fff; }
.btn-sky { background: var(--sky); color: var(--navy-ink); }
.btn-sky:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, height .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(6,31,48,.35); border-color: var(--line); }
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 60px; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; display: block;
  font-family: var(--font-head); font-size: .84rem; font-weight: 600;
  letter-spacing: .04em; color: var(--navy);
  padding: 10px 12px;
}
.main-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 2px; background: var(--sky);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .nav-cta {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 11px 18px; margin-left: 10px;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--steel); color: #fff; }
.main-nav .nav-admin { display: flex; align-items: center; padding: 10px; margin-left: 6px; color: var(--steel); opacity: .55; transition: opacity .2s, transform .4s var(--ease); }
.main-nav .nav-admin::after { display: none; }
.main-nav .nav-admin svg { width: 18px; height: 18px; }
.main-nav .nav-admin span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.main-nav .nav-admin:hover, .main-nav .nav-admin:focus-visible { opacity: 1; transform: rotate(60deg); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 24px; height: 2px; background: var(--navy);
  content: ""; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; top: -8px; }
.nav-toggle span::after { left: 0; top: 8px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero accueil ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  padding: calc(var(--header-h) + 60px) 0 90px;
  display: flex; align-items: center;
  color: #fff;
  background: var(--navy-ink);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background: url("../img/nrl-m24-possession.jpg") center 40% / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6,31,48,.95) 0%, rgba(12,63,94,.86) 45%, rgba(12,63,94,.35) 100%);
}
/* Facettes diagonales inspirées du bandeau */
.hero::after {
  content: ""; position: absolute; z-index: -1;
  right: -8%; top: 0; bottom: 0; width: 46%;
  background: linear-gradient(160deg, rgba(109,172,193,.35), rgba(109,172,193,0) 70%);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-content { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--sky-light); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.85); max-width: 600px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.18);
  font-family: var(--font-head); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.hero-tags span::before { content: "✦"; color: var(--sky); margin-right: 10px; font-size: .7rem; }

.hero-mark {
  position: absolute; right: var(--gutter); bottom: -40px;
  width: clamp(160px, 22vw, 280px); opacity: .14;
  pointer-events: none;
}

/* ---------- Bandeau chiffres ---------- */
.stats {
  position: relative; z-index: 2;
  margin-top: -56px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; box-shadow: var(--shadow);
  border-top: 4px solid var(--sky);
}
.stats-grid--duo { grid-template-columns: repeat(2, 1fr); }
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--navy); line-height: 1;
  margin-bottom: 8px;
}
.stat span { font-size: .95rem; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-mist { background: var(--mist-2); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; }

/* Présentation fondateur */
.about-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: start;
}
.about-text p { color: #2c4556; }
.about-text .lead { font-size: 1.2rem; color: var(--navy); font-weight: 500; }
.about-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.about-figure { position: relative; margin: 0; }
.about-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-figure::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 2px solid var(--sky);
}
.about-figure figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 18px 20px;
  background: linear-gradient(transparent, rgba(6,31,48,.9));
  color: #fff; font-size: .9rem;
}
.groups {
  margin-top: 34px; padding: 22px 24px;
  background: var(--navy); color: #fff;
}
.groups p { margin: 0 0 10px; font-family: var(--font-head); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sky-light); }
.groups ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--font-head); font-weight: 700; letter-spacing: .08em; }

.timeline { list-style: none; margin: 28px 0 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px;
  width: 12px; height: 12px; background: #fff; border: 2px solid var(--sky); transform: rotate(45deg);
}
.timeline strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; }
.timeline span { color: var(--muted); font-size: .98rem; }

/* Cartes missions */
.missions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  padding: 38px 32px 32px;
  color: var(--text);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.mission-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  transform: scaleX(.25); transform-origin: left; transition: transform .45s var(--ease);
}
.mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.mission-card:hover::before { transform: scaleX(1); }
.mission-num {
  font-family: var(--font-head); font-weight: 700; font-size: 3.2rem; line-height: 1;
  color: var(--mist); position: absolute; right: 22px; top: 18px;
  -webkit-text-stroke: 1px var(--sky-light);
}
.mission-icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--mist); color: var(--navy); margin-bottom: 22px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.mission-icon svg { width: 26px; height: 26px; }
.mission-card h3 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; }
.mission-card p { color: var(--muted); flex: 1; }
.mission-card ul { list-style: none; margin: 0 0 24px; padding: 0; }
.mission-card li { padding: 7px 0 7px 22px; border-bottom: 1px dashed var(--line); font-size: .98rem; position: relative; }
.mission-card li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 8px; height: 8px; background: var(--sky); transform: rotate(45deg); }
.more {
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); display: inline-flex; align-items: center; gap: 8px;
}
.more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.mission-card:hover .more svg { transform: translateX(5px); }
.missions-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: .98rem; }

/* Compostyrène */
.highlight {
  position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate;
}
.highlight::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 55%, rgba(109,172,193,.16) 55% 70%, transparent 70%),
    linear-gradient(115deg, transparent 0 72%, rgba(109,172,193,.1) 72% 100%);
}
.highlight-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.highlight h2 { color: #fff; }
.highlight p { color: rgba(255,255,255,.82); }
.highlight-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.highlight-figures div { background: rgba(255,255,255,.07); padding: 28px 24px; }
.highlight-figures strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--sky-light); line-height: 1.1; }
.highlight-figures span { font-size: .92rem; color: rgba(255,255,255,.75); }
.highlight-figures .wide { grid-column: span 2; }

/* Références */
.ref-group + .ref-group { margin-top: 70px; }
.ref-group-title {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
  font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel);
}
.ref-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ref-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease); }
.ref-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.ref-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--mist); }
.ref-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ref-card:hover .ref-media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 10px; background: rgba(6,31,48,.82); color: #fff;
}
.badge-visual { top: auto; bottom: 12px; left: auto; right: 12px; background: rgba(255,255,255,.9); color: var(--navy); }
.status {
  display: inline-block; font-family: var(--font-head); font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; margin-bottom: 12px; align-self: flex-start;
}
.status-won { background: #e3f3ea; color: #1d6b43; }
.status-lost { background: #eef1f4; color: #5b6b78; }
.status-works { background: var(--mist); color: var(--navy); }
.status-prep { background: #fdf3dc; color: #8a5a00; }
.ref-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.ref-body h3 { font-size: 1.12rem; margin-bottom: .5em; }
.ref-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .86rem; color: var(--steel); font-weight: 600; margin-bottom: 12px; }
.ref-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ref-meta span + span::before { content: ""; width: 4px; height: 4px; background: var(--sky); transform: rotate(45deg); margin-right: 8px; }
.ref-body p { color: var(--muted); font-size: .98rem; margin: 0; }
.ref-client { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ref-budget { margin-top: auto; padding-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--navy); }
.ref-budget small { font-size: .78rem; font-weight: 500; color: var(--muted); margin-left: 6px; }

.ref-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.ref-strip a { position: relative; aspect-ratio: 4/3; overflow: hidden; color: #fff; }
.ref-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ref-strip a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(6,31,48,.9)); }
.ref-strip span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-family: var(--font-head); font-weight: 600; font-size: .92rem; line-height: 1.3; }
.ref-strip small { display: block; color: var(--sky-light); font-weight: 500; font-size: .78rem; margin-top: 3px; }
.ref-strip a:hover img { transform: scale(1.06); }

/* ---------- Page intérieure ---------- */
.page-hero {
  position: relative; color: #fff; background: var(--navy-ink); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 70px) 0 80px;
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6,31,48,.96) 0%, rgba(12,63,94,.88) 55%, rgba(12,63,94,.5) 100%);
}
.page-hero::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 38%; height: 100%; z-index: -1;
  background: linear-gradient(200deg, rgba(109,172,193,.3), transparent 65%);
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); max-width: 820px; }
.page-hero p { color: rgba(255,255,255,.84); font-size: 1.15rem; max-width: 680px; margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 1.6rem; color: rgba(255,255,255,.65); }
.breadcrumb a { color: var(--sky-light); }
.breadcrumb a:hover { color: #fff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media::after {
  content: ""; position: absolute; left: -16px; bottom: -16px; width: 45%; height: 45%; z-index: -1;
  background: var(--sky); opacity: .35;
}
.split-media .badge-visual { position: absolute; }
.intro-text { font-size: 1.18rem; color: #2c4556; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.service { background: #fff; padding: 36px 34px; position: relative; transition: background .3s; }
.service:hover { background: var(--mist-2); }
.service-num { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .2em; color: var(--sky); margin-bottom: 14px; display: block; }
.service h3 { font-size: 1.2rem; }
.service p { color: var(--muted); margin: 0; }

.objective {
  display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start;
  padding: 44px clamp(26px, 5vw, 56px);
  background: var(--mist); border-left: 4px solid var(--navy);
}
.objective-icon { width: 64px; height: 64px; color: var(--navy); }
.objective h2 { font-size: 1.5rem; }
.objective p { margin: 0; font-size: 1.15rem; color: #2c4556; }

.other-missions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.other-missions a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 26px 28px; border: 1px solid var(--line); background: #fff;
  font-family: var(--font-head); font-weight: 600; color: var(--navy); transition: all .3s var(--ease);
}
.other-missions small { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.other-missions a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.other-missions a:hover small { color: var(--sky-light); }
.other-missions svg { width: 22px; height: 22px; flex-shrink: 0; transition: transform .3s var(--ease); }
.other-missions a:hover svg { transform: translateX(5px); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: var(--navy-deep);
  padding: clamp(60px, 8vw, 96px) 0;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/bandeau-chantiers.jpg") center / cover no-repeat; opacity: .16;
}
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--navy-deep) 30%, rgba(8,44,67,.6));
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta p { margin: 0; color: rgba(255,255,255,.82); max-width: 620px; font-size: 1.1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 70px); }
.contact-info { background: var(--navy); color: #fff; padding: 44px 38px; position: relative; overflow: hidden; }
.contact-info::after {
  content: ""; position: absolute; right: -60px; bottom: -40px; width: 220px; height: 220px;
  background: url("../img/logo-mark-blanc.png") center / contain no-repeat; opacity: .1;
}
.contact-info h3 { color: #fff; font-size: 1.35rem; }
.contact-info > p { color: rgba(255,255,255,.78); }
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-list svg { width: 22px; height: 22px; color: var(--sky); flex-shrink: 0; margin-top: 3px; }
.contact-list small { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sky-light); }
.contact-list a, .contact-list span { color: #fff; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--sky-light); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: span 2; }
.field label { font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .05em; color: var(--navy); }
.field label .req { color: var(--sky); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  padding: 13px 15px; border: 1px solid #c8dbe4; border-radius: var(--radius); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(109,172,193,.25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; }
.field .error { font-size: .85rem; color: #c0392b; min-height: 0; }
.consent { grid-column: span 2; display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--navy); flex-shrink: 0; }
.form-actions { grid-column: span 2; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { font-size: .95rem; }
.form-status.ok { color: #1d6b43; }
.form-status.ko { color: #c0392b; }
.hp { position: absolute; left: -9999px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,.72); padding: 70px 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--sky-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ---------- Bouton retour haut / appel mobile ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--navy); color: #fff; border: 0; cursor: pointer;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s, background .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--steel); }
.to-top svg { width: 20px; height: 20px; }

.mobile-bar { display: none; }

/* ---------- Mentions légales ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.placeholder { background: #fff6d6; padding: 0 4px; }

/* ---------- 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-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

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

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav a { padding: 10px 7px; font-size: .78rem; white-space: nowrap; }
  .main-nav .nav-cta { padding: 11px 14px; margin-left: 6px; }
  .main-nav .nav-admin { padding: 8px; margin-left: 2px; }
  .brand img { height: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ref-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { height: 50px; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; padding: 20px var(--gutter) 40px;
    transform: translateX(100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s linear .4s;
    overflow-y: auto;
  }
  .nav-open .main-nav { transform: none; visibility: visible; transition: transform .4s var(--ease); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { font-size: 1.05rem; padding: 18px 4px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--steel); }
  .main-nav .nav-cta { margin: 24px 0 0; text-align: center; padding: 16px; border: 0; }
  .main-nav .nav-admin { justify-content: center; gap: 8px; margin: 12px 0 0; padding: 12px; border: 0; font-size: .85rem; }
  .main-nav .nav-admin:hover, .main-nav .nav-admin:focus-visible { transform: none; }
  .main-nav .nav-admin span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  body.nav-open { overflow: hidden; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats-grid--duo .stat:nth-child(-n+2) { border-bottom: 0; }

  .about-grid, .highlight-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .about-aside { position: static; max-width: 520px; }
  .missions-grid, .ref-grid { grid-template-columns: 1fr 1fr; }
  .split-media { order: -1; }
}

@media (max-width: 680px) {
  body { font-size: 1.02rem; padding-bottom: 64px; }
  .hero { min-height: auto; padding-bottom: 100px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-mark { display: none; }
  .stats { margin-top: -40px; }
  .stat { padding: 22px 18px; }
  .missions-grid, .ref-grid, .services, .other-missions { grid-template-columns: 1fr; }
  .service { padding: 28px 24px; }
  .objective { grid-template-columns: 1fr; gap: 16px; }
  .objective-icon { width: 48px; height: 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full, .consent, .form-actions { grid-column: auto; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .contact-info { padding: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .highlight-figures strong { font-size: 2rem; }
  .cta-inner .btn { width: 100%; justify-content: center; }
  .to-top { bottom: 80px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: var(--navy); box-shadow: 0 -6px 20px rgba(6,31,48,.25);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 10px; height: 60px;
    color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: .04em;
  }
  .mobile-bar a + a { background: var(--sky); color: var(--navy-ink); }
  .mobile-bar svg { width: 20px; height: 20px; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .stats-grid--duo .stat:first-child { border-bottom: 1px solid var(--line); }
}

/* Message d'erreur de la case de consentement */
.consent .error { display: block; color: #c0392b; }
.form-status:empty { display: none; }

/* Bandeau d'aperçu (brouillon préparé dans l'administration) */
.draft-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 120; max-width: min(560px, calc(100% - 32px));
  background: #fff7e0; color: #5c4300; border: 1px solid #f0d58a; border-left: 4px solid #d79b1d;
  padding: 10px 14px; font-size: .9rem; box-shadow: 0 10px 30px -12px rgba(6,31,48,.45);
}
.draft-banner b { font-family: var(--font-head); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-right: 6px; }
.draft-banner a, .draft-banner button { color: var(--navy); font-weight: 600; }
.draft-banner button { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 680px) { .draft-banner { bottom: 72px; } }
