/* =========================================================
   FORMA J — Centre de formation
   Charte : bleu pétrole du logo + filet or
   ========================================================= */
:root {
  --teal: #066e8b;
  --teal-600: #075c74;
  --teal-800: #0a3f4f;
  --teal-900: #072b36;
  --teal-50: #eef6f8;
  --teal-100: #d6eaef;
  --gold: #c9a04e;
  --gold-soft: #e8d3a3;
  --ink: #0f2229;
  --ink-soft: #3c5560;
  --muted: #6b8089;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: rgba(6, 110, 139, .14);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -30px rgba(7, 43, 54, .35);
  --shadow-sm: 0 10px 30px -15px rgba(7, 43, 54, .25);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--teal-900); }
p { margin: 0 0 1em; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Eyebrow / titres ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); }
.section-title { font-size: clamp(32px, 4.6vw, 56px); margin-top: 14px; }
.section-title em { font-style: italic; color: var(--teal); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-soft); max-width: 62ch; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--teal); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 700 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 14px 30px -14px rgba(6, 110, 139, .7);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--teal-800), var(--teal) 60%, #0b8aa8);
  transform: translateX(-101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateX(0); }
.btn:hover { box-shadow: 0 20px 40px -16px rgba(6, 110, 139, .8); }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--teal-900); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost::before { background: var(--teal-50); }
.btn--gold { --bg: var(--gold); --fg: var(--teal-900); box-shadow: 0 14px 30px -14px rgba(201, 160, 78, .8); }
.btn--gold::before { background: linear-gradient(120deg, #e2c27c, var(--gold)); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.header.is-scrolled { background: rgba(251, 250, 247, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 50px; width: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 700 25px/1 var(--serif); color: var(--teal); letter-spacing: .02em; }
.brand__sub { font: 700 9.5px/1 var(--sans); letter-spacing: .22em; color: var(--teal-800); margin-top: 6px; }
.nav__links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav__links a { position: relative; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--teal-900); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 13px 22px; font-size: 14px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.8px; background: var(--teal-900); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; background: linear-gradient(90deg, var(--teal), var(--gold)); transform-origin: left; transform: scaleX(0); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob--1 { width: 620px; height: 620px; background: radial-gradient(circle, #9fd3e0, transparent 65%); top: -160px; right: -120px; animation: float1 18s ease-in-out infinite; }
.blob--2 { width: 520px; height: 520px; background: radial-gradient(circle, var(--gold-soft), transparent 65%); bottom: -200px; left: -140px; animation: float2 22s ease-in-out infinite; }
.blob--3 { width: 380px; height: 380px; background: radial-gradient(circle, #cfe7ee, transparent 65%); top: 40%; left: 38%; animation: float1 26s ease-in-out infinite reverse; }
@keyframes float1 { 50% { transform: translate(-60px, 50px) scale(1.08); } }
@keyframes float2 { 50% { transform: translate(70px, -40px) scale(1.1); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); opacity: .5; }

.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.hero__badge b { background: var(--teal); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; letter-spacing: .08em; }
.hero h1 { font-size: clamp(44px, 7vw, 92px); margin: 26px 0 22px; letter-spacing: -.025em; line-height: 1.02; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 em { font-style: italic; color: var(--teal); position: relative; }
.hero h1 em svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .35em; overflow: visible; }
.hero h1 em svg path { stroke: var(--gold); stroke-width: 5; fill: none; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s 1.1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { font: 600 28px/1 var(--serif); color: var(--teal-900); }
.hero__meta span { font-size: 13px; color: var(--muted); margin-top: 6px; }

.hero__visual { position: relative; aspect-ratio: 4/5; }
.hero__card {
  position: absolute; inset: 0; border-radius: 32px; overflow: hidden;
  background: linear-gradient(160deg, var(--teal-800) 0%, var(--teal) 60%, #0b8aa8 100%);
  box-shadow: var(--shadow);
}
.hero__card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.22), transparent 50%); }
.hero__card svg.stairs { position: absolute; inset: 8% 10%; width: 80%; height: 84%; }
.stairs .step { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.55); stroke-width: 1.2; }
.stairs .rail { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; }
.stairs .arrow-path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.stairs .dot { fill: var(--gold); }
.float-card {
  position: absolute; z-index: 2; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 14px;
  font-size: 13.5px; line-height: 1.35; color: var(--ink-soft);
}
.float-card strong { display: block; color: var(--teal-900); font-size: 15px; }
.float-card .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); }
.float-card--a { left: -34px; top: 14%; }
.float-card--b { right: -26px; bottom: 12%; }
.float-card--c { left: 10%; bottom: -22px; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.scroll-hint i { width: 1.5px; height: 44px; background: linear-gradient(var(--teal), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--gold); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { padding: 26px 0; background: var(--teal-900); color: #fff; overflow: hidden; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 56px; font: italic 500 clamp(22px, 2.6vw, 32px)/1 var(--serif); white-space: nowrap; }
.marquee__item::after { content: "✦"; font-style: normal; font-size: 16px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--teal-50), var(--paper)); }
.section--dark { background: var(--teal-900); color: #d5e6eb; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--gold-soft); }
.section--dark .lead { color: #a9c5ce; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }

/* À propos / valeurs */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.about__visual { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1.05; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.about__visual img { width: 62%; height: auto; }
.about__visual .ring { position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(6,110,139,.25); animation: spin 60s linear infinite; }
.about__visual .ring--2 { inset: 18%; border-color: rgba(201,160,78,.35); animation-direction: reverse; animation-duration: 45s; }
@keyframes spin { to { transform: rotate(360deg); } }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
.value { padding: 22px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(201,160,78,.5); }
.value h3 { font-size: 20px; margin-bottom: 6px; }
.value p { font-size: 15px; color: var(--ink-soft); margin: 0; }
.value .num { font: 600 13px/1 var(--sans); color: var(--gold); letter-spacing: .1em; display: block; margin-bottom: 12px; }

/* Formation phare */
.course {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 32px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.course__main { padding: clamp(32px, 5vw, 64px); }
.course__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--teal-50); color: var(--teal-800); font-size: 12.5px; font-weight: 700; letter-spacing: .03em; }
.tag--gold { background: #f7efdc; color: #7a5a17; }
.course h3 { font-size: clamp(30px, 3.6vw, 46px); }
.course__side { position: relative; padding: clamp(32px, 5vw, 56px); background: linear-gradient(165deg, var(--teal-800), var(--teal)); color: #e3f1f4; overflow: hidden; }
.course__side::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); right: -120px; top: -120px; }
.course__side h4 { color: #fff; font-size: 22px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15px; }
.facts li span:first-child { color: #a9d0da; }
.facts li span:last-child { font-weight: 700; color: #fff; text-align: right; }
.blocks { display: grid; gap: 14px; margin: 28px 0 34px; }
.block { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); transition: border-color .4s, background .4s; }
.block:hover { border-color: var(--teal); background: #fff; }
.block__code { font: 700 13px/1 var(--sans); color: #fff; background: var(--teal); border-radius: 10px; padding: 10px 11px; height: fit-content; }
.block h4 { font: 700 16.5px/1.35 var(--sans); color: var(--teal-900); margin: 0 0 8px; }
.block ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 14.5px; }

/* Parcours / steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps__line { position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: rgba(255,255,255,.1); }
.steps__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), #fff); transform-origin: left; transform: scaleX(0); }
.step-card { position: relative; }
.step-card__dot { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-800); border: 1.5px solid rgba(201,160,78,.6); font: 600 24px/1 var(--serif); color: var(--gold-soft); margin-bottom: 26px; position: relative; z-index: 1; }
.step-card h3 { font-size: 22px; }
.step-card p { font-size: 15px; color: #a9c5ce; }

/* Métiers */
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.job { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.job::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.job:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.job:hover::before { transform: scaleX(1); }
.job .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; }
.job h3 { font-size: 21px; margin-bottom: 6px; }
.job p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.stat { padding: 36px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 600 clamp(40px, 4.6vw, 58px)/1 var(--serif); color: var(--teal); letter-spacing: -.02em; }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
.note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Financement */
.fund { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fund__item { padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .4s, transform .6s var(--ease); }
.fund__item:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.fund__item h3 { font-size: 21px; }
.fund__item p { font-size: 14.5px; color: #a9c5ce; margin: 0; }
.fund__item .k { font: 700 11.5px/1 var(--sans); letter-spacing: .16em; color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 14px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font: 600 clamp(19px, 2vw, 22px)/1.35 var(--serif); color: var(--teal-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--teal), var(--teal)) center/100% 1.8px no-repeat, linear-gradient(var(--teal), var(--teal)) center/1.8px 100% no-repeat; transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .ans { padding: 0 0 26px; color: var(--ink-soft); max-width: 70ch; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.contact__info a { color: var(--teal); font-weight: 700; text-decoration: none; }
.contact__info a:hover { text-decoration: underline; }
.info-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; }
.info-list small { display: block; color: var(--muted); font-size: 13px; }
.form { padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--teal-900); }
.field input, .field select, .field textarea {
  font: 500 15.5px/1.4 var(--sans); color: var(--ink); padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper); transition: border-color .3s, background .3s, box-shadow .3s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(6,110,139,.12); }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); }
.check input { margin-top: 4px; accent-color: var(--teal); width: 18px; height: 18px; flex: none; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__msg { font-size: 14px; color: var(--teal); font-weight: 600; }

/* CTA band */
.cta-band { position: relative; border-radius: 36px; padding: clamp(44px, 7vw, 88px); background: linear-gradient(130deg, var(--teal-900), var(--teal) 70%, #0b8aa8); color: #fff; overflow: hidden; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(32px, 4.6vw, 58px); max-width: 18ch; margin-inline: auto; }
.cta-band p { color: #cfe6ec; max-width: 56ch; margin: 0 auto 32px; }
.cta-band .emb { position: absolute; right: -40px; bottom: -60px; width: 300px; opacity: .1; filter: brightness(10); pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 80px 0 30px; font-size: 14.5px; color: var(--ink-soft); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; }
.footer__logo { width: 230px; height: auto; margin-bottom: 18px; }
.footer h4 { font: 700 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-900); margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--teal); }
.footer__legal { font-size: 13px; line-height: 1.7; }

/* Bloc Qualiopi — charte d'usage : largeur min. 23 mm, fond clair,
   zone de protection, mention de la catégorie d'action certifiée. */
.qualiopi { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.qualiopi__logo {
  display: block; background: #fff; padding: 12px; /* zone de protection */
  width: 200px; min-width: 23mm; height: auto;  /* ≥ 23 mm exigé */
}
.qualiopi__mention { font-size: 12.5px; line-height: 1.5; color: var(--ink); max-width: 260px; margin: 0; }
.qualiopi__mention strong { text-transform: uppercase; }

.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--muted); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }

/* ---------- Pages internes ---------- */
.page-hero { padding: 170px 0 70px; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--teal-50), var(--paper)); }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); max-width: 18ch; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--teal); text-decoration: none; }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 2.2em; }
.prose h3 { font-size: 21px; margin-top: 1.6em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--teal); }
.todo { background: #fff6dd; color: #7a5a17; padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: .92em; }
.sheet { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.sheet__aside { position: sticky; top: 110px; }
.sheet__aside .course__side { border-radius: 24px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 18px 0; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { width: 34%; color: var(--teal-900); font-weight: 700; background: var(--teal-50); }

/* ---------- Reveal (JS-enhanced) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="scale"] { transform: scale(.94); }

/* Curseur halo (desktop) */
.cursor { position: fixed; top: 0; left: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid var(--teal); pointer-events: none; z-index: 100; opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s; mix-blend-mode: multiply; }
.cursor.is-active { opacity: .7; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(201,160,78,.18); border-color: var(--gold); }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; width: 100%; margin: 20px auto 0; }
  .scroll-hint { display: none; }
  .about, .contact, .sheet { grid-template-columns: 1fr; }
  .sheet__aside { position: static; }
  .course { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .fund { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .menu-open .nav__links {
    display: flex; position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); padding: 12px 16px 28px; box-shadow: 0 20px 40px -20px rgba(7,43,54,.3);
  }
  .menu-open .nav__links li { width: 100%; }
  .menu-open .nav__links a { display: block; padding: 16px 0; font-size: 19px; border-bottom: 1px solid var(--line); }
  .menu-open .nav__links a::after { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 44px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps__line { display: none; }
  .jobs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { height: 42px; }
  .brand__name { font-size: 21px; }
  .hero { padding-top: 120px; }
  .float-card--a { left: -6px; } .float-card--b { right: -6px; }
  .values, .jobs, .steps, .fund, .form { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .table th { width: 40%; }
  .table th, .table td { padding: 12px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}
