/* ==========================================================================
   Djimax Technologies — feuille de style du site public
   Sommaire : 1. Polices  2. Jetons  3. Base  4. Mise en page  5. Boutons
   6. En-tête et navigation  7. Héros  8. Logos  9. Cartes  10. Chiffres
   11. Méthode  12. Témoignages  13. FAQ  14. Bandeau d'action  15. Pied de page
   16. Pages intérieures  17. Contenu riche  18. Formulaires  19. Composants divers
   20. Animations  21. Impression
   ========================================================================== */

/* 1. Polices (auto-hébergées : aucun appel à un service tiers) ------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-italic.woff2') format('woff2');
  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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Jetons de design ------------------------------------------------------ */
:root {
  --navy-950: #041029;
  --navy-900: #061634;
  --navy-800: #0a1f44;
  --navy-700: #0f2b5b;
  --navy-600: #183d78;
  --blue-700: #0e55cc;
  --blue-600: #1668ec;
  --blue-500: #2e86fb;
  --blue-400: #56a8ff;
  --blue-200: #b9d8ff;
  --blue-100: #dcebff;
  --blue-50: #eef5ff;
  --ink: #0b1f44;
  --text: #3a475c;
  --muted: #5f6d82;
  --line: #e2e8f1;
  --line-strong: #cbd5e3;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --success: #0f7a55;
  --success-bg: #e7f6ef;
  --danger: #b42318;
  --danger-bg: #fdecea;
  --warning: #9a6200;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(11, 31, 68, 0.06);
  --shadow-sm: 0 1px 2px rgba(11, 31, 68, 0.05), 0 2px 8px -2px rgba(11, 31, 68, 0.08);
  --shadow: 0 12px 32px -14px rgba(11, 31, 68, 0.22);
  --shadow-lg: 0 28px 64px -24px rgba(6, 22, 52, 0.45);
  --ring: 0 0 0 4px rgba(46, 134, 251, 0.22);

  --container: 1200px;
  --container-wide: 1320px;
  --gutter: 24px;
  --header-h: 76px;
  --section: clamp(64px, 8vw, 96px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 3. Base -------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img { height: auto; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--blue-700); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--blue-100); color: var(--ink); }
main:focus { outline: none; }
.icon { flex-shrink: 0; }

/* L'attribut hidden l'emporte toujours sur les règles d'affichage des composants. */
[hidden] { display: none !important; }
.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: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: #fff; }
.text-accent { color: var(--blue-500); }
.muted { color: var(--muted); font-size: 0.93rem; display: flex; gap: 8px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--ink); font-weight: 500; }

