/* NolegIA — polices auto-hébergées (Manrope, Spectral).
   Extraites de Google Fonts, servies depuis le domaine : aucun appel tiers au chargement. */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/manrope-400-latin-ext.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: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/manrope-400-latin.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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/manrope-500-latin-ext.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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/manrope-500-latin.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/manrope-600-latin-ext.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/manrope-600-latin.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/manrope-700-latin-ext.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/manrope-700-latin.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: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/manrope-800-latin-ext.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: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/manrope-800-latin.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: 'Spectral';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/spectral-300i-latin-ext.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: 'Spectral';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/spectral-300i-latin.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: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/spectral-400i-latin-ext.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: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/spectral-400i-latin.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;
}

/* Spectral n'est utilisée qu'en italique 300 (grands chiffres) et 400 (accents
   de titre et citation) : la graisse 500 a été retirée, personne ne l'appelait. */

/* ============================================================================
   NolegIA — feuille de style du site vitrine
   Tokens et recettes issus du design system NolegIA (fascicule).
   Aucune ombre : le design repose sur des filets de 1 px.

   Plan du fichier :
     1. Polices auto-hébergées (ci-dessus)
     2. Tokens (:root) et réglages de base
     3. Fonds sombres et typographie partagée
     4. Navigation
     5. Sections, dans l'ordre de la page : hero, constat, méthode, à propos,
        formations, automatisations, gouvernance, FAQ, contact, pied de page
     6. Paliers responsive (1024 px, 768 px, 400 px) et impression
     7. Pages de texte (mentions légales, confidentialité)

   Convention : une classe par bloc, modificateurs en `--`, états en `is-`.
   Les sections à fond sombre portent la classe `.dark`, qui bascule les
   couleurs de texte de leurs enfants.
   ========================================================================= */

/* ---------- 2. Tokens ---------- */
:root {
  /* Fonds et encres. --navy sert de fond aux sections sombres, --ink de couleur
     de texte principale sur fond clair. */
  --navy: #080F1E;
  --ink: #0F172A;
  --ink-soft: #334155;

  /* Bleu de marque. --blue sur fond clair, --blue-light sur fond sombre (le
     bleu vif n'a pas assez de contraste sur le marine), --blue-pale pour les
     liens sur fond sombre. */
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-light: #639EFF;
  --blue-pale: #93B8FF;

  /* Couleurs d'accent : la variante claire est la version « sur fond sombre ».
     Elles servent aux étiquettes des automatisations et aux icônes de risque. */
  --green: #10B981;
  --green-light: #34D399;
  --amber: #F59E0B;
  --amber-light: #FBBF24;
  --violet: #8B5CF6;
  --violet-light: #C084FC;
  --red: #EF4444;

  /* Textes secondaires sur fond clair : --text-2 pour les paragraphes,
     --text-3 pour les mentions et légendes. */
  --text-2: #475569;
  --text-3: #5B6B82;

  /* Filets et surfaces. Le design n'utilise aucune ombre : la hiérarchie passe
     par ces filets de 1 px et par --surface-alt pour les sections grises. */
  --rule: #E2E8F0;
  --rule-strong: #CBD5E1;
  --surface-alt: #F7F9FC;

  /* Équivalents sur fond sombre, en blanc transparent pour rester lisibles
     par-dessus les halos colorés des sections `.dark`. */
  --rule-dark: rgba(255, 255, 255, 0.10);
  --on-dark-1: rgba(255, 255, 255, 0.72);
  --on-dark-2: rgba(255, 255, 255, 0.62);

  /* Gabarit : --gutter est redéfini à chaque palier responsive. */
  --container: 1180px;
  --gutter: 40px;

  /* Rayons, du plus petit (étiquettes) au plus grand (encadrés de formation). */
  --r-xs: 5px;
  --r-sm: 7px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

/* scroll-padding-top dégage la barre de navigation collante (64 px) pour que
   les ancres ne s'arrêtent pas sous elle. */
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
/* Respect du réglage système « réduire les animations » : défilement instantané
   et animations neutralisées, dont le curseur clignotant de la démo. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  background: #FFFFFF;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  /* Filet de sécurité contre un débordement latéral sur mobile. Ce n'est pas
     une solution : si une barre horizontale apparaît, corriger l'élément fautif
     plutôt que de compter sur cette ligne, qui se contente de le rogner. */
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }

img { max-width: 100%; }

