/* Newbidel Capital — feuille de style unique.
   Palette : bleu nuit, blanc cassé, or discret. Modifier les couleurs ici (variables :root). */
:root {
  --navy: #0F1B33;
  --navy-2: #14234A;
  --ivory: #FFFFFF;
  --paper: #F1F4F6;
  --blue: #1E3A8A;
  --ink: #0F1B33;
  --muted: #58647C;
  --line: #DDE2E8;
  --gold: #B88A3B;
  --gold-ink: #7E5A17;
  --gold-lt: #C9A55F;
  --on-navy: #F3EFE5;
  --on-navy-2: #AEB8CF;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1200px;
  --gut: clamp(24px, 5vw, 56px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; letter-spacing: 0; text-wrap: balance; line-height: 1.22; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 1.3rem + 3.3vw, 3.9rem); line-height: 1.16; }
h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold-lt); color: var(--navy); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 760px; }
.sec { padding-block: clamp(72px, 9vw, 140px); }
.sec-tight { padding-block: clamp(48px, 6vw, 88px); }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); color: var(--on-navy); }
.bg-navy h2, .bg-navy h3 { color: var(--on-navy); }
.rule { display: block; width: 56px; height: 2px; background: var(--gold); margin-bottom: 26px; }
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--muted); max-width: 58ch; }
.bg-navy .lead, .hero .lead, .page-head .lead { color: var(--on-navy-2); }
.muted { color: var(--muted); }
.section-head { max-width: 720px; }
.section-head p { margin-top: 18px; color: var(--muted); max-width: 58ch; }
.bg-navy .section-head p { color: var(--on-navy-2); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; font: 600 .95rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; border: 1px solid transparent; border-radius: 2px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn-gold { background: var(--gold-lt); color: var(--navy); }
.btn-gold:hover { background: #E6BE74; }
.btn-navy { background: var(--navy); color: var(--on-navy); }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { border-color: rgba(243,239,229,.45); color: var(--on-navy); }
.btn-ghost:hover { border-color: var(--gold-lt); color: var(--gold-lt); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; color: var(--ink); }
.link-arrow:hover { color: var(--gold-ink); }
.bg-navy .link-arrow { color: var(--on-navy); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--navy); border-bottom: 1px solid rgba(217,174,92,.25); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--on-navy-2); text-decoration: none; font-size: .95rem; font-weight: 500; padding-block: 8px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--on-navy); }
.nav a[aria-current="page"] { color: var(--on-navy); border-bottom-color: var(--gold-lt); }
.nav .btn { color: var(--navy); border-bottom: 1px solid transparent; padding: 11px 20px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(243,239,229,.35); color: var(--on-navy); width: 46px; height: 46px; border-radius: 2px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: auto; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* Héros d'accueil */
.hero { position: relative; background: var(--navy); color: var(--on-navy); overflow: hidden; isolation: isolate; }
.hero .ph { position: absolute; inset: 0; aspect-ratio: auto; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,23,48,.96) 0%, rgba(12,23,48,.82) 52%, rgba(12,23,48,.5) 100%); }
.hero-inner { padding-block: clamp(80px, 11vw, 160px) clamp(150px, 16vw, 230px); }
.hero h1 { color: var(--on-navy); max-width: 17ch; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero .lead { margin-top: 28px; animation: rise .9s .12s cubic-bezier(.2,.7,.2,1) both; }
.hero .actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; animation: rise .9s .24s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-cards { position: relative; z-index: 3; margin-top: clamp(-120px, -9vw, -80px); }
.hero-cards .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

/* Cartes programmes */
.pcard { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; box-shadow: 0 30px 50px -34px rgba(12,23,48,.45); }
.pcard .kind { font-size: .875rem; font-weight: 600; color: var(--gold-ink); }
.pcard h3 { margin-top: 8px; }
.pcard p { margin-top: 14px; color: var(--muted); font-size: 1rem; }
.pcard .row { margin-top: auto; padding-top: 28px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-weight: 600; font-size: 2.4rem; line-height: 1; }
.price small { font: 500 .85rem var(--sans); color: var(--muted); margin-left: 6px; }

/* Photos et emplacements */
.ph { position: relative; overflow: hidden; background: linear-gradient(140deg, var(--navy-2), var(--navy)); aspect-ratio: var(--r, 4 / 3); }
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(217,174,92,.07) 0 1px, transparent 1px 16px); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-note { position: absolute; left: 16px; right: 16px; bottom: 14px; font-size: .8rem; line-height: 1.4; color: var(--gold-lt); }
.ph-note b { display: block; font-weight: 600; color: var(--on-navy); }
figure.ph { margin: 0; }

