/* ==========================================================
   SOLU-E FORMATION — Noir & Doré
   ========================================================== */

:root {
  --ink: #0a0a0a;
  --ink-2: #121212;
  --ink-3: #1a1a1a;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --cream: #ffffff;
  --muted: #9a9a9a;
  --soft: #d6d6d6;
  --gold: #c9a961;
  --gold-deep: #a8884a;
  --gold-soft: rgba(201, 169, 97, 0.12);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;

  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.05; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.ico { width: 1.25em; height: 1.25em; flex: none; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Typo helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.display {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  letter-spacing: -0.015em;
}
.display em,
.hero-title em,
.page-title em { font-style: italic; color: var(--gold); }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--soft);
  max-width: 58ch;
}

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--gold);
  --fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  border: 1px solid var(--bg);
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn .ico { transition: transform 0.4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-ghost {
  --bg: transparent;
  --fg: var(--cream);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-dark {
  --bg: var(--ink);
  --fg: var(--gold);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, gap 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--gold); gap: 14px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 17px;
  line-height: 1;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: transform 0.6s var(--ease);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-name em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.01em;
  font-size: 1.22em;
  margin-left: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 400;
  color: var(--soft);
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--cream); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { padding: 12px 20px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--ink);
  padding: 24px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.mobile-menu nav { margin-top: 8vh; display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 11vw, 4rem);
  line-height: 1.25;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s, color 0.3s;
}
.mobile-menu nav a span { font-family: var(--sans); font-size: 13px; color: var(--muted); letter-spacing: 0.2em; }
.mobile-menu nav a[aria-current="page"] { color: var(--gold); font-style: italic; }
.mobile-menu.open nav a { transform: none; opacity: 1; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.open nav a:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu-foot { margin-top: auto; display: grid; gap: 12px; color: var(--soft); }
.mobile-menu-foot a { display: inline-flex; gap: 10px; align-items: center; }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding: 150px 0 90px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 30%, rgba(201, 169, 97, 0.16), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(201, 169, 97, 0.07), transparent 70%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.1rem, 6.6vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin: 28px 0 30px;
}
.hero-title .line { display: block; overflow: hidden; padding: 0 0.12em 0.06em 0; }
.hero-title .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 1.1s var(--ease) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.24s; }

.hero-copy .lead { margin-bottom: 36px; }
.hero-copy .lead b { color: var(--cream); font-weight: 500; }

.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease) forwards; }
.d1 { animation-delay: 0.35s; }
.d2 { animation-delay: 0.5s; }
.d3 { animation-delay: 0.65s; }
.d4 { animation-delay: 0.8s; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-visual {
  position: relative;
  min-height: 480px;
}
.pass {
  position: absolute;
  border-radius: 26px;
  padding: 30px;
}
.pass-main {
  top: 0;
  right: 0;
  width: min(100%, 380px);
  background: var(--gold);
  color: var(--ink);
  transform: rotate(3deg);
  box-shadow: 0 40px 80px -30px rgba(201, 169, 97, 0.45), 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  animation: floatIn 1.3s var(--ease) 0.3s both;
}
.pass-main .pass-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(10, 10, 10, 0.35);
}
.pass-main h2 {
  font-family: var(--serif);
  font-size: 2.35rem;
  line-height: 1;
  margin: 22px 0 22px;
}
.pass-main ul { display: grid; gap: 12px; font-weight: 500; font-size: 15.5px; }
.pass-main li { display: flex; align-items: center; gap: 12px; }
.pass-main li .tick {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex: none;
}
.pass-main li .tick svg { width: 14px; height: 14px; }

