/* =========================================================
   Site Alexandre Dessoly — feuille de style principale
   Charte : bleu marine, turquoise, orange, jaune · Poppins
   ========================================================= */

:root {
  --navy-900: #0b2545;
  --navy-700: #133c68;
  --teal-500: #13a89e;
  --teal-700: #0e7c74;
  --teal-50: #e3f5f3;
  --orange-500: #f28c28;
  --orange-700: #a8560a;
  --orange-50: #fef1e4;
  --yellow-400: #ffc43d;
  --surface-100: #ffffff;
  --surface-200: #f3f6fa;
  --line: #dce3ec;
  --ink: #0b2545;
  --ink-muted: #4a5568;
  --ink-body: #2d3748;
  --on-dark: #ffffff;
  --on-dark-muted: #b7c4d6;
  --danger: #c53030;

  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 16px rgba(11, 37, 69, 0.08);
  --shadow-lift: 0 12px 32px rgba(11, 37, 69, 0.16);
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  color: var(--ink);
  background: var(--surface-100);
}
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--teal-700); }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4 { margin: 0; color: inherit; }
h1 { font-size: 40px; line-height: 48px; font-weight: 700; }
h2 { font-size: 30px; line-height: 38px; font-weight: 700; }
h3, .h3 { font-size: 22px; line-height: 30px; font-weight: 600; }
.h4 { font-size: 16px; line-height: 22px; font-weight: 700; }
p { margin: 0; }
.display { font-size: 52px; line-height: 58px; font-weight: 700; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; }

.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: 16px; top: -60px; background: var(--orange-500); color: var(--navy-900); padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Utilitaires ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.stack-xs > * + * { margin-top: 6px; }
.stack-sm > * + * { margin-top: 12px; }
.stack-md > * + * { margin-top: 18px; }
.stack-lg > * + * { margin-top: 40px; }
.muted { color: var(--ink-muted); }
.muted-on-dark { color: var(--on-dark-muted); }
.yellow { color: var(--yellow-400); }
.small { font-size: 13px; line-height: 20px; }
.large { font-size: 18px; }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.ml { margin-left: 14px; }
.teal-text { color: var(--teal-700); }
.orange-text { color: var(--orange-700); }
.date { color: var(--orange-700); }
.link-strong { font-weight: 600; font-size: 15px; }
.lead { font-size: 18px; line-height: 30px; color: var(--ink-muted); max-width: 680px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/20px var(--font-sans);
  padding: 14px 28px; min-height: 48px;
  border-radius: var(--radius-pill); border: 0;
  text-decoration: none; cursor: pointer;
  transition: box-shadow .2s, filter .2s, transform .1s;
}
.btn:hover { box-shadow: var(--shadow-card); filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 20px; min-height: 40px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange-500); color: var(--navy-900); }
.btn-primary:hover { color: var(--navy-900); }
.btn-secondary { background: var(--teal-500); color: var(--navy-900); }
.btn-secondary:hover { color: var(--navy-900); }
.btn-dark { background: var(--navy-900); color: var(--on-dark); }
.btn-dark:hover { color: var(--on-dark); }
.btn-outline { background: transparent; color: var(--on-dark); border: 2px solid var(--on-dark); padding: 12px 26px; }
.btn-outline:hover { color: var(--on-dark); }
.btn-light { background: var(--surface-100); color: var(--navy-900); border: 1.5px solid var(--line); }
.btn-light:hover { color: var(--navy-900); }
.btn-danger { background: var(--surface-100); color: var(--danger); border: 1.5px solid var(--line); }
.btn-danger:hover { color: var(--danger); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }

/* ---------- Petits éléments ---------- */
.kicker { display: inline-block; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0.08em; color: var(--teal-700); }
.kicker--on-dark { color: var(--teal-500); }
.kicker--orange { color: var(--orange-700); }
.h-line { display: block; width: 48px; height: 5px; border-radius: var(--radius-pill); background: var(--orange-500); }
.section-title > * + * { margin-top: 8px; }
.badge { display: inline-block; font-size: 12px; line-height: 16px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-pill); }
.badge--teal { background: var(--teal-500); color: var(--navy-900); }
.badge--yellow { background: var(--yellow-400); color: var(--navy-900); }
.pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-pill); }
.pill--navy { background: var(--navy-900); color: var(--on-dark); }
.pill--orange { background: var(--orange-500); color: var(--navy-900); }
.pill--teal { background: var(--teal-500); color: var(--navy-900); }

