/* EXPRESS SERVICES — feuille de style
   Concept : le plan de tournée. Grille éditoriale alignée à gauche,
   lignes de parcours fines, bleu nuit dominant, turquoise réservé à l'action.
   Charte : bleu nuit #123160 et bleu clair #29AEE0, relevés sur le logo officiel. */

:root {
  --navy: #123160;
  --navy-2: #1A3F78;
  --steel: #42647D;
  --steel-soft: #8FA6B6;
  --bg: #FFFFFF;
  --bg-2: #F3F6F8;
  --ink: #263238;
  --muted: #55646E;
  --line: #DCE3E8;
  --copper: #29AEE0;
  --copper-ink: #0A78A3;
  --on-navy: #F3F6F8;
  --on-navy-muted: #B9C7D2;
  --todo-bg: #FFF4E8;
  --todo-ink: #9A4A12;

  --f-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.6vw, 4rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--copper-ink); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--f-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; max-width: 64ch; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--on-navy); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 8px; }

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

.eyebrow {
  font-family: var(--f-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--copper); }

.todo {
  background: var(--todo-bg);
  color: var(--todo-ink);
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 600;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--f-display); font-weight: 700; font-size: 0.98rem;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--copper); color: var(--navy); }
.btn-primary:hover { background: #4CC0EA; color: var(--navy); }
.btn-ghost { border-color: currentColor; color: var(--on-navy); background: transparent; }
.btn-ghost:hover { color: var(--bg); background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: var(--on-navy); }
.btn-navy:hover { background: var(--navy-2); color: var(--bg); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.link-more {
  font-family: var(--f-display); font-weight: 700; color: var(--navy);
  text-decoration: none; display: inline-flex; gap: 8px; align-items: center;
  border-bottom: 2px solid var(--copper); padding-bottom: 2px;
}
.link-more:hover { color: var(--copper-ink); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(18,49,96,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.06em; }
.logo-sub { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  font-family: var(--f-display); font-weight: 600; font-size: 0.95rem;
  color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: var(--radius);
}
.nav a:not(.btn):hover { color: var(--navy); background: var(--bg-2); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--copper); border-radius: 0; }
.nav .btn { margin-left: 10px; min-height: 44px; padding: 10px 18px; }

.menu-toggle {
  display: none; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 14px; font-family: var(--f-display); font-weight: 700; color: var(--navy); cursor: pointer;
}
.menu-toggle .bars { width: 18px; height: 12px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after, .menu-toggle .bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars span { top: 5px; }
.menu-toggle .bars::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--copper-ink); }
  .nav .btn { margin: 16px 0 0; }
}

