/* ==========================================================================
   INTELLIBAT — Feuille de style principale
   Site statique, aucune dépendance externe (conformité RGPD : pas de CDN,
   pas de Google Fonts, aucun appel tiers).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons de design
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs */
  --ink:        #0B1D2A;
  --ink-2:      #123449;
  --ink-3:      #1D4C67;
  --solar:      #F2A03D;
  --solar-deep: #C97914;
  --solar-soft: #FDF3E5;
  --teal:       #12736E;
  --teal-soft:  #E8F4F3;
  --paper:      #FFFFFF;
  --paper-2:    #F6F8F9;
  --paper-3:    #EDF1F3;
  --line:       #DDE5EA;
  --line-2:     #C7D4DC;
  --text:       #17303F;
  --muted:      #566B79;

  /* Typographie */
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;

  /* Rythme */
  --wrap: 1180px;
  --gut: 24px;
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(11, 29, 42, .06), 0 2px 8px rgba(11, 29, 42, .05);
  --shadow:    0 2px 6px rgba(11, 29, 42, .07), 0 12px 32px rgba(11, 29, 42, .08);
  --shadow-lg: 0 4px 12px rgba(11, 29, 42, .09), 0 24px 60px rgba(11, 29, 42, .13);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -.021em;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.35rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.35rem); letter-spacing: -.026em; }
h3 { font-size: clamp(1.15rem, 1.02rem + .5vw, 1.35rem); }
h4 { font-size: 1.02rem; }

p  { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--ink-3); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--solar-deep); }

ul, ol { padding-left: 1.25em; margin: 0 0 1.1em; }
li { margin-bottom: .4em; }

strong { color: var(--ink); font-weight: 650; }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

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

/* --------------------------------------------------------------------------
   3. Utilitaires de mise en page
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 800px; }

.section { padding: clamp(3.5rem, 2rem + 6vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0; }
.section--paper2 { background: var(--paper-2); }
.section--ink {
  background: var(--ink);
  color: #C8D8E2;
}
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--solar-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--solar);
  border-radius: 2px;
}
.section--ink .eyebrow { color: var(--solar); }

.lead {
  font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem);
  line-height: 1.6;
  color: var(--muted);
}
.section--ink .lead { color: #A9BFCD; }

.sec-head { max-width: 720px; margin-bottom: clamp(2rem, 1.2rem + 2.5vw, 3.25rem); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

.grid { display: grid; gap: clamp(1.1rem, .7rem + 1.2vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff;
  padding: .8rem 1.2rem; z-index: 200; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; top: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .85em 1.6em;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: .96rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--solar);
  border-color: var(--solar);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(201, 121, 20, .28);
}
.btn--primary:hover {
  background: var(--solar-deep);
  border-color: var(--solar-deep);
  color: #fff;
  box-shadow: 0 4px 18px rgba(201, 121, 20, .34);
}

.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }

.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper-2); color: var(--ink); }

/* Boutons fantômes sur fonds sombres */
.section--ink .btn--ghost,
.hero .btn--ghost,
.cta .btn--ghost,
.page-head .btn--ghost {
  border-color: rgba(255,255,255,.34);
  color: #fff;
  background: rgba(255,255,255,.04);
}
.section--ink .btn--ghost:hover,
.hero .btn--ghost:hover,
.cta .btn--ghost:hover,
.page-head .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.12);
  color: #fff;
}

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 650; font-size: .95rem;
  color: var(--ink-3); text-decoration: none;
}
.arrow-link::after { content: "→"; transition: transform .16s ease; }
.arrow-link:hover { color: var(--solar-deep); }
.arrow-link:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   5. En-tête / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 74px;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-size: 1.2rem; font-weight: 800; color: var(--ink);
  letter-spacing: -.03em;
}
.brand__name em { font-style: normal; color: var(--solar-deep); }
.brand__tag {
  font-size: .62rem; font-weight: 600; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted);
}

.nav__menu {
  display: flex; align-items: center; gap: .15rem;
  list-style: none; margin: 0; padding: 0;
}
.nav__menu li { margin: 0; }
.nav__link {
  display: block; padding: .55em .8em;
  font-size: .93rem; font-weight: 600;
  color: var(--text); text-decoration: none;
  border-radius: var(--r-sm);
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.nav__link:hover { background: var(--paper-2); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--solar-deep); }

