:root {
  --bg: #fbfbfa;
  --ink: #3c4043;
  --title: #2b2f33;
  --muted: #5a6066;
  --faint: #6b7177;
  --line: #e3e5e7;
  --line-2: #e7e8e9;
  --line-3: #d5d9dd;
  --soft: #ebf2f9;
  --wash: #f1f3f5;
  --white: #fff;
  --blue: #2f6aa3;
  --blue-2: #245a8c;
  --blue-3: #1f4f7e;
  --shadow: 0 18px 40px rgba(31, 79, 126, .12);
  --max: 1280px;
  --pad: 40px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body.lock { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Jost, "Jost Fallback", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-3); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 52px; font-weight: 300; line-height: 1.08; color: var(--title); letter-spacing: -.005em; text-wrap: balance; }
h1 span, h2 span { color: var(--blue); }
h2 { font-size: 32px; font-weight: 300; line-height: 1.2; color: var(--title); }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 640px; }
.wrap { width: min(var(--max), calc(100% - var(--pad) * 2)); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 80; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mono { font-family: "IBM Plex Mono", "Plex Fallback", ui-monospace, monospace; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .3em; color: var(--faint); }
.eyebrow.blue, .kicker { color: var(--blue); letter-spacing: .2em; font-size: 12px; }
.eyebrow.light { color: #fff; }
.eyebrow-line { width: 40px; height: 1px; background: #9aa0a6; display: inline-block; }
.word-slot { display: inline-block; min-width: 13.5em; color: var(--blue); transition: opacity .35s, transform .35s; }
.word-slot.is-out { opacity: 0; transform: translateY(8px); }
.eyebrow.blue .eyebrow-line { background: var(--blue); }
.more { font-size: 13px; letter-spacing: .12em; color: var(--blue); }
.stars { color: var(--blue); letter-spacing: 2px; }
.muted { color: var(--muted); font-size: 13px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 24px; border: 1px solid transparent; background: transparent;
  font-size: 14px; letter-spacing: .14em; cursor: pointer; transition: .25s background, .25s gap, .25s color;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); color: #fff; gap: 18px; }
.btn-ghost { border-color: var(--title); color: var(--title); }
.btn-ghost.light { border-color: #fff; color: #fff; }
.btn-light { background: #fff; color: var(--blue); }
.btn-block { width: 100%; }
.text-link { color: var(--title); border-bottom: 1px solid #9aa0a6; padding-bottom: 2px; font-size: 15px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-3); background: #fff; color: var(--blue); font-size: 18px; text-decoration: none;
}

.topbar { background: var(--wash); font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.topbar-inner, .header-inner, .footer-help-inner, .final-cta-inner, .certbar-inner, .section-head {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.topbar-inner { padding: 9px 0; }
.topbar a { color: var(--title); }
.topbar-links { display: flex; gap: 24px; }
.header { background: #fff; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; z-index: 20; }
.header-inner { padding: 18px 0; }
.logo img { height: 40px; width: auto; aspect-ratio: 383 / 68; }
.nav { display: flex; gap: 24px; align-items: center; font-size: 13px; letter-spacing: .12em; }
.nav-link { color: var(--ink); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-link.is-active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-login { color: var(--blue); }
.header-tools, .bottom-bar, .filters-toggle, .facets-head, .facets-apply, .back-btn, .fiche-tabs, .fact-pills, .trust-mini, .moments, .buybar { display: none; }
.burger { width: 44px; height: 44px; background: var(--title); border: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.burger span:not(.sr-only) { width: 18px; height: 1px; background: #fff; display: block; }

.drawer {
  position: fixed; inset: 0; background: #fff; z-index: 40; display: none; flex-direction: column;
}
.drawer.is-open { display: flex; }
.drawer-top, .drawer-body, .drawer-actions { padding: 16px 20px; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer-prof { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: 22px; font-weight: 300; color: var(--title); }
.drawer-prof span:last-child { font-size: 13px; color: var(--faint); }
.drawer-kicker { margin-top: 22px; }
.drawer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer-links a { padding: 14px; background: var(--wash); color: var(--title); }
.drawer-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.backdrop { position: fixed; inset: 0; background: rgba(20, 30, 40, .4); z-index: 35; }
.backdrop[hidden] { display: none !important; }

.hero { background: #fff; }
.hero-grid, .split, .course-hero-grid, .band-grid, .faq-block, .contact-grid, .article-grid, .legal-grid, .course-layout {
  display: grid; gap: 56px; align-items: center;
}
.hero-grid { grid-template-columns: 1.05fr .95fr; padding: 64px 0 72px; }
.hero-copy, .hero-box, .course-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-box { background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(31, 79, 126, .08); padding: 22px 24px; gap: 16px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-box .chips { flex-wrap: nowrap; gap: 6px; }
.chip {
  border: 1px solid var(--line-3); background: #fff; color: var(--ink); padding: 9px 14px; font-size: 14px; cursor: pointer;
}
.hero-box .chip { white-space: nowrap; padding: 9px 8px; font-size: 13px; }
.chip.is-on:not(:has(input)), .chip:has(input:checked) { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip-count { margin-left: 6px; opacity: .65; font-size: 12px; }
.hero-cta-row, .footer-help-actions, .center-actions, .final-cta-inner > div { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.trust { display: flex; gap: 16px; align-items: center; font-size: 14px; color: var(--muted); }
.trust strong { color: var(--title); font-weight: 400; }
.trust > div { line-height: 1.35; }
.trust > div + div { border-left: 1px solid var(--line); padding-left: 16px; }

.deck { display: flex; flex-direction: column; gap: 18px; position: relative; }
.deck-top { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .22em; color: var(--muted); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); display: inline-block; margin-right: 8px; animation: pulse 1.6s infinite; }
.deck-stage { position: relative; aspect-ratio: 1 / 1.02; margin: 28px 72px 48px 8px; }
.deck-card {
  position: absolute; inset: 0; background: #fff; display: flex; flex-direction: column; color: inherit;
  box-shadow: 0 10px 30px rgba(31, 79, 126, .1); transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .8s;
  z-index: 1;
}
.deck-card.is-front { box-shadow: 0 24px 60px rgba(31, 79, 126, .18); z-index: 4; }
.deck-media { position: relative; flex: 0 0 56%; min-height: 0; background: #d6e1ec; overflow: hidden; }
.card-media img, .feature-media img, .post-media img, .course-visual img, .article-cover img, .aside-course img { width: 100%; height: 100%; object-fit: cover; }
/* Safari : une image en flux dans un parent scale() grandit sans fin. */
.deck-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.deck-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.deck-body strong { font-size: 22px; font-weight: 400; line-height: 1.25; color: var(--title); }
.deck-foot, .card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid #eceef0; padding-top: 12px; }
.deck-bars { display: flex; gap: 6px; }
.deck-bar { flex: 1; height: 3px; border: 0; background: #d5dde6; padding: 0; cursor: pointer; position: relative; overflow: hidden; }
.deck-bar.is-done { background: #9fb8d2; }
.deck-bar.is-on::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform-origin: left center; animation: prog 4.2s linear; }
.float-stat, .float-note { position: absolute; z-index: 6; padding: 14px 18px; box-shadow: 0 14px 40px rgba(31, 79, 126, .14); }
.float-stat { left: -28px; bottom: 54%; background: #fff; }
.float-stat strong { display: block; font-size: 26px; font-weight: 300; color: var(--blue); }
.float-note { right: -8px; bottom: -28px; background: var(--blue); color: #fff; font-size: 14px; line-height: 1.35; }
.hero-visual { position: relative; }

.certbar { background: var(--wash); padding: 22px 0; }
.certs { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cert {
  width: 168px; height: 84px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line-2); padding: 8px 10px;
}
.cert img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 80px 0 20px; }
.step-n { display: flex; align-items: center; gap: 14px; color: var(--blue); font-family: "IBM Plex Mono", "Plex Fallback", ui-monospace, monospace; }
.step-n span { flex: 1; height: 1px; background: var(--line-3); }
.steps h2, .card-title { font-size: 24px; font-weight: 400; }
.steps p, .card-title { color: var(--muted); }
.card-title { color: var(--title); font-size: 18px; line-height: 1.3; }
.block { padding: 48px 0 80px; display: flex; flex-direction: column; gap: 28px; }
.grid-4, .grid-3, .grid-cards { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card, .post-card, .feature {
  background: #fff; border: 1px solid var(--line-2); display: flex; flex-direction: column; color: inherit;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.card:hover, .post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.card-media, .post-media { position: relative; aspect-ratio: 4/3; }
.post-media, .feature-media { aspect-ratio: 16/10; }
.card-body, .post-card > div, .feature > div { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-foot { font-size: 13px; color: var(--muted); }
.badge { position: absolute; right: 12px; bottom: 12px; background: #fff; color: var(--title); font-size: 12px; padding: 3px 8px; }
.deck-media .badge { left: 14px; top: 14px; right: auto; bottom: auto; letter-spacing: .16em; color: var(--blue); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tag { color: var(--blue); background: var(--soft); padding: 3px 7px; font-size: 12px; }
a.tag { text-decoration: none; }
.media-ph {
  background: repeating-linear-gradient(135deg, #dfe8f1 0 10px, #d6e1ec 10px 20px);
  display: flex; align-items: flex-end; padding: 12px;
  font-family: "IBM Plex Mono", "Plex Fallback", ui-monospace, monospace; font-size: 12px; color: #5f7790;
}
.media-label { position: absolute; left: 12px; bottom: 12px; }

.stats { background: var(--wash); }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); padding: 72px 0; }
.stats-grid div { border-left: 1px solid var(--line-3); padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.stats-grid strong { font-size: 42px; font-weight: 300; color: var(--blue); font-variant-numeric: tabular-nums; }
.marquee-wrap { overflow: hidden; }
.marquee { display: flex; gap: 24px; width: max-content; animation: marquee 70s linear infinite; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.review-card { background: #fff; border: 1px solid var(--line-2); padding: 24px; display: flex; flex-direction: column; gap: 12px; width: 380px; flex: 0 0 auto; }
.fiche-reviews .review-card { width: auto; max-width: 100%; }
.review-card p { font-size: 17px; line-height: 1.5; color: var(--title); }
.review-card span, .who em { font-size: 13px; letter-spacing: .08em; color: var(--faint); font-style: normal; }
.trainers { background: var(--wash); padding: 56px; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.trainer-grid, .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-grid { gap: 28px; }
.team-grid .portrait { max-width: 360px; }
.team-grid strong { display: block; margin-top: 12px; color: var(--title); font-weight: 400; font-size: 18px; }
.team-grid span { color: var(--blue); }
.portrait { aspect-ratio: 1; align-items: flex-end; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.trainer-grid strong { display: block; margin-top: 10px; color: var(--title); font-weight: 400; }
.trainer-grid span, .who em { color: var(--blue); letter-spacing: 0; }
.band { background: var(--blue); color: #fff; }
.band-grid { padding: 72px 0; grid-template-columns: 5fr 7fr; }
.band-grid > * { min-width: 0; }
.band h2, .band p { color: #fff; }
.callback {
  background: #fff; color: var(--ink); padding: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.callback > .form-error { grid-column: 1 / -1; }
.callback-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.callback .btn { white-space: nowrap; flex: 0 0 auto; }
.callback-foot p, .fine { font-size: 13px; color: var(--muted); line-height: 1.5; }
.field input, .field select, .fields input, .form-card textarea, .form-card input:not([type="radio"]):not([type="checkbox"]), .form-card select, .search input {
  width: 100%; border: 1px solid var(--line-3); background: #fff; padding: 14px 16px; outline: none;
}
.field input:focus, .field select:focus, .form-card input:focus, .form-card textarea:focus, .search input:focus { border-color: var(--blue); }
.side-card .callback, .side-card form { grid-template-columns: 1fr; }
.callback-foot.is-stack { display: block; }
.side-card .callback .btn, .callback-foot.is-stack .btn { width: 100%; }
.faq-block { grid-template-columns: 4fr 8fr; padding: 88px 0; align-items: start; }
.faq-item { border-top: 1px solid #dfe2e5; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  background: none; border: 0; padding: 22px 0; text-align: left; font-size: 19px; color: var(--title); cursor: pointer;
}
.faq-q span { color: var(--blue); font-size: 22px; transition: transform .3s; }
.faq-item.is-open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.2,.7,.2,1); }
.faq-item.is-open .faq-a { max-height: 240px; }
.faq-a p { padding-bottom: 18px; color: var(--muted); line-height: 1.6; max-width: 640px; }
.final-cta { background: #fff; border-top: 1px solid var(--line); }
.final-cta-inner { padding: 64px 0; }
.final-cta h2 { font-size: 38px; }

.site-footer .footer-help { background: var(--blue); color: #fff; }
.footer-help-inner { padding: 56px 0; }
.footer-help p { font-size: 32px; font-weight: 300; line-height: 1.2; max-width: 620px; margin-top: 8px; }
.footer-main { background: var(--wash); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; font-size: 15px; line-height: 1.9; color: var(--muted); }
.footer-grid a { display: block; color: var(--muted); }
.footer-title { color: var(--title); letter-spacing: .14em; font-size: 13px; }
.footer-main .certs { margin: 32px 0; }
.footer-base { border-top: 1px solid var(--line-3); padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
.footer-base a { color: var(--faint); margin-left: 16px; }
.footer-base a.site-credit { margin-left: 0; font-size: 11px; opacity: .72; }
.footer-base a.site-credit:hover { opacity: 1; }

.page-hero { background: #fff; border-bottom: 1px solid var(--line-2); padding: 56px 0 40px; }
.page-hero.flush { padding-bottom: 0; }
.page-hero .wrap, .page-hero .split { display: flex; flex-direction: column; gap: 18px; }
.page-hero .split { display: grid; }
.breadcrumb, .fine { font-size: 13px; color: var(--faint); }
.breadcrumb a { color: var(--faint); }
.search { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line-3); padding: 6px 18px; max-width: 640px; }
.search input { border: 0; padding: 10px 0; font-size: 17px; }
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 40px 0 88px; align-items: start; }
.facets { display: flex; flex-direction: column; gap: 28px; }
.facets fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.facets legend { font-size: 12px; letter-spacing: .28em; color: var(--faint); padding-bottom: 8px; border-bottom: 1px solid var(--line); width: 100%; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--blue); width: 16px; height: 16px; }
.catalog-bar { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.filters-toggle { margin-left: auto; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.active-filters button { border: 0; background: var(--soft); color: var(--blue); padding: 5px 10px; cursor: pointer; }
.empty { padding: 48px; background: var(--wash); text-align: center; }
.filters-toggle { border: 1px solid var(--title); background: #fff; padding: 12px 14px; cursor: pointer; }

.course-hero { background: #fff; border-bottom: 1px solid var(--line-2); }
.course-hero-grid { grid-template-columns: 7fr 5fr; padding: 40px 0 56px; }
.course-visual { position: relative; aspect-ratio: 16/11; }
.course-meta { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.course-layout { grid-template-columns: 1fr 380px; align-items: start; padding: 56px 0 88px; }
.course-main { display: flex; flex-direction: column; gap: 48px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts div { background: #fff; padding: 20px; }
.facts span { display: block; font-size: 12px; letter-spacing: .22em; color: var(--faint); }
.facts strong { font-size: 20px; font-weight: 400; color: var(--title); }
.skills { display: grid; gap: 12px; }
.skills div, .plain-faq article { background: #fff; }
.skills div { display: flex; gap: 14px; padding: 16px 20px; background: var(--wash); line-height: 1.5; color: var(--title); }
.skills span { color: var(--blue); }
.prose { font-size: 18px; line-height: 1.75; }
.prose p { margin: 0 0 16px; }
.prose li { margin: 0 0 6px; }
.prose strong, .prose b { font-weight: 500; }
.prose img { max-width: 100%; height: auto; }
.prose h2 { font-size: 28px; margin: 36px 0 12px; line-height: 1.25; }
.prose h3 { font-size: 20px; margin: 22px 0 8px; line-height: 1.35; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 16px; }
.prose a:not(.btn) { color: var(--blue); text-underline-offset: 3px; }
.prose blockquote { margin: 0 0 16px; padding: 4px 0 4px 16px; border-left: 3px solid var(--blue); color: var(--title); }
.prose .cta { margin-top: 8px; padding: 22px 24px; background: var(--wash); border: 1px solid var(--line); }
.prose .cta p:last-child { margin-bottom: 0; }
.prose .cta .btn { margin: 6px 0 12px; }
.prose a.btn-primary,
.prose a.btn-primary:hover,
.prose a.btn-primary:focus-visible { color: #fff; text-decoration: none; }
.buybox { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; }
.buybox-card { background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(31, 79, 126, .1); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.buybox-price { display: flex; justify-content: space-between; align-items: baseline; }
.buybox-price strong { font-size: 40px; font-weight: 300; color: var(--title); }
.status { display: flex; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.status.is-on { border-color: var(--blue); background: #f5f9fc; }
.status span:last-child { color: var(--blue); font-size: 13px; }
.status-note { background: var(--soft); padding: 12px 14px; font-size: 14px; line-height: 1.5; color: var(--title); }
.buybox-certs { text-align: center; font-size: 13px; color: var(--muted); }
.related { background: var(--wash); padding: 72px 0; }
.related h2, .band-soft h2 { margin-bottom: 8px; }

.metier-tabs { background: var(--wash); border-bottom: 1px solid var(--line); }
.metier-tabs .wrap { display: flex; gap: 28px; overflow-x: auto; }
.metier-tabs a { padding: 16px 0 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.metier-tabs a.is-on { color: var(--blue); border-bottom-color: var(--blue); }
.visual { aspect-ratio: 4/3.2; overflow: hidden; }
.visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.facts-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 48px 0; }
.facts-row strong { display: block; font-size: 38px; font-weight: 300; color: var(--blue); }
.theme-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.theme-links a { display: flex; justify-content: space-between; padding: 20px; background: #fff; border: 1px solid var(--line); color: var(--title); }
.theme-links a:hover { border-color: var(--blue); color: var(--blue); }
.band-soft { background: var(--wash); }
.band-soft .block, .faq-band { padding: 72px 0; }
.finance-rows div, .plain-faq article, .legal-section { display: grid; gap: 16px; padding: 22px 0; border-top: 1px solid #dfe2e5; }
.finance-rows { display: flex; flex-direction: column; }
.finance-rows div { grid-template-columns: 120px 1fr; }
.finance-rows strong { color: var(--blue); font-size: 21px; font-weight: 400; }
.align-start { align-items: start; }
.align-end { align-items: end; }
.split { grid-template-columns: 5fr 7fr; }
.theme-stats { display: flex; gap: 32px; }
.theme-stats strong { font-size: 36px; font-weight: 300; color: var(--blue); display: block; }
.finance-tabs { display: flex; gap: 0; flex-wrap: wrap; margin-top: 12px; }
.finance-tab { padding: 18px 28px 16px; border-bottom: 3px solid transparent; color: var(--title); display: flex; flex-direction: column; }
.finance-tab strong { font-size: 22px; font-weight: 400; }
.finance-tab span, .finance-tab.is-on span { font-size: 13px; color: var(--faint); }
.finance-tab.is-on { border-bottom-color: var(--blue); color: var(--blue); }
.steps-list { list-style: none; margin: 28px 0; padding: 0; }
.steps-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps-list span { font-family: "IBM Plex Mono", "Plex Fallback", ui-monospace, monospace; color: var(--blue); }
.side-card { background: var(--wash); padding: 32px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.side-card h2 { font-size: 24px; }
.faq-band { background: #fff; border-top: 1px solid var(--line-2); }
.plain-faq h3 { font-size: 18px; font-weight: 400; color: var(--title); }
.plain-faq p { color: var(--muted); line-height: 1.6; margin-top: 8px; }

.score { display: flex; gap: 32px; background: var(--wash); padding: 28px; align-items: center; }
.score strong { font-size: 72px; font-weight: 300; line-height: 1; color: var(--title); display: block; }
.score p { display: flex; gap: 10px; color: var(--title); }
.masonry { columns: 3 300px; column-gap: 24px; margin-top: 28px; }
.masonry .review-card { width: auto; margin-bottom: 24px; break-inside: avoid; }
.who { display: flex; gap: 12px; align-items: center; }
.who > span { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.center-actions, .center-block { justify-content: center; text-align: center; padding-bottom: 40px; }
.center-block { padding: 80px 0; display: flex; flex-direction: column; gap: 16px; align-items: center; }

.feature { display: grid; grid-template-columns: 7fr 5fr; color: inherit; }
.feature:hover { box-shadow: var(--shadow); color: inherit; }
.feature h2, .post-card h2 { font-size: 28px; }
.post-card h2 { font-size: 20px; }
.pager { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 8px; }
.pager-status { margin: 0; color: var(--muted); font-size: 14px; }
.pager-row { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pager-list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.pager-list a,
.pager-list [aria-current="page"],
.pager-step {
  min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-3); background: #fff; color: var(--ink); padding: 0 14px; font-size: 15px;
}
.pager-step { letter-spacing: .06em; font-size: 13px; text-transform: uppercase; }
.pager-list a:hover, .pager-step:hover { border-color: var(--blue); color: var(--blue); }
.pager-list [aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager-step.is-off { color: var(--faint); background: var(--wash); }
.pager-gap { min-width: 28px; color: var(--faint); display: inline-flex; align-items: center; justify-content: center; }
.article-head { max-width: 880px; padding: 56px 0 24px; display: flex; flex-direction: column; gap: 14px; }
.article-head h1 { font-size: 48px; }
.article-cover { aspect-ratio: 21/9; overflow: hidden; background: #d6e1ec; }
.article-grid { grid-template-columns: 220px minmax(0, 1fr) 260px; align-items: start; padding: 48px 0 88px; }
.article-grid.no-toc { grid-template-columns: minmax(0, 1fr) 260px; }
.article-grid.no-aside { grid-template-columns: 220px minmax(0, 1fr); }
.article-grid.no-toc.no-aside { grid-template-columns: minmax(0, 1fr); }
.toc { position: sticky; top: 96px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.toc a { padding: 7px 16px; color: var(--muted); font-size: 14px; }
.aside-course { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(31, 79, 126, .08); }
.aside-course img, .aside-course .media-ph { aspect-ratio: 4/3; }
.aside-course div { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.contact-grid { grid-template-columns: 5fr 7fr; align-items: start; padding: 56px 0 88px; }
.contact-grid > * { min-width: 0; }
.infos div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.infos dt { font-size: 12px; letter-spacing: .24em; color: var(--faint); }
.infos dd { margin: 0; font-size: 17px; color: var(--title); }
.map { display: block; margin-top: 20px; aspect-ratio: 16/9; background: var(--wash); }
.map iframe { width: 100%; height: 100%; border: 0; }
.form-card { background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(31, 79, 126, .08); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.form-card form, .fields { display: flex; flex-direction: column; gap: 16px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; min-width: 0; }
.fields > * { min-width: 0; }
.form-card label, .field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); min-width: 0; max-width: 100%; }
.form-card input, .form-card textarea, .form-card select, .field input, .field select { min-width: 0; max-width: 100%; }
.form-error { color: #9a3b3b; font-size: 14px; }
.thanks { padding: 32px 0; display: flex; flex-direction: column; gap: 12px; }
.legal { padding: 56px 0 88px; display: flex; flex-direction: column; gap: 36px; }
.switch { display: flex; border: 1px solid var(--line-3); }
.switch a { padding: 12px 22px; letter-spacing: .12em; color: var(--ink); }
.switch a.is-on { background: var(--blue); color: #fff; }
.legal-grid { grid-template-columns: 280px 1fr; align-items: start; }
.legal-section { grid-template-columns: 48px 1fr; }
.legal-section span { font-family: "IBM Plex Mono", "Plex Fallback", ui-monospace, monospace; color: var(--blue); }
.legal-section h2 { font-size: 21px; }
.legal-section p { color: var(--muted); line-height: 1.7; margin-top: 8px; }

.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line); padding: 10px 14px calc(14px + env(safe-area-inset-bottom));
  grid-template-columns: minmax(0, 1fr) 56px; gap: 10px; min-width: 0; max-width: 100%;
}
.bottom-bar .btn, .buybar .btn { min-width: 0; }
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: #fff; border-top: 1px solid var(--line);
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); align-items: center; gap: 14px;
  box-shadow: 0 -8px 24px rgba(31, 79, 126, .08); min-width: 0; max-width: 100%;
}
.buybar strong { display: block; font-size: 22px; font-weight: 400; color: var(--title); }
.buybar span { font-size: 12px; color: var(--blue); }
.buybar .btn { flex: 1; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 1360px) {
  .nav { gap: 14px; }
  .header-inner { gap: 16px; }
  .nav .btn { padding: 12px 14px; letter-spacing: .08em; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .header-tools { display: flex; }
}
@media (max-width: 1100px) {
  .grid-4, .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-3, .feature, .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-grid,
  .article-grid.no-toc,
  .article-grid.no-aside,
  .article-grid.no-toc.no-aside,
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .hero-box .chips { flex-wrap: wrap; gap: 8px; }
  .hero-box .chip { font-size: 14px; padding: 9px 14px; }
}
@media (max-width: 900px) {
  :root { --pad: 20px; }
  h1 { font-size: 36px; }
  .article-head h1 { font-size: 32px; }
  .topbar, .nav, .hero-visual, .certbar, .stats, .trainers, .faq-block, .final-cta, .footer-help { display: none; }
  .header-tools, .moments, .fact-pills { display: flex; }
  .moments { display: block; }
  .bottom-bar { display: grid; }
  .page-home .cards { display: none !important; }
  .page-formation .buybar { display: flex; }
  .trust-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
  .trust-mini div { background: #fff; padding: 12px 8px; text-align: center; font-size: 12px; color: var(--muted); }
  .trust-mini strong { display: block; font-size: 17px; color: var(--title); font-weight: 400; }
  .hero-grid, .split, .course-hero-grid, .band-grid, .contact-grid, .legal-grid, .course-layout, .catalog, .article-grid, .feature, .fields, .footer-grid, .facts, .facts-row, .team-grid {
    grid-template-columns: 1fr; gap: 24px;
  }
  .hero-grid > *, .catalog > *, .course-layout > *, .contact-grid > *, .article-grid > *, .split > * { min-width: 0; }
  .hero { padding-bottom: 8px; }
  .hero-grid { padding: 28px 0 24px; }
  .chips, .hero-box .chips { flex-wrap: wrap; overflow: visible; gap: 8px; }
  .chip, .hero-box .chip { flex: 0 0 auto; font-size: 14px; padding: 9px 14px; }
  .hero-cta-row, .hero-cta-row .btn { width: 100%; }
  .trust { display: none; }
  .steps { grid-template-columns: 1fr; padding: 12px 0 0; gap: 0; }
  .scroller { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .scroller .card { flex: 0 0 270px; scroll-snap-align: start; }
  .band-grid { padding: 28px 0; }
  .band h2 { font-size: 24px; }
  .callback { grid-template-columns: 1fr; }
  .callback-foot { flex-direction: column; align-items: stretch; }
  .callback .btn { width: 100%; }
  body { padding-bottom: 84px; }
  .footer-main { padding-bottom: 28px; }
  .footer-main .certs { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-main .cert { width: auto; height: 76px; }
  .catalog { padding-top: 20px; }
  .filters-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .filters-toggle span, .facets-apply { background: var(--blue); color: #fff; }
  .filters-toggle span { min-width: 18px; height: 18px; border-radius: 9px; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
  .facets {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff;
    padding: 12px 20px 28px; max-height: 82vh; overflow: auto; gap: 16px;
  }
  .facets.is-open { display: flex; }
  .facets-head, .facets-apply { display: flex; }
  .facets-head { justify-content: space-between; align-items: center; }
  .facets-head strong { font-size: 22px; font-weight: 300; }
  .facets-head button, .reset-desktop { background: none; border: 0; color: var(--blue); cursor: pointer; }
  .reset-desktop { display: none; }
  .grid-cards { grid-template-columns: 1fr; }
  .grid-cards .card { display: grid; grid-template-columns: 96px 1fr; }
  .grid-cards .card-media { aspect-ratio: auto; min-height: 96px; }
  .grid-cards .badge, .grid-cards .card-foot { display: none; }
  .grid-cards .card-body { padding: 12px 12px 12px 0; }
  .course-visual { order: -1; aspect-ratio: 1 / .85; margin: 0 calc(var(--pad) * -1); }
  .back-btn, .fiche-tabs { display: flex; }
  .back-btn {
    position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; background: #fff; color: var(--title);
    align-items: center; justify-content: center; font-size: 22px; z-index: 2;
  }
  .fiche-tabs { position: sticky; top: 73px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); z-index: 5; }
  .fiche-tabs a { flex: 1; text-align: center; padding: 14px 0; color: var(--muted); border-bottom: 2px solid transparent; }
  .page-formation .bottom-bar { display: none; }
  .buybox { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-4, .masonry { grid-template-columns: 1fr; columns: 1; }
  .score, .feature, .article-grid { display: flex; flex-direction: column; }
  .finance-tab { flex: 1 1 100%; border: 1px solid var(--line); border-bottom-width: 1px; margin-bottom: 8px; background: #fff; }
  .finance-tab.is-on { border-color: var(--blue); }
  .side-card { position: static; }
  .metier-tabs { position: sticky; top: 73px; z-index: 15; background: var(--wash); }
  .form-card, .hero-box { padding: 20px; }
  .footer-help { display: none; }
}
@media (min-width: 901px) {
  .facets-head, .facets-apply { display: none; }
}

.install-top { background: #fff; border-bottom: 1px solid var(--line-2); }
.install-top .wrap { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.install-top img { height: 40px; width: auto; }
.install-main { width: min(760px, calc(100% - 40px)); margin: 40px auto 72px; display: flex; flex-direction: column; gap: 22px; }
.install-main h1 { font-size: 40px; }
.dns { margin: 0; padding: 16px 18px; background: var(--wash); color: var(--title); font-family: "IBM Plex Mono", "Plex Fallback", ui-monospace, monospace; font-size: 12px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.install-check { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 15px; }
.install-check input { margin-top: 4px; }

.preview-banner { margin: 0; padding: 12px 20px; background: #fff8e6; color: #5c4813; text-align: center; font-size: 14px; }
.module-list { margin: 0 0 18px; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
