/* =========================================================================
   Forma Pro Solutions — feuille de style unique
   Direction artistique : bleu marine / gris, sobre et institutionnel.
   Approche mobile-first : les media queries élargissent la mise en page.
   ========================================================================= */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  --navy-900: #071a2c;
  --navy-800: #0a2237;
  --navy-700: #0d2740;
  --navy-600: #12385c;
  --navy-500: #1c4d78;
  --blue-500: #2f6f9f;
  --blue-400: #4a90c2;
  --blue-100: #e4eef6;
  --blue-050: #f2f7fb;

  --text: #17222e;
  --text-muted: #55606d;
  --text-invert: #f3f7fb;
  --text-invert-muted: #b3c4d4;

  --surface: #ffffff;
  --surface-alt: #f4f7fa;
  --surface-sunken: #eef2f7;
  --border: #dde4ec;
  --border-strong: #c7d2de;

  --focus: #1c6fbb;
  --success-bg: #e8f3ec;
  --success-text: #1c5c34;
  --error-bg: #fdeceb;
  --error-text: #a3231b;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(10, 34, 55, 0.06), 0 1px 3px rgba(10, 34, 55, 0.05);
  --shadow: 0 4px 16px rgba(10, 34, 55, 0.07), 0 1px 3px rgba(10, 34, 55, 0.05);
  --shadow-lg: 0 18px 44px rgba(7, 26, 44, 0.14);

  --container: 1160px;
  --gutter: 1.25rem;
  --section-y: 3.5rem;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.16vw, 1.08rem);
  --step-1: clamp(1.14rem, 1.08rem + 0.3vw, 1.3rem);
  --step-2: clamp(1.32rem, 1.2rem + 0.55vw, 1.65rem);
  --step-3: clamp(1.55rem, 1.34rem + 0.95vw, 2.1rem);
  --step-4: clamp(1.85rem, 1.5rem + 1.6vw, 2.75rem);
  --step-5: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
}

@media (min-width: 62rem) {
  :root {
    --gutter: 2rem;
    --section-y: 5.5rem;
  }
}

/* --- 2. Base ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--navy-800);
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--blue-500);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy-600);
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --- 3. Utilitaires ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  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: 0.5rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--navy-700);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0.5rem;
  color: #fff;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
}

.icon--sm {
  width: 1.1rem;
  height: 1.1rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-500);
}

.eyebrow--light {
  color: var(--blue-400);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.link-arrow .icon {
  transition: transform 0.18s ease;
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* --- 4. Boutons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease,
    transform 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--navy-700);
  color: #fff;
  border-color: var(--navy-700);
}

.btn--primary:hover {
  background: var(--navy-600);
  border-color: var(--navy-600);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  background: var(--blue-050);
  border-color: var(--blue-500);
  color: var(--navy-700);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: var(--step--1);
}

.btn--block {
  width: 100%;
}

/* --- 5. En-tête et navigation ------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy-800);
  padding: 0.35rem 0;
}

.brand__mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
}

.brand__mark-bg {
  fill: var(--navy-700);
}

.brand__mark-line {
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.brand__mark-line--2 {
  stroke: #a9cbe4;
}

.brand__mark-line--3 {
  stroke: #6ea6cf;
}

.brand__mark-dot {
  fill: var(--blue-400);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand__name strong {
  font-weight: 750;
}

.brand__tagline {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--navy-700);
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 1rem;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.site-nav {
  display: none;
  width: 100%;
}

.site-nav.is-open {
  display: block;
  padding-bottom: 1rem;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-nav__link {
  display: block;
  padding: 0.65rem 0.25rem;
  color: var(--navy-800);
  font-weight: 550;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.site-nav__link.is-current {
  color: var(--blue-500);
}

.site-nav__cta {
  margin-top: 0.75rem;
}

.site-nav__cta .btn {
  width: 100%;
}

@media (min-width: 62rem) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    width: auto;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
  }

  .site-nav__link {
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    font-size: 0.95rem;
  }

  .site-nav__link:hover {
    border-bottom-color: var(--border-strong);
  }

  .site-nav__link.is-current {
    border-bottom-color: var(--blue-500);
  }

  .site-nav__cta {
    margin-top: 0;
  }

  .site-nav__cta .btn {
    width: auto;
  }
}

/* --- 6. Fil d'Ariane ---------------------------------------------------- */
.breadcrumb {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  font-size: var(--step--1);
}

