/* =====================================================================
   The Human Formula — même famille visuelle que Place des formations
   et RDV Protect : fond dégradé doux, en-tête flottant en pastille,
   grands titres condensés, notes manuscrites, cartes arrondies,
   boutons encre. Palette propre : abricot + bleu ciel, accent bleu vif.
   ===================================================================== */
:root {
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --hand: "Shadows Into Light", "Comic Sans MS", cursive;

  --ink: #111827;
  --ink-hover: #000;
  --text: #1f2937;
  --slate: #374151;
  --muted: #5b6474;
  --subtle: #6b7280;
  --line: #e6e8ef;
  --bg: #f7f8fc;
  --white: #fff;

  --accent: #2f5bff;
  --accent-ink: #2443c9;
  --accent-surface: #eaf0ff;

  --apricot: #ffdcc2;
  --sky: #d3e6ff;
  --sticker-yellow: #fbe96a;
  --sticker-apricot: #ffc39b;
  --sticker-sky: #b8dbff;
  --sticker-mint: #bdeedb;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-card: 0 1px 2px rgba(17, 24, 39, .05), 0 8px 24px rgba(17, 24, 39, .06);
  --shadow-float: 0 18px 40px rgba(17, 24, 39, .12);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 700px at 18% -8%, var(--apricot) 0%, rgba(255, 220, 194, .35) 38%, transparent 66%),
    radial-gradient(900px 720px at 100% 14%, var(--sky) 0%, transparent 62%),
    linear-gradient(180deg, #fbf8f6 0%, var(--bg) 55%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
code { font-size: .9em; background: #f1f3f8; padding: 1px 6px; border-radius: 6px; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(800px, calc(100% - 40px)); }

/* ---------- Titres ---------- */
h1, h2, h3, h4 { margin: 0 0 14px; line-height: 1.1; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.02; }
h1 { font-size: clamp(42px, 6.4vw, 84px); }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.nowrap { white-space: nowrap; }

/* Petit mot manuscrit au-dessus des titres */
.eyebrow {
  font-family: var(--hand);
  font-size: 21px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 10px;
}
/* Trait dessiné sous le grand titre des en-têtes de page */
.hero h1::after, .page-hero h1::after, .catalogue-hero h1::after, .training-hero h1::after, .guide-hero h1::after {
  content: "";
  display: block;
  width: min(420px, 90%);
  height: 18px;
  margin: 16px 0 4px;
  background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 22' preserveAspectRatio='none' fill='none'%3E%3Cpath d='M3 15c62-6 128-9 200-8 70 1 140 3 214-3' stroke='%23111827' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M40 19c80-4 170-5 250-3' stroke='%23111827' stroke-width='2' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E");
}
.lead { font-size: 18px; line-height: 1.6; color: var(--slate); max-width: 58ch; text-wrap: pretty; }
.lead strong, .lead b { color: var(--ink); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: background .15s, box-shadow .15s, transform .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 16px rgba(17, 24, 39, .18); }
.btn-primary:hover { background: var(--ink-hover); transform: translateY(-1px); }
.btn-primary::after { content: "→"; font-weight: 500; transition: transform .15s; }
.btn-primary:hover::after { transform: translateX(2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, .7); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-sm::after { content: none; }
.btn-block { width: 100%; }
.text-link { color: var(--accent-ink); font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- En-tête flottant ---------- */
.site-header {
  position: sticky; top: 10px; z-index: 50;
  width: min(var(--max), calc(100% - 24px)); margin: 10px auto 0;
  border: 1px solid rgba(255, 255, 255, .75); border-radius: 20px;
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 8px 30px rgba(17, 24, 39, .08);
}
.site-header .container { width: 100%; padding: 0 12px 0 16px; }
.nav-wrap { min-height: 64px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 500; font-size: 16px; text-transform: uppercase; letter-spacing: .02em;
}
.brand strong { display: block; font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.brand small { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); letter-spacing: .01em; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; font-size: 14px; font-weight: 500; }
.main-nav a { padding: 7px 12px; border-radius: 999px; color: var(--slate); white-space: nowrap; transition: background .15s, color .15s; }
.main-nav a:hover { background: rgba(17, 24, 39, .06); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-actions { display: flex; gap: 8px; flex: none; }
.main-nav .nav-extra { display: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 0;
  background: rgba(17, 24, 39, .06); cursor: pointer; font-size: 20px; line-height: 1;
}

/* ---------- Sections ---------- */
main { display: block; }
section[id] { scroll-margin-top: 150px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .62) 18%, rgba(255, 255, 255, .62) 82%, rgba(255, 255, 255, 0) 100%); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { color: var(--muted); max-width: 46ch; margin: 0; }
.section-heading .text-link { white-space: nowrap; padding-bottom: 6px; }

/* ---------- Hero d'accueil ---------- */
.hero { padding: 48px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: center; }
.hero-copy h1 { margin-top: 12px; }
.hero-copy .lead { margin-top: 14px; }
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: var(--shadow-card); font-size: 13.5px; font-weight: 500; color: var(--slate); }
.hero-meta span::before { content: "✓"; color: var(--accent); font-weight: 700; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; margin: 30px 0 0; padding: 0; }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dd { margin: 0; font-family: var(--display); font-size: 36px; line-height: 1; color: var(--ink); }
.hero-stats dt { font-size: 13px; color: var(--muted); }

/* Collage à droite du hero */
.hero-art { position: relative; min-height: 540px; }
.photo-tape { position: absolute; border-radius: 22px; background-size: cover; background-position: center; box-shadow: var(--shadow-float); border: 6px solid #fff; }
.photo-tape::before { content: ""; position: absolute; top: -14px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(251, 233, 106, .8); border-radius: 3px; }
.hero-art .photo-tape { left: 16%; right: 0; top: 30px; height: 360px; transform: rotate(2.5deg); background-position: 70% center; }
.collage-card { position: absolute; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-float); display: flex; flex-direction: column; gap: 6px; }
.collage-card::before { content: ""; position: absolute; top: -10px; left: 50%; width: 70px; height: 22px; transform: translateX(-50%) rotate(3deg); background: rgba(184, 219, 255, .9); border-radius: 3px; }
.c-training { width: 290px; right: 2%; top: 322px; transform: rotate(3deg); }
.c-training b { font-size: 17px; line-height: 1.25; color: var(--ink); }
.c-pill { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent-surface); padding: 3px 10px; border-radius: 999px; }
.c-meta { font-size: 13px; color: var(--muted); }
.c-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.c-tag { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: #f3f4f6; color: var(--slate); }
.c-price { margin-top: 4px; font-family: var(--display); font-size: 22px; color: var(--ink); }
.c-method { left: 0; top: 128px; width: 205px; transform: rotate(-3.5deg); gap: 10px; }
.c-method::before { background: rgba(255, 195, 155, .9); }
.c-method ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.c-method li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.c-method li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--accent-surface); color: var(--accent-ink); flex: none; }
.c-method small { font-size: 12.5px; color: var(--muted); }
.sticker { position: absolute; z-index: 2; font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 15px; letter-spacing: .02em; padding: 6px 12px; color: var(--ink); box-shadow: 0 6px 14px rgba(17, 24, 39, .12); white-space: nowrap; }
.s-yellow { background: var(--sticker-yellow); right: 6%; top: 0; transform: rotate(5deg); }
.s-mint { background: var(--sticker-mint); left: 4%; top: 64px; transform: rotate(-6deg); }
.s-apricot { background: var(--sticker-apricot); right: 14%; top: 300px; transform: rotate(-4deg); }
.hand-note { position: absolute; left: 0; top: 462px; font-family: var(--hand); font-size: 21px; line-height: 1.1; text-transform: uppercase; color: var(--ink); transform: rotate(-3deg); }
.hand-arrow { position: absolute; width: 58px; left: 25%; top: 420px; color: var(--ink); transform: rotate(-20deg); }

/* ---------- Cartes génériques ---------- */
.objective-grid, .format-grid, .enterprise-grid, .principle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.objective-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.objective-card, .format-card, .enterprise-card, .principle-card, .method-step, .program-grid article, .format-mini-grid article, .content-card, .stat {
  background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-card);
}
.objective-card, .format-card, .enterprise-card, .principle-card { display: flex; flex-direction: column; gap: 4px; }
.objective-card h3, .format-card h3, .enterprise-card h3, .principle-card h3 { margin: 10px 0 4px; }
.objective-card p, .format-card p, .enterprise-card p, .principle-card p, .method-step p, .program-grid p, .format-mini-grid p, .content-card p { margin: 0; font-size: 15px; color: var(--muted); }
a.objective-card { transition: transform .15s, box-shadow .15s; position: relative; }
a.objective-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
a.objective-card::after { content: "→"; position: absolute; top: 22px; right: 22px; color: var(--subtle); transition: transform .15s, color .15s; }
a.objective-card:hover::after { color: var(--ink); transform: translateX(3px); }
.objective-icon {
  align-self: flex-start; min-width: 34px; height: 30px; padding: 0 10px; border-radius: 999px;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  background: var(--accent-surface); color: var(--accent-ink); font-variant-numeric: tabular-nums;
}
.objective-grid .objective-card:nth-child(3n+2) .objective-icon, .format-grid .format-card:nth-child(4n+2) .objective-icon { background: #fff1e6; color: #a2501a; }
.objective-grid .objective-card:nth-child(3n) .objective-icon, .format-grid .format-card:nth-child(4n+3) .objective-icon { background: #e6f7f0; color: #17704f; }
.format-grid .format-card:nth-child(4n) .objective-icon { background: #fdf6c9; color: #7a6510; }
.enterprise-card { background: linear-gradient(160deg, #fff4ec, #fff 65%); }
.enterprise-card:nth-child(2n) { background: linear-gradient(160deg, #eaf2ff, #fff 65%); }
.enterprise-card h3 { margin-top: 0; }

/* ---------- Cartes formation ---------- */
.formation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.formation-card { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform .15s, box-shadow .15s; }
.formation-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.card-media-wrap { position: relative; padding: 10px 10px 0; }
.card-visual, .resource-visual { height: 160px; position: relative; overflow: hidden; border-radius: 14px; background: linear-gradient(135deg, var(--sky), #9fc4ef); }
.card-visual::before, .resource-visual::before { content: ""; position: absolute; width: 65%; height: 75%; right: -5%; bottom: -15%; border-radius: 24px 24px 0 0; background: rgba(255, 255, 255, .55); transform: rotate(-8deg); }
.visual-1 { background: linear-gradient(135deg, #d9f3e9, #95d3bb); }
.visual-2 { background: linear-gradient(135deg, #fff0e3, #ffc39b); }
.visual-3 { background: linear-gradient(135deg, #fdf6c9, #f2d65a); }
.visual-4 { background: linear-gradient(135deg, #eaf0ff, #9fb2ff); }
.visual-lines { position: absolute; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 8px; }
.visual-lines i { display: block; height: 10px; background: rgba(255, 255, 255, .8); border-radius: 999px; }
.visual-lines i:nth-child(2) { width: 70%; }
.visual-lines i:nth-child(3) { width: 45%; }
.card-badge {
  position: absolute; top: 20px; left: 20px; z-index: 3;
  font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 13px; letter-spacing: .03em;
  padding: 4px 10px; background: var(--sticker-yellow); color: var(--ink); transform: rotate(-3deg);
  box-shadow: 0 4px 10px rgba(17, 24, 39, .12);
}
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 18px; line-height: 1.25; margin-bottom: 10px; }
.card-body p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.card-body .text-link { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; font-size: 12.5px; }
.meta span { padding: 3px 9px; border-radius: 999px; background: #f3f4f6; color: var(--slate); font-weight: 500; }
.meta-small span { background: transparent; padding: 0; color: var(--muted); font-weight: 400; }

/* ---------- Méthode ---------- */
.method-band { background: linear-gradient(140deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .7)); border: 1px solid rgba(255, 255, 255, .85); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-card); }
.method-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.method-step span {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 14px;
  font-family: var(--display); font-size: 22px; color: var(--ink); background: var(--sticker-sky);
}
.method-step:nth-child(2) span { background: var(--sticker-apricot); }
.method-step:nth-child(3) span { background: var(--sticker-mint); }
.method-band .page-art { transform: none; }

/* ---------- Témoignages ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.testimonial-grid blockquote { position: relative; margin: 0; padding: 28px 26px 24px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 18px; }
.testimonial-grid blockquote:nth-child(2) { transform: rotate(.6deg); }
.testimonial-grid blockquote:nth-child(3) { transform: rotate(-.5deg); }
.testimonial-grid blockquote::before { content: "“"; position: absolute; top: -18px; left: 22px; font-family: var(--display); font-size: 70px; line-height: 1; color: var(--accent); }
.testimonial-grid blockquote p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); flex: 1; }
.testimonial-grid footer { display: grid; gap: 2px; font-size: 13px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.testimonial-grid footer strong { color: var(--ink); font-size: 14px; }

/* ---------- En-têtes de pages ---------- */
.page-hero, .catalogue-hero { padding: 56px 0 40px; }
.page-hero-grid, .catalogue-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.page-hero h1, .catalogue-hero h1 { font-size: clamp(40px, 5.6vw, 72px); }
.page-art, .catalogue-hero-art {
  position: relative; min-height: 340px; border-radius: 22px; border: 6px solid #fff;
  background-color: var(--sky); background-size: cover; background-position: center;
  box-shadow: var(--shadow-float); transform: rotate(2deg);
}
.page-art::before, .catalogue-hero-art::before { content: ""; position: absolute; top: -16px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(251, 233, 106, .82); border-radius: 3px; }
.page-art::after { display: none; }

/* ---------- Catalogue ---------- */
.catalogue-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: 96px; background: #fff; border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-card); }
.filters h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 22px; margin-bottom: 4px; }
.filters label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin: 16px 0 6px; }
.filters input, .filters select, .contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .03); transition: border-color .15s, box-shadow .15s;
}
.filters input:focus, .filters select:focus, .contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 91, 255, .18); }
.filters button { margin-top: 16px; width: 100%; padding: 10px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font-weight: 600; cursor: pointer; }
.filters button:hover { background: #f7f8fc; }
.catalogue-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.catalogue-toolbar strong { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 22px; color: var(--ink); }
.catalogue-toolbar span { color: var(--muted); font-size: 14px; }
.catalogue-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.search-large { display: flex; gap: 10px; }
.search-large input { flex: 1; }
.empty-results { grid-column: 1 / -1; padding: 40px 24px; text-align: center; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); color: var(--muted); }
.empty-results b { display: block; color: var(--ink); margin-bottom: 4px; }

/* ---------- Fiche formation ---------- */
.training-hero { padding: 56px 0 44px; }
.training-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.training-hero h1 { font-size: clamp(36px, 5vw, 64px); }
.training-hero .eyebrow { font-size: 19px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chips span, .pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-card); color: var(--slate); font-size: 13px; font-weight: 600; }
.pill { box-shadow: none; background: var(--accent-surface); color: var(--accent-ink); font-size: 12px; padding: 3px 10px; }
.training-hero-art {
  min-height: 340px; border-radius: 22px; border: 6px solid #fff; position: relative; overflow: hidden;
  display: grid; place-items: end start; box-shadow: var(--shadow-float); transform: rotate(2deg);
}
.training-hero-art > span {
  position: relative; z-index: 2; margin: 18px; padding: 8px 14px; max-width: 80%;
  font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 22px; line-height: 1.1; color: var(--ink);
  background: var(--sticker-yellow); transform: rotate(-3deg); box-shadow: 0 6px 14px rgba(17, 24, 39, .14);
}
.art-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .2) 1px, transparent 1px); background-size: 34px 34px; }
.anchor-nav { position: sticky; top: 84px; z-index: 20; padding: 10px 0; }
.anchor-nav .container { display: flex; gap: 4px; overflow-x: auto; padding: 6px; width: max-content; max-width: calc(100% - 40px); background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 999px; box-shadow: var(--shadow-card); scrollbar-width: none; }
.anchor-nav a { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--slate); white-space: nowrap; }
.anchor-nav a:hover { background: var(--ink); color: #fff; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.two-col > div > p { color: var(--slate); max-width: 62ch; }
.check-list { list-style: none; padding: 0; margin: 18px 0 30px; display: grid; gap: 10px; }
.check-list li { position: relative; padding: 14px 16px 14px 50px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-card); color: var(--ink); }
.check-list li::before { content: "✓"; position: absolute; left: 14px; top: 13px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--sticker-mint); color: #0f5e41; }
.content-card { margin-top: 14px; }
.content-card h3 { margin-bottom: 6px; }
.sticky-card { position: sticky; top: 150px; background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-float); }
.sticky-card h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 24px; }
.sticky-card dl { margin: 14px 0 20px; }
.sticky-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.sticky-card dt { color: var(--muted); }
.sticky-card dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.sticky-card small { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.program-grid article span { display: inline-block; font-family: var(--display); font-size: 30px; line-height: 1; color: var(--accent); margin-bottom: 10px; }
.program-grid article h3 { margin-bottom: 6px; }
.format-mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.cta-panel {
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
  padding: 44px 48px; border-radius: var(--radius-lg);
  background: linear-gradient(115deg, #ffe7d4 0%, #fff 50%, #dcebff 100%);
  box-shadow: var(--shadow-card);
}
.cta-panel h2 { margin-bottom: 10px; }
.cta-panel p { margin: 0; max-width: 60ch; color: var(--slate); }
.cta-panel .actions { margin-top: 0; flex: none; }
.cta-panel > .btn { flex: none; }
.faq-item { background: #fff; border-radius: 16px; padding: 4px 20px; margin-top: 10px; box-shadow: var(--shadow-card); }
.faq-item summary { padding: 14px 0; font-weight: 650; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); transition: transform .15s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 16px; color: var(--muted); }

/* ---------- Formats, ressources, contact, à propos ---------- */
.comparison { overflow-x: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); margin-top: 24px; }
.comparison table { border-collapse: collapse; width: 100%; min-width: 720px; }
.comparison th, .comparison td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.comparison tr:last-child td { border-bottom: 0; }
.comparison th { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 17px; letter-spacing: .02em; color: var(--ink); background: #fafbfe; }
.comparison td { color: var(--slate); }
.comparison td:first-child { font-weight: 650; color: var(--ink); }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.resource-card { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-card); transition: transform .15s, box-shadow .15s; }
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.resource-card > .resource-visual { margin: 10px 10px 0; }
.resource-card > div:last-child { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.resource-card h3 { margin: 12px 0 8px; font-size: 18px; line-height: 1.25; }
.resource-card p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.resource-card small { display: block; color: var(--subtle); margin: 14px 0 10px; font-size: 13px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.contact-grid > div > p { color: var(--slate); }
.contact-form { display: grid; gap: 16px; background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-float); }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-form textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.contact-form .btn { justify-self: start; }
.contact-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: var(--slate); }
.contact-steps li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 16px; background: var(--sticker-sky); color: var(--ink); }
.contact-steps li:nth-child(2) span { background: var(--sticker-apricot); }
.contact-steps li:nth-child(3) span { background: var(--sticker-mint); }
.contact-steps b { color: var(--ink); }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { text-align: left; }
.stat strong { display: block; font-family: var(--display); font-weight: 500; font-size: 46px; line-height: 1; color: var(--ink); margin-bottom: 6px; }
.stat span { font-size: 14px; color: var(--muted); }
.notice { padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); color: var(--slate); font-size: 14.5px; }
.notice strong { color: var(--ink); }

/* ---------- Pied de page ---------- */
.site-footer { margin: 48px auto 0; width: min(var(--max), calc(100% - 24px)); border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--ink); color: #d1d5db; padding: 52px 0 22px; }
.site-footer .container { width: calc(100% - 64px); }
.brand-light strong { color: #fff; }
.brand-light small { color: #9ca3af; }
.brand-light .brand-mark { background: #fff; color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 34px; }
.footer-grid h4 { font-family: var(--hand); font-weight: 400; font-size: 20px; text-transform: uppercase; letter-spacing: .04em; color: #fff; margin-bottom: 12px; }
.footer-grid a { display: block; margin: 8px 0; font-size: 14px; color: #d1d5db; }
.footer-grid a:hover { color: #fff; }
.footer-grid a.brand { display: flex; margin: 0; }
.footer-grid p { color: #9ca3af; max-width: 34ch; margin-top: 16px; font-size: 14.5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #9ca3af; }

/* ---------- Guides ---------- */
.guide-hero { padding: 56px 0 44px; }
.guide-hero h1 { font-size: clamp(34px, 4.6vw, 58px); }
.guide-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 46px; align-items: center; }
.guide-summary { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-float); transform: rotate(1.5deg); }
.guide-summary strong, .guide-toc strong { display: block; font-family: var(--hand); font-weight: 400; font-size: 20px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin-bottom: 10px; }
.guide-summary ul { margin: 0; padding-left: 20px; }
.guide-summary li { margin: 8px 0; color: var(--slate); }
.guide-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 56px; justify-content: center; align-items: start; }
.guide-toc { position: sticky; top: 110px; display: grid; gap: 4px; background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--shadow-card); }
.guide-toc a { display: block; padding: 6px 10px; margin: 0 -10px; border-radius: 10px; font-size: 13.5px; line-height: 1.35; color: var(--slate); }
.guide-toc a:hover { background: #f3f4f6; color: var(--ink); }
.guide-toc .text-link { margin-top: 10px; color: var(--accent-ink); font-weight: 600; }
.guide-article { font-size: 17px; line-height: 1.75; color: var(--slate); background: #fff; border-radius: var(--radius-lg); padding: 44px 48px; box-shadow: var(--shadow-card); }
.guide-intro { font-size: 20px; line-height: 1.55; color: var(--ink); margin: 0 0 40px; }
.guide-article section { scroll-margin-top: 110px; margin: 0 0 40px; }
.guide-article h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.guide-article p { margin: 0 0 16px; }
.guide-article ul { padding-left: 22px; }
.guide-article li { margin: 7px 0; }
.guide-cta { margin-top: 48px; padding: 28px; border-radius: 22px; background: linear-gradient(115deg, #ffe7d4 0%, #fff 55%, #dcebff 100%); display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.guide-cta h2 { margin-bottom: 8px; }
.guide-cta p { margin: 0; }
.guide-cta .btn { flex: none; }

/* ---------- Images des maquettes ---------- */
.card-visual.has-photo, .resource-visual.has-photo { background: none; }
.card-visual.has-photo::before, .resource-visual.has-photo::before { display: none; }
.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.training-hero-art.has-photo { background: var(--sky); }
.training-hero-art.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.training-hero-art.has-photo .art-grid { background: linear-gradient(180deg, transparent 45%, rgba(17, 24, 39, .18)); }
.guide-summary-photo { overflow: hidden; padding: 0; }
.guide-summary-photo img { width: 100%; height: 190px; object-fit: cover; display: block; }
.guide-summary-photo strong { padding: 20px 24px 0; }
.guide-summary-photo ul { padding: 0 24px 24px 42px; }
.hero-caption-note { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .main-nav a { padding: 7px 10px; }
  .nav-wrap { gap: 12px; }
  .nav-actions .btn-ghost { display: none; }
}
@media (max-width: 1180px) {
  .main-nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    background: #fff; border-radius: 18px; box-shadow: var(--shadow-float); font-size: 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-wrap { position: relative; }
  .nav-actions { order: 3; }
  .nav-actions .btn-ghost { display: inline-flex; }
}
@media (max-width: 980px) {
  .hero-grid, .training-hero-grid, .page-hero-grid, .catalogue-hero-grid, .two-col, .contact-grid, .guide-hero-grid, .guide-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .hero-art { max-width: 560px; width: 100%; margin: 12px auto 0; }
  .page-art, .catalogue-hero-art, .training-hero-art { min-height: 280px; max-width: 620px; }
  .formation-grid, .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .format-grid, .enterprise-grid, .principle-grid, .format-mini-grid, .program-grid, .resource-grid, .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalogue-layout { grid-template-columns: 1fr; }
  .filters, .sticky-card, .guide-toc { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-layout { max-width: 800px; margin: 0 auto; }
  .guide-summary { transform: none; }
}
@media (max-width: 720px) {
  .container, .narrow { width: calc(100% - 32px); }
  .site-header { width: calc(100% - 16px); top: 8px; margin-top: 8px; border-radius: 16px; }
  .nav-wrap { min-height: 58px; gap: 10px; }
  .brand small { display: none; }
  .brand strong { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; font-size: 14px; }
  .nav-actions { display: none; }
  .main-nav .nav-extra { display: block; }
  .main-nav .nav-extra-cta { margin-top: 6px; background: var(--ink); color: #fff; text-align: center; font-weight: 600; }
  .main-nav .nav-extra-cta:hover { background: var(--ink-hover); color: #fff; }
  .nav-toggle { width: 38px; height: 38px; }
  h1 { font-size: 44px; }
  .page-hero h1, .catalogue-hero h1 { font-size: 40px; }
  .training-hero h1 { font-size: 36px; }
  .eyebrow { font-size: 19px; }
  .lead { font-size: 17px; }
  .section { padding: 56px 0; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
  .objective-grid, .formation-grid, .catalogue-grid, .format-grid, .enterprise-grid, .principle-grid, .program-grid, .format-mini-grid, .resource-grid, .testimonial-grid, .stat-grid, .method-steps { grid-template-columns: 1fr; }
  .testimonial-grid blockquote { transform: none !important; }
  .method-band { padding: 28px 20px; }
  .cta-panel { flex-direction: column; align-items: flex-start; padding: 30px 22px; }
  .hero-art { min-height: 470px; }
  .hero-art .photo-tape { left: 8%; right: 0; height: 270px; }
  .c-method { width: 178px; top: 116px; padding: 14px; }
  .c-training { width: 248px; top: 276px; right: 0; }
  .s-mint { left: 0; top: 40px; font-size: 13px; }
  .s-yellow { font-size: 13px; }
  .hand-note, .hand-arrow { display: none; }
  .hero-stats { gap: 22px; }
  .hero-stats dd { font-size: 30px; }
  .page-art, .catalogue-hero-art, .training-hero-art { min-height: 220px; transform: rotate(1.2deg); }
  .anchor-nav { top: 74px; }
  .anchor-nav .container { max-width: calc(100% - 32px); }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .site-footer .container { width: calc(100% - 40px); }
  .guide-article { padding: 26px 20px; font-size: 16.5px; }
  .guide-intro { font-size: 18.5px; }
  .guide-cta { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 22px; }
  .catalogue-toolbar { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .formation-card, .resource-card, a.objective-card { transition: none; }
  .btn-primary:hover, .formation-card:hover, .resource-card:hover, a.objective-card:hover { transform: none; }
}