/* 4. Mise en page ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
@media (max-width: 600px) {
  :root { --gutter: 16px; }
}
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section--alt { background: var(--bg-soft); }
.section + .section--tight:not(.section--alt) { padding-top: 0; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--services { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.grid--projects { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1180px) {
  .grid--services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid--3, .grid--4, .grid--services, .grid--projects { grid-template-columns: minmax(0, 1fr); }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__text { max-width: 720px; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow--light { color: var(--blue-400); }
.section-title {
  font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.25rem);
  font-weight: 800;
}
.section-title--sm { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem); margin-bottom: 22px; }
.section-intro { margin: 14px 0 0; font-size: 1.08rem; color: var(--muted); max-width: 640px; }
.section-head--center .section-intro { margin-inline: auto; }
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 0.93rem;
  font-weight: 600;
  white-space: nowrap;
}
.section-link .icon { transition: transform 0.2s var(--ease); }
.section-link:hover .icon { transform: translateX(3px); }
@media (max-width: 700px) {
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .section-head--center { align-items: center; }
}

/* 5. Boutons ----------------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue-600);
  --btn-fg: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 24px;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform 0.2s var(--ease); }
.btn:hover .icon-arrow-right, .btn:hover > .icon:last-child { transform: translateX(2px); }
.btn--primary {
  --btn-bg: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 60%, var(--blue-700) 100%);
  box-shadow: 0 10px 24px -12px rgba(22, 104, 236, 0.75);
}
.btn--primary:hover { box-shadow: 0 14px 28px -12px rgba(22, 104, 236, 0.85); filter: brightness(1.05); }
.btn--outline { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255, 255, 255, 0.75); }
.btn--outline:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-border: #fff; }
.btn--outline-dark { --btn-bg: transparent; --btn-fg: var(--blue-600); --btn-border: var(--blue-200); }
.btn--outline-dark:hover { --btn-bg: var(--blue-50); --btn-fg: var(--blue-700); --btn-border: var(--blue-500); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--bg-soft); --btn-fg: var(--ink); }
.btn--sm { min-height: 38px; padding: 8px 18px; font-size: 0.87rem; }
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn.is-loading { opacity: 0.7; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-600);
}
.link-arrow .icon { transition: transform 0.2s var(--ease); }

/* 6. En-tête et navigation --------------------------------------------------- */
.announcement {
  background: linear-gradient(90deg, var(--navy-800), var(--navy-700));
  color: #fff;
  font-size: 0.88rem;
}
.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  text-align: center;
}
.announcement a { color: #fff; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.announcement .icon { color: var(--blue-400); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
/* Fond givré porté par un pseudo-élément : un backdrop-filter posé sur l'en-tête lui-même
   en ferait le bloc conteneur du menu mobile (position: fixed), écrasé alors à sa hauteur. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(11, 31, 68, 0.35); }
/* L'en-tête peut s'élargir jusqu'à 1560 px de contenu sur les grands écrans,
   pour laisser la place au slogan à droite (voir « Espace disponible » plus bas). */
.header__inner {
  --header-gap: 28px;
  --nav-pad: 11px;
  display: flex;
  align-items: center;
  gap: var(--header-gap);
  height: var(--header-h);
  max-width: calc(1560px + var(--gutter) * 2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 44px; height: 44px; }
.brand__img { max-height: 48px; width: auto; max-width: 240px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.62rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand__sub {
  margin-top: 5px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: #4a5f80;
}
.brand--dark .brand__name { color: #fff; }
.brand--dark .brand__sub { color: #a9bfe0; }

.nav { flex: 1; min-width: 0; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  position: relative;
  display: block;
  padding: 10px var(--nav-pad, 11px);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: var(--nav-pad, 11px);
  right: var(--nav-pad, 11px);
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover { color: var(--blue-600); }
.nav__item.is-active > .nav__link { color: var(--blue-600); }
.nav__item.is-active > .nav__link::after,
.nav__link:hover::after { transform: scaleX(1); }
.nav__item--has-children > .nav__link { padding-right: 2px; }
.nav__item--has-children > .nav__link::after { right: 2px; }
.nav__toggle {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 30px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  border-radius: 6px;
}
.nav__toggle .icon { transition: transform 0.2s var(--ease); }
.nav__toggle[aria-expanded='true'] .icon { transform: rotate(180deg); }
.nav__toggle:hover { color: var(--blue-600); }

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  z-index: 60;
  width: 400px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.submenu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.submenu__list { list-style: none; display: grid; gap: 2px; }
.submenu__link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--ink);
}
.submenu__link:hover, .submenu__link[aria-current='page'] { background: var(--blue-50); color: var(--ink); }
.submenu__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-600);
  flex-shrink: 0;
}
.submenu__link:hover .submenu__icon { background: var(--blue-600); color: #fff; }
.submenu__title { display: block; font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.submenu__text { display: block; margin-top: 2px; font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.submenu__all {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 10px 12px 4px;
  border-top: 1px solid var(--line);
  font-size: 0.87rem;
  font-weight: 600;
}
@media (min-width: 1181px) {
  .nav__item--has-children:hover > .submenu,
  .nav__item--has-children:focus-within > .submenu,
  .nav__item--has-children.is-open > .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang-switch {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.lang-switch:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-50); }
.header__tagline {
  display: none;
  max-width: 190px;
  margin: 0 0 0 6px;
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* Espace disponible ---------------------------------------------------------
   Le menu complet doit toujours tenir entre le logo et les boutons, sans chevauchement.
   1. Le slogan ne s'affiche que si l'en-tête a réellement la place : requête de conteneur
      sur la largeur de l'en-tête (plafonnée à 1560 px), et non sur celle de l'écran.
   2. Sur les écrans intermédiaires, le menu se resserre et « Accueil » s'efface
      (le logo mène déjà à l'accueil).
   3. Filet de sécurité (site.js) : si le menu déborde malgré tout (logo personnalisé,
      libellés plus longs), data-fit masque le slogan, resserre le menu, puis retire
      le bouton de consultation. */
@media (min-width: 1181px) {
  .header__inner { container: header / inline-size; }
}
@container header (min-width: 1480px) {
  .header__tagline { display: block; }
}
@media (min-width: 1181px) and (max-width: 1340px) {
  .header__inner { --header-gap: 18px; --nav-pad: 8px; }
}
@media (min-width: 1181px) and (max-width: 1250px) {
  .nav__item--home { display: none; }
}
.site-header[data-fit~='tagline'] .header__tagline { display: none; }
.site-header[data-fit~='compact'] .header__inner { --header-gap: 18px; --nav-pad: 8px; }
.site-header[data-fit~='compact'] .nav__item--home { display: none; }
.site-header[data-fit~='cta'] .header__cta { display: none; }

.nav__mobile-extra { display: none; }

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
}
.menu-toggle__bars { position: relative; width: 20px; height: 14px; }
.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s, top 0.25s var(--ease);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: grid; }
  .header__cta { display: none; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.4rem; }
  .nav {
    position: fixed;
    inset: var(--header-bottom, var(--header-h)) 0 0 auto;
    width: min(420px, 100%);
    padding: 16px var(--gutter) 32px;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
  }
  /* Masqué par display:none (et non par un décalage) : aucun débordement horizontal sur mobile. */
  body.nav-open .nav { display: block; animation: nav-in 0.28s var(--ease) both; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(6, 22, 52, 0.45);
    z-index: 40;
  }
  .site-header { z-index: 60; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 15px 4px; font-size: 1.02rem; font-weight: 600; }
  .nav__link::after { display: none; }
  .nav__toggle { width: 44px; height: 44px; }
  .submenu {
    position: static;
    width: 100%;
    padding: 0 0 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav__item.is-open > .submenu { display: block; }
  .submenu__text { display: none; }
  .nav__mobile-extra { display: grid; gap: 14px; margin-top: 24px; }
  .nav__lang { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: var(--ink); padding: 10px; }
}
@keyframes nav-in {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@media (max-width: 420px) {
  .lang-switch { display: none; }
}

/* 7. Héros de l'accueil ------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 78% 20%, rgba(30, 111, 232, 0.28), transparent 60%),
    radial-gradient(800px 500px at 10% 110%, rgba(46, 134, 251, 0.18), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, #0a2250 55%, #0c2c63 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  min-height: min(640px, calc(100vh - var(--header-h)));
  max-width: calc(var(--container-wide) + var(--gutter) * 2);
}
.hero__content { position: relative; z-index: 2; padding-block: 64px 56px; max-width: 620px; }
.hero__eyebrow {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-400);
}
.hero__title {
  font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.55rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
}
.hero__title .text-accent {
  color: var(--blue-400);
  background: linear-gradient(90deg, #6cb6ff, #3d94ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__text { margin: 22px 0 0; max-width: 540px; font-size: 1.12rem; line-height: 1.65; color: rgba(255, 255, 255, 0.84); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
  list-style: none;
}
.hero-badge { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; line-height: 1.4; color: rgba(255, 255, 255, 0.9); }
.hero-badge__icon { color: var(--blue-400); }
.hero__media { position: relative; align-self: stretch; min-height: 100%; }
.hero__photo {
  position: absolute;
  right: -40px;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 88%, transparent 100%);
}
.hero__words {
  position: absolute;
  top: 44px;
  right: 0;
  z-index: 2;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
}
.hero__words li { transition: color 0.4s var(--ease); }
.hero__words li.is-active { color: #fff; }
.hero__words::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 12px;
  border-radius: 3px;
  background: var(--blue-500);
}
.hero__card {
  position: absolute;
  right: 0;
  bottom: 44px;
  z-index: 2;
  max-width: 250px;
  margin: 0;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(8, 26, 60, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 1.02rem;
  line-height: 1.45;
  color: #fff;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .hero__photo { right: -120px; }
  .hero__card { display: none; }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { display: none; }
  .hero__content { padding-block: 48px 52px; }
  .hero__badges { grid-template-columns: 1fr; gap: 14px; margin-top: 34px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* 8. Bande de logos ---------------------------------------------------------- */
.logos { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.logos__inner { display: flex; align-items: center; gap: 40px; min-height: 96px; }
.logos__title {
  flex-shrink: 0;
  max-width: 180px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.logos__viewport { flex: 1; min-width: 0; overflow: hidden; }
.logos__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 36px;
  list-style: none;
}
.logos__item { flex-shrink: 0; }
.logos__item img { height: 30px; width: auto; transition: transform 0.25s var(--ease), filter 0.25s; }
.logos__item img:hover { transform: scale(1.06); }
.logos__viewport.is-marquee {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos__viewport.is-marquee .logos__list {
  width: max-content;
  flex-wrap: nowrap;
  justify-content: flex-start;
  animation: marquee var(--marquee-duration, 40s) linear infinite;
}
.logos__viewport.is-marquee:hover .logos__list { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(calc(-50% - 18px)); }
}
@media (max-width: 860px) {
  .logos__inner { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 24px; }
  .logos__title { max-width: none; }
  .logos__viewport { width: 100%; }
  .logos__list { justify-content: flex-start; gap: 18px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .logos__viewport.is-marquee .logos__list { animation: none; flex-wrap: wrap; width: auto; }
}

/* 9. Cartes ------------------------------------------------------------------ */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card:hover .link-arrow .icon, .card:hover .project-card__arrow .icon { transform: translateX(3px); }
.stretched-link { color: inherit; }
.stretched-link:hover { color: var(--blue-600); }
.stretched-link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  box-shadow: 0 0 0 6px var(--blue-50), 0 8px 18px -8px rgba(22, 104, 236, 0.7);
  flex-shrink: 0;
}
.icon-badge--lg { width: 58px; height: 58px; }
.icon-badge--soft { color: var(--blue-600); background: var(--blue-50); box-shadow: none; border-radius: 14px; }

.service-card { display: flex; flex-direction: column; padding: 28px 22px 22px; }
.service-card .icon-badge { margin: 4px 0 20px 4px; }
.service-card__title { font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.service-card__text { margin: 10px 0 18px; font-size: 0.9rem; line-height: 1.55; color: var(--muted); flex: 1; }

.project-card { display: flex; flex-direction: column; overflow: hidden; }
.project-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.project-card__title { font-size: 1rem; font-weight: 700; line-height: 1.35; padding-right: 8px; }
.project-card__text { margin: 8px 0 0; font-size: 0.87rem; line-height: 1.55; color: var(--muted); padding-right: 24px; }
.project-card__arrow { position: absolute; right: 18px; bottom: 18px; color: var(--blue-600); }
.project-card__arrow .icon { transition: transform 0.2s var(--ease); }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
}
.pill--overlay {
  position: absolute;
  left: 14px;
  bottom: 12px;
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.4);
}

.solution-card { display: flex; flex-direction: column; padding: 26px; }
.solution-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.solution-card__title { font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
.solution-card__text { font-size: 0.93rem; color: var(--muted); margin-bottom: 16px; }
.solution-card .check-list { margin-bottom: 18px; flex: 1; }

.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.82rem; color: var(--muted); }
.post-card__title { font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.post-card__text { margin: 10px 0 16px; font-size: 0.92rem; color: var(--muted); flex: 1; }

.job-list { display: grid; gap: 16px; }
.job-card { display: flex; align-items: center; gap: 24px; padding: 24px 28px; }
.job-card__main { flex: 1; min-width: 0; }
.job-card__title { font-size: 1.15rem; font-weight: 700; }
.job-card__text { margin: 6px 0 12px; color: var(--muted); font-size: 0.93rem; }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; font-size: 0.85rem; color: var(--text); }
.job-card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.job-card__meta .icon { color: var(--blue-600); }
@media (max-width: 700px) {
  .job-card { flex-direction: column; align-items: flex-start; padding: 22px; }
}

.value-card { padding: 30px 26px; text-align: center; }
.value-card .icon-badge { margin: 4px auto 20px; }
.value-card__title { font-size: 1.12rem; margin-bottom: 10px; }
.value-card p { font-size: 0.93rem; color: var(--muted); }

.team-card { padding: 24px; text-align: center; }
.team-card__photo { width: 128px; height: 128px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; background: var(--blue-50); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__initials { display: grid; place-items: center; height: 100%; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--blue-600); }
.team-card__name { font-size: 1.08rem; }
.team-card__role { margin: 4px 0 10px; font-size: 0.88rem; font-weight: 600; color: var(--blue-600); }
.team-card__bio { font-size: 0.9rem; color: var(--muted); }
.team-card .social__link { position: relative; z-index: 2; margin: 12px auto 0; }

/* 10. Chiffres clés ----------------------------------------------------------- */
.stats {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy-900);
  isolation: isolate;
}
.stats__bg {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--navy-900) 0%, var(--navy-900) 38%, rgba(6, 22, 52, 0.75) 62%, rgba(6, 22, 52, 0.35) 100%),
    linear-gradient(0deg, rgba(6, 22, 52, 0.6), rgba(6, 22, 52, 0.2));
}
.stats__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 150px;
  padding-block: 36px;
}
.stats__list { display: flex; flex-wrap: wrap; gap: 28px 56px; list-style: none; }
.stat { display: flex; align-items: center; gap: 14px; }
.stat__icon { color: var(--blue-400); }
.stat__body { display: flex; flex-direction: column; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 6px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.78); }
.stats__text {
  max-width: 290px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
.stats--compact .stats__inner { justify-content: center; }
@media (max-width: 1100px) {
  .stats__inner { flex-direction: column; align-items: flex-start; }
  .stats__text { text-align: left; max-width: none; }
  .stats__bg { width: 100%; opacity: 0.45; }
}
@media (max-width: 620px) {
  .stats__list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* 11. Méthode ----------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  counter-reset: step;
}
.step { position: relative; display: flex; align-items: flex-start; gap: 16px; }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 31px;
  left: 76px;
  right: -22px;
  border-top: 2px dashed var(--blue-200);
  z-index: 0;
}
.step__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-700));
  box-shadow: 0 0 0 8px var(--blue-50), 0 12px 24px -10px rgba(22, 104, 236, 0.8);
  flex-shrink: 0;
}
.step__body { position: relative; z-index: 1; padding-top: 4px; background: var(--bg); padding-right: 6px; }
.section--alt .step__body { background: var(--bg-soft); }
.step__title { display: flex; align-items: baseline; gap: 10px; font-size: 1.05rem; font-weight: 700; }
.step__num { font-size: 1.35rem; font-weight: 800; color: var(--blue-600); }
.step__text { margin: 6px 0 0; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 620px) {
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
}