/* Mises en page éditoriales */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.top { align-items: start; }
.split .text p + p { margin-top: 18px; }
.split .text h2 { margin-bottom: 26px; }
.split .text .link-arrow { display: inline-block; margin-top: 30px; }
.split .ph { --r: 4 / 5; }

.principles { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(243,239,229,.18); }
.principles > div { padding: 32px 36px 0 0; }
.principles > div + div { padding-left: 36px; border-left: 1px solid rgba(243,239,229,.18); }
.principles h3 { font-size: 1.7rem; color: var(--gold-lt); }
.principles p { margin-top: 12px; color: var(--on-navy-2); font-size: 1rem; }

.domains { margin-top: 56px; border-top: 1px solid var(--line); }
.domain { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) auto; gap: 12px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.domain h3 { font-size: 1.7rem; }
.domain p { color: var(--muted); font-size: 1rem; }
.domain .tag { font-size: .85rem; font-weight: 600; color: var(--gold-ink); white-space: nowrap; }

/* Équipe */
.team-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.member { text-decoration: none; display: block; }
.member .ph { --r: 4 / 5; }
.member h3 { font-size: 1.5rem; margin-top: 18px; }
.member .role { color: var(--muted); font-size: .95rem; margin-top: 2px; }
.member .badge { display: inline-block; margin-top: 10px; font-size: .78rem; font-weight: 600; color: var(--gold-ink); border: 1px solid var(--gold); padding: 2px 10px; border-radius: 20px; }
.member:hover h3 { color: var(--gold-ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 0; list-style: none; }
.tags li { font-size: .85rem; border: 1px solid var(--line); background: #fff; padding: 3px 12px; border-radius: 20px; color: var(--muted); }

/* Publications */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chip { font: 500 .9rem var(--sans); background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 8px 18px; border-radius: 30px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.posts { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
.post { display: flex; flex-direction: column; text-decoration: none; }
.post .ph { --r: 3 / 2; }
.post .meta { margin-top: 20px; font-size: .875rem; color: var(--gold-ink); font-weight: 600; }
.post h3 { font-size: 1.65rem; margin-top: 8px; }
.post p { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.post:hover h3 { color: var(--gold-ink); }
.post[hidden] { display: none; }

/* En-tête de page interne */
.page-head { background: var(--navy); color: var(--on-navy); padding-block: clamp(64px, 8vw, 120px); }
.page-head h1 { font-size: clamp(2.5rem, 1.4rem + 4vw, 4.4rem); max-width: 18ch; color: var(--on-navy); }
.page-head .lead { margin-top: 22px; }
.crumbs { font-size: .9rem; color: var(--on-navy-2); margin-bottom: 26px; }
.crumbs a { color: var(--on-navy-2); text-underline-offset: 3px; }

/* Pages programmes */
.prog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.prog-main > section + section, .prog-main > section + figure, .prog-main > figure + section { margin-top: 72px; }
.prog-main h2 { font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.6rem); margin-bottom: 24px; }
.prog-main p + p { margin-top: 16px; }
.checks { list-style: none; padding: 0; display: grid; gap: 0; }
.checks li { padding: 16px 0 16px 34px; border-top: 1px solid var(--line); position: relative; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 14px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.syllabus { list-style: none; padding: 0; counter-reset: s; }
.syllabus li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 6px 22px; padding: 24px 0; border-top: 1px solid var(--line); }
.syllabus li:last-child { border-bottom: 1px solid var(--line); }
.syllabus.plain li { grid-template-columns: minmax(0, 1fr) auto; }
.syllabus .n { font-family: var(--serif); font-weight: 600; font-size: 2.1rem; line-height: 1; color: var(--gold); }
.syllabus h3 { font-size: 1.55rem; }
.syllabus p { margin-top: 6px; color: var(--muted); font-size: 1rem; }
.syllabus .meta { font-size: .875rem; color: var(--muted); white-space: nowrap; padding-top: 6px; }
.note { margin-top: 20px; font-size: .95rem; color: var(--muted); border-left: 2px solid var(--gold); padding-left: 16px; }
.enrol-card { position: sticky; top: 112px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 32px; }
.enrol-card dl { margin-top: 22px; }
.enrol-card dl div { padding: 12px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; }
.enrol-card dt { color: var(--muted); }
.enrol-card dd { font-weight: 600; text-align: right; }
.enrol-card .btn { margin-top: 22px; }
.enrol-card .fine { margin-top: 14px; font-size: .85rem; color: var(--muted); }
.steps { list-style: none; padding: 0; display: grid; gap: 22px; counter-reset: st; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; counter-increment: st; }
.steps li::before { content: counter(st); width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--gold-ink); }
.steps strong { display: block; }

/* Fiche membre / article */
.profile { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.profile .ph { --r: 4 / 5; }
.profile h2 { font-size: 2rem; margin: 40px 0 14px; }
.profile p + p { margin-top: 16px; }
.article { max-width: 720px; margin-inline: auto; }
.article h2 { font-size: 2.1rem; margin: 48px 0 16px; }
.article p, .article ul, .article blockquote { margin-top: 18px; }
.article ul { padding-left: 22px; } .article li { margin-top: 8px; }
.article blockquote { border-left: 2px solid var(--gold); padding-left: 22px; font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; }
.article-cover { max-width: 1000px; margin: 0 auto 64px; }
.article-cover .ph { --r: 21 / 9; }
.disclaimer { margin-top: 48px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.byline { margin-top: 22px; color: var(--on-navy-2); font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.info dl div { padding: 18px 0; border-top: 1px solid var(--line); }
.info dl div:last-child { border-bottom: 1px solid var(--line); }
.info dt { font-size: .875rem; color: var(--muted); }
.info dd { font-weight: 500; margin-top: 2px; }
form .field { margin-bottom: 22px; }
form label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 8px; }
form input, form select, form textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 14px 16px; }
form textarea { min-height: 170px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus { border-color: var(--gold); outline: 2px solid rgba(184,138,59,.25); }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 18px; padding: 14px 18px; border-left: 3px solid var(--gold); background: #fff; font-size: .95rem; }
.form-msg[hidden] { display: none; }

/* Bandeau d'appel */
.cta-band { text-align: left; }
.cta-band .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { margin-top: 14px; color: var(--on-navy-2); max-width: 54ch; }

/* Pied de page */
.site-footer { background: var(--navy); color: var(--on-navy-2); padding-block: 72px 36px; font-size: .95rem; border-top: 1px solid rgba(217,174,92,.25); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-grid img { height: 100px; width: auto; }
.footer-grid h4 { font: 600 .95rem var(--sans); color: var(--on-navy); margin-bottom: 16px; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--gold-lt); }
.footer-grid .sig { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-lt); }
.footer-legal { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(243,239,229,.14); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }

/* Apparition discrète au défilement (activée seulement si le JS est présent) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prog-layout { grid-template-columns: minmax(0, 1fr); }
  .enrol-card { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 84px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 24px; border-bottom: 1px solid rgba(217,174,92,.25); display: none; }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid rgba(243,239,229,.1); }
  .nav .btn { margin-top: 16px; text-align: center; }
  .site-header .container { position: relative; }
  .hero-cards .grid, .split, .contact-grid, .profile { grid-template-columns: minmax(0, 1fr); }
  .split .ph { --r: 4 / 3; }
  .profile .ph { max-width: 340px; }
  .principles { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .principles > div, .principles > div + div { padding: 26px 0; border-left: 0; border-top: 1px solid rgba(243,239,229,.18); }
  .domain { grid-template-columns: minmax(0, 1fr); }
  .cta-band .container { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .brand img { height: 52px; }
  .posts, .team-grid { grid-template-columns: minmax(0, 1fr); }
  .syllabus li, .syllabus.plain li { grid-template-columns: 40px minmax(0, 1fr); }
  .syllabus.plain li { grid-template-columns: minmax(0, 1fr); }
  .syllabus .meta { grid-column: 2; padding-top: 0; white-space: normal; }
  .syllabus.plain .meta { grid-column: 1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .hero .actions .btn { width: auto; flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1, .hero .lead, .hero .actions { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Identité Webflow d'origine : serif Merriweather, fond blanc, visuel géométrique ===== */
.hl { color: var(--blue); }
.btn { border-radius: 999px; }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-gold { color: var(--navy); }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.brand img { height: 56px; }
.nav a { color: var(--navy); font-family: var(--serif); font-size: 1rem; font-weight: 400; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"] { border-bottom-color: transparent; }
.nav .btn { font-family: var(--sans); font-weight: 600; color: var(--navy); }
.nav-toggle { border-color: var(--line); color: var(--navy); }
@media (max-width: 860px) {
  .nav { background: #fff; border-bottom: 1px solid var(--line); top: 84px; }
  .nav a { border-bottom-color: var(--line); }
}
/* Héros blanc avec trois rectangles en dégradé */
.hero { background: #fff; color: var(--navy); }
.hero::after { display: none; }
.hero h1 { color: var(--navy); max-width: 20ch; }
.hero .lead { color: var(--muted); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 72px); }
.hero .btn-ghost { border-color: var(--blue); color: var(--blue); }
.hero-art { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin-inline: auto; }
.hero-art i { position: absolute; width: 62%; aspect-ratio: 1; background: linear-gradient(90deg, #0A0F2A 0%, #3333CC 42%, #C93A3E 100%); }
.hero-art i:nth-child(1) { right: 0; top: 0; }
.hero-art i:nth-child(2) { right: 14%; top: 14%; }
.hero-art i:nth-child(3) { right: 28%; top: 28%; }
.hero-cards { margin-top: 0; padding-bottom: 24px; }
.hero-cards .pcard { box-shadow: 0 18px 40px -28px rgba(15,27,51,.35); }
@media (max-width: 860px) { .hero-inner { grid-template-columns: minmax(0, 1fr); } .hero-art { width: min(70%, 280px); margin-inline: 0; } }
/* En-têtes de pages en blanc */
.page-head { background: #fff; color: var(--navy); border-bottom: 1px solid var(--line); }
.page-head h1 { color: var(--navy); }
.page-head .lead { color: var(--muted); }
.crumbs, .crumbs a { color: var(--muted); }
.byline { color: var(--muted); }
.cta-band .btn-gold { color: var(--navy); }

/* ===== Rythme et espace blanc =====
   Échelle unique, appliquée à tous les écrans. Pour ajuster l'aération du site, modifier ces variables. */
:root {
  --sec: clamp(88px, 4rem + 5vw, 144px);      /* espace vertical d'une section */
  --sec-s: clamp(64px, 3rem + 3vw, 104px);    /* section compacte */
  --head-gap: clamp(48px, 2.5rem + 3vw, 88px);/* titre de section -> contenu */
  --block-gap: clamp(56px, 3rem + 4vw, 112px);/* texte <-> illustration */
  --card-gap: clamp(24px, 2vw + 12px, 36px);
}
body { line-height: 1.75; }
.sec { padding-block: var(--sec); }
.sec-tight { padding-block: var(--sec-s); }
/* Séparation nette entre sections de même fond */
.sec:not(.bg-navy):not(.bg-paper) + .sec:not(.bg-navy):not(.bg-paper),
.hero-cards + .sec { border-top: 1px solid var(--line); }
.bg-paper { border-block: 1px solid var(--line); }

/* Titres : plus d'air autour */
.rule { margin-bottom: 32px; }
.section-head h2, .split .text h2 { margin-bottom: 0; }
.section-head p { margin-top: 24px; }
.split .text h2 { margin-bottom: 32px; }
.lead { line-height: 1.7; }
.page-head { padding-block: clamp(72px, 4rem + 5vw, 136px); }
.page-head h1 { margin-top: 0; }
.page-head .lead { margin-top: 28px; }
.crumbs { margin-bottom: 36px; }

/* Lecture : lignes courtes, paragraphes séparés */
.split .text p, .prog-main p, .profile p, .section-head p, .article p { max-width: 60ch; }
.split .text p + p, .prog-main p + p, .profile p + p { margin-top: 24px; }
.split .text .link-arrow { margin-top: 40px; }
.prog-main h2 { margin-bottom: 32px; }
.prog-main > section + section, .prog-main > section + figure, .prog-main > figure + section { margin-top: clamp(64px, 3rem + 4vw, 104px); }
.article h2 { margin: 64px 0 20px; }
.article p, .article ul, .article blockquote { margin-top: 24px; }
.article li { margin-top: 12px; }
.article-cover { margin-bottom: 72px; }

/* Héros */
.hero-inner { gap: clamp(56px, 6vw, 96px); padding-block: clamp(64px, 3rem + 6vw, 136px) clamp(56px, 3rem + 3vw, 96px); }
.hero h1 { line-height: 1.2; }
.hero .lead { margin-top: 32px; }
.hero .actions { margin-top: 48px; gap: 16px; }
.hero-cards { padding-bottom: clamp(72px, 4rem + 4vw, 128px); }
.hero-cards .grid { gap: var(--card-gap); }

/* Boutons : plus grands, mieux espacés */
.btn { padding: 17px 34px; min-height: 54px; }
.nav .btn { padding: 12px 24px; min-height: 0; }
.nav { gap: 36px; }
.cta-band .container { gap: 48px; }
.cta-band p { margin-top: 20px; }

/* Cartes, grilles, listes */
.pcard { padding: clamp(32px, 3vw + 12px, 48px); }
.pcard h3 { margin-top: 12px; }
.pcard p { margin-top: 18px; }
.pcard .row { padding-top: 36px; gap: 20px; }
.split { gap: var(--block-gap); }
.principles { margin-top: var(--head-gap); }
.principles > div { padding: 40px 44px 0 0; }
.principles > div + div { padding-left: 44px; }
.principles p { margin-top: 16px; }
.domains, .team-grid, .posts, .cards { margin-top: var(--head-gap); }
.domain { padding: 34px 0; gap: 14px 40px; }
.team-grid { gap: 56px 32px; }
.member h3 { margin-top: 24px; }
.member .badge { margin-top: 14px; }
.posts { gap: 64px 36px; }
.post .meta { margin-top: 26px; }
.post h3 { margin-top: 12px; }
.post p { margin-top: 14px; }
.filters { gap: 12px; margin-top: 0; }
.filters + .posts { margin-top: 56px; }
.checks li { padding: 20px 0 20px 38px; }
.checks li::before { top: 30px; }
.syllabus li { padding: 32px 0; gap: 8px 28px; }
.syllabus p { margin-top: 10px; }
.tags { gap: 12px; }
.tags li { padding: 6px 16px; }
.steps { gap: 32px; }
.note { margin-top: 28px; }
.disclaimer { margin-top: 56px; padding: 26px 30px; }
.enrol-card { padding: 40px 36px; }
.enrol-card dl div { padding: 16px 0; }
.enrol-card .btn { margin-top: 32px; }
.enrol-card .fine { margin-top: 20px; }
.prog-layout { gap: clamp(56px, 6vw, 104px); }
.profile { gap: clamp(48px, 7vw, 100px); }
.profile h2 { margin: 56px 0 20px; }
.contact-grid { gap: clamp(56px, 7vw, 100px); }
.info dl div { padding: 24px 0; }
form .field { margin-bottom: 28px; }
form label { margin-bottom: 10px; }
form input, form select, form textarea { padding: 16px 18px; }
.form-msg { margin-top: 24px; padding: 18px 22px; }

/* Pied de page */
.site-footer { padding-block: clamp(72px, 8vw, 112px) 44px; }
.footer-grid { gap: 56px 48px; }
.footer-grid h4 { margin-bottom: 22px; }
.footer-grid ul { gap: 14px; }
.footer-grid .sig { margin-top: 22px; }
.footer-legal { margin-top: 72px; padding-top: 32px; gap: 12px 32px; }

@media (max-width: 1020px) {
  .team-grid { gap: 56px 28px; }
  .posts { gap: 56px 28px; }
}
@media (max-width: 860px) {
  .split { gap: 56px; }
  .hero-inner { gap: 64px; }
  .hero-art { margin-top: 8px; }
  .principles > div, .principles > div + div { padding: 36px 0; }
  .domain { padding: 30px 0; }
  .cta-band .container { gap: 36px; }
  .profile .ph { max-width: 360px; }
}
@media (max-width: 600px) {
  .rule { margin-bottom: 28px; }
  .hero .actions { flex-direction: column; gap: 16px; margin-top: 44px; }
  .hero .actions .btn { flex: none; width: 100%; }
  .btn + .btn { margin-top: 0; }
  .pcard { padding: 32px 28px; }
  .posts, .team-grid { gap: 56px; }
  .team-grid .member .ph { max-width: none; }
  .syllabus li { padding: 28px 0; }
  .enrol-card { padding: 32px 28px; }
  .disclaimer { padding: 22px 24px; }
  .footer-grid { gap: 48px; }
  .footer-legal { margin-top: 56px; flex-direction: column; }
  .page-head .lead { margin-top: 24px; }
}

/* ===== Ajustements du héros (proportions titre / texte / boutons) ===== */
.hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: clamp(48px, 6vw, 96px); row-gap: 0; align-items: start; }
.hero-inner > div:first-child { display: contents; }
.hero h1 { grid-column: 1 / -1; max-width: none; }
.hero .lead { grid-column: 1; grid-row: 2; margin-top: 24px; font-size: 1.0625rem; line-height: 1.55; max-width: 50ch; }
.hero .actions { grid-column: 1; grid-row: 3; margin-top: 60px; align-self: start; }
.hero-art { grid-column: 2; grid-row: 2 / span 2; align-self: center; margin-top: 40px; }
@media (min-width: 861px) { .hero h1 { font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.25; } }
@media (min-width: 1100px) { .hero h1 { white-space: nowrap; } }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero .lead, .hero .actions, .hero-art { grid-column: 1; grid-row: auto; }
  .hero .actions { margin-top: 52px; }
  .hero-art { margin-top: 64px; }
}
/* Paragraphes : écart réduit entre blocs de texte */
.split .text p + p, .prog-main p + p, .profile p + p { margin-top: 16px; }
.section-head p { margin-top: 20px; }
.hero-inner { grid-template-rows: auto auto 1fr; }
@media (max-width: 860px) { .hero-inner { grid-template-rows: none; } }

/* ===== Héros mobile : espace supérieur et coupe du titre ===== */
/* Origine de l'espace vide : le padding-top de .hero-inner (≈71 px à 390 px de large, hérité de l'échelle d'espacement desktop). */
.hero h1 .mb { display: none; }
@media (max-width: 860px) { .hero-inner { padding-top: clamp(36px, 5vw + 12px, 56px); } }
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(1.5rem, 7.4vw, 2.3rem); line-height: 1.22; text-wrap: nowrap; }
  .hero h1 .mb { display: inline; }
}

/* Boutons du héros : libellés en gras */
.hero .actions .btn { font-weight: 700; }

/* ===== Image du héros (proportions d'origine, jamais rognée) ===== */
.hero-art { width: 100%; max-width: 520px; aspect-ratio: auto; margin: 40px 0 0; justify-self: end; position: relative; }
.hero-art img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero-art { max-width: 460px; margin: 56px auto 0; justify-self: center; }
}
@media (max-width: 600px) { .hero-art { max-width: 100%; margin-top: 52px; } }

/* ===== Version ordinateur : deux colonnes, largeur exploitée (la version mobile et tablette ne change pas) ===== */
@media (min-width: 1280px) { :root { --maxw: 1320px; } }
@media (min-width: 1536px) { :root { --maxw: 1460px; } }
@media (min-width: 1920px) { :root { --maxw: 1640px; } }
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto auto auto 1fr;
    column-gap: clamp(48px, 5vw, 112px);
    align-items: start;
    padding-top: clamp(40px, 3vw + 8px, 72px);
    padding-bottom: clamp(48px, 3vw + 16px, 80px);
  }
  .hero h1 { grid-column: 1; grid-row: 2; white-space: normal; font-size: clamp(2.3rem, 3.3vw, 4.3rem); line-height: 1.18; text-wrap: balance; }
  .hero .lead { grid-column: 1; grid-row: 3; margin-top: clamp(24px, 1.8vw, 36px); font-size: clamp(1.1875rem, 0.55vw + 0.95rem, 1.4rem); line-height: 1.6; max-width: 46ch; }
  .hero .actions { grid-column: 1; grid-row: 4; margin-top: clamp(40px, 3.2vw, 64px); }
  .hero-art { grid-column: 2; grid-row: 1 / span 5; align-self: center; justify-self: end; width: 100%; max-width: clamp(520px, 44vw, 860px); margin: 0; }
  .hero-cards { padding-bottom: clamp(64px, 5vw, 104px); }
  .hero-cards .grid { gap: clamp(28px, 2.6vw, 48px); }
  .hero-cards .pcard { padding: clamp(40px, 3.4vw, 64px) clamp(36px, 3.4vw, 64px); min-height: clamp(320px, 24vw, 420px); }
  .hero-cards .pcard .kind { font-size: clamp(.9rem, .35vw + .75rem, 1.05rem); }
  .hero-cards .pcard h3 { font-size: clamp(1.6rem, 1.9vw, 2.3rem); margin-top: 14px; }
  .hero-cards .pcard p { font-size: clamp(1.0625rem, .45vw + .9rem, 1.25rem); line-height: 1.65; margin-top: 20px; max-width: 52ch; }
  .hero-cards .pcard .price { font-size: clamp(2.4rem, 2.6vw, 3.4rem); }
  .hero-cards .pcard .row { padding-top: clamp(32px, 2.6vw, 48px); }
}

/* Boutons du héros, version ordinateur : plus de présence, toujours côte à côte (mobile inchangé) */
@media (min-width: 1024px) {
  .hero .actions { flex-wrap: nowrap; align-items: center; gap: 14px; }
  .hero .actions .btn { font-weight: 700; font-size: 0.97rem; min-height: 62px; padding: 0 22px; white-space: nowrap; width: auto; flex: 0 0 auto; }
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}
@media (min-width: 1280px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero .actions { gap: clamp(16px, 1.4vw, 24px); }
  .hero .actions .btn { font-size: clamp(1rem, 0.3vw + 0.8rem, 1.15rem); min-height: clamp(62px, 4.3vw, 70px); padding: 0 clamp(26px, 3vw - 12px, 54px); }
}

/* ---- Équipe : proportions des portraits ---- */
@media (min-width: 601px) and (max-width: 1020px) {
  .team-grid .member .ph { max-width: 300px; }
}
@media (min-width: 1280px) {
  .team-grid .member .ph { max-width: 340px; }
}
@media (max-width: 600px) {
  .team-grid { gap: 40px; }
  .team-grid .member .ph { width: 78%; max-width: 290px; }
  .team-grid .member h3 { margin-top: 18px; }
}

/* ---- Cadrage des photographies (focal) ---- */
.ph img[src*="accueil-presentation"] { object-position: 56% 50%; }
.ph img[src*="apropos-histoire"] { object-position: 40% 50%; }
.ph img[src*="apropos-philosophie"] { object-position: 50% 50%; }
.ph img[src*="apropos-international"] { object-position: 45% 50%; }
.ph img[src*="programmes-choisir"] { object-position: 64% 50%; }
.ph img[src*="programme-msa"] { object-position: 50% 18%; }
.ph img[src*="publication-prix"] { object-position: 50% 10%; }
.ph img[src*="publication-risque"] { object-position: 40% 50%; }

/* Localisation footer */
.site-footer .loc{margin-top:8px;font-size:.9rem;opacity:.8}

/* Sélecteur de langue FR / EN */
.nav .lang { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.nav .lang a { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .06em; padding: 7px 11px; border-bottom: 0; line-height: 1; }
.nav .lang a[aria-current="true"] { background: var(--navy); color: #fff; }
@media (max-width: 900px) {
  .nav .lang { align-self: flex-start; margin-top: 16px; }
  .nav .lang a { padding: 10px 16px; border-bottom: 0; }
}

/* Documents juridiques, bandeau cookies, formulaire */
.legal-draft { padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--paper, #f6f2e8); font-size: .95rem; margin-top: 0; }
.legal-meta { font-size: .92rem; color: var(--muted); margin-top: 18px; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 12px; }
.legal p, .legal ul { max-width: 68ch; }
.legal-fields { margin-top: 18px; } .legal-fields div { margin-top: 8px; } .legal-fields dt { font-weight: 600; display: inline; } .legal-fields dt::after { content: " : "; } .legal-fields dd { display: inline; margin: 0; }
.footer-legal .legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0 0 18px; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin-inline: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(15,28,54,.18); padding: 20px 22px; font-size: .92rem; }
.consent-text { margin: 0 0 14px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-btn { font: inherit; font-weight: 600; padding: 11px 18px; border: 1px solid var(--navy, #0f1c36); background: #fff; color: var(--navy, #0f1c36); cursor: pointer; border-radius: 2px; }
.consent-btn:hover, .consent-btn:focus-visible { background: var(--navy, #0f1c36); color: #fff; }
.consent-link { border-color: transparent; text-decoration: underline; }
.consent-panel { display: grid; gap: 10px; margin: 0 0 16px; } .consent-panel[hidden] { display: none; }
.consent-panel label { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 0; }
.consent-panel input { width: auto; padding: 0; }
@media (max-width: 600px) { .consent { left: 8px; right: 8px; bottom: 8px; } .consent-btn { flex: 1 1 100%; } }
