/* ==========================================================================
   MIA CONSULTING RH — Feuille de style principale
   Charte : bleu nuit (#051b29), beige (#d6c7b8), crème (#fbf7f2), vert (#315643)
   ========================================================================== */

/* ---------- Polices (hébergées sur le site, aucun appel à Google) ---------- */
@font-face {
  font-family: "Urbanist";
  src: url("../assets/fonts/urbanist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Urbanist";
  src: url("../assets/fonts/urbanist-variable-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Variables de la charte ---------- */
:root {
  --navy: #051b29;
  --navy-2: #0c2636;
  --navy-3: #12303f;
  --beige: #d6c7b8;
  --beige-soft: #ece3d9;
  --cream: #fbf7f2;
  --ivory: #fff7f0;
  --green: #315643;
  --green-2: #3f6b55;
  --green-soft: #e4ece6;
  --ink: #132532;
  --muted: #4f5f69;
  --line-dark: rgba(214, 199, 184, 0.18);
  --line-light: rgba(5, 27, 41, 0.12);

  --font: "Urbanist", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --shadow: 0 18px 40px -24px rgba(5, 27, 41, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

ul { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--beige);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-light :focus-visible { outline-color: var(--green); }

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

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--beige);
  color: var(--navy);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

.container--narrow { max-width: 860px; }

/* ---------- Typographie utilitaire ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: currentColor;
}
.on-dark .eyebrow { color: var(--beige); }

.title-xl {
  font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1.02;
}
.title-l {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  font-weight: 750;
}
.title-m {
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem);
  font-weight: 700;
}
.accent { color: var(--beige); }
.nowrap { white-space: nowrap; }
.on-light .accent { color: var(--green); }

.lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}
.on-dark .lead { color: rgba(255, 247, 240, 0.82); }

.text-center { text-align: center; }
.text-center .lead { margin-inline: auto; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

.on-dark {
  background: var(--navy);
  color: var(--ivory);
}
.on-dark p { color: rgba(255, 247, 240, 0.82); }

.on-light { background: var(--cream); color: var(--ink); }
.on-white { background: #fff; color: var(--ink); }
.on-green {
  background: var(--green);
  color: var(--ivory);
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.text-center { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--beige); color: var(--navy); }
.btn--primary:hover { background: var(--ivory); }

.btn--ghost { border-color: rgba(214, 199, 184, 0.55); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--beige); background: rgba(214, 199, 184, 0.1); }

.btn--dark { background: var(--navy); color: var(--ivory); }
.btn--dark:hover { background: var(--green); }

.btn--outline-dark { border-color: var(--navy); color: var(--navy); }
.btn--outline-dark:hover { background: var(--navy); color: var(--ivory); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.text-center .btn-row,
.cta-final .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--beige);
  border-bottom: 1px solid transparent;
  transition: gap 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 0.75rem; border-color: currentColor; }
.on-light .link-arrow, .on-white .link-arrow { color: var(--green); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 27, 41, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-dark);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--ivory);
}
.brand img { width: 34px; height: auto; }
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.brand-name span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--beige);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 247, 240, 0.85);
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.site-nav a:hover { color: var(--ivory); background: rgba(214, 199, 184, 0.1); }
.site-nav a[aria-current="page"] { color: var(--beige); }
.site-nav .nav-cta a {
  margin-left: 0.6rem;
  padding-inline: 1.3rem;
  background: var(--beige);
  color: var(--navy);
  font-weight: 700;
}
.site-nav .nav-cta a:hover { background: var(--ivory); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 12vw, 9rem) clamp(4.5rem, 10vw, 8rem);
}
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 60vw;
  max-width: 820px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(49, 86, 67, 0.35) 0%, rgba(5, 27, 41, 0) 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero-quote {
  margin: 1.8rem 0 0;
  padding-left: 1.3rem;
  border-left: 2px solid var(--green-2);
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  font-style: italic;
  line-height: 1.55;
  color: rgba(255, 247, 240, 0.86);
  max-width: 46ch;
}
.hero-mark {
  justify-self: center;
  width: min(100%, 300px);
  opacity: 0.95;
}
.hero-mark img { width: 100%; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 2.6rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: rgba(255, 247, 240, 0.7);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta svg { width: 18px; height: 18px; color: var(--beige); }

/* En-tête de page intérieure */
.page-hero {
  padding-block: clamp(4rem, 9vw, 6.5rem) clamp(3.5rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: -15%;
  bottom: -60%;
  width: 55vw;
  max-width: 700px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(49, 86, 67, 0.3) 0%, rgba(5, 27, 41, 0) 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; }

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}
.anchor-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--ivory);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.anchor-nav a span { color: var(--beige); font-size: 0.8rem; font-weight: 700; }
.anchor-nav a:hover { border-color: var(--beige); background: rgba(214, 199, 184, 0.08); }

/* ---------- Bloc « symbiose » ---------- */
.statement {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.statement-big {
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 1.4rem;
}
.statement-big strong { color: var(--green); font-weight: 800; }
.statement p.lead { margin-inline: auto; }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.8rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); }
.card--accent { border-bottom: 3px solid var(--green); }

.on-dark .card {
  background: var(--navy-2);
  border-color: var(--line-dark);
  box-shadow: none;
}
.on-dark .card h3 { color: var(--beige); }
.on-dark .card p { color: rgba(255, 247, 240, 0.8); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin-bottom: 1.3rem;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
}
.icon-badge svg { width: 26px; height: 26px; }
.on-dark .icon-badge { background: rgba(214, 199, 184, 0.1); color: var(--beige); }

/* Cartes piliers */
.pillar {
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(214, 199, 184, 0.45); }
.pillar-media { aspect-ratio: 16 / 10; overflow: hidden; }
.pillar-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.pillar:hover .pillar-media img { transform: scale(1.04); }
.pillar-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.5rem, 3vw, 2rem);
}
.pillar-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green-2);
  text-transform: uppercase;
}
.on-dark .pillar-num { color: #8fb39f; }
.pillar h3 {
  margin: 0.5rem 0 0.2rem;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pillar-sub {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--beige);
}
.pillar .link-arrow { margin-top: auto; padding-top: 1rem; align-self: flex-start; }

/* ---------- Tableau « Regard expert » ---------- */
.table-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow);
  background: #fff;
}
.expert-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.expert-table caption { padding: 0; }
.expert-table th,
.expert-table td { padding: 1.2rem 1.5rem; vertical-align: top; }
.expert-table thead th {
  background: var(--navy);
  color: var(--ivory);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.expert-table tbody tr + tr { border-top: 1px solid var(--line-light); }
.expert-table tbody th {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green);
  white-space: nowrap;
}
.expert-table td { color: var(--muted); }