/* 12. Témoignages -------------------------------------------------------------- */
.testimonials { position: relative; }
.testimonials__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(50% - 12px);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 12px;
}
.testimonials__track::-webkit-scrollbar { display: none; }
.testimonial {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  margin: 0;
  padding: 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}
.testimonial__mark {
  grid-row: span 2;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 0.85;
  color: var(--blue-600);
}
.testimonial__text { margin: 0; font-size: 0.97rem; line-height: 1.65; color: var(--ink); }
.testimonial__author { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 0.88rem; color: var(--text); }
.testimonial__author strong { color: var(--ink); }
.testimonial__photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial--card { height: 100%; }
.testimonials__controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.testimonials__dots { display: flex; gap: 2px; }
.dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
}
/* Cible tactile de 24 px, pastille visuelle plus petite. */
.dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
  transform: translate(-50%, -50%);
  transition: background-color 0.2s, width 0.2s;
}
.dot.is-active::before { width: 22px; border-radius: 6px; background: var(--blue-600); }
.dot:hover::before { background: var(--blue-400); }
.dot.is-active:hover::before { background: var(--blue-600); }
.carousel-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}
.carousel-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
@media (max-width: 800px) {
  .testimonials__track { grid-auto-columns: 88%; }
  .testimonial { padding: 22px; gap: 4px 12px; }
  .testimonial__mark { font-size: 3.2rem; }
}

