:root {
  --paper: #f7f4ef;
  --ink: #15171b;
  --muted: #5c5f66;
  --line: #d9d4cb;
  --accent: #c63f12;
  --accent-soft: #f6e2d8;
  --wrap: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper); color: var(--ink);
  font: 17px/1.55 "IBM Plex Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, .brand { font-family: "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -0.015em; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; background: rgba(247, 244, 239, .94); backdrop-filter: saturate(1.4) blur(6px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { font-weight: 800; font-size: 26px; text-decoration: none; line-height: 1; }
.brand span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
nav a { text-decoration: none; color: var(--muted); padding: 10px 0; }
nav a:hover, nav a:focus-visible { color: var(--ink); }
nav .nav__cta { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 4px; }

/* Hero */
.hero { padding: 88px 0 64px; border-bottom: 2px solid var(--ink); }
.kicker { font: 500 13px "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
h1 { font-weight: 700; font-size: clamp(36px, 5.6vw, 64px); line-height: 1.04; max-width: 15ch; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); }
.hero__row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: 40px; }
.lead { color: var(--muted); max-width: 56ch; font-size: 18px; }
.lead strong { color: var(--ink); font-weight: 600; }
.btn { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; padding: 15px 22px; border-radius: 2px; white-space: nowrap; transition: background .15s; }
.btn:hover, .btn:focus-visible { background: var(--accent); }
.btn:focus-visible, nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Sections */
.section { padding: 72px 0; }
.section__title { font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 28px; }

/* Formations */
.item { display: grid; grid-template-columns: 56px 1fr 220px; gap: 0 28px; padding: 32px 0; border-top: 1px solid var(--line); }
.num { font: 500 14px "IBM Plex Mono", monospace; color: var(--accent); padding-top: 6px; }
.item h3 { font-weight: 700; font-size: 24px; line-height: 1.2; margin-bottom: 8px; }
.why { font-weight: 500; margin-bottom: 12px; max-width: 62ch; }
.item ul { list-style: none; columns: 2; column-gap: 32px; }
.item li { position: relative; padding-left: 18px; margin-bottom: 6px; break-inside: avoid; color: #2a2d33; font-size: 16px; }
.item li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--accent); }
.meta { border-left: 1px solid var(--line); padding-left: 22px; color: var(--muted); font-size: 15px; }
.meta b { display: block; font: 700 20px "Bricolage Grotesque", sans-serif; color: var(--ink); margin-bottom: 4px; }
.price { display: inline-block; margin-top: 12px; padding: 4px 10px; background: var(--accent-soft); color: var(--accent); font: 500 14px "IBM Plex Mono", monospace; }

/* Organismes */
.section--ink { background: var(--ink); color: var(--paper); }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.num--light { margin-bottom: 10px; color: #f08a5d; }
.lead--light { color: #b9bcc3; }
.deliver { list-style: none; border-top: 1px solid #3a3d44; }
.deliver li { padding: 18px 0; border-bottom: 1px solid #3a3d44; color: #c9ccd2; }
.deliver b { display: block; color: var(--paper); font: 700 19px "Bricolage Grotesque", sans-serif; margin-bottom: 2px; }

/* Approche */
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; border-top: 2px solid var(--ink); padding-top: 24px; }
.how div { color: var(--muted); font-size: 16px; }
.how b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

/* Contact */
.contact { padding-top: 24px; }
.contact__in { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; background: var(--accent-soft); padding: 44px 48px; }
.contact h2 { font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 8px; }
.contact p { color: #4a3a33; max-width: 52ch; }
.btn--big { font-size: 19px; padding: 18px 26px; }

/* Pied de page */
.foot { padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.foot__in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; }
.foot b { color: var(--ink); }

/* Mobile */
@media (max-width: 860px) {
  body { font-size: 16px; }
  nav a:not(.nav__cta) { display: none; }
  .hero { padding: 56px 0 44px; }
  .hero__row, .split, .contact__in { grid-template-columns: 1fr; gap: 28px; }
  .item { grid-template-columns: 1fr; gap: 6px; padding: 26px 0; }
  .num { padding-top: 0; }
  .item ul { columns: 1; }
  .meta { border-left: none; padding-left: 0; margin-top: 10px; }
  .meta br { display: none; }
  .meta b { display: inline; margin-right: 8px; }
  .how { grid-template-columns: 1fr 1fr; }
  .contact__in { padding: 32px 24px; }
  .btn { white-space: normal; text-align: center; }
}
@media (max-width: 480px) {
  .how { grid-template-columns: 1fr; }
}