.nav__cta { margin-left: .5rem; }
.nav__cta .btn { white-space: nowrap; padding: .72em 1.15em; font-size: .9rem; }
@media (min-width: 961px) and (max-width: 1120px) {
  .nav__link { padding: .55em .55em; font-size: .88rem; }
  .brand__tag { display: none; }
}

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2);
  border-radius: var(--r-sm); cursor: pointer; padding: 0;
}
.nav__toggle span {
  display: block; position: relative;
  width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: background .15s ease;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, top .2s ease;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch;
    gap: 0; padding: .75rem var(--gut) 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 74px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0;
    visibility: hidden; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__link { padding: .85em .6em; font-size: 1rem; border-bottom: 1px solid var(--paper-3); border-radius: 0; }
  .nav__cta { margin: 1rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(155deg, #0B1D2A 0%, #123449 52%, #17506B 100%);
  color: #D2E1EA;
  overflow: hidden;
  padding: clamp(3.5rem, 2rem + 7vw, 6.5rem) 0 clamp(3.5rem, 2rem + 6vw, 6rem);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(242,160,61,.20), transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(18,115,110,.28), transparent 52%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 .hl {
  background-image: linear-gradient(180deg, var(--solar), var(--solar));
  background-repeat: no-repeat;
  background-size: 100% .1em;
  background-position: 0 92%;
  padding-bottom: .06em;
}
.hero__lead {
  font-size: clamp(1.05rem, .96rem + .45vw, 1.28rem);
  line-height: 1.6; color: #AFC6D4; max-width: 54ch;
  margin-bottom: 2rem;
}
.hero .eyebrow { color: var(--solar); }

.hero__badges {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.badge {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .42em .85em;
  font-size: .78rem; font-weight: 650;
  color: #CFE0EA;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
}
.badge svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--solar); }

/* Panneau visuel du hero */
.hero__panel {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  backdrop-filter: blur(6px);
}
.hero__panel-title {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #8FAABB; margin-bottom: 1.1rem;
}
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--r); overflow: hidden; }
.hstat { background: #0E2637; padding: 1.15rem 1.1rem; }
.hstat__n { font-size: 1.65rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.hstat__n span { color: var(--solar); }
.hstat__l { font-size: .78rem; color: #8FAABB; margin-top: .25rem; line-height: 1.35; }

/* --------------------------------------------------------------------------
   7. Bandeau d'en-tête des pages intérieures
   -------------------------------------------------------------------------- */
.page-head {
  background: linear-gradient(150deg, #0B1D2A 0%, #143B53 100%);
  color: #B9CEDB;
  padding: clamp(2.75rem, 1.8rem + 4vw, 4.5rem) 0 clamp(2.5rem, 1.6rem + 3.5vw, 4rem);
  position: relative; overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,160,61,.20), transparent 68%);
  pointer-events: none;
}
.page-head > .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; max-width: 20ch; }
.page-head .lead { color: #A9C1D0; max-width: 62ch; margin-bottom: 0; }
.page-head .eyebrow { color: var(--solar); }

.crumbs {
  font-size: .82rem; color: #7E9CAF;
  margin-bottom: 1.5rem;
}
.crumbs a { color: #A9C1D0; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { margin: 0 .45em; opacity: .55; }

/* --------------------------------------------------------------------------
   8. Cartes
   -------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.7rem;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  display: flex; flex-direction: column;
}
.card--link { text-decoration: none; color: inherit; }
.card--link:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: inherit;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card__foot { margin-top: auto; padding-top: 1.1rem; }

.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--solar-soft);
  color: var(--solar-deep);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 23px; height: 23px; }
.card__icon--teal { background: var(--teal-soft); color: var(--teal); }
.card__icon--ink  { background: var(--paper-3); color: var(--ink-3); }

.card--ink {
  background: #10293A;
  border-color: rgba(255,255,255,.1);
}
.card--ink h3 { color: #fff; }
.card--ink p  { color: #9DB6C4; }

/* Liste à puces cochées */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .65rem;
  font-size: .97rem;
}
.checks li::before {
  content: "";
  position: absolute; left: 0; top: .52em;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--solar);
  transform: rotate(45deg);
}
.checks--teal li::before { background: var(--teal); }
.section--ink .checks li { color: #BDD2DE; }

/* --------------------------------------------------------------------------
   9. Étapes numérotées
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step {
  position: relative;
  padding-left: 4.2rem;
  min-height: 3rem;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--paper);
  color: var(--solar-deep);
  font-weight: 800; font-size: .92rem;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: .35rem; padding-top: .45rem; }
.step p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   10. Tableaux
   -------------------------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; background: var(--paper); min-width: 560px; }
thead th {
  text-align: left; padding: .95rem 1.1rem;
  background: var(--paper-2);
  font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
tbody td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--paper-3); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--paper-2); }
td strong { display: block; color: var(--ink); margin-bottom: .15rem; }

/* --------------------------------------------------------------------------
   11. Formations
   -------------------------------------------------------------------------- */
.formation {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  overflow: hidden;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.formation:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.formation__head {
  width: 100%;
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: none; border: 0; cursor: pointer;
  font: inherit; text-align: left; color: inherit;
}
.formation__ref {
  flex-shrink: 0;
  font-family: var(--mono); font-size: .74rem; font-weight: 700;
  color: var(--solar-deep); background: var(--solar-soft);
  padding: .38em .6em; border-radius: 4px;
  margin-top: .15rem;
}
.formation__title { flex: 1; min-width: 0; }
.formation__title h3 { margin: 0 0 .35rem; font-size: 1.08rem; }
.formation__meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .82rem; color: var(--muted); }
.formation__meta b { color: var(--ink); font-weight: 650; }
.formation__chev {
  flex-shrink: 0; width: 26px; height: 26px;
  display: grid; place-items: center; color: var(--muted);
  transition: transform .2s ease;
  margin-top: .3rem;
}
.formation__head[aria-expanded="true"] .formation__chev { transform: rotate(180deg); }
.formation__body {
  padding: 0 1.5rem 1.6rem;
  border-top: 1px solid var(--paper-3);
  margin-top: -1px;
}
.formation__body[hidden] { display: none; }
.formation__body > .grid { padding-top: 1.4rem; }
.formation--custom { border-color: var(--line-2); background: linear-gradient(180deg, var(--teal-soft) 0%, var(--paper) 62%); }
.formation--custom:hover { border-color: var(--teal); }
.formation__ref--custom { color: var(--teal); background: #D5EBE9; }

.formation__body h4 {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .7rem;
}
.formation__body ul { padding-left: 1.15em; font-size: .94rem; }
.formation__body li { margin-bottom: .35em; }

/* --------------------------------------------------------------------------
   12. Encadrés
   -------------------------------------------------------------------------- */
.note {
  border-left: 3px solid var(--solar);
  background: var(--solar-soft);
  padding: 1.2rem 1.4rem;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .95rem;
}
.note--teal { border-left-color: var(--teal); background: var(--teal-soft); }
.note h3, .note h4 { font-size: 1.02rem; margin-bottom: .4rem; }
.note p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Figure technique */
.figure {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper-2);
  padding: 1.5rem;
}
.figure figcaption {
  font-size: .82rem; color: var(--muted);
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   13. CTA de bas de page
   -------------------------------------------------------------------------- */
.cta {
  background: linear-gradient(140deg, #0B1D2A 0%, #16455E 100%);
  color: #B9CEDB;
  border-radius: var(--r-lg);
  padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  position: relative; overflow: hidden;
  text-align: center;
}
.cta::after {
  content: "";
  position: absolute; left: 50%; bottom: -160px;
  width: 460px; height: 320px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(242,160,61,.24), transparent 70%);
  pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta p { color: #A9C1D0; max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta .btn-row { justify-content: center; margin-top: 1.75rem; }

/* --------------------------------------------------------------------------
   14. Formulaire
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .87rem; font-weight: 650; color: var(--ink); }
.field label .req { color: var(--solar-deep); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .96rem;
  padding: .78em .9em;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink-3);
  box-shadow: 0 0 0 3px rgba(29, 76, 103, .13);
}
.field__hint { font-size: .8rem; color: var(--muted); }

.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .87rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: .18rem; flex-shrink: 0; accent-color: var(--solar-deep); }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Bloc conditionnel « formation » */
.optbox {
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1.35rem 1.5rem;
}
.optbox[hidden] { display: none; }
.optbox__sep { height: 1px; background: #C4DEDB; margin: 1.35rem 0 1.1rem; }
.optbox__hint {
  font-size: .82rem; color: #4B6E6B;
  margin: .6rem 0 0; padding-left: 2.3rem;
}
.optbox .consent label { color: var(--text); }

.checkset { border: 0; padding: 0; margin: 0; }
.checkset legend {
  padding: 0; margin-bottom: .3rem;
  font-size: .87rem; font-weight: 650; color: var(--ink);
}
.checkset__hint { font-size: .82rem; color: #4B6E6B; margin: 0 0 .9rem; }
.checkset__link { font-size: .82rem; color: #4B6E6B; margin: .9rem 0 0; }

.checkgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: .4rem .9rem;
}
.checkitem {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .42rem .5rem;
  border-radius: var(--r-sm);
  font-size: .88rem; line-height: 1.4;
  cursor: pointer;
  transition: background .14s ease;
}
.checkitem:hover { background: rgba(255,255,255,.7); }
.checkitem input {
  width: 17px; height: 17px; margin: .12rem 0 0;
  flex-shrink: 0; accent-color: var(--teal); cursor: pointer;
}
.checkitem b {
  font-family: var(--mono); font-size: .76rem; font-weight: 700;
  color: var(--teal); margin-right: .35em; white-space: nowrap;
}
.checkitem:has(input:checked) { background: #fff; }

.form-status {
  padding: 1rem 1.2rem; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 600;
}
.form-status--ok  { background: var(--teal-soft); color: #0B5450; border: 1px solid #A9D6D3; }
.form-status--err { background: #FDECEC; color: #8E2222; border: 1px solid #F0BFBF; }

/* Bloc de contact latéral */
.contact-block {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.75rem;
}
.contact-line {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-line:last-of-type { border-bottom: 0; padding-bottom: 0; }
.contact-line:first-of-type { padding-top: 0; }
.contact-line svg { width: 19px; height: 19px; color: var(--solar-deep); flex-shrink: 0; margin-top: .22rem; }
.contact-line div { font-size: .94rem; }
.contact-line b { display: block; color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .2rem; }
.contact-line a { color: var(--text); text-decoration: none; }
.contact-line a:hover { color: var(--solar-deep); text-decoration: underline; }

/* --------------------------------------------------------------------------
   15. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #94AEBE;
  padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 0;
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2.25rem;
  padding-bottom: 3rem;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; } }

.footer__grid h2 {
  color: #fff; font-size: .76rem; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer__grid ul { list-style: none; padding: 0; margin: 0; }
.footer__grid li { margin-bottom: .55rem; }
.footer__grid a { color: #94AEBE; text-decoration: none; }
.footer__grid a:hover { color: var(--solar); }

.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag  { color: #7593A6; }
.footer__about { margin-top: 1.1rem; max-width: 38ch; color: #86A2B3; font-size: .9rem; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  justify-content: space-between; align-items: center;
  font-size: .84rem; color: #71909F;
}
.footer__bottom a { color: #71909F; text-decoration: none; }
.footer__bottom a:hover { color: var(--solar); }
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }

/* --------------------------------------------------------------------------
   16. Pages légales (prose)
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.75rem; font-size: 1.45rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.85rem; font-size: 1.1rem; }
.prose p, .prose li { font-size: .98rem; }
.prose dl { margin: 0 0 1.5rem; }
.prose dt { font-weight: 650; color: var(--ink); margin-top: .8rem; }
.prose dd { margin: 0 0 0 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   17. Impression & préférences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .site-footer, .cta, .nav__toggle { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .hero, .page-head { background: none !important; color: #000; }
  .hero h1, .page-head h1 { color: #000; }
  a { text-decoration: underline; }
}

/* Révélation au défilement */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.22,.61,.36,1); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