/* 13. FAQ ------------------------------------------------------------------------ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-layout .section-head { margin-bottom: 16px; }
.faq-layout__text { color: var(--muted); }
.faq-layout__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
}
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq__item[open] { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { color: var(--blue-600); }
.faq__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), background-color 0.2s;
}
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.faq__answer { padding: 0 22px 20px; font-size: 0.97rem; }
.faq-page { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.faq-page__nav { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-page__nav ul { list-style: none; display: grid; gap: 4px; }
.faq-page__nav a { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; }
.faq-page__nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.faq-page__groups { display: grid; gap: 48px; }
.faq-group__title { font-size: 1.4rem; margin-bottom: 18px; }
@media (max-width: 900px) {
  .faq-page { grid-template-columns: 1fr; gap: 24px; }
  .faq-page__nav { position: static; }
  .faq-page__nav ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-page__nav a { border: 1px solid var(--line); gap: 8px; }
}

/* 14. Bandeau d'appel à l'action --------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy-900);
  isolation: isolate;
}
.cta-band__bg {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--navy-900) 0%, var(--navy-900) 36%, rgba(6, 22, 52, 0.72) 58%, rgba(6, 22, 52, 0.25) 100%);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 190px;
  padding-block: 44px;
}
.cta-band__text { max-width: 620px; }
.cta-band__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; color: #fff; margin-bottom: 10px; }
.cta-band__text p { color: rgba(255, 255, 255, 0.85); font-size: 1.02rem; }
@media (max-width: 860px) {
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__bg { width: 100%; opacity: 0.35; }
}

/* 15. Pied de page ------------------------------------------------------------------ */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.74); font-size: 0.93rem; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: 64px 48px;
}
.footer__description { margin: 18px 0 20px; max-width: 360px; font-size: 0.9rem; line-height: 1.65; }
.footer__title {
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.footer__links { list-style: none; display: grid; gap: 10px; }
.footer__links a, .footer__contact a, .footer__legal a { color: rgba(255, 255, 255, 0.74); }
.footer__links a:hover, .footer__contact a:hover, .footer__legal a:hover, .footer__privacy a:hover { color: #fff; }
.footer__contact { list-style: none; display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { margin-top: 3px; color: var(--blue-400); }
.footer__cta { margin-top: 22px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.social__link {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 0;
  transition: background-color 0.2s, transform 0.2s;
}
.social__link:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.social__link--dark { background: var(--blue-50); color: var(--blue-700); }
.social__link--dark:hover { background: var(--blue-600); color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px 8px;
  font-size: 0.84rem;
}
.footer__copy { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; }
.footer__link-btn { padding: 0; border: 0; background: none; color: rgba(255, 255, 255, 0.74); font-size: inherit; }
.footer__link-btn:hover { color: #fff; }
.footer__tagline { margin: 0; color: #fff; font-weight: 600; }
.footer__privacy { margin: 0; padding-bottom: 22px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }
.footer__privacy a { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 1000px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* 16. Pages intérieures -------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900) 0%, #0a2250 60%, #0c2c63 100%);
}
.page-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(46, 134, 251, 0.3), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 22px 22px;
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-block: 44px 64px;
}
.page-hero--media .page-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.page-hero--compact .page-hero__inner { padding-block: 40px 44px; }
.page-hero__content { max-width: 760px; }
.page-hero__title {
  margin-top: 6px;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
}
.page-hero__title .text-accent { color: var(--blue-400); }
.page-hero__intro { margin: 18px 0 0; max-width: 640px; font-size: 1.1rem; color: rgba(255, 255, 255, 0.84); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; list-style: none; }
.page-hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
}
.page-hero__meta .icon { color: var(--blue-400); }
.page-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 900px) {
  .page-hero--media .page-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero__media { order: 2; }
}

.breadcrumbs { margin-bottom: 18px; font-size: 0.84rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; color: rgba(255, 255, 255, 0.66); }
.breadcrumbs a { color: rgba(255, 255, 255, 0.8); }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; }

.notice {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 24px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.92rem;
}

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.detail__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.detail__heading { margin: 44px 0 20px; font-size: 1.45rem; }
.detail__heading--first { margin-top: 0; }
@media (max-width: 1000px) {
  .detail { grid-template-columns: 1fr; gap: 40px; }
  .detail__aside { position: static; }
}

.info-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.info-card__title { font-size: 1.1rem; margin-bottom: 12px; }
.info-card p { font-size: 0.93rem; color: var(--muted); }
.info-card .btn { margin-top: 18px; }
.info-card--dark {
  color: rgba(255, 255, 255, 0.85);
  border-color: transparent;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(46, 134, 251, 0.35), transparent 70%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow);
}
.info-card--dark .info-card__title { color: #fff; }
.info-card--dark p { color: rgba(255, 255, 255, 0.8); }
.info-card--dark .icon-badge { margin-bottom: 18px; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08); }
.info-card__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #fff; font-weight: 600; font-size: 0.92rem; }
.info-card__phone:hover { color: var(--blue-200); }

