/* ==========================================================================
   PLUS FORMA — Design system v5
   Une seule feuille de style. Mobile, tablette et ordinateur.
   Sommaire : 1. Polices  2. Tokens  3. Base  4. Typographie  5. Boutons & UI
   6. En-tête & menu  7. Héros  8. Sections & mises en page  9. Cartes
   10. Composants  11. Formulaire  12. Pages légales  13. Pied de page
   14. Animations  15. Points de rupture
   ========================================================================== */

/* 1. Polices ------------------------------------------------------------- */
@font-face {
  font-family: "Anton";
  src: url("anton.woff2") format("woff2"), url("anton.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* 2. Tokens -------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --violet: #6439ff;
  --violet-600: #5127ee;
  --violet-deep: #271367;
  --night: #150d33;
  --night-2: #1d1247;
  --lime: #d6ff3f;
  --lime-600: #c4f01c;
  --ink: #19123b;
  --paper: #faf9ff;
  --white: #ffffff;
  --lavender: #f1edff;
  --lavender-2: #e6dfff;
  --muted: #5d5775;
  --line: rgba(25, 18, 59, 0.1);
  --line-strong: rgba(25, 18, 59, 0.18);
  --whatsapp: #20cf72;
  --danger: #c8314f;

  /* Couleurs contextuelles (redéfinies par les sections sombres) */
  --fg: var(--ink);
  --fg-soft: var(--muted);
  --accent: var(--violet);
  --card: var(--white);
  --card-line: #d6cdf3;  /* bordure fixe des cartes, toujours visible */

  /* Typographie */
  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Espacements & mise en page */
  --gutter: clamp(20px, 4.4vw, 64px);
  --maxw: 1280px;
  --hdr: 84px;
  --sec: clamp(80px, 10vw, 136px);
  --gap: 24px;
  --t2: clamp(36px, 4.6vw, 66px);  /* taille des titres de section */

  /* Rayons */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Ombres */
  --sh-sm: 0 1px 2px rgba(25, 18, 59, 0.05), 0 4px 14px rgba(39, 19, 103, 0.05);
  --sh-md: 0 2px 6px rgba(25, 18, 59, 0.05), 0 18px 44px rgba(39, 19, 103, 0.1);
  --sh-lg: 0 4px 10px rgba(25, 18, 59, 0.05), 0 32px 80px rgba(39, 19, 103, 0.14);

  /* Mouvement */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 24px);
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid #8b66ff; outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
main { display: block; }
.ic { width: 20px; height: 20px; flex: none; max-width: none; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip:focus { transform: none; }

/* 4. Typographie --------------------------------------------------------- */
.title-1, .title-2, .title-3, .hero__title, .cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--fg);
  overflow-wrap: break-word;
  hyphens: manual;
}
.title-1 {
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.06;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  max-width: 19ch;
}
.title-2 {
  font-size: var(--t2);
  line-height: 1.07;
  letter-spacing: -0.003em;
  text-transform: uppercase;
}
.title-3 {
  font-size: clamp(28px, 2.9vw, 40px);
  line-height: 1.06;
  letter-spacing: 0;
}
.title-1, .title-2, .title-3, .cta__title { text-wrap: balance; }
.title-1 + .lead, .title-2 + .lead, .title-2 + .text, .title-3 + .text, .title-3 + .lead { margin-top: 24px; }
.hl { color: var(--accent); }
.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  font-weight: 700;
  color: var(--fg);
  max-width: 34em;
}
.lead--light { color: rgba(255, 255, 255, 0.78); font-weight: 500; }
.text { font-size: 17px; line-height: 1.7; color: var(--fg-soft); max-width: 38em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: var(--r-pill);
  font: 800 12px/1.3 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow .ic { width: 15px; height: 15px; }
.eyebrow--lime { color: var(--lime); border-color: rgba(214, 255, 63, 0.35); }
.eyebrow--ink { color: var(--ink); border-color: rgba(25, 18, 59, 0.25); }

/* 5. Boutons & UI -------------------------------------------------------- */
.btn {
  --btn-bg: var(--violet);
  --btn-fg: #fff;
  --btn-bd: transparent;
  --btn-ic-bg: rgba(255, 255, 255, 0.16);
  --btn-ic-fg: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 8px 8px 8px 26px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 15px/1.2 var(--font-body);
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn__ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--btn-ic-bg);
  color: var(--btn-ic-fg);
  transition: transform 0.35s var(--ease), background-color 0.25s;
}
.btn__ic .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--btn-bg) 70%, transparent); }
.btn:hover .btn__ic { transform: rotate(45deg); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { --btn-bg: var(--violet-600); }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--ink); --btn-ic-bg: var(--ink); --btn-ic-fg: var(--lime); }
.btn--lime:hover { --btn-bg: #e4ff7a; }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-ic-bg: var(--lime); --btn-ic-fg: var(--ink); }
.btn--dark:hover { --btn-bg: var(--violet-deep); }
.btn--glass { --btn-bg: rgba(255, 255, 255, 0.08); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.38); --btn-ic-bg: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, 0.16); box-shadow: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); --btn-ic-bg: var(--violet); --btn-ic-fg: #fff; }
.btn--outline:hover { --btn-bg: #fff; --btn-bd: var(--violet); box-shadow: var(--sh-sm); }
.btn--sm { min-height: 48px; padding: 6px 6px 6px 20px; gap: 12px; font-size: 14px; }
.btn--sm .btn__ic { width: 34px; height: 34px; }
.btn--sm .btn__ic .ic { width: 16px; height: 16px; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.actions--stack { flex-direction: column; align-items: stretch; gap: 20px; }

.tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 16px;
  background: var(--lavender);
  color: var(--violet);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.tile .ic { width: 24px; height: 24px; }
.tile--sm { width: 42px; height: 42px; border-radius: 13px; }
.tile--sm .ic { width: 19px; height: 19px; }
.tile--lime { background: var(--lime); color: var(--ink); }
.tile--glass { background: rgba(255, 255, 255, 0.1); color: var(--lime); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tags li {
  padding: 6px 12px;
  border: 1px solid rgba(100, 57, 255, 0.18);
  border-radius: var(--r-pill);
  background: rgba(100, 57, 255, 0.05);
  color: var(--violet-deep);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 6px 16px 6px 6px;
  border: 1px solid rgba(100, 57, 255, 0.18);
  border-radius: var(--r-pill);
  background: var(--lavender);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.badge__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--violet); color: #fff; }
.badge__ic .ic { width: 17px; height: 17px; }
.badge--dark { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.badge--dark .badge__ic { background: var(--lime); color: var(--ink); }

.phone-link { display: inline-flex; align-items: center; gap: 14px; font-size: 19px; font-weight: 800; color: var(--fg); white-space: nowrap; transition: color 0.2s; }
.phone-link:hover { color: var(--accent); }
.phone-link--light { color: #fff; }
.phone-link--light:hover { color: var(--lime); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--accent); }
.text-link .ic { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.text-link:hover .ic { transform: translateX(4px); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin-bottom: 28px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.6); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(255, 255, 255, 0.3); }
.crumbs a { transition: color 0.2s; }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current] { color: #fff; }

/* 6. En-tête & menu ------------------------------------------------------ */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--hdr);
  color: var(--ink);
  background: rgba(250, 249, 255, 0.88);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  transition: background-color 0.35s, border-color 0.35s, color 0.35s, box-shadow 0.35s;
}
.js .hdr:not(.is-scrolled):not(.is-open) {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hdr.is-scrolled { box-shadow: 0 10px 30px -18px rgba(39, 19, 103, 0.3); }
.hdr__bar { display: flex; align-items: center; gap: 28px; height: 100%; }

.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 12px; flex: none; }
.mono { position: relative; display: block; width: 46px; height: 46px; flex: none; }
.mono > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.brand__word { font: 400 30px/1 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; }
.brand--lg .mono { width: 56px; height: 56px; }
.brand--lg .brand__word { font-size: 38px; }
/* Animations sur les calques <svg> entiers : exécutées par le GPU, sans recalcul de la page. */
.mono__orbit { animation: spin 14s linear infinite; }
.mono__p { animation: mono-p 7s ease-in-out infinite; }
.mono__f { animation: mono-f 7s ease-in-out infinite; }
.brand:hover .mono__orbit { animation-duration: 3s; }

.nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav__main { display: flex; align-items: center; gap: clamp(2px, 0.6vw, 8px); }
.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s;
}
.nav__link:hover { color: var(--violet); background: rgba(100, 57, 255, 0.07); }
.nav__link[aria-current] { color: var(--violet); background: rgba(100, 57, 255, 0.1); }
.js .hdr:not(.is-scrolled):not(.is-open) .nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.js .hdr:not(.is-scrolled):not(.is-open) .nav__link[aria-current] { color: var(--lime); background: rgba(255, 255, 255, 0.1); }
.nav__idx, .nav__arr, .nav__panel { display: none; }
.hdr__cta { flex: none; }
.js .hdr:not(.is-scrolled):not(.is-open) .hdr__cta { --btn-bg: var(--lime); --btn-fg: var(--ink); --btn-ic-bg: var(--ink); --btn-ic-fg: var(--lime); }

.burger { display: none; position: relative; z-index: 2; width: 48px; height: 48px; margin-right: -10px; place-items: center; color: inherit; border-radius: 12px; }
.burger__box { position: relative; display: block; width: 26px; height: 16px; }
.burger__box i { position: absolute; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.4s var(--ease), top 0.4s var(--ease), width 0.3s var(--ease), opacity 0.2s; }
.burger__box i:nth-child(1) { top: 2px; width: 26px; }
.burger__box i:nth-child(2) { top: 12px; width: 17px; }
.burger:hover .burger__box i:nth-child(2) { width: 26px; }
.burger[aria-expanded="true"] .burger__box i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__box i:nth-child(2) { top: 7px; width: 26px; transform: rotate(-45deg); }

/* 7. Héros --------------------------------------------------------------- */
.hero {
  --fg: #fff;
  --accent: var(--lime);
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(640px, min(100svh, 980px));
  overflow: hidden;
  isolation: isolate;
  background: var(--violet-deep);
  color: #fff;
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; animation: hero-zoom 18s var(--ease-out) both; }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(21, 11, 64, 0.94) 0%, rgba(32, 16, 82, 0.8) 34%, rgba(36, 19, 90, 0.38) 66%, rgba(36, 19, 90, 0.12) 100%),
    linear-gradient(0deg, rgba(23, 12, 66, 0.92) 0%, rgba(23, 12, 66, 0) 48%),
    linear-gradient(180deg, rgba(23, 12, 66, 0.55) 0%, rgba(23, 12, 66, 0) 22%);
}
.hero__inner { padding-top: calc(var(--hdr) + 64px); padding-bottom: clamp(56px, 9vh, 112px); }
.hero__copy { max-width: 880px; }
.hero__title { font-size: clamp(42px, 8.6vw, 128px); line-height: 1; letter-spacing: -0.008em; text-transform: uppercase; }
.hero__line { display: block; overflow: hidden; padding-top: 0.1em; margin-top: -0.1em; padding-bottom: 0.02em; margin-bottom: -0.02em; }
.hero__line > span { display: block; animation: line-up 1s var(--ease-out) both; }
.hero__line:nth-child(2) > span { animation-delay: 0.08s; }
.hero__line:nth-child(3) > span { animation-delay: 0.16s; }
.hero__line--lime { color: var(--lime); }
.hero__lead { max-width: 540px; margin-top: 28px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: rgba(255, 255, 255, 0.84); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero .eyebrow, .hero__lead, .hero__actions { animation: fade-up 0.9s var(--ease-out) both; }
.hero__lead { animation-delay: 0.25s; }
.hero__actions { animation-delay: 0.35s; }

.phero {
  --fg: #fff;
  --fg-soft: rgba(255, 255, 255, 0.78);
  --accent: var(--lime);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: calc(var(--hdr) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(64px, 8vw, 112px);
  background: radial-gradient(ellipse 70% 90% at 88% 0%, #4a26d9 0%, rgba(74, 38, 217, 0) 62%), var(--violet-deep);
  color: #fff;
}
.phero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.phero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 80% 30%, #000 10%, transparent 75%);
}
/* Halo : dégradé radial équivalent à l'ancien disque de 720 px flouté à 140 px, sans le coût du filtre. */
.phero__glow { position: absolute; left: calc(-12% - 280px); bottom: calc(-60% - 280px); width: 1280px; height: 1280px; border-radius: 50%; background: radial-gradient(circle closest-side, rgba(100, 57, 255, 0.4) 0%, rgba(100, 57, 255, 0.39) 12.5%, rgba(100, 57, 255, 0.34) 34%, rgba(100, 57, 255, 0.2) 56%, rgba(100, 57, 255, 0.064) 78%, rgba(100, 57, 255, 0) 100%); pointer-events: none; }
.phero__mark {
  position: absolute;
  top: 50%;
  right: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  display: grid;
  place-items: center;
  width: clamp(240px, 31vw, 440px);
  aspect-ratio: 1;
  translate: 0 -46%;
}
.phero__mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgba(214, 255, 63, 0.75);
  border-right-color: rgba(214, 255, 63, 0.25);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.phero__mark::after { content: ""; position: absolute; inset: 14%; border: 1px dashed rgba(255, 255, 255, 0.1); border-radius: 50%; }
.phero__ghost {
  position: relative;
  font: 400 clamp(110px, 14vw, 210px)/0.8 var(--font-display);
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(214, 255, 63, 0.45);
  user-select: none;
  translate: 0 0.04em;
}
.phero__inner { position: relative; }
.phero__lead { max-width: 620px; margin-top: 28px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.phero .title-1 { color: #fff; }
.phero--full { display: flex; align-items: center; min-height: 100svh; }

/* 8. Sections & mises en page ------------------------------------------- */
.sec { position: relative; padding-block: var(--sec); color: var(--fg); }
.sec--white { background: var(--white); --card: var(--paper); }
.sec--paper { background: var(--paper); }
.sec--lavender { background: var(--lavender); }
.sec--dots { background-image: radial-gradient(rgba(100, 57, 255, 0.1) 1px, transparent 1.4px); background-size: 24px 24px; }
.sec--night,
.sec--violet {
  --fg: #fff;
  --fg-soft: rgba(255, 255, 255, 0.72);
  --accent: var(--lime);
  --card-line: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.sec--night { background: var(--night); }
.sec--night::before { content: ""; position: absolute; z-index: -1; right: -15%; top: -35%; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(100, 57, 255, 0.45), transparent 65%); pointer-events: none; }
.sec--violet { background: linear-gradient(125deg, #241264 0%, #3a1cb0 55%, #5230ea 100%); }
.sec--violet::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.sec--tight-top { padding-top: clamp(40px, 5vw, 64px); }

.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.shead__main { max-width: 820px; }
.shead__aside { flex: none; padding-bottom: 6px; }
.shead__note { max-width: 260px; font-size: 16px; line-height: 1.6; color: var(--fg-soft); text-align: right; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 104px); }
/* En-tête en deux colonnes : l’eyebrow passe au-dessus, puis titre (gauche) et texte (droite)
   démarrent sur la même ligne. Le décalage compense l’approche haute d’Anton pour aligner
   le haut des capitales du titre sur le haut de la première ligne du chapô. */
.split--head { align-items: start; }
.split--head .split__aside { align-content: start; padding-top: calc(var(--t2) * 0.1 - 8px); }
.split--head + .grid { margin-top: clamp(48px, 6vw, 80px); }
.split--center { align-items: center; }
.split--media { align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.split--faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.split__aside { display: grid; gap: 20px; align-content: end; justify-items: start; }
.split__aside .text { margin-top: -4px; }
.sticky { position: sticky; top: calc(var(--hdr) + 32px); }

.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 9. Cartes -------------------------------------------------------------- */
.fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--card-line);
  border-radius: var(--r-lg);
  background: var(--card);
  transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease), background-color 0.3s;
}
.fcard:hover { border-color: var(--violet); box-shadow: var(--sh-md); }
.fcard:hover .tile { background: var(--violet); color: #fff; transform: rotate(-6deg); }
.fcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(32px, 4vw, 48px); }
.fcard__num { font: 400 18px/1 var(--font-display); color: rgba(25, 18, 59, 0.4); letter-spacing: 0.02em; }
.fcard__title { font: 400 clamp(24px, 2.1vw, 30px)/1.08 var(--font-display); color: var(--ink); }
.fcard__text { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* Sous-grilles : titres, textes, tags et liens alignés ligne à ligne entre cartes voisines */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 681px) {
    .grid > .fcard { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  }
}

/* Habillages de cartes ----------------------------------------------------
   Aucune carte n’a le fond de la page : trois habillages de marque, chacun avec un dégradé,
   une texture et l’anneau d’orbite du monogramme en coin.
   a = lavande à points · b = nuit à trame · c = citron à hachures */
.skin-a {
  --skin-line: #cbbef7;
  --skin-num: var(--violet);
  background-color: #ece6ff;
  background-image:
    radial-gradient(circle at 100% 0%, transparent 0 30%, rgba(100, 57, 255, 0.24) 30.3% 30.8%, transparent 31.2%),
    radial-gradient(rgba(100, 57, 255, 0.16) 1px, transparent 1.6px),
    linear-gradient(155deg, #f6f3ff 0%, #e3d9ff 100%);
  background-size: 100% 100%, 16px 16px, 100% 100%;
}
.skin-b {
  --skin-line: #3d2894;
  --skin-num: var(--lime);
  background-color: #1d1150;
  background-image:
    radial-gradient(circle at 100% 0%, transparent 0 30%, rgba(214, 255, 63, 0.45) 30.3% 30.8%, transparent 31.2%),
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(100, 57, 255, 0.55), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(155deg, #2a1679 0%, #150d33 100%);
  background-size: 100% 100%, 100% 100%, 28px 28px, 28px 28px, 100% 100%;
  color: #fff;
}
.skin-c {
  --skin-line: #b5d62a;
  --skin-num: var(--ink);
  background-color: #e4ff7a;
  background-image:
    radial-gradient(circle at 100% 0%, transparent 0 30%, rgba(25, 18, 59, 0.2) 30.3% 30.8%, transparent 31.2%),
    repeating-linear-gradient(135deg, rgba(25, 18, 59, 0.07) 0 1px, transparent 1px 11px),
    linear-gradient(155deg, #f4ffcc 0%, #dcff5a 100%);
  background-size: 100% 100%, auto, 100% 100%;
  color: var(--ink);
}

.fcard.skin-a, .fcard.skin-b, .fcard.skin-c { border-color: var(--skin-line); }
.fcard[class*="skin-"] .fcard__num { color: var(--skin-num); opacity: 0.75; }
.fcard.skin-a .tile { background: #fff; color: var(--violet); box-shadow: 0 4px 14px rgba(100, 57, 255, 0.14); }
.fcard.skin-b .fcard__title { color: #fff; }
.fcard.skin-b .fcard__text { color: rgba(255, 255, 255, 0.8); }
.fcard.skin-b .tile { background: rgba(255, 255, 255, 0.1); color: var(--lime); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.fcard.skin-b:hover { border-color: var(--lime); }
.fcard.skin-b:hover .tile { background: var(--lime); color: var(--ink); }
.fcard.skin-c .fcard__text { color: rgba(25, 18, 59, 0.78); }
.fcard.skin-c .tile { background: var(--ink); color: var(--lime); }
.fcard.skin-c:hover { border-color: var(--ink); }
.fcard.skin-c:hover .tile { background: var(--violet); color: #fff; }

/* Cartes catalogue (accueil) */
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.ccard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--card-line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f1ecff 100%);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.ccard:hover { box-shadow: var(--sh-lg); border-color: var(--violet); }
.ccard:has(.ccard__link:focus-visible) { outline: 3px solid #8b66ff; outline-offset: 4px; }
.ccard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lavender-2); }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.ccard:hover .ccard__media img { transform: scale(1.06); }
.ccard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 12, 66, 0.18), transparent 40%); pointer-events: none; }
.ccard__num { position: absolute; top: 16px; left: 16px; z-index: 1; display: grid; place-items: center; min-width: 40px; height: 36px; padding: 0 10px; border-radius: 10px; background: var(--lime); color: var(--ink); font: 400 17px/1 var(--font-display); box-shadow: 0 4px 14px rgba(25, 18, 59, 0.18); }
.ccard__title { padding: 26px 28px 0; font: 400 clamp(24px, 2vw, 28px)/1.1 var(--font-display); color: var(--ink); }
.ccard__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.ccard__link:focus-visible { outline: none; }
.ccard__text { padding: 12px 28px 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.ccard .tags { padding: 20px 28px 0; align-content: start; }
.ccard__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 28px 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 800;
  color: var(--violet);
}
.ccard__go, .dcard__go { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--card-line); color: var(--violet); transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease); }
.ccard__go .ic, .dcard__go .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.ccard:hover .ccard__go { background: var(--violet); color: #fff; transform: rotate(45deg); }

@supports (grid-template-rows: subgrid) {
  @media (min-width: 681px) {
    .ccard { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
    .ccard__more { align-self: end; }
  }
}

/* Cartes domaines (formations) */
.dgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(32px, 4vw, 48px); }
.dcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 32px);
  --pad: clamp(24px, 2.4vw, 32px);
  overflow: hidden;
  border: 1px solid var(--card-line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(rgba(100, 57, 255, 0.08) 1px, transparent 1.5px) 0 0 / 18px 18px,
    linear-gradient(180deg, #f7f4ff 0%, #ece5ff 100%);
  scroll-margin-top: calc(var(--hdr) + 24px);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.dcard:hover { box-shadow: var(--sh-md); border-color: var(--violet); }
.dcard:hover .tile { background: var(--violet); color: #fff; transform: rotate(-6deg); }
.dcard:target { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(100, 57, 255, 0.14), var(--sh-md); }
.dcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.dcard__media { position: relative; height: 148px; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 28px; overflow: hidden; border-bottom: 1px solid var(--skin-line); }
.dcard__media .dcard__num { position: absolute; top: 18px; right: 20px; font-size: 24px; color: var(--skin-num); }
.dcard__art { position: absolute; right: -18px; bottom: -40px; opacity: 0.16; transition: transform 0.8s var(--ease-out), opacity 0.4s; }
.dcard__art .ic { width: 168px; height: 168px; stroke-width: 1.1; }
.skin-b .dcard__art { opacity: 0.2; color: #fff; }
.skin-a .dcard__art { color: var(--violet); }
.dcard__badge { position: absolute; left: var(--pad); bottom: 20px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: #fff; color: var(--violet); box-shadow: 0 8px 22px -8px rgba(39, 19, 103, 0.35); transition: transform 0.45s var(--ease), background-color 0.3s, color 0.3s; }
.dcard__badge .ic { width: 28px; height: 28px; }
.skin-b .dcard__badge { background: rgba(255, 255, 255, 0.1); color: var(--lime); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.skin-c .dcard__badge { background: var(--ink); color: var(--lime); }
.dcard:hover .dcard__badge { transform: rotate(-6deg) scale(1.04); }
.dcard:hover .dcard__art { transform: scale(1.12) rotate(-8deg); opacity: 0.26; }
.dcard__num { font: 400 22px/1 var(--font-display); color: var(--violet); }
.dcard__title { font: 400 clamp(24px, 2vw, 28px)/1.1 var(--font-display); color: var(--ink); }
.dcard__text { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.dcard .tags { margin-top: 20px; align-content: start; }
.dcard__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 800; color: var(--violet); align-self: end; width: 100%; }
.dcard__cta:hover .dcard__go { background: var(--violet); color: #fff; transform: rotate(45deg); }
.dcard__cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.dcard__cta:focus-visible { outline: none; }
.dcard:has(.dcard__cta:focus-visible) { outline: 3px solid #8b66ff; outline-offset: 4px; }

@supports (grid-template-rows: subgrid) {
  @media (min-width: 681px) {
    .dcard:not(.dcard--feature) { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  }
}

.dcard--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "top title cta" "top text cta" "top tags cta";
  align-items: start;
  column-gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  border: 0;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse 60% 120% at 100% 0%, #5a33f2 0%, rgba(90, 51, 242, 0) 60%), var(--violet-deep);
  color: #fff;
}
.dcard--feature .dcard__top { grid-area: top; flex-direction: column; align-items: flex-start; gap: 18px; margin: 0; }
.dcard--feature .tile { width: 64px; height: 64px; border-radius: 20px; background: var(--lime); color: var(--ink); }
.dcard--feature:hover .tile { background: #fff; color: var(--violet); }
.dcard--feature .dcard__num { color: var(--lime); }
.dcard--feature .dcard__title { grid-area: title; color: #fff; font-size: clamp(28px, 3vw, 40px); }
.dcard--feature .dcard__text { grid-area: text; color: rgba(255, 255, 255, 0.76); max-width: 46em; }
.dcard--feature .tags { grid-area: tags; }
.dcard--feature .tags li { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.dcard--feature .dcard__cta { grid-area: cta; align-self: center; width: auto; margin: 0; padding: 8px 8px 8px 24px; border: 0; border-radius: var(--r-pill); background: var(--lime); color: var(--ink); white-space: nowrap; }
.dcard--feature .dcard__go { background: var(--ink); color: var(--lime); }
.dcard--feature .dcard__cta:hover .dcard__go { background: var(--ink); color: var(--lime); }
.dcard--feature:hover { border-color: transparent; }

/* 10. Composants --------------------------------------------------------- */
/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); list-style: none; }
.step { position: relative; padding: clamp(24px, 2.4vw, 32px); border: 1px solid var(--card-line); border-radius: var(--r-lg); transition: transform 0.45s var(--ease), border-color 0.3s, background-color 0.3s; }
.steps--light .step {
  border-color: #cbbef7;
  background-color: #ece6ff;
  background-image: radial-gradient(circle at 100% 0%, transparent 0 34%, rgba(100, 57, 255, 0.22) 34.4% 35%, transparent 35.4%), radial-gradient(rgba(100, 57, 255, 0.14) 1px, transparent 1.6px), linear-gradient(155deg, #f6f3ff 0%, #e3d9ff 100%);
  background-size: 100% 100%, 16px 16px, 100% 100%;
}
.steps--dark .step {
  background-color: rgba(255, 255, 255, 0.04);
  background-image: radial-gradient(circle at 100% 0%, transparent 0 34%, rgba(214, 255, 63, 0.3) 34.4% 35%, transparent 35.4%), linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(160deg, rgba(100, 57, 255, 0.35) 0%, rgba(100, 57, 255, 0.04) 70%);
  background-size: 100% 100%, 26px 26px, 26px 26px, 100% 100%;
}
.steps--light .step:hover { border-color: var(--violet); box-shadow: var(--sh-md); }
.steps--dark .step:hover { border-color: rgba(214, 255, 63, 0.6); background-color: rgba(255, 255, 255, 0.08); }
.step__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--lime); color: var(--ink); font: 400 22px/1 var(--font-display); }
.step::after {
  content: "";
  position: absolute;
  top: calc(clamp(24px, 2.4vw, 32px) + 28px);
  left: calc(clamp(24px, 2.4vw, 32px) + 56px + 16px);
  right: calc(-1 * var(--gap) - 1px);
  border-top: 1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent);
  pointer-events: none;
}
.step:last-child::after { display: none; }
.step__title { margin-top: clamp(28px, 3.4vw, 44px); font: 400 clamp(22px, 1.9vw, 26px)/1.12 var(--font-display); color: var(--fg); }
.step__text { margin-top: 12px; font-size: 16px; line-height: 1.62; color: var(--fg-soft); }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; }
.stat { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 172px; padding: clamp(22px, 2.4vw, 30px); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.07); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color 0.3s, transform 0.45s var(--ease); }
.stat:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(214, 255, 63, 0.55); }
.stat__num { font: 400 clamp(46px, 5vw, 72px)/0.95 var(--font-display); color: var(--lime); white-space: nowrap; }
.stat__label { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font: 400 clamp(20px, 1.9vw, 25px)/1.25 var(--font-display); color: var(--ink); transition: color 0.25s; }
.faq__ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--violet); transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s; }
.faq__ic .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.faq__item summary:hover .faq__q { color: var(--violet); }
.faq__item summary:hover .faq__ic { border-color: var(--violet); }
.faq__item[open] .faq__q { color: var(--violet); }
.faq__item[open] .faq__ic { transform: rotate(45deg); background: var(--violet); border-color: var(--violet); color: #fff; }
.faq__a { padding: 0 68px 26px 0; }
.faq__a p { font-size: 16.5px; line-height: 1.72; color: var(--muted); max-width: 64ch; }
.faq__item[open] .faq__a { animation: fade-up 0.45s var(--ease-out) both; }

.aside-card { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-xl); background: var(--night); color: #fff; --fg: #fff; --accent: var(--lime); }
.aside-card::before { content: ""; position: absolute; z-index: -1; right: -40%; top: -50%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(100, 57, 255, 0.6), transparent 65%); }
.aside-card .title-3 { color: #fff; }

/* Bandeau CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(64px, 8vw, 112px); background: var(--lime); color: var(--ink); }
.cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px 64px; }
.cta__title { max-width: 22ch; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.07; text-transform: uppercase; color: var(--ink); }
.cta .eyebrow { margin-bottom: 20px; }
.cta__actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.cta__phone { display: inline-flex; align-items: center; gap: 10px; font: 400 26px/1 var(--font-display); letter-spacing: 0.01em; white-space: nowrap; transition: color 0.2s; }
.cta__phone .ic { width: 20px; height: 20px; }
.cta__phone:hover { color: var(--violet); }

/* Bannière formations */
.banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px 56px; margin-top: clamp(56px, 7vw, 88px); padding: clamp(32px, 5vw, 64px); overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--night); color: #fff; --fg: #fff; --accent: var(--lime); }
.banner::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -80%; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(100, 57, 255, 0.55), transparent 65%); }
.banner .title-3 { color: #fff; max-width: 18ch; }
.banner .lead { margin-top: 16px; font-size: 17px; }

/* Barre de recherche formations */
.toolbar { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; align-items: end; padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-sm); }
.toolbar__label { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(25, 18, 59, 0.66); }
.search { position: relative; }
.search .ic { position: absolute; top: 50%; left: 18px; width: 20px; height: 20px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.search input { width: 100%; height: 56px; padding: 0 18px 0 50px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--paper); font-size: 16px; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.search input::placeholder { color: #736d8a; }
.search input:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(100, 57, 255, 0.14); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(100, 57, 255, 0.22); border-radius: var(--r-pill); background: #fff; font-size: 14px; font-weight: 700; color: var(--ink); transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease); }
.chip:hover { background: var(--lavender); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }
.toolbar__count { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--muted); }
.empty { display: grid; justify-items: center; gap: 16px; padding: 56px 24px; margin-top: 24px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); text-align: center; color: var(--muted); }

/* Liste à cocher */
.checks { display: grid; list-style: none; margin-top: 8px; }
.checks li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.checks li:last-child { border-bottom: 0; padding-bottom: 0; }
.checks li:first-child { padding-top: 0; }
.checks__ic { display: grid; place-items: center; width: 28px; height: 28px; flex: none; margin-top: -2px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.checks__ic .ic { width: 15px; height: 15px; stroke-width: 2.8; }
.checks--dark { margin-top: 36px; }
.checks--dark li { border-color: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.88); }
.checks--dark li:first-child { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); }

.panel { padding: clamp(28px, 3.4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-md); }
.notice { display: flex; align-items: flex-start; gap: 14px; max-width: 520px; margin-top: 32px; padding: 18px 20px; border: 1px solid rgba(100, 57, 255, 0.16); border-radius: var(--r-md); background: #fff; font-size: 15px; line-height: 1.6; color: var(--muted); }
.notice__ic { flex: none; margin-top: 1px; color: var(--violet); }
.notice__ic .ic { width: 22px; height: 22px; }

.quality-card { display: flex; align-items: center; gap: 16px; margin-top: 8px; padding: 18px 22px 18px 18px; border: 1px solid rgba(100, 57, 255, 0.18); border-radius: var(--r-md); background: var(--lavender); }
.quality-card__kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.quality-card__title { margin-top: 2px; font-size: 18px; font-weight: 800; color: var(--ink); }

/* Média éditorial */
.media { min-width: 0; }
.media__frame { overflow: hidden; aspect-ratio: 5 / 4; border-radius: var(--r-xl); background: rgba(255, 255, 255, 0.06); }
.media__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.media:hover .media__frame img { transform: scale(1.04); }
.media figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 15px; font-weight: 700; color: var(--fg-soft); }
.media figcaption .ic { color: var(--accent); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 5vw, 80px); align-items: start; }
.contact__info .text { margin-top: 16px; }
.contact-list { display: grid; gap: 12px; margin-top: 36px; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color 0.25s, box-shadow 0.25s; }
.contact-list li:hover { border-color: rgba(100, 57, 255, 0.28); box-shadow: var(--sh-sm); }
.contact-list .tile .ic { width: 19px; height: 19px; }
.contact-list li > div { min-width: 0; }
.contact-list__label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); }
.contact-list__value { display: block; margin-top: 2px; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.contact-list__value a:hover { color: var(--violet); }

/* 11. Formulaire --------------------------------------------------------- */
.form { position: relative; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-lg); }
.form__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.form__hint { font-size: 14px; color: var(--muted); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 800; color: var(--ink); }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(100, 57, 255, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(100, 57, 255, 0.14); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(200, 49, 79, 0.1); }
.select { position: relative; }
.select select { -webkit-appearance: none; appearance: none; padding-right: 48px; cursor: pointer; }
.select::after { content: ""; position: absolute; top: 50%; right: 20px; width: 9px; height: 9px; border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { position: relative; display: flex; align-items: flex-start; gap: 14px; margin-top: 24px; font-size: 14.5px; line-height: 1.6; color: var(--muted); cursor: pointer; }
.consent input { position: absolute; top: 0; left: 0; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.consent__box { display: grid; place-items: center; width: 24px; height: 24px; flex: none; margin-top: 1px; border: 1.5px solid var(--line-strong); border-radius: 8px; background: #fff; color: #fff; transition: background-color 0.2s, border-color 0.2s; }
.consent__box .ic { width: 15px; height: 15px; stroke-width: 3; opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.25s var(--ease); }
.consent input:checked + .consent__box { background: var(--violet); border-color: var(--violet); }
.consent input:checked + .consent__box .ic { opacity: 1; transform: none; }
.consent input:focus-visible + .consent__box { outline: 3px solid #8b66ff; outline-offset: 3px; }
.consent a { color: var(--violet); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.form__note { flex: 1 1 260px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.form-status { margin-top: 24px; padding: 18px 20px; border: 1px solid rgba(100, 57, 255, 0.2); border-radius: var(--r-md); background: var(--lavender); font-size: 15px; line-height: 1.7; color: var(--ink); }
.form-status:focus { outline: none; }
.form-status a, .form-status button { color: var(--violet); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.form-status button { display: block; margin-top: 8px; }
.form-status textarea { display: block; width: 100%; min-height: 160px; margin-top: 12px; padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; font-size: 14px; }

/* 12. Pages légales ------------------------------------------------------ */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.legal__toc ol { display: grid; gap: 2px; list-style: none; }
.legal__toc a { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; font-size: 15px; font-weight: 700; color: var(--muted); transition: color 0.2s; }
.legal__toc a span { font: 400 14px/1 var(--font-display); color: rgba(100, 57, 255, 0.6); }
.legal__toc a:hover { color: var(--violet); }
.legal__body { display: grid; gap: 16px; min-width: 0; }
.legal__block { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--card-line); border-radius: var(--r-lg); background: radial-gradient(rgba(100, 57, 255, 0.07) 1px, transparent 1.5px) 0 0 / 18px 18px, linear-gradient(160deg, #f6f3ff 0%, #ede7ff 100%); }
.legal__num { font: 400 22px/1.2 var(--font-display); color: var(--violet); }
.legal__title { margin-bottom: 14px; font: 400 clamp(24px, 2.4vw, 32px)/1.1 var(--font-display); color: var(--ink); }
.legal__block p { font-size: 16.5px; line-height: 1.75; color: var(--muted); overflow-wrap: anywhere; }
.legal__block a { color: var(--violet); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.facts { display: grid; }
.facts > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts > div:first-child { padding-top: 0; }
.facts--spaced { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-size: 15px; font-weight: 800; color: var(--ink); }
.facts dd { font-size: 16px; color: var(--muted); overflow-wrap: anywhere; }
.pending { display: inline-flex; padding: 3px 12px; border-radius: var(--r-pill); background: rgba(214, 255, 63, 0.55); color: var(--ink); font-size: 14px; font-weight: 800; }

/* 13. Pied de page ------------------------------------------------------- */
.ftr { position: relative; overflow: hidden; padding-top: clamp(72px, 8vw, 112px); background: #120b2e; color: #fff; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; }
.ftr__brand p { max-width: 340px; margin: 24px 0; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.66); }
.ftr__phone { display: flex; align-items: center; gap: 10px; width: fit-content; margin-top: 28px; font: 400 32px/1 var(--font-display); letter-spacing: 0.01em; white-space: nowrap; transition: color 0.2s; }
.ftr__phone .ic { width: 24px; height: 24px; color: var(--lime); }
.ftr__phone:hover { color: var(--lime); }
.ftr__col h2 { margin: 8px 0 22px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.ftr__col ul { display: grid; gap: 12px; list-style: none; }
.ftr__col a { display: inline-block; padding-block: 3px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.8); transition: color 0.2s; }
.ftr__col a:hover { color: var(--lime); }
.ftr address { font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.66); }
.ftr__mail { display: block; width: fit-content; max-width: 100%; margin-top: 16px; overflow-wrap: anywhere; }
.ftr__mail + .ftr__mail { margin-top: 6px; }
.ftr__siret { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.ftr__bottom { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(56px, 6vw, 80px); padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }
.ftr__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; list-style: none; }
.ftr__bottom ul a { display: inline-block; padding-block: 6px; }
.ftr__bottom a:hover { color: var(--lime); }
.totop { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; color: var(--lime); transition: background-color 0.2s, color 0.2s, transform 0.3s var(--ease); }
.totop:hover { background: var(--lime); color: var(--ink); transform: translateY(-3px); }
.ftr__giant { display: flex; justify-content: center; margin-top: 0; margin-bottom: -0.16em; font: 400 clamp(80px, 18vw, 290px)/0.78 var(--font-display); letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12); white-space: nowrap; user-select: none; pointer-events: none; position: relative; z-index: 0; }

.wa-float { position: fixed; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 90; display: none; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--r-pill); background: var(--whatsapp); color: #062615; font-size: 14px; font-weight: 800; box-shadow: 0 12px 30px -10px rgba(7, 45, 27, 0.5); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.wa-float .ic { width: 24px; height: 24px; }
.wa-float:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -12px rgba(7, 45, 27, 0.55); }

/* 14. Animations --------------------------------------------------------- */
/* Cartes toujours visibles : aucun masquage en attente du défilement ou du survol. */

/* Survol 3D : rotation légère qui suit le pointeur + reflet (activé par app.js sur souris/trackpad). */
.tilt {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, var(--lift), 0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 0.6s var(--ease-out), box-shadow 0.4s var(--ease), border-color 0.3s, background-color 0.3s;
}
.tilt.is-tilting { --lift: -6px; transition: transform 0.14s linear, box-shadow 0.4s var(--ease), border-color 0.3s, background-color 0.3s; }
.tilt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  mix-blend-mode: soft-light;
}
.tilt.is-tilting::before { opacity: 1; }
.tilt.is-tilting.ccard, .tilt.is-tilting.dcard, .tilt.is-tilting.fcard { box-shadow: 0 30px 60px -24px rgba(39, 19, 103, 0.35), 0 8px 18px -8px rgba(39, 19, 103, 0.16); }

@keyframes spin { to { rotate: 360deg; } }
/* 2,273 % = 2 unités du viewBox de 88 : même amplitude qu'avant, quelle que soit la taille du logo. */
@keyframes mono-p { 0%, 20%, 80%, 100% { transform: translate(0, 0); } 40%, 60% { transform: translate(-2.273%, -2.273%); } }
@keyframes mono-f { 0%, 20%, 80%, 100% { transform: translate(0, 0); } 40%, 60% { transform: translate(2.273%, 2.273%); } }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Écrans tactiles : pas de flou d'arrière-plan (coûteux au défilement sur iPhone). L'en-tête devient
   presque opaque ; les tuiles chiffres et pastilles reposent sur un fond uni où le flou ne se voyait pas. */
@media (hover: none) {
  .hdr { background: rgba(250, 249, 255, 0.97); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .stat, .skin-b .dcard__badge { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .tilt { transform: none !important; }
}

/* 15. Points de rupture -------------------------------------------------- */
@media (min-width: 1181px) {
  .wa-float { display: inline-flex; }
}

@media (min-width: 1181px) and (max-width: 1360px) {
  /* Le logo mène à l’accueil : le lien « Accueil » est masqué quand la place manque */
  .nav__main .nav__link:first-child { display: none; }
  .nav__link { padding: 8px 9px; font-size: 14px; }
  .hdr__bar { gap: 20px; }
}

@media (max-width: 1180px) {
  :root { --hdr: 76px; }
  .burger { display: grid; }
  .hdr__cta { margin-left: auto; }

  /* Menu plein écran */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Tailles calées sur la hauteur visible (dvh) : tout le menu tient à l'écran, sans défilement. */
    gap: clamp(12px, 3.5vh, 40px);
    gap: clamp(12px, 3.5dvh, 40px);
    padding: calc(var(--hdr) + clamp(4px, 2vh, 24px)) var(--gutter) max(clamp(12px, 2.5vh, 28px), env(safe-area-inset-bottom));
    padding: calc(var(--hdr) + clamp(4px, 2dvh, 24px)) var(--gutter) max(clamp(12px, 2.5dvh, 28px), env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: radial-gradient(ellipse 80% 60% at 100% 0%, #4a26d9 0%, rgba(74, 38, 217, 0) 60%), var(--violet-deep);
    color: #fff;
    visibility: hidden;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s var(--ease-out), opacity 0.3s, visibility 0s 0.6s;
  }
  .nav.is-open { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path 0.6s var(--ease-out), opacity 0.2s, visibility 0s; }
  .nav__main { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: flex; align-items: center; gap: 16px; padding: clamp(4px, calc(2.4dvh - 7px), 14px) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0; font: 400 clamp(22px, min(6.2vw, 4.8dvh), 52px)/1.1 var(--font-display); letter-spacing: 0.005em; white-space: normal; opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out), color 0.2s; }
  .nav.is-open .nav__link { opacity: 1; transform: none; }
  .nav.is-open .nav__link:nth-child(2) { transition-delay: 0.04s; }
  .nav.is-open .nav__link:nth-child(3) { transition-delay: 0.08s; }
  .nav.is-open .nav__link:nth-child(4) { transition-delay: 0.12s; }
  .nav.is-open .nav__link:nth-child(5) { transition-delay: 0.16s; }
  .nav.is-open .nav__link:nth-child(6) { transition-delay: 0.2s; }
  .nav.is-open .nav__link:nth-child(7) { transition-delay: 0.24s; }
  .nav__link:hover, .nav__link[aria-current],
  .js .hdr .nav__link:hover, .js .hdr .nav__link[aria-current] { color: var(--lime); background: none; }
  .nav__idx { display: block; min-width: 22px; font: 800 12px/1 var(--font-body); letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.5); }
  .nav__arr { display: block; margin-left: auto; color: rgba(255, 255, 255, 0.4); transition: color 0.2s, transform 0.3s var(--ease); }
  .nav__arr .ic { width: 24px; height: 24px; }
  .nav__link:hover .nav__arr, .nav__link[aria-current] .nav__arr { color: var(--lime); transform: rotate(45deg); }
  .nav__panel { display: grid; gap: clamp(8px, 1.6dvh, 16px); justify-items: start; opacity: 0; transition: opacity 0.5s 0.25s; }
  .nav.is-open .nav__panel { opacity: 1; }
  .nav__kicker { font-size: 15px; color: rgba(255, 255, 255, 0.7); }
  .nav__phone { font: 400 clamp(22px, 4.4dvh, 34px)/1 var(--font-display); white-space: nowrap; }
  .nav__wa { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--lime); }
  .nav__panel .btn { margin-top: clamp(0px, 0.8dvh, 8px); }
  .hdr.is-open { background: transparent; border-bottom-color: transparent; color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hdr.is-open .hdr__cta { visibility: hidden; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr__brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 40px; }
  .ftr__brand > .brand, .ftr__brand > p, .ftr__brand > .badge { grid-column: 1; }
  .ftr__brand > .ftr__phone { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin-top: 0; }
}

@media (max-width: 1024px) {
  .split, .split--faq, .split--media, .contact, .legal { grid-template-columns: minmax(0, 1fr); }
  .split--head .split__aside { padding-top: 0; }
  .sticky { position: static; }
  .course-grid, .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar { grid-template-columns: minmax(0, 1fr); }
  .shead__note { text-align: left; }
  .legal__toc { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
  .legal__toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  /* Deux colonnes : la carte « sur mesure » occupe la case libre à côté de la 9e carte */
  .dcard--feature { grid-column: auto; display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 32px); }
  .dcard--feature .dcard__top { flex-direction: row; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 36px; }
  .dcard--feature .tile { width: 52px; height: 52px; border-radius: 16px; }
  .dcard--feature .dcard__title { font-size: clamp(24px, 2vw, 28px); }
  .dcard--feature .tags { margin-top: 20px; }
  .dcard--feature .dcard__cta { width: 100%; justify-content: space-between; margin-top: auto; }
  .dcard--feature .tags { margin-bottom: 28px; }
  .media__frame { aspect-ratio: 16 / 10; }
  .phero__mark { opacity: 0.55; right: calc(-1 * clamp(40px, 8vw, 120px)); }
}

@media (max-width: 860px) {
  .grid--3 { gap: 16px; }
  .fcard__top { margin-bottom: 28px; }
  .shead { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta__inner, .banner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .cta__actions { align-items: flex-start; }
  .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__top > .ftr__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --hdr: 68px; --gap: 16px; }
  body { font-size: 16px; }
  .mono { width: 40px; height: 40px; }
  .brand__word { font-size: 27px; }
  .brand--lg .mono { width: 50px; height: 50px; }
  .brand--lg .brand__word { font-size: 34px; }
  .hdr__cta { display: none; }
  .burger { margin-left: auto; }

  .title-1 br, .title-2 br, .hero__title br { display: none; }
  .hero .eyebrow { padding: 0; border: 0; border-radius: 0; letter-spacing: 0.12em; }
  .title-1 { font-size: clamp(40px, 11vw, 60px); max-width: none; }
  .title-2 { font-size: clamp(34px, 9.4vw, 48px); line-height: 1.08; }
  .hero { min-height: max(600px, 100svh); }
  .hero__img { object-position: 72% 30%; }  /* mobile : photo décalée vers la gauche, les deux personnes restent visibles */
  .hero__shade { background: linear-gradient(0deg, rgba(23, 12, 66, 0.96) 0%, rgba(23, 12, 66, 0.82) 45%, rgba(23, 12, 66, 0.45) 75%, rgba(23, 12, 66, 0.6) 100%); }
  .hero__title { font-size: clamp(40px, 12.4vw, 72px); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn, .banner .btn, .cta .btn, .actions:not(.actions--stack) .btn { width: 100%; }
  .actions { margin-top: 28px; }

  .phero__mark { width: 220px; top: calc(var(--hdr) + 8px); right: -72px; translate: 0 0; opacity: 0.4; }
  .phero__ghost { font-size: 110px; }

  .course-grid, .dgrid, .grid--3, .grid--4, .steps { grid-template-columns: minmax(0, 1fr); }
  .ccard__title { padding: 22px 22px 0; }
  .ccard__text { padding: 10px 22px 0; }
  .ccard .tags { padding: 18px 22px 0; }
  .ccard__more { margin: 20px 22px 22px; }
  .step::after { display: none; }
  .stats { gap: 12px; }
  .stat { min-height: 140px; }
  .stat__num { font-size: clamp(38px, 11vw, 52px); }
  .stat__label { font-size: 12px; letter-spacing: 0.1em; }
  .dcard--feature { grid-column: 1 / -1; }
  .faq__item summary { padding: 20px 0; gap: 16px; }
  .faq__ic { width: 38px; height: 38px; }
  .faq__a { padding-right: 0; }
  .form__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .form__foot .btn { width: 100%; }
  .legal__toc ol { grid-template-columns: minmax(0, 1fr); }
  .legal__block { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .facts > div { grid-template-columns: minmax(0, 1fr); }
  .cta__phone { font-size: 24px; }
    .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
  .ftr__brand { display: block; grid-column: 1 / -1; }
  .ftr__brand > .ftr__phone { margin-top: 28px; }
  .ftr__bottom { flex-direction: column; align-items: flex-start; }
  .ftr__bottom ul { margin-left: 0; }
  .totop { position: absolute; right: var(--gutter); margin-top: -4px; }
  .ftr__bottom { position: relative; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { flex-direction: row; align-items: center; min-height: 0; padding: 20px 22px; }
  .stat__label { text-align: right; }
  .dcard--feature .dcard__cta { white-space: normal; }
}

@media (max-width: 380px) {
  .btn { padding-left: 20px; gap: 12px; font-size: 14.5px; }
  .chip { padding: 0 14px; font-size: 13.5px; }
  .brand__word { font-size: 25px; }
  .nav__phone { font-size: clamp(22px, 4.4dvh, 30px); }
}