.breadcrumb__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0.7rem 0;
  color: var(--text-muted);
}

.breadcrumb__list li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--border-strong);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--blue-500);
  text-decoration: underline;
}

/* --- 7. Sections -------------------------------------------------------- */
.section {
  padding-block: var(--section-y);
}

.section--alt {
  background: var(--surface-alt);
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 46rem;
  margin-bottom: 2.25rem;
}

.section__title {
  font-size: var(--step-3);
  margin-bottom: 0.4rem;
}

.section__lead {
  color: var(--text-muted);
  font-size: var(--step-1);
  margin: 0;
}

/* --- 8. Hero (accueil) -------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-800);
  color: var(--text-invert);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__inner {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.25rem 3.5rem;
}

.hero__title {
  color: #fff;
  font-size: var(--step-5);
  margin-bottom: 0.7rem;
}

.hero__lead {
  color: var(--text-invert-muted);
  font-size: var(--step-1);
  max-width: 34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__actions .btn--primary {
  background: #fff;
  color: var(--navy-800);
  border-color: #fff;
}

.hero__actions .btn--primary:hover {
  background: var(--blue-100);
  border-color: var(--blue-100);
  color: var(--navy-800);
}

.hero__facts {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  font-size: var(--step--1);
  color: var(--text-invert-muted);
}

.hero__facts li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__facts .icon {
  color: var(--blue-400);
}

.hero__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  backdrop-filter: blur(4px);
}

.hero__card-eyebrow {
  margin: 0 0 0.5rem;
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-400);
}

.hero__card-title {
  margin: 0 0 1.25rem;
  font-size: var(--step-1);
  font-weight: 650;
  color: #fff;
  line-height: 1.35;
}

.hero__card-list {
  margin: 0 0 1.35rem;
  display: grid;
  gap: 0.85rem;
}

.hero__card-list > div {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__card-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero__card-list dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-invert-muted);
}

.hero__card-list dd {
  margin: 0;
  font-weight: 600;
  color: #fff;
}

.hero__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
}

.hero__card-link:hover {
  color: var(--blue-100);
}

/* Bandeau Qualiopi du hero — exigence du cahier des charges : le logo officiel
   apparaît en haut de la page d'accueil, accompagné de la mention de catégorie. */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.15rem;
  margin-bottom: 1.75rem;
}

/* Sélecteur doublé : la règle de base .qualiopi-logo est déclarée plus bas dans
   la feuille et l'emporterait sinon sur ce réglage. */
.qualiopi-logo.qualiopi-logo--hero {
  width: 128px;
  flex: none;
  padding: 0.45rem 0.6rem;
}

.hero__trust-text {
  margin: 0;
  max-width: 34ch;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-invert-muted);
}

.hero__trust-text strong {
  color: #fff;
  font-weight: 650;
}

@media (min-width: 62rem) {
  .hero__inner {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 3.5rem;
    padding-block: 5.5rem 5rem;
  }

  .hero__trust {
    padding-block: 1.75rem 2.5rem;
  }
}

/* --- 9. En-tête de page intérieure -------------------------------------- */
.page-hero {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-700) 100%);
  color: var(--text-invert);
  padding-block: 2.75rem 3rem;
}

.page-hero__title {
  color: #fff;
  font-size: var(--step-4);
  max-width: 22em;
  margin-bottom: 0.6rem;
}

.page-hero__lead {
  color: var(--text-invert-muted);
  font-size: var(--step-1);
  max-width: 44em;
  margin: 0;
}

.page-hero__meta {
  list-style: none;
  margin: 1.85rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  font-size: var(--step--1);
  color: var(--text-invert-muted);
}

.page-hero__meta li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-hero__meta .icon {
  color: var(--blue-400);
}

@media (min-width: 62rem) {
  .page-hero {
    padding-block: 4rem 4.5rem;
  }
}

/* --- 10. Bloc d'introduction -------------------------------------------- */
.section--intro {
  padding-block: 3rem;
}

.intro {
  max-width: 52rem;
}

.intro__title {
  font-size: var(--step-2);
}

.intro__text {
  color: var(--text-muted);
  font-size: var(--step-1);
  margin: 0;
}

/* --- 11. Cartes --------------------------------------------------------- */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 40rem) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 62rem) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.section--alt .card {
  background: var(--surface);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--blue-050);
  color: var(--blue-500);
  margin-bottom: 1rem;
}