/* Accent typographique : les fragments de titre en italique serif. */
.spec {
  font-family: 'Spectral', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
/* Bleu vif sur fond clair, bleu clair sur fond sombre. Ces deux règles
   remplacent les couleurs qui étaient écrites en style inline sur chaque titre. */
.h1 .spec, .h2 .spec, .h3 .spec { color: var(--blue); }
.dark .h1 .spec, .dark .h2 .spec, .dark .h3 .spec { color: var(--blue-light); }
/* Le seul .spec du h1 : léger resserrement pour compenser l'italique. */
.h1 .spec { letter-spacing: -0.02em; }

/* Anneau de focus visible uniquement au clavier, jamais à la souris. */
:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Lien d'évitement : hors écran jusqu'à ce qu'il reçoive le focus au clavier. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 112px 0; }
.section--tight { padding: 104px 0; }

/* ---------- 3. Fonds sombres ----------
   Chaque section sombre superpose quatre couches : une trame de points puis
   trois halos (orange, vert, bleu). Les variantes --hero/--b/--c ne changent
   que la position des halos, pour que deux sections sombres qui se suivent ne
   paraissent pas identiques. Elles doivent redéclarer les quatre couches :
   `background-image` est une propriété unique, on ne peut pas n'en changer
   qu'une strate. */
.dark {
  background-color: var(--navy);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(ellipse 55% 42% at 8% 10%, rgba(255, 140, 66, 0.13) 0%, transparent 62%),
    radial-gradient(ellipse 46% 38% at 94% 22%, rgba(0, 200, 160, 0.13) 0%, transparent 62%),
    radial-gradient(ellipse 42% 40% at 58% 96%, rgba(37, 99, 235, 0.20) 0%, transparent 64%);
  background-size: 34px 34px, 100% 100%, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  color: #FFFFFF;
}
.dark--hero { background-image:
  radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
  radial-gradient(ellipse 55% 42% at 8% 10%, rgba(255, 140, 66, 0.13) 0%, transparent 62%),
  radial-gradient(ellipse 46% 38% at 94% 22%, rgba(0, 200, 160, 0.13) 0%, transparent 62%),
  radial-gradient(ellipse 42% 40% at 58% 96%, rgba(37, 99, 235, 0.20) 0%, transparent 64%); }
.dark--b { background-image:
  radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
  radial-gradient(ellipse 55% 42% at 92% 8%, rgba(255, 140, 66, 0.13) 0%, transparent 62%),
  radial-gradient(ellipse 46% 38% at 6% 34%, rgba(0, 200, 160, 0.13) 0%, transparent 62%),
  radial-gradient(ellipse 42% 40% at 48% 98%, rgba(37, 99, 235, 0.20) 0%, transparent 64%); }
.dark--c { background-image:
  radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
  radial-gradient(ellipse 55% 42% at 10% 14%, rgba(255, 140, 66, 0.13) 0%, transparent 62%),
  radial-gradient(ellipse 46% 38% at 88% 30%, rgba(0, 200, 160, 0.13) 0%, transparent 62%),
  radial-gradient(ellipse 42% 40% at 64% 94%, rgba(37, 99, 235, 0.20) 0%, transparent 64%); }
/* Blocs sombres imbriqués dans une section claire (encadré de formation 02,
   panneau « Notre approche ») : trame resserrée à 32 px, la surface étant
   plus petite que celle d'une section. */
.dark--panel { background-size: 32px 32px, 100% 100%, 100% 100%, 100% 100%; }

/* ---------- Typographie partagée ---------- */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 16px;
}
.dark .eyebrow { color: var(--blue-light); }

h1, h2, h3, h4 { text-wrap: pretty; }

