/* ==========================================================================
   ArchiDataNet — feuille de style du site
   ========================================================================== */

/* ---------- Polices (auto-hébergées) ---------- */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-wght.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plex-sans-latin-wght.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F;
}

/* ---------- Jetons de design ---------- */
:root {
  --navy: #192045;
  --navy-deep: #121839;
  --navy-line: #2a3363;
  --navy-text: #c3cce6;
  --blue: #0280e5;
  --blue-ink: #0270cc;
  --blue-ink-hover: #025fae;
  --blue-soft: #e8f1fc;
  --paper: #f4f6fa;
  --white: #ffffff;
  --line: #e1e5ef;
  --line-strong: #cfd5e4;
  --ink: #1b2140;
  --ink-soft: #3d4566;
  --muted: #5a6180;
  --ok: #178257;
  --ok-soft: #e4f5ed;
  --crit: #c23434;
  --crit-soft: #fbeaea;
  --warn: #9a6a00;
  --warn-soft: #fdf3de;
  --ok-glow: #3ccf8e;
  --warn-glow: #f2b640;
  --crit-glow: #ff8383;
  --gold: #946c06;
  --gold-line: #d9ab35;
  --gold-soft: #fbf5e6;

  --font-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-y: clamp(64px, 9vw, 112px);
  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 18px;
  --shadow-card: 0 1px 2px rgba(25, 32, 69, .05), 0 12px 32px -18px rgba(25, 32, 69, .28);
}

/* ---------- Base ---------- */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}
p, ul, ol, dl, dd, figure { margin: 0; }
p { text-wrap: pretty; }
a { color: var(--blue-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-ink-hover); }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; }
::selection { background: #cfe3fb; color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Mise en page ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--navy-text); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 {
  font-size: clamp(1.75rem, 1.15rem + 2.3vw, 2.6rem);
  letter-spacing: -.02em;
}
.section-head p {
  margin-top: 16px;
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--muted);
}
.section--navy .section-head p { color: var(--navy-text); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn .icon { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-ink); color: #fff; box-shadow: 0 8px 20px -12px rgba(2, 112, 204, .9); }
.btn--primary:hover { background: var(--blue-ink-hover); color: #fff; }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-soft); color: var(--navy); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .32); }
.btn--outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--sm { min-height: 42px; padding: 9px 16px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

.link-arrowless { font-weight: 600; text-decoration: none; }
.link-arrowless:hover { text-decoration: underline; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(25, 32, 69, .45);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -.02em;
  text-decoration: none;
  flex: none;
}
.brand:hover { color: var(--navy); }
.brand-mark { width: 36px; height: 36px; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 2px; list-style: none; padding: 0; }
.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-s);
  color: var(--ink-soft);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.site-nav a:hover { background: var(--paper); color: var(--navy); }
.site-nav a[aria-current="true"] { color: var(--navy); background: var(--paper); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--blue-ink); }
.header-phone .icon { width: 18px; height: 18px; color: var(--blue-ink); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1120px) {
  .header-phone span { display: none; }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    padding: 12px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(25, 32, 69, .35);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: opacity .18s ease, transform .18s ease;
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { padding: 14px 4px; font-size: 1.0625rem; border-radius: 0; }
  .site-nav a:hover { background: none; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 16px; }
}
@media (min-width: 981px) {
  .nav-mobile-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 80px) clamp(64px, 8vw, 104px);
  overflow: hidden;
}
.hero::before {
  /* rails de baie stylisés en arrière-plan, côté visuel */
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(46vw, 640px);
  background:
    radial-gradient(circle at 1px 1px, rgba(25, 32, 69, .09) 1px, transparent 1.5px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
  mask-image: linear-gradient(90deg, transparent, #000 30%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 1.25rem + 3.5vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.028em;
  max-width: 15em;
}
.hero-lead {
  margin-top: 22px;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.2rem);
  color: var(--ink-soft);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  justify-content: start;
  gap: 12px 36px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-facts dt { font-weight: 600; color: var(--navy); font-size: .9688rem; }
.hero-facts dd { margin-top: 2px; color: var(--muted); font-size: .9063rem; }

/* ---------- Tableau de diagnostic (hero) ---------- */
.board {
  position: relative;
  padding: 22px 22px 18px;
  border-radius: 16px;
  background: var(--navy);
  color: #e6ebf8;
  box-shadow: 0 40px 70px -40px rgba(25, 32, 69, .7), inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--navy-line);
}
.board-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.board-sub { margin-top: 2px; font-size: .8438rem; color: #9fb0d6; }
.board-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-family: var(--font-mono);
  font-size: .78rem;
  color: #c3cce6;
  white-space: nowrap;
}
.board-count::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warn-glow);
  transition: background-color .3s ease;
}
.board.is-done .board-count::before { background: var(--ok-glow); }