/* ---------- Bandeau ---------- */
.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 3rem;
  padding: 0;
  margin: 0;
  list-style: none;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.band li { display: inline-flex; align-items: center; gap: 0.7rem; }
.band svg { width: 22px; height: 22px; color: var(--beige); }

/* ---------- Mise en page média / texte ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.split--reverse .split-media { order: 2; }
.split-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split-media--framed {
  padding: 12px;
  border: 1px solid var(--line-dark);
  border-radius: calc(var(--radius) + 8px);
}
.on-light .split-media--framed { border-color: var(--line-light); }

/* ---------- Listes ---------- */
.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 2rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em;
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23315643' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.on-dark .check-list li::before {
  background-color: rgba(214, 199, 184, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6c7b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.check-list strong { color: var(--navy); }
.on-dark .check-list strong { color: var(--beige); }

.def-list { display: grid; gap: 1.1rem; margin: 1.5rem 0 0; }
.def-list div { padding-left: 1.1rem; border-left: 2px solid var(--green); }
.on-dark .def-list div { border-left-color: var(--beige); }
.def-list dt { font-weight: 800; color: var(--navy); }
.on-dark .def-list dt { color: var(--beige); }
.def-list dd { margin: 0.15rem 0 0; color: var(--muted); }
.on-dark .def-list dd { color: rgba(255, 247, 240, 0.8); }

/* ---------- Offres ---------- */
.pillar-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.pillar-intro img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.pillar-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
}
.on-dark .pillar-tag { color: #8fb39f; }

.offer {
  height: 100%;
}
.offer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 0.4rem;
}
.offer-format {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.on-dark .offer-format { background: rgba(214, 199, 184, 0.12); color: var(--beige); }
.offer-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}
.offer-price small { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer .check-list { margin-bottom: 1.8rem; }
.offer > p { margin-bottom: 1rem; }

.offer--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.offer--featured .offer-col { display: flex; flex-direction: column; }

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.mini-table th,
.mini-table td {
  padding: 0.8rem 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-light);
}
.mini-table th { width: 42%; padding-right: 1rem; color: var(--navy); font-weight: 700; }
.mini-table td { color: var(--muted); }
.mini-table tr:last-child th,
.mini-table tr:last-child td { border-bottom: 0; }