.tag { display: inline-block; align-self: flex-start; font-size: 12px; line-height: 16px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-pill); text-decoration: none; white-space: nowrap; }
.tag--formation { background: var(--orange-500); color: var(--navy-900); }
.tag--digital { background: var(--teal-500); color: var(--navy-900); }
.tag--humain { background: var(--navy-700); color: var(--on-dark); }
.tag--terrain { background: var(--orange-50); color: var(--orange-700); }
.tag--coulisses { background: var(--teal-50); color: var(--teal-700); }
a.tag:hover { filter: brightness(1.05); }
.tag--formation:hover, .tag--digital:hover { color: var(--navy-900); }
.tag--humain:hover { color: var(--on-dark); }

.flow { height: 6px; background: repeating-linear-gradient(90deg, var(--orange-500) 0 28px, transparent 28px 46px); border-radius: var(--radius-pill); }

.flash { padding: 14px 18px; border-radius: var(--radius-md); font-size: 15px; margin-bottom: 16px; }
.flash--success { background: var(--teal-50); color: var(--teal-700); }
.flash--error { background: #fde8e8; color: var(--danger); }

/* ---------- En-tête ---------- */
.site-header { background: var(--navy-900); color: var(--on-dark); border-bottom: 4px solid var(--orange-500); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.logo { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--on-dark); text-decoration: none; }
.logo span { color: var(--teal-500); }
.logo:hover { color: var(--on-dark); }
.logo--dark { color: var(--navy-900); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--on-dark); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--yellow-400); }
.nav a.is-active { color: var(--yellow-400); border-bottom-color: var(--yellow-400); }
.nav-toggle { display: none; background: transparent; border: 0; color: var(--on-dark); width: 44px; height: 44px; cursor: pointer; border-radius: var(--radius-sm); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--compact { padding: 64px 0; }
.section--top-tight { padding-top: 48px; }
.section--alt { background: var(--surface-200); }
.section--warm { background: var(--orange-50); }
.section--teal { background: var(--teal-500); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.page-head { padding: 72px 0 64px; }
.page-head--dark { background: var(--navy-900); color: var(--on-dark); }
.page-head--dark .kicker { color: var(--teal-500); }
.page-head--dark .lead { color: #d7e1ee; }
.page-head--warm { background: var(--orange-50); }
.page-head--warm .kicker { color: var(--orange-700); }
.section-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }

/* ---------- Héros accueil ---------- */
.hero { background: var(--navy-900); color: var(--on-dark); position: relative; overflow: hidden; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 112px; }
.hero__text { flex: 999 1 520px; min-width: 0; }
.hero__text > * + * { margin-top: 22px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero__slogan { font-size: 22px; line-height: 30px; font-weight: 500; color: var(--yellow-400); }
.hero__lead { font-size: 18px; line-height: 30px; color: #d7e1ee; max-width: 560px; }
.hero .btn-row { margin-top: 30px; }
.hero__photo { flex: 1 1 300px; display: flex; justify-content: center; }
.hero__photo img { width: 340px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: var(--radius-pill); object-fit: cover; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }
.hero > .flow { position: absolute; left: 24px; right: 0; bottom: 36px; }

/* ---------- Cartes « ce que j'apporte » ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature { background: var(--surface-200); border-radius: var(--radius-md); padding: 28px; }
.feature > * + * { margin-top: 12px; }
.feature p { color: var(--ink-muted); }
.feature__icon { width: 52px; height: 52px; border-radius: var(--radius-pill); display: flex; align-items: center; justify-content: center; }
.feature__icon--navy { background: var(--navy-900); }
.feature__icon--orange { background: var(--orange-500); }
.feature__icon--teal { background: var(--teal-500); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value { font-size: 40px; line-height: 48px; font-weight: 700; }
.stat__value--orange { color: var(--orange-700); }
.stat__value--teal { color: var(--teal-700); }
.stat__label { font-size: 14px; color: var(--ink-muted); }

.band { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.band__text { flex: 999 1 480px; }
.band__text > * + * { margin-top: 10px; }
.band__text p { color: var(--ink-muted); }

.cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta h2 { font-size: 34px; line-height: 42px; color: var(--navy-900); }
.cta p { font-size: 18px; line-height: 30px; color: var(--navy-900); max-width: 640px; }
.cta--plain h1 { color: var(--navy-900); }
.cta--plain p { color: var(--ink-muted); }

/* ---------- Cartes d'articles ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--surface-100); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.post-card__link { position: absolute; inset: 0; z-index: 2; }
.post-card__img { height: 170px; position: relative; overflow: hidden; background: var(--navy-900); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__img--digital { background: var(--teal-500); }
.post-card__img--humain { background: var(--navy-700); }
.post-card__img--terrain { background: var(--orange-500); }
.post-card__img--coulisses { background: var(--teal-50); }
.crate { position: absolute; bottom: 44px; width: 52px; height: 40px; border-radius: 4px; }
.crate--1 { left: 24px; background: var(--orange-500); }
.crate--2 { left: 84px; background: var(--teal-500); }
.crate--3 { left: 144px; background: var(--yellow-400); }
.post-card__img--terrain .crate--1 { background: var(--navy-900); }
.post-card__img--digital .crate--2 { background: var(--navy-900); }
.flow--card { position: absolute; left: 24px; right: 24px; bottom: 22px; }
.post-card__img--terrain .flow--card { background: repeating-linear-gradient(90deg, var(--navy-900) 0 28px, transparent 28px 46px); }
.post-card__video { position: absolute; right: 16px; top: 16px; background: var(--surface-100); color: var(--navy-900); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.post-card__title { font-size: 20px; line-height: 28px; font-weight: 600; }
.post-card__excerpt { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.post-card__meta { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: 13px; color: var(--ink-muted); }
.post-card__meta .date { color: var(--orange-700); }

/* ---------- Parcours ---------- */
.intro { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.intro__photo { width: 240px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: var(--radius-pill); object-fit: cover; flex-shrink: 0; }
.intro__text { flex: 999 1 480px; min-width: 0; }
.timeline { list-style: none; margin: 0 0 0 12px; padding: 0; border-left: 4px dashed var(--orange-500); }
.timeline__item { display: flex; gap: 24px; align-items: flex-start; padding-bottom: 32px; margin-left: -14px; }
.timeline__dot { width: 24px; height: 24px; border-radius: var(--radius-pill); border: 4px solid var(--surface-100); flex-shrink: 0; margin-top: 4px; }
.timeline__dot--orange { background: var(--orange-500); box-shadow: 0 0 0 2px var(--orange-500); }
.timeline__dot--teal { background: var(--teal-500); box-shadow: 0 0 0 2px var(--teal-500); }
.timeline__dot--navy { background: var(--navy-700); box-shadow: 0 0 0 2px var(--navy-700); }
.timeline__card { flex-grow: 1; background: var(--surface-200); border-radius: var(--radius-md); padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.timeline__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; justify-content: space-between; }
.timeline__head h3 { font-size: 20px; line-height: 28px; }
.timeline__head .date { font-size: 14px; font-weight: 600; }
.timeline__where { font-size: 14px; color: var(--teal-700); font-weight: 500; }
.timeline__card p { font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.two-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: var(--radius-pill); }
.chip--orange { background: var(--orange-500); color: var(--navy-900); }
.chip--teal { background: var(--teal-500); color: var(--navy-900); }
.chip--white { background: var(--surface-100); color: var(--navy-900); }
.hobbies { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hobbies li { display: flex; gap: 14px; align-items: center; }
.hobbies li div { display: flex; flex-direction: column; }
.hobbies li span:not(.hobbies__dot) { font-size: 14px; color: var(--on-dark-muted); }
.hobbies__dot { width: 44px; height: 44px; border-radius: var(--radius-pill); flex-shrink: 0; }
.hobbies__dot--orange { background: var(--orange-500); }
.hobbies__dot--teal { background: var(--teal-500); }
.hobbies__dot--yellow { background: var(--yellow-400); }

/* ---------- Blog ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { font-size: 13px; line-height: 18px; font-weight: 600; padding: 10px 16px; min-height: 40px; display: inline-flex; align-items: center; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--surface-100); color: var(--navy-900); text-decoration: none; }
.filter:hover { border-color: var(--navy-900); color: var(--navy-900); }
.filter.is-active { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark); }
.search { display: flex; flex-direction: column; gap: 4px; width: 320px; max-width: 100%; }
.search label { font-size: 13px; font-weight: 600; }
.search__row { display: flex; gap: 8px; }
.search__row input { flex-grow: 1; }
.empty { background: var(--surface-200); border-radius: var(--radius-md); padding: 40px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination__item { min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--surface-200); color: var(--navy-900); display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; }
.pagination__item.is-active { background: var(--navy-900); color: var(--on-dark); }
.pagination__item--wide { padding: 0 18px; }

/* ---------- Article ---------- */
.article { padding-top: 48px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 22px; }
.breadcrumb { font-size: 13px; color: var(--ink-muted); }
.article__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-muted); }
.article__meta img { width: 40px; height: 40px; border-radius: var(--radius-pill); object-fit: cover; }
.article__meta .strong { color: var(--navy-900); }
.article__cover { margin: 0; }
.article__cover img { width: 100%; border-radius: var(--radius-md); }
.article__cover figcaption { font-size: 14px; color: var(--ink-muted); margin-top: 8px; }
.article__lead { font-size: 20px; line-height: 32px; font-weight: 500; }
.prose { font-size: 18px; line-height: 30px; color: var(--ink-body); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 26px; line-height: 34px; color: var(--navy-900); margin-top: 32px; }
.prose h3 { font-size: 21px; line-height: 30px; color: var(--navy-900); margin-top: 26px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose blockquote { margin: 8px 0; padding: 20px 24px; background: var(--orange-50); border-radius: var(--radius-md); font-weight: 500; color: var(--navy-900); }
.prose img, .prose video { width: 100%; border-radius: var(--radius-md); }
.prose figure { margin: 0; }
.prose figcaption { font-size: 14px; color: var(--ink-muted); margin-top: 8px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-md); }
.prose a { font-weight: 500; }
.share { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author-box { display: flex; gap: 20px; align-items: center; background: var(--surface-200); border-radius: var(--radius-md); padding: 24px; }
.author-box img { width: 80px; height: 80px; border-radius: var(--radius-pill); object-fit: cover; flex-shrink: 0; }
.comments { display: flex; flex-direction: column; gap: 18px; margin-top: 12px; scroll-margin-top: 100px; }
.comments h2 { font-size: 26px; line-height: 34px; }
.comment { display: flex; gap: 14px; }
.comment__avatar { width: 44px; height: 44px; border-radius: var(--radius-pill); background: var(--yellow-400); color: var(--navy-900); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.comment:nth-of-type(2n) .comment__avatar { background: var(--teal-500); }
.comment p { font-size: 15px; line-height: 24px; color: var(--ink-body); }
.comment__reply { background: var(--teal-50); border-radius: var(--radius-md); padding: 12px 16px; margin-top: 8px; }
.comment__reply strong { font-size: 14px; color: var(--teal-700); }

/* ---------- Ressources ---------- */
.fiche-group > * + * { margin-top: 18px; }
.fiche-group__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fiche-group__head h2 { font-size: 24px; line-height: 32px; }
.fiche-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.fiche { display: flex; gap: 16px; align-items: center; background: var(--surface-200); border-radius: var(--radius-md); padding: 20px; }
.fiche__icon { width: 52px; height: 64px; border-radius: var(--radius-sm); background: var(--surface-100); border: 1.5px solid var(--line); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--danger); }
.fiche__text { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fiche__title { font-size: 16px; line-height: 22px; font-weight: 600; }
.fiche__meta { font-size: 13px; color: var(--ink-muted); }
.icon-btn { width: 44px; height: 44px; border-radius: var(--radius-pill); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-btn--orange { background: var(--orange-500); }
.soon { font-size: 12px; font-weight: 600; color: var(--ink-muted); background: var(--surface-100); border: 1px solid var(--line); padding: 4px 10px; border-radius: var(--radius-pill); flex-shrink: 0; }
.note-box { background: var(--teal-50); border-radius: var(--radius-md); padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.note-box p { flex: 999 1 400px; }

/* ---------- Contact ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.contact-grid > :first-child { flex: 1 1 340px; }
.contact-grid > :last-child { flex: 999 1 520px; min-width: 0; }
.info-card { background: var(--navy-900); color: var(--on-dark); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.info-card__row { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.info-card a { color: var(--on-dark); }
.form-card { background: var(--surface-200); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.form-card--raised { background: var(--surface-100); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-card); }
.form-card form { display: flex; flex-direction: column; gap: 16px; }
.success { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.success__icon { width: 60px; height: 60px; border-radius: var(--radius-pill); background: var(--teal-500); display: flex; align-items: center; justify-content: center; }
.success h2 { font-size: 26px; line-height: 34px; }

/* ---------- Formulaires ---------- */
.form-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea,
.search input, .inline-search input {
  width: 100%;
  font: 400 15px/22px var(--font-sans);
  color: var(--ink);
  background: var(--surface-200);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
}
.form-card .field input:not([type=checkbox]):not([type=radio]), .form-card .field textarea, .form-card .field select { background: var(--surface-100); }
.form-card--raised .field input:not([type=checkbox]):not([type=radio]), .form-card--raised .field textarea, .form-card--raised .field select { background: var(--surface-200); }
.field input:focus, .field select:focus, .field textarea:focus, .search input:focus, .inline-search input:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 3px var(--teal-50); }
.field--error input, .field--error textarea, .field--error select { border-color: var(--danger) !important; }
.field__errors { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 18px; color: var(--danger); }
.field__help { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 21px; cursor: pointer; font-weight: 400 !important; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal-700); flex-shrink: 0; }
.field--check .check span { color: var(--ink-muted); font-size: 13px; line-height: 20px; }
.choices { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Mentions ---------- */
.legal { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 64px; padding-bottom: 96px; }
.legal__toc { flex: 1 1 240px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-200); border-radius: var(--radius-md); padding: 24px; position: sticky; top: 110px; }
.legal__content { flex: 999 1 560px; min-width: 0; }
.legal__content h2 { font-size: 24px; line-height: 32px; }
.legal__content p { color: var(--ink-muted); }
.soft-card { background: var(--surface-200); border-radius: var(--radius-md); padding: 20px; }
.soft-card p { font-size: 14px; line-height: 22px; margin-top: 6px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark); }
.site-footer__bar { height: 6px; background: var(--orange-500); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 24px; }
.site-footer a { color: var(--on-dark); font-size: 14px; text-decoration: none; display: block; }
.site-footer a:hover { color: var(--yellow-400); }
.site-footer p { font-size: 14px; line-height: 22px; }
.footer-title { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--teal-500); }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 16px; padding-bottom: 28px; border-top: 1px solid #24456e; font-size: 13px; color: var(--on-dark-muted); }
.site-footer__bottom a { color: var(--on-dark-muted); font-size: 13px; }

.preview-banner { background: var(--yellow-400); color: var(--navy-900); text-align: center; padding: 12px 16px; font-weight: 600; font-size: 14px; }
.preview-banner a { color: var(--navy-900); margin-left: 12px; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-bottom: 4px solid var(--orange-500); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #24456e; font-size: 16px; }
  .nav a.is-active { border-bottom-color: #24456e; }
  .nav .btn { margin-top: 16px; }
  .site-header__inner { position: relative; }
}
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section--compact { padding: 44px 0; }
  .display { font-size: 36px; line-height: 42px; }
  h1 { font-size: 32px; line-height: 40px; }
  h2 { font-size: 25px; line-height: 32px; }
  .cta h2 { font-size: 26px; line-height: 34px; }
  .hero__grid { padding-top: 48px; padding-bottom: 88px; gap: 32px; }
  .hero__photo img { width: 220px; }
  .hero > .flow { left: 16px; bottom: 28px; }
  .stat__value { font-size: 32px; line-height: 40px; }
  .form-card--raised { padding: 22px; }
  .author-box { flex-direction: column; align-items: flex-start; }
  .legal__toc { position: static; }
  .post-grid, .fiche-grid { grid-template-columns: 1fr; }
}

/* Petits ajustements */
.author-box .stack-xs { display: flex; flex-direction: column; gap: 6px; }
.author-box .stack-xs > * + * { margin-top: 0; }