.card__title {
  font-size: var(--step-1);
  margin-bottom: 0.35rem;
}

.card__text {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.97rem;
}

/* --- 12. Bloc « formation phare » --------------------------------------- */
.section--feature {
  background: var(--surface-alt);
  border-block: 1px solid var(--border);
}

.feature {
  display: grid;
  gap: 2.5rem;
}

.feature__title {
  font-size: var(--step-3);
}

.feature__text {
  color: var(--text-muted);
  max-width: 40em;
}

.feature__list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.feature__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.feature__list .icon {
  color: var(--blue-500);
  margin-top: 0.25rem;
}

.feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.modules-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.modules-preview__title {
  margin: 0 0 1rem;
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.modules-preview__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.modules-preview__list li {
  display: grid;
  grid-template-columns: 1.75rem 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.modules-preview__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.modules-preview__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--navy-700);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 650;
}

.modules-preview__duration {
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (min-width: 62rem) {
  .feature {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: start;
  }
}

/* --- 13. Bandeau de conformité (Qualiopi + NDA) ------------------------- */
.section--compliance {
  padding-block: 2.75rem;
}

.compliance {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.compliance__logo {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
}

.compliance__mention {
  margin: 0;
  max-width: 22rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

/* Logo officiel : couleurs et proportions non modifiables. Le fond blanc garantit
   la lisibilité du bleu marine et du rouge sur les fonds sombres. */
.qualiopi-logo {
  width: 190px;
  height: auto;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
}

.compliance__title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--navy-800);
  font-size: var(--step-1);
}

.compliance__line {
  margin: 0 0 0.3rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.compliance__line--nda {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--text);
}

@media (min-width: 48rem) {
  .compliance {
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 2rem 2.25rem;
  }
}

/* --- 14. Formateur ------------------------------------------------------ */
.trainer {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.trainer__visual svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.trainer__title {
  font-size: var(--step-3);
  margin-bottom: 0.3rem;
}

.trainer__role {
  color: var(--blue-500);
  font-weight: 600;
  margin-bottom: 1rem;
}

.trainer__text {
  color: var(--text-muted);
  max-width: 46em;
}

.trainer__body .link-arrow {
  margin-top: 0.75rem;
}

@media (min-width: 48rem) {
  .trainer {
    grid-template-columns: 280px 1fr;
    gap: 3rem;
  }
}

@media (min-width: 62rem) {
  .trainer--profile {
    grid-template-columns: 320px 1fr;
  }
}

/* --- 15. Bandeau contact ------------------------------------------------ */
.contact-band {
  background: var(--navy-700);
  color: var(--text-invert);
  padding-block: 2.75rem;
}

.contact-band__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.contact-band__title {
  color: #fff;
  font-size: var(--step-2);
  margin-bottom: 0.35rem;
}

.contact-band__text {
  color: var(--text-invert-muted);
  margin: 0;
  max-width: 46em;
}

.contact-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-band__actions .btn--primary {
  background: #fff;
  color: var(--navy-800);
  border-color: #fff;
}

.contact-band__actions .btn--primary:hover {
  background: var(--blue-100);
  border-color: var(--blue-100);
}

.contact-band__actions .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.contact-band__actions .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

@media (min-width: 56rem) {
  .contact-band__inner {
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
  }
}

/* --- 16. Tableaux ------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.data-table {
  font-size: 0.97rem;
}

.data-table th,
.data-table td {
  padding: 0.95rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table th {
  width: 34%;
  min-width: 11rem;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--surface-alt);
}

.data-table th .icon {
  color: var(--blue-500);
  vertical-align: -0.2em;
  margin-right: 0.5rem;
}

.data-table__note {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.87rem;
}

/* Sur petit écran, l'intitulé passe au-dessus de la valeur : plus lisible qu'un
   tableau à deux colonnes compressées. */
@media (max-width: 39.99rem) {
  .table-wrap {
    overflow-x: visible;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    border-bottom: 1px solid var(--border);
  }

  .data-table tr:last-child {
    border-bottom: 0;
  }

  .data-table th {
    min-width: 0;
    border-bottom: 0;
    padding-bottom: 0.35rem;
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .data-table td {
    padding-top: 0;
    border-bottom: 0;
  }
}

/* --- 17. Formation : blocs spécifiques ---------------------------------- */
.included {
  margin-top: 1.75rem;
  padding: 1.5rem;
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
}

.included__title {
  font-size: var(--step-1);
  margin-bottom: 0.75rem;
}

.included__list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.included__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.included__list .icon {
  color: var(--blue-500);
  margin-top: 0.25rem;
}

.included__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.certif-links {
  margin-top: 1.5rem;
}

.certif-links__note {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.split {
  display: grid;
  gap: 2rem;
}

.split__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step-1);
}

.split__title .icon {
  color: var(--blue-500);
}

.split__col p {
  color: var(--text-muted);
}

.split__col .btn,
.split__col .link-arrow {
  margin-top: 0.5rem;
}

@media (min-width: 48rem) {
  .split {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
  }
}

.split--top {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.positioning {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.positioning p {
  color: var(--text-muted);
}

.check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-muted);
}

.check-list .icon {
  color: var(--blue-500);
  margin-top: 0.28rem;
}

@media (min-width: 48rem) {
  .check-list--cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem 2.5rem;
  }
}

.competences {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.competences__title {
  font-size: var(--step-2);
  margin-bottom: 0.3rem;
}

.competences__lead {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.objectives {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: objective;
}

@media (min-width: 56rem) {
  .objectives {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.objective {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue-500);
  border-radius: var(--radius);
}

.objective__num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-500);
  font-variant-numeric: tabular-nums;
}

.objective__text {
  margin: 0;
  font-size: 0.97rem;
}

.modules {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .modules {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 68rem) {
  .modules {
    grid-template-columns: repeat(3, 1fr);
  }
}

.module {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.module__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.module__num {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500);
}

.module__duration {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.module__title {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 600;
}

.module__slot {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--blue-500);
  font-weight: 600;
}

.module__objectives {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.modules__note {
  margin: -0.75rem 0 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.download {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--navy-700);
  color: var(--text-invert);
  border-radius: var(--radius);
}

.download__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.download__title {
  margin: 0 0 0.25rem;
  font-weight: 650;
  color: #fff;
}

.download__text {
  margin: 0;
  color: var(--text-invert-muted);
  font-size: 0.94rem;
}

.download .btn--primary {
  background: #fff;
  color: var(--navy-800);
  border-color: #fff;
  white-space: nowrap;
}

.download .btn--primary:hover {
  background: var(--blue-100);
  border-color: var(--blue-100);
}

@media (min-width: 56rem) {
  .download {
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
  }
}

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 56rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--navy-700);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.step__title {
  font-size: var(--step-1);
  margin-bottom: 0.3rem;
}

.step__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- 18. Encadré d'information ------------------------------------------ */
.note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  background: var(--surface-sunken);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.94rem;
}

.note__icon {
  color: var(--blue-500);
  display: inline-flex;
}

.note__title {
  margin: 0 0 0.25rem;
  font-weight: 650;
  color: var(--navy-800);
}

.note__body p {
  margin: 0;
  color: var(--text-muted);
}

/* --- 19. Contenu rédactionnel (pages légales) --------------------------- */
.prose {
  max-width: 46rem;
}

.prose--narrow {
  max-width: 44rem;
}

.prose h2 {
  font-size: var(--step-2);
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose__intro {
  font-size: var(--step-1);
  color: var(--text) !important;
  margin-bottom: 2rem;
}

.prose ul {
  padding-left: 1.1rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose li::marker {
  color: var(--blue-500);
}

/* --- 20. Contact -------------------------------------------------------- */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 62rem) {
  .contact-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.contact-layout__title {
  font-size: var(--step-2);
}

.form {
  display: grid;
  gap: 1.15rem;
}

.form__intro {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form__row {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 40rem) {
  .form__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field__label {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy-800);
}

.field__input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field__input:hover {
  border-color: var(--blue-400);
}

.field__input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(47, 111, 159, 0.18);
}

.field__input--textarea {
  resize: vertical;
  min-height: 9rem;
}

.field__input[aria-invalid="true"] {
  border-color: var(--error-text);
}

.field--check {
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  margin-top: 0.25rem;
}

.field__check {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--navy-700);
}

.field__check-label {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.field--check .field__error {
  grid-column: 1 / -1;
}

.field__error {
  margin: 0;
  font-size: 0.87rem;
  color: var(--error-text);
  font-weight: 550;
}

.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  margin: 0;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.form__status--success {
  background: var(--success-bg);
  color: var(--success-text);
}

.form__status--error {
  background: var(--error-bg);
  color: var(--error-text);
}

.form__legal {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.contact-card--aside {
  background: var(--surface-alt);
}

.contact-card--muted {
  background: var(--surface-alt);
  color: var(--text-muted);
}

.contact-card + .contact-card {
  margin-top: 1.25rem;
}

.contact-card__title {
  font-size: var(--step-1);
  margin: 0;
}

.contact-card__name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: var(--step-1);
  font-weight: 650;
  color: var(--navy-800);
}

.contact-card__name .icon {
  color: var(--blue-500);
}

.contact-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  width: 100%;
}

.contact-card__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}

.contact-card__list .icon {
  color: var(--blue-500);
  margin-top: 0.2rem;
}

.contact-card__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- 21. Pages de confirmation / 404 ------------------------------------ */
.confirmation {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  padding-block: 1rem 2rem;
}

.confirmation__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success-text);
  margin-bottom: 1.25rem;
}