/* ---------- Héros ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--on-navy);
  padding-block: clamp(64px, 9vw, 128px) clamp(56px, 7vw, 96px);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(18,49,96,.92) 38%, rgba(18,49,96,.35) 75%, rgba(18,49,96,.15) 100%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--on-navy-muted); }
.hero h1 { color: var(--bg); max-width: 15ch; margin-top: 22px; }
.hero h1 em { font-style: normal; color: var(--copper); }
.hero-lead { margin-top: 26px; font-size: var(--step-1); line-height: 1.55; color: var(--on-navy-muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-legend {
  margin-top: 56px; display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: var(--step--1); color: var(--on-navy-muted);
}
.hero-legend span { display: inline-flex; align-items: center; gap: 8px; }
.hero-legend i { display: inline-block; width: 18px; height: 2px; background: var(--steel-soft); }
.hero-legend i.is-copper { background: var(--copper); }
.hero-legend i.is-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bg); }

/* ---------- Chiffres clés ---------- */
.figures { background: var(--bg); border-bottom: 1px solid var(--line); }
.figures-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.figure { padding: 34px 24px 34px 0; display: flex; flex-direction: column; gap: 6px; }
.figure + .figure { padding-left: 28px; border-left: 1px solid var(--line); }
.figure-value {
  font-family: var(--f-display); font-weight: 800; color: var(--navy);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.figure-value small { font-size: .5em; font-weight: 700; margin-left: 4px; color: var(--steel); letter-spacing: 0; }
.figure-label { color: var(--muted); font-size: 0.98rem; max-width: 30ch; }
@media (max-width: 680px) {
  .figures-grid { grid-template-columns: 1fr; }
  .figure, .figure + .figure { padding: 22px 0; border-left: 0; }
  .figure + .figure { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-alt { background: var(--bg-2); }
.section-navy { background: var(--navy); color: var(--on-navy); }
.section-navy h2, .section-navy h3 { color: var(--bg); }
.section-navy .eyebrow { color: var(--on-navy-muted); }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.section-navy .section-head p { color: var(--on-navy-muted); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split > * { min-width: 0; }
.split-rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
@media (max-width: 900px) { .split, .split-rev { grid-template-columns: 1fr; } }

.prose { display: flex; flex-direction: column; gap: 18px; }
.prose p { color: var(--ink); }
.section-navy .prose p { color: var(--on-navy-muted); }
.prose .lead { font-size: var(--step-1); color: var(--navy); font-weight: 600; line-height: 1.5; }

/* Emplacement photo */
.photo-slot {
  position: relative; margin: 0;
  aspect-ratio: 4 / 3; max-width: 100%;
  border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(66,100,125,.10) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #E4EBF0, #CFDAE2);
  display: flex; align-items: flex-end;
}
.photo-slot.tall { aspect-ratio: 4 / 5; }
.photo-slot.wide { aspect-ratio: 16 / 9; }
.photo-slot figcaption {
  margin: 16px; padding: 10px 14px; background: rgba(255,255,255,.92); border-radius: 4px;
  font-size: 0.88rem; color: var(--navy); line-height: 1.4; max-width: 34ch;
}
.photo-slot figcaption strong { display: block; font-family: var(--f-display); font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-ink); margin-bottom: 2px; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Frise */
.timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 26px 34px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--steel);
}
.timeline li::after { content: ""; position: absolute; left: 5px; top: 22px; bottom: 0; width: 3px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li:last-child::before { border-color: var(--copper); background: var(--copper); }
.timeline h3 { font-size: 1.05rem; }
.timeline p { color: var(--muted); font-size: 0.98rem; margin-top: 4px; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.value { padding: 26px 22px 0 0; }
.value + .value { padding-left: 22px; border-left: 1px solid var(--line); }
.value h3 { font-size: 1.05rem; }
.value p { color: var(--muted); font-size: 0.97rem; margin-top: 8px; }
@media (max-width: 820px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value, .value + .value { padding: 22px 14px 22px 0; border-left: 0; }
  .value:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
}

/* Métiers / expertises */
.trades { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trade { background: var(--bg); padding: 30px 30px 32px; display: flex; flex-direction: column; gap: 12px; transition: background-color .2s ease; }
.trade:hover { background: #FBFCFD; }
.trade-icon { width: 40px; height: 40px; color: var(--steel); }
.trade p { color: var(--muted); }
@media (max-width: 720px) { .trades { grid-template-columns: 1fr; } .trade { padding: 24px 20px; } }

/* Plan de distribution : méthode */
.method { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.method > * { min-width: 0; }
.method-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.method-steps li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 14px; }
.method-steps li::before {
  content: "Étape " counter(step);
  display: block; font-family: var(--f-display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--copper-ink); margin-bottom: 6px;
}
.method-steps p { color: var(--muted); font-size: 0.98rem; margin-top: 6px; }
@media (max-width: 900px) { .method { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .method-steps { grid-template-columns: 1fr; } }

/* Journée type */
.day { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.day::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(255,255,255,.18); }
.day li { position: relative; padding: 34px 18px 0 0; }
.day li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--steel-soft);
}
.day li:nth-child(3)::before { border-color: var(--copper); background: var(--copper); }
.day h3 { font-size: 1.02rem; }
.day p { color: var(--on-navy-muted); font-size: 0.95rem; margin-top: 6px; }
@media (max-width: 960px) {
  .day { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .day::before { display: none; }
}
@media (max-width: 600px) {
  .day { grid-template-columns: 1fr; row-gap: 0; }
  .day li { padding: 0 0 26px 34px; }
  .day li::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: 0; width: 2px; background: rgba(255,255,255,.18); }
  .day li:last-child::after { display: none; }
}

.jobs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid rgba(255,255,255,.16); }
.jobs h3 { font-size: 1.02rem; }
.jobs p { color: var(--on-navy-muted); font-size: 0.95rem; margin-top: 6px; }
@media (max-width: 820px) { .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .jobs { grid-template-columns: 1fr; } }

/* Engagements */
.commit-hero { font-family: var(--f-display); font-weight: 800; color: var(--navy); font-size: var(--step-3); line-height: 1.15; letter-spacing: -0.015em; max-width: 22ch; text-wrap: balance; }
.commit-hero span { color: var(--steel); }
.actions-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.actions-list li { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: flex-start; }
.actions-list li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.actions-list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--copper-ink); }
.actions-list span { color: var(--ink); }
@media (max-width: 600px) {
  .actions-list { grid-template-columns: 1fr; }
  .actions-list li:nth-child(even) { padding-left: 0; border-left: 0; }
}
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 72px); }
.pillar { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.pillar .quote { font-family: var(--f-display); font-weight: 700; color: var(--navy); font-size: 1.12rem; line-height: 1.4; }
.pillar p { color: var(--muted); }
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }

/* Recrutement */
.recruit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.recruit > * { min-width: 0; }
.recruit-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.recruit-card ul { margin: 0; padding-left: 20px; color: var(--ink); display: grid; gap: 6px; }
@media (max-width: 900px) { .recruit { grid-template-columns: 1fr; } }

/* Appel final */
.cta { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.cta .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(56px, 7vw, 88px); }
.cta h2 { color: var(--bg); max-width: 20ch; }
.cta p { color: var(--on-navy-muted); margin-top: 14px; font-size: var(--step-1); }
.cta-route { position: absolute; right: -40px; bottom: -20px; width: 420px; max-width: 70%; opacity: .25; pointer-events: none; }

/* ---------- Contact ---------- */
.page-head { background: var(--navy); color: var(--on-navy); padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.page-head h1 { color: var(--bg); margin-top: 18px; }
.page-head p { color: var(--on-navy-muted); font-size: var(--step-1); margin-top: 20px; max-width: 58ch; }
.page-head .eyebrow { color: var(--on-navy-muted); }
.page-head .wrap { position: relative; z-index: 1; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .field legend { font-family: var(--f-display); font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid #C5D0D8; border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(66,100,125,.18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B3261E; }
.field .error { color: #B3261E; font-size: 0.9rem; min-height: 0; }
.field .hint { color: var(--muted); font-size: 0.9rem; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--ink); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-note { font-size: 0.9rem; color: var(--muted); }
.form-status { border-radius: var(--radius); padding: 18px 20px; font-size: 1rem; }
.form-status.ok { background: #EAF4EE; color: #1D5B37; border: 1px solid #BFDCCB; }
.form-status.err { background: #FCEDEC; color: #8C1D18; border: 1px solid #F0C4C1; }
.form-status.info { background: var(--todo-bg); color: var(--todo-ink); border: 1px solid #F1D3B8; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.aside { display: flex; flex-direction: column; gap: 28px; }
.aside-block { border-top: 2px solid var(--navy); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.aside-block h2 { font-size: 1.1rem; letter-spacing: 0; }
.aside-block p, .aside-block address { font-style: normal; color: var(--ink); }
.map-slot {
  aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); overflow: hidden; position: relative;
  background: var(--bg-2); border: 1px solid var(--line);
}
.map-slot svg { width: 100%; height: 100%; display: block; }

/* ---------- Pages légales ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: var(--step-2); margin-top: 48px; }
.legal h3 { margin-top: 28px; }
.legal p, .legal li { color: var(--ink); max-width: 70ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 12px 0 0; }
.legal dl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 10px 20px; margin: 16px 0 0; }
.legal dt { font-weight: 600; color: var(--navy); }
.legal dd { margin: 0; }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }

/* ---------- Pied de page ---------- */
.site-footer { background: #0C2246; color: var(--on-navy-muted); font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 36px; padding-block: 64px 40px; }
.footer-grid > * { min-width: 0; }
.site-footer .logo { color: var(--bg); }
.site-footer .logo-sub { color: var(--on-navy-muted); }
.site-footer h2 { font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bg); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; }
.site-footer a:hover { color: var(--bg); text-decoration: underline; }
.site-footer address { font-style: normal; display: grid; gap: 4px; }
.site-footer .todo { background: rgba(242,180,138,.14); color: #F2B48A; }
.footer-pitch { margin-top: 18px; max-width: 36ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Animations ---------- */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-pending { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal.is-pending { opacity: 1; transform: none; }
}

/* Ajustements */
[hidden] { display: none !important; }
@media (max-width: 700px) {
  .hero-canvas { opacity: .4; }
  .hero::after { background: linear-gradient(180deg, rgba(18,49,96,.85), rgba(18,49,96,.7)); }
}
@media (max-width: 440px) { .logo-sub { display: none; } }

/* Logo officiel et photos */
.logo img { height: 40px; width: auto; display: block; }
.logo-footer img { height: 46px; }
@media (max-width: 440px) { .logo img { height: 34px; } }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% center; }
.hero::after { background: linear-gradient(90deg, rgba(18,49,96,.96) 0%, rgba(18,49,96,.88) 42%, rgba(18,49,96,.45) 78%, rgba(18,49,96,.25) 100%); }
@media (max-width: 700px) { .hero::after { background: linear-gradient(180deg, rgba(18,49,96,.88), rgba(18,49,96,.8)); } }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Intro animée du logo (page d'accueil, une fois par visite) */
.intro-screen { display: none; }
.intro .intro-screen {
  display: flex; position: fixed; inset: 0; z-index: 1000;
  align-items: center; justify-content: center; flex-direction: column; gap: 28px;
  background: #FFFFFF; cursor: pointer; padding-inline: 24px;
  transition: opacity .45s ease, visibility .45s ease;
}
.intro.intro-done .intro-screen { opacity: 0; visibility: hidden; }
.intro body { overflow: hidden; }
.intro-logo { position: relative; width: min(78vw, 420px); display: flex; flex-direction: column; align-items: center; }
.intro-camion { width: 63%; height: auto; position: relative; z-index: 1; animation: es-arrive 1.25s cubic-bezier(.16,.84,.3,1) .15s both; }
.intro-texte { width: 100%; height: auto; margin-top: 6%; animation: es-texte .6s ease-out 1.2s both; }
.intro-road {
  position: absolute; left: -60vw; right: 80%; top: 26%; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(41,174,224,0), rgba(41,174,224,.55));
  transform-origin: right center; animation: es-trace 1.25s cubic-bezier(.16,.84,.3,1) .15s both;
}
.intro-skip { font-size: .85rem; color: var(--muted); letter-spacing: .04em; animation: es-texte .4s ease-out 1.6s both; }
@keyframes es-arrive {
  0%   { transform: translateX(-75vw) skewX(-8deg); }
  70%  { transform: translateX(10px) skewX(3deg); }
  85%  { transform: translateX(-4px) skewX(-1deg); }
  100% { transform: translateX(0) skewX(0); }
}
@keyframes es-trace {
  0%   { transform: scaleX(0); opacity: 1; }
  70%  { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}
@keyframes es-texte {
  from { opacity: 0; transform: translateY(10px); clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}

/* Mise en scène des photos */
@keyframes es-kenburns { from { transform: scale(1.12) translateX(-2%); } to { transform: scale(1) translateX(0); } }
.hero-photo { animation: es-kenburns 14s ease-out both; }
.intro .hero-photo { animation-delay: 2.4s; }

.photo-band { position: relative; overflow: hidden; min-height: clamp(320px, 52vw, 620px); display: flex; align-items: flex-end; background: var(--navy); }
.photo-band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.photo-band.is-visible .photo-band-img { transform: scale(1); }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,49,96,.9) 0%, rgba(18,49,96,.55) 38%, rgba(18,49,96,0) 62%), linear-gradient(180deg, rgba(18,49,96,0) 50%, rgba(18,49,96,.6) 100%); }
@media (max-width: 700px) { .photo-band { min-height: 440px; } .photo-band-img { object-position: 70% 50%; } .photo-band::after { background: linear-gradient(180deg, rgba(18,49,96,0) 30%, rgba(18,49,96,.94) 78%); } }
.photo-band-text { position: relative; z-index: 1; padding-block: 0 clamp(28px, 4vw, 48px); }
.photo-band-text .eyebrow { color: #D6E6F2; }
.photo-band-text p, .photo-band-text .eyebrow { text-shadow: 0 1px 12px rgba(10,30,60,.45); }
.photo-band-text p { margin-top: 10px; font-family: var(--f-display); font-weight: 800; color: #FFFFFF; font-size: var(--step-2); line-height: 1.2; max-width: 26ch; text-wrap: balance; }

.photo-tilt { box-shadow: 18px 18px 0 0 rgba(41,174,224,.18); }
.photo-tilt img { transition: transform .8s ease; }
.photo-tilt:hover img { transform: scale(1.04); }

.page-head-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 40%; opacity: .16; }
.page-head > .cta-route { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .photo-band-img { transform: none; } }
.map-slot { display: block; }


.figure-value small.pre { margin: 0 6px 0 0; }