.h1 {
  font-size: clamp(36px, 5.2vw, 66px);
  font-weight: 800;
  letter-spacing: -0.042em;
  line-height: 1.03;
  color: #FFFFFF;
  margin: 0 0 26px;
}
.h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0;
}
.dark .h2 { color: #FFFFFF; }
.h3 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.lead { font-size: 15.5px; line-height: 1.8; color: var(--text-2); margin: 0; text-wrap: pretty; }
.dark .lead { color: var(--on-dark-2); }

/* ---------- 4. Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--rule-dark);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; color: #FFFFFF; }
/* Neutralise le bleu de survol hérité de `a:hover` : le logo reste blanc. */
.logo:hover { color: #FFFFFF; }
.logo__mark {
  width: 30px; height: 30px;
  background: var(--blue);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo__word { font-size: 18px; font-weight: 700; letter-spacing: -0.025em; color: #FFFFFF; }
.logo__word .spec { color: var(--blue-light); }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__link {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  padding: 20px 0;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: #FFFFFF; }
.nav__link[aria-current="true"] { color: #FFFFFF; border-bottom-color: var(--blue); }
.nav__cta {
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--blue);
  padding: 11px 18px;
  border-radius: 6px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav__cta:hover { background: var(--blue-hover); color: #FFFFFF; }
/* Groupe « bouton d'appel + hamburger » à droite de la barre. */
.nav__actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger : masqué au-dessus de 1024 px, affiché par le palier responsive. */
.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #FFFFFF;
  cursor: pointer;
}
.nav__panel { display: none; }

/* ---------- 5. Sections ----------
   Hero */
.hero { border-bottom: 1px solid var(--rule-dark); }
.hero__grid {
  padding-block: 104px 96px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 72px;
  align-items: start;
}
.hero__kicker {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 28px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.hero__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.hero__sub {
  font-size: 16.5px; line-height: 1.75;
  color: var(--on-dark-2);
  max-width: 460px; margin: 0 0 36px; text-wrap: pretty;
}
.hero__actions { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.hero__note { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); margin: 0 0 40px; }
.hero__facts {
  margin: 0;
  border-top: 1px solid var(--rule-dark);
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0 40px;
  padding-top: 22px;
  justify-content: start;
}
.hero__facts dt {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 6px;
}
.hero__facts dd { margin: 0; font-size: 14px; font-weight: 600; color: #FFFFFF; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #FFFFFF;
  font-family: inherit; font-size: 15px; font-weight: 600;
  padding: 14px 24px; min-height: 44px;
  border: none; border-radius: 6px; cursor: pointer;
}
/* La couleur est répétée au survol pour neutraliser le bleu de `a:hover`,
   les boutons étant parfois des liens. */
.btn:hover { background: var(--blue-hover); color: #FFFFFF; }
.btn--ghost {
  background: none;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn--ghost:hover { background: none; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.45); }
.link-under {
  display: inline-flex; align-items: center;
  font-size: 14.5px; font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 8px 0 3px;
}
.dark .link-under { color: #FFFFFF; border-bottom-color: rgba(255, 255, 255, 0.3); }
.link-under:hover { color: var(--blue); border-color: var(--blue); }
.dark .link-under:hover { color: #FFFFFF; border-color: var(--blue-light); }

/* Démo animée */
.demo {
  background: #0D1B30;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.demo__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}
/* Les trois pastilles de la barre de fenêtre, dans l'ordre du HTML. */
.demo__dots { display: flex; gap: 6px; }
.demo__dots span { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.demo__dots span:nth-child(1) { background: #FF5F57; }
.demo__dots span:nth-child(2) { background: #FFBD2E; }
.demo__dots span:nth-child(3) { background: #28CA41; }
.demo__tabs { display: flex; gap: 2px; }
.demo__tab {
  font-family: inherit; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
  padding: 8px 12px; min-height: 34px;
  border: none; border-radius: 4px;
  background: transparent; color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}
.demo__tab[aria-pressed="true"] { background: rgba(37, 99, 235, 0.2); color: var(--blue-pale); }
.demo__body { padding: 20px; min-height: 300px; display: flex; flex-direction: column; gap: 14px; }
.demo__box {
  border-radius: 8px; padding: 12px 14px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
}
.demo__box--resp { background: rgba(16, 185, 129, 0.07); border-color: rgba(16, 185, 129, 0.22); flex: 1; }
.demo__label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #94A3B8; margin-bottom: 7px; /* sur fond sombre du panneau de démo : 6,25:1 */
}
.demo__label--resp { color: var(--green-light); }
.demo__prompt {
  font-family: 'Courier New', monospace; font-size: 13px; line-height: 1.65;
  color: rgba(255, 255, 255, 0.78); min-height: 18px;
}
.demo__caret {
  display: inline-block; width: 1px; height: 13px;
  background: var(--blue-light); margin-left: 1px; vertical-align: middle;
  animation: nolegia-blink 0.9s step-end infinite;
}
.demo__resp {
  font-size: 13px; line-height: 1.65; color: rgba(255, 255, 255, 0.7);
  white-space: pre-line; min-height: 40px;
}
.demo.is-bad { border-color: rgba(239, 68, 68, 0.28); }
.demo.is-bad .demo__box { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.28); }
.demo.is-bad .demo__box--resp { background: rgba(239, 68, 68, 0.06); border-color: rgba(239, 68, 68, 0.2); }
.demo.is-bad .demo__label--resp { color: #F87171; }
.demo.is-bad .demo__resp { color: rgba(255, 255, 255, 0.5); font-style: italic; }

@keyframes nolegia-blink { 0%, 100% { opacity: 1 } 50% { opacity: 0 } }

/* ---------- Bande preuve ----------
   Bloc masqué dans index.html en attendant des logos sur fond transparent.
   Ces règles sont conservées pour qu'il suffise de décommenter le HTML. */
.proof { background: #FFFFFF; border-bottom: 1px solid var(--rule); }
.proof__inner { padding-block: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.label-meta {
  font-size: 11px; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--text-3);
}
.proof__logos {
  width: 100%; max-width: 840px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: center;
}
.proof__logos img { height: 92px; width: 100%; object-fit: contain; }

/* ---------- Constat ---------- */
.constat__head { max-width: 700px; margin: 0 0 64px; }
.constat__grid { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.constat__aside { font-size: 13.5px; line-height: 1.75; color: var(--text-3); margin: 0; }
.numbered {
  border-top: 1px solid var(--rule);
  padding: 36px 0;
  display: grid; grid-template-columns: 64px 1fr; gap: 32px; align-items: start;
}
.numbered__n {
  font-family: 'Spectral', Georgia, serif; font-style: italic; font-weight: 300;
  font-size: 44px; line-height: 1; color: #8090A6;
}
.numbered__title {
  font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.22; color: var(--ink); margin: 0 0 14px; max-width: 660px;
}
.numbered__title .spec { color: var(--blue); }
.numbered p { font-size: 15.5px; line-height: 1.8; color: var(--text-2); margin: 0; max-width: 620px; text-wrap: pretty; }

.quote {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--surface-alt);
  padding: 32px 32px 32px 96px;
  margin: 0;
}
.quote p {
  font-family: 'Spectral', Georgia, serif; font-style: italic; font-weight: 400;
  font-size: 21px; line-height: 1.6; color: var(--ink); margin: 0; max-width: 700px; text-wrap: pretty;
}
.quote figcaption { font-size: 12.5px; font-weight: 600; color: var(--text-3); margin-top: 18px; }

/* ---------- Méthode ---------- */
.methode__head {
  display: grid; grid-template-columns: 56px 1fr 1.35fr; gap: 32px;
  align-items: end; margin-bottom: 56px;
}
.methode__head > div { grid-column: 1 / 3; }
.methode__list { border-top: 1px solid var(--rule-dark); }
.methode__row {
  border-bottom: 1px solid var(--rule-dark);
  padding: 34px 0;
  display: grid; grid-template-columns: 56px 1fr 1.35fr; gap: 32px; align-items: start;
}
.methode__n { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--blue-light); padding-top: 4px; }
.methode__row h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; color: #FFFFFF; margin: 0; }
.methode__row p { font-size: 14.5px; line-height: 1.8; color: var(--on-dark-2); margin: 0; text-wrap: pretty; }
.methode__foot { margin-top: 44px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.methode__foot span { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }

/* ---------- À propos ---------- */
.apropos { background: var(--surface-alt); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.apropos__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 88px; align-items: start; }
/* Portrait masqué dans index.html : la colonne texte restant seule, la grille
   repasse sur une piste. La règle redevient sans effet dès que le <figure> est
   rétabli. */
.apropos__grid:has(> :only-child) { grid-template-columns: 1fr; }
/* .h2 est sans marge par défaut : chaque section fixe son propre espacement. */
.apropos__grid .h2 { margin-bottom: 28px; }
.apropos p:not(.eyebrow) { font-size: 15.5px; line-height: 1.85; color: var(--text-2); margin: 0 0 18px; max-width: 620px; text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chip {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  background: #FFFFFF; border: 1px solid var(--rule);
  padding: 7px 14px; border-radius: var(--r-xs);
}
.apropos figure { margin: 0; }
.apropos figure img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); }
.apropos figcaption { border-top: 1px solid var(--rule); padding-top: 16px; }
.apropos figcaption b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 3px; }
.apropos figcaption span { display: block; font-size: 13px; color: var(--text-3); }

/* ---------- Formations ---------- */
.formations { border-bottom: 1px solid var(--rule); }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
/* Le chapeau des formations suit la grille des encadrés plutôt que deux moitiés
   égales : le paragraphe démarre donc au même endroit que « Au programme »,
   soit padding de l'encadré + première colonne + gouttière. La gouttière du
   chapeau est retranchée de la première piste pour ne pas décaler le total. */
.formations .split-head {
  --card-pad: 52px;
  --card-gap: 56px;
  --head-gap: 40px;
  grid-template-columns:
    calc(var(--card-pad) + (100% - 2 * var(--card-pad) - var(--card-gap)) / 2.15
         + var(--card-gap) - var(--head-gap))
    1fr;
  gap: var(--head-gap);
}
.cards-stack { display: flex; flex-direction: column; gap: 28px; }
.formation {
  border-radius: var(--r-xl); padding: 52px;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start;
}
.formation--light { border: 1px solid var(--rule); background: #FFFFFF; }
/* Le badge est enveloppé dans un <p> : sans cette remise à zéro, sa marge haute
   par défaut décollerait la colonne de gauche du haut de l'encadré. */
.formation > div > :first-child { margin-top: 0; }
.badge {
  display: inline-block;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18); border-radius: var(--r-xs);
  padding: 6px 11px; margin-bottom: 22px;
}
.badge--dark { color: var(--blue-pale); background: rgba(37, 99, 235, 0.18); border-color: rgba(37, 99, 235, 0.35); }
.formation__pitch { font-size: 16.5px; line-height: 1.75; color: var(--text-2); margin: 0 0 32px; text-wrap: pretty; }
.dark .formation__pitch { color: var(--on-dark-2); }
.specs { margin: 0; }
.specs__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--rule); padding: 13px 0;
}
.dark .specs__row { border-top-color: rgba(255, 255, 255, 0.12); }
.specs__row dt { font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-3); }
.dark .specs__row dt { color: rgba(255, 255, 255, 0.55); }
.specs__row dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); text-align: right; }
.dark .specs__row dd { color: #FFFFFF; }
.formation .btn { margin-top: 32px; }
.cta-note { font-size: 13px; color: var(--text-3); margin: 12px 0 0; }
.dark .cta-note { color: rgba(255, 255, 255, 0.55); }

.tools { display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 12px; }
.tools figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tools img { width: 34px; height: 34px; object-fit: contain; }
.tools img.invert { filter: brightness(0) invert(1); }
.tools figcaption { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.72); }

.program { list-style: none; margin: 0; padding: 0; }
.program__label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.dark .program__label { color: rgba(255, 255, 255, 0.55); }
.program li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: baseline;
  border-top: 1px solid var(--rule); padding: 15px 0;
}
.dark .program li { border-top-color: rgba(255, 255, 255, 0.12); }
.program__n { font-family: 'Spectral', Georgia, serif; font-style: italic; font-weight: 300; font-size: 19px; color: var(--blue); }
.dark .program__n { color: var(--blue-light); }
.program span:last-child { font-size: 16px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.dark .program span:last-child { color: var(--on-dark-1); }

/* ---------- Automatisations ---------- */
.autos__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.auto-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px; padding: 32px 36px;
}
.tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 4px; padding: 4px 9px; margin-bottom: 12px;
}
.tag--blue { color: var(--blue-light); background: rgba(37, 99, 235, 0.12); border: 1px solid rgba(37, 99, 235, 0.2); }
.tag--amber { color: var(--amber-light); background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.22); }
.tag--violet { color: var(--violet-light); background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.22); }
.tag--green { color: var(--green-light); background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.22); }
.auto-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: #FFFFFF; margin: 0 0 6px; }
.auto-card > p { font-size: 14.5px; line-height: 1.7; color: var(--on-dark-2); margin: 0 0 24px; text-wrap: pretty; }
.flow { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.flow li { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.flow__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(37, 99, 235, 0.1); border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex; align-items: center; justify-content: center; color: var(--blue-light);
}
.flow__step { font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--on-dark-1); text-align: center; max-width: 88px; }
.flow__arrow { font-size: 18px; color: rgba(255, 255, 255, 0.35); flex-shrink: 0; padding-top: 16px; }

/* Index des automatisations : bloc masqué dans index.html. Les règles .index*
   et les modificateurs .acc-btn__n/__label/__count ne servent que lui ; .acc-btn
   et .acc-panel, eux, restent utilisés par la FAQ. */
.index { margin-top: 56px; border-top: 1px solid var(--rule-dark); }
.index__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px 0 8px; }
.index__head h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; color: #FFFFFF; margin: 0; }
.index__cat { border-bottom: 1px solid var(--rule-dark); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: inherit; padding: 20px 2px; min-height: 44px; color: inherit;
}
.acc-btn__title { display: flex; align-items: baseline; gap: 16px; }
.acc-btn__n { font-family: 'Spectral', Georgia, serif; font-style: italic; font-weight: 300; font-size: 19px; color: var(--blue-light); }
.acc-btn__label { font-size: 16px; font-weight: 600; line-height: 1.45; color: #FFFFFF; }
.acc-btn__meta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.acc-btn__count { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.acc-btn__sign { font-size: 20px; color: rgba(255, 255, 255, 0.6); width: 20px; text-align: center; line-height: 1; }
/* Garde-fou : l'attribut `hidden` suffit tant qu'aucune règle ne fixe un
   `display` sur .acc-panel. Cette ligne garantit que le panneau reste replié
   même si une telle règle apparaissait un jour. */
.acc-panel[hidden] { display: none; }
.index__items {
  list-style: none; margin: 0; padding: 0 0 24px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px;
}
.index__items li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.index__items b { display: block; font-size: 15px; font-weight: 700; color: #FFFFFF; margin-bottom: 4px; }
.index__items span.n { font-size: 13px; font-weight: 700; color: var(--blue-light); padding-top: 2px; }
.index__items p { font-size: 14px; line-height: 1.65; color: var(--on-dark-2); margin: 0; text-wrap: pretty; }

.band {
  margin-top: 56px; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.band p { font-size: 15px; color: var(--on-dark-2); margin: 0; }

/* ---------- Gouvernance ---------- */
.gouv { border-top: 1px solid var(--rule); }
.gouv__head { max-width: 640px; margin-bottom: 64px; }
.gouv__head .h2 { margin-bottom: 14px; }
.gouv__sub { margin-bottom: 24px; }
.gouv__sub .lead { max-width: 640px; }
.gouv__sub h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 10px; }
.risks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 72px; }
.risk { border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 32px 30px; display: flex; flex-direction: column; gap: 16px; }
.risk__icon { width: 44px; height: 44px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
/* Une couleur par nature de risque. `color` est repris par le trait des SVG,
   qui sont dessinés en `currentColor`, et le fond en reprend 10 %. */
.risk__icon--red { color: var(--red); background: rgba(239, 68, 68, 0.10); }
.risk__icon--amber { color: var(--amber); background: rgba(245, 158, 11, 0.10); }
.risk__icon--violet { color: var(--violet); background: rgba(139, 92, 246, 0.10); }
.risk__icon--blue { color: var(--blue); background: rgba(37, 99, 235, 0.10); }
.risk h4 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.02em; }
.risk p { font-size: 15px; line-height: 1.75; color: var(--text-2); margin: 0; text-wrap: pretty; }

.approach { border-radius: 16px; padding: 56px 52px; margin-bottom: 48px; }
.approach__head { max-width: 620px; margin-bottom: 48px; }
.approach__head h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; color: #FFFFFF; margin: 0; }
/* Ce titre n'est pas un .h2 : sa règle d'accent est donc à part. */
.approach__head h3 .spec { color: var(--blue-light); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px;
  padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none; margin: 0;
}
.steps li { display: flex; flex-direction: column; gap: 12px; }
.steps__n { font-family: 'Spectral', Georgia, serif; font-style: italic; font-weight: 300; font-size: 38px; line-height: 1; color: var(--blue-light); }
.steps b { font-size: 16.5px; font-weight: 700; color: #FFFFFF; letter-spacing: -0.02em; line-height: 1.35; text-wrap: pretty; }
.steps span:last-child { font-size: 14.5px; line-height: 1.7; color: var(--on-dark-2); text-wrap: pretty; }
.approach__foot {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px; line-height: 1.75; color: var(--on-dark-2); max-width: 820px; text-wrap: pretty;
}
.approach__foot strong { color: var(--blue-pale); font-weight: 700; }
.approach__foot a { color: var(--blue-pale); font-weight: 600; }
.approach__foot a:hover { color: #FFFFFF; }

.cta-box {
  border: 1px solid var(--rule); border-radius: 12px; padding: 32px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-box h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 6px; }
.cta-box p { font-size: 14.5px; line-height: 1.7; color: var(--text-2); margin: 0; max-width: 520px; text-wrap: pretty; }
/* Plus spécifique que « .cta-box p », qui remet la marge à zéro. */
.cta-box p.cta-box__meta { margin-top: 10px; font-size: 14px; color: var(--text-3); }
.cta-box__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { background: var(--surface-alt); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: start; }
.faq__list { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
/* Chaque question est un <h3> pour la structure du document ; sa marge par
   défaut n'a pas lieu d'être, le bouton qu'il contient porte le rythme. */
.faq__item h3 { margin: 0; }
/* Sur le fond gris de la section, le survol s'éclaircit au lieu de s'assombrir. */
.faq__item .acc-btn:hover { background: #FFFFFF; }
.faq__q { font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.faq__item .acc-btn[aria-expanded="true"] .faq__q { color: var(--blue); }
.faq__sign { font-size: 20px; color: var(--text-3); width: 20px; text-align: center; line-height: 1; flex-shrink: 0; }
.faq__a { font-size: 15px; line-height: 1.8; color: var(--text-2); margin: 0; padding: 0 2px 24px; max-width: 760px; text-wrap: pretty; }
.faq__updated { font-size: 13px; color: var(--text-3); margin: 24px 0 0; }

/* ---------- Contact ---------- */
/* Pas de filet haut : celui du bas de la FAQ fait déjà la séparation. */
.contact__head { max-width: 560px; margin: 0 0 56px; }
.contact__head .h2 { margin-bottom: 18px; }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 88px; align-items: start;
  border-top: 1px solid var(--rule); padding-top: 44px;
}
/* Sans cela, la largeur intrinsèque du textarea élargit la piste de grille
   au-delà du conteneur et provoque un débordement horizontal sur mobile. */
.contact__grid > * { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; max-width: 100%; }
.channels { display: flex; flex-direction: column; gap: 0; }
.channel {
  display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--ink);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
}
a.channel:hover { color: var(--blue); }
.channel__icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  /* Repris par le trait des SVG, dessinés en currentColor. Sans cette ligne
     ils hériteraient de l'encre du libellé voisin. */
  color: var(--blue);
}
.channels__note { font-size: 14px; line-height: 1.7; color: var(--text-3); margin: 24px 0 0; }

/* Le formulaire est une colonne flex : sans cette exception, le bouton
   s'étirerait sur toute la largeur au lieu de garder sa taille propre. */
.form { display: flex; flex-direction: column; gap: 26px; }
.form .btn { align-self: flex-start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: none; border: none; border-bottom: 1px solid var(--rule-strong);
  padding: 10px 0; outline: none; min-height: 44px;
}
.field textarea { resize: vertical; }
.field select { appearance: none; color-scheme: light; }
.field input::placeholder, .field textarea::placeholder { color: #94A3B8; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--blue); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: var(--red); }
.field__error { font-size: 13px; color: #B91C1C; min-height: 0; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form__legal { font-size: 13px; line-height: 1.7; color: var(--text-3); margin: 0; max-width: 520px; }
.form__legal a { color: var(--blue); }
.form__status { font-size: 14.5px; font-weight: 600; color: #047857; margin: 0; }
.form__status:empty { display: none; }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--rule-dark); }
/* Logo réduit par rapport à celui de la barre de navigation. */
.footer__brand .logo__mark { width: 26px; height: 26px; border-radius: 6px; }
.footer__brand .logo__word { font-size: 15px; }
.footer__inner { padding-block: 40px 32px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__nap { font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.6); margin: 0; font-style: normal; }
.footer__nap a { color: rgba(255, 255, 255, 0.6); }
.footer__nap a:hover { color: #FFFFFF; }
.footer__col h2 { font-size: 11.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin: 0 0 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
/* Cible tactile confortable au pouce sans écarter visuellement les liens. */
.footer__col a { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); display: inline-flex; align-items: center; min-height: 34px; }
.footer__col a:hover { color: #FFFFFF; }
.footer__base {
  border-top: 1px solid var(--rule-dark); padding-block: 20px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, 0.5);
}
/* Le bleu par défaut manque de contraste sur le fond marine. */
.footer__base a { color: var(--blue-pale); }
.footer__base a:hover { color: #FFFFFF; }

/* ---------- 6. Paliers responsive ----------
   1024 px : la navigation passe au hamburger et toutes les grilles à deux
   colonnes se replient. 768 px : gouttières et rembourrages resserrés pour le
   téléphone. 400 px : dernier ajustement pour les petits écrans.
   Attention, `max-width: 768px` inclut 768 : un iPad 10.2" en portrait reçoit
   donc la mise en page téléphone. */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .section, .section--tight { padding: 80px 0; }
  .nav__links { display: none; }
  .burger { display: flex; }
  .nav__panel.is-open {
    display: block; position: fixed; inset: 64px 0 0; background: var(--navy);
    padding: 24px var(--gutter) 40px; overflow-y: auto; z-index: 49;
  }
  .nav__panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
  .nav__panel a {
    display: flex; align-items: center; min-height: 56px;
    font-size: 18px; font-weight: 600; color: #FFFFFF;
    border-bottom: 1px solid var(--rule-dark);
  }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; padding-block: 72px 64px; }
  .hero__sub { max-width: 620px; }
  .constat__grid { grid-template-columns: 1fr; gap: 32px; }
  .methode__head { grid-template-columns: 1fr; gap: 24px; }
  .methode__head > div { grid-column: auto; }
  .methode__row { grid-template-columns: 40px 1fr; }
  .methode__row p { grid-column: 2; }
  .apropos__grid { grid-template-columns: 1fr; gap: 48px; }
  .apropos figure { max-width: 460px; }
  /* Sélecteur aussi spécifique que « .formations .split-head », sinon la grille
     calquée sur les encadrés survivrait au passage en colonne unique. */
  .split-head, .formations .split-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .formation { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .autos__grid { grid-template-columns: 1fr; }
  .index__items { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .section, .section--tight { padding: 64px 0; }
  .hero__facts { grid-template-columns: 1fr; gap: 18px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .demo__bar { flex-direction: column; align-items: stretch; gap: 12px; }
  .demo__tabs { justify-content: stretch; }
  .demo__tab { flex: 1; min-height: 44px; }
  .proof__logos { grid-template-columns: 1fr 1fr; gap: 20px; }
  .numbered { grid-template-columns: 1fr; gap: 12px; }
  .numbered__n { font-size: 34px; }
  .quote { padding: 28px 20px; }
  .methode__row { grid-template-columns: 1fr; gap: 10px; }
  .methode__row p { grid-column: auto; }
  .formation { padding: 28px 22px; }
  .risks { grid-template-columns: 1fr; margin-bottom: 48px; }
  .approach { padding: 32px 24px; }
  .steps { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .approach__head { margin-bottom: 32px; }
  .cta-box { padding: 24px; }
  .cta-box__actions { width: 100%; }
  .cta-box__actions .btn { flex: 1; justify-content: center; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  /* Chaînes d'automatisation : vertical, flèches tournées */
  .flow { flex-direction: column; align-items: flex-start; gap: 6px; }
  .flow li { flex-direction: row; align-items: center; gap: 14px; }
  .flow__step { text-align: left; max-width: none; }
  /* Même largeur que .flow__icon : la flèche tombe ainsi pile sous le centre
     des pastilles, ce qu'un simple retrait à gauche ne garantissait pas. */
  .flow__arrow { width: 52px; padding: 0; justify-content: center; transform: rotate(90deg); }
}

@media (max-width: 400px) {
  .proof__logos { grid-template-columns: 1fr; }
}

@media print {
  .nav, .burger, .nav__panel { display: none; }
  body { color: #000; }
}

/* ---------- 7. Pages de texte : mentions légales, confidentialité ---------- */
/* Titre de page. Le <h1> porte la classe .h2 pour l'apparence : il en reçoit
   déjà `color: var(--ink)`, seul l'espacement reste à définir ici. */
.legal__title { margin-bottom: 24px; }
.legal { max-width: 720px; }
.legal__updated {
  font-size: 13px; color: var(--text-3); margin: 0 0 56px;
  padding-bottom: 20px; border-bottom: 1px solid var(--rule);
}
.legal h2 {
  font-size: 21px; font-weight: 700; letter-spacing: -0.025em;
  color: var(--ink); margin: 48px 0 16px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-size: 15.5px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--ink); margin: 28px 0 10px;
}
.legal p, .legal li {
  font-size: 15.5px; line-height: 1.85; color: var(--text-2);
  text-wrap: pretty;
}
.legal p { margin: 0 0 18px; }
.legal ul { margin: 0 0 18px; padding-left: 22px; }
.legal li { margin-bottom: 9px; }
.legal li::marker { color: var(--rule-strong); }
.legal dl {
  margin: 0 0 18px; border-top: 1px solid var(--rule);
}
.legal dl > div {
  display: grid; grid-template-columns: 190px 1fr; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.legal dt { font-size: 13px; font-weight: 600; color: var(--text-3); letter-spacing: 0.02em; }
.legal dd { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text-2); }
.legal a { border-bottom: 1px solid var(--rule-strong); }
.legal a:hover { border-bottom-color: var(--blue); }
@media (max-width: 768px) {
  .legal dl > div { grid-template-columns: 1fr; gap: 4px; }
}