.pass-alt {
  bottom: 10px;
  left: 0;
  width: min(86%, 310px);
  background: var(--ink-3);
  border: 1px solid var(--line-strong);
  transform: rotate(-4deg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  animation: floatIn2 1.3s var(--ease) 0.5s both;
}
.pass-alt .big {
  font-family: var(--serif);
  font-size: 5.2rem;
  line-height: 0.9;
  color: var(--gold);
}
.pass-alt p { margin: 8px 0 18px; color: var(--soft); font-size: 15px; }
.pass-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.pass-icons span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--gold);
}
.pass-icons svg { width: 19px; height: 19px; }

.orbit {
  position: absolute;
  top: 46%;
  left: 52%;
  width: 150px;
  height: 150px;
  translate: -50% -50%;
  color: var(--gold);
  animation: spin 22s linear infinite;
  z-index: 2;
}
.orbit text { font-family: var(--sans); font-size: 10.4px; letter-spacing: 0.32em; font-weight: 500; text-transform: uppercase; fill: var(--cream); }
.orbit .orbit-core { fill: var(--gold); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatIn { from { opacity: 0; transform: translateY(40px) rotate(8deg); } }
@keyframes floatIn2 { from { opacity: 0; transform: translateY(50px) rotate(-10deg); } }

/* ---------- Marquee ---------- */

.marquee {
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
  border-block: 1px solid var(--gold-deep);
  transform: rotate(-1.2deg);
  margin: -10px -20px 0;
  position: relative;
  z-index: 3;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-group { display: flex; align-items: center; }
.marquee span.item {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  padding: 16px 26px;
  white-space: nowrap;
}
.marquee span.item:nth-child(4n+3) { font-style: italic; }
.marquee svg { width: 18px; height: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.section-tight { padding: clamp(70px, 9vw, 110px) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 70px);
}
.section-head .display { margin-top: 18px; }

/* Why */
.why {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.why-aside { position: sticky; top: 120px; }
.why-aside .display { margin: 20px 0 24px; }
.why-list li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-num {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  font-style: italic;
}
.why-list h3 {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 6px 0 12px;
  line-height: 1.3;
}
.why-list p { color: var(--soft); margin: 0; }

/* Pôles index */
.poles { border-top: 1px solid var(--line-strong); }
.pole-row {
  position: relative;
  display: grid;
  grid-template-columns: 70px 56px minmax(0, 1.2fr) minmax(0, 1fr) 48px;
  gap: 20px;
  align-items: center;
  padding: 26px 22px;
  border-bottom: 1px solid var(--line-strong);
  isolation: isolate;
  transition: color 0.4s var(--ease);
}
.pole-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}
.pole-row:hover::before,
.pole-row:focus-visible::before { transform: scaleY(1); }
.pole-row:hover,
.pole-row:focus-visible { color: var(--ink); }
.pole-num { font-size: 13px; letter-spacing: 0.2em; color: var(--muted); transition: color 0.4s; }
.pole-row:hover .pole-num { color: var(--ink); }
.pole-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: color 0.4s, border-color 0.4s, background 0.4s;
}
.pole-ico svg { width: 22px; height: 22px; }
.pole-row:hover .pole-ico { color: var(--gold); background: var(--ink); border-color: var(--ink); }
.pole-name { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.05; }
.pole-desc { color: var(--muted); transition: color 0.4s; }
.pole-row:hover .pole-desc { color: rgba(10, 10, 10, 0.75); }
.pole-go {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
}
.pole-go svg { width: 18px; height: 18px; }
.pole-row:hover .pole-go { background: var(--ink); color: var(--gold); border-color: var(--ink); transform: rotate(-45deg); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  align-items: start;
}
.step {
  position: relative;
  padding: 34px 30px 36px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.step:hover { border-color: rgba(201, 169, 97, 0.45); translate: 0 -4px; }
.step:nth-child(2) { margin-top: 70px; }
.step:nth-child(3) { margin-top: 140px; background: var(--gold); color: var(--ink); border-color: var(--gold); }
.step-n {
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 0.8;
  color: var(--gold);
  display: block;
  margin-bottom: 26px;
}
.step:nth-child(3) .step-n { color: var(--ink); }
.step h3 { font-family: var(--sans); font-weight: 500; font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
.step p { margin: 0; color: var(--soft); }
.step:nth-child(3) p { color: rgba(10, 10, 10, 0.78); }

/* Big quote */
.quote-block {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 30px;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 13rem;
  line-height: 0.75;
  color: var(--gold);
}
.quote-block blockquote { margin: 0; }
.quote-block blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 30px;
}
.quote-block cite {
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--soft);
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  flex: none;
}
.quote-block cite b { color: var(--cream); font-weight: 500; display: block; }

/* CTA band */
.cta-band {
  position: relative;
  background: var(--gold);
  color: var(--ink);
  border-radius: 34px;
  padding: clamp(44px, 7vw, 90px);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(10, 10, 10, 0.2);
  box-shadow: 0 0 0 60px rgba(10, 10, 10, 0.04), 0 0 0 120px rgba(10, 10, 10, 0.03);
  z-index: -1;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.cta-band h2 em { font-style: italic; }
.cta-band p { color: rgba(10, 10, 10, 0.78); font-weight: 400; margin-bottom: 26px; }
.cta-band .btn-ghost { --fg: var(--ink); border-color: rgba(10, 10, 10, 0.3); }
.cta-band .btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(10, 10, 10, 0.06); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding: 180px 0 80px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 70% at 90% 0%, rgba(201, 169, 97, 0.14), transparent 70%);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-top: 24px;
}
.page-hero .lead { margin: 0; }
.page-index {
  position: absolute;
  right: var(--pad);
  top: 120px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(8rem, 18vw, 16rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 97, 0.22);
  z-index: -1;
  pointer-events: none;
}