.confirmation__code {
  margin: 0 0 0.5rem;
  font-size: var(--step-5);
  font-weight: 750;
  color: var(--blue-400);
  line-height: 1;
}

.confirmation__title {
  font-size: var(--step-3);
}

.confirmation__text {
  color: var(--text-muted);
  font-size: var(--step-1);
}

.confirmation__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* --- 22. Pied de page --------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: var(--text-invert-muted);
  padding-block: 3rem 1.75rem;
  font-size: 0.94rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 68rem) {
  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 3rem;
  }
}

.brand--footer {
  color: #fff;
  margin-bottom: 1rem;
}

.brand--footer .brand__mark-bg {
  fill: #fff;
}

.brand--footer .brand__mark-line {
  stroke: var(--navy-900);
}

.brand--footer .brand__mark-line--2 {
  stroke: var(--navy-600);
}

.brand--footer .brand__mark-line--3 {
  stroke: var(--blue-500);
}

.brand--footer .brand__tagline {
  color: var(--text-invert-muted);
}

.site-footer__about {
  margin-bottom: 1.5rem;
  max-width: 32em;
}

.site-footer__qualiopi {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.qualiopi-logo--footer {
  width: 160px;
}

.site-footer__qualiopi-text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
}

.site-footer__title {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.site-footer__list a {
  color: var(--text-invert-muted);
  text-decoration: none;
}

.site-footer__list a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__list--contact li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
}

