/* SUPimage — feuille de style unique
   Couleurs : encre, papier, vert olive #98A906 (logo d'origine).
   Règle : le vert ne sert jamais de couleur de texte sur fond clair (illisible) ;
   il s'utilise en fond (avec texte encre) ou en texte sur fond encre. */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0D0E0B;
  --ink-2: #181A15;
  --ink-3: #2A2D25;
  --paper: #F5F5EF;
  --paper-2: #EAEBE2;
  --white: #FFFFFF;
  --acid: #98A906;          /* vert exact du logo d'origine (152,169,6) */
  --acid-deep: #5A6400;      /* vert lisible sur fond clair (liens, accents texte) */
  --muted-dark: #A6AA9C;     /* texte secondaire sur fond encre */
  --muted-light: #5B5F53;    /* texte secondaire sur fond papier */
  --line-dark: rgba(255,255,255,.12);
  --line-light: rgba(13,14,11,.12);

  --f-display: "Bricolage", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 106px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; }
ul { padding-left: 1.2em; }
::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--acid); color: var(--ink); padding: 8px 14px; border-radius: 8px; }

/* Sections */
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.dark { background: var(--ink); color: var(--paper); }
.dark .muted { color: var(--muted-dark); }
.muted { color: var(--muted-light); }
.alt { background: var(--paper-2); }
.acid { background: var(--acid); color: var(--ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: currentColor; border-radius: 2px; }
.dark .eyebrow::before { background: var(--acid); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 62ch; }
.hl { background: linear-gradient(transparent 62%, var(--acid) 62%); padding: 0 .08em; }
.dark .hl { background: none; color: var(--acid); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 820px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 .98rem/1 var(--f-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--acid { background: var(--acid); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: currentColor; }
.btn--ghost:hover span { color: var(--ink); }
.light .btn--ghost:hover span, .btn--ghost.on-light:hover span { color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13,14,11,.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); color: var(--paper); border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 92px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: auto; height: 62px; margin-top: 16px; }
@media (max-width: 760px) { .brand img { height: 54px; } }
.brand span { font: 600 .74rem/1.25 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--acid); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 6px; min-height: 42px; padding: 0 18px; font-size: .92rem; }
.burger { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .brand span { display: none; }
  .burger { display: block; }
  .nav { position: fixed; inset: 92px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 12px var(--gutter) 28px; border-bottom: 1px solid var(--line-dark); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; max-height: calc(100vh - 92px); overflow: auto; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 16px 0 0; justify-content: center; min-height: 52px; border-bottom: 0; border-radius: 999px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { margin-bottom: 36px; }
.next-webconf { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: .95rem; color: var(--muted-dark); }
.next-webconf .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 rgba(152,169,6,.6); animation: pulse 2.4s infinite; }
.next-webconf strong { color: var(--paper); font-weight: 600; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(152,169,6,.55); } 70% { box-shadow: 0 0 0 10px rgba(152,169,6,0); } 100% { box-shadow: 0 0 0 0 rgba(152,169,6,0); } }

/* Motif carrés (repris des deux carrés du logo) */
.squares { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; aspect-ratio: 1; width: 100%; max-width: 420px; justify-self: end; }
.squares i { border-radius: 6px; background: var(--ink-3); transition: background-color 1.2s var(--ease), transform 1.2s var(--ease); }
.squares i.on { background: var(--acid); }
.squares i.w { background: var(--paper); }
.squares i.o { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-3); }

/* Bande de preuves */
.proofs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.proof { padding: 28px 24px 4px 0; }
.proof + .proof { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.proof b { display: block; font: 700 clamp(1.6rem, 2.6vw, 2.2rem)/1.05 var(--f-display); letter-spacing: -0.02em; color: var(--acid); margin-bottom: 8px; }
.proof span { color: var(--muted-dark); font-size: .95rem; }

/* Filtres + cartes formations */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: 500 .92rem/1 var(--f-body); padding: 11px 16px; border-radius: 999px; border: 1.5px solid var(--line-light); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-light); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; min-height: 250px; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(13,14,11,.35); border-color: var(--ink); }
.card .lvl { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-block; font: 600 .74rem/1 var(--f-body); letter-spacing: .04em; padding: 7px 10px; border-radius: 6px; background: var(--paper-2); color: var(--ink); }
.tag--acid { background: var(--acid); }
.tag--ink { background: var(--ink); color: var(--paper); }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted-light); font-size: .96rem; }
.card .meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .88rem; color: var(--muted-light); padding-top: 14px; border-top: 1px solid var(--line-light); }
.card .go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); transition: background-color .3s, transform .3s var(--ease); flex-shrink: 0; }
.card:hover .go { background: var(--acid); transform: rotate(-45deg); }
.card[hidden] { display: none; }
.card--wide { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card--wide p, .card--wide .meta { color: var(--muted-dark); }
.card--wide .meta { border: 0; padding: 0; margin: 0; }
.card--wide .tag { background: var(--ink-3); color: var(--paper); }
.card--wide .tag--acid { background: var(--acid); color: var(--ink); }
.card--wide .go { background: var(--ink-3); color: var(--paper); }
.card--wide:hover .go { color: var(--ink); }
@media (max-width: 760px) { .card--wide { grid-template-columns: 1fr; gap: 14px; } }

/* Piliers */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.pillar { padding: 32px 28px 8px 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.pillar .n { font: 600 .8rem/1 var(--f-body); color: var(--acid); letter-spacing: .1em; display: block; margin-bottom: 40px; }
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--muted-dark); font-size: .97rem; }