/* ---------- Formations ---------- */

.f-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.f-card {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--line);
  transition: border-color 0.4s, translate 0.6s var(--ease), background 0.4s, box-shadow 0.4s;
  scroll-margin-top: 120px;
}
.f-card:hover { border-color: rgba(201, 169, 97, 0.5); translate: 0 -4px; }
.f-card.highlight { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.f-card.featured {
  grid-column: span 4;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(201, 169, 97, 0.2), transparent 60%),
    var(--ink-3);
  border-color: rgba(201, 169, 97, 0.35);
  padding: clamp(30px, 4vw, 48px);
}
.f-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.f-ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--gold-soft);
  color: var(--gold);
  display: grid;
  place-items: center;
}
.f-ico svg { width: 25px; height: 25px; }
.f-num { font-size: 13px; letter-spacing: 0.2em; color: var(--muted); }
.f-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
}
.f-tag svg { width: 12px; height: 12px; }
.f-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  line-height: 1.02;
  margin-bottom: 10px;
}
.f-card.featured h3 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); max-width: 14ch; }
.f-hook { color: var(--soft); margin-bottom: 24px; }
.f-modules { display: grid; gap: 10px; margin-bottom: 30px; }
.f-card.featured .f-modules { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.f-modules li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15.5px;
  color: var(--cream);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.f-modules li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  transform: translateY(-2px);
}
.f-card .btn { margin-top: auto; align-self: flex-start; }
.f-card:not(.featured) .btn { --bg: transparent; --fg: var(--gold); border-color: rgba(201, 169, 97, 0.4); }
.f-card:not(.featured) .btn:hover { --bg: var(--gold); --fg: var(--ink); }

/* Payment strip */
.pay-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.pay-strip > div {
  padding: 30px 26px;
  border-right: 1px solid var(--line-strong);
}
.pay-strip > div:last-child { border-right: 0; background: var(--gold-soft); }
.pay-strip svg { width: 28px; height: 28px; color: var(--gold); margin-bottom: 18px; }
.pay-strip h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 500; margin-bottom: 6px; line-height: 1.3; }
.pay-strip p { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 100px);
}
.faq-list details { border-top: 1px solid var(--line-strong); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  font-size: 1.2rem;
  font-weight: 400;
  transition: color 0.3s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold); }