.axes { display: grid; gap: 1rem; margin: 1rem 0 1.5rem; padding: 0; list-style: none; counter-reset: axe; }
.axes li { counter-increment: axe; display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; }
.axes li::before {
  content: "0" counter(axe);
  font-weight: 800;
  color: var(--green);
  font-size: 0.95rem;
  padding-top: 0.1em;
}
.axes strong { display: block; color: var(--navy); }
.axes span { color: var(--muted); }

/* Socle commun */
.levers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.lever {
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark);
}
.lever strong { display: block; margin-bottom: 0.3rem; color: var(--beige); font-size: 1.05rem; }
.lever span { color: rgba(255, 247, 240, 0.78); font-size: 0.95rem; }

/* Jalons */
.milestones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: jalon;
}
.milestone {
  counter-increment: jalon;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--green);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.milestone-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige-soft); }
.milestone-media img { width: 100%; height: 100%; object-fit: cover; }
.milestone-media--mark {
  display: grid;
  place-items: center;
  background: var(--navy);
}
.milestone-media--mark img { width: 34%; height: auto; object-fit: contain; }
.milestone-body { padding: 1.4rem 1.4rem 1.6rem; }
.milestone-body::before {
  content: "0" counter(jalon);
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--green);
}
.milestone h3 { margin: 0.3rem 0 0.2rem; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.milestone .milestone-sub { display: block; margin-bottom: 0.7rem; font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.milestone p { color: var(--muted); font-size: 0.95rem; }

/* Bénéfices */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.benefit {
  padding: 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
}
.benefit strong { display: block; margin-bottom: 0.3rem; color: var(--green); font-size: 1.05rem; }
.benefit span { color: var(--ink); font-size: 0.95rem; }

/* ---------- À propos ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about-card {
  position: sticky;
  top: 110px;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--ivory);
  text-align: center;
}
.about-card img { width: 120px; margin: 0 auto 1.6rem; }
.about-card h2 { margin-bottom: 0.2rem; font-size: 1.5rem; color: var(--ivory); }
.about-card .role { margin-bottom: 1.5rem; color: var(--beige); font-weight: 600; }
.about-card .btn { width: 100%; }
.about-card .btn + .btn { margin-top: 0.7rem; }

.prose { font-size: clamp(1.05rem, 1rem + 0.25vw, 1.15rem); }
.prose p { margin-bottom: 1.3em; }
.prose .drop {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
}
.prose blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--green-soft);
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--green);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 2rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: var(--navy-2);
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 1rem;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--beige);
}
.steps h3 { color: var(--beige); font-size: 1.25rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.8rem; }
.faq details {
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line-light);
  transition: box-shadow 0.25s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 1rem 1.4rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line-light);
}
.contact-item .icon-badge { margin: 0; width: 46px; height: 46px; flex: none; }
.contact-item strong { display: block; color: var(--navy); }
.contact-item a { color: var(--green); font-weight: 700; overflow-wrap: anywhere; }
.contact-item > div { min-width: 0; }
.contact-item p { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.95rem; }

.form-card {
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.6rem; color: var(--navy); }
.tally-frame {
  display: block;
  width: 100%;
  min-height: 640px;
  border: 0;
  margin-top: 1rem;
}
.form-fallback {
  margin-top: 1.4rem;
  padding: 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(49, 86, 67, 0.45);
  background: var(--green-soft);
  text-align: center;
}
.form-fallback p { color: var(--ink); }
.form-fallback .btn { margin-top: 1rem; }
.form-note { margin-top: 1.2rem; font-size: 0.85rem; color: var(--muted); }
.form-note a { color: var(--green); }

/* ---------- Pages légales ---------- */
.legal h2 {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-light);
  font-size: 1.35rem;
  color: var(--navy);
}
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--green); font-weight: 600; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.5rem; margin: 0 0 1rem; }
.legal dt { font-weight: 700; color: var(--navy); }
.legal dd { margin: 0; color: var(--muted); }

