/* =============================================================================
   Arcadia Executive Business School — feuille de style
   Thème sombre, sans framework. Tokens en tête, puis composants.
   ========================================================================== */

:root {
  --bg:        #0a0d13;
  --bg-2:      #0f131b;
  --surface:   #141923;
  --surface-2: #1a2030;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);

  --text:      #e9edf3;
  --text-2:    #b6bfcc;
  --muted:     #8a94a6;

  --gold:      #d9b65c;
  --gold-2:    #f1d489;
  --gold-soft: rgba(217, 182, 92, 0.14);
  --blue:      #5b8def;
  --blue-soft: rgba(91, 141, 239, 0.14);

  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius:    18px;
  --radius-sm: 10px;
  --container: 1200px;
  --gutter:    clamp(1rem, 4vw, 2.5rem);
  --header-h:  76px;

  --shadow:    0 20px 50px rgba(0, 0, 0, 0.45);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--text); }
::selection { background: var(--gold); color: #0a0d13; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 0.5rem 1rem; border-radius: 6px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ------------------------------------------------------------ Typographie -- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-head); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--muted); }
.grad { background: linear-gradient(100deg, #fff 0%, var(--gold-2) 55%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--bg-2); }
.section__head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow::before { display: none; }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; flex-wrap: wrap; }

/* ----------------------------------------------------------------- Boutons - */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.9rem 1.5rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  border: 1px solid transparent; transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 0.65rem 1.15rem; font-size: 0.85rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn--primary { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #120f06; box-shadow: 0 8px 24px rgba(217, 182, 92, 0.25); }
.btn--primary:hover { box-shadow: 0 12px 30px rgba(217, 182, 92, 0.38); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); }
.btn--link { padding: 0; color: var(--gold-2); border: 0; background: none; }
.btn--link:hover { transform: none; color: #fff; }
.btn--link .arrow { transition: transform 0.25s var(--ease); }
.btn--link:hover .arrow { transform: translateX(4px); }
.btn svg { width: 1.05em; height: 1.05em; }

/* ------------------------------------------------------------------ Header - */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
/* Le flou est porté par un pseudo-élément : un backdrop-filter sur le header lui-même
   ferait de lui le bloc conteneur du menu mobile en position fixed. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 13, 19, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); transition: background 0.3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-scrolled::before { background: rgba(10, 13, 19, 0.9); }
.site-header__inner { position: relative; z-index: 1; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__logo { width: clamp(180px, 22vw, 260px); height: auto; }
.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }

.site-nav__list { display: flex; align-items: center; gap: 0.25rem; }
.site-nav__item { position: relative; }
.site-nav__item > a {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 0.95rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}
.site-nav__item > a:hover, .site-nav__item > a.is-active { color: #fff; background: rgba(255, 255, 255, 0.06); }
.site-nav__item--has-menu > a::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: 0.7;
}

.mega {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, 8px);
  width: min(1040px, calc(100vw - 2rem));
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.6rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.site-nav__item--has-menu:hover .mega,
.site-nav__item--has-menu:focus-within .mega,
.site-nav__item--has-menu.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega__inner { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 1.6rem; }
.mega__title { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: #fff; padding-bottom: 0.7rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
.mega__title:hover { color: var(--gold-2); }
.mega__icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-2); }
.mega__icon svg { width: 17px; height: 17px; }
.mega__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; padding: 0.38rem 0.5rem; margin-inline: -0.5rem; border-radius: 8px; font-size: 0.86rem; color: var(--text-2); transition: background 0.2s, color 0.2s; }
.mega__list a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.mega__hours { font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mega__col--cta { background: linear-gradient(160deg, rgba(217, 182, 92, 0.12), rgba(91, 141, 239, 0.08)); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.mega__eyebrow { font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0; }
.mega__text { font-size: 0.85rem; color: var(--text-2); flex: 1; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------------- Hero - */
.hero { position: relative; overflow: hidden; padding-block: clamp(4.5rem, 10vw, 8rem) clamp(4rem, 8vw, 6rem); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; animation: float 14s ease-in-out infinite; }
.orb--gold { width: 520px; height: 520px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(217, 182, 92, 0.5), transparent 65%); }
.orb--blue { width: 620px; height: 620px; left: -220px; bottom: -280px; background: radial-gradient(circle, rgba(91, 141, 239, 0.4), transparent 65%); animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -30px, 0); } }

