/* METIC — catalogue de formations.
   Structure: coursera.org. Skin: the METIC Shopify theme (theme/config/settings_data.json
   + theme/assets/base.css), which is the final brand reference:
     Archivo 400 / 700 · text #000, subtext #4d4d4d · amber button #F8AD19 with black label
     · pill buttons, inputs and tabs · 10px cards · inverse scheme #5B8CAE for top bar and
     footer · #F5F5F5 secondary background · #E4EEFA brand-strip tint · sale red #cb321e. */

:root {
  --amber: #f8ad19;
  --amber-soft: #fef3dc;
  --amber-deep: #b87900;
  --ink: #000;
  --ink-2: #1a1a1a;
  --sub: #4d4d4d;
  --faint: #767676;
  --line: #e5e5e5;
  --control: #8a8a8a;
  --bg: #fff;
  --bg-2: #f5f5f5;
  --steel: #5b8cae;
  --steel-deep: #4f7f96;
  --sky: #63c8f3;
  --tint: #e4eefa;
  /* Store section bands (Shopify home: gaming / entreprise / product cards) */
  --lavender: #efedfc;
  --sage: #d6e4e3;
  --sky-soft: #e3effd;
  --r-band: 32px;
  /* IA surfaces: an aurora of the brand blues and amber with a violet/pink accent */
  --ai-ink: #5b3fd6;
  --ai-sky: #63c8f3;
  --ai-violet: #8b7cf6;
  --ai-pink: #f472b6;
  --success: #0d8756;
  --r-card: 10px;
  --r-panel: 20px;
  --r-pill: 999px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --wrap: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.55 "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--bg); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ---- Buttons (theme .btn: pill, bold, wipe hover) ------------------------------- */
.btn { position: relative; z-index: 0; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: 0 1.4rem; border-radius: var(--r-pill); border: 1px solid transparent; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; transition: color .35s var(--ease), border-color .35s var(--ease); }
.btn::before { content: ""; position: absolute; z-index: -1; inset: -1px auto -1px -1px; width: 0; border-radius: inherit; transition: width .35s var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover::before { width: calc(100% + 2px); } }
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary::before { background: var(--ink); }
.btn--primary:hover { color: var(--amber); }
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid::before { background: var(--amber); }
.btn--solid:hover { color: var(--ink); }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light::before { background: var(--amber); }
.btn:active { transform: scale(.98); }
.link-btn { border: 0; background: none; padding: 0; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover .i-arrow, .btn:hover .i-arrow, .i-arrow { transition: transform .2s var(--ease); }
.link-plain { font-size: 15px; font-weight: 700; }
.link-plain:hover { text-decoration: underline; text-underline-offset: 4px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sub); }
.eyebrow--amber { color: var(--amber); }
.eyebrow--ai { color: var(--ai-ink); }

/* ---- Top bar (theme inverse scheme) --------------------------------------------- */
.topbar { background: var(--steel); color: #fff; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 38px; }
.topbar nav { display: flex; gap: 22px; align-self: stretch; }
.topbar nav a { display: flex; align-items: center; opacity: .85; border-bottom: 3px solid transparent; padding-top: 3px; }
.topbar nav a:hover { opacity: 1; }
.topbar nav a.is-active { opacity: 1; font-weight: 700; border-bottom-color: #fff; }
.topbar__info { margin-left: auto; opacity: .85; }

/* ---- Header --------------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.header__logo img { width: 140px; height: auto; }
.explore { position: relative; }
.explore__btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font-weight: 700; font-size: 15px; padding: 8px 4px; }
.explore__btn[aria-expanded="true"] .i-chevron { transform: rotate(180deg); }
.explore__menu { position: absolute; top: calc(100% + 10px); left: 0; width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .14); padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.explore__menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; }
.explore__menu a:hover { background: var(--bg-2); }
.explore__menu .dom-icon { width: 38px; height: 38px; }
.explore__menu b { display: block; font-size: 15px; }
.explore__menu small { color: var(--sub); font-size: 13px; }
.search { flex: 1; max-width: 560px; display: flex; align-items: center; height: 46px; border: 1px solid var(--control); border-radius: var(--r-pill); padding: 0 5px 0 20px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--amber-soft); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; }
.search input::placeholder { color: var(--faint); }
.search__btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: var(--ink); font-size: 18px; flex-shrink: 0; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }

/* ---- Hero banners --------------------------------------------------------------- */
.hero { padding-top: 20px; }
.hero__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__track > .banner { flex: 0 0 calc((100% - 16px) / 2); scroll-snap-align: start; }
.hero__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: var(--r-pill); background: var(--control); opacity: .45; transition: width .3s var(--ease), opacity .3s, background .3s; }
.hero__dots button[aria-current="true"] { width: 28px; opacity: 1; background: var(--ink); }
.hero__buttons { display: flex; gap: 8px; }
.hero__btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--control); border-radius: 50%; background: #fff; font-size: 18px; transition: border-color .2s, background .2s; }
.hero__btn:hover { border-color: var(--ink); }
#hero-prev .i { transform: rotate(90deg); }
#hero-next .i { transform: rotate(-90deg); }
#hero-pause .i { font-size: 15px; }
.banner { position: relative; overflow: hidden; border-radius: var(--r-panel); min-height: 300px; display: flex; }
.banner__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px 32px; max-width: 58%; }
.banner h1, .banner h2 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; font-weight: 800; }
.banner p { font-size: 15px; line-height: 1.5; }
.banner .btn { margin-top: 6px; }
.banner__note { font-size: 12px; opacity: .7; }
.banner--amber { background: var(--amber-soft); }
.banner--amber p { color: var(--sub); }
.banner--lavender { background: var(--lavender); }
.banner--sage { background: var(--sage); }
.banner--lavender p, .banner--sage p { color: var(--sub); }
.banner__art--qualiopi { display: grid; place-items: center; }
.cert { display: grid; gap: 10px; width: 78%; max-width: 250px; padding: 18px 18px 14px; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(40, 36, 110, .14); transform: rotate(-3deg); }
.cert img { width: 100%; height: auto; }
.cert__meta { padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.45; color: var(--sub); }
.cert__meta b { color: var(--ink); }
.chip-float--check { display: inline-flex; align-items: center; gap: 6px; top: 22px; right: 22px; background: var(--success); }
.banner__art { position: absolute; inset: 0 0 0 auto; width: 48%; }
.bubble { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 6px 20px rgba(91, 63, 214, .12); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; color: var(--ink); }
.bubble .i { color: var(--ai-ink); font-size: 16px; }
/* Bubbles stay in the art column's right half so they never crowd the headline. */
.b1 { top: 34px; right: 28px; } .b2 { top: 84px; right: 104px; } .b3 { top: 134px; right: 24px; }
/* Collage: one wide tile on top, two smaller ones side by side underneath — no overlap. */
.banner__art--collage .tile { position: absolute; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .16); border: 4px solid #fff; }
.t1 { width: 78%; height: 52%; top: 24px; right: 24px; }
.t2 { width: 37%; height: 36%; bottom: 24px; right: calc(24px + 41%); }
.t3 { width: 39%; height: 36%; bottom: 24px; right: 24px; }
.chip-float { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: var(--r-pill); }

/* ---- Section blocks ------------------------------------------------------------- */
.block { padding-top: 40px; }
.block--tight { padding-top: 32px; }
.block__title { font-size: 26px; line-height: 1.2; margin-bottom: 16px; }
.block__title--sm { font-size: 20px; margin-bottom: 14px; }

/* "Les incontournables": three tinted columns */
.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.column { background: var(--tint); border-radius: var(--r-panel); padding: 14px; }
.column__head { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 16px; padding: 4px 6px 12px; }
.column__head .i { font-size: 16px; transition: transform .2s var(--ease); }
.column__head:hover .i { transform: translateX(3px); }
.row { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; background: #fff; border: 0; border-radius: 12px; padding: 8px; margin-top: 8px; transition: box-shadow .2s; }
.row:hover { box-shadow: var(--shadow); }
.row:hover .row__title { text-decoration: underline; text-underline-offset: 3px; }
.row img, .row .row__ph { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.row__ph { position: relative; display: block; overflow: hidden; --orb: 46px; }
.row__body { min-width: 0; }
.provider { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--sub); }
.provider__mark { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; background: var(--amber); color: var(--ink); font-size: 11px; font-weight: 800; line-height: 1; }
.row__title { font-weight: 700; font-size: 15px; line-height: 1.3; margin: 2px 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.row__meta { font-size: 12px; color: var(--sub); }

/* Roles band */
.roles__chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.chip { border: 1px solid var(--control); background: transparent; color: var(--ink); border-radius: var(--r-pill); padding: 7px 14px; font-size: 13px; font-weight: 600; transition: background .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.roles__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mini { display: flex; flex-direction: column; text-align: left; background: #fff; color: var(--ink); border: 0; border-radius: 14px; padding: 6px; transition: transform .2s var(--ease), box-shadow .2s; }
.mini:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.mini img, .mini .mini__ph { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
.mini__ph { position: relative; display: block; overflow: hidden; --orb: 84px; }
.mini__body { padding: 10px 8px 8px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mini__title { font-weight: 700; font-size: 15px; line-height: 1.3; }
.mini__meta { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--sub); }

/* Promo banners */
.blob { position: absolute; border-radius: 50%; }
.blob--amber { width: 190px; height: 190px; background: var(--amber); right: -30px; top: -40px; }
.blob--sky { width: 190px; height: 190px; background: var(--sky); right: -40px; top: -50px; }

/* Partners */
.partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.partners li { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 14px; font-weight: 600; background: #fff; }
.partner-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--steel-deep); font-size: 14px; }
.partner-dot--amber { background: var(--amber); color: var(--ink); }
.partners__main { border-color: var(--amber) !important; background: var(--amber-soft) !important; }

/* Goal tiles */
.goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 32px; }
.goal { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 92px; padding: 18px 22px; border-radius: 16px; background: linear-gradient(100deg, var(--bg-2) 30%, var(--tint)); font-size: 18px; font-weight: 700; transition: box-shadow .2s; }
.goal:hover { box-shadow: var(--shadow); }
.goal__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--steel-deep); font-size: 26px; border: 1px solid var(--line); }

/* Domains */
.domains { display: flex; flex-wrap: wrap; gap: 10px; }
.domain { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--control); background: #fff; border-radius: var(--r-pill); padding: 8px 16px 8px 10px; font-size: 14px; font-weight: 600; transition: border-color .2s, background .2s; }
.domain:hover { border-color: var(--ink); background: var(--bg-2); }
.dom-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--steel-deep); font-size: 15px; flex-shrink: 0; }

