/* KM Global Consulting — km-gc.com
   Mise en page : une page longue, grille 12 colonnes, conteneur 1200 px,
   sections blanches / brume alternées, un bandeau ardoise, footer ardoise. */
:root {
  --km-ardoise: #1E3550;
  --km-orange: #C8551E;
  --km-blanc: #FFFFFF;
  --km-encre: #16202B;
  --km-acier: #5B6470;
  --km-orange-fonce: #A8461A;
  --km-brume: #EEF1F4;
  --km-bleu-moyen: #3F6A8A;
  --km-bleu-clair: #8FB0C7;
  --km-bleu-pale: #D3E0EA;
  --km-filet: #D5DCE3;
  --km-texte-sur-ardoise: #C5D3E0;

  --km-font-titres: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --km-font-texte: 'Inter', Arial, Helvetica, sans-serif;

  --km-gutter: 24px;
  --km-section: 112px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--km-blanc);
  color: var(--km-encre);
  font-family: var(--km-font-texte);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--km-blanc); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--km-orange-fonce); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--km-bleu-moyen); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.km-skip { position: absolute; left: -9999px; top: 8px; background: var(--km-ardoise); color: #fff; padding: 8px 12px; z-index: 100; }
.km-skip:focus { left: 8px; }

.km-container {
  width: 100%;
  max-width: calc(1200px + 2 * var(--km-gutter));
  margin: 0 auto;
  padding-left: max(var(--km-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--km-gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Typographie ---------- */
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--km-font-titres); font-weight: 600; color: var(--km-ardoise); text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: 48px; line-height: 56px; }
h2 { font-size: 32px; line-height: 40px; }
h3 { font-family: var(--km-font-texte); font-weight: 600; font-size: 20px; line-height: 28px; color: var(--km-encre); }
.km-lead { font-size: 18px; line-height: 28px; color: var(--km-acier); max-width: 60ch; }
.km-caption { font-size: 13px; line-height: 20px; color: var(--km-acier); }

/* ---------- Boutons ---------- */
.km-btn {
  font: 600 15px/1 var(--km-font-texte);
  padding: 14px 24px; border-radius: 3px;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .15s ease, color .15s ease;
}
.km-btn--primaire { background: var(--km-orange); color: #fff; border-color: var(--km-orange); }
.km-btn--primaire:hover { background: var(--km-orange-fonce); border-color: var(--km-orange-fonce); text-decoration: none; }
.km-btn--secondaire { border-color: var(--km-ardoise); color: var(--km-ardoise); background: transparent; }
.km-btn--secondaire:hover { background: var(--km-ardoise); color: #fff; text-decoration: none; }
.km-btn--inverse { border-color: #fff; color: #fff; background: transparent; }
.km-btn--inverse:hover { background: #fff; color: var(--km-ardoise); text-decoration: none; }
.km-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* ---------- Header ---------- */
.km-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--km-blanc);
  border-bottom: 1px solid var(--km-filet);
}
.km-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.km-header__logo { display: block; padding-block: 14px; flex-shrink: 0; }
.km-header__logo img { height: 44px; width: auto; min-width: 160px; }
.km-nav { display: flex; align-items: center; gap: 28px; }
.km-nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.km-nav__links a { font: 500 15px/1 var(--km-font-texte); color: var(--km-encre); text-decoration: none; padding-block: 8px; }
.km-nav__links a:hover { color: var(--km-ardoise); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--km-filet); }
.km-lang { display: inline-flex; border: 1px solid var(--km-filet); border-radius: 3px; overflow: hidden; }
.km-lang button {
  font: 600 12px/1 var(--km-font-texte); letter-spacing: .08em;
  padding: 8px 10px; border: 0; background: transparent; color: var(--km-acier); cursor: pointer;
}
.km-lang button[aria-pressed="true"] { background: var(--km-ardoise); color: #fff; }
.km-menu-btn { display: none; background: transparent; border: 1px solid var(--km-filet); border-radius: 3px; padding: 9px; cursor: pointer; color: var(--km-ardoise); }
.km-menu-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; display: block; }

/* ---------- Sections ---------- */
.km-section { padding-block: var(--km-section); }
.km-section--brume { background: var(--km-brume); }
.km-section__head { display: grid; gap: 16px; margin-bottom: 56px; max-width: 760px; }
.km-slogan { font-family: var(--km-font-titres); font-style: italic; font-size: 18px; color: var(--km-ardoise); }

/* ---------- Méthode ---------- */
.km-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.km-step { border-top: 1.5px solid var(--km-ardoise); padding-top: 24px; display: grid; gap: 12px; align-content: start; }
.km-step__num { font-family: var(--km-font-titres); font-weight: 600; font-size: 32px; line-height: 1; color: var(--km-ardoise); font-variant-numeric: tabular-nums; }
.km-step p { color: var(--km-acier); }
.km-value { display: grid; gap: 6px; }
.km-value h3 { font-size: 18px; line-height: 26px; }
.km-value p { font-size: 15px; line-height: 24px; color: var(--km-acier); }

/* ---------- Contact ---------- */
.km-contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.km-contact__info { grid-column: 1 / span 5; display: grid; gap: 24px; align-content: start; min-width: 0; }
.km-form {
  grid-column: 7 / span 6; background: var(--km-blanc); border: 1px solid var(--km-filet); border-radius: 4px;
  padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; min-width: 0;
}
.km-field { display: grid; gap: 6px; min-width: 0; }
.km-field--full { grid-column: 1 / -1; }
.km-field label { font: 500 14px/20px var(--km-font-texte); color: var(--km-encre); }
.km-field label span { color: var(--km-acier); font-weight: 400; }
.km-field input, .km-field select, .km-field textarea {
  font: 400 16px/24px var(--km-font-texte); color: var(--km-encre);
  border: 1px solid var(--km-filet); border-radius: 3px; padding: 10px 12px; background: var(--km-blanc); width: 100%;
}
.km-field textarea { min-height: 128px; resize: vertical; }
.km-field input:focus, .km-field select:focus, .km-field textarea:focus { border-color: var(--km-ardoise); outline: 2px solid var(--km-bleu-pale); outline-offset: 0; }
.km-form__foot { grid-column: 1 / -1; display: grid; gap: 12px; justify-items: start; }
.km-form__note { font-size: 13px; line-height: 20px; color: var(--km-acier); }
.km-form__error { font-size: 14px; color: var(--km-orange-fonce); }

/* ---------- Footer ---------- */
.km-footer { background: var(--km-ardoise); color: var(--km-texte-sur-ardoise); padding-block: 72px 32px; font-size: 15px; line-height: 24px; }
.km-footer a { color: #fff; }
.km-footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.km-footer__brand { grid-column: 1 / span 5; display: grid; gap: 20px; align-content: start; }
.km-footer__brand img { width: 220px; height: auto; }
.km-footer__brand .km-slogan { color: #fff; }
.km-footer__col { grid-column: span 3; display: grid; gap: 8px; align-content: start; }
.km-footer__col h3 { color: #fff; font-size: 14px; line-height: 20px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.km-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.km-footer__col a { text-decoration: none; }
.km-footer__col a:hover { text-decoration: underline; }
.km-footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 20px; }

/* ---------- Responsive ---------- */@media (max-width: 1080px) {
  .km-nav__links { gap: 20px; }
  .km-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
}
/* Navigation repliée : sous 1200 px, la barre complète (5 liens, langue, bouton) ne tient plus sur une ligne en anglais */@media (max-width: 1200px) {
  .km-menu-btn { display: inline-flex; }
  .km-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--km-blanc); border-bottom: 1px solid var(--km-filet);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(var(--km-gutter), env(safe-area-inset-right, 0px)) 24px max(var(--km-gutter), env(safe-area-inset-left, 0px));
    box-shadow: 0 8px 16px rgba(22,32,43,.08); }
  .km-nav[data-open="false"] { display: none; }
  .km-nav__links { flex-direction: column; gap: 0; }
  .km-nav__links a { display: block; padding-block: 14px; border-bottom: 1px solid var(--km-filet); }
  .km-nav__tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; }
}
@media (min-width: 1201px) { .km-nav__tools { display: flex; align-items: center; gap: 20px; } }
@media (max-width: 960px) {
  :root { --km-section: 80px; }
  .km-contact__info, .km-form, .km-footer__brand { grid-column: 1 / -1; }
  .km-form { margin-top: 24px; }
  .km-footer__col { grid-column: span 6; }
}
@media (max-width: 640px) {
  :root { --km-section: 64px; }
  h1 { font-size: 34px; line-height: 40px; }
  h2 { font-size: 26px; line-height: 32px; }
  h3 { font-size: 18px; line-height: 26px; }
  .km-header__logo img { height: 40px; }
  .km-steps { grid-template-columns: 1fr; }
  .km-form { padding: 24px; }
  .km-form { grid-template-columns: 1fr; }
  .km-section__head { margin-bottom: 40px; }
  .km-footer__col { grid-column: 1 / -1; }
}

/* =========================================================
   Multipage : landing plein écran, en-têtes de pages, blocs
   ========================================================= */
.km-nav__links a[aria-current="page"] { color: var(--km-ardoise); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--km-ardoise); }
.km-btn--current { background: transparent; color: var(--km-ardoise); border-color: var(--km-ardoise); }
.km-btn--current:hover { background: var(--km-ardoise); color: #fff; }
.km-link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.km-link-arrow:hover { text-decoration: underline; }
.km-link-arrow::after { content: "→"; }
.km-link-arrow--blanc { color: #fff; }

/* ---------- Landing : photo plein écran ---------- */
.km-landing { position: relative; background: var(--km-ardoise); color: #fff; overflow: hidden; }
.km-landing__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
.km-landing__veil { position: absolute; inset: 0; background: rgba(30, 53, 80, .62); }
.km-landing__inner { position: relative; min-height: 720px; display: grid; align-content: end; padding-block: 120px 88px; }
.km-landing__text { max-width: 780px; display: grid; gap: 24px; }
.km-landing h1 { color: #fff; font-size: 60px; line-height: 68px; }
.km-landing__lead { font-size: 19px; line-height: 30px; color: #fff; max-width: 58ch; }
.km-landing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.km-landing__credit { position: absolute; right: max(var(--km-gutter), env(safe-area-inset-right, 0px)); bottom: 20px; font-size: 12px; color: var(--km-texte-sur-ardoise); }

/* Bandeau secteurs sous la landing */
.km-strip { border-bottom: 1px solid var(--km-filet); background: var(--km-blanc); }
.km-strip__inner { display: grid; grid-template-columns: auto repeat(5, minmax(0, 1fr)); align-items: stretch; }
.km-strip__label { display: flex; align-items: center; padding-right: 28px; font: 600 12px/16px var(--km-font-texte); letter-spacing: .2em; text-transform: uppercase; color: var(--km-acier); }
.km-strip a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 26px 20px; border-left: 1px solid var(--km-filet); color: var(--km-ardoise); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 20px; transition: background-color .15s ease; }
.km-strip a::after { content: "→"; color: var(--km-acier); font-weight: 400; }
.km-strip a:hover { background: var(--km-brume); }

/* Mosaïque photo */
.km-mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 16px; }
.km-mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: 2px; background: var(--km-brume); }
.km-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.km-mosaic figure:hover img { transform: scale(1.03); }
.km-mosaic figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: rgba(30, 53, 80, .82); color: #fff; font-size: 13px; line-height: 18px; }
.km-mosaic .m1 { grid-column: 1 / span 7; grid-row: span 2; }
.km-mosaic .m2 { grid-column: 8 / span 5; }
.km-mosaic .m3 { grid-column: 8 / span 5; }
.km-mosaic .m4 { grid-column: 1 / span 4; }
.km-mosaic .m5 { grid-column: 5 / span 4; }
.km-mosaic .m6 { grid-column: 9 / span 4; }

/* Bandeau d'appel final */
.km-cta + .km-footer, .km-footer { border-top: 1px solid rgba(255,255,255,.14); }
.km-cta { background: var(--km-ardoise); color: #fff; }
.km-cta__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-block: 88px; align-items: end; }
.km-cta__text { grid-column: 1 / span 7; display: grid; gap: 16px; }
.km-cta__text h2 { color: #fff; }
.km-cta__text p { color: var(--km-texte-sur-ardoise); max-width: 56ch; }
.km-cta__text .km-slogan { color: #fff; }
.km-cta__actions { grid-column: 9 / span 4; display: grid; gap: 16px; justify-items: start; }
.km-cta__actions a:not(.km-btn) { color: #fff; }

/* ---------- En-tête des pages intérieures ---------- */
.km-pagehead { background: var(--km-brume); border-bottom: 1px solid var(--km-filet); }
.km-pagehead__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; padding-block: 72px; }
.km-pagehead__text { grid-column: 1 / span 6; display: grid; gap: 20px; min-width: 0; }
.km-pagehead--text .km-pagehead__text { grid-column: 1 / span 8; }
.km-pagehead__media { grid-column: 8 / span 5; margin: 0; min-width: 0; }
.km-pagehead__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.km-pagehead__media figcaption { margin-top: 8px; }
.km-breadcrumb { font-size: 13px; line-height: 20px; color: var(--km-acier); }
.km-breadcrumb a { color: var(--km-acier); }
.km-list { list-style: none; margin: 0; padding: 0; }
.km-list li { padding-block: 10px; border-top: 1px solid var(--km-filet); font-size: 15px; line-height: 24px; }
.km-list li:last-child { border-bottom: 1px solid var(--km-filet); }
.km-values-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.km-values-4 .km-value { border-top: 1.5px solid var(--km-ardoise); padding-top: 20px; }

/* Contact : étapes */
.km-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.km-next li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding-block: 16px; border-top: 1px solid var(--km-filet); }
.km-next li:last-child { border-bottom: 1px solid var(--km-filet); }
.km-next span { font-family: var(--km-font-titres); font-weight: 600; font-size: 22px; line-height: 26px; color: var(--km-ardoise); }
.km-next p { font-size: 15px; line-height: 24px; }

/* ---------- Responsive multipage ---------- */@media (max-width: 1080px) {
  .km-strip__inner { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .km-strip__label { display: none; }
  .km-strip a { border-left: 0; border-right: 1px solid var(--km-filet); padding: 20px 14px; font-size: 14px; }
  .km-strip a:last-child { border-right: 0; }
  .km-values-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .km-landing h1 { font-size: 46px; line-height: 54px; }
  .km-landing__inner { min-height: 560px; padding-block: 96px 64px; }
  .km-pagehead__text, .km-pagehead__media, .km-pagehead--text .km-pagehead__text, .km-cta__text, .km-cta__actions { grid-column: 1 / -1; }
  .km-pagehead__grid { padding-block: 48px; }
  .km-cta__inner { padding-block: 64px; }
  .km-mosaic { grid-auto-rows: 160px; }
  .km-mosaic .m1 { grid-column: 1 / -1; }
  .km-mosaic .m2, .km-mosaic .m3 { grid-column: span 6; }
  .km-mosaic .m4, .km-mosaic .m5, .km-mosaic .m6 { grid-column: span 4; }
}
@media (max-width: 640px) {
  .km-landing h1 { font-size: 31px; line-height: 38px; }
  .km-landing__lead { font-size: 17px; line-height: 27px; }
  .km-landing__inner { min-height: 0; padding-block: 112px 56px; }
  .km-landing__credit { position: relative; right: auto; bottom: auto; padding: 0 max(var(--km-gutter), env(safe-area-inset-left, 0px)) 20px; margin: 0; }
  .km-strip__inner { grid-template-columns: 1fr; padding-left: 0; padding-right: 0; }
  .km-strip a { border-right: 0; border-top: 1px solid var(--km-filet); padding: 16px max(var(--km-gutter), env(safe-area-inset-left, 0px)); }
  .km-strip a:first-of-type { border-top: 0; }
  .km-values-4 { grid-template-columns: 1fr; }
  .km-mosaic { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .km-mosaic .m1, .km-mosaic .m2, .km-mosaic .m3, .km-mosaic .m4, .km-mosaic .m5, .km-mosaic .m6 { grid-column: 1 / -1; grid-row: auto; }
  .km-mosaic .m5, .km-mosaic .m6 { display: none; }
}

/* =========================================================
   V3 acheteurs : surfaces navigateur, icônes, nouveaux blocs
   ========================================================= */
::selection { background: var(--km-bleu-pale); color: var(--km-encre); }
html { scrollbar-color: var(--km-bleu-clair) var(--km-brume); caret-color: var(--km-ardoise); }
input, textarea, select { caret-color: var(--km-ardoise); accent-color: var(--km-ardoise); }

/* Titre de section marqué du carré de la marque (remplace les surtitres) */
.km-h2 { display: flex; align-items: baseline; gap: 14px; }
.km-h2::before { content: ""; width: 10px; height: 10px; background: var(--km-orange); flex-shrink: 0; transform: translateY(-4px); }
.km-cta .km-h2::before, .km-landing .km-h2::before { background: var(--km-orange); }

/* Flèche dessinée (remplace les glyphes) */
.km-arrow, .km-link-arrow::after, .km-strip a::after {
  content: ""; display: inline-block; width: 14px; height: 14px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='square'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='square'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1);
}
.km-link-arrow:hover::after, .km-strip a:hover::after { transform: translateX(3px); }
.km-strip a::after { color: var(--km-acier); }
.km-ico { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; flex-shrink: 0; }

/* Langue : liens vers la page jumelle */
.km-lang a { font: 600 12px/1 var(--km-font-texte); letter-spacing: .08em; padding: 8px 10px; color: var(--km-acier); text-decoration: none; }
.km-lang a[aria-current="true"] { background: var(--km-ardoise); color: #fff; }
.km-lang a:hover:not([aria-current="true"]) { color: var(--km-ardoise); background: var(--km-brume); }

/* Hero : lien WhatsApp */
.km-landing__actions .km-btn--inverse svg { width: 18px; height: 18px; }

/* Acheteurs */
.km-audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.km-aud { display: grid; gap: 10px; align-content: start; padding-block: 32px; border-top: 1px solid var(--km-filet); }
.km-aud h3 { font-family: var(--km-font-titres); font-weight: 600; font-size: 24px; line-height: 30px; color: var(--km-ardoise); }
.km-aud p { color: var(--km-acier); max-width: 52ch; }
.km-aud .km-link-arrow { margin-top: 4px; }

/* Produits (accueil) */
.km-products { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.km-product { display: grid; gap: 14px; align-content: start; text-decoration: none; color: inherit; }
.km-product--lg { grid-column: span 6; }
.km-product--sm { grid-column: span 4; padding-top: 20px; border-top: 1.5px solid var(--km-ardoise); }
.km-product img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.km-product__media { overflow: hidden; border-radius: 2px; }
.km-product:hover img { transform: scale(1.03); }
.km-product h3 { font-family: var(--km-font-titres); font-weight: 600; font-size: 24px; line-height: 30px; color: var(--km-ardoise); }
.km-product p { color: var(--km-acier); }
.km-product:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* Bandeau appels d'offres */
.km-tender { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.km-tender__text { grid-column: 1 / span 7; display: grid; gap: 16px; }
.km-tender__list { grid-column: 9 / span 4; }

/* Guides */
.km-guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.km-guides a { display: grid; gap: 10px; align-content: start; height: 100%; padding-top: 20px; border-top: 1.5px solid var(--km-ardoise); text-decoration: none; color: inherit; }
.km-guides h3 { font-family: var(--km-font-titres); font-weight: 600; font-size: 21px; line-height: 28px; color: var(--km-ardoise); }
.km-guides p { color: var(--km-acier); font-size: 15px; line-height: 24px; }
.km-guides span { font-weight: 600; font-size: 14px; color: var(--km-orange-fonce); display: inline-flex; align-items: center; gap: 6px; }
.km-guides a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Pages produit / guide : corps d'article */
.km-page { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.km-page__main { grid-column: 1 / span 8; min-width: 0; display: grid; gap: 56px; }
.km-page__aside { grid-column: 10 / span 3; min-width: 0; }
.km-aside { position: sticky; top: 104px; display: grid; gap: 14px; padding: 24px; background: var(--km-brume); border-radius: 4px; }
.km-aside h2 { font-size: 20px; line-height: 26px; }
.km-aside p { font-size: 14px; line-height: 22px; color: var(--km-acier); }
.km-aside .km-btn { justify-content: center; }
.km-aside__links { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid var(--km-filet); display: grid; gap: 8px; font-size: 14px; }
.km-block { display: grid; gap: 18px; }
.km-block > p, .km-block li { max-width: 68ch; }
.km-block h2 { font-size: 28px; line-height: 36px; }
.km-block h3 { font-size: 18px; line-height: 26px; margin-top: 8px; }
.km-bullets { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.km-bullets li::marker { color: var(--km-acier); }
.km-table-wrap { overflow-x: auto; border: 1px solid var(--km-filet); border-radius: 4px; }
.km-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; min-width: 560px; }
.km-table th, .km-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--km-filet); }
.km-table thead th { background: var(--km-brume); font-weight: 600; font-size: 13px; letter-spacing: .04em; color: var(--km-ardoise); }
.km-table tbody th { font-weight: 600; color: var(--km-ardoise); white-space: nowrap; }
.km-table tr:last-child td, .km-table tr:last-child th { border-bottom: 0; }
.km-table td { font-variant-numeric: tabular-nums; }
.km-note { font-size: 13px; line-height: 20px; color: var(--km-acier); }
.km-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.km-checklist li { display: flex; gap: 12px; padding-block: 12px; border-top: 1px solid var(--km-filet); font-size: 15px; line-height: 24px; }
.km-checklist li::before { content: ""; width: 12px; height: 12px; margin-top: 6px; border: 1.5px solid var(--km-ardoise); flex-shrink: 0; }
.km-figure { margin: 0; display: grid; gap: 8px; }
.km-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; }

/* FAQ */
.km-faq { border-top: 1px solid var(--km-filet); }
.km-faq details { border-bottom: 1px solid var(--km-filet); }
.km-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; font-weight: 600; font-size: 17px; line-height: 26px; color: var(--km-encre); }
.km-faq summary::-webkit-details-marker { display: none; }
.km-faq summary::after { content: ""; width: 12px; height: 12px; margin-top: 7px; flex-shrink: 0; border-right: 1.5px solid var(--km-ardoise); border-bottom: 1.5px solid var(--km-ardoise); transform: rotate(45deg); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.km-faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.km-faq summary:hover { color: var(--km-ardoise); }
.km-faq details p { padding-bottom: 20px; max-width: 68ch; color: var(--km-encre); }

/* Bouton WhatsApp flottant */
.km-wa {
  position: fixed; z-index: 40;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: var(--km-blanc); color: var(--km-ardoise); border: 1.5px solid var(--km-ardoise); border-radius: 3px;
  font: 600 14px/1 var(--km-font-texte); text-decoration: none;
  box-shadow: 0 2px 8px rgba(22, 32, 43, .14);
  transition: background-color .15s ease, color .15s ease;
}
.km-wa:hover { background: var(--km-ardoise); color: #fff; text-decoration: none; }

/* Contact */
.km-contact__info .km-btn { justify-self: start; }
.km-mailbox { display: grid; gap: 4px; }
.km-mailbox span { font-size: 13px; color: var(--km-acier); }
.km-mailbox a { font-size: 18px; font-weight: 600; }

/* 404 */
.km-404 { padding-block: 120px; display: grid; gap: 20px; max-width: 720px; }

@media (max-width: 1080px) {
  .km-page__main { grid-column: 1 / -1; }
  .km-page__aside { grid-column: 1 / -1; }
  .km-aside { position: static; }
  .km-product--sm { grid-column: span 6; }
  .km-product--sm:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .km-tender__text, .km-tender__list { grid-column: 1 / -1; }
  .km-guides { grid-template-columns: 1fr; }
  .km-product--lg { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .km-audience, .km-checklist { grid-template-columns: 1fr; }
  .km-product--sm, .km-product--sm:last-child { grid-column: 1 / -1; }
  .km-block h2 { font-size: 24px; line-height: 30px; }
  .km-aud h3, .km-product h3 { font-size: 21px; line-height: 28px; }
  .km-wa span { display: none; }
  .km-wa { padding: 12px; }
}
.km-field [aria-invalid="true"] { border-color: var(--km-orange-fonce); }
.km-nowrap { white-space: nowrap; }
.km-h3-as { font: 600 20px/28px var(--km-font-texte); color: var(--km-encre); }

/* Polish : focus sur fonds sombres, bouton WhatsApp flottant */
.km-landing :focus-visible, .km-cta :focus-visible, .km-footer :focus-visible { outline-color: #fff; }
.km-wa:focus-visible { outline: 2px solid var(--km-bleu-moyen); outline-offset: 3px; }
.km-wa { transition: opacity .25s cubic-bezier(.16, 1, .3, 1), transform .25s cubic-bezier(.16, 1, .3, 1), background-color .15s ease, color .15s ease; }
.km-js .km-wa[data-hidden="true"] { opacity: 0; transform: translateY(8px); pointer-events: none; }
.km-footer { padding-bottom: 96px; }
@media (prefers-reduced-motion: reduce) { .km-wa { transition: none; } }

/* Vérification UX : cibles tactiles 44 px, erreurs par champ, titres de pied de page */
.km-menu-btn { padding: 10px; }
.km-link-arrow { min-height: 44px; }
.km-mailbox a { display: inline-flex; align-items: center; min-height: 44px; }
.km-field__error { font-size: 13px; line-height: 20px; color: var(--km-orange-fonce); }
.km-footer__col h2 { color: #fff; font: 600 14px/20px var(--km-font-texte); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }

/* Envoi du formulaire */
.km-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.km-form { position: relative; }
.km-form-done { align-self: start; display: grid; gap: 16px; align-content: start; grid-template-columns: 1fr; }
.km-form-done[hidden] { display: none; }
.km-form-done .km-btn { justify-self: start; }
.km-btn[disabled] { opacity: .65; cursor: progress; }
.km-form__note a { color: var(--km-orange-fonce); }
[hidden] { display: none !important; }
