/* ==========================================================================
   Alti-DSI — feuille de style
   Charte issue du logo : bleu marine → bleu → cyan, nuage, liaison en
   pointillés, abeille. Thème clair uniquement (le logo est conçu sur blanc).
   ========================================================================== */

:root {
  /* Couleurs du logo */
  --navy: #042E6E;
  --blue: #0079B6;
  --cyan: #00ADEE;
  --cyan-pale: #9AD5F4;

  /* Neutres teintés bleu */
  --paper: #FFFFFF;
  --paper-2: #F2F7FC;
  --paper-3: #E4F0FA;
  --surface: #FFFFFF;
  --ink: #0B1F3F;
  --ink-2: #3D526F;
  --ink-3: #647892;
  --line: #DCE6F0;
  --line-strong: #B4C7DA;

  /* Sémantique (hors charte) */
  --warn: #A9500B;
  --warn-bg: #FFF6EC;
  --ok: #1D7A55;
  --todo-bg: #FFE9A8;
  --todo-ink: #5A4300;

  /* Dégradé de la plaque du logo */
  --plate: linear-gradient(90deg, #042E6E 0%, #04427F 30%, #0079B6 62%, #00ADEE 86%, #9AD5F4 100%);
  --plate-fade: linear-gradient(90deg, #042E6E 0%, #0079B6 42%, #00ADEE 68%, #BFE6FA 90%, #EAF6FD 100%);
  --btn-grad: linear-gradient(100deg, #042E6E 0%, #0A5A9E 70%, #0079B6 100%);

  --f-display: "Nunito", "Segoe UI Rounded", "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --s-xs: 0.8125rem;   /* 13 */
  --s-sm: 0.9375rem;   /* 15 */
  --s-md: 1.0625rem;   /* 17 */
  --s-lg: 1.25rem;     /* 20 */
  --s-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --s-2xl: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --s-3xl: clamp(2.3rem, 1.5rem + 3.6vw, 4.1rem);

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --radius-lg: 18px;
  --maxw: 1200px;
  color-scheme: light;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--s-md);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 {
  font-family: var(--f-display);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  color: var(--navy);
}
h1 { font-size: var(--s-3xl); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: var(--s-2xl); font-weight: 850; letter-spacing: -0.012em; }
h3 { font-size: var(--s-lg); font-weight: 800; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.mono, code { font-family: var(--f-mono); font-size: 0.92em; }
.num { font-variant-numeric: tabular-nums; font-family: var(--f-mono); font-size: var(--s-sm); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }
mark.todo {
  background: var(--todo-bg); color: var(--todo-ink);
  font-family: var(--f-mono); font-size: 0.8em; font-weight: 500;
  padding: 0.1em 0.4em; border-radius: 4px; overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

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

/* ---- Libellés ---- */
.eyebrow, .legend, .cartouche dt, .dl__tag, .stack__label, .facts dt, .site-footer__h, .coords__h {
  font-family: var(--f-mono);
  font-size: var(--s-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow { color: var(--blue); margin-bottom: 18px; }
.legend { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
/* Les trois tirets du logo */
.legend__sym {
  width: 30px; height: 5px; flex: none; border-radius: 1px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 8px, transparent 8px 11px);
}

/* ---- Boutons ---- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  font-family: var(--f-display); font-weight: 800; font-size: var(--s-md);
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, filter .15s;
}
.btn--primary { background: var(--btn-grad); color: #fff; box-shadow: 0 6px 18px -8px rgba(4, 46, 110, .55); }
.btn--primary:hover { color: #fff; filter: brightness(1.12); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #0A4A94; color: #fff; }
.btn--ink { background: var(--navy); color: #fff; }
.btn--ink:hover { background: #0A4A94; color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--block { width: 100%; }
.link-arrow { font-weight: 700; color: var(--blue); text-decoration: none; display: inline-flex; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---- Bandeau d'aperçu ---- */
.preview-banner {
  background: var(--todo-bg); color: var(--todo-ink);
  font-size: var(--s-xs); font-family: var(--f-mono); padding-block: 8px;
}
.preview-banner mark.todo { background: transparent; padding: 0; text-decoration: underline; }

/* ---- En-tête ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 86px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { height: 60px; width: auto; }
.brand__logo--lg { height: 80px; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: var(--s-md); color: var(--navy);
  padding-block: 6px; border-bottom: 3px solid transparent;
}
.site-nav ul a:hover { color: var(--blue); }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--cyan); }
.site-nav__aside { display: flex; align-items: center; gap: 18px; padding-left: 26px; border-left: 1px solid var(--line); }
.site-nav__client {
  font-family: var(--f-display); font-weight: 800; font-size: var(--s-sm); color: var(--navy);
  text-decoration: none; border: 2px solid var(--cyan); padding: 7px 14px; border-radius: 999px;
}
.site-nav__client:hover { background: var(--cyan); color: #fff; }
.site-nav__tel { font-family: var(--f-mono); font-size: var(--s-sm); font-weight: 500; text-decoration: none; white-space: nowrap; color: var(--navy); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
    background: none; border: 2px solid var(--line-strong); border-radius: var(--radius);
    color: var(--navy); font: 800 var(--s-sm)/1 var(--f-display);
    padding: 10px 12px; cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .site-header__in { flex-wrap: wrap; }
  .site-nav {
    flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
    margin-left: 0; padding-bottom: 16px;
  }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding-block: 12px; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--blue); }
  .site-nav__aside { border-left: 0; padding-left: 0; padding-top: 16px; justify-content: space-between; }
}
@media (max-width: 420px) { .brand__logo { height: 44px; } }

/* ---- Motif du logo (nuage + liaison + abeille) ---- */
.motif { width: 100%; height: auto; overflow: visible; }
.motif__s1 { stop-color: #0A4E97; }
.motif__s2 { stop-color: var(--cyan); }
.motif__cloud { fill: #fff; stroke: url(#motif-cloud); stroke-width: 17; stroke-linejoin: round; }
.motif__link { fill: none; stroke: var(--cyan); stroke-width: 13; }
.motif__bee { transform-box: fill-box; transform-origin: 30% 80%; }
@media (prefers-reduced-motion: no-preference) {
  .hero .motif__bee { animation: bee-hover 3.2s ease-in-out infinite; }
}
@keyframes bee-hover {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-2deg); }
}

/* ---- Héros (accueil) ---- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--paper-2) 100%);
  border-bottom: 1px solid var(--line);
}
.hero__in {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px 56px; align-items: center;
  padding-block: clamp(48px, 7vw, 96px) 40px;
}
.hero__motif { order: 2; max-width: 560px; justify-self: end; width: 100%; }
.hero__text { order: 1; }
.hero h1 { max-width: 15ch; margin-bottom: 24px; }
.lead { font-size: var(--s-lg); line-height: 1.55; color: var(--ink-2); max-width: 36rem; margin-bottom: 32px; }
.hero .lead { max-width: 34rem; }
@media (max-width: 860px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__motif { order: 0; justify-self: start; max-width: 260px; }
}

/* Cartouche : la plaque dégradée du logo */
.cartouche {
  position: relative; margin: 0 0 clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--plate); color: #fff;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 14px 34px -22px rgba(4, 46, 110, .7);
}
.cartouche > div { padding: 16px 22px 18px; border-left: 1px solid rgba(255, 255, 255, .22); }
.cartouche > div:first-child { border-left: 0; }
.cartouche dt { margin-bottom: 4px; color: rgba(255, 255, 255, .78); }
.cartouche dd { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: var(--s-lg); color: #fff; }
.cartouche > div:last-child dt, .cartouche > div:last-child dd, .cartouche > div:last-child a { color: var(--navy); }
.cartouche dd a { text-decoration: none; color: inherit; }
.cartouche mark.todo { font-size: 0.7em; }
@media (max-width: 760px) {
  .cartouche { grid-template-columns: repeat(2, minmax(0, 1fr)); background: linear-gradient(160deg, #042E6E 0%, #0079B6 70%, #00ADEE 100%); }
  .cartouche > div:nth-child(3) { border-left: 0; }
  .cartouche > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .22); }
  .cartouche > div:last-child dt { color: rgba(255, 255, 255, .78); }
  .cartouche > div:last-child dd, .cartouche > div:last-child a { color: #fff; }
}

/* ---- Héros (pages intérieures) ---- */
.page-hero { position: relative; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-hero__motif {
  position: absolute; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  top: 50%; transform: translateY(-50%); width: min(34vw, 400px); pointer-events: none;
}
.page-hero__in { position: relative; padding-block: clamp(48px, 6vw, 84px) clamp(40px, 5vw, 64px); }
.page-hero__in > * { max-width: 42rem; }
.page-hero h1 { font-size: var(--s-3xl); margin-bottom: 20px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .actions { margin-top: 32px; }
@media (max-width: 1060px) { .page-hero__motif { width: 30vw; opacity: .35; } }
@media (max-width: 760px) { .page-hero__motif { display: none; } }

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.toc a {
  font-family: var(--f-display); font-weight: 800; font-size: var(--s-sm); color: var(--navy);
  text-decoration: none; padding: 7px 14px; border: 2px solid var(--line-strong); border-radius: 999px;
  background: #fff;
}
.toc a:hover { border-color: var(--cyan); color: var(--navy); }

/* ---- Sections à colonne de légende ---- */
.sec {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 20px 48px; padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.wrap > .sec:first-child { border-top: 0; }
.sec__legend .legend { position: sticky; top: 108px; padding-top: 12px; }
.sec__body > h2 { margin-bottom: 32px; max-width: 26ch; }
.sec__intro { font-size: var(--s-lg); color: var(--ink-2); max-width: 40rem; margin-bottom: 28px; }
.sec--detail .sec__body > h2 { margin-bottom: 16px; }
@media (max-width: 860px) {
  .sec { grid-template-columns: minmax(0, 1fr); }
  .sec__legend .legend { position: static; padding-top: 0; }
}
.ico { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 18px; height: 18px; stroke-width: 2; color: var(--blue); }

/* Services (accueil) */
.svc-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.svc {
  display: grid; gap: 10px; align-content: start; height: 100%;
  padding: 24px 22px 26px; text-decoration: none; color: var(--ink);
  background: var(--paper-2); border-radius: var(--radius-lg); border: 1px solid transparent;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.svc:hover { background: #fff; border-color: var(--cyan-pale); color: var(--ink); }
.svc .ico {
  width: 46px; height: 46px; padding: 10px; margin-bottom: 8px; border-radius: 12px;
  color: #fff; background: var(--btn-grad); stroke-width: 1.9;
}
.svc h3 { font-size: 1.15rem; color: var(--navy); }
.svc p { color: var(--ink-2); font-size: var(--s-sm); }
@media (max-width: 1020px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-list { grid-template-columns: minmax(0, 1fr); } }

/* Étapes ordonnées, reliées par la liaison en pointillés du logo */
.trail {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
}
.trail > li { position: relative; counter-increment: step; display: grid; gap: 10px; align-content: start; }
.trail > li:not(:last-child)::after {
  content: ""; position: absolute; top: 18px; left: 50px; right: -22px; height: 5px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 10px, transparent 10px 15px);
}
.trail > li::before {
  content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px;
  border-radius: 50%; background: #fff; border: 3px solid var(--navy);
  font-family: var(--f-display); font-weight: 900; font-size: var(--s-md); color: var(--navy);
  position: relative;
}
.trail > li:last-child::before { background: var(--btn-grad); border-color: var(--navy); color: #fff; }
.trail h3 { font-size: 1.15rem; }
.trail p { color: var(--ink-2); font-size: var(--s-sm); }
@media (max-width: 900px) {
  .trail { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .trail > li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; }
  .trail > li::before { grid-row: span 2; margin-bottom: 0; }
  .trail > li:not(:last-child)::after {
    left: 18px; right: auto; top: 48px; bottom: -22px; width: 5px; height: auto;
    background: repeating-linear-gradient(180deg, var(--cyan) 0 10px, transparent 10px 15px);
  }
}

/* Engagements */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; }
.pillars > div { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 3px solid var(--paper-3); }
.pillars h3 { font-size: 1.15rem; color: var(--navy); }
.pillars p { color: var(--ink-2); }
@media (max-width: 640px) { .pillars { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.stack {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; margin-top: 48px;
  font-family: var(--f-mono); font-size: var(--s-sm);
}
.stack__label { flex-basis: 100%; margin-bottom: 4px; }
.stack span:not(.stack__label) {
  padding: 5px 12px; background: var(--paper-2); border-radius: 999px; color: var(--navy);
}

/* Bande assistance : la plaque du logo, qui s'efface vers la droite */
.band { background: var(--plate-fade); color: #fff; }
.band__in {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: center;
  padding-block: clamp(48px, 6vw, 80px);
}
.band h2 { margin-bottom: 14px; color: #fff; }
.band p { color: rgba(255, 255, 255, .88); max-width: 34rem; }
.eyebrow--band { color: var(--cyan-pale); }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; }
.band__link { color: var(--navy); font-weight: 700; font-size: var(--s-sm); }
.band__link:hover { color: var(--navy); text-decoration-color: var(--navy); }
.band .btn--ghost { background: rgba(255, 255, 255, .55); }
.band .btn--ghost:hover { background: var(--navy); }
@media (max-width: 860px) {
  .band { background: linear-gradient(180deg, #042E6E 0%, #0079B6 48%, #00ADEE 72%, #DDF1FC 100%); }
  .band__in { grid-template-columns: minmax(0, 1fr); }
  .band__actions { justify-content: flex-start; }
}

/* Conclusion */
.closing {
  padding-block: clamp(64px, 8vw, 112px);
  display: grid; gap: 16px; justify-items: start;
}
.closing h2 { max-width: 22ch; }
.closing p { color: var(--ink-2); font-size: var(--s-lg); max-width: 38rem; margin-bottom: 12px; }

/* Listes cochées */
.checks {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px;
}
.checks li {
  position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line);
  font-size: var(--s-sm);
}
.checks li::before {
  content: ""; position: absolute; left: 3px; top: 19px; width: 11px; height: 6px;
  border-left: 2.5px solid var(--cyan); border-bottom: 2.5px solid var(--cyan); transform: rotate(-45deg);
}
@media (max-width: 700px) { .checks { grid-template-columns: minmax(0, 1fr); } }

/* ---- Assistance : téléchargements ---- */
.downloads {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(-40px, -3vw, -24px); position: relative; z-index: 1;
  padding-bottom: clamp(40px, 5vw, 64px);
}
.dl {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 20px 44px -30px rgba(4, 46, 110, 0.55);
}
.dl__tag { color: var(--blue); }
.dl h3 { font-size: var(--s-xl); color: var(--navy); }
.dl > p:not(.dl__tag):not(.dl__file):not(.dl__hash) { color: var(--ink-2); }
.dl__file {
  font-size: var(--s-sm); padding: 10px 14px; background: var(--paper-2); border-radius: var(--radius);
  border: 1px dashed var(--cyan-pale); overflow-wrap: anywhere; color: var(--navy);
}
.dl__hash { font-size: var(--s-xs); color: var(--ink-3); display: grid; gap: 2px; }
.dl__hash code { overflow-wrap: anywhere; color: var(--ink-2); }
.dl .btn { margin-top: auto; }
.cmd {
  display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--navy); overflow: hidden;
}
.cmd code { flex: 1; padding: 11px 14px; font-size: var(--s-xs); overflow-x: auto; white-space: nowrap; color: #DDF1FC; }
.cmd__copy {
  flex: none; border: 0; border-left: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff;
  font: 800 var(--s-xs)/1 var(--f-display); letter-spacing: 0.02em; padding: 0 16px; cursor: pointer;
}
.cmd__copy:hover { background: rgba(255, 255, 255, .1); }
.cmd__copy.is-done { color: var(--cyan-pale); }
@media (max-width: 760px) { .downloads { grid-template-columns: minmax(0, 1fr); } }

.notice {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 18px;
  padding: clamp(20px, 3vw, 28px); border: 2px solid var(--warn); border-radius: var(--radius-lg);
  background: var(--warn-bg);
}
.notice h2 { font-size: var(--s-xl); margin-bottom: 12px; color: var(--ink); }
.notice p + p { margin-top: 10px; }
.notice__ico { width: 32px; height: 32px; fill: none; stroke: var(--warn); stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.notice--plain { display: block; border-color: var(--line-strong); background: var(--paper-2); margin-top: 16px; }
.fineprint { font-size: var(--s-sm); color: var(--ink-3); margin-top: 20px; max-width: 44rem; }

.channels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.channels li { display: grid; gap: 8px; align-content: start; padding: 22px; background: var(--paper-2); border-radius: var(--radius-lg); }
.channels h3 { font-size: 1.15rem; color: var(--navy); }
.channels p { color: var(--ink-2); font-size: var(--s-sm); }
.channels .link-arrow { overflow-wrap: anywhere; }
@media (max-width: 820px) { .channels { grid-template-columns: minmax(0, 1fr); } }

/* ---- À propos ---- */
.prose { max-width: 44rem; }
.prose > h2 { margin-bottom: 24px; }
.prose p + p { margin-top: 16px; }
.prose h3 { font-size: 1.15rem; margin: 32px 0 8px; color: var(--navy); }
.prose p { color: var(--ink-2); }
.sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sectors li { display: grid; gap: 6px; padding: 20px 22px; background: var(--paper-2); border-radius: var(--radius-lg); }
.sectors h3 { font-size: 1.15rem; color: var(--navy); }
.sectors p { color: var(--ink-2); font-size: var(--s-sm); }
@media (max-width: 640px) { .sectors { grid-template-columns: minmax(0, 1fr); } }

.refs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.ref { display: grid; gap: 12px; padding: 22px; background: var(--paper-2); border-radius: var(--radius-lg); }
.ref blockquote { margin: 0; font-size: var(--s-lg); color: var(--navy); }
.ref__who { display: grid; font-size: var(--s-sm); color: var(--ink-2); }

.facts { margin: 0; display: grid; border-top: 3px solid var(--navy); max-width: 46rem; }
.facts > div {
  display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 8px 24px;
  padding-block: 14px; border-bottom: 1px solid var(--line);
}
.facts dt { padding-top: 3px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts--stack > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
@media (max-width: 560px) { .facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---- Contact ---- */
.contact {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px 64px;
  padding-block: clamp(48px, 6vw, 80px);
}
.contact__form h2 { font-size: var(--s-xl); margin-bottom: 24px; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 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: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: var(--s-sm); color: var(--navy); }
.opt { font-weight: 400; color: var(--ink-3); font-size: var(--s-xs); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--line-strong); border-radius: var(--radius);
  padding: 11px 13px; min-height: 50px;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--cyan-pale); outline-offset: 0; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #C0392B; }
.field__hint { font-size: var(--s-sm); color: var(--ink-2); background: var(--paper-2); padding: 10px 12px; border-radius: var(--radius); }
.field__error { font-size: var(--s-xs); color: #C0392B; font-weight: 700; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--check { grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 12px; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; accent-color: var(--blue); }
.field--check label { font-weight: 400; font-size: var(--s-sm); color: var(--ink-2); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.form__actions .fineprint { margin: 0; }
.form-status { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 700; border: 2px solid; }
.form-status.is-ok { border-color: var(--ok); color: var(--ok); background: #EEF8F3; }
.form-status.is-err { border-color: #C0392B; color: #A5281B; background: #FDF1EF; }

.contact__aside { display: grid; gap: 24px; align-content: start; }
.coords__h { margin-bottom: 12px; }
.urgent { padding: 24px; background: linear-gradient(135deg, #042E6E 0%, #0A5A9E 60%, #0079B6 100%); border-radius: var(--radius-lg); display: grid; gap: 8px; color: #fff; }
.urgent .coords__h { margin-bottom: 0; color: var(--cyan-pale); }
.urgent p { color: rgba(255, 255, 255, .9); font-size: var(--s-sm); }
.urgent__links { display: grid; gap: 6px; margin-top: 6px; }
.urgent__links a { color: #fff; }

/* ---- Pied de page ---- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: 56px 28px; font-size: var(--s-sm); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.site-footer__brand p { color: var(--ink-2); margin-top: 16px; max-width: 22rem; }
.site-footer__h { margin-bottom: 14px; color: var(--blue); }
.site-footer address { font-style: normal; display: grid; gap: 4px; }
.site-footer address a, .site-footer__links a { text-decoration: none; color: var(--navy); }
.site-footer address a:hover, .site-footer__links a:hover { text-decoration: underline; }
.site-footer__hours { color: var(--ink-3); margin-top: 10px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__links a { overflow-wrap: anywhere; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-strong);
  color: var(--ink-3); font-family: var(--f-mono); font-size: var(--s-xs);
}
.site-footer__base ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.site-footer__base a { text-decoration: none; }
.site-footer__base a:hover { text-decoration: underline; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .band, .motif, .actions, .preview-banner { display: none !important; }
  body { background: #fff; color: #000; }
}