.board-list { list-style: none; padding: 0; margin-top: 4px; }
.board-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(159, 176, 214, .2);
}
.board-row:last-child { border-bottom: 0; }
.board-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #222b57;
  color: #c3cce6;
}
.board-icon .icon { width: 18px; height: 18px; }
.board-label { font-size: .9688rem; font-weight: 500; color: #fff; line-height: 1.3; }
.board-status {
  display: grid;
  justify-items: end;
  font-family: var(--font-mono);
  font-size: .78rem;
  line-height: 1;
}
.board-status > span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity .35s ease, transform .35s ease;
}
.board-status > span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.s-crit { color: var(--crit-glow); background: rgba(255, 131, 131, .12); }
.s-warn { color: var(--warn-glow); background: rgba(242, 182, 64, .12); }
.s-ok { color: var(--ok-glow); background: rgba(60, 207, 142, .12); }
.board-row[data-state="before"] .s-ok { opacity: 0; transform: translateY(8px); }
.board-row[data-state="after"] .s-before { opacity: 0; transform: translateY(-8px); }
.board-row.is-flipping .board-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 12px;
  border: 2px solid var(--ok-glow);
  animation: board-ping .7s ease-out forwards;
}
@keyframes board-ping {
  from { opacity: .9; transform: scale(.9); }
  to { opacity: 0; transform: scale(1.25); }
}
.board-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--navy-line);
  font-size: .8125rem;
  color: #9fb0d6;
}
.board-foot a { color: #fff; font-weight: 600; text-decoration: none; }
.board-foot a:hover { text-decoration: underline; color: #fff; }
.board-replay {
  padding: 0;
  border: 0;
  background: none;
  color: #9fb0d6;
  font-size: .8125rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.board-replay:hover { color: #fff; }

/* ---------- Problèmes → réponses ---------- */
.pairs { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.pairs-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding-bottom: 12px;
  color: var(--muted);
  font-size: .9063rem;
  font-weight: 600;
}
.pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.pair-problem, .pair-answer { display: flex; gap: 16px; align-items: flex-start; }
.pair-problem p { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--navy); line-height: 1.35; letter-spacing: -.01em; }
.pair-answer p { color: var(--ink-soft); padding-top: 2px; }
.pair-badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
}
.pair-badge .icon { width: 20px; height: 20px; }
.pair-problem .pair-badge { background: var(--crit-soft); color: var(--crit); }
.pair-answer .pair-badge { background: var(--ok-soft); color: var(--ok); }

/* ---------- Domaines d'expertise ---------- */
.domains {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
  padding: 0;
}
.domain { padding: 32px 28px 36px; }
.domain + .domain { border-left: 1px solid var(--line); }
.domain:first-child { padding-left: 0; }
.domain:last-child { padding-right: 0; }
.domain-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-ink);
}
.domain-icon .icon { width: 24px; height: 24px; }
.domain h3 { margin-top: 22px; font-size: 1.25rem; }
.domain p { margin-top: 10px; color: var(--muted); font-size: 1rem; }

/* ---------- Diagnostic (étapes + rapport) ---------- */
.diag-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.steps { list-style: none; padding: 0; counter-reset: step; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 32px;
  counter-increment: step;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 56px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--line-strong), var(--line-strong)) center / 2px 100% no-repeat;
}
.step h3 { font-size: 1.25rem; padding-top: 10px; }
.step p { margin-top: 8px; color: var(--ink-soft); }
.diag-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 40px; }
.diag-cta small { color: var(--muted); font-size: .9375rem; }