/* Parcours */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-light); }
.step .lv { font: 700 1.6rem/1 var(--f-display); letter-spacing: -.02em; display: block; margin-bottom: 14px; }
.step ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.step li a { text-decoration: none; font-weight: 500; border-bottom: 1.5px solid var(--acid); }
.step li a:hover { background: var(--acid); }
.step li small { display: block; color: var(--muted-light); font-size: .84rem; }
.path-note { margin-top: 20px; color: var(--muted-light); font-size: .95rem; }

/* Split / bloc média */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.panel { border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 4vw, 48px); }
.art { aspect-ratio: 4/3; border-radius: calc(var(--radius) + 6px); background: var(--ink); position: relative; overflow: hidden; }
.art .squares { position: absolute; inset: 10%; justify-self: stretch; align-self: stretch; max-width: none; width: auto; aspect-ratio: auto; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(6, 1fr); }
.photo-slot { aspect-ratio: 4/3; border-radius: calc(var(--radius) + 6px); background: var(--ink-2) center/cover no-repeat; }

/* Étapes admission */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding: 28px 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 700 2.4rem/1 var(--f-display); color: var(--acid); margin-bottom: 26px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted-dark); font-size: .95rem; }
.light .steps li { background: var(--white); border-color: var(--line-light); }
.light .steps li::before { color: var(--ink); }
.light .steps p { color: var(--muted-light); }

/* Campus */
.campus { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campus article { padding: clamp(26px, 3.5vw, 40px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 6px; }
.campus h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 8px; }
.campus address { font-style: normal; color: var(--muted-light); }
.campus a { margin-top: 14px; font-weight: 600; text-decoration-color: var(--acid); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* CTA finale */
.cta-band { text-align: left; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { max-width: 15ch; margin: 0; }

/* Page formation */
.f-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.crumbs { font-size: .88rem; color: var(--muted-dark); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--acid); }
.f-hero .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.f-hero .tag { background: var(--ink-3); color: var(--paper); }
.f-hero .tag--acid { background: var(--acid); color: var(--ink); }
.f-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 18ch; }
.f-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.facts { position: sticky; top: 100px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-light); overflow: hidden; }
.facts dl { margin: 0; padding: 8px 24px; }
.facts .row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: .94rem; }
.facts .row:last-child { border-bottom: 0; }
.facts dt { color: var(--muted-light); }
.facts dd { margin: 0; font-weight: 500; }
.facts dd a { text-decoration-color: var(--acid-deep); text-underline-offset: 3px; }
.facts .facts-cta { padding: 20px 24px 24px; background: var(--ink); display: grid; gap: 10px; }
.facts .facts-cta .btn { justify-content: center; }
.facts .facts-cta .btn--ghost { color: var(--paper); }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.modules { list-style: none; padding: 0; margin: 0 0 1em; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modules li { padding: 16px 18px 16px 44px; border-radius: 10px; background: var(--white); border: 1px solid var(--line-light); position: relative; font-size: .97rem; line-height: 1.45; }
.modules li::before { content: ""; position: absolute; left: 18px; top: 21px; width: 10px; height: 10px; border-radius: 2px; background: var(--acid); box-shadow: inset 0 0 0 1px rgba(13,14,11,.15); }
.jobs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1em; padding: 0; list-style: none; }
.jobs li { padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: .92rem; font-weight: 500; }
.callout { padding: 22px 24px; border-radius: var(--radius); background: var(--acid); margin: 1.4em 0; }
.callout p:last-child { margin: 0; }
.years { display: grid; gap: 10px; margin-bottom: 1em; }
.years div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 18px; border-radius: 10px; background: var(--white); border: 1px solid var(--line-light); }
.years b { font-family: var(--f-display); }

/* Formulaires */
.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--line-light); background: var(--white); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(152,169,6,.55); }
.field small { color: var(--muted-light); font-size: .85rem; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 10px; border: 1.5px solid var(--line-light); background: var(--white); cursor: pointer; font-weight: 500; }
.radios input { accent-color: var(--ink); width: 18px; height: 18px; }
.radios label:has(input:checked) { border-color: var(--ink); background: var(--acid); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted-light); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 16px 18px; border-radius: 10px; font-weight: 500; }
.form-note--ok { background: var(--acid); }
.form-note--err { background: #FFE1DC; color: #7A1B0C; }

/* Pied de page */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 96px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font: 600 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 18px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--acid); }
.foot-grid address { font-style: normal; color: var(--muted-dark); }
.foot-brand img { width: auto; height: 80px; margin-bottom: 18px; }
.foot-brand p { color: var(--muted-dark); max-width: 30ch; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .86rem; color: var(--muted-dark); }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: var(--acid); }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background-color .25s, color .25s; }
.socials a:hover { background: var(--acid); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }

/* Texte long (mentions, etc.) */
.doc { max-width: 760px; }
.doc h2 { font-size: 1.6rem; margin-top: 2em; }
.doc a { text-decoration-color: var(--acid-deep); }

/* Animations discrètes */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .pillars, .proofs { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3), .proof:nth-child(3) { padding-left: 0; border-left: 0; }
  .path, .steps { grid-template-columns: 1fr 1fr; }
  .f-layout { grid-template-columns: 1fr; }
  .facts { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero-grid, .split, .campus { grid-template-columns: 1fr; }
  .squares { max-width: 280px; justify-self: start; }
  .hero .squares { display: none; }
  .cards, .path, .steps, .modules { grid-template-columns: 1fr; }
  .pillars, .proofs { grid-template-columns: 1fr; }
  .pillar, .proof { padding-left: 0 !important; border-left: 0 !important; border-top: 1px solid var(--line-dark); }
  .pillar:first-child, .proof:first-child { border-top: 0; }
  .pillar .n { margin-bottom: 16px; }
  .form .two { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .years div { grid-template-columns: 1fr; gap: 4px; }
  .facts .row { grid-template-columns: 100px 1fr; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
}

/* Bloc Qualiopi (fond blanc, hors pied de page) */
.qualiopi { background: var(--white); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line-light); }
.q-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.q-logo img { width: 100%; max-width: 260px; height: auto; }
.q-placeholder { aspect-ratio: 2/1; display: grid; place-items: center; text-align: center; border: 2px dashed var(--line-light); border-radius: 12px; color: var(--muted-light); font-weight: 600; }
.q-title { font: 700 clamp(1.3rem, 2.2vw, 1.7rem)/1.2 var(--f-display); letter-spacing: -.02em; margin-bottom: 10px; }
.qualiopi .muted { margin: 0; max-width: 60ch; font-size: .95rem; }

/* Mention RNCP obligatoire */
.rncp-mention { margin: 1.4em 0; padding: 18px 20px; border-radius: 12px; background: var(--white); border: 1px solid var(--line-light); border-left: 4px solid var(--ink); }
.rncp-mention .eyebrow { margin-bottom: 10px; font-size: .7rem; }
.rncp-mention p { margin: 0; font-size: .92rem; line-height: 1.55; }
.rncp-mention a { text-decoration-color: var(--acid-deep); text-underline-offset: 3px; }

/* Modules entreprises */
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mod { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-light); }
.mod .lvl { display: flex; gap: 6px; flex-wrap: wrap; }
.mod h3 { margin: 4px 0 0; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.mod-lead { margin: 0; font-size: 1.05rem; }
.mod-pour { margin: 0; color: var(--muted-light); font-size: .94rem; }
.mod details { border-top: 1px solid var(--line-light); padding-top: 12px; }
.mod summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.mod summary::-webkit-details-marker { display: none; }
.mod summary::after { content: "+"; font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease); }
.mod details[open] summary::after { transform: rotate(45deg); }
.mod details > *:not(summary) { font-size: .95rem; }
.mod-obj { margin: 12px 0; padding-left: 1.1em; }
.mod .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 760px) { .q-grid, .mods { grid-template-columns: 1fr; } .q-logo { max-width: 200px; } }
.mods .mod:last-child:nth-child(odd) { grid-column: 1 / -1; }
a.chip { text-decoration: none; display: inline-block; }

/* Photo derrière le titre des pages formation */
.f-hero--img { position: relative; isolation: isolate; overflow: hidden; background-image: linear-gradient(90deg, rgba(13,14,11,.94) 0%, rgba(13,14,11,.82) 45%, rgba(13,14,11,.35) 100%), var(--hero-img, none); background-size: cover; background-position: center; min-height: 440px; display: flex; align-items: flex-end; }
.f-hero--img .wrap { width: 100%; }
.f-hero--todo { background-image: radial-gradient(circle at 82% 30%, rgba(152,169,6,.16), transparent 40%); }
.hero-todo { position: absolute; right: 20px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; padding: 7px 12px; border-radius: 999px; border: 1px dashed rgba(255,255,255,.3); color: var(--muted-dark); }
.hero-todo svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .f-hero--img { min-height: 0; background-image: linear-gradient(rgba(13,14,11,.86), rgba(13,14,11,.86)), var(--hero-img, none); } .hero-todo { position: static; margin: 0 var(--gutter) 16px; align-self: flex-start; max-width: calc(100% - 2 * var(--gutter)); } .f-hero--img { flex-direction: column; align-items: stretch; } }