.check-list { display: grid; gap: 10px; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.check-list .icon { margin-top: 3px; color: var(--blue-600); }
.check-list--compact li { font-size: 0.88rem; }
.check-list--lg li { font-size: 1rem; }
.check-list--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 22px 0 28px; }
.check-list--light li { color: rgba(255, 255, 255, 0.9); }
.check-list--light .icon { color: var(--blue-400); }
@media (max-width: 620px) {
  .check-list--columns { grid-template-columns: 1fr; }
}

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; }
.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.95rem;
}
.feature__icon { color: var(--blue-600); margin-top: 1px; }
@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tag {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
}

.link-list { list-style: none; display: grid; gap: 4px; }
.link-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.93rem;
}
.link-list a span { flex: 1; }
.link-list a .icon:first-child { color: var(--blue-600); }
.link-list a:hover { background: var(--blue-50); color: var(--blue-700); }

.mini-link { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.mini-link strong { display: block; }
.mini-link span span { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 4px; }
.mini-link .icon-badge { width: 40px; height: 40px; box-shadow: none; }

.service-rows { display: grid; gap: 72px; }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.service-row--reverse .service-row__media { order: 2; }
.service-row__media { position: relative; }
.service-row__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.service-row__badge { position: absolute; left: 24px; bottom: -22px; }
.service-row--reverse .service-row__badge { left: auto; right: 24px; }
.service-row__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; }
.service-row__title a { color: inherit; }
.service-row__title a:hover { color: var(--blue-600); }
.service-row__text { margin: 12px 0 0; font-size: 1.05rem; color: var(--muted); }
@media (max-width: 900px) {
  .service-rows { gap: 56px; }
  .service-row { grid-template-columns: 1fr; gap: 36px; }
  .service-row--reverse .service-row__media { order: 0; }
}