.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero__title { margin-bottom: 1.2rem; }
.hero__title .grad { display: inline; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__trust svg { width: 16px; height: 16px; color: var(--gold); }

.hero__panel { position: relative; }
.hero__card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.hero__card + .hero__card { margin-top: 1rem; }
.hero__card--offset { margin-left: 2.5rem; }
.hero__card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.hero__card-head h3 { margin: 0; font-size: 1rem; }
.hero__monogram { width: 44px; opacity: 0.9; }
.progress { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 0.8rem; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 99px; transition: width 1.4s var(--ease); }
.is-visible .progress span { width: var(--w, 70%); }
.mini-list { display: grid; gap: 0.55rem; font-size: 0.88rem; color: var(--text-2); }
.mini-list li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.55rem; border-bottom: 1px dashed var(--line); }
.mini-list li:last-child { border: 0; padding: 0; }
.mini-list b { color: #fff; font-weight: 600; }

/* -------------------------------------------------------------------- Pills - */
.pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem; border-radius: 999px; font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(255, 255, 255, 0.03); white-space: nowrap; }
.pill--gold { color: var(--gold-2); border-color: rgba(217, 182, 92, 0.4); background: var(--gold-soft); }
.pill--blue { color: #9fbdf7; border-color: rgba(91, 141, 239, 0.4); background: var(--blue-soft); }
.badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge { padding: 0.35rem 0.75rem; border-radius: 8px; font-size: 0.78rem; font-weight: 500; color: var(--text-2); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }

/* ------------------------------------------------------------------- Cards -- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column; gap: 0.9rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(217, 182, 92, 0.5), transparent 45%, transparent 60%, rgba(91, 141, 239, 0.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.6rem; }
.card__title { font-size: 1.15rem; margin: 0; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__text { color: var(--text-2); font-size: 0.93rem; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; font-size: 0.82rem; color: var(--muted); padding-top: 0.9rem; border-top: 1px solid var(--line); }
.card__meta li { display: inline-flex; align-items: center; gap: 0.4rem; }
.card__meta svg { width: 15px; height: 15px; color: var(--gold); }
.card__hours { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1; color: #fff; }
.card__figures { display: flex; flex-direction: column; align-items: flex-end; gap: 0.2rem; flex-shrink: 0; }
.card__price { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--gold-2); white-space: nowrap; }
.card__price-old, .spec__price-old { font-weight: 500; color: var(--muted); font-size: 0.8em; margin-right: 0.2em; }
.card__hours small { font-size: 0.7rem; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; margin-left: 0.2rem; }

.domaine-card { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; min-height: 300px; background: linear-gradient(160deg, var(--surface), var(--bg-2)); }
.domaine-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-2); border: 1px solid rgba(217, 182, 92, 0.25); }
.domaine-card__icon svg { width: 26px; height: 26px; }
.domaine-card h3 { font-size: 1.4rem; margin: 0; }
.domaine-card__count { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-head); font-weight: 600; }
.domaine-card .btn--link { margin-top: auto; }

.domaine-card--soon { border-style: dashed; background: transparent; justify-content: center; align-items: flex-start; }
.domaine-card--soon:hover { transform: none; box-shadow: none; background: rgba(255, 255, 255, 0.02); }
.domaine-card--soon::before { display: none; }

/* -------------------------------------------------------------- Chiffres ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-2); padding: 1.8rem 1.6rem; }
.stat__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: #fff; margin-bottom: 0.4rem; }
.stat__value em { font-style: normal; color: var(--gold); }
.stat__label { font-size: 0.86rem; color: var(--muted); }

/* ---------------------------------------------------------------- Étapes ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding: 1.8rem 1.6rem 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(217, 182, 92, 0.6); display: block; margin-bottom: 1rem; }
.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.9rem; color: var(--text-2); }

/* -------------------------------------------------------- Bloc valeurs ------- */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: #9fbdf7; border: 1px solid rgba(91, 141, 239, 0.25); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.feature p { font-size: 0.9rem; color: var(--text-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split__visual { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: linear-gradient(150deg, #151b28, #0c1017); min-height: 420px; display: grid; place-items: center; isolation: isolate; }
.split__visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(217, 182, 92, 0.22), transparent 55%), radial-gradient(circle at 80% 90%, rgba(91, 141, 239, 0.25), transparent 55%); z-index: -1; }
.split__visual img { width: 55%; opacity: 0.95; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)); }
.split__visual .float-card { position: absolute; background: rgba(15, 19, 27, 0.85); border: 1px solid var(--line-2); border-radius: 12px; padding: 0.8rem 1rem; font-size: 0.82rem; backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.split__visual .float-card b { display: block; font-family: var(--font-head); color: #fff; }
.float-card--tl { top: 8%; left: 6%; }
.float-card--br { bottom: 8%; right: 6%; }

/* ------------------------------------------------------------ Témoignages --- */
.quote { display: flex; flex-direction: column; gap: 1.2rem; padding: 1.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.quote__stars { color: var(--gold); letter-spacing: 0.1em; font-size: 0.9rem; }
.quote__text { font-size: 0.98rem; color: var(--text-2); flex: 1; font-style: italic; }
.quote__author { display: flex; align-items: center; gap: 0.8rem; font-size: 0.85rem; }
.quote__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #120f06; }
.quote__author b { display: block; color: #fff; font-weight: 600; }
.quote__author span { color: var(--muted); }

/* ---------------------------------------------------------------- FAQ ------- */
.faq { display: grid; gap: 0.8rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.4rem; transition: border-color 0.2s; }
.faq details[open] { border-color: rgba(217, 182, 92, 0.4); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--gold); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding-bottom: 1.2rem; color: var(--text-2); font-size: 0.93rem; }

/* ------------------------------------------------------- Bandeau CTA -------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-2); padding: clamp(2rem, 5vw, 4rem); background: linear-gradient(120deg, #161b27, #0f131b); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 182, 92, 0.35), transparent 65%); filter: blur(30px); pointer-events: none; }
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-self: end; position: relative; z-index: 1; }

/* ------------------------------------------------------------ Page head ----- */
.page-head { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); isolation: isolate; }
.page-head .hero__bg { opacity: 0.8; }
.page-head h1 { margin-bottom: 0.8rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }
.breadcrumb a:hover { color: #fff; }

/* -------------------------------------------------------------- Catalogue --- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 2rem; }
.filters__group { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filters__label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); font-weight: 600; margin-right: 0.4rem; }
.chip { padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.85rem; font-weight: 500; color: var(--text-2); background: rgba(255, 255, 255, 0.02); transition: all 0.2s; }
.chip:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #120f06; font-weight: 600; }
.filters__search { margin-left: auto; position: relative; }
.filters__search input { width: min(320px, 70vw); padding: 0.6rem 1rem 0.6rem 2.4rem; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: #fff; font: inherit; font-size: 0.9rem; }
.filters__search input::placeholder { color: var(--muted); }
.filters__search svg { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.catalogue-empty { display: none; text-align: center; padding: 3rem; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.catalogue-empty.is-visible { display: block; }
.catalogue-domaine { margin-bottom: 3rem; }
.catalogue-domaine__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.4rem; }
.catalogue-domaine__head h2 { margin: 0; font-size: 1.5rem; }
.catalogue-domaine__head .domaine-card__icon { width: 42px; height: 42px; }
.catalogue-domaine__head .domaine-card__icon svg { width: 20px; height: 20px; }
.is-filtered .catalogue-domaine { margin-bottom: 1.4rem; }
.is-filtered .catalogue-domaine__head { display: none; }

/* --------------------------------------------------------- Fiche formation -- */
.fiche { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.fiche__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.spec { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.spec__price { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: #fff; line-height: 1; }
.spec__price small { display: block; font-size: 0.78rem; font-weight: 500; color: var(--muted); margin-top: 0.4rem; }
.spec__list { margin: 1.4rem 0; display: grid; gap: 0.7rem; font-size: 0.9rem; }
.spec__list li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); }
.spec__list li:last-child { border: 0; padding-bottom: 0; }
.spec__list span:first-child { color: var(--muted); flex-shrink: 0; }
.spec__list span:last-child { text-align: right; color: var(--text); font-weight: 500; }
.spec .btn { width: 100%; }
.spec .btn + .btn { margin-top: 0.6rem; }
.spec__note { margin-top: 1rem; font-size: 0.78rem; color: var(--muted); text-align: center; }

.fiche__section { padding-block: 1.6rem; border-top: 1px solid var(--line); }
.fiche__section:first-child { border: 0; padding-top: 0; }
.fiche__section h2 { font-size: 1.45rem; }
.checklist { display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text-2); font-size: 0.95rem; }
.checklist li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 0.15rem; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1d489' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.programme { display: grid; gap: 0.5rem; counter-reset: mod; }
.programme li { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 0.9rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 0.93rem; }
.programme li::before { counter-increment: mod; content: counter(mod, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; color: var(--gold); font-size: 0.85rem; }
.programme__hours { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.callout { display: flex; gap: 0.9rem; padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); background: var(--gold-soft); border: 1px solid rgba(217, 182, 92, 0.3); font-size: 0.92rem; color: var(--text); }
.callout svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--gold-2); margin-top: 0.15rem; }
.callout--blue { background: var(--blue-soft); border-color: rgba(91, 141, 239, 0.3); }
.callout--blue svg { color: #9fbdf7; }
.related { margin-top: clamp(3rem, 6vw, 5rem); }

/* --------------------------------------------------------------- Formulaire - */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--text-2); }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea { width: 100%; padding: 0.8rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: #fff; font: inherit; font-size: 0.95rem; transition: border-color 0.2s, background 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, 0.05); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 16px; padding-right: 2.6rem; }
.field select option { background: var(--surface); color: var(--text); }
.field textarea { min-height: 150px; resize: vertical; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 0.7rem; }
.field--check input { width: 18px; height: 18px; margin-top: 0.2rem; accent-color: var(--gold); }
.field--check label { font-size: 0.83rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-size: 0.92rem; border: 1px solid; }
.alert--success { background: rgba(72, 187, 120, 0.12); border-color: rgba(72, 187, 120, 0.4); color: #b8f0cf; }
.alert--error { background: rgba(245, 101, 101, 0.12); border-color: rgba(245, 101, 101, 0.4); color: #fbc4c4; }

.contact-aside { display: grid; gap: 1.2rem; }
.contact-box { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-box h3 { font-size: 1rem; margin-bottom: 0.6rem; }
.contact-box p, .contact-box li { font-size: 0.9rem; color: var(--text-2); }
.contact-box a { color: var(--gold-2); }
.contact-box ul { display: grid; gap: 0.4rem; }

/* --------------------------------------------------------------- Prose ------ */
.prose { color: var(--text-2); font-size: 0.97rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; color: #fff; }
.prose h3 { font-size: 1.1rem; margin-top: 1.8rem; color: #fff; }
.prose ul { padding-left: 1.2rem; list-style: disc; margin-bottom: 1em; }
.prose li { margin-bottom: 0.3em; }
.prose a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 1.2rem 0; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }
.placeholder { color: var(--gold-2); background: var(--gold-soft); padding: 0 0.3rem; border-radius: 4px; font-family: monospace; font-size: 0.85em; }

/* ------------------------------------------------------------- Financement -- */
.finance-card { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.finance-card__tag { font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.finance-card h3 { font-size: 1.2rem; margin: 0; }
.finance-card p { font-size: 0.92rem; color: var(--text-2); }
.finance-card ul { display: grid; gap: 0.4rem; font-size: 0.88rem; color: var(--text-2); }
.finance-card li { display: flex; gap: 0.5rem; }
.finance-card li::before { content: "—"; color: var(--gold); }

/* ------------------------------------------------------------------ 404 ----- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(217, 182, 92, 0.6); }

/* ---------------------------------------------------------------- Footer ---- */
.site-footer { margin-top: clamp(3rem, 8vw, 6rem); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, #070910 100%); padding-bottom: 2rem; }
.site-footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.site-footer__cta-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0; }
.site-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.site-footer__brand img { width: 220px; margin-bottom: 1.2rem; }
.site-footer__brand p { font-size: 0.88rem; color: var(--muted); max-width: 40ch; margin-bottom: 1.2rem; }
.site-footer__col h3 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer__col ul { display: grid; gap: 0.5rem; font-size: 0.88rem; color: var(--text-2); }
.site-footer__col a:hover { color: var(--gold-2); }
.social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.social a { padding: 0.35rem 0.8rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.8rem; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer__bottom a:hover { color: #fff; }

/* --------------------------------------------------------- Animations ------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------- Responsive ------ */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .site-header__actions .btn { display: none; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); overflow-y: auto; padding: 1.2rem var(--gutter) 3rem; transform: translateX(100%); transition: transform 0.35s var(--ease); z-index: 90; border-top: 1px solid var(--line); }
  .site-nav.is-open { transform: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0.3rem; }
  .site-nav__item > a { font-size: 1.15rem; padding: 0.9rem 0.6rem; border-radius: 10px; width: 100%; justify-content: space-between; }
  .site-nav__item--has-menu > a::after { transition: transform 0.3s; }
  .site-nav__item--has-menu.is-open > a::after { transform: rotate(225deg) translateY(-2px); }
  .mega { position: static; transform: none; width: auto; box-shadow: none; border: 0; background: transparent; padding: 0 0.6rem 1rem; display: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .site-nav__item--has-menu:hover .mega { display: none; }
  .site-nav__item--has-menu.is-open .mega { display: block; transform: none; }
  .mega__inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .mega__col--cta { display: none; }

  .hero__grid, .split, .fiche, .cta-band { grid-template-columns: 1fr; }
  .hero__panel { max-width: 520px; }
  .hero__card--offset { margin-left: 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .fiche__aside { position: static; }
  .cta-band__actions { justify-self: start; }
  .split__visual { min-height: 320px; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .stats, .site-footer__grid, .form__row { grid-template-columns: 1fr; }
  .brand__logo { width: 170px; }
  .hero__actions .btn { width: 100%; }
  .filters__search { margin-left: 0; width: 100%; }
  .filters__search input { width: 100%; }
  .programme li { grid-template-columns: auto 1fr; }
  .programme__hours { grid-column: 2; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------- Inscription ---- */
.inscription { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.inscription__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin: 0; display: grid; gap: 1rem; background: var(--surface); }
.fieldset legend { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff; padding: 0 0.6rem; }
.fieldset__sub { font-family: var(--font-head); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0.4rem 0 -0.4rem; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.choices--radio { grid-template-columns: 1fr 1fr; }
.choice { position: relative; display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.85rem 1rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.02); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.choice:hover { border-color: rgba(255, 255, 255, 0.3); }
.choice input { margin-top: 0.25rem; width: 16px; height: 16px; accent-color: var(--gold); flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.choice__body { display: grid; gap: 0.15rem; font-size: 0.9rem; }
.choice__title { font-weight: 600; color: #fff; }
.choice__meta { font-size: 0.8rem; color: var(--muted); }
.subblock { display: grid; gap: 1rem; padding: 1.2rem; border-radius: var(--radius-sm); border: 1px dashed var(--line-2); }
.recap__list { display: grid; gap: 0.5rem; font-size: 0.9rem; }
.recap__list li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.5rem; border-bottom: 1px dashed var(--line); }
.recap__list li span:last-child { white-space: nowrap; color: #fff; font-weight: 500; }
.recap__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; font-family: var(--font-head); }
.recap__total strong { font-size: 1.7rem; color: #fff; }

/* ---------------------------------------------------------- Contrat -------- */
.statut { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); border: 1px solid; font-size: 0.95rem; }
.statut--ok { background: rgba(72, 187, 120, 0.12); border-color: rgba(72, 187, 120, 0.4); color: #d5f5e3; }
.statut--info { background: var(--blue-soft); border-color: rgba(91, 141, 239, 0.4); color: #dbe6fb; }
.statut--warn { background: var(--gold-soft); border-color: rgba(217, 182, 92, 0.4); color: #f5e9c8; }
.contrat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.6rem); }
.contrat h2 { font-size: 1.25rem; margin-top: 1.8rem; }
.contrat h2:first-child { margin-top: 0; }
.contrat p, .contrat li { font-size: 0.93rem; color: var(--text-2); }
.contrat ul { padding-left: 1.2rem; list-style: disc; }
.code-input { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: 0.4em; text-align: center; max-width: 260px; }
.signature-box { display: grid; gap: 1rem; padding: 1.6rem; border-radius: var(--radius); border: 1px solid rgba(217, 182, 92, 0.4); background: var(--gold-soft); }

@media (max-width: 960px) {
  .inscription { grid-template-columns: 1fr; }
  .inscription__aside { position: static; }
}
@media (max-width: 640px) {
  .choices, .choices--radio { grid-template-columns: 1fr; }
}
