/* fonts:start — polices hébergées sur le site (DM Sans, Manrope ; latin et latin étendu) */
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* fonts:end */
/* ============================================================
   RG Conseil — feuille de style « mobile d'abord »
   Base = téléphone. Puis : 600px (grand téléphone / petite tablette),
   820px (tablette), 1050px (ordinateur).
   ============================================================ */
:root {
  --bg: #f4f5f6;
  --white: #fff;
  --surface: #fafbfc;
  --surface-2: #edf0f2;
  --ink: #1b252e;
  --ink-2: #34414c;
  --muted: #55626d;
  --muted-light: #6b7781;
  --accent: #47606b;
  --accent-soft: #8ea5af;
  --line: rgba(38,49,59,.10);
  --line-strong: rgba(38,49,59,.17);
  --shadow: 0 12px 40px rgba(35,45,55,.055);
  --shadow-hover: 0 1px 2px rgba(20,30,40,.04), 0 26px 50px -18px rgba(20,35,50,.20);
  --danger: #b3261e;
  --ok: #2f6b4f;
  --max: 1240px;
  --gutter: 18px;
  --section: 64px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 600px) { :root { --gutter: 22px; --section: 80px; } }
@media (min-width: 820px) { :root { --gutter: 32px; --section: 100px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "DM Sans", system-ui, sans-serif; font-size: 15px; line-height: 1.65;
  background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.menu-open, body.modal-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; overflow-wrap: break-word; hyphens: manual; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid rgba(71,96,107,.45); outline-offset: 3px;
}
::selection { background: #d3dee2; color: var(--ink); }
.container { width: calc(100% - 2 * var(--gutter)); max-width: var(--max); margin: 0 auto; }
section { padding: var(--section) 0; }

/* ---------- Logo ---------- */
.logo, .footer-logo {
  display: inline-flex; align-items: center; gap: 11px; min-height: 44px; text-decoration: none; flex-shrink: 0; color: var(--ink);
}
.logo-mark { height: 30px; width: auto; display: block; overflow: visible; }
.logo-mark .r { stroke: var(--ink); }
.logo-mark .g { stroke: var(--accent); }
.logo-word {
  font-family: "Manrope", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--ink); line-height: 1; padding-top: 2px;
}
.footer-logo .logo-mark .r { stroke: #fff; }
.footer-logo .logo-mark .g { stroke: #9fb3bc; }
.footer-logo .logo-word { color: #fff; }
@media (min-width: 820px) { .logo-mark { height: 34px; } .logo-word { font-size: 14px; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; z-index: 100; inset: 0 0 auto;
  background: rgba(248,249,250,.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: calc(100% - 2 * var(--gutter)); max-width: 1360px; height: 64px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.menu-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; font-size: 20px; line-height: 1;
}
.nav-button { display: none; }
.nav-links {
  display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 8px var(--gutter) 22px;
  background: #f8f9fa; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(20,35,50,.25);
  flex-direction: column; align-items: stretch; gap: 0;
}
.nav-links.open { display: flex; }
.nav-links a {
  padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2);
  font-size: 17px; text-decoration: none; transition: color .2s;
}
.nav-links a:last-child { border-bottom: 0; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 1050px) {
  .nav-inner { height: 80px; }
  .menu-toggle { display: none; }
  .nav-links {
    display: flex; position: static; padding: 0; background: none; border: 0;
    flex-direction: row; align-items: center; gap: 26px;
  }
  .nav-links a { padding: 0; border: 0; font-size: 14px; }
  .nav-button {
    display: inline-block; padding: 11px 20px; border-radius: 999px; background: var(--ink); color: #fff;
    font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: .25s;
  }
  .nav-button:hover { background: var(--accent); transform: translateY(-2px); }
}
@media (min-width: 1280px) { .nav-links { gap: 34px; } }

/* ---------- Hero ---------- */
.hero {
  padding: 104px 0 64px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 84% 15%, rgba(155,173,181,.20), transparent 42%),
    linear-gradient(135deg,#f8f9fa,#edf0f2);
}
.hero::after {
  content: ""; position: absolute; width: 650px; height: 650px; border-radius: 50%;
  border: 1px solid rgba(101,125,135,.12); right: -420px; top: 40px; pointer-events: none;
  box-shadow: 0 0 0 60px rgba(101,125,135,.025), 0 0 0 120px rgba(101,125,135,.018);
}
.hero-content { display: grid; grid-template-columns: minmax(0,1fr); gap: 40px; position: relative; z-index: 2; }
.hero h1 {
  margin-bottom: 20px; font-size: clamp(38px, 11vw, 54px); line-height: 1.07; letter-spacing: -.045em;
  font-weight: 600; color: var(--ink);
}
.hero h1 em, .section-heading h2 em, .training-intro h2 em, .contact-panel h2 em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 570px; margin-bottom: 0; color: var(--ink-2); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
@media (min-width: 600px) {
  .hero { padding: 124px 0 80px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 820px) {
  .hero { padding: 150px 0 100px; }
  .hero::after { right: -250px; top: 75px; }
  .hero h1 { font-size: clamp(54px, 6.4vw, 76px); letter-spacing: -.052em; }
  .hero-description { font-size: 17.5px; }
}
@media (min-width: 1050px) {
  .hero { min-height: 690px; padding: 155px 0 100px; }
  .hero-content { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 72px; align-items: center; }
}

/* Métiers : toujours sur une seule ligne, la taille s'adapte à l'écran */
.eyebrow, .section-kicker {
  display: flex; align-items: center; color: var(--accent); font-weight: 700; text-transform: uppercase;
}
.section-kicker { gap: 11px; margin-bottom: 14px; font-size: 11px; letter-spacing: 2px; }
.eyebrow-links {
  flex-wrap: nowrap; white-space: nowrap; margin-bottom: 22px;
  gap: clamp(5px, 1.6vw, 14px); font-size: clamp(10.5px, 3.15vw, 15px); letter-spacing: clamp(.6px, .36vw, 2.6px);
}
.eyebrow-links::before { content: ""; display: none; width: 36px; height: 1px; background: var(--accent); flex-shrink: 0; }
.eyebrow-links a {
  position: relative; color: var(--accent); text-decoration: none; padding: 6px 0; transition: color .3s var(--ease);
}
.eyebrow-links a::after {
  content: ""; position: absolute; left: 0; right: .2em; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.eyebrow-links a:hover { color: var(--ink); }
.eyebrow-links a:hover::after { transform: scaleX(1); }
.eyebrow-links span { color: var(--muted-light); }
@media (min-width: 600px) { .eyebrow-links::before { display: block; } .eyebrow-links { margin-bottom: 30px; } }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px;
  padding: 14px 24px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none;
  transition: .25s; cursor: pointer;
}
.btn-dark { background: var(--ink); color: #fff; border: 0; }
.btn-dark:hover { background: var(--accent); transform: translateY(-2px); }
.btn-light { background: #fff; border: 1px solid var(--line-strong); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); border-color: rgba(38,49,59,.32); }

/* Panneau des modes d'intervention */
.hero-panel {
  padding: 22px; border: 1px solid rgba(255,255,255,.95); border-radius: 16px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow);
}
.panel-label { margin-bottom: 12px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.hero-offer { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hero-offer:last-of-type { border-bottom: 0; }
.offer-number { color: var(--accent); font-size: 13px; font-weight: 700; padding-top: 2px; }
.offer-info h3 { margin: 0 0 5px; font-size: 18px; }
.offer-info p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.hero-footer { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (min-width: 600px) { .hero-panel { padding: 32px; max-width: 650px; } }

/* ---------- Repères ---------- */
.trust-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 14px; padding: 24px 0; }
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-item strong { font-family: "Manrope",sans-serif; font-size: 20px; }
.trust-item span { color: var(--muted); font-size: 13px; }
@media (min-width: 820px) { .trust-inner { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; padding: 26px 0; } .trust-item strong { font-size: 24px; } }

/* ---------- Titres de section ---------- */
.section-heading, .training-intro { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.section-heading h2, .training-intro h2 {
  margin-bottom: 0; font-size: clamp(30px, 8vw, 40px); line-height: 1.15; letter-spacing: -.04em; font-weight: 650;
}
.section-intro, .training-intro p { max-width: 540px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
@media (min-width: 820px) {
  .section-heading { flex-direction: row; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
  .training-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 50px; align-items: end; margin-bottom: 42px; }
  .training-intro h2 { max-width: 590px; }
  .section-heading h2, .training-intro h2 { font-size: clamp(36px, 4vw, 47px); }
  .section-intro, .training-intro p { font-size: 15.5px; }
}

/* ---------- Grilles ---------- */
.training-grid, .services-grid, .catalog-grid, .method-grid, .audience-grid, .team-grid, .experience-grid {
  display: grid; grid-template-columns: minmax(0,1fr); gap: 14px;
}
@media (min-width: 480px) { .audience-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 600px) {
  .training-grid, .experience-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .experience-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 820px) {
  .services-grid, .method-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
  .catalog-grid, .team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
}
@media (min-width: 1050px) {
  .training-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
  .audience-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .team-grid { gap: 18px; }
}

/* ---------- Cartes : base commune ---------- */
.training-box, .service-card, .catalog-card, .audience-card, .team-card, .experience-card, .method-card {
  position: relative; isolation: isolate; overflow: hidden;
  transition: translate .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease), opacity .65s ease, transform .65s ease;
}
.training-box::before, .service-card::before, .catalog-card::before, .audience-card::before, .team-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 1;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.training-box::after, .service-card::after, .catalog-card::after, .audience-card::after, .team-card::after,
.experience-card::after, .method-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(520px circle at var(--mx,50%) var(--my,-10%), rgba(71,96,107,.075), transparent 45%);
  transition: opacity .45s var(--ease);
}
.training-box:focus-within, .service-card:focus-within, .catalog-card:focus-within, .audience-card:focus-within, .team-card:focus-within { border-color: rgba(71,96,107,.4); }
.training-box h3, .service-card h3, .catalog-card h3, .audience-card h3 { transition: color .35s var(--ease); }
.training-index, .service-index { transition: letter-spacing .45s var(--ease); }
@media (hover: hover) {
  .training-box:hover, .service-card:hover, .catalog-card:hover, .audience-card:hover, .team-card:hover,
  .experience-card:hover, .method-card:hover {
    translate: 0 -6px; transform: none; background-color: #fff; border-color: rgba(71,96,107,.32); box-shadow: var(--shadow-hover);
  }
  .training-box:hover::before, .service-card:hover::before, .catalog-card:hover::before, .audience-card:hover::before, .team-card:hover::before { transform: scaleX(1); }
  .training-box:hover::after, .service-card:hover::after, .catalog-card:hover::after, .audience-card:hover::after,
  .team-card:hover::after, .experience-card:hover::after, .method-card:hover::after { opacity: 1; }
  .training-box:hover h3, .service-card:hover h3, .catalog-card:hover h3, .audience-card:hover h3 { color: var(--accent); }
  .training-box:hover .training-index, .service-card:hover .service-index { letter-spacing: 1.9px; }
}
.training-link, .card-link { display: inline-flex; align-items: center; gap: 6px; transition: gap .3s var(--ease), color .3s; }
.training-link:hover, .card-link:hover { gap: 10px; }

/* ---------- Formations ---------- */
.training-section { background: #fff; }
.training-box { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.training-index { margin-bottom: 16px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1.3px; }
.training-box h3 { margin-bottom: 9px; font-size: 18px; }
.training-box p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.training-link { margin-top: 16px; color: var(--accent); font-size: 13.5px; font-weight: 700; text-decoration: none; min-height: 32px; }
@media (min-width: 820px) { .training-box { padding: 26px; } }

/* ---------- Expertises ---------- */
.services { background: var(--bg); }
.service-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.service-index { margin-bottom: 22px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1.4px; }
.service-card h3 { margin-bottom: 11px; font-size: 21px; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.service-bottom { display: block; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--accent); font-size: 12.5px; font-weight: 700; }
.service-card:target, .service-card.is-arrived { animation: arrive 2.4s var(--ease); border-color: var(--accent); }
@keyframes arrive {
  0%, 30% { box-shadow: 0 0 0 4px rgba(71,96,107,.28), 0 26px 50px -18px rgba(20,35,50,.22); }
  100% { box-shadow: 0 0 0 0 rgba(71,96,107,0); }
}
@media (min-width: 820px) { .service-card { min-height: 260px; padding: 31px; } .service-card h3 { font-size: 22px; } }

/* ---------- Catalogue ---------- */
.catalogue { background: #edf0f2; }
.catalogue .section-heading { margin-bottom: 28px; }
.catalogue-toolbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
/* Sur mobile, les filtres défilent horizontalement au lieu de s'empiler */
.filters {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0; scroll-snap-align: start; min-height: 42px; padding: 10px 16px; border: 1px solid var(--line-strong);
  border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 13.5px; cursor: pointer; transition: .2s; white-space: nowrap;
}
.filter-btn:hover, .filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.search-input {
  width: 100%; min-height: 46px; padding: 11px 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 16px; outline: none;
}
.search-input::placeholder { color: var(--muted-light); }
.search-input:focus { border-color: var(--accent); }
.results { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.catalog-card { display: flex; flex-direction: column; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.catalog-card[hidden] { display: none !important; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.card-domain { color: var(--accent); font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.card-type { padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 11px; font-weight: 700; white-space: nowrap; }
.card-type.conseil { background: #e9edf0; }
.card-type.accompagnement { background: #e7eeec; }
.card-size { display: flex; gap: 6px; margin-bottom: 12px; }
.card-size span { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; }
.card-size span:not(.active) { border-style: dashed; color: var(--muted-light); }
.card-size span.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.catalog-card h3 { margin-bottom: 6px; font-size: 18px; line-height: 1.4; }
.card-tagline { margin-bottom: 14px; color: var(--accent); font-size: 14px; }
.card-objectives { flex: 1; margin: 0; padding: 0; list-style: none; }
.card-objectives li { position: relative; padding: 5px 0 5px 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.card-objectives li::before { content: ""; position: absolute; left: 0; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.card-footer { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.card-target { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
button.card-link {
  flex-shrink: 0; min-height: 42px; padding: 9px 16px; border: 1px solid rgba(71,96,107,.35); border-radius: 999px;
  background: #fff; color: var(--accent); font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, gap .3s var(--ease);
}
button.card-link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty-state { display: none; padding: 30px; border-radius: 12px; background: #fff; color: var(--muted); text-align: center; font-size: 14px; }
.empty-state.visible { display: block; }
.catalogue-cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 24px; padding: 24px;
  border-radius: 16px; background: var(--ink); color: #fff;
  background-image: radial-gradient(600px 200px at 85% 0%, rgba(142,165,175,.28), transparent 70%);
}
.catalogue-cta h3 { margin: 0 0 6px; font-size: 20px; color: #fff; }
.catalogue-cta p { margin: 0; color: #c3ccd2; font-size: 14.5px; max-width: 560px; }
.catalogue-cta .btn { width: 100%; background: #fff; color: var(--ink); border: 0; }
.catalogue-cta .btn:hover { background: #e6ecee; }
@media (min-width: 600px) {
  .catalogue-toolbar { flex-direction: row; justify-content: space-between; align-items: center; }
  .filters { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .search-input { width: 260px; font-size: 14px; }
  .catalog-card { padding: 26px; }
  .card-footer { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
@media (min-width: 820px) {
  .catalogue .section-heading { margin-bottom: 35px; }
  .catalogue-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; padding: 30px 34px; margin-top: 28px; }
  .catalogue-cta .btn { width: auto; flex-shrink: 0; }
  .catalog-card h3 { font-size: 19px; }
}

/* ---------- Méthode, interlocuteurs ---------- */
.method { background: #fff; }
.method-card { padding: 24px; border-left: 2px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--bg); }
.method-card h3 { margin-bottom: 9px; font-size: 20px; }
.method-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.audience { background: #edf0f2; }
.audience-card { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.audience-card h3 { margin-bottom: 7px; font-size: 16.5px; }
.audience-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
@media (min-width: 820px) { .method-card { padding: 27px; } }

/* ---------- Équipe ---------- */
.team { background: #fff; }
.team-card { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.team-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.avatar {
  display: grid; place-items: center; flex: 0 0 54px; width: 54px; height: 54px; border-radius: 11px;
  background: linear-gradient(135deg,#82949c,#465c66); color: #fff; font-family: "Manrope",sans-serif; font-size: 19px; font-weight: 700;
}
.team-name { margin-bottom: 3px; font-family: "Manrope",sans-serif; font-size: 19px; font-weight: 700; }
.team-role { color: var(--accent); font-size: 11px; letter-spacing: .8px; text-transform: uppercase; }
.team-bio { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.team-tags span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 12px; }
@media (min-width: 820px) { .team-card { padding: 31px; } .avatar { flex-basis: 58px; width: 58px; height: 58px; } }

/* ---------- Chiffres ---------- */
.experience { background: var(--bg); }
.experience-card { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.experience-card strong { display: block; margin-bottom: 4px; font-family: "Manrope",sans-serif; font-size: 32px; }
.experience-card span { color: var(--muted); font-size: 13.5px; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(ellipse at 80% 20%, rgba(137,158,168,.18), transparent 40%), #e9edef; }
.contact-panel {
  display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; padding: 26px 18px;
  border: 1px solid #fff; border-radius: 16px; background: rgba(255,255,255,.82); box-shadow: var(--shadow);
}
.contact-panel h2 { margin-bottom: 15px; font-size: clamp(32px, 9vw, 50px); line-height: 1.12; letter-spacing: -.04em; }
.contact-intro p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.contact-actions { display: flex; margin-top: 24px; }
.contact-actions .btn { width: 100%; }
.contact-meta { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.contact-meta div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-meta span { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.contact-meta a { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.contact-meta a:hover { color: var(--accent); }
.form-card { padding: 20px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20,30,40,.04), 0 18px 40px -22px rgba(20,35,50,.18); }
@media (min-width: 600px) {
  .contact-panel { padding: 40px; }
  .contact-actions .btn { width: auto; }
  .form-card { padding: 30px; }
}
@media (min-width: 900px) {
  .contact-panel { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 56px; padding: 56px; align-items: start; }
  .form-card { padding: 34px; }
}

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; }
.form[hidden] { display: none; }
.form-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label, .group-label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.req { color: var(--accent); }
.input {
  width: 100%; min-height: 48px; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: #fff; color: var(--ink); font-size: 16px; line-height: 1.4; outline: none; transition: border-color .25s, box-shadow .25s;
}
.input::placeholder { color: #8a959e; }
.input:hover { border-color: rgba(38,49,59,.32); }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(71,96,107,.16); }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2347606b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
textarea.input { min-height: 120px; resize: vertical; }
.err { display: none; color: var(--danger); font-size: 12.5px; }
.field.invalid .input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(179,38,30,.10); }
.field.invalid .err, fieldset.invalid .err { display: block; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; float: left; width: 100%; }
legend + * { clear: both; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink-2); font-size: 14px; transition: .25s var(--ease); cursor: pointer; user-select: none;
}
.chip:hover span { border-color: rgba(38,49,59,.34); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(71,96,107,.25); }
.theme-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; margin-top: 10px; max-height: 300px; overflow: auto; padding: 2px 4px 2px 2px; }
.theme-opt { position: relative; }
.theme-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.theme-opt > span {
  display: flex; gap: 11px; align-items: flex-start; height: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: #fff; font-size: 14px; line-height: 1.4; color: var(--ink-2); transition: .25s var(--ease); cursor: pointer;
}
.theme-opt > span::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 1px; border-radius: 6px; border: 1.5px solid #9aa5ad; background: #fff center/11px no-repeat; transition: .2s;
}
.theme-opt .t { display: block; }
.theme-opt .t small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.theme-opt:hover > span { border-color: rgba(38,49,59,.34); }
.theme-opt input:checked + span { border-color: var(--accent); background: #f3f6f7; color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); }
.theme-opt input:checked + span::before {
  background-color: var(--ink); border-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2l3.3 3.3L11 1.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.theme-opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(71,96,107,.25); }
.theme-count { font-size: 12.5px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.55; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: 0 0 20px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.consent.invalid { color: var(--danger); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 14px; margin-top: 4px; }
.form-actions .note { font-size: 12.5px; color: var(--muted); margin: 0; }
.form-actions .btn { width: 100%; }
.form button[type="submit"][aria-busy="true"] { opacity: .65; pointer-events: none; }
.form-success { display: none; text-align: center; padding: 28px 10px; }
.form-success.visible { display: block; animation: pop .5s var(--ease); }
.form-success .tick { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: #e8f1ec; color: var(--ok); }
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 15px; max-width: 420px; margin: 0 auto 22px; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (min-width: 600px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 16px; }
  .span-2 { grid-column: 1 / -1; }
  .theme-list { grid-template-columns: repeat(2, minmax(0,1fr)); max-height: 260px; }
  .form-actions { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .form-actions .btn { width: auto; }
  .input { font-size: 15px; }
}

/* ---------- Fenêtre « Être rappelé » : feuille montante sur mobile, fenêtre centrée ensuite ---------- */
.modal {
  width: 100%; max-width: none; max-height: 94vh; margin: auto 0 0; padding: 0; border: 0; border-radius: 22px 22px 0 0;
  background: var(--bg); color: var(--ink); overflow: auto; overscroll-behavior: contain; box-shadow: 0 40px 120px -20px rgba(15,25,35,.45);
}
.modal::backdrop { background: rgba(22,30,38,.48); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal[open] { animation: sheetIn .45s var(--ease); }
.modal[open]::backdrop { animation: fadeIn .35s ease; }
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-head {
  position: sticky; top: 0; z-index: 2; padding: 22px 20px 16px;
  background: rgba(244,245,246,.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
}
.modal-head h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.15; letter-spacing: -1px; padding-right: 48px; }
.modal-head h2 em { color: var(--accent); font-style: normal; }
.modal-head p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 600px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; transition: .25s var(--ease);
}
.modal-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.modal-body { padding: 18px 16px 26px; }
.step { padding: 18px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.step-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; font-family: "Manrope",sans-serif; font-size: 16px; font-weight: 700; }
.step-title b { color: var(--accent); font-size: 12px; letter-spacing: 1.4px; }
.step-sub { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); }
@media (min-width: 600px) {
  .modal { width: min(780px, calc(100% - 32px)); max-height: min(92vh, 980px); margin: auto; border-radius: 24px; }
  .modal[open] { animation: modalIn .45s var(--ease); }
  @keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
  .modal-head { padding: 30px 36px 22px; }
  .modal-head h2 { font-size: 30px; letter-spacing: -1.2px; }
  .modal-close { top: 22px; right: 22px; }
  .modal-body { padding: 26px 36px 34px; }
  .step { padding: 24px; }
}

/* ---------- Pied de page ---------- */
footer { padding: 44px 0 22px; background: #1b252e; color: #fff; }
.footer-main { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 28px; }
.footer-main p { margin: 10px 0 0; color: #b9c3ca; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-links a { display: inline-block; padding: 8px 0; color: #d0d6da; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.13); color: #aeb8bf; font-size: 12px; }
@media (min-width: 820px) {
  footer { padding: 48px 0 22px; }
  .footer-main { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------- Mouvement ---------- */
:where(.reveal) { transition: opacity .65s ease, transform .65s ease; }
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Composants multipages (mobile d'abord)
   ============================================================ */
.nav-links a[aria-current] { color: var(--ink); font-weight: 700; }
.nav-cta-mobile { display: block; margin-top: 14px; text-align: center; }
.nav-links a.nav-cta-mobile { padding: 14px 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; }
@media (min-width: 1050px) { .nav-links a.nav-cta-mobile { display: none; } }

/* En-tête des pages intérieures */
.page-hero {
  padding: 96px 0 40px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 88% 0%, rgba(155,173,181,.22), transparent 45%), linear-gradient(135deg,#f8f9fa,#edf0f2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: 0 0 14px; font-size: clamp(34px, 9vw, 48px); line-height: 1.08; letter-spacing: -.045em; font-weight: 650; max-width: 860px; }
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero .lead { margin: 0; max-width: 680px; color: var(--ink-2); font-size: 16px; line-height: 1.8; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--muted-light); }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
@media (min-width: 820px) {
  .page-hero { padding: 140px 0 64px; }
  .page-hero h1 { font-size: clamp(44px, 5vw, 62px); }
  .page-hero .lead { font-size: 17.5px; }
}

/* Liens « en savoir plus » sur les cartes d'expertise de l'accueil */
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--accent); font-size: 13.5px; font-weight: 700; text-decoration: none; transition: gap .3s var(--ease); }
.card-more:hover { gap: 10px; }

/* Modalités : tuiles */
.modal-tiles { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.mtile { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.mtile .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: #eef2f4; color: var(--accent);
}
.mtile .ico svg { width: 22px; height: 22px; }
.mtile h3 { margin: 0 0 8px; font-size: 18px; }
.mtile p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
@media (min-width: 600px) { .modal-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1050px) { .modal-tiles.four { grid-template-columns: repeat(4, minmax(0,1fr)); } .modal-tiles.three { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.section-foot { margin-top: 26px; }

/* Étapes */
.steps { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps li { position: relative; padding: 0 0 28px 58px; counter-increment: st; }
.steps li::before {
  content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700;
}
.steps li::after { content: ""; position: absolute; left: 19.5px; top: 44px; bottom: 6px; width: 1px; background: var(--line-strong); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 6px 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
  .steps li { padding: 58px 0 0; }
  .steps li::after { left: 48px; right: 0; top: 19.5px; bottom: auto; width: auto; height: 1px; }
}

/* Questions fréquentes */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .3s; }
.faq details[open] { border-color: rgba(71,96,107,.35); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 16px 20px; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 22px; font-weight: 400; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* Bandeau d'appel final */
.cta-band { padding: var(--section) 0; background: var(--ink); color: #fff; background-image: radial-gradient(800px 300px at 85% 0%, rgba(142,165,175,.25), transparent 70%); }
.cta-band h2 { margin: 0 0 12px; font-size: clamp(30px, 8vw, 46px); line-height: 1.12; letter-spacing: -.04em; color: #fff; }
.cta-band h2 em { color: #b7c6cd; font-style: normal; }
.cta-band p { margin: 0; color: #c3ccd2; font-size: 16px; max-width: 620px; line-height: 1.8; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.cta-band .btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cta-band .btn-light:hover { border-color: #fff; }
.cta-band .btn-white { background: #fff; color: var(--ink); border: 0; }
.cta-band .btn-white:hover { background: #e6ecee; transform: translateY(-2px); }
@media (min-width: 600px) { .cta-band .actions { flex-direction: row; flex-wrap: wrap; } }

/* Catalogue : lien vers la fiche */
.catalog-card h3 a { text-decoration: none; color: inherit; }
.catalog-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.card-actions .card-more { margin-top: 0; }

/* Fiche formation */
.detail { display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; }
.detail-main h2 { margin: 0 0 14px; font-size: 24px; letter-spacing: -.03em; }
.detail-main h2:not(:first-child) { margin-top: 38px; }
.detail-main p { color: var(--ink-2); font-size: 16px; line-height: 1.8; }
.obj-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.obj-list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; font-size: 15.5px; color: var(--ink-2);
}
.obj-list li b { flex: 0 0 auto; color: var(--accent); font-size: 13px; padding-top: 2px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.pill.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.aside-card { padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20,30,40,.04), 0 18px 40px -22px rgba(20,35,50,.18); }
.aside-card h2 { margin: 0 0 16px; font-size: 18px; }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.55; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card .small { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.aside-card .small a { color: var(--accent); }
@media (min-width: 960px) {
  .detail { grid-template-columns: minmax(0,1fr) 360px; gap: 48px; align-items: start; }
  .detail-aside { position: sticky; top: 104px; }
}
.related { margin-top: 8px; }

/* Équipe : chiffres */
.experience-card strong { color: var(--ink); }

/* Pages juridiques */
.prose { max-width: 760px; }
.prose h2 { margin: 36px 0 10px; font-size: 22px; }
.prose p, .prose li { color: var(--ink-2); font-size: 15.5px; line-height: 1.85; }
.todo { background: #fff6e0; border: 1px dashed #d8b45a; padding: 1px 6px; border-radius: 4px; font-size: .95em; }

/* Pied de page multipage */
.footer-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 30px; padding-bottom: 30px; }
.footer-grid h2 { margin: 0 0 10px; font-family: "DM Sans", sans-serif; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: #9fb3bc; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li a { display: inline-block; padding: 6px 0; color: #d0d6da; font-size: 14px; text-decoration: none; }
.footer-grid li a:hover { color: #fff; }
.footer-brand p { margin: 12px 0 0; color: #b9c3ca; font-size: 14px; max-width: 320px; line-height: 1.7; }
.footer-bottom a { color: inherit; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Page 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.notfound .big { font-family: "Manrope",sans-serif; font-size: 96px; font-weight: 800; letter-spacing: -.06em; color: var(--accent); line-height: 1; }

/* Pied des cartes : public, puis actions alignées sur une ligne */
.catalog-card .card-footer { flex-direction: column; align-items: flex-start; gap: 14px; }
.catalog-card .card-actions { width: 100%; justify-content: space-between; }

/* Conseil & accompagnement : livrable / résultat visé */
.card-deliverable { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #f1f4f5; border-left: 2px solid var(--accent); color: var(--ink); font-size: 14px; line-height: 1.5; }
.card-deliverable span { display: block; margin-bottom: 3px; color: var(--accent); font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.deliverable-box { margin: 0; padding: 20px 22px; border-radius: 14px; background: var(--ink); color: #fff !important; font-family: "Manrope", sans-serif; font-size: 18px !important; font-weight: 600; line-height: 1.5 !important; }
.detail-main h2 + .deliverable-box { margin-top: 0; }
.next-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.next-links a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15.5px; transition: border-color .3s, translate .3s var(--ease); }
.next-links a span { display: block; margin-bottom: 3px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.next-links a:hover { border-color: rgba(71,96,107,.4); translate: 0 -2px; }
@media (min-width: 600px) { .next-links { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.steps h3 a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(71,96,107,.35); }
.steps h3 a:hover { color: var(--accent); }
/* Fenêtre « Être rappelé » : groupes */
.theme-group { grid-column: 1 / -1; margin: 10px 0 2px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.theme-group:first-child { margin-top: 0; }

/* ---------- Pied de page compact : interlignes resserrés, pavés côte à côte ---------- */
footer { padding: 36px 0 18px; }
.footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px 20px; padding-bottom: 24px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; max-width: 340px; }
.footer-brand .footer-countries { margin-top: 4px; color: #9fb3bc; font-size: 12.5px; letter-spacing: .3px; }
.footer-cta {
  margin-top: 14px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: transparent;
  color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .25s, border-color .25s;
}
.footer-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }
.footer-grid h2 { margin: 0 0 6px; }
.footer-grid li a { padding: 2px 0; font-size: 14px; line-height: 1.35; }
.footer-grid > div:last-child { grid-column: 1 / -1; }
.footer-bottom { padding-top: 14px; gap: 4px; line-height: 1.4; }
@media (min-width: 560px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-grid > div:last-child { grid-column: auto; }
}
@media (min-width: 900px) {
  footer { padding: 44px 0 20px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: auto; }
}

/* ---------- Accueil : entrée diagnostic flash ---------- */
.hero-entry { margin: 16px 0 0; color: var(--muted); font-size: 14.5px; }
.hero-entry a { color: var(--accent); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(71,96,107,.35); }
.hero-entry a:hover { color: var(--ink); border-color: var(--ink); }
.inline-link { color: var(--accent); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(71,96,107,.35); }
.inline-link:hover { color: var(--ink); }

/* ---------- « Vous êtes… » ---------- */
.persona-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.persona-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: translate .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.persona-quote { margin: 0 0 16px; font-family: "Manrope", sans-serif; font-size: 18px; font-weight: 700; line-height: 1.35; letter-spacing: -.3px; color: var(--ink); }
.persona-offers { flex: 1; margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 6px; }
.persona-offers a { position: relative; display: grid; justify-items: start; gap: 5px; padding: 13px 26px 13px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; text-decoration: none; line-height: 1.35; }
.persona-offers a::after { content: "→"; position: absolute; right: 2px; top: 50%; translate: 0 -50%; color: var(--accent); transition: translate .25s var(--ease); }
.persona-offers a:hover { color: var(--accent); }
.persona-offers a:hover::after { translate: 4px -50%; }
.persona-offers a strong { font-weight: 600; }
.persona-offers a em { font-style: normal; color: var(--muted); font-size: 13.5px; }
.persona-card .card-more { margin-top: 0; }
@media (hover: hover) { .persona-card:hover { translate: 0 -4px; border-color: rgba(71,96,107,.32); box-shadow: var(--shadow-hover); } }
@media (min-width: 600px) { .persona-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1050px) { .persona-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; } .persona-card { padding: 26px; } }

/* ---------- Autodiagnostic ---------- */
.quiz-wrap { max-width: 720px; }
.quiz { display: grid; gap: 28px; }
.quiz[hidden], .quiz-result[hidden], .quiz-progress[hidden] { display: none; }
/* Progression collante sous la barre de navigation */
.quiz-progress { position: sticky; top: 64px; z-index: 5; display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 12px 0; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.qp-count { flex-shrink: 0; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.qp-count b { color: var(--ink); }
.qp-track { flex: 1; height: 4px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.qp-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width .45s var(--ease); }
.quiz-progress.done .qp-fill { background: var(--ok); }
/* Groupes par thème */
.quiz-group { padding: 0; }
.quiz-section { padding-top: clamp(28px, 5vw, 48px); }
.quiz-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.qg-icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: #e7ecee; color: var(--accent); }
.qg-icon svg { width: 18px; height: 18px; }
.quiz-group-head h2 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.qg-count { margin-left: auto; color: var(--muted-light); font-size: 12.5px; }
.quiz-list { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
/* Question : texte semibold, réponse en segmenté */
.quiz-q { display: grid; gap: 12px; padding: 16px 18px; border-top: 1px solid var(--line); transition: background-color .3s; scroll-margin-top: 140px; }
.quiz-q:first-child { border-top: 0; }
.quiz-q.invalid { background: #fbf1f0; box-shadow: inset 3px 0 0 var(--danger); }
.quiz-text { display: flex; gap: 10px; margin: 0; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.5; }
.quiz-text b { flex-shrink: 0; min-width: 22px; color: var(--accent-soft); font-size: 13px; line-height: 24px; font-variant-numeric: tabular-nums; transition: color .3s; }
.quiz-q.answered .quiz-text b { color: var(--ok); }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; padding: 3px; border-radius: 11px; background: var(--surface-2); }
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt span { display: grid; place-items: center; min-height: 40px; padding: 0 10px; border-radius: 9px; color: var(--ink-2); font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg-opt input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20,30,40,.12), 0 0 0 .5px rgba(20,30,40,.06); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (hover: hover) { .seg-opt:hover input:not(:checked) + span { color: var(--ink); background: rgba(255,255,255,.55); } }
.quiz-submit { display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
.quiz-submit .note { margin: 0; }
.quiz-exit { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.6; text-align: center; }
@media (min-width: 600px) {
  .quiz-q { grid-template-columns: minmax(0,1fr) 252px; align-items: center; gap: 20px; padding: 16px 20px; }
  .quiz-submit { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
}
@media (min-width: 1050px) { .quiz-progress { top: 80px; } .quiz-q { scroll-margin-top: 160px; } }
.quiz-error { display: none; }
.quiz-result { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.result-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 22px; }
.result-head h2 { margin: 4px 0 6px; font-size: 26px; letter-spacing: -.03em; }
.result-head p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.result-score { display: grid; place-items: center; align-content: center; width: 120px; height: 120px; flex-shrink: 0; border-radius: 50%; background: var(--ink); color: #fff; }
.result-score strong { font-family: "Manrope", sans-serif; font-size: 40px; line-height: 1; }
.result-score span { font-size: 13px; color: #b7c6cd; }
.result-bars { display: grid; gap: 10px; margin-bottom: 26px; }
.bar { display: grid; grid-template-columns: 110px minmax(0,1fr) 46px; align-items: center; gap: 10px; font-size: 14px; }
.bar-label { color: var(--ink-2); font-weight: 600; }
.bar-track { height: 10px; border-radius: 999px; background: #e3e8eb; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-soft)); transition: width .8s var(--ease); }
.bar-val { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.result-sub { margin: 0 0 12px; font-size: 18px; }
.result-reco { display: grid; gap: 18px; margin-bottom: 24px; }
.reco-axe h4 { margin: 0 0 8px; font-family: "Manrope", sans-serif; font-size: 15px; }
.reco-axe h4 span { color: var(--muted); font-weight: 600; }
.result-cta { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 600px) {
  .result-head { flex-direction: row; align-items: center; gap: 26px; }
  .result-cta { flex-direction: row; flex-wrap: wrap; }
  .quiz-result { padding: 32px; }
}

/* ---------- Bouton WhatsApp flottant (affiché seulement si un numéro est renseigné) ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 28px -8px rgba(0,0,0,.35); transition: transform .25s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }
body.modal-open .wa-float, body.menu-open .wa-float { display: none; }

/* ---------- Accueil : accès direct à l'autodiagnostic ---------- */
.autodiag-teaser { padding: 0 0 var(--section); }
.teaser-card { display: grid; gap: 26px; padding: 26px 22px; border-radius: 22px; background: var(--ink); color: #fff; background-image: radial-gradient(700px 280px at 90% 0%, rgba(142,165,175,.28), transparent 70%); }
.teaser-card .section-kicker { color: #b7c6cd; }
.teaser-copy h2 { margin: 6px 0 10px; color: #fff; font-size: clamp(28px, 7vw, 40px); line-height: 1.12; letter-spacing: -.04em; }
.teaser-copy h2 em { color: #b7c6cd; font-style: normal; }
.teaser-copy p { margin: 0; color: #c3ccd2; font-size: 16px; line-height: 1.7; max-width: 440px; }
.teaser-q { padding: 20px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.teaser-label { margin: 0 0 8px; color: #9fb2bb; font-size: 11px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.teaser-text { margin: 0 0 16px; font-size: 17px; font-weight: 600; line-height: 1.5; }
.teaser-opts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-bottom: 16px; }
.teaser-opt { display: grid; place-items: center; min-height: 44px; border-radius: 11px; background: rgba(255,255,255,.1); color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; }
.teaser-opt:hover, .teaser-opt:focus-visible { background: #fff; color: var(--ink); }
.teaser-start { color: #dfe7eb; font-size: 14px; font-weight: 700; text-decoration: none; }
.teaser-start:hover { color: #fff; }
@media (min-width: 820px) {
  .teaser-card { grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); align-items: center; gap: 48px; padding: 44px 48px; }
  .teaser-q { padding: 26px; }
}

/* ---------- Autodiagnostic : choix du pays ---------- */
.quiz-country { display: grid; gap: 8px; margin-bottom: 6px; }
.quiz-country[hidden] { display: none; }
.quiz-country > span { color: var(--muted); font-size: 13px; font-weight: 600; }
.seg-country { grid-template-columns: repeat(2, minmax(0,1fr)); }
.seg-country .seg-opt span { white-space: normal; text-align: center; line-height: 1.25; }
@media (min-width: 600px) { .quiz-country { grid-template-columns: auto minmax(0, 340px); align-items: center; justify-content: space-between; gap: 16px; } }

/* ---------- Page France ---------- */
.door-text { margin: -6px 0 16px; color: var(--muted); font-size: 15px; line-height: 1.6; }
h3.persona-quote { font-size: 19px; }
@media (min-width: 1050px) { .door-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.section-aside { margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.trust-item span a { color: inherit; text-decoration: underline; text-decoration-color: rgba(71,96,107,.35); text-underline-offset: 3px; }
.footer-countries a { color: inherit; }
.door-grid .persona-offers { align-content: start; }

/* ---------- Repère de navigation : rubrique active ---------- */
@media (min-width: 1050px) {
  .nav-links a[aria-current] { position: relative; }
  .nav-links a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent); }
}

/* ---------- Personas : une seule entrée ---------- */
.personas-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 22px; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.personas-cta p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.personas-cta strong { color: var(--ink); }
@media (min-width: 820px) { .personas-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; padding: 22px 26px; } .personas-cta .btn { flex-shrink: 0; } }

/* ---------- Signature ---------- */
.footer-brand .footer-signature { margin-bottom: 6px; color: #fff; font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 700; line-height: 1.45; letter-spacing: -.2px; }

/* ---------- Catalogue : séparation cœur / compétences associées ---------- */
.catalog-sep { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 18px 0 2px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.catalog-sep::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.catalog-sep[hidden] { display: none; }

/* ---------- Fiches : menu « Vous êtes ici » ---------- */
.offer-nav { grid-column: 1 / -1; min-width: 0; }
.offer-nav details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.offer-nav summary { display: flex; flex-direction: column; gap: 2px; padding: 14px 44px 14px 16px; position: relative; cursor: pointer; list-style: none; }
.offer-nav summary::-webkit-details-marker { display: none; }
.offer-nav summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.offer-nav details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.on-kicker { color: var(--accent); font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.on-title { color: var(--ink); font-size: 15px; font-weight: 700; }
.on-body { padding: 4px 16px 16px; }
.on-group { padding: 10px 0; border-top: 1px solid var(--line); }
.on-group h3 { margin: 0 0 6px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.on-group.current h3 { color: var(--accent); }
.on-group ul { margin: 0; padding: 0; list-style: none; }
.on-group a { display: block; padding: 6px 10px; margin: 0 -10px; border-radius: 8px; color: var(--ink-2); font-size: 14px; line-height: 1.35; text-decoration: none; transition: background-color .2s, color .2s; }
.on-group a:hover { background: #fff; color: var(--ink); }
.on-group a[aria-current="page"] { background: #fff; color: var(--ink); font-weight: 700; box-shadow: inset 2px 0 0 var(--accent), 0 1px 2px rgba(20,30,40,.06); }
.on-all { display: inline-block; margin-top: 10px; color: var(--accent); font-size: 13.5px; font-weight: 700; text-decoration: none; }
@media (min-width: 1200px) {
  .detail { grid-template-columns: 240px minmax(0,1fr) 340px; gap: 40px; }
  .offer-nav { grid-column: auto; position: sticky; top: 104px; max-height: calc(100vh - 124px); overflow-y: auto; }
  .offer-nav summary { cursor: default; pointer-events: none; padding-right: 16px; }
  .offer-nav summary::after { display: none; }
}
.persona-offers { align-content: start; margin-bottom: 0; }

/* Lien vers l'autre langue (FR / EN) */
.lang-switch { margin-left: auto; padding: 8px 11px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1; text-decoration: none; transition: color .2s, border-color .2s; }
.lang-switch:hover { color: var(--ink); border-color: var(--ink); }
@media (min-width: 1050px) { .nav-links { margin-left: auto; } }

/* ---------- Fluidité du parcours ---------- */
/* Catalogues : le slogan passe sous le nom de la page */
.page-tagline { margin: -4px 0 16px; max-width: 760px; color: var(--ink); font-size: clamp(21px, 5.4vw, 26px); font-weight: 600; line-height: 1.25; letter-spacing: -.03em; }
.page-tagline em { color: var(--accent); font-style: normal; }
@media (min-width: 820px) { .page-tagline { font-size: 30px; } }
/* Introduction repliée sur mobile (le script ajoute « Lire la suite ») */
@media (max-width: 599px) {
  .lead.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
}
.lead-more { margin-top: 6px; padding: 6px 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
@media (min-width: 600px) { .lead-more { display: none; } }
/* Recherche sans résultat : pistes de sortie */
.empty-state p { margin: 0; }
.empty-state .empty-more { margin-top: 8px; color: var(--ink-2); }
.empty-state a { color: var(--accent); font-weight: 700; }
/* Fiches, mobile : le repère « Vous êtes ici » reste visible sous l'en-tête pendant le défilement */
@media (max-width: 959px) {
  .detail { display: block; }
  .detail > * + * { margin-top: 28px; }
  .offer-nav { position: sticky; top: 64px; z-index: 40; }
  .offer-nav details { box-shadow: 0 10px 24px -18px rgba(20,35,50,.35); }
  .offer-nav summary { padding-top: 10px; padding-bottom: 10px; }
  .offer-nav details[open] .on-body { max-height: calc(100vh - 170px); overflow-y: auto; }
}

/* ---------- Types de réponse : une couleur par type (toujours accompagnée du mot) ---------- */
.type-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .2px; }
.type-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.t-formations { color: #2f5576; background: #e7eef6; }
.t-conseil { color: #80511a; background: #f7eddc; }
.t-accompagnement { color: #3a6646; background: #e3efe5; }
.card-type.t-formations { background: #e7eef6; color: #2f5576; }
.card-type.t-conseil { background: #f7eddc; color: #80511a; }
.card-type.t-accompagnement { background: #e3efe5; color: #3a6646; }

/* ---------- Situations : sélecteur Par où commencer / Formation / Conseil / Accompagnement ---------- */
/* Accueil : 8 situations, sur 4 colonnes en grand écran (la page France garde sa grille) */
@media (min-width: 1200px) { .personas .persona-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } .personas .persona-card { padding: 24px; } }
.situation-bar { margin-bottom: 20px; }
.situation-hint { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.situations:not([data-view]) .persona-offers a em { display: none; }
.situations[data-view="start"] .persona-offers li:not([data-first]),
.situations[data-view="formations"] .persona-offers li:not([data-type="formations"]),
.situations[data-view="conseil"] .persona-offers li:not([data-type="conseil"]),
.situations[data-view="accompagnement"] .persona-offers li:not([data-type="accompagnement"]) { display: none; }
.situations[data-view]:not([data-view="start"]) .type-badge { display: none; }
.persona-none { margin: 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.55; }
.persona-none a { color: var(--accent); font-weight: 700; text-decoration: none; }
.situations [hidden] { display: none !important; }
.situation-all { margin-top: 18px; }
.situation-all .card-more { margin-top: 0; }
.modal-tiles + .hero-entry { margin-top: 26px; }

/* ---------- Classes à la place des styles écrits dans le HTML (politique de sécurité du contenu) ---------- */
.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; }
.err-themes { margin-top: 10px; }
.nf-title { font-size: 28px; margin: 14px 0 10px; }
.nf-text { color: var(--muted); margin-bottom: 26px; }
.nf-actions { justify-content: center; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 10px 16px; background: #fff; border-radius: 8px; }
.skip:focus { left: 8px; }