.fact-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0;
  margin: -34px 0 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.fact-bar__item { padding: 18px 22px; border-right: 1px solid var(--line); }
.fact-bar__item:last-child { border-right: 0; }
.fact-bar dt { display: flex; gap: 6px; align-items: center; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fact-bar dt .icon { color: var(--blue-600); }
.fact-bar dd { margin: 6px 0 0; font-weight: 700; color: var(--ink); }
.case-study { display: grid; gap: 36px; }
.case-block__title { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; margin-bottom: 14px; }
.case-block__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); }
.metric-list { list-style: none; display: grid; gap: 18px; }
.metric-list li { display: flex; flex-direction: column; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.metric-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.metric-list__value { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: #fff; line-height: 1.1; }
.metric-list__label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.78); margin-top: 4px; }

.about-story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: start; }
.about-story__cards { display: grid; gap: 20px; }
.mv-card { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-soft); }
.mv-card .icon-badge { margin-bottom: 16px; }
.mv-card__title { font-size: 1.2rem; margin-bottom: 8px; }
.mv-card p { color: var(--text); }
.mv-card--dark { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); border-color: transparent; }
.mv-card--dark .mv-card__title { color: #fff; }
.mv-card--dark p { color: rgba(255, 255, 255, 0.84); }
@media (max-width: 900px) {
  .about-story { grid-template-columns: 1fr; gap: 32px; }
}

.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.perk {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
@media (max-width: 900px) {
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .perks { grid-template-columns: 1fr; }
}

.meta-list { display: grid; gap: 0; margin: 0 0 6px; }
.meta-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.92rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 18px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list strong { display: block; color: var(--ink); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.contact-list .icon-badge { width: 42px; height: 42px; box-shadow: 0 0 0 5px var(--blue-50); }
.map-section iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(0.9); }
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

.form-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.form-layout--wide { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
.form-layout__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.form-layout__intro > p { color: var(--muted); }
.form-layout__intro .check-list { margin-top: 20px; }
.form-layout__job { display: flex; gap: 8px; align-items: center; margin-top: 16px; padding: 12px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink) !important; }
.reply-badge { display: inline-flex; gap: 8px; align-items: center; margin: 24px 0 12px; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--success-bg); color: var(--success); font-weight: 600; font-size: 0.9rem; }
@media (max-width: 960px) {
  .form-layout, .form-layout--wide { grid-template-columns: 1fr; gap: 32px; }
  .form-layout__intro { position: static; }
}

.article-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--navy-900) 0%, #0a2250 60%, #0c2c63 100%); }
.article-hero__inner { position: relative; padding-block: 44px 110px; }
.article-hero__title { margin-top: 6px; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem); font-weight: 800; line-height: 1.15; color: #fff; }
.article-hero__excerpt { margin: 18px 0 0; font-size: 1.1rem; color: rgba(255, 255, 255, 0.84); }
.article-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.78); }
.article-hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-hero__meta .icon { color: var(--blue-400); }
.article__cover { margin-top: -80px; position: relative; z-index: 2; }
.article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.article__body { padding-block: 48px var(--section); }
.article__tags { margin-top: 36px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.share__title { margin: 0 8px 0 0; font-weight: 700; color: var(--ink); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.filter-btn.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.filter-btn__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--blue-50); color: var(--blue-700); font-size: 0.74rem; }
.filter-btn.is-active .filter-btn__count { background: rgba(255, 255, 255, 0.16); color: #fff; }
.card.is-hidden { display: none; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-weight: 600;
}
.pagination__link:hover { border-color: var(--blue-500); color: var(--blue-600); }
.pagination__link.is-active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.rss-link { margin-top: 32px; text-align: center; font-size: 0.9rem; }
.rss-link a { display: inline-flex; gap: 6px; align-items: center; }

.empty-state { padding: 40px 24px; text-align: center; color: var(--muted); background: var(--bg-soft); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }

.search-form { display: flex; gap: 10px; margin-top: 24px; max-width: 640px; }
.search-form--center { margin-inline: auto; margin-top: 28px; }
.search-form__input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
}
.search-form__input::placeholder { color: rgba(255, 255, 255, 0.6); }
.search-form__input:focus { outline: none; border-color: var(--blue-400); box-shadow: var(--ring); }
.search-form .btn { height: 52px; }
.search-count { font-weight: 600; color: var(--ink); margin-bottom: 20px; }
.search-results { list-style: none; display: grid; gap: 14px; }
.search-result { padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.search-result__title { margin: 10px 0 6px; font-size: 1.12rem; }
.search-result p { margin: 0; color: var(--muted); font-size: 0.93rem; }
@media (max-width: 560px) {
  .search-form { flex-direction: column; }
}

.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 36px; }
.sitemap-group__title { font-size: 1.1rem; margin-bottom: 14px; }
.sitemap-group ul { list-style: none; display: grid; gap: 8px; }
.sitemap-group li a { color: var(--text); }
.sitemap-group li a:hover { color: var(--blue-600); text-decoration: underline; }