/* ---- Catalogue ------------------------------------------------------------------ */
.catalogue { padding: 40px 0 52px; }
.catalogue__head h1, .catalogue__head h2 { font-size: 34px; line-height: 1.15; font-weight: 800; }
.catalogue__head h1 { font-size: 40px; }
.catalogue__head p { color: var(--sub); margin-top: 6px; }
.view-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.view-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid var(--control); background: #fff; font-weight: 700; font-size: 15px; transition: background .2s, color .2s, border-color .2s; }
.view-tabs button:hover { border-color: var(--ink); }
.view-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.count { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--sub); font-size: 12px; }
.view-tabs button[aria-selected="true"] .count { background: var(--amber); color: var(--ink); }
.catalogue__caption { color: var(--sub); font-size: 15px; margin: 18px 0 0; max-width: 860px; }
.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.category-tabs button { border: 1px solid transparent; background: var(--bg-2); border-radius: var(--r-pill); padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); transition: border-color .2s, background .2s; }
.category-tabs button:hover { border-color: var(--control); }
.category-tabs button.active, .category-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 14px; }
.result-bar p { font-weight: 700; font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 8px; transition: box-shadow .25s var(--ease), transform .25s var(--ease); cursor: pointer; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }
.card__media { position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__ph { position: absolute; inset: 0; overflow: hidden; --orb: 110px; }
.card__badge { position: absolute; top: 10px; left: 10px; padding: 5px 11px; border-radius: var(--r-pill); background: #fff; color: var(--steel-deep); font-size: 12px; font-weight: 700; }
.card__badge--amber { background: var(--amber); color: var(--ink); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 8px 8px; }
.card__title { font-size: 17px; line-height: 1.3; margin: 8px 0 6px; }
.card__summary { font-size: 14px; color: var(--sub); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__levels { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.card__levels span { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--sub); }
.card__meta { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--sub); }
.card__meta .i { font-size: 14px; }
.card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--control); }

/* Complete list */
.list-group { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 22px; margin-bottom: 12px; }
.list-group h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 10px; }
.list-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.list-group li { border-top: 1px solid var(--line); }
.list-group li a { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 12px; border: 0; background: none; padding: 11px 0; text-align: left; font-size: 15px; }
.list-group li a:hover .lt { text-decoration: underline; text-underline-offset: 3px; }
.list-group li small { color: var(--faint); font-size: 13px; white-space: nowrap; }
.list-contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--amber-soft); border-radius: var(--r-card); padding: 22px 24px; margin-top: 16px; }
.list-contact h3 { font-size: 18px; }
.list-contact p { color: var(--sub); font-size: 15px; margin-top: 4px; }
.empty { text-align: center; padding: 48px 20px; background: var(--bg-2); border-radius: var(--r-card); }
.empty h3 { font-size: 19px; margin-bottom: 16px; }

/* Formats + closing */
.formats { padding-top: 48px; }
.formats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.format { display: flex; gap: 18px; padding: 26px; border-radius: var(--r-panel); background: var(--tint); }
.format--amber { background: var(--amber-soft); }
.format__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 22px; flex-shrink: 0; }
.format h3 { font-size: 20px; margin-bottom: 6px; }
.format p { color: var(--sub); font-size: 15px; margin-bottom: 14px; }
.closing { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 48px 0 56px; padding: 40px; border-radius: var(--r-panel); background: var(--bg-2); }
.closing h2 { font-size: 30px; line-height: 1.2; font-weight: 800; margin-top: 8px; }
.closing p { color: var(--sub); }
.closing__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 18px; }
.closing__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* Footer (theme inverse) */
.footer { background: var(--steel); color: #fff; padding: 44px 0 24px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer__brand > img { width: 150px; height: auto; }
.footer__brand .qualiopi-logo { width: auto; height: 72px; }
.footer__brand p { margin-top: 14px; font-size: 14px; opacity: .85; max-width: 280px; }
.footer h3 { font-size: 16px; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; opacity: .88; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: 12px; opacity: .8; }

/* ---- Shared bits (course pages) --------------------------------------------------- */
.notice { padding: 14px 16px; background: var(--amber-soft); border-left: 3px solid var(--amber); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--ink-2); margin-top: 14px; }
.program-label { display: block; margin: 0 0 10px; font-weight: 700; }
.levels-picker { display: flex; gap: 8px; flex-wrap: wrap; }
.levels-picker a { border: 1px solid var(--control); background: #fff; border-radius: var(--r-pill); padding: 8px 16px; font-weight: 600; font-size: 14px; transition: border-color .2s; }
.levels-picker a:hover { border-color: var(--ink); }
.levels-picker a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Course sheet */
.sheet-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.sheet-main { min-width: 0; }
.sheet-summary { color: var(--sub); margin-top: 6px; }
.sheet-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 2px; }
.sheet-tags span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: var(--tint); color: var(--steel-deep); }
/* Each section is its own card */
.sheet-sec { margin-top: 16px; padding: 24px 26px 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.sheet-sec > h2 { padding-bottom: 14px; margin-bottom: 16px !important; border-bottom: 1px solid var(--line); }
.sheet-sec h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 19px; margin-bottom: 12px; }
.sheet-sec p, .sheet-sec li { font-size: 15px; color: var(--sub); line-height: 1.55; }
.tag-proposed { font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 3px 9px; border-radius: var(--r-pill); background: var(--amber-soft); color: var(--amber-deep); border: 1px solid #f6d58c; }
.consult { color: var(--ink-2); font-weight: 600; }
.sheet-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.sheet-list li::marker { color: var(--amber); }
.sheet-outline { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sheet-outline li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); color: var(--ink); font-weight: 600; }
.sheet-outline li span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--amber); color: var(--ink); font-size: 12px; font-weight: 800; flex-shrink: 0; }
.sheet-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sheet-sub b { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.sheet-cal { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sheet-cal li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; }
.sheet-date { font-weight: 600; color: var(--ink); }
.st { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.st-up { background: #e6f5ee; color: var(--success); }
.st-on { background: var(--amber); color: var(--ink); }
.st-past { background: var(--bg-2); color: var(--faint); }
.st-prov { background: var(--tint); color: var(--steel-deep); }
.sheet-cal li:has(.st-past) .sheet-date { color: var(--faint); font-weight: 500; }
.sheet-note { font-size: 13px !important; color: var(--faint) !important; margin-top: 10px; }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet-grid p { padding: 12px 14px; background: var(--bg-2); border-radius: 12px; }
.sheet-grid b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 3px; }
.sheet-todo { margin-top: 20px; border-radius: 14px; background: var(--amber-soft); border: 1px solid #f6d58c; padding: 14px 16px; }
.sheet-todo summary { cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.sheet-todo summary .count { background: var(--amber); color: var(--ink); }
.sheet-todo ul { margin: 10px 0 0; padding-left: 20px; }
.sheet-todo li, .sheet-todo p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.sheet-org { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: var(--tint); font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.sheet-org b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--steel-deep); margin-bottom: 4px; }
.sheet-aside { position: sticky; top: 96px; margin-top: 8px; padding: 20px; border-radius: 16px; background: var(--bg-2); }
.sheet-aside h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--sub); margin-bottom: 12px; }
.sheet-aside dl { margin: 0; display: grid; gap: 12px; }
.sheet-aside dt { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--sub); }
.sheet-aside dt .i { color: var(--steel-deep); font-size: 14px; }
.sheet-aside dd { margin: 2px 0 0 21px; font-size: 15px; font-weight: 600; }
.sheet-cta { display: grid; gap: 8px; margin: 4px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sheet-cta .btn { width: 100%; }
.sheet-contact { display: grid; gap: 7px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.sheet-contact b { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--sub); }
.sheet-contact a { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.sheet-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sheet-contact .i { color: var(--steel-deep); }
@media (max-width: 820px) {
  .sheet-body { grid-template-columns: 1fr; gap: 0; }
  .sheet-aside { position: static; margin-top: 28px; }
  .sheet-org { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sheet-two, .sheet-grid { grid-template-columns: 1fr; }
  .sheet-sec { padding: 20px 18px 22px; border-radius: 16px; }
  .sheet-cal li { flex-wrap: wrap; }
}

/* ---- Store section bands: tinted, rounded panels with a centred head ------------ */
.band { margin-top: 40px; padding: 40px 32px; border-radius: var(--r-band); }
.band--lavender { background: var(--lavender); }
.band--sage { background: var(--sage); }
.band--sky { background: var(--sky-soft); }
.band-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 26px; }
.band-head h2 { font-size: 32px; line-height: 1.15; font-weight: 700; }
.band-head p { color: var(--sub); max-width: 620px; }
.pill-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 18px; border: 1px solid var(--control); border-radius: var(--r-pill); font-size: 14px; font-weight: 700; transition: border-color .2s, background .2s; }
.pill-link:hover { border-color: var(--ink); background: rgba(255, 255, 255, .6); }

/* Boxed product-style cards (store "incontournables") */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcard { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: var(--sky-soft); transition: transform .25s var(--ease), box-shadow .25s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard:hover .pcard__title { text-decoration: underline; text-underline-offset: 3px; }
.pcard__media { display: block; overflow: hidden; border-radius: 10px; background: #fff; }
.pcard__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.pcard__cat { display: inline-flex; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); background: #fff; color: var(--steel-deep); }
.pcard__title { font-size: 17px; font-weight: 700; line-height: 1.3; }
.pcard__summary { font-size: 14px; color: var(--sub); line-height: 1.45; }
.pcard__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; font-size: 13px; font-weight: 600; }
.pcard__meta .i { color: var(--steel-deep); }
.pcard__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .4; display: inline-block; margin: 0 4px; }

/* Availability, as the live cards word it */
.av { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.av::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.av-open { background: #e6f5ee; color: var(--success); }
.av-soon { background: var(--amber-soft); color: var(--amber-deep); }
.av--media { position: absolute; left: 12px; top: 12px; z-index: 2; background: #fff; }

/* Roles inside the lavender band */
.band--lavender .roles__cards { gap: 16px; }
.band--lavender .mini { padding: 8px; }

/* Banner cards inside the sage band (store "Équipez votre entreprise") */
.banners { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 420px; }
.banner-card { position: relative; overflow: hidden; display: flex; align-items: flex-end; border-radius: 12px; color: #fff; isolation: isolate; min-height: 200px; }
.banner-card--tall { grid-row: span 2; }
.banner-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.banner-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(79, 127, 150, .94) 0%, rgba(91, 140, 174, .72) 55%, rgba(91, 140, 174, .25) 100%); }
.banner-card:hover img { transform: scale(1.04); }
.banner-card__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px; max-width: 520px; }
.banner-card__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.banner-card b { font-size: 24px; line-height: 1.2; }
.banner-card--tall b { font-size: 30px; }
.banner-card__copy > span:not(.btn):not(.banner-card__eyebrow) { font-size: 15px; opacity: .92; }
.banner-card .btn { margin-top: 6px; min-height: 38px; font-size: 14px; }

/* Marquee (sage) */
.marquee { margin-top: 12px; padding: 30px 0; overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 40s linear infinite; font-size: 24px; font-weight: 700; white-space: nowrap; }
.marquee__track i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Calendar (pale-blue band) */
.cal-filters { display: grid; gap: 10px; }
.cal-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cal-pills button { border: 1px solid var(--control); background: transparent; border-radius: var(--r-pill); padding: 7px 14px; font-size: 13px; font-weight: 600; }
.cal-pills button:hover { border-color: var(--ink); }
.cal-pills button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cal-count { margin: 20px 0 8px; font-size: 14px; font-weight: 700; color: var(--sub); text-align: center; }
.cal-month + .cal-month { margin-top: 18px; }
.cal-month h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-deep); margin-bottom: 8px; }
.cal-month ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cal-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 190px 110px; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 12px; background: #fff; transition: box-shadow .2s; }
.cal-row:hover { box-shadow: var(--shadow); }
.cal-row:hover .cal-row__title { text-decoration: underline; text-underline-offset: 3px; }
.cal-row__date { font-weight: 700; }
.cal-row__title { display: flex; align-items: center; gap: 10px; font-weight: 600; min-width: 0; }
.cal-row__title .pcard__cat { background: var(--sky-soft); flex-shrink: 0; }
.cal-row__meta { font-size: 13px; color: var(--sub); }
.cal-row .st { justify-self: end; }
.cal-row.is-past { opacity: .6; }
.cal-empty { text-align: center; color: var(--sub); padding: 20px; }