.report {
  position: relative;
  padding: 28px 28px 24px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -36px rgba(25, 32, 69, .45);
}
.report::before {
  /* liseré supérieur façon document */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: 6px 6px 0 0;
  background: var(--navy);
}
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.report-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 650; color: var(--navy); }
.report-brand svg { width: 24px; height: 24px; }
.report-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
}
.report-title { margin-top: 18px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 650; color: var(--navy); letter-spacing: -.01em; }
.report-meta { margin-top: 4px; font-size: .875rem; color: var(--muted); }
.report-group { margin-top: 20px; }
.report-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
}
.report-group-title::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.report-group--crit .report-group-title::before { background: var(--crit); }
.report-group--warn .report-group-title::before { background: #d39a17; }
.report-group--ok .report-group-title::before { background: var(--ok); }
.report-group ul { list-style: none; padding: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.report-group li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; color: var(--ink-soft); }
.report-sign { margin-top: 18px; font-size: .8125rem; color: var(--muted); }

/* ---------- Forfaits ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
}
.plan--featured { border: 2px solid var(--blue); box-shadow: 0 30px 60px -40px rgba(2, 112, 204, .55); }
.plan--gold { border: 2px solid var(--gold-line); background: linear-gradient(180deg, var(--gold-soft), #fff 140px); }
.plan-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-ink);
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
}
.plan--gold .plan-badge { background: var(--gold); }
.plan h3 { font-size: 1.375rem; }
.plan-size { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
}
.plan-price .from { width: 100%; color: var(--muted); font-size: .9375rem; }
.plan-price .amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.plan-price .unit { color: var(--muted); font-size: .9375rem; }
.plan--gold .plan-price .amount { color: var(--gold); font-size: 2.2rem; line-height: 2.6rem; }
.plan-features { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: .9844rem; color: var(--ink-soft); line-height: 1.45; }
.plan-features .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--ok); stroke-width: 2.6; }
.plan-features li.is-base { color: var(--navy); font-weight: 600; }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 24px; color: var(--muted); font-size: .9375rem; max-width: 52rem; }

/* ---------- Projets sur devis ---------- */
.rates {
  width: 100%;
  border-collapse: collapse;
}
.rates thead th { text-align: left; padding: 0 0 12px; border-bottom: 1px solid var(--line-strong); color: var(--muted); font-size: .875rem; font-weight: 600; }
.rates thead .rates-price-head { text-align: right; }
.rates tbody th, .rates tbody td { padding: 18px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.rates tbody th { font-weight: 500; color: var(--ink); padding-right: 24px; }
.rates tbody td { text-align: right; white-space: nowrap; color: var(--navy); font-weight: 600; font-variant-numeric: tabular-nums; }
.rates td span { color: var(--muted); font-weight: 400; }
.rates-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.rates-foot p { color: var(--muted); font-size: .9375rem; max-width: 36rem; }

/* ---------- Engagements ---------- */
.commitments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--navy-line);
}
.commitment { padding: 32px 32px 8px 0; }
.commitment + .commitment { padding-left: 32px; border-left: 1px solid var(--navy-line); }
.commitment-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(43, 149, 255, .14);
  color: #7cc0ff;
}
.commitment-icon .icon { width: 22px; height: 22px; }
.commitment h3 { margin-top: 20px; font-size: 1.3125rem; }
.commitment p { margin-top: 10px; }
.commitment p strong { color: #fff; font-weight: 600; }

/* ---------- Qui intervient ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.about-art { max-width: 440px; }
.rack-art { width: 100%; }
.rack-label { font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: .06em; }
.about-copy h2 { font-size: clamp(1.75rem, 1.15rem + 2.3vw, 2.5rem); letter-spacing: -.02em; }
.about-copy > p { margin-top: 18px; color: var(--ink-soft); font-size: 1.0938rem; max-width: 38rem; }
.stack-title { margin-top: 32px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--navy); letter-spacing: 0; }
.stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 12px;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}
.stack li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .9688rem;
  color: var(--ink-soft);
}
.stack .icon { width: 18px; height: 18px; color: var(--blue-ink); }
.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.callout .icon { width: 22px; height: 22px; color: var(--blue-ink); margin-top: 2px; }
.callout p { font-size: .9688rem; color: var(--ink-soft); }
.callout strong { color: var(--navy); }

/* ---------- Zone ---------- */
.zone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.zone-list { list-style: none; padding: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.zone-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.zone-list .icon { width: 22px; height: 22px; color: var(--blue-ink); margin-top: 3px; }
.zone-list strong { display: block; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }
.zone-list span { color: var(--muted); font-size: .9688rem; }
.zone-list li.is-remote .icon { color: var(--muted); }
.zone-figure { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.zone-map { width: 100%; }
.map-ocean { font-family: var(--font-body); font-size: 15px; font-style: italic; fill: #5b8fca; letter-spacing: .08em; }
.map-city text { font-family: var(--font-display); font-size: 16px; font-weight: 600; fill: var(--navy); }
.map-city--minor text { font-family: var(--font-body); font-size: 13px; font-weight: 400; fill: var(--muted); }
.map-legend text, .map-scale text { font-family: var(--font-body); font-size: 12px; fill: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside .section-head { margin-bottom: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.1563rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue-ink); }
.faq-toggle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--navy);
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.faq-toggle .icon { width: 18px; height: 18px; }
.faq-item[open] .faq-toggle { transform: rotate(180deg); background: var(--navy); border-color: var(--navy); color: #fff; }
.faq-answer { padding: 0 52px 24px 0; color: var(--ink-soft); }
.faq-item[open] .faq-answer { animation: faq-in .22s ease-out; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-intro h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.8rem); letter-spacing: -.025em; }
.contact-intro > p { margin-top: 16px; font-size: 1.125rem; max-width: 30rem; }
.contact-channels { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 12px; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.contact-channel:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .04); color: #fff; }
.contact-channel .channel-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
}
.contact-channel .icon { width: 20px; height: 20px; }
.contact-channel.is-primary { background: #fff; border-color: #fff; color: var(--navy); }
.contact-channel.is-primary:hover { background: var(--blue-soft); color: var(--navy); }
.contact-channel.is-primary .channel-icon { background: #25d366; color: #fff; }
.channel-text { display: grid; line-height: 1.3; min-width: 0; }
.channel-text strong { font-size: 1.0313rem; }
.channel-text span { font-size: .875rem; color: #9fb0d6; overflow-wrap: anywhere; }
.contact-channel.is-primary .channel-text span { color: var(--muted); }
.contact-note { margin-top: 24px; font-size: .9063rem; color: #9fb0d6; }

.form-card {
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: var(--radius-l);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 80px -48px rgba(0, 0, 0, .6);
}
.section--navy .form-card h3, .form-card h3 { font-size: 1.375rem; color: var(--navy); }
.form-card > p { margin-top: 6px; color: var(--muted); font-size: .9688rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .9375rem; font-weight: 600; color: var(--navy); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23192045' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8a90a8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #aab3c9; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(2, 128, 229, .16);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--crit); }
.field-error { display: none; color: var(--crit); font-size: .875rem; }
.field.has-error .field-error { display: block; }
.field .consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9063rem; font-weight: 400; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--blue-ink); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: grid; gap: 12px; margin-top: 24px; }
.form-legal { font-size: .8438rem; color: var(--muted); }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: .9375rem; }
.form-status.is-visible { display: block; }
.form-status.is-error { background: var(--crit-soft); color: #8f2222; }
.form-status.is-error a { color: #8f2222; font-weight: 600; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: #9fb0d6; padding-block: 64px 32px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark rect { fill: #24306a; }
.footer-tagline { margin-top: 16px; max-width: 22rem; }
.footer-col h2 { font-family: var(--font-body); font-size: .9375rem; font-weight: 600; color: #fff; letter-spacing: 0; }
.footer-col ul { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 10px; }
.site-footer a { color: #c3cce6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(159, 176, 214, .18);
  font-size: .875rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; }

/* ---------- Barre d'action mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 55;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -20px rgba(25, 32, 69, .4);
    transition: transform .25s ease;
  }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  .mobile-bar .btn { min-height: 46px; padding-inline: 12px; }
  body { padding-bottom: 76px; }
}

/* ---------- Pages simples (légal, merci, 404) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem); letter-spacing: -.025em; }
.page-hero p { margin-top: 14px; color: var(--muted); font-size: 1.0938rem; max-width: 42rem; }
.prose { max-width: 46rem; padding-block: clamp(40px, 6vw, 72px); }
.prose h2 { margin-top: 40px; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 12px; color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose dl { margin-top: 12px; display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
.prose dt { font-weight: 600; color: var(--navy); }
.prose dd { color: var(--ink-soft); }
.status-page { padding-block: clamp(64px, 10vw, 128px); }
.status-card { max-width: 40rem; }
.status-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--ok-soft); color: var(--ok); }
.status-icon--neutral { background: var(--blue-soft); color: var(--blue-ink); }
.status-icon .icon { width: 28px; height: 28px; }
.status-card h1 { margin-top: 24px; font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem); letter-spacing: -.025em; }
.status-card p { margin-top: 14px; color: var(--ink-soft); font-size: 1.125rem; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.status-links { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .domains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .domain, .domain:first-child, .domain:last-child { padding: 28px 24px 32px; }
  .domain:nth-child(odd) { padding-left: 0; }
  .domain:nth-child(even) { padding-right: 0; }
  .domain:nth-child(3) { border-left: 0; }
  .domain:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; gap: 28px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero::before { display: none; }
  .hero-grid, .diag-grid, .about-grid, .zone-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-board { max-width: 560px; }
  .about-art { order: 2; max-width: 380px; }
  .faq-aside { position: static; }
  .commitments { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .commitment, .commitment + .commitment { padding: 28px 0; border-left: 0; border-top: 1px solid var(--navy-line); }
  .report { max-width: 560px; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .brand { font-size: 1.15rem; }
  .brand-mark { width: 32px; height: 32px; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .pairs-head { display: none; }
  .pair { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 0; }
  .pair-answer { padding-left: 56px; }
  .pair-answer .pair-badge { display: none; }
  .pair-answer p { position: relative; padding-left: 16px; border-left: 2px solid var(--ok); }
  .pair-problem p { font-size: 1.125rem; }
  .domains { grid-template-columns: minmax(0, 1fr); }
  .domain, .domain:first-child, .domain:last-child, .domain:nth-child(odd), .domain:nth-child(even) { padding: 24px 0; }
  .domain + .domain { border-left: 0; border-top: 1px solid var(--line); }
  .domain h3 { margin-top: 16px; }
  .rates thead { display: none; }
  .rates tbody tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .rates tbody tr:first-child { border-top: 1px solid var(--line); }
  .rates tbody th, .rates tbody td { display: block; padding: 0; border: 0; text-align: left; white-space: normal; }
  .rates tbody td { margin-top: 4px; }
  .stack { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .form-grid > .field { grid-column: 1 / -1; }
  .form-grid > .field--pair { grid-column: auto; align-content: end; }
  .faq-answer { padding-right: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .prose dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .prose dd + dt { margin-top: 10px; }
}
@media (max-width: 480px) {
  .board { padding: 18px 16px 14px; }
  .board-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; padding: 11px 0; }
  .board-icon { width: 30px; height: 30px; border-radius: 8px; }
  .board-label { font-size: .9063rem; }
  .board-status > span { padding: 5px 8px; font-size: .72rem; }
  .board-head { flex-direction: column; }
  .board-foot { flex-direction: column; gap: 6px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 359px) {
  .board-row { grid-template-columns: 30px minmax(0, 1fr); row-gap: 6px; }
  .board-status { grid-column: 2; justify-items: start; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .mobile-bar, .site-nav, .hero::before, .form-card, .board-replay { display: none !important; }
  .section--navy, .site-footer { background: #fff !important; color: #000 !important; }
  .section--navy h2, .section--navy h3, .site-footer .brand { color: #000 !important; }
  body { padding-bottom: 0; }
}

.prose h3{margin-top:1.4em;margin-bottom:.4em}