.thanks {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900) 0%, #0a2250 60%, #0c2c63 100%);
  text-align: center;
}
.thanks--full { min-height: 100vh; display: grid; place-items: center; }
.thanks__inner { position: relative; display: flex; flex-direction: column; align-items: center; padding-block: 88px; }
.thanks__inner .brand { margin-bottom: 36px; }
.thanks__icon { display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 22px; border-radius: 50%; background: rgba(46, 134, 251, 0.18); color: var(--blue-400); box-shadow: 0 0 0 10px rgba(46, 134, 251, 0.08); }
.thanks__icon--warn { color: #ffc46b; background: rgba(255, 196, 107, 0.14); box-shadow: 0 0 0 10px rgba(255, 196, 107, 0.06); }
.thanks__title { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); font-weight: 800; color: #fff; }
.thanks__text { margin: 16px 0 28px; max-width: 580px; font-size: 1.1rem; color: rgba(255, 255, 255, 0.85); }
.thanks__note { display: inline-flex; gap: 8px; align-items: center; margin: -12px 0 28px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.thanks__note a { color: #fff; }
.error-code { margin: 0; font-family: var(--font-display); font-size: clamp(5rem, 3rem + 8vw, 8rem); font-weight: 800; line-height: 1; background: linear-gradient(180deg, #7dbcff, #1668ec); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.useful-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; list-style: none; }
.useful-links a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; font-size: 0.9rem; }
.useful-links a:hover { background: rgba(255, 255, 255, 0.1); }

.privacy-officer { margin-top: 36px; }

/* 17. Contenu riche -------------------------------------------------------------------- */
.prose { color: var(--text); font-size: 1.02rem; line-height: 1.75; }
.prose--lead > p:first-child { font-size: 1.14rem; color: var(--ink); }
.prose--article { font-size: 1.07rem; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.5em; font-size: 1.2rem; }
.prose h4 { margin-top: 1.3em; font-size: 1.05rem; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ''; position: absolute; left: 6px; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); }
.prose ol { counter-reset: prose-ol; }
.prose ol li { position: relative; padding-left: 36px; counter-increment: prose-ol; }
.prose ol li::before { content: counter(prose-ol); position: absolute; left: 0; top: 0.1em; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-50); color: var(--blue-700); font-size: 0.8rem; font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--blue-500); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.08rem; color: var(--ink); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose pre { overflow-x: auto; padding: 16px 18px; border-radius: var(--radius); background: var(--navy-900); color: #e6edf7; font-size: 0.9rem; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--bg-soft); font-size: 0.9em; }
.prose pre code { padding: 0; background: none; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--bg-soft); color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }

/* 18. Formulaires ------------------------------------------------------------------------ */
.card--form { padding: clamp(24px, 3vw, 36px); }
.card--form:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }
.form__note { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 0.9rem; font-weight: 600; color: var(--ink); padding: 0; }
.field__req { color: var(--danger); }
.field__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea.field__input { resize: vertical; min-height: 130px; line-height: 1.55; }
select.field__input {
  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='%235f6d82' 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__input:hover { border-color: #aebbd0; }
.field__input:focus { outline: none; border-color: var(--blue-500); box-shadow: var(--ring); }
.field__help { margin: 0; font-size: 0.82rem; color: var(--muted); }
.field__error { display: flex; gap: 6px; align-items: center; margin: 0; font-size: 0.85rem; font-weight: 500; color: var(--danger); }
.field--error .field__input { border-color: var(--danger); }
.field--error .field__input:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.15); }
.form-alert { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; padding: 14px 18px; border-radius: var(--radius); background: var(--danger-bg); color: var(--danger); font-weight: 500; }
.form-alert:focus { outline: none; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; line-height: 1.5; color: var(--text); cursor: pointer; }
.checkbox input, .radio input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue-600); flex-shrink: 0; }
.field--radios { grid-column: 1 / -1; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); cursor: pointer; font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.radio:has(input:checked) { border-color: var(--blue-500); background: var(--blue-50); }
.radio input { margin: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
}