/* ---------- CTA final ---------- */
.cta-final {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: auto 50% -55% auto;
  transform: translateX(50%);
  width: 80vw;
  max-width: 900px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(49, 86, 67, 0.32) 0%, rgba(5, 27, 41, 0) 65%);
  pointer-events: none;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { max-width: 22ch; margin-inline: auto; text-transform: uppercase; color: var(--beige); }
.cta-final img { width: 54px; margin: 2.5rem auto 0; opacity: 0.9; }

/* ---------- 404 ---------- */
.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.notfound-code {
  font-size: clamp(5rem, 3rem + 10vw, 10rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--beige);
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: #03131d;
  color: rgba(255, 247, 240, 0.75);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}
.footer-brand img { width: 46px; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 36ch; }
.site-footer h2 {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beige);
}
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 32px;
  color: rgba(255, 247, 240, 0.8);
  text-decoration: none;
}
.footer-links a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
.footer-links svg { width: 18px; height: 18px; color: var(--beige); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
  color: rgba(255, 247, 240, 0.55);
}
.footer-bottom a { color: inherit; }

/* ---------- Animations d'apparition ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .milestones, .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    display: none;
    padding: 1rem var(--gutter) 1.6rem;
    background: var(--navy);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.7);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .site-nav a { width: 100%; padding: 0.8rem 1rem; font-size: 1.05rem; border-radius: 12px; }
  .site-nav .nav-cta a { margin: 0.6rem 0 0; justify-content: center; }
  .no-js .site-nav { position: static; display: block; padding: 0; border: 0; box-shadow: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { display: none; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-3.pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .pillar-intro, .about-grid, .contact-grid, .offer--featured { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .about-card { position: static; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .grid-2, .grid-4, .grid-3.pillars, .milestones, .benefits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name span { display: none; }
  .btn-row .btn { width: 100%; }

  /* Tableau transformé en cartes sur mobile */
  .expert-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .expert-table, .expert-table tbody, .expert-table tr, .expert-table th, .expert-table td { display: block; width: 100%; }
  .expert-table tbody tr { padding: 1.2rem 1.3rem; }
  .expert-table tbody th, .expert-table td { padding: 0.2rem 0; }
  .expert-table tbody th { font-size: 1.05rem; margin-bottom: 0.4rem; }
  .expert-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
    margin-top: 0.5rem;
  }
  .legal dl { grid-template-columns: 1fr; gap: 0.1rem; }
  .legal dd { margin-bottom: 0.7rem; }
  .mini-table th, .mini-table td { display: block; width: 100%; padding: 0.2rem 0; border: 0; }
  .mini-table tr { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--line-light); }
  .mini-table tr:last-child { border-bottom: 0; }
}