.faq-list summary .plus {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s;
}
.faq-list summary .plus svg { width: 18px; height: 18px; }
.faq-list details[open] summary .plus { transform: rotate(45deg); background: var(--gold); color: var(--ink); border-color: var(--gold); }
.faq-list details p { color: var(--soft); padding: 0 60px 26px 0; margin: 0; }

/* ---------- Modal ---------- */

dialog.modal {
  width: min(680px, calc(100% - 28px));
  max-height: calc(100svh - 28px);
  padding: 0;
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: 28px;
  background: var(--ink-2);
  color: var(--cream);
  overflow: auto;
}
dialog.modal::backdrop { background: rgba(5, 5, 4, 0.82); backdrop-filter: blur(6px); }
dialog.modal[open] { animation: modalIn 0.55s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(0.98); } }
.modal-head {
  padding: 36px 36px 28px;
  background: radial-gradient(90% 120% at 100% 0%, rgba(201, 169, 97, 0.18), transparent 60%);
  border-bottom: 1px solid var(--line);
}
.modal-head h2 { font-family: var(--serif); font-size: clamp(2.1rem, 5vw, 3rem); line-height: 1; margin: 16px 50px 10px 0; }
.modal-head p { color: var(--soft); margin: 0; }
.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.modal-close:hover { transform: rotate(90deg); border-color: var(--gold); }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 28px 36px 36px; }
.modal-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 14px;
}
.modal-body .f-modules { margin-bottom: 26px; }
.modal-body .btn-row { margin-bottom: 30px; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-btn {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.pay-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.pay-btn svg { width: 24px; height: 24px; color: var(--gold); }
.pay-btn b { font-weight: 500; display: block; line-height: 1.3; }
.pay-btn small { color: var(--muted); font-size: 13px; line-height: 1.35; display: block; }
.modal-note {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.modal-note svg { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }

/* ---------- Avis ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.review {
  position: relative;
  padding: clamp(30px, 4vw, 46px);
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.review:hover { border-color: rgba(201, 169, 97, 0.45); translate: 0 -4px; }
.review.big {
  grid-row: span 2;
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  justify-content: space-between;
}
.review .q {
  font-family: var(--serif);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--gold);
  height: 40px;
}
.review.big .q { color: var(--ink); font-size: 9rem; height: 60px; }
.review p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  line-height: 1.18;
  margin: 0;
}
.review.big p { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; }
.review-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.review-foot cite { font-style: normal; display: flex; align-items: center; gap: 14px; }
.review-foot cite b { font-weight: 500; display: block; line-height: 1.2; }
.review-foot cite small { color: var(--muted); font-size: 14px; }
.review.big .avatar { background: var(--ink); color: var(--gold); }
.review.big cite small { color: rgba(10, 10, 10, 0.7); }
.chip {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 13px;
  color: var(--soft);
}
.review.big .chip { border-color: rgba(10, 10, 10, 0.3); color: var(--ink); }

/* ---------- Forms ---------- */

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.form-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(26px, 4vw, 46px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label,
.field legend {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 500;
  padding: 0;
}
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 300; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  font-size: 16px;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 15px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a961' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 46px;
}
.field select option { background: var(--ink-2); }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #6a6a6a; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid { border-color: #e2725b; }
.field-error { display: none; font-size: 13.5px; color: #f08d77; }
.field:has(:user-invalid) .field-error { display: block; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row label {
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--cream);
}
.choice-row input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.choice-row span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.choice-row label:hover span { border-color: var(--gold); }
.choice-row input:checked + span { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.choice-row input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { cursor: pointer; color: #3a3a3a; transition: color 0.2s, transform 0.3s var(--ease); padding: 2px; }
.stars label svg { width: 32px; height: 32px; }
.stars label:hover,
.stars label:hover ~ label,
.stars input:checked ~ label { color: var(--gold); }
.stars label:hover { transform: scale(1.12); }
.stars input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--soft);
  cursor: pointer;
}
.consent input {
  appearance: none;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  display: grid;
  place-items: center;
  margin-top: 1px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.consent input:checked {
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--gold);
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.form-actions small { color: var(--muted); font-size: 13.5px; max-width: 34ch; }
.btn[disabled] { opacity: 0.7; pointer-events: none; }

.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* contact aside */
.contact-aside .display { margin: 20px 0 22px; }
.contact-cards { display: grid; gap: 12px; margin-top: 36px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  transition: border-color 0.3s, transform 0.5s var(--ease);
}
a.contact-card:hover { border-color: var(--gold); transform: translateX(6px); }
.contact-card .ci {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.contact-card .ci svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: var(--muted); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-card b { font-weight: 500; word-break: break-word; }

/* ---------- Thanks / 404 ---------- */

.center-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px var(--pad) 80px;
  position: relative;
  isolation: isolate;
}
.center-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(45% 45% at 50% 40%, rgba(201, 169, 97, 0.14), transparent 70%);
}
.center-page .badge {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin: 0 auto 30px;
  animation: pop 0.8s var(--ease) both;
}
.center-page .badge svg { width: 40px; height: 40px; }
.center-page .page-title { margin: 0 0 22px; }
.center-page .lead { margin: 0 auto 36px; }
.center-page .btn-row { justify-content: center; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 90px 0 36px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-brand p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1.15;
  color: var(--gold);
  margin: 22px 0 0;
  max-width: 16ch;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--soft); transition: color 0.3s; display: inline-flex; gap: 8px; align-items: center; word-break: break-word; }
.footer-col a:hover { color: var(--gold); }
.footer-word {
  font-family: var(--serif);
  font-size: clamp(3rem, 11vw, 9.5rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
  white-space: nowrap;
  margin: 70px 0 30px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 97, 0.35);
  user-select: none;
}
.footer-word em { font-style: italic; color: var(--gold); -webkit-text-stroke: 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), translate 0.6s var(--ease),
    border-color 0.4s, background 0.4s, color 0.4s, box-shadow 0.4s;
}
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .pole-row { grid-template-columns: 50px 56px minmax(0, 1fr) 44px; }
  .pole-desc { display: none; }
  .f-card { grid-column: span 3; }
  .f-card.featured { grid-column: span 6; }
  .pay-strip { grid-template-columns: 1fr 1fr; }
  .pay-strip > div:nth-child(2) { border-right: 0; }
  .pay-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-strong); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .hero { padding-top: 130px; min-height: auto; }
  .hero-inner,
  .why,
  .page-hero-inner,
  .faq,
  .form-shell,
  .cta-band { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; max-width: 460px; width: 100%; margin-inline: auto; }
  .why-aside { position: static; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(2), .step:nth-child(3) { margin-top: 0; }
  .reviews { grid-template-columns: 1fr; }
  .review.big { grid-row: auto; }
  .quote-block { grid-template-columns: 1fr; gap: 0; }
  .quote-mark { font-size: 9rem; height: 80px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .f-card, .f-card.featured { grid-column: span 6; }
  .f-card.featured .f-modules { grid-template-columns: 1fr; }
  .pole-row { grid-template-columns: 48px minmax(0, 1fr) 40px; padding: 22px 6px; gap: 14px; }
  .pole-num { display: none; }
  .pole-go { width: 38px; height: 38px; }
  .why-list li { grid-template-columns: 1fr; gap: 6px; }
  .form-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .pay-strip { grid-template-columns: 1fr; }
  .pay-strip > div { border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .pay-strip > div:last-child { border-bottom: 0; }
  .modal-head, .modal-body { padding-inline: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .faq-list details p { padding-right: 0; }
  .btn { padding: 15px 22px; }
  .hero-visual { min-height: 420px; }
  .pass { padding: 24px; }
  .pass-main h2 { font-size: 2rem; }
  .orbit { width: 120px; height: 120px; left: 60%; }
  .page-hero { padding-top: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ==========================================================
   Ajouts : badges accueil, financements, pages légales, pied de page
   ========================================================== */

/* 5 badges sous le hero */
.hero-badges {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(10px, 2vw, 24px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--soft);
}
.hb-ico {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 97, 0.35);
  background: var(--gold-soft);
  color: var(--gold);
  display: grid;
  place-items: center;
}
.hb-ico svg { width: 19px; height: 19px; }

/* Formations : 2 x 2 sous la carte mise en avant */
@media (min-width: 641px) {
  .f-grid > .f-card:nth-child(n+3) { grid-column: span 3; }
}

/* Avis : la grande carte ne s'étire pas s'il n'y a que 2 avis */
.reviews:has(> .review:nth-child(2):last-child) .review.big { grid-row: auto; }

/* Financements */
.fin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.fin-card {
  position: relative;
  padding: clamp(28px, 3.6vw, 44px);
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--line);
  transition: border-color 0.4s, translate 0.6s var(--ease);
}
.fin-card:hover { border-color: rgba(201, 169, 97, 0.45); translate: 0 -4px; }
.fin-card .f-top { margin-bottom: 26px; }
.fin-card h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.02;
  margin-bottom: 6px;
}
.fin-card .fin-full { color: var(--gold); font-size: 14px; letter-spacing: 0.06em; margin-bottom: 18px; }
.fin-card p { color: var(--soft); margin: 0 0 18px; }
.fin-card .fin-who {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  color: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 14px;
}
.fin-card .fin-who b { color: var(--gold); font-weight: 500; }
.fin-note {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px dashed rgba(201, 169, 97, 0.4);
  color: var(--soft);
}
.fin-note svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.fin-note p { margin: 0; }

/* Pages légales */
.legal { max-width: 860px; }
.legal-block {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.legal-block:last-child { border-bottom: 1px solid var(--line); }
.legal-num { font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--gold); }
.legal-block h2 { font-family: var(--sans); font-weight: 500; font-size: 1.3rem; line-height: 1.3; margin: 4px 0 12px; }
.legal-block p, .legal-block li { color: var(--soft); }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block ul { display: grid; gap: 8px; margin-bottom: 1em; }
.legal-block ul li { display: flex; gap: 12px; align-items: baseline; }
.legal-block ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-2px); }
.legal-block a:not(.btn) { color: var(--gold); border-bottom: 1px solid rgba(201, 169, 97, 0.4); }
.legal-block a:not(.btn):hover { border-color: var(--gold); }
.legal-table { margin: 0; display: grid; border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; }
.legal-table > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.legal-table > div:last-child { border-bottom: 0; }
.legal-table dt { color: var(--muted); font-size: 14.5px; }
.legal-table dd { margin: 0; color: var(--cream); font-weight: 400; }
.legal-updated { color: var(--muted); font-size: 14px; margin-top: 28px; }

/* Pied de page : liens légaux + Qualiopi */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { color: var(--soft); transition: color 0.3s; }
.footer-legal a:hover { color: var(--gold); }
.footer-qualiopi { margin: 18px 0 0; font-size: 11.5px; color: #6a6a6a; letter-spacing: 0.02em; }

/* Navigation à 5 liens : menu mobile un peu plus tôt */
@media (max-width: 1040px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
}
.mobile-menu.open nav a:nth-child(5) { transition-delay: 0.2s; }

@media (max-width: 1080px) {
  .hero-badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .fin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-badges { grid-template-columns: 1fr 1fr; }
  .legal-block { grid-template-columns: 1fr; gap: 4px; }
  .legal-table > div { grid-template-columns: 1fr; gap: 2px; }
}