.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--blue-600);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.file-drop:hover, .file-drop.is-dragover { border-color: var(--blue-500); background: var(--blue-50); }
.file-drop:focus-within { border-color: var(--blue-500); box-shadow: var(--ring); }
.file-drop__text { color: var(--text); font-size: 0.93rem; }
.file-drop__text strong { color: var(--blue-600); }
.file-drop__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.field--error .file-drop { border-color: var(--danger); }

.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 18px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.choice__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); }
.choice__label { font-weight: 600; font-size: 0.93rem; color: var(--ink); line-height: 1.35; }
.choice__check { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: transparent; }
.choice:hover .choice__box { border-color: var(--blue-400); }
.choice input:checked + .choice__box { border-color: var(--blue-600); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue-600); }
.choice input:checked + .choice__box .choice__check { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.choice input:checked + .choice__box .choice__icon { background: var(--blue-600); color: #fff; }
.choice input:focus-visible + .choice__box { box-shadow: var(--ring); }
.choice-grid.field--error .choice__box { border-color: var(--danger); }
@media (max-width: 760px) {
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .choice-grid { grid-template-columns: 1fr; }
}

.stepper__progress { display: flex; gap: 8px; margin: 0 0 28px; list-style: none; counter-reset: none; }
.stepper__progress li { flex: 1; display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 3px solid var(--line); font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.stepper__progress li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--muted); font-size: 0.78rem; flex-shrink: 0; }
.stepper__progress li.is-current, .stepper__progress li.is-done { color: var(--ink); border-color: var(--blue-600); }
.stepper__progress li.is-current span, .stepper__progress li.is-done span { background: var(--blue-600); color: #fff; }
.stepper__step { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
.stepper__legend { display: block; width: 100%; margin-bottom: 18px; padding: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.stepper__count { display: block; margin-bottom: 4px; font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-600); }
.stepper__nav { display: none; justify-content: space-between; gap: 12px; margin-top: 8px; }
.stepper__nav .btn--primary:only-child { margin-left: auto; }
.stepper.is-enhanced .stepper__step { margin-bottom: 0; }
.stepper.is-enhanced .stepper__step:not(.is-current) { display: none; }
.stepper.is-enhanced .stepper__nav { display: flex; }
.stepper:not(.is-enhanced) > .stepper__step:last-of-type .stepper__nav { display: flex; }
.stepper:not(.is-enhanced) [data-step-prev], .stepper:not(.is-enhanced) [data-step-next] { display: none; }
@media (max-width: 560px) {
  .stepper__progress li { font-size: 0; gap: 0; justify-content: center; }
  .stepper__nav { flex-direction: column-reverse; }
  .stepper__nav .btn { width: 100%; }
}

/* 19. Composants divers -------------------------------------------------------------------- */
/* Liens insérés dans une phrase : soulignés (pas seulement colorés). */
.checkbox a,
.footer__privacy a,
.thanks__note a,
.cookie-banner__text a,
.muted a,
.form-layout__intro p a,
.info-card p a,
.privacy-officer a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background-color 0.2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--blue-600); color: #fff; }

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  max-width: 620px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { display: grid; gap: 16px; }
.cookie-banner__title { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; font-weight: 700; color: var(--ink); }
.cookie-banner__title .icon { color: var(--blue-600); }
.cookie-banner__text p { margin: 0; color: var(--text); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

.admin-bar {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 80;
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(6, 22, 52, 0.92);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
}
.admin-bar a, .admin-bar span { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: var(--radius-pill); color: #fff; }
.admin-bar a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.admin-bar__warn { color: #ffc46b !important; }

.map-section { line-height: 0; }

/* 20. Animations ----------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .grid > .reveal:nth-child(2) { transition-delay: 0.06s; }
.js .grid > .reveal:nth-child(3) { transition-delay: 0.12s; }
.js .grid > .reveal:nth-child(4) { transition-delay: 0.18s; }
.js .grid > .reveal:nth-child(5) { transition-delay: 0.24s; }
.js .steps > .reveal:nth-child(2), .js .stats__list > .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .steps > .reveal:nth-child(3), .js .stats__list > .reveal:nth-child(3) { transition-delay: 0.2s; }
.js .steps > .reveal:nth-child(4), .js .stats__list > .reveal:nth-child(4) { transition-delay: 0.3s; }
.hero__content > * { animation: rise 0.8s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: 0.08s; }
.hero__content > :nth-child(3) { animation-delay: 0.16s; }
.hero__content > :nth-child(4) { animation-delay: 0.24s; }
.hero__content > :nth-child(5) { animation-delay: 0.32s; }
.hero__photo { animation: fade-in 1.2s var(--ease) both; }
.hero__card, .hero__words { animation: rise 0.9s 0.4s var(--ease) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 21. Impression ------------------------------------------------------------------------------ */
@media print {
  .site-header, .announcement, .cta-band, .site-footer, .cookie-banner, .back-to-top, .admin-bar, .share, .hero__media, .stepper__nav, form { display: none !important; }
  .hero, .page-hero, .article-hero, .thanks, .stats { background: none !important; color: #000 !important; }
  .hero__title, .page-hero__title, .article-hero__title { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