@media print {
  .site-header, .site-footer, .btn, .nav-toggle { display: none !important; }
  .on-dark { background: #fff; color: #000; }
  .on-dark p { color: #000; }
}
.offer-tax { margin: -0.2rem 0 0.8rem; font-size: 0.8rem; color: var(--muted); text-align: right; }
.about-card img.about-photo {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  margin: 0 auto 1.6rem;
}

/* ---------- Référencement : H1 accueil, enjeux, pages thématiques ---------- */
.hero-h1 { margin: 0; font-weight: inherit; }
.hero-h1 > span { display: block; }
.hero-h1 .eyebrow { display: inline-flex; margin-bottom: 1.2rem; }

.enjeu { text-decoration: none; color: inherit; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.enjeu:hover { transform: translateY(-5px); }
.enjeu h3 { color: var(--navy); font-size: 1.15rem; }
.enjeu .link-arrow { margin-top: auto; padding-top: 0.6rem; align-self: flex-start; }

.breadcrumb { margin-bottom: 1.4rem; font-size: 0.88rem; color: rgba(255, 247, 240, 0.7); }
.breadcrumb a { color: var(--beige); }
.breadcrumb span[aria-hidden] { margin: 0 0.4rem; }

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.article h2 {
  margin-top: 2.6rem;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  color: var(--navy);
}
.article h2:first-child { margin-top: 0; }
.article .check-list { margin-bottom: 1.3em; }
.article-aside { position: sticky; top: 110px; display: grid; gap: 1.2rem; }
.article-aside img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.aside-card { padding: 1.5rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line-light); }
.aside-card p { color: var(--muted); font-size: 0.95rem; }
.aside-card .aside-title { margin-bottom: 0.4rem; font-weight: 800; color: var(--navy); font-size: 1rem; }
.aside-card .link-arrow { margin-top: 0.8rem; }
.aside-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.aside-links a { color: var(--green); font-weight: 600; }

.footer-grid { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page Services : 3 approches avec « Plus d'infos » ---------- */
.approaches { display: grid; gap: clamp(1.5rem, 3vw, 2.2rem); }
.approach {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: 96px;
}
.approach-head {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  align-items: stretch;
}
.approach-media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.approach-body { padding: clamp(1.6rem, 3.5vw, 2.6rem); }
.approach-body .title-l { margin-bottom: 0.5rem; color: var(--navy); }
.approach-pitch { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.approach-offers {
  display: grid;
  gap: 0.6rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.approach-offers li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--cream);
  border-left: 3px solid var(--green);
}
.approach-offers strong { color: var(--navy); }
.approach-offers span { color: var(--muted); font-size: 0.92rem; }

.approach-more { border-top: 1px solid var(--line-light); }
.approach-more > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 58px;
  padding: 0.9rem 1.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: var(--green);
  background: var(--green-soft);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.approach-more > summary::-webkit-details-marker { display: none; }
.approach-more > summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s var(--ease);
}
.approach-more > summary:hover { background: var(--green); color: var(--ivory); }
.approach-more[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.approach-more .more-close { display: none; }
.approach-more[open] .more-open { display: none; }
.approach-more[open] .more-close { display: inline; }

.approach-detail {
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  background: var(--cream);
  display: grid;
  gap: clamp(1.8rem, 3vw, 2.6rem);
}
.approach-detail .section-head { margin-bottom: 0; }
.approach-why { max-width: 820px; }
.approach-why .def-list { margin-top: 0; }
.approach-detail .card { box-shadow: 0 10px 24px -20px rgba(5, 27, 41, 0.35); }

.socle {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.socle-media img { width: 100%; border-radius: var(--radius); }
.levers--light .lever { background: #fff; border-color: var(--line-light); }
.levers--light .lever strong { color: var(--green); }
.levers--light .lever span { color: var(--muted); }
.milestone h4 { margin: 0.3rem 0 0.2rem; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }

@media (max-width: 960px) {
  .approach-head, .socle { grid-template-columns: 1fr; }
  .approach-media img { min-height: 0; aspect-ratio: 16 / 9; }
}