.site-footer__list--contact .icon {
  color: var(--blue-400);
  margin-top: 0.2rem;
}

.site-footer__label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8ba5bd;
}

.site-footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.site-footer__nda {
  margin: 0;
  color: #cbd9e6;
}

.site-footer__copyright {
  margin: 0;
  color: #8ba5bd;
}

@media (min-width: 56rem) {
  .site-footer__legal {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* --- 23. Bandeau de consentement aux cookies ---------------------------- */
.consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 80;
  background: var(--surface);
  border-top: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.consent[hidden] {
  display: none;
}

.consent__inner {
  display: grid;
  gap: 1.1rem;
  padding-block: 1.25rem;
}

.consent__title {
  margin: 0 0 0.3rem;
  font-weight: 650;
  color: var(--navy-800);
}

.consent__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 68ch;
}

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.consent__actions .btn {
  flex: 1 1 auto;
}

.consent__prefs {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.consent__prefs[hidden] {
  display: none;
}

.consent__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.8rem;
}

.consent__option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}

.consent__option input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--navy-700);
}

.consent__option-title {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-800);
}

.consent__option-text {
  display: block;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.site-footer__link-button {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: var(--text-invert-muted);
  text-align: left;
  cursor: pointer;
}

.site-footer__link-button:hover {
  color: #fff;
  text-decoration: underline;
}

.section__footnote {
  margin: 1.75rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

@media (min-width: 56rem) {
  .consent__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 2rem;
    padding-block: 1.5rem;
  }

  .consent__actions {
    flex-wrap: nowrap;
  }

  .consent__actions .btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .consent__fieldset {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* --- 24. Impression ----------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .contact-band,
  .breadcrumb,
  .skip-link,
  .consent {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 11pt;
  }

  .page-hero,
  .hero {
    background: none !important;
    color: #000;
  }

  .page-hero__title,
  .hero__title {
    color: #000;
  }
}