/* Store reassurance panel: grey, black round icons */
.reassure { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 48px; margin-bottom: 48px; padding: 34px 28px; border-radius: var(--r-band); background: var(--bg-2); text-align: center; }
.reassure > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.reassure__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 18px; margin-bottom: 6px; }
.reassure h3 { font-size: 15px; }
.reassure p { font-size: 13px; color: var(--sub); line-height: 1.4; }
.reassure > div { min-width: 0; }
.reassure a { font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Top bar links, footer additions */
.topbar__links { margin-left: auto; }
.topbar__phone { gap: 6px; font-weight: 700; opacity: 1 !important; }
.search__btn { border: 0; cursor: pointer; }
/* Qualiopi mark: the artwork is transparent and dark, so it always sits on white */
.qualiopi-logo { width: auto; height: 64px; flex-shrink: 0; }
.footer__qualiopi { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: #fff; color: var(--sub); font-size: 12px; line-height: 1.4; max-width: 360px; }
.footer__qualiopi b { display: block; color: var(--ink); font-size: 13px; }
.footer__qualiopi u, .sheet-qualiopi u, .partners__qualiopi u { display: block; margin-top: 3px; color: var(--steel-deep); font-weight: 700; text-underline-offset: 3px; }
.footer a.footer__qualiopi:hover { text-decoration: none; }
.footer a.footer__qualiopi:hover u { text-decoration-thickness: 2px; }
.sheet-qualiopi { align-items: center; gap: 12px !important; padding: 10px 12px; border-radius: 12px; background: #fff; font-size: 13px; }
.sheet-qualiopi .qualiopi-logo { height: 58px; }
.partners__qualiopi { padding: 0 !important; background: #fff !important; border-radius: 12px !important; }
.partners__qualiopi a { display: flex; align-items: center; gap: 12px; padding: 6px 16px 6px 8px; font-size: 13px; }
.partners__qualiopi img { width: auto; height: 56px; }
.footer__sites li { display: grid; gap: 2px; }
.footer__sites b { font-size: 14px; }
.footer__legal nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* List view rows */
.list-group li a { align-items: flex-start; }
.lt { display: grid; gap: 2px; font-weight: 600; }
.lt em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--sub); }
.lm { display: grid; justify-items: end; gap: 4px; flex-shrink: 0; }

/* ---- Course page ---------------------------------------------------------------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 18px 0 14px; font-size: 13px; color: var(--sub); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--faint); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.course-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center; padding-block: 40px; padding-inline: 40px; border-radius: var(--r-band); background: var(--sky-soft); width: calc(100% - 48px); max-width: calc(var(--wrap) - 48px); }
.course-hero__org { font-size: 13px; color: var(--sub); }
.course-hero__org b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-deep); margin-bottom: 2px; }
.course-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.course-hero h1 { font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin-top: 12px; }
.course-hero__lead { font-size: 18px; color: var(--ink-2); margin-top: 12px; max-width: 640px; }
.course-hero__alt { font-size: 15px; color: var(--sub); margin-top: 6px; max-width: 640px; }
.course-hero__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 24px 0 0; }
.course-hero__facts div { padding: 12px 14px; border-radius: 12px; background: #fff; }
.course-hero__facts dt { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--sub); }
.course-hero__facts dt .i { color: var(--steel-deep); }
.course-hero__facts dd { margin: 3px 0 0; font-weight: 700; font-size: 15px; line-height: 1.3; }
.course-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.course-hero__media img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; }
.course-hero__media--ai { position: relative; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; --orb: 200px; }
.siblings { margin-top: 28px; }
.course-sheet { margin-top: 12px; }
.related { margin-top: 56px; }
.related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* Sheet additions */
.sheet-date small { display: block; font-size: 12px; font-weight: 500; color: var(--sub); margin-top: 2px; }
.sheet-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; }
.sheet-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: var(--r-pill); background: var(--bg-2); font-size: 14px; font-weight: 600; }
.sheet-steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; }
.sheet-steps--light { margin-top: 16px; }
.sheet-steps--light li { background: #fff; }
.sheet-inline-btn { margin-top: 14px; }
.sheet-fund { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; align-items: start; }
.sheet-fund p + p { margin-top: 8px; }
.sheet-price { padding: 14px 16px; border-radius: 12px; background: var(--amber-soft); }
.sheet-price small { display: block; font-size: 13px; font-weight: 600; }
.sheet-price b { font-size: 22px; }
.sheet-box { padding: 14px 16px; border-radius: 12px; background: var(--bg-2); }
.sheet-box b { display: block; color: var(--ink); margin-bottom: 4px; }
.sheet-aside__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.sheet-aside__top h3 { margin: 0; }
.sheet-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--steel-deep); }
.sheet-more .i { transform: rotate(-90deg); }
.sheet-print { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font-weight: 600; font-size: 14px; text-align: left; }
.sheet-print:hover { text-decoration: underline; text-underline-offset: 3px; }
.sheet-print .i { color: var(--steel-deep); }
.sheet-partners { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.sheet-partners b { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--sub); }
.sheet-partners a { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.sheet-partners .partner-dot { flex-shrink: 0; }

@media print {
  .topbar, .header, .crumbs, .siblings, .related, .reassure, .footer, .course-hero__cta, .sheet-cta, .sheet-print, .sheet-todo { display: none !important; }
  .course-hero { background: none; padding: 0; }
  .sheet-body { grid-template-columns: 1fr; }
  .sheet-aside { position: static; }
}

/* ---- Responsive ----------------------------------------------------------------- */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reassure { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-row { grid-template-columns: 130px minmax(0, 1fr) 110px; }
  .cal-row__meta { display: none; }
  .header__actions .link-plain { display: none; }
}
@media (max-width: 900px) {
  .hero__track > .banner { flex-basis: 100%; }
  .columns, .goals, .formats__grid, .closing { grid-template-columns: 1fr; }
  .cards, .roles__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .topbar__info, .explore { display: none; }
  .topbar { display: none; }
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-hero { grid-template-columns: 1fr; padding: 28px; }
  .course-hero__media { order: -1; }
  .course-hero__media img { aspect-ratio: 16/9; }
  .course-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banners { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .banner-card--tall { grid-row: auto; min-height: 280px; }
  .banner { min-height: 280px; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 16px; }
  .topbar nav { gap: 16px; }
  .header__inner { flex-wrap: wrap; gap: 12px; min-height: 0; padding-block: 12px; }
  .header__logo img { width: 116px; }
  .header__actions { gap: 10px; }
  .header__actions .btn { min-height: 38px; padding: 0 1rem; font-size: 14px; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 44px; }
  .hero__track > .banner { flex-basis: 90%; }
  .hero__track { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .banner { flex-direction: column; min-height: 0; }
  .banner__art--qualiopi { height: auto; padding: 30px 0 26px; }
  .cert { width: 62%; max-width: 200px; padding: 12px 12px 10px; }
  .banner__art--qualiopi .chip-float--check { top: 12px; right: 18px; }
  .hero__btn { width: 36px; height: 36px; }
  .banner__copy { max-width: none; padding: 26px 22px 0; }
  .banner__art { position: relative; width: 100%; height: 190px; }
    .ai-mark { right: 50%; transform: translateX(50%); bottom: 18px; font-size: 48px; }
  .b1 { top: 18px; right: auto; left: 18px; } .b2 { top: 18px; right: 18px; } .b3 { top: 70px; right: auto; left: 34%; }
  .t1 { top: 14px; right: 16px; width: 58%; } .t2 { bottom: 12px; right: auto; left: 16px; width: 34%; } .t3 { bottom: 12px; right: 16px; width: 42%; }
  .roles__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
  .chip { flex-shrink: 0; }
  .roles__cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
  .mini { flex: 0 0 72%; scroll-snap-align: start; }
          .goal { min-height: 76px; font-size: 16px; }
  .catalogue__head h2 { font-size: 27px; }
  .view-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .view-tabs button { flex-shrink: 0; min-height: 42px; padding: 0 16px; font-size: 14px; }
  .header { position: static; }
  .category-tabs, .domains { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .category-tabs button, .domain { flex-shrink: 0; }
  .cards { grid-template-columns: 1fr; }
  .list-group ul { grid-template-columns: 1fr; }
  .list-contact { flex-direction: column; align-items: flex-start; }
  .closing { padding: 26px; }
  .closing h2 { font-size: 25px; }
  .footer__inner { grid-template-columns: 1fr; }
  .band { padding: 28px 18px; border-radius: 24px; margin-top: 28px; }
  .band-head h2 { font-size: 25px; }
  .pcards, .related__grid { grid-template-columns: 1fr; }
  .band--lavender .roles__chips, .band--lavender .roles__cards { margin-inline: -18px; padding-inline: 18px; }
  .roles__chips { justify-content: flex-start; }
  .banner-card b, .banner-card--tall b { font-size: 22px; }
  .marquee { padding: 20px 0; }
  .marquee__track { font-size: 18px; gap: 22px; }
  .cal-pills { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; }
  .cal-pills button { flex-shrink: 0; }
  .cal-row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .cal-row__title { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 6px; }
  .reassure { grid-template-columns: 1fr 1fr; padding: 26px 16px; border-radius: 24px; }
  .course-hero { width: calc(100% - 32px); padding: 20px; border-radius: 24px; gap: 20px; }
  .course-hero h1 { font-size: 30px; }
  .course-hero__lead { font-size: 16px; }
  .course-hero__cta .btn { flex: 1 1 100%; }
  .sheet-fund { grid-template-columns: 1fr; }
  .crumbs ol { padding-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html, .hero__track { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---- Icons (Lucide shapes, drawn with masks so they follow currentColor) ------------ */
.i { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; vertical-align: -.125em; }
.i-chevron { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m6 9 6 6 6-6%27/%3E%3C/svg%3E"); }
.i-search { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%278%27/%3E%3Cpath d=%27m21 21-4.3-4.3%27/%3E%3C/svg%3E"); }
.i-arrow { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5 12h14%27/%3E%3Cpath d=%27m12 5 7 7-7 7%27/%3E%3C/svg%3E"); }
.i-pen { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 20h9%27/%3E%3Cpath d=%27M16.4 3.6a2.1 2.1 0 0 1 3 3L7.4 18.6a2 2 0 0 1-.9.5l-2.9.9.9-2.9a2 2 0 0 1 .5-.9z%27/%3E%3C/svg%3E"); }
.i-layers { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m12.8 2.2a2 2 0 0 0-1.7 0L2.6 6.1a1 1 0 0 0 0 1.8l8.6 3.9a2 2 0 0 0 1.7 0l8.6-3.9a1 1 0 0 0 0-1.8Z%27/%3E%3Cpath d=%27m22 17.6-9.2 4.2a2 2 0 0 1-1.6 0L2 17.6%27/%3E%3Cpath d=%27m22 12.6-9.2 4.2a2 2 0 0 1-1.6 0L2 12.6%27/%3E%3C/svg%3E"); }
.i-sparkles { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M9.9 15.5A2 2 0 0 0 8.5 14l-6.1-1.6a.5.5 0 0 1 0-1L8.5 10A2 2 0 0 0 9.9 8.5l1.6-6.1a.5.5 0 0 1 1 0L14 8.5a2 2 0 0 0 1.5 1.4l6.1 1.6a.5.5 0 0 1 0 1L15.5 14a2 2 0 0 0-1.4 1.5l-1.6 6.1a.5.5 0 0 1-1 0z%27/%3E%3C/svg%3E"); }
.i-check { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M20 6 9 17l-5-5%27/%3E%3C/svg%3E"); }
.i-trend { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M22 7 13.5 15.5 8.5 10.5 2 17%27/%3E%3Cpath d=%27M16 7h6v6%27/%3E%3C/svg%3E"); }
.i-users { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2%27/%3E%3Ccircle cx=%279%27 cy=%277%27 r=%274%27/%3E%3Cpath d=%27M22 21v-2a4 4 0 0 0-3-3.9%27/%3E%3Cpath d=%27M16 3.1a4 4 0 0 1 0 7.8%27/%3E%3C/svg%3E"); }
.i-cap { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M21.4 10.9a1 1 0 0 0 0-1.8L12.8 5.2a2 2 0 0 0-1.7 0L2.6 9.1a1 1 0 0 0 0 1.8l8.6 3.9a2 2 0 0 0 1.7 0z%27/%3E%3Cpath d=%27M22 10v6%27/%3E%3Cpath d=%27M6 12.5V16a6 3 0 0 0 12 0v-3.5%27/%3E%3C/svg%3E"); }
.i-building { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z%27/%3E%3Cpath d=%27M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2%27/%3E%3Cpath d=%27M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2%27/%3E%3Cpath d=%27M10 6h4M10 10h4M10 14h4M10 18h4%27/%3E%3C/svg%3E"); }
.i-phone { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z%27/%3E%3C/svg%3E"); }
.i-x { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M18 6 6 18%27/%3E%3Cpath d=%27m6 6 12 12%27/%3E%3C/svg%3E"); }
.i-clock { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%2710%27/%3E%3Cpath d=%27M12 6v6l4 2%27/%3E%3C/svg%3E"); }
.i-calendar { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%274%27 width=%2718%27 height=%2718%27 rx=%272%27/%3E%3Cpath d=%27M16 2v4M8 2v4M3 10h18%27/%3E%3C/svg%3E"); }
.i-bureautique { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%273%27 width=%2718%27 height=%2718%27 rx=%272%27/%3E%3Cpath d=%27M3 9h18M3 15h18M9 3v18%27/%3E%3C/svg%3E"); }
.i-management { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%272%27 y=%277%27 width=%2720%27 height=%2714%27 rx=%272%27/%3E%3Cpath d=%27M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16%27/%3E%3C/svg%3E"); }
.i-communication { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z%27/%3E%3C/svg%3E"); }
.i-numerique { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%272%27 y=%273%27 width=%2720%27 height=%2714%27 rx=%272%27/%3E%3Cpath d=%27M8 21h8M12 17v4%27/%3E%3C/svg%3E"); }
.i-gestion { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%274%27 y=%272%27 width=%2716%27 height=%2720%27 rx=%272%27/%3E%3Cpath d=%27M8 6h8M16 14v4M8 10h.01M12 10h.01M16 10h.01M8 14h.01M12 14h.01M8 18h.01M12 18h.01%27/%3E%3C/svg%3E"); }
.i-prevention { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M20 13c0 5-3.5 7.5-7.7 9a1 1 0 0 1-.7 0C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.2-2.7a1.2 1.2 0 0 1 1.6 0C14.5 3.8 17 5 19 5a1 1 0 0 1 1 1z%27/%3E%3Cpath d=%27M9 12h6M12 9v6%27/%3E%3C/svg%3E"); }
.i-pause { --m: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Crect%20x=%2714%27%20y=%274%27%20width=%274%27%20height=%2716%27%20rx=%271%27/%3E%3Crect%20x=%276%27%20y=%274%27%20width=%274%27%20height=%2716%27%20rx=%271%27/%3E%3C/svg%3E"); }
.i-play { --m: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpolygon%20points=%276%203%2020%2012%206%2021%206%203%27/%3E%3C/svg%3E"); }

/* Certification + funders panel: information, not controls — no borders, no hover */
.trust { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: var(--r-band); background: var(--bg-2); overflow: hidden; }
.trust__cert { display: flex; align-items: center; gap: 22px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-band) 0 0 var(--r-band); }
.trust__logo { flex-shrink: 0; }
.trust__logo img { width: 150px; height: auto; }
.trust__title { font-weight: 700; font-size: 16px; line-height: 1.3; }
.trust__text { margin: 6px 0 10px; font-size: 13px; line-height: 1.5; color: var(--sub); }
.trust__funders { padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; }
.trust__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sub); }
.trust__names { list-style: none; margin: 14px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
.trust__names li { padding: 2px 18px; border-left: 1px solid #d4d4d4; font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; color: #3a3a3a; }
.trust__names li:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.trust__names small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--faint); margin-top: 2px; }
.trust__note { font-size: 13px; color: var(--sub); }
.trust__names li { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 64px; }
.trust__names .has-logo img { width: auto; height: auto; max-width: 180px; max-height: 50px; }
.trust__names .has-logo img[src*="mission-locale"] { max-height: 58px; }
.trust__names .has-logo img[src*="departement"] { max-height: 64px; }
/* JPG artwork on white: multiply drops the white box onto the grey panel */
.trust__names .logo--jpg { mix-blend-mode: multiply; }
@media (max-width: 900px) {
  .trust { grid-template-columns: 1fr; }
  .trust__cert { border-radius: var(--r-band) var(--r-band) 0 0; }
}
@media (max-width: 600px) {
  .trust { border-radius: 24px; }
  .trust__cert { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; border-radius: 24px 24px 0 0; }
  .trust__logo img { width: 130px; }
  .trust__funders { padding: 22px 20px; }
  .trust__names { grid-template-columns: 1fr 1fr; }
  .trust__names li, .trust__names li:nth-child(3n + 1) { padding: 2px 14px; border-left: 1px solid #d4d4d4; }
  .trust__names li:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .trust__names li { font-size: 15px; }
}

/* ---- IA art: Siri-style aurora + Gemini-style sparkle field + glowing orb ---------- */
.ai-art { position: relative; isolation: isolate; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(55% 75% at 92% 105%, rgba(139, 124, 246, .55), transparent 70%),
    radial-gradient(45% 60% at 104% 18%, rgba(99, 200, 243, .6), transparent 70%),
    radial-gradient(42% 55% at 58% 112%, rgba(244, 114, 182, .42), transparent 70%),
    radial-gradient(28% 38% at 74% 58%, rgba(248, 173, 25, .28), transparent 70%),
    linear-gradient(160deg, #fbfaff 0%, #f1efff 55%, #ebe8ff 100%); }
.ai-art::before { content: ""; position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2016%2016%27%3E%3Cpath%20d=%27M8%203.2Q8.6%207.4%2012.8%208Q8.6%208.6%208%2012.8Q7.4%208.6%203.2%208Q7.4%207.4%208%203.2Z%27%20fill=%27%237a5cff%27/%3E%3C/svg%3E"); background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(60% 70% at 82% 96%, #000 0%, rgba(0, 0, 0, .55) 38%, transparent 72%);
  mask-image: radial-gradient(60% 70% at 82% 96%, #000 0%, rgba(0, 0, 0, .55) 38%, transparent 72%);
  animation: ai-drift 18s ease-in-out infinite alternate; }
@keyframes ai-drift { to { transform: translate(-18px, -12px); } }
.banner--ai p { color: var(--sub); }
.banner--ai .banner__note { color: var(--sub); opacity: 1; }

.ai-orb { --size: var(--orb, 190px); position: absolute; right: 12%; bottom: 14%; width: var(--size); height: var(--size); }
.ai-orb__ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--ai-sky), var(--ai-violet), var(--ai-pink), var(--amber), var(--ai-sky)); filter: blur(calc(var(--size) * .06)); box-shadow: 0 0 calc(var(--size) * .35) calc(var(--size) * .06) rgba(139, 124, 246, .38); animation: ai-spin 12s linear infinite; }
.ai-orb__glass { position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff 0%, rgba(255, 255, 255, .88) 40%, rgba(255, 255, 255, .45) 72%, rgba(255, 255, 255, .15) 100%); backdrop-filter: blur(6px); }
.ai-orb__text { position: absolute; inset: 0; display: grid; place-items: center; font-size: calc(var(--size) * .3); font-weight: 800; letter-spacing: -.04em; background: linear-gradient(135deg, #3867d6 10%, var(--ai-ink) 50%, #d9468f 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes ai-spin { to { transform: rotate(1turn); } }
/* Thumbnails centre the orb */
.card__ph.ai-art { position: absolute; }
.card__ph .ai-orb, .row__ph .ai-orb, .mini__ph .ai-orb, .course-hero__media--ai .ai-orb { right: auto; bottom: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.row__ph::before { background-size: 9px 9px; }
.banner__art--ai .ai-orb { right: 16%; bottom: 13%; }
@media (max-width: 600px) {
  .banner__art--ai { height: 190px; }
  .banner__art--ai .ai-orb { --orb: 124px; right: 24px; bottom: 30px; transform: none; }
  .banner__art--ai .b1 { top: 22px; left: 22px; right: auto; }
  .banner__art--ai .b2 { top: 74px; left: 22px; right: auto; }
  .banner__art--ai .b3 { top: 126px; left: 22px; right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-orb__ring, .ai-art::before { animation: none; }
}

/* ---- Sign-up timeline -------------------------------------------------------------- */
.timeline { --dot: 34px; list-style: none; margin: 4px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: none; }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 12px; }
/* the connecting line runs from each dot to the next */
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--dot) / 2 - 1px); left: var(--dot); right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 10px); opacity: .35; }
.timeline__dot { position: relative; z-index: 1; display: grid; place-items: center; width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 0 0 5px var(--timeline-bg, #fff); }
.timeline__end .timeline__dot { background: var(--amber); color: var(--ink); font-size: 16px; }
.timeline__body { display: grid; gap: 3px; }
.timeline__body b { font-size: 15px; line-height: 1.25; color: var(--ink); }
.timeline__body small { font-size: 12.5px; line-height: 1.4; color: var(--sub); }
.timeline--light { --timeline-bg: var(--bg-2); margin-top: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
.timeline--light li:nth-child(3)::after { display: none; }
@media (max-width: 1180px) {
  .sheet-main .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .sheet-main .timeline li:nth-child(3)::after { display: none; }
}
@media (max-width: 600px) {
  .timeline, .timeline--light, .sheet-main .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline li { flex-direction: row; align-items: flex-start; gap: 14px; padding: 0 0 18px; }
  .timeline li:not(:last-child)::after, .timeline--light li:nth-child(3)::after, .sheet-main .timeline li:nth-child(3)::after { display: block; top: var(--dot); bottom: 0; left: calc(var(--dot) / 2 - 1px); right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 10px); }
  .timeline__body { padding-top: 6px; }
}
.i-wrench { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z%27/%3E%3C/svg%3E"); }
.i-server-cog { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m10.852 14.772-.383.923%27/%3E%3Cpath d=%27M13.148 14.772a3 3 0 1 0-2.296-5.544l-.383-.923%27/%3E%3Cpath d=%27m13.148 9.228.383-.923%27/%3E%3Cpath d=%27m13.53 15.696-.382-.924a3 3 0 1 1-2.296-5.544%27/%3E%3Cpath d=%27m14.772 10.852.923-.383%27/%3E%3Cpath d=%27m14.772 13.148.923.383%27/%3E%3Cpath d=%27M4.5 10H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-.5%27/%3E%3Cpath d=%27M4.5 14H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-.5%27/%3E%3Cpath d=%27M6 18h.01%27/%3E%3Cpath d=%27M6 6h.01%27/%3E%3Cpath d=%27m9.228 10.852-.923-.383%27/%3E%3Cpath d=%27m9.228 13.148-.923.383%27/%3E%3C/svg%3E"); }
.i-network { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%2716%27 y=%2716%27 width=%276%27 height=%276%27 rx=%271%27/%3E%3Crect x=%272%27 y=%2716%27 width=%276%27 height=%276%27 rx=%271%27/%3E%3Crect x=%279%27 y=%272%27 width=%276%27 height=%276%27 rx=%271%27/%3E%3Cpath d=%27M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3%27/%3E%3Cpath d=%27M12 12V8%27/%3E%3C/svg%3E"); }
.i-shield { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z%27/%3E%3Cpath d=%27m9 12 2 2 4-4%27/%3E%3C/svg%3E"); }
.i-code { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m18 16 4-4-4-4%27/%3E%3Cpath d=%27m6 8-4 4 4 4%27/%3E%3Cpath d=%27m14.5 4-5 16%27/%3E%3C/svg%3E"); }
.i-clipboard { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect width=%278%27 height=%274%27 x=%278%27 y=%272%27 rx=%271%27 ry=%271%27/%3E%3Cpath d=%27M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2%27/%3E%3Cpath d=%27m9 14 2 2 4-4%27/%3E%3C/svg%3E"); }
.i-palette { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z%27/%3E%3Ccircle cx=%2713.5%27 cy=%276.5%27 r=%27.5%27 fill=%27currentColor%27/%3E%3Ccircle cx=%2717.5%27 cy=%2710.5%27 r=%27.5%27 fill=%27currentColor%27/%3E%3Ccircle cx=%276.5%27 cy=%2712.5%27 r=%27.5%27 fill=%27currentColor%27/%3E%3Ccircle cx=%278.5%27 cy=%277.5%27 r=%27.5%27 fill=%27currentColor%27/%3E%3C/svg%3E"); }
.i-messages { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z%27/%3E%3Cpath d=%27M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1%27/%3E%3C/svg%3E"); }
.i-grad { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z%27/%3E%3Cpath d=%27M22 10v6%27/%3E%3Cpath d=%27M6 12.5V16a6 3 0 0 0 12 0v-3.5%27/%3E%3C/svg%3E"); }
.i-laptop { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect width=%2718%27 height=%2712%27 x=%273%27 y=%274%27 rx=%272%27 ry=%272%27/%3E%3Cline x1=%272%27 x2=%2722%27 y1=%2720%27 y2=%2720%27/%3E%3C/svg%3E"); }
.i-building2 { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M10 12h4%27/%3E%3Cpath d=%27M10 8h4%27/%3E%3Cpath d=%27M14 21v-3a2 2 0 0 0-4 0v3%27/%3E%3Cpath d=%27M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2%27/%3E%3Cpath d=%27M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16%27/%3E%3C/svg%3E"); }
.i-message { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719%27/%3E%3C/svg%3E"); }
.i-pin { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0%27/%3E%3Ccircle cx=%2712%27 cy=%2710%27 r=%273%27/%3E%3C/svg%3E"); }
.i-mail { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7%27/%3E%3Crect x=%272%27 y=%274%27 width=%2720%27 height=%2716%27 rx=%272%27/%3E%3C/svg%3E"); }
.i-target { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%2710%27/%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%276%27/%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%272%27/%3E%3C/svg%3E"); }
.i-heart { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M19.414 14.414C21 12.828 22 11.5 22 9.5a5.5 5.5 0 0 0-9.591-3.676.6.6 0 0 1-.818.001A5.5 5.5 0 0 0 2 9.5c0 2.3 1.5 4 3 5.5l5.535 5.362a2 2 0 0 0 2.879.052 2.12 2.12 0 0 0-.004-3 2.124 2.124 0 1 0 3-3 2.124 2.124 0 0 0 3.004 0 2 2 0 0 0 0-2.828l-1.881-1.882a2.41 2.41 0 0 0-3.409 0l-1.71 1.71a2 2 0 0 1-2.828 0 2 2 0 0 1 0-2.828l2.823-2.762%27/%3E%3C/svg%3E"); }
.i-flag { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528%27/%3E%3C/svg%3E"); }
.i-star { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z%27/%3E%3C/svg%3E"); }
.i-scale { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 3v18%27/%3E%3Cpath d=%27m19 8 3 8a5 5 0 0 1-6 0zV7%27/%3E%3Cpath d=%27M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1%27/%3E%3Cpath d=%27m5 8 3 8a5 5 0 0 1-6 0zV7%27/%3E%3Cpath d=%27M7 21h10%27/%3E%3C/svg%3E"); }
.i-leaf { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z%27/%3E%3Cpath d=%27M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12%27/%3E%3C/svg%3E"); }

/* ---- Site pages (accueil, services, qui sommes-nous, contact, inscription, légal) ---- */
.page-site .course-hero { margin-top: 20px; }
.site-hero--text { grid-template-columns: 1fr; padding-block: 48px; }
.site-hero--text .course-hero__lead { max-width: 760px; }
.course-hero__media--portrait img { aspect-ratio: 4/5; max-height: 520px; object-position: top; }
.site-stack { display: grid; gap: 0; margin-top: 8px; }
.site-stack > .sheet-sec:first-child, .site-stack > .site-grid:first-child .sheet-sec { margin-top: 16px; }
.site-stack--tight { align-content: start; }
.site-grid { display: grid; gap: 16px; }
.site-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.site-grid > .sheet-sec { margin-top: 16px; }
.icon-dot { display: inline-grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 18px; }
.icon-dot--ok { width: 52px; height: 52px; background: var(--success); font-size: 24px; }
.sheet-sec > h2 .icon-dot { width: 34px; height: 34px; font-size: 16px; margin-right: 4px; }

/* home: two paths, info cards */
.path-card { display: grid; grid-template-columns: 44% 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); transition: box-shadow .25s, transform .25s var(--ease); }
.path-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.path-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.path-card__body { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 26px; }
.path-card__body b { font-size: 24px; line-height: 1.2; }
.path-card__body > span:not(.eyebrow):not(.text-link) { color: var(--sub); }
.info-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid rgba(0, 0, 0, .04); }
a.info-card { transition: box-shadow .25s, transform .25s var(--ease); }
a.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card b { font-size: 17px; line-height: 1.3; }
.info-card > span:not(.icon-dot):not(.text-link) { font-size: 14px; color: var(--sub); line-height: 1.5; }
.info-card .text-link { margin-top: auto; font-size: 14px; }
.info-card--amber { background: var(--amber-soft); }
.info-card--amber .icon-dot { background: var(--amber); color: var(--ink); }

/* services */
.finder__sub { margin-top: -6px; }
.finder__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.finder__result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.finder__result p { grid-column: 1 / -1; }
.finder__match { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--sky-soft); }
.finder__match span { font-size: 14px; color: var(--sub); }
.service-card { display: flex; flex-direction: column; gap: 14px; transition: opacity .25s; scroll-margin-top: 110px; }
.service-card > h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 0 !important; }
.service-card .btn { align-self: flex-start; margin-top: auto; }
.service-card.is-dim { opacity: .35; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.checks .i { flex-shrink: 0; margin-top: 4px; color: var(--steel-deep); }

/* about */
.value { display: flex; flex-direction: column; gap: 8px; }
.value b { font-size: 16px; }
.value span:not(.icon-dot) { font-size: 14px; color: var(--sub); line-height: 1.5; }
.milestones { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 22px; }
.milestones::before { content: ""; position: absolute; left: 31px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.milestones li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.milestones__year { position: relative; z-index: 1; display: grid; place-items: center; height: 32px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 0 0 5px #fff; }
.milestones b { font-size: 16px; }
.milestones p { margin-top: 2px; }
.site-closing { margin: 16px 0 0; }

/* contact + sign-up */
.site-contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.site-form { display: grid; gap: 16px; }
.site-form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 14px; min-width: 0; }
.site-form legend { padding: 0; margin-bottom: 12px; font-size: 18px; font-weight: 700; }
.site-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.site-form input:not([type=radio]):not([type=checkbox]), .site-form select, .site-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--control); border-radius: 12px; background: #fff; font-weight: 400; font-size: 15px; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--amber-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reason-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.reason { position: relative; display: block !important; }
.reason input { position: absolute; opacity: 0; pointer-events: none; }
.reason span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--control); border-radius: var(--r-pill); font-weight: 600; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.reason span:hover { border-color: var(--ink); }
.reason input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.reason input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.reason--row span { display: flex; border-radius: 12px; font-weight: 500; }
#session-list { display: grid; gap: 8px; }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px; font-weight: 400 !important; color: var(--sub); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); flex-shrink: 0; }
.site-form .btn[type=submit], .wizard-nav .btn { justify-self: start; }
.form-error { color: var(--sale, #cb321e); font-size: 14px; font-weight: 600; }
.preview-note { font-size: 13px; color: var(--faint); }
.form-success { display: grid; justify-items: start; gap: 10px; padding: 12px 0; }
.form-success h2 { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.muted { color: var(--faint) !important; font-size: 14px !important; }
.location p + p { margin-top: 4px; }
.location a { font-weight: 600; }
.location__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.location__actions .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
.location__actions a { font-weight: 700; }
.wizard-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.wizard-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--faint); font-size: 14px; font-weight: 600; }
.wizard-steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; font-size: 12px; }
.wizard-steps li[aria-current] { background: var(--ink); color: #fff; }
.wizard-steps li[aria-current] span { background: var(--amber); color: var(--ink); }
.wizard-steps li.is-done { background: #e6f5ee; color: var(--success); }
.wizard-nav { display: flex; gap: 10px; }
.site-contact .timeline { grid-template-columns: 1fr; row-gap: 0; }
.site-contact .timeline li { flex-direction: row; gap: 14px; padding: 0 0 16px; }
.site-contact .timeline li:not(:last-child)::after, .site-contact .timeline li:nth-child(3)::after { display: block; top: var(--dot); bottom: 0; left: calc(var(--dot) / 2 - 1px); right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 10px); }
.site-contact .timeline__body { padding-top: 6px; }

/* legal */
.site-legal .sheet-sec { max-width: 900px; }
.site-legal p + p { margin-top: 6px; }
.todo-inline { margin-top: 8px !important; padding: 10px 14px; border-radius: 10px; background: var(--amber-soft); color: var(--ink-2) !important; }
.todo-inline b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-deep); }

@media (max-width: 1180px) {
  .site-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .site-grid--2, .site-contact { grid-template-columns: 1fr; }
  .path-card { grid-template-columns: 1fr; }
  .path-card img { min-height: 0; aspect-ratio: 16/9; }
  .course-hero__media--portrait img { aspect-ratio: 16/10; max-height: none; }
}
@media (max-width: 600px) {
  .site-grid--3, .site-grid--4, .finder__result, .field-row { grid-template-columns: 1fr; }
  .site-hero--text { padding-block: 28px; }
  .milestones::before { left: 27px; }
  .milestones li { grid-template-columns: 56px 1fr; gap: 12px; }
}

/* ---- Mobile menu (≤ 900px): hamburger + slide-in panel ------------------------------ */
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; margin-right: -6px; border: 0; border-radius: 12px; background: none; font-size: 26px; color: var(--ink); }
.menu-btn:hover { background: var(--bg-2); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .25s var(--ease); }
.mobile-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 400px); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); background: #fff; box-shadow: -18px 0 50px rgba(0, 0, 0, .18); transform: translateX(100%); transition: transform .26s var(--ease); }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
html.menu-open, html.menu-open body { overflow: hidden; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mobile-menu__top img { width: 116px; height: auto; }
.mobile-menu__close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; border-radius: 12px; background: none; font-size: 24px; }
.mobile-menu__close:hover { background: var(--bg-2); }
.mobile-menu__main { display: grid; padding: 6px 0; }
.mobile-menu__main a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.mobile-menu__main a .i { font-size: 18px; color: var(--faint); }
.mobile-menu__label { margin: 20px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sub); }
.mobile-menu__explore { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mobile-menu__explore a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 10px; border-radius: 12px; background: var(--bg-2); font-size: 14px; font-weight: 600; line-height: 1.25; }
.mobile-menu__explore .dom-icon { width: 30px; height: 30px; flex-shrink: 0; font-size: 15px; }
.mobile-menu__audience { display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-menu__audience a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--control); border-radius: var(--r-pill); font-size: 14px; font-weight: 600; }
.mobile-menu__foot { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__phone { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; justify-items: start; margin-top: 6px; font-size: 16px; font-weight: 700; }
.mobile-menu__phone .i { grid-row: span 2; font-size: 20px; color: var(--steel-deep); }
.mobile-menu__phone small { font-size: 13px; font-weight: 400; color: var(--sub); }
@media (max-width: 900px) { .menu-btn { display: grid; } }
@media (min-width: 901px) { .mobile-menu { display: none !important; } }
@media (max-width: 380px) { .mobile-menu__explore { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mobile-menu__panel, .mobile-menu__backdrop { transition: none; } }
.i-menu { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M4 5h16%27/%3E%3Cpath d=%27M4 12h16%27/%3E%3Cpath d=%27M4 19h16%27/%3E%3C/svg%3E"); }
.i-external { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M15 3h6v6%27/%3E%3Cpath d=%27M10 14 21 3%27/%3E%3Cpath d=%27M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6%27/%3E%3C/svg%3E"); }
.i-chevron-right { --m: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m9 18 6-6-6-6%27/%3E%3C/svg%3E"); }

/* Disability-access pictogram (from sasmetic.com) */
.a11y-box { display: flex; align-items: center; gap: 16px; }
.a11y-box p { margin: 0; }
.a11y-logo { width: 72px; height: 72px; flex-shrink: 0; border-radius: 8px; }
.reassure__a11y { width: 44px; height: 44px; margin-bottom: 6px; border-radius: 6px; }
@media (max-width: 600px) { .a11y-logo { width: 56px; height: 56px; } }

/* ---- Technical sheets: rows, header line, partner logos ----------------------------- */
.sheet-kv { margin-top: 6px; }
.sheet-kv b { color: var(--ink); }
.sheet-module { margin: 14px 0 6px; font-size: 15px; font-weight: 700; color: var(--steel-deep); }
.sheet-sec > .sheet-module:first-of-type, .sheet-sec h2 + .sheet-module { margin-top: 0; }
.sheet-callout { margin-top: 12px; padding: 10px 14px; border-left: 3px solid var(--amber); border-radius: 0 10px 10px 0; background: var(--amber-soft); font-size: 14px !important; }
.sheet-callout b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-deep); }
.sheet-empty { color: var(--faint) !important; font-style: italic; }
.sheet-sec p + p { margin-top: 6px; }
.course-hero__eyebrow { margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-deep); }
.course-hero__eyebrow + h1 { margin-top: 4px; }
.course-hero__tagline { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 10px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--steel-deep); }
.course-hero__tagline span + span::before, .fb__tagline span + span::before { content: "•"; margin: 0 8px; color: var(--amber); }
.av-on { background: var(--amber-soft); color: var(--amber-deep); }
.av-past { background: var(--bg-2); color: var(--faint); }
.partner-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.partner-logos li { display: flex; align-items: center; }
.partner-logos img { width: auto; height: auto; max-height: 52px; max-width: 190px; }
.partner-logos img[src*="ue-cofinance"] { max-height: 44px; }
.partner-logos img[src*="conseil-departemental"], .partner-logos img[src*="lareform"] { max-height: 30px; }
.partner-logos span { font-size: 14px; font-weight: 700; color: var(--sub); }

/* ---- "Nos actualités formation": Coursera-style promo cards ------------------------ */
.fiche-banners { margin-top: 44px; }
.fiche-banners__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.fiche-banners__head h2 { font-size: 30px; line-height: 1.15; font-weight: 800; margin-top: 4px; }
.fiche-banners__nav { display: flex; gap: 8px; }
.fiche-banners__nav [data-fb-prev] .i { transform: rotate(90deg); }
.fiche-banners__nav [data-fb-next] .i { transform: rotate(-90deg); }
.fb-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; padding: 4px 0 6px; }
.fb-track::-webkit-scrollbar { display: none; }
.fiche-banners__dots { justify-content: center; margin-top: 14px; }

.promo-card { --bg: var(--steel-deep); --fg: #fff; --sub: rgba(255, 255, 255, .86); --a: var(--amber); --b: var(--sky); position: relative; isolation: isolate; flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; display: flex; min-height: 300px; overflow: hidden; border-radius: 20px; background: var(--bg); color: var(--fg); transition: transform .25s var(--ease), box-shadow .25s; }
.promo-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, .16); }
.promo-card--sky { --bg: var(--sky-soft); --fg: var(--ink); --sub: var(--ink-2); --a: var(--steel-deep); --b: var(--amber); }
.promo-card--ink { --bg: #13202b; --a: var(--sky); --b: var(--amber); }
.promo-card__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 58%; padding: 24px 12px 22px 24px; }
.promo-card__brand { display: flex; align-items: center; gap: 8px; }
.promo-card__brand img { width: 76px; height: auto; }
.promo-card__kind { padding: 3px 8px; border-radius: 4px; background: var(--fg); color: var(--bg); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.promo-card--sky .promo-card__kind { background: var(--steel-deep); color: #fff; }
.promo-card__title { font-size: 19px; line-height: 1.22; font-weight: 700; }
.promo-card__facts { font-size: 14px; line-height: 1.45; color: var(--sub); }
.promo-card__session { font-size: 12.5px; font-weight: 700; color: var(--sub); }
.promo-card__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 16px; font-weight: 700; }
.promo-card--sky .promo-card__cta { color: var(--steel-deep); }
.promo-card:hover .promo-card__cta .i { transform: translateX(3px); }
.promo-card__art { position: absolute; z-index: 1; right: 0; top: 0; bottom: 0; width: 42%; }
.promo-card__shape { position: absolute; display: block; }
/* a quarter disc and a tall arc behind the portrait, like Coursera's paper cut-outs */
.promo-card__shape--a { right: -45%; top: -14%; width: 130%; aspect-ratio: 1; border-radius: 50%; background: var(--a); opacity: .92; }
.promo-card__shape--b { right: 40%; bottom: -30%; width: 80%; aspect-ratio: 1; border-radius: 50% 50% 0 50%; background: var(--b); opacity: .9; }
.promo-card__art img { position: absolute; right: 7%; bottom: 0; width: 86%; height: 78%; object-fit: cover; object-position: center top; border-radius: 999px 999px 0 0; box-shadow: 0 -6px 24px rgba(0, 0, 0, .12); }
@media (max-width: 1180px) {
  .promo-card { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 600px) {
  .fiche-banners__head h2 { font-size: 24px; }
  .fb-track { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .promo-card { flex-basis: 88%; min-height: 280px; }
  .promo-card__copy { width: 60%; padding: 20px 10px 18px 20px; }
  .promo-card__art { width: 40%; }
  .promo-card__title { font-size: 18px; }
}

/* ---- Tool logo in a corner of a course picture ---------------------------------- */
.pcard__media, .course-hero__media, .mini__media { position: relative; }
.mini__media { display: block; }
.tool-badge { position: absolute; left: 10px; bottom: 10px; z-index: 1; display: flex; gap: 5px; padding: 6px; border-radius: 10px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .16); pointer-events: none; }
.tool-badge i { display: block; width: 26px; height: 26px; background: center / contain no-repeat; }
.mini .tool-badge { left: 8px; bottom: 8px; padding: 5px; border-radius: 8px; }
.mini .tool-badge i { width: 20px; height: 20px; }
.course-hero__media .tool-badge { left: 16px; bottom: 16px; padding: 9px; gap: 7px; border-radius: 14px; }
.course-hero__media .tool-badge i { width: 38px; height: 38px; }
@media (max-width: 900px) {
  .course-hero__media .tool-badge { left: 12px; bottom: 12px; padding: 7px; border-radius: 12px; }
  .course-hero__media .tool-badge i { width: 28px; height: 28px; }
}

/* Header calendar button (where "Espace apprenant" was); icon only on phones */
.header__cal .i { font-size: 17px; }
@media (max-width: 1100px) { .topbar nav { gap: 14px; } .topbar__inner { gap: 16px; } }
/* 901–1000px: everything in the top bar still fits on one line (it needs ~990px at 13px). */
.topbar nav a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1000px) {
  .topbar { font-size: 12px; }
  .topbar nav { gap: 12px; }
  .topbar__inner { gap: 12px; padding-inline: 16px; }
}
@media (max-width: 600px) {
  .header__actions .header__cal { width: 38px; padding: 0; }
  .header__cal span:not(.i) { display: none; }
  .catalogue { padding-top: 28px; }
  .catalogue__head h1 { font-size: 30px; }
}

/* ---- Hero banners, Coursera proportions (~2.2:1): two-line title, one sentence, compact button */
.banner { min-height: 250px; }
.banner__copy { gap: 10px; padding: 26px 28px; max-width: 56%; justify-content: center; }
.banner h1, .banner h2 { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.18; }
.banner p { font-size: 14px; line-height: 1.45; }
.banner .btn { margin-top: 4px; min-height: 40px; padding: 0 1.1rem; font-size: 14px; }
.banner .eyebrow { font-size: 11px; }
.banner__note { font-size: 11px; }
.banner__art { width: 44%; }
.t1 { height: 47%; top: 14px; right: 16px; width: 80%; }
.t2 { height: 38%; bottom: 14px; right: calc(16px + 42%); }
.t3 { height: 38%; bottom: 14px; right: 16px; }
.banner__art--collage .tile { border-width: 3px; border-radius: 12px; }
.cert { max-width: 190px; padding: 12px 12px 10px; gap: 6px; }
.cert__meta { padding-top: 6px; font-size: 11px; }
.b1 { top: 22px; } .b2 { top: 66px; } .b3 { top: 110px; }
.bubble { padding: 6px 12px 6px 9px; font-size: 13px; }
.banner__art--ai .ai-orb { --orb: 150px; bottom: 10%; }
@media (max-width: 900px) { .banner { min-height: 240px; } }
@media (max-width: 600px) {
  .banner { min-height: 0; }
  .banner__copy { max-width: none; padding: 22px 20px 0; }
  .banner__art, .banner__art--ai { width: 100%; height: 150px; }
  .t1 { height: 56%; top: 12px; right: 12px; width: 60%; }
  .t2 { height: 40%; bottom: 10px; right: calc(12px + 31%); width: 29%; }
  .t3 { height: 40%; bottom: 10px; right: 12px; width: 29%; }
  .banner__art--qualiopi { height: auto; padding: 18px 0 16px; }
  .cert { max-width: 160px; }
  .banner__art--ai .ai-orb { --orb: 100px; bottom: 22px; }
  .banner__art--ai .b1 { top: 14px; } .banner__art--ai .b2 { top: 58px; } .banner__art--ai .b3 { top: 102px; }
}

/* ---- "Prochaines formations": Coursera-style gradient band --------------------- */
.upband { display: grid; grid-template-columns: minmax(230px, 290px) minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px; border-radius: 24px; color: #fff;
  background: linear-gradient(100deg, var(--steel-deep) 0%, var(--steel) 28%, #6fb4dc 62%, #9fd8c6 100%); }
.upband__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-left: 8px; }
.upband__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.upband__intro h2 { font-size: 28px; line-height: 1.15; font-weight: 800; }
.upband__intro p { font-size: 15px; line-height: 1.5; opacity: .92; }
.upband__intro .btn { margin-top: 6px; min-height: 42px; font-size: 14px; }
.upband__main { min-width: 0; }
.upband__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.upband__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.upband__chips::-webkit-scrollbar { display: none; }
.upchip { flex: 0 0 auto; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r-pill); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.upchip:hover { background: var(--bg-2); }
.upchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.upband__nav { display: flex; gap: 6px; flex-shrink: 0; }
.upband__btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.upband__btn:hover { background: var(--bg-2); }
[data-up-prev] .i { transform: rotate(90deg); }
[data-up-next] .i { transform: rotate(-90deg); }
.uptrack { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: 2px; }
.uptrack::-webkit-scrollbar { display: none; }
.upcard { flex: 0 0 calc((100% - 3 * 14px) / 4); scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 8px 8px 14px; border-radius: 14px; background: #fff; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.upcard[hidden] { display: none; }
.upcard:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.upcard:hover .upcard__title { text-decoration: underline; text-underline-offset: 3px; }
.upcard__media { position: relative; display: block; overflow: hidden; border-radius: 9px; background: var(--bg-2); }
.upcard__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.upcard .tool-badge { left: 8px; bottom: 8px; padding: 5px; border-radius: 8px; }
.upcard .tool-badge i { width: 20px; height: 20px; }
.upcard__org { display: flex; align-items: center; gap: 7px; margin: 6px 6px 0; font-size: 13px; color: var(--sub); }
.upcard__org .provider__mark { width: 20px; height: 20px; font-size: 12px; }
.upcard__title { margin: 0 6px; font-size: 16px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.upcard__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: auto 6px 0; padding-top: 8px; font-size: 13px; color: var(--sub); }
.upcard__meta .i { color: var(--steel-deep); }
.upcard__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--control); }
@media (max-width: 1180px) { .upcard { flex-basis: calc((100% - 2 * 14px) / 3); } }
@media (max-width: 900px) {
  .upband { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px; background: linear-gradient(160deg, var(--steel-deep) 0%, var(--steel) 40%, #6fb4dc 75%, #9fd8c6 100%); }
  .upband__intro { padding-left: 0; }
  .upcard { flex-basis: calc((100% - 14px) / 2.3); }
}
@media (max-width: 600px) {
  .upband__intro h2 { font-size: 24px; }
  .upband__nav { display: none; }
  .upcard { flex-basis: 78%; }
}
/* Hero banners: one at a time (with a peek of the next) until two fit at a good width. */
@media (min-width: 601px) and (max-width: 1180px) { .hero__track > .banner { flex-basis: 86%; } }
.banner__copy { max-width: 62%; padding: 24px; }
.banner__art { width: 40%; }
.banner h1, .banner h2 { font-size: clamp(22px, 1.75vw, 25px); }
@media (max-width: 600px) { .banner__copy { max-width: none; padding: 22px 20px 0; } .banner__art, .banner__art--ai { width: 100%; } }
.upcard__org span:last-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.upcard { min-width: 0; }
.upcard__meta { white-space: nowrap; row-gap: 2px; gap: 5px; font-size: 12.5px; }
/* "Les incontournables": on tablets and phones the three columns become a swipeable
   row (one column plus a peek of the next) instead of a tall stack. */
@media (max-width: 900px) {
  .columns { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; }
  .columns::-webkit-scrollbar { display: none; }
  .column { flex: 0 0 min(88%, 420px); scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .columns { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
}

/* ---- Mobile sliders: card grids become one swipeable row (next card peeking in) --
   Tablets show two cards, phones one. The reassurance strip and the four-card grid
   only slide on phones: on tablets they already sit well in columns. */
@media (max-width: 900px) {
  .m-slider:not(.reassure):not(.site-grid--4) { display: flex; grid-template-columns: none; grid-template-rows: none; min-height: 0; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 4px; }
  .m-slider::-webkit-scrollbar { display: none; }
  .m-slider:not(.reassure):not(.site-grid--4) > * { flex: 0 0 calc(50% - 6px); min-width: 0; scroll-snap-align: start; }
  .banners.m-slider > * { min-height: 240px; }
}
@media (max-width: 600px) {
  .m-slider { display: flex; grid-template-columns: none; grid-template-rows: none; min-height: 0; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 4px; }
  .m-slider > *, .m-slider:not(.reassure):not(.site-grid--4) > * { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }
  .goals.m-slider:not(.reassure):not(.site-grid--4) > * { flex-basis: 72%; }
  /* The reassurance strip: small facts, two and a half in view. */
  .reassure.m-slider { gap: 10px; padding: 22px 16px; }
  .reassure.m-slider > * { flex-basis: 44%; }
}
